Merge pull request #15688 from backstage/rugvip/conflogport

backend-app-api: move over logger and config implementations from backend-common
This commit is contained in:
Patrik Oldsberg
2023-01-16 14:30:31 +01:00
committed by GitHub
31 changed files with 1003 additions and 640 deletions
@@ -19,12 +19,6 @@ import { resolve as resolvePath } from 'path';
import fetch from 'node-fetch';
import { startTestBackend } from '@backstage/backend-test-utils';
import { appPlugin } from './appPlugin';
import {
databaseFactory,
httpRouterFactory,
loggerFactory,
rootLoggerFactory,
} from '@backstage/backend-app-api';
describe('appPlugin', () => {
beforeEach(() => {
@@ -45,12 +39,6 @@ describe('appPlugin', () => {
it('boots', async () => {
const { server } = await startTestBackend({
services: [
loggerFactory(),
rootLoggerFactory(),
databaseFactory(),
httpRouterFactory(),
],
features: [
appPlugin({
appPackageName: 'app',