From d139e09812ffbdb36a2058b514c51315c76b09f0 Mon Sep 17 00:00:00 2001 From: shrikantawachar Date: Wed, 16 Jan 2019 12:37:16 +0530 Subject: Allow custom plugins in SDC Allow custom plugins in SDC Change-Id: I09475a4f795734f7911e24652560f7d41ddb8d14 Issue-ID: SDC-2022 Signed-off-by: shrikantawachar --- .../recipes/FE_2_setup_configuration.rb | 17 ------------- .../default/FE-plugins-configuration.yaml.erb | 28 ---------------------- 2 files changed, 45 deletions(-) delete mode 100644 catalog-fe/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/templates/default/FE-plugins-configuration.yaml.erb (limited to 'catalog-fe/sdc-frontend/chef-repo/cookbooks') 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 -- cgit 1.2.3-korg