diff options
author | Dan Timoney <dtimoney@att.com> | 2019-05-13 12:52:44 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-05-13 12:52:44 +0000 |
commit | 425e1b49c18f4caebea2af79849e81c5aefb34b3 (patch) | |
tree | 97be7f9445d962f80ae23737693f3f0039ae4ce6 /cds-ui/server/config | |
parent | 7bace3db55c2ca51431e88191cc7a8587d7aa508 (diff) | |
parent | 087d4b667a9c5517ac7d014c2bbdad994b927147 (diff) |
Merge "Modify CDS-UI server to allow communicating with external blueprint mS"
Diffstat (limited to 'cds-ui/server/config')
-rw-r--r-- | cds-ui/server/config/app-config.ts | 9 |
1 files changed, 9 insertions, 0 deletions
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 |