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/config/app-config.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 cds-ui/server/config/app-config.ts (limited to 'cds-ui/server/config/app-config.ts') diff --git a/cds-ui/server/config/app-config.ts b/cds-ui/server/config/app-config.ts new file mode 100644 index 000000000..80f246427 --- /dev/null +++ b/cds-ui/server/config/app-config.ts @@ -0,0 +1,9 @@ +export const controllerApiConfig = Object.freeze({ + url: process.env.API_BLUEPRINT_CONTROLLER_BASE_URL || "http://localhost:8080/api/v1", + authToken: process.env.API_BLUEPRINT_CONTROLLER_AUTH_TOKEN || "Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==" +}); + +export const processorApiConfig = Object.freeze({ + url: process.env.API_BLUEPRINT_PROCESSOR_BASE_URL || "http://localhost:8081/api/v1", + authToken: process.env.API_BLUEPRINT_PROCESSOR_AUTH_TOKEN || "Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==" +}); \ No newline at end of file -- cgit 1.2.3-korg