Skip to content
Snippets Groups Projects
Commit 1c83bfd8 authored by Steve Reis's avatar Steve Reis
Browse files

Merge branch 'fix/remove-contactlink' into 'develop'

Remove Ontology and Datacatalogue urls

See merge request sibmip/gateway!82
parents 594b16a1 560f3d6e
No related branches found
No related tags found
No related merge requests found
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';
......@@ -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));
......
......@@ -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;
}
......@@ -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 {
......
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