1 template "onboard-be-config" do
2 path "#{ENV['JETTY_BASE']}/config/onboarding-be/onboarding_configuration.yaml"
3 source "configuration.yaml.erb"
4 owner "#{ENV['JETTY_USER']}"
5 group "#{ENV['JETTY_GROUP']}"
8 :onboard_ip => node['ONBOARDING_BE_VIP'],
9 :onboard_port => node['ONBOARDING_BE'][:http_port],
10 :ssl_port => node['ONBOARDING_BE'][:https_port],
11 :cassandra_ip => node['Nodes']['CS'].join(",").gsub(/[|]/,''),
12 :cassandra_port => node['cassandra']['cassandra_port'],
13 :DC_NAME => node['cassandra']['datacenter_name'],
14 :socket_connect_timeout => node['cassandra']['socket_connect_timeout'],
15 :socket_read_timeout => node['cassandra']['socket_read_timeout'],
16 :cassandra_pwd => node['cassandra'][:cassandra_password],
17 :cassandra_usr => node['cassandra'][:cassandra_user],
18 :cassandra_truststore_password => node['cassandra'][:truststore_password],
19 :cassandra_ssl_enabled => "#{ENV['cassandra_ssl_enabled']}",
20 :basic_auth_enabled => node['basic_auth']['enabled'],
21 :basic_auth_username => node['basic_auth'][:user_name],
22 :basic_auth_password => node['basic_auth'][:user_pass],
23 :catalog_notification_url => node['ONBOARDING_BE']['catalog_notification_url'],
24 :catalog_be_http_port => node['BE'][:http_port],
25 :catalog_be_ssl_port => node['BE'][:https_port],
26 :permittedAncestors => "#{ENV['permittedAncestors']}",
27 :catalog_be_fqdn => node['Nodes']['BE']
31 template "VnfrepoConfiguration" do
32 path "#{ENV['JETTY_BASE']}/config/onboarding-be/config-vnfrepo.yaml"
33 source "vnfrepo-configuration.yaml.erb"
34 owner "#{ENV['JETTY_USER']}"
35 group "#{ENV['JETTY_GROUP']}"
38 :VNFREPO_IP => node['VnfRepo']['vnfRepoHost'],
39 :VNFREPO_PORT => node['VnfRepo']['vnfRepoPort']
43 template "HelmValidatorConfiguration" do
44 path "#{ENV['JETTY_BASE']}/config/onboarding-be/config-helmvalidator.yaml"
45 source "helmvalidator-configuration.yaml.erb"
46 owner "#{ENV['JETTY_USER']}"
47 group "#{ENV['JETTY_GROUP']}"
50 :HVALIDATOR_ENABLED => node['HelmValidator']['validator_enabled'],
51 :HVALIDATOR_URL => node['HelmValidator']['validator_url'],
52 :HVALIDATOR_HELM_VERSION => node['HelmValidator']['helm_version'],
53 :HVALIDATOR_DEPLOYABLE => node['HelmValidator']['deployable'],
54 :HVALIDATOR_LINTABLE => node['HelmValidator']['lintable'],
55 :HVALIDATOR_STRICT_LINTABLE => node['HelmValidator']['strict_lintable']
59 template "ExternalTestingConfiguration" do
60 path "#{ENV['JETTY_BASE']}/config/onboarding-be/externaltesting-configuration.yaml"
61 source "externaltesting-configuration.yaml.erb"
62 owner "#{ENV['JETTY_USER']}"
63 group "#{ENV['JETTY_GROUP']}"
66 :EP1_CONFIG => node['EXTTEST']['ep1_config'],
67 :EP2_CONFIG => node['EXTTEST']['ep2_config']
71 template "FeaturesProperties" do
72 path "#{ENV['JETTY_BASE']}/config/onboarding-be/features.properties"
73 source "features.properties.erb"
74 owner "#{ENV['JETTY_USER']}"
75 group "#{ENV['JETTY_GROUP']}"