diff --git a/api/src/engine/engine.constants.ts b/api/src/engine/engine.constants.ts index 52fc05aaf68944c770598001df6d1471e66e70fc..5bf24cf4775af1681c793d360b55950ee5b1b5df 100644 --- a/api/src/engine/engine.constants.ts +++ b/api/src/engine/engine.constants.ts @@ -1,4 +1,2 @@ export const ENGINE_MODULE_OPTIONS = 'EngineModuleOption'; export const ENGINE_SKIP_TOS = 'TOS_SKIP'; -export const ENGINE_ONTOLOGY_URL = 'ONTOLOGY_URL'; -export const ENGINE_CONTACT_LINK = 'CONTACT_LINK'; diff --git a/api/src/engine/engine.resolver.ts b/api/src/engine/engine.resolver.ts index 5c1e6d080ee9c5f534c4ea938cc206311b8147f9..2e91dbb73c1f4c8c70d7b05c717d4c3951d26b03 100644 --- a/api/src/engine/engine.resolver.ts +++ b/api/src/engine/engine.resolver.ts @@ -8,12 +8,7 @@ import { parseToBoolean } from 'src/common/utils/shared.utils'; import authConfig from 'src/config/auth.config'; import { Md5 } from 'ts-md5'; import { GQLRequest } from '../common/decorators/gql-request.decoractor'; -import { - ENGINE_CONTACT_LINK, - ENGINE_MODULE_OPTIONS, - ENGINE_ONTOLOGY_URL, - ENGINE_SKIP_TOS, -} from './engine.constants'; +import { ENGINE_MODULE_OPTIONS, ENGINE_SKIP_TOS } from './engine.constants'; import EngineService from './engine.service'; import { ErrorsInterceptor } from './interceptors/errors.interceptor'; import EngineOptions from './interfaces/engine-options.interface'; @@ -47,8 +42,6 @@ export class EngineResolver { skipTos: parseToBoolean(this.configSerivce.get(ENGINE_SKIP_TOS)), enableSSO: parseToBoolean(authConf.enableSSO), skipAuth: parseToBoolean(authConf.skipAuth, true), - ontologyUrl: this.configSerivce.get(ENGINE_ONTOLOGY_URL), - contactLink: this.configSerivce.get(ENGINE_CONTACT_LINK), }; const version = Md5.hashStr(JSON.stringify(data)); diff --git a/api/src/engine/models/configuration.model.ts b/api/src/engine/models/configuration.model.ts index e18ed9e5b5f4108be440669be83c360c8bd334ab..3f4e9a139e3e9ce0a2b63cb9bfce9832a12d9727 100644 --- a/api/src/engine/models/configuration.model.ts +++ b/api/src/engine/models/configuration.model.ts @@ -25,9 +25,6 @@ export class Configuration { }) hasFilters?: boolean; - @Field({ nullable: true }) - contactLink?: string; - @Field() version: string; @@ -39,7 +36,4 @@ export class Configuration { @Field({ nullable: true, defaultValue: true }) enableSSO?: boolean; - - @Field({ nullable: true }) - ontologyUrl?: string; } diff --git a/api/src/schema.gql b/api/src/schema.gql index 3a76d04557b4cea22fff11de1a3231b9f8c2d2ef..88e2456ea1e31782c278e0e2b1bebb63c59502bd 100644 --- a/api/src/schema.gql +++ b/api/src/schema.gql @@ -35,12 +35,10 @@ type Configuration { """Indicates if filters and formula are enabled""" hasFilters: Boolean - contactLink: String version: String! skipAuth: Boolean skipTos: Boolean enableSSO: Boolean - ontologyUrl: String } type Dataset {