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>
diff --git a/sdc-os-chef/environments/Template.json b/sdc-os-chef/environments/Template.json
index c998d8b..57834c4 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 0000000..21de746
--- /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