summaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/environments
diff options
context:
space:
mode:
authorshrikantawachar <shrikant.awachar@amdocs.com>2019-01-16 12:37:16 +0530
committerAvi Gaffa <avi.gaffa@amdocs.com>2019-01-22 09:39:41 +0000
commitd139e09812ffbdb36a2058b514c51315c76b09f0 (patch)
treecd98e9f425023e099397825832c6a43e1991c137 /sdc-os-chef/environments
parent5ea67deaa651bad97e0a9f90f7a6e0ef48e26665 (diff)
Allow custom plugins in SDC
Allow custom plugins in SDC Change-Id: I09475a4f795734f7911e24652560f7d41ddb8d14 Issue-ID: SDC-2022 Signed-off-by: shrikantawachar <shrikant.awachar@amdocs.com>
Diffstat (limited to 'sdc-os-chef/environments')
-rw-r--r--sdc-os-chef/environments/Template.json16
-rw-r--r--sdc-os-chef/environments/plugins-configuration.yaml28
2 files changed, 29 insertions, 15 deletions
diff --git a/sdc-os-chef/environments/Template.json b/sdc-os-chef/environments/Template.json
index c998d8bcfb..57834c474c 100644
--- a/sdc-os-chef/environments/Template.json
+++ b/sdc-os-chef/environments/Template.json
@@ -43,21 +43,7 @@
],
"KB": "yyy"
},
- "Plugins": {
- "DCAE": {
- "dcae_discovery_url": "http://yyy:8183/dcaed/#/demo",
- "dcae_source_url": "http://yyy:8183/dcaed/#/demo"
- },
- "DCAE-TAB": {
- "dcae_dt_discovery_url": "yyy",
- "dcae_dt_source_url": "yyy"
- },
- "WORKFLOW": {
- "workflow_discovery_url": "yyy",
- "workflow_source_url": "yyy"
- }
- },
- "VnfRepo": {
+ "VnfRepo": {
"vnfRepoPort": "8702",
"vnfRepoHost": "10.0.14.1"
}
diff --git a/sdc-os-chef/environments/plugins-configuration.yaml b/sdc-os-chef/environments/plugins-configuration.yaml
new file mode 100644
index 0000000000..21de74636f
--- /dev/null
+++ b/sdc-os-chef/environments/plugins-configuration.yaml
@@ -0,0 +1,28 @@
+pluginsList:
+ - pluginId: DCAED
+ pluginDiscoveryUrl: <%= @dcae_discovery_url %>
+ pluginSourceUrl: <%= @dcae_source_url %>
+ pluginStateUrl: "dcaed"
+ pluginDisplayOptions:
+ context:
+ displayName: "Monitoring"
+ displayContext: ["SERVICE"]
+ displayRoles: ["DESIGNER"]
+ - pluginId: DCAE-DS
+ pluginDiscoveryUrl: <%= @dcae_dt_discovery_url %>
+ pluginSourceUrl: <%= @dcae_dt_source_url %>
+ pluginStateUrl: "dcae-ds"
+ pluginDisplayOptions:
+ tab:
+ displayName: "DCAE-DS"
+ displayRoles: ["DESIGNER"]
+ - pluginId: WORKFLOW
+ pluginDiscoveryUrl: <%= @workflow_discovery_url %>
+ pluginSourceUrl: <%= @workflow_source_url %>
+ pluginStateUrl: "workflowDesigner"
+ pluginDisplayOptions:
+ tab:
+ displayName: "WORKFLOW"
+ displayRoles: ["DESIGNER", "TESTER"]
+
+connectionTimeout: 1000 \ No newline at end of file