backend-app-api: move rootHttpRouter into subfolder

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-01-03 17:18:42 +01:00
parent 0939f56fd1
commit 6eb86a13af
4 changed files with 20 additions and 3 deletions
@@ -15,6 +15,7 @@
*/
export * from './httpRouter';
export * from './rootHttpRouter';
export { cacheFactory } from './cacheService';
export { configFactory } from './configService';
@@ -26,7 +27,5 @@ export { permissionsFactory } from './permissionsService';
export { schedulerFactory } from './schedulerService';
export { tokenManagerFactory } from './tokenManagerService';
export { urlReaderFactory } from './urlReaderService';
export { rootHttpRouterFactory } from './rootHttpRouterService';
export { lifecycleFactory } from './lifecycleService';
export { rootLifecycleFactory } from './rootLifecycleService';
export type { RootHttpRouterFactoryOptions } from './rootHttpRouterService';
@@ -0,0 +1,18 @@
/*
* Copyright 2023 The Backstage Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export { rootHttpRouterFactory } from './rootHttpRouterFactory';
export type { RootHttpRouterFactoryOptions } from './rootHttpRouterFactory';
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import { findConflictingPath } from './rootHttpRouterService';
import { findConflictingPath } from './rootHttpRouterFactory';
describe('findConflictingPath', () => {
it('finds conflicts when present', () => {