Commit c9ec0429 authored by FORESTIER Fabien's avatar FORESTIER Fabien
Browse files

Remove healthheck on legacy auth service, user AppLogger as default logger

parent ab0e5b41
Pipeline #3143 passed with stages
in 1 minute
{
"workbench.colorCustomizations": {
"activityBar.background": "#1f6fd0",
"activityBar.foreground": "#e7e7e7",
"activityBar.inactiveForeground": "#e7e7e799",
"activityBarBadge.background": "#ee90bb",
"activityBarBadge.foreground": "#15202b",
"statusBar.background": "#1857a4",
"statusBarItem.hoverBackground": "#1f6fd0",
"statusBar.foreground": "#e7e7e7",
"tab.activeBorder": "#1f6fd0"
}
}
\ No newline at end of file
......@@ -22,7 +22,6 @@ export class HealthCheckService implements TerminusOptionsFactory {
const healthEndpoint: TerminusEndpoint = {
url: '/health',
healthIndicators: [
async () => this._dnsHealthIndicator.pingCheck('LegacyAuthService', `${config.legacyAuthServiceUrl}/get_services`),
async () => this._dnsHealthIndicator.pingCheck('EmailService', `${config.serviceEmailUrl}/health`),
async () => this._redisHealthIndicator.checkRedisConnection(config.redis),
],
......
......@@ -10,7 +10,7 @@ import { AppLogger } from './app-logger';
async function bootstrap() {
const app = await NestFactory.create(AppModule, {
logger: false,
logger: new AppLogger(),
});
app.enableCors({ credentials: true, origin: true });
......@@ -34,8 +34,6 @@ async function bootstrap() {
app.useGlobalPipes(new ValidationPipe());
app.useLogger(app.get(AppLogger));
await app.listen(3000);
}
bootstrap();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment