diff --git a/apps/judicial-system/README.md b/apps/judicial-system/README.md index f2ee7f505d90..2770e62b06f8 100644 --- a/apps/judicial-system/README.md +++ b/apps/judicial-system/README.md @@ -226,18 +226,6 @@ You can serve this service locally by running: yarn start judicial-system-xrd-api ``` -## Robot API - -This service is for access through xRoad. - -### Running locally - -You can serve this service locally by running: - -```bash -yarn start judicial-system-robot-api -``` - ## Digital Mailbox API This service is for access through xRoad. diff --git a/apps/judicial-system/robot-api/.eslintrc.json b/apps/judicial-system/robot-api/.eslintrc.json deleted file mode 100644 index eb74b2b984ef..000000000000 --- a/apps/judicial-system/robot-api/.eslintrc.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "extends": "../../../.eslintrc.json", - "rules": { - "simple-import-sort/imports": [ - "error", - { - "groups": [ - // External imports come first. - ["^\\w", "@(?!nestjs|island\\.is)"], - // Then nestjs packages. - ["^@nestjs"], - // Then island.is packages. - ["^@island\\.is/(?!judicial-system)"], - // Then judicial-system packages. - ["^@island\\.is/judicial-system"], - // Then all other imports in this order: "../", "./", "./strings", "./css" - [ - "^\\.\\.(?!/?$)", - "^\\.\\./?$", - "^\\./(?=.*/)(?!/?$)", - "^\\.(?!/?$)", - "^\\./?$" - ] - ] - } - ] - }, - "plugins": ["simple-import-sort"], - "ignorePatterns": ["!**/*"], - "overrides": [ - { "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], "rules": {} }, - { "files": ["*.ts", "*.tsx"], "rules": {} }, - { "files": ["*.js", "*.jsx"], "rules": {} } - ] -} diff --git a/apps/judicial-system/robot-api/esbuild.json b/apps/judicial-system/robot-api/esbuild.json deleted file mode 100644 index ed8694e4a00e..000000000000 --- a/apps/judicial-system/robot-api/esbuild.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "platform": "node", - "external": [ - "fsevents", - "@nestjs/microservices", - "class-transformer", - "cache-manager", - "@nestjs/websockets/socket-module", - "class-validator", - "class-transformer", - "@nestjs/microservices/microservices-module", - "apollo-server-fastify", - "@elastic/elasticsearch", - "fastify-swagger", - "@nestjs/mongoose", - "@nestjs/typeorm", - "dd-trace", - "express", - "http-errors", - "graphql", - "pg", - "winston", - "util-deprecate", - "source-map-resolve", - "atob", - "logform", - "pg-native", - "form-data", - "swagger-ui-dist", - "@protobufjs/aspromise", - "@protobufjs/base64", - "@protobufjs/codegen", - "@protobufjs/eventemitter", - "@protobufjs/fetch", - "@protobufjs/float", - "@protobufjs/inquire", - "@protobufjs/path", - "@protobufjs/pool", - "@protobufjs/utf8", - "safer-buffer", - "@mikro-orm/core" - ], - "keepNames": true -} diff --git a/apps/judicial-system/robot-api/infra/judicial-system-xrd-robot-api.ts b/apps/judicial-system/robot-api/infra/judicial-system-xrd-robot-api.ts deleted file mode 100644 index 9eed7a919938..000000000000 --- a/apps/judicial-system/robot-api/infra/judicial-system-xrd-robot-api.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { ref, service, ServiceBuilder } from '../../../../infra/src/dsl/dsl' - -export const serviceSetup = (services: { - backend: ServiceBuilder<'judicial-system-backend'> -}): ServiceBuilder<'judicial-system-robot-api'> => - service('judicial-system-robot-api') - .namespace('judicial-system') - .serviceAccount('judicial-system-robot-api') - .image('judicial-system-robot-api') - .env({ - BACKEND_URL: ref((h) => `http://${h.svc(services.backend)}`), - AUDIT_TRAIL_USE_GENERIC_LOGGER: 'false', - AUDIT_TRAIL_GROUP_NAME: 'k8s/judicial-system/audit-log', - AUDIT_TRAIL_REGION: 'eu-west-1', - }) - .secrets({ - ERROR_EVENT_URL: '/k8s/judicial-system/ERROR_EVENT_URL', - BACKEND_ACCESS_TOKEN: '/k8s/judicial-system/BACKEND_ACCESS_TOKEN', - }) - .liveness('/liveness') - .readiness('/liveness') - .ingress({ - primary: { - host: { - dev: 'judicial-system-robot-api-xrd', - staging: 'judicial-system-robot-api-xrd', - prod: 'judicial-system-robot-api-xrd', - }, - paths: ['/'], - public: false, - }, - }) - .grantNamespaces('nginx-ingress-internal') diff --git a/apps/judicial-system/robot-api/jest.config.ts b/apps/judicial-system/robot-api/jest.config.ts deleted file mode 100644 index f306ee005a12..000000000000 --- a/apps/judicial-system/robot-api/jest.config.ts +++ /dev/null @@ -1,20 +0,0 @@ -/* eslint-disable */ -export default { - preset: './jest.preset.js', - rootDir: '../../..', - roots: [__dirname], - globals: {}, - moduleFileExtensions: ['ts', 'js', 'html'], - coverageDirectory: '/coverage/apps/judicial-system/robot-api', - displayName: 'judicial-system-robot-api', - testEnvironment: 'node', - transform: { - '^.+\\.[tj]s$': [ - 'ts-jest', - { - tsconfig: `${__dirname}/tsconfig.spec.json`, - isolatedModules: true, - }, - ], - }, -} diff --git a/apps/judicial-system/robot-api/project.json b/apps/judicial-system/robot-api/project.json deleted file mode 100644 index 181727e4a47e..000000000000 --- a/apps/judicial-system/robot-api/project.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "name": "judicial-system-robot-api", - "$schema": "../../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "apps/judicial-system/robot-api/src", - "projectType": "application", - "prefix": "judicial-system-robot-api", - "tags": ["scope:judicial-system-api"], - "generators": {}, - "targets": { - "build": { - "executor": "./tools/executors/node:build", - "options": { - "outputPath": "dist/apps/judicial-system/robot-api", - "main": "apps/judicial-system/robot-api/src/main.ts", - "tsConfig": "apps/judicial-system/robot-api/tsconfig.app.json", - "assets": [], - "maxWorkers": 2 - }, - "configurations": { - "production": { - "optimization": true, - "extractLicenses": true, - "inspect": false - } - } - }, - "serve": { - "executor": "@nx/js:node", - "options": { - "buildTarget": "judicial-system-robot-api:build" - } - }, - "lint": { - "executor": "@nx/eslint:lint" - }, - "test": { - "executor": "@nx/jest:jest", - "options": { - "jestConfig": "apps/judicial-system/robot-api/jest.config.ts" - } - }, - "codegen/backend-schema": { - "executor": "nx:run-commands", - "options": { - "command": "cross-env INIT_SCHEMA=true yarn ts-node -P apps/judicial-system/robot-api/tsconfig.app.json apps/judicial-system/robot-api/src/buildOpenApi.ts" - }, - "outputs": ["{projectRoot}/src/openapi.yaml"] - }, - "docker-express": { - "executor": "Intentionally left blank, only so this target is valid when using `nx show projects --with-target docker-express`" - } - } -} diff --git a/apps/judicial-system/robot-api/src/app/app.config.ts b/apps/judicial-system/robot-api/src/app/app.config.ts deleted file mode 100644 index 5c52fbad0eac..000000000000 --- a/apps/judicial-system/robot-api/src/app/app.config.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { defineConfig } from '@island.is/nest/config' - -export default defineConfig({ - name: 'AppModule', - load: (env) => ({ - errorReportUrl: env.required('ERROR_EVENT_URL', ''), - backend: { - accessToken: env.required( - 'BACKEND_ACCESS_TOKEN', - 'secret-backend-api-token', - ), - url: env.required('BACKEND_URL', 'http://localhost:3344'), - }, - }), -}) diff --git a/apps/judicial-system/robot-api/src/app/app.controller.ts b/apps/judicial-system/robot-api/src/app/app.controller.ts deleted file mode 100644 index 5bda74f60457..000000000000 --- a/apps/judicial-system/robot-api/src/app/app.controller.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { Controller, Get, Inject } from '@nestjs/common' -import { ApiCreatedResponse } from '@nestjs/swagger' - -import type { Logger } from '@island.is/logging' -import { LOGGER_PROVIDER } from '@island.is/logging' - -import { AppService } from './app.service' - -@Controller('api') -export class AppController { - constructor( - private readonly appService: AppService, - @Inject(LOGGER_PROVIDER) private readonly logger: Logger, - ) {} - - @Get('test') - @ApiCreatedResponse({ type: String, description: 'Test connection' }) - async test(): Promise { - this.logger.debug('Testing connection') - - return this.appService.testConnection() - } -} diff --git a/apps/judicial-system/robot-api/src/app/app.module.ts b/apps/judicial-system/robot-api/src/app/app.module.ts deleted file mode 100644 index 9ebdfe08242e..000000000000 --- a/apps/judicial-system/robot-api/src/app/app.module.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Module } from '@nestjs/common' -import { ConfigModule } from '@nestjs/config' - -import { ProblemModule } from '@island.is/nest/problem' - -import { - AuditTrailModule, - auditTrailModuleConfig, -} from '@island.is/judicial-system/audit-trail' - -import appModuleConfig from './app.config' -import { AppController } from './app.controller' -import { AppService } from './app.service' - -@Module({ - imports: [ - AuditTrailModule, - ProblemModule.forRoot({ logAllErrors: true }), - ConfigModule.forRoot({ - isGlobal: true, - load: [appModuleConfig, auditTrailModuleConfig], - }), - ], - controllers: [AppController], - providers: [AppService], -}) -export class AppModule {} diff --git a/apps/judicial-system/robot-api/src/app/app.service.ts b/apps/judicial-system/robot-api/src/app/app.service.ts deleted file mode 100644 index 4b935505d940..000000000000 --- a/apps/judicial-system/robot-api/src/app/app.service.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Inject, Injectable } from '@nestjs/common' - -import type { Logger } from '@island.is/logging' -import { LOGGER_PROVIDER } from '@island.is/logging' -import { type ConfigType } from '@island.is/nest/config' - -import { AuditTrailService } from '@island.is/judicial-system/audit-trail' - -import appModuleConfig from './app.config' - -@Injectable() -export class AppService { - constructor( - @Inject(appModuleConfig.KEY) - private readonly config: ConfigType, - @Inject(LOGGER_PROVIDER) private readonly logger: Logger, - private readonly auditTrailService: AuditTrailService, - ) {} - - private async test(): Promise { - return 'OK' - } - - async testConnection(): Promise { - //TODO: Audit - return this.test() - } -} diff --git a/apps/judicial-system/robot-api/src/app/index.ts b/apps/judicial-system/robot-api/src/app/index.ts deleted file mode 100644 index a49c6ea5487c..000000000000 --- a/apps/judicial-system/robot-api/src/app/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { AppModule } from './app.module' diff --git a/apps/judicial-system/robot-api/src/buildOpenApi.ts b/apps/judicial-system/robot-api/src/buildOpenApi.ts deleted file mode 100644 index 9a54cdcb918b..000000000000 --- a/apps/judicial-system/robot-api/src/buildOpenApi.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { buildOpenApi } from '@island.is/infra-nest-server' - -import { AppModule } from './app/app.module' -import { openApi } from './openApi' - -buildOpenApi({ - path: 'apps/judicial-system/robot-api/src/openapi.yaml', - appModule: AppModule, - openApi, -}) diff --git a/apps/judicial-system/robot-api/src/main.ts b/apps/judicial-system/robot-api/src/main.ts deleted file mode 100644 index f41d5432d2f0..000000000000 --- a/apps/judicial-system/robot-api/src/main.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { bootstrap } from '@island.is/infra-nest-server' - -import { AppModule } from './app' -import { openApi } from './openApi' - -bootstrap({ - appModule: AppModule, - name: 'judicial-system-robot-api', - port: 3356, - swaggerPath: 'api/swagger', - openApi, -}) diff --git a/apps/judicial-system/robot-api/src/openApi.ts b/apps/judicial-system/robot-api/src/openApi.ts deleted file mode 100644 index 3402ffe5a476..000000000000 --- a/apps/judicial-system/robot-api/src/openApi.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { DocumentBuilder } from '@nestjs/swagger' - -export const openApi = new DocumentBuilder() - .setTitle('Judicial System xRoad robot API') - .setDescription('This is the xRoad robot API for the judicial system.') - .setVersion('1.0') - .addTag('judicial-system') - .build() diff --git a/apps/judicial-system/robot-api/tsconfig.app.json b/apps/judicial-system/robot-api/tsconfig.app.json deleted file mode 100644 index 5479e745834a..000000000000 --- a/apps/judicial-system/robot-api/tsconfig.app.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "../../../dist/out-tsc", - "types": ["node"] - }, - "exclude": ["**/*.spec.ts", "**/*.test.ts", "**/test/**", "jest.config.ts"], - "include": ["**/*.ts"] -} diff --git a/apps/judicial-system/robot-api/tsconfig.json b/apps/judicial-system/robot-api/tsconfig.json deleted file mode 100644 index 25873177db3f..000000000000 --- a/apps/judicial-system/robot-api/tsconfig.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.app.json" - }, - { - "path": "./tsconfig.spec.json" - } - ] -} diff --git a/apps/judicial-system/robot-api/tsconfig.spec.json b/apps/judicial-system/robot-api/tsconfig.spec.json deleted file mode 100644 index e87789c595d9..000000000000 --- a/apps/judicial-system/robot-api/tsconfig.spec.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "../../../dist/out-tsc", - "module": "commonjs", - "types": ["jest", "node"] - }, - "include": [ - "**/*.spec.ts", - "**/*.test.ts", - "**/test/*.ts", - "**/*.d.ts", - "jest.config.ts" - ] -} diff --git a/charts/judicial-system/values.dev.yaml b/charts/judicial-system/values.dev.yaml index 88200d412a54..161909e0781c 100644 --- a/charts/judicial-system/values.dev.yaml +++ b/charts/judicial-system/values.dev.yaml @@ -375,76 +375,6 @@ judicial-system-message-handler: eks.amazonaws.com/role-arn: 'arn:aws:iam::013313053092:role/judicial-system-message-handler' create: true name: 'judicial-system-message-handler' -judicial-system-robot-api: - enabled: true - env: - AUDIT_TRAIL_GROUP_NAME: 'k8s/judicial-system/audit-log' - AUDIT_TRAIL_REGION: 'eu-west-1' - AUDIT_TRAIL_USE_GENERIC_LOGGER: 'false' - BACKEND_URL: 'http://web-judicial-system-backend' - LOG_LEVEL: 'info' - NODE_OPTIONS: '--max-old-space-size=230 -r dd-trace/init' - SERVERSIDE_FEATURES_ON: '' - grantNamespaces: - - 'nginx-ingress-internal' - grantNamespacesEnabled: true - healthCheck: - liveness: - initialDelaySeconds: 3 - path: '/liveness' - timeoutSeconds: 3 - readiness: - initialDelaySeconds: 3 - path: '/liveness' - timeoutSeconds: 3 - hpa: - scaling: - metric: - cpuAverageUtilization: 90 - nginxRequestsIrate: 5 - replicas: - max: 3 - min: 1 - image: - repository: '821090935708.dkr.ecr.eu-west-1.amazonaws.com/judicial-system-robot-api' - ingress: - primary-alb: - annotations: - kubernetes.io/ingress.class: 'nginx-internal-alb' - nginx.ingress.kubernetes.io/service-upstream: 'true' - hosts: - - host: 'judicial-system-robot-api-xrd.internal.dev01.devland.is' - paths: - - '/' - namespace: 'judicial-system' - podDisruptionBudget: - maxUnavailable: 1 - podSecurityContext: - fsGroup: 65534 - pvcs: [] - replicaCount: - default: 1 - max: 3 - min: 1 - resources: - limits: - cpu: '200m' - memory: '256Mi' - requests: - cpu: '100m' - memory: '128Mi' - secrets: - BACKEND_ACCESS_TOKEN: '/k8s/judicial-system/BACKEND_ACCESS_TOKEN' - CONFIGCAT_SDK_KEY: '/k8s/configcat/CONFIGCAT_SDK_KEY' - ERROR_EVENT_URL: '/k8s/judicial-system/ERROR_EVENT_URL' - securityContext: - allowPrivilegeEscalation: false - privileged: false - serviceAccount: - annotations: - eks.amazonaws.com/role-arn: 'arn:aws:iam::013313053092:role/judicial-system-robot-api' - create: true - name: 'judicial-system-robot-api' judicial-system-scheduler: args: - '--no-experimental-fetch' diff --git a/charts/judicial-system/values.prod.yaml b/charts/judicial-system/values.prod.yaml index a963d0ca05f9..511ed797ff10 100644 --- a/charts/judicial-system/values.prod.yaml +++ b/charts/judicial-system/values.prod.yaml @@ -375,76 +375,6 @@ judicial-system-message-handler: eks.amazonaws.com/role-arn: 'arn:aws:iam::251502586493:role/judicial-system-message-handler' create: true name: 'judicial-system-message-handler' -judicial-system-robot-api: - enabled: true - env: - AUDIT_TRAIL_GROUP_NAME: 'k8s/judicial-system/audit-log' - AUDIT_TRAIL_REGION: 'eu-west-1' - AUDIT_TRAIL_USE_GENERIC_LOGGER: 'false' - BACKEND_URL: 'http://web-judicial-system-backend' - LOG_LEVEL: 'info' - NODE_OPTIONS: '--max-old-space-size=230 -r dd-trace/init' - SERVERSIDE_FEATURES_ON: 'driving-license-use-v1-endpoint-for-v2-comms' - grantNamespaces: - - 'nginx-ingress-internal' - grantNamespacesEnabled: true - healthCheck: - liveness: - initialDelaySeconds: 3 - path: '/liveness' - timeoutSeconds: 3 - readiness: - initialDelaySeconds: 3 - path: '/liveness' - timeoutSeconds: 3 - hpa: - scaling: - metric: - cpuAverageUtilization: 90 - nginxRequestsIrate: 5 - replicas: - max: 10 - min: 3 - image: - repository: '821090935708.dkr.ecr.eu-west-1.amazonaws.com/judicial-system-robot-api' - ingress: - primary-alb: - annotations: - kubernetes.io/ingress.class: 'nginx-internal-alb' - nginx.ingress.kubernetes.io/service-upstream: 'true' - hosts: - - host: 'judicial-system-robot-api-xrd.internal.island.is' - paths: - - '/' - namespace: 'judicial-system' - podDisruptionBudget: - maxUnavailable: 1 - podSecurityContext: - fsGroup: 65534 - pvcs: [] - replicaCount: - default: 3 - max: 10 - min: 3 - resources: - limits: - cpu: '200m' - memory: '256Mi' - requests: - cpu: '100m' - memory: '128Mi' - secrets: - BACKEND_ACCESS_TOKEN: '/k8s/judicial-system/BACKEND_ACCESS_TOKEN' - CONFIGCAT_SDK_KEY: '/k8s/configcat/CONFIGCAT_SDK_KEY' - ERROR_EVENT_URL: '/k8s/judicial-system/ERROR_EVENT_URL' - securityContext: - allowPrivilegeEscalation: false - privileged: false - serviceAccount: - annotations: - eks.amazonaws.com/role-arn: 'arn:aws:iam::251502586493:role/judicial-system-robot-api' - create: true - name: 'judicial-system-robot-api' judicial-system-scheduler: args: - '--no-experimental-fetch' diff --git a/charts/judicial-system/values.staging.yaml b/charts/judicial-system/values.staging.yaml index 6cb69f4a67b9..18be3b03e360 100644 --- a/charts/judicial-system/values.staging.yaml +++ b/charts/judicial-system/values.staging.yaml @@ -376,76 +376,6 @@ judicial-system-message-handler: eks.amazonaws.com/role-arn: 'arn:aws:iam::261174024191:role/judicial-system-message-handler' create: true name: 'judicial-system-message-handler' -judicial-system-robot-api: - enabled: true - env: - AUDIT_TRAIL_GROUP_NAME: 'k8s/judicial-system/audit-log' - AUDIT_TRAIL_REGION: 'eu-west-1' - AUDIT_TRAIL_USE_GENERIC_LOGGER: 'false' - BACKEND_URL: 'http://web-judicial-system-backend' - LOG_LEVEL: 'info' - NODE_OPTIONS: '--max-old-space-size=230 -r dd-trace/init' - SERVERSIDE_FEATURES_ON: '' - grantNamespaces: - - 'nginx-ingress-internal' - grantNamespacesEnabled: true - healthCheck: - liveness: - initialDelaySeconds: 3 - path: '/liveness' - timeoutSeconds: 3 - readiness: - initialDelaySeconds: 3 - path: '/liveness' - timeoutSeconds: 3 - hpa: - scaling: - metric: - cpuAverageUtilization: 90 - nginxRequestsIrate: 5 - replicas: - max: 3 - min: 1 - image: - repository: '821090935708.dkr.ecr.eu-west-1.amazonaws.com/judicial-system-robot-api' - ingress: - primary-alb: - annotations: - kubernetes.io/ingress.class: 'nginx-internal-alb' - nginx.ingress.kubernetes.io/service-upstream: 'true' - hosts: - - host: 'judicial-system-robot-api-xrd.internal.staging01.devland.is' - paths: - - '/' - namespace: 'judicial-system' - podDisruptionBudget: - maxUnavailable: 1 - podSecurityContext: - fsGroup: 65534 - pvcs: [] - replicaCount: - default: 1 - max: 3 - min: 1 - resources: - limits: - cpu: '200m' - memory: '256Mi' - requests: - cpu: '100m' - memory: '128Mi' - secrets: - BACKEND_ACCESS_TOKEN: '/k8s/judicial-system/BACKEND_ACCESS_TOKEN' - CONFIGCAT_SDK_KEY: '/k8s/configcat/CONFIGCAT_SDK_KEY' - ERROR_EVENT_URL: '/k8s/judicial-system/ERROR_EVENT_URL' - securityContext: - allowPrivilegeEscalation: false - privileged: false - serviceAccount: - annotations: - eks.amazonaws.com/role-arn: 'arn:aws:iam::261174024191:role/judicial-system-robot-api' - create: true - name: 'judicial-system-robot-api' judicial-system-scheduler: args: - '--no-experimental-fetch' diff --git a/infra/src/uber-charts/judicial-system.ts b/infra/src/uber-charts/judicial-system.ts index 7a65b51c4eeb..10891616030e 100644 --- a/infra/src/uber-charts/judicial-system.ts +++ b/infra/src/uber-charts/judicial-system.ts @@ -4,7 +4,6 @@ import { serviceSetup as jsWebSetup } from '../../../apps/judicial-system/web/in import { serviceSetup as jsXrdApiSetup } from '../../../apps/judicial-system/xrd-api/infra/judicial-system-xrd-api' import { serviceSetup as jsSchedulerSetup } from '../../../apps/judicial-system/scheduler/infra/judicial-system-scheduler' import { serviceSetup as jsMessageHandlerSetup } from '../../../apps/judicial-system/message-handler/infra/judicial-system-message-handler' -import { serviceSetup as jsRobotApiSetup } from '../../../apps/judicial-system/robot-api/infra/judicial-system-xrd-robot-api' import { serviceSetup as jsDigitalInboxRobotApiSetup } from '../../../apps/judicial-system/digital-mailbox-api/infra/judicial-system-xrd-robot-api' import { EnvironmentServices } from '.././dsl/types/charts' @@ -15,7 +14,6 @@ const jsWeb = jsWebSetup({ api: jsApi }) const jsXrdApi = jsXrdApiSetup({ backend: jsBack }) const jsScheduler = jsSchedulerSetup({ backend: jsBack }) const jsMessageHandler = jsMessageHandlerSetup({ backend: jsBack }) -const jsRobotApi = jsRobotApiSetup({ backend: jsBack }) const jsDigitalInboxRobotApi = jsDigitalInboxRobotApiSetup({ backend: jsBack }) export const Services: EnvironmentServices = { @@ -26,7 +24,6 @@ export const Services: EnvironmentServices = { jsXrdApi, jsScheduler, jsMessageHandler, - jsRobotApi, jsDigitalInboxRobotApi, ], staging: [ @@ -36,7 +33,6 @@ export const Services: EnvironmentServices = { jsXrdApi, jsScheduler, jsMessageHandler, - jsRobotApi, jsDigitalInboxRobotApi, ], dev: [ @@ -46,7 +42,6 @@ export const Services: EnvironmentServices = { jsXrdApi, jsScheduler, jsMessageHandler, - jsRobotApi, jsDigitalInboxRobotApi, ], }