From 087d4b667a9c5517ac7d014c2bbdad994b927147 Mon Sep 17 00:00:00 2001 From: Nirvan Ramjuttun Date: Tue, 7 May 2019 12:39:19 -0400 Subject: Modify CDS-UI server to allow communicating with external blueprint mS Issue-ID: CCSDK-1292 Change-Id: I3536437bad334841d7c7ecd577c092cd13f42a9b Signed-off-by: Nirvan Ramjuttun --- cds-ui/server/src/services/blueprint.service.ts | 2 +- cds-ui/server/src/services/resource-dictionary.service.ts | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'cds-ui/server/src/services') diff --git a/cds-ui/server/src/services/blueprint.service.ts b/cds-ui/server/src/services/blueprint.service.ts index f48253652..970b2afda 100644 --- a/cds-ui/server/src/services/blueprint.service.ts +++ b/cds-ui/server/src/services/blueprint.service.ts @@ -3,7 +3,7 @@ import {inject, Provider} from '@loopback/core'; import {BlueprintDataSource} from '../datasources'; export interface BlueprintService { - getAllblueprints(authtoken: string): Promise; + getAllblueprints(): Promise; } export class BlueprintServiceProvider implements Provider { diff --git a/cds-ui/server/src/services/resource-dictionary.service.ts b/cds-ui/server/src/services/resource-dictionary.service.ts index 44ba1a347..8bc61fad1 100644 --- a/cds-ui/server/src/services/resource-dictionary.service.ts +++ b/cds-ui/server/src/services/resource-dictionary.service.ts @@ -3,11 +3,11 @@ import {inject, Provider} from '@loopback/core'; import {ResourceDictionaryDataSource} from '../datasources'; export interface ResourceDictionaryService { - getByName(name: string, authtoken: string): Promise; - getSourceMapping(authtoken: string): Promise; - getByTags(tags: string, authtoken: string): Promise; - save(authtoken: string, resourceDictionary: JSON): Promise; - searchbyNames(authtoken: string, resourceDictionaryList: JSON): Promise; + getByName(name: string): Promise; + getSourceMapping(): Promise; + getByTags(tags: string): Promise; + save(resourceDictionary: JSON): Promise; + searchbyNames(resourceDictionaryList: JSON): Promise; } export class ResourceDictionaryServiceProvider implements Provider { -- cgit 1.2.3-korg