diff options
author | Pramod <pramod.kumarsharma@amdocs.com> | 2018-01-17 12:05:14 +0000 |
---|---|---|
committer | BorislavG <Borislav.Glozman@amdocs.com> | 2018-02-07 14:56:42 +0000 |
commit | ba635b3dc4d520e4be28dc82c40b049567ff2c88 (patch) | |
tree | fa61825a68b5c577d207e8090d9a1c81d5b3a38d /kubernetes/sdc/resources/config/sdc-fe | |
parent | 18c2dbcdf7904d6a4030efa141fe232009362800 (diff) |
Config seg sdc deployment
Issue-ID: OOM-550
Signed-off-by: Pramod <pramod.kumarsharma@amdocs.com>
Change-Id: Ibad8a16fb289ddd4260be5cce0c787e4de212a97
Diffstat (limited to 'kubernetes/sdc/resources/config/sdc-fe')
-rwxr-xr-x | kubernetes/sdc/resources/config/sdc-fe/FE_2_setup_configuration.rb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/kubernetes/sdc/resources/config/sdc-fe/FE_2_setup_configuration.rb b/kubernetes/sdc/resources/config/sdc-fe/FE_2_setup_configuration.rb new file mode 100755 index 0000000000..9fc662ee0a --- /dev/null +++ b/kubernetes/sdc/resources/config/sdc-fe/FE_2_setup_configuration.rb @@ -0,0 +1,27 @@ +jetty_base="/var/lib/jetty" +template "catalog-fe-config" do + path "#{jetty_base}/config/catalog-fe/configuration.yaml" + source "FE-configuration.yaml.erb" + owner "jetty" + group "jetty" + mode "0755" + variables({ + :fe_host_ip => node['HOST_IP'], + :be_host_ip => "sdc-be.onap-sdc", + :catalog_port => node['BE'][:http_port], + :ssl_port => node['BE'][:https_port] + }) +end + +template "onboarding-fe-config" do + path "#{jetty_base}/config/onboarding-fe/onboarding_configuration.yaml" + source "FE-onboarding-configuration.yaml.erb" + owner "jetty" + group "jetty" + mode "0755" + variables({ + :catalog_ip => node['HOST_IP'], + :catalog_port => node['BE'][:http_port], + :ssl_port => node['BE'][:https_port] +}) +end |