summaryrefslogtreecommitdiffstats
path: root/catalog-fe
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 /catalog-fe
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 'catalog-fe')
-rw-r--r--catalog-fe/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/recipes/FE_2_setup_configuration.rb17
-rw-r--r--catalog-fe/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/templates/default/FE-plugins-configuration.yaml.erb28
-rw-r--r--catalog-fe/src/main/resources/config/plugins-configuration.yaml23
3 files changed, 0 insertions, 68 deletions
diff --git a/catalog-fe/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/recipes/FE_2_setup_configuration.rb b/catalog-fe/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/recipes/FE_2_setup_configuration.rb
index 094317f014..9df2ac97b9 100644
--- a/catalog-fe/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/recipes/FE_2_setup_configuration.rb
+++ b/catalog-fe/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/recipes/FE_2_setup_configuration.rb
@@ -14,23 +14,6 @@ template "catalog-fe-config" do
})
end
-template "plugins-fe-config" do
- path "#{ENV['JETTY_BASE']}/config/catalog-fe/plugins-configuration.yaml"
- source "FE-plugins-configuration.yaml.erb"
- owner "jetty"
- group "jetty"
- mode "0755"
- variables({
- :dcae_discovery_url => node['Plugins']['DCAE']['dcae_discovery_url'],
- :dcae_source_url => node['Plugins']['DCAE']['dcae_source_url'],
- :dcae_dt_discovery_url => node['Plugins']['DCAE-TAB']['dcae_dt_discovery_url'],
- :dcae_dt_source_url => node['Plugins']['DCAE-TAB']['dcae_dt_source_url'],
- :workflow_discovery_url => node['Plugins']['WORKFLOW']['workflow_discovery_url'],
- :workflow_source_url => node['Plugins']['WORKFLOW']['workflow_source_url']
- })
-end
-
-
template "onboarding-fe-config" do
path "#{ENV['JETTY_BASE']}/config/onboarding-fe/onboarding_configuration.yaml"
source "FE-onboarding-configuration.yaml.erb"
diff --git a/catalog-fe/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/templates/default/FE-plugins-configuration.yaml.erb b/catalog-fe/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/templates/default/FE-plugins-configuration.yaml.erb
deleted file mode 100644
index 338432d896..0000000000
--- a/catalog-fe/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/templates/default/FE-plugins-configuration.yaml.erb
+++ /dev/null
@@ -1,28 +0,0 @@
-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
diff --git a/catalog-fe/src/main/resources/config/plugins-configuration.yaml b/catalog-fe/src/main/resources/config/plugins-configuration.yaml
deleted file mode 100644
index eb36945715..0000000000
--- a/catalog-fe/src/main/resources/config/plugins-configuration.yaml
+++ /dev/null
@@ -1,23 +0,0 @@
-pluginsList:
- - pluginId: DCAE
- pluginDiscoveryUrl: http://localhost:8702/dcae
- pluginSourceUrl: http://localhost:8702/dcae
- pluginStateUrl: "dcae"
- pluginDisplayOptions:
- context:
- displayName: "Monitor"
- displayContext: ["VF", "SERVICE"]
- displayRoles: ["DESIGNER"]
- - pluginId: WORKFLOW
- pluginDiscoveryUrl: http://localhost:9527/
- pluginSourceUrl: http://localhost:9527/
- pluginStateUrl: "workflowDesigner"
- pluginDisplayOptions:
- top:
- displayName: "WORKFLOW"
- context:
- displayName: "Workflow Designer"
- displayContext: ["VF", "SERVICE"]
- displayRoles: ["DESIGNER", "TESTER"]
-
-connectionTimeout: 1000 \ No newline at end of file