diff --git a/packages/cactus-cmd-api-server/src/main/typescript/api-server.ts b/packages/cactus-cmd-api-server/src/main/typescript/api-server.ts index e417c9f5c8..7cb254f3a9 100644 --- a/packages/cactus-cmd-api-server/src/main/typescript/api-server.ts +++ b/packages/cactus-cmd-api-server/src/main/typescript/api-server.ts @@ -756,13 +756,13 @@ export class ApiServer { log.debug("%s Registering %o CRPC routes handler(s).", fn, svcCount); - const registration = await this.crpcServer.register(fastifyConnectPlugin, { + await this.crpcServer.register(fastifyConnectPlugin, { routes: crpcRoutesHandler, shutdownTimeoutMs: 5000, grpc: true, grpcWeb: true, }); - log.debug("%s Fastify registration OK=%o", fn, registration); + log.debug("%s Fastify CRPC service registration OK", fn); const crpcUrl = await this.crpcServer.listen({ host: crpcHost, diff --git a/packages/cactus-test-api-client/src/test/typescript/integration/api-client-routing-node-to-node.test.ts b/packages/cactus-test-api-client/src/test/typescript/integration/api-client-routing-node-to-node.test.ts index dc1d077089..518f2b2980 100644 --- a/packages/cactus-test-api-client/src/test/typescript/integration/api-client-routing-node-to-node.test.ts +++ b/packages/cactus-test-api-client/src/test/typescript/integration/api-client-routing-node-to-node.test.ts @@ -204,6 +204,7 @@ describe(testCase, () => { apiServerOptions.cockpitPort = 0; apiServerOptions.grpcPort = 0; apiServerOptions.apiTlsEnabled = false; + apiServerOptions.crpcPort = 0; const config = await configService.newExampleConfigConvict(apiServerOptions); @@ -250,6 +251,7 @@ describe(testCase, () => { apiServerOptions.grpcPort = 0; apiServerOptions.apiTlsEnabled = false; apiServerOptions.plugins = []; + apiServerOptions.crpcPort = 0; const config = await configService.newExampleConfigConvict(apiServerOptions); diff --git a/packages/cactus-test-plugin-consortium-manual/src/test/typescript/integration/plugin-consortium-manual/get-consortium-jws-endpoint.test.ts b/packages/cactus-test-plugin-consortium-manual/src/test/typescript/integration/plugin-consortium-manual/get-consortium-jws-endpoint.test.ts index 6c8434d806..f359eb29ed 100644 --- a/packages/cactus-test-plugin-consortium-manual/src/test/typescript/integration/plugin-consortium-manual/get-consortium-jws-endpoint.test.ts +++ b/packages/cactus-test-plugin-consortium-manual/src/test/typescript/integration/plugin-consortium-manual/get-consortium-jws-endpoint.test.ts @@ -218,6 +218,7 @@ describe(testCase, () => { apiServerOptions.cockpitPort = 0; apiServerOptions.grpcPort = 0; apiServerOptions.apiTlsEnabled = false; + apiServerOptions.crpcPort = 0; const config = await configService.newExampleConfigConvict(apiServerOptions); @@ -266,6 +267,7 @@ describe(testCase, () => { apiServerOptions.grpcPort = 0; apiServerOptions.apiTlsEnabled = false; apiServerOptions.plugins = []; + apiServerOptions.crpcPort = 0; const config = await configService.newExampleConfigConvict(apiServerOptions); @@ -317,6 +319,7 @@ describe(testCase, () => { apiServerOptions.grpcPort = 0; apiServerOptions.apiTlsEnabled = false; apiServerOptions.plugins = []; + apiServerOptions.crpcPort = 0; const config = await configService.newExampleConfigConvict(apiServerOptions); pluginRegistry.add(pluginConsortiumManual);