aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/docker/backend/chef-repo/cookbooks/sdc-catalog-be/recipes
diff options
context:
space:
mode:
authormarine <marine.de.dorlodot@intl.att.com>2021-07-08 11:57:27 +0200
committerMichael Morris <michael.morris@est.tech>2021-07-13 13:45:54 +0000
commit84f4b054a72b7d1dd44dec5d91623595e4563ab7 (patch)
treedfcd0c8167108ad231f9248ebec74549764ee36f /catalog-be/src/main/docker/backend/chef-repo/cookbooks/sdc-catalog-be/recipes
parent6047cd212696f5260d1296ce1fc3449dadb6005d (diff)
Exposing new parameters in chef config for SDC
Issue-ID: SDC-3633 Change-Id: Ib59ecbe151b3d7fb5b52241102f5c7dfc520003b Signed-off-by: xuegao <xue.gao@intl.att.com>
Diffstat (limited to 'catalog-be/src/main/docker/backend/chef-repo/cookbooks/sdc-catalog-be/recipes')
-rw-r--r--catalog-be/src/main/docker/backend/chef-repo/cookbooks/sdc-catalog-be/recipes/BE_2_setup_configuration.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/catalog-be/src/main/docker/backend/chef-repo/cookbooks/sdc-catalog-be/recipes/BE_2_setup_configuration.rb b/catalog-be/src/main/docker/backend/chef-repo/cookbooks/sdc-catalog-be/recipes/BE_2_setup_configuration.rb
index 6522577881..83dc113329 100644
--- a/catalog-be/src/main/docker/backend/chef-repo/cookbooks/sdc-catalog-be/recipes/BE_2_setup_configuration.rb
+++ b/catalog-be/src/main/docker/backend/chef-repo/cookbooks/sdc-catalog-be/recipes/BE_2_setup_configuration.rb
@@ -31,8 +31,11 @@ template "janusgraph.properties" do
:DC_NAME_WITH_REP => janusgraph_dcname_with_rep,
:janus_connection_timeout => node['cassandra']['janusgraph_connection_timeout'],
:cassandra_truststore_password => node['cassandra'][:truststore_password],
- :cassandra_ssl_enabled => "#{ENV['cassandra_ssl_enabled']}"
- })
+ :cassandra_ssl_enabled => "#{ENV['cassandra_ssl_enabled']}",
+ :cassandra_read_consistency_level => node['cassandra'][:read_consistency_level],
+ :cassandra_write_consistency_level => node['cassandra'][:write_consistency_level],
+ :cassandra_db_cache => node['cassandra'][:db_cache]
+ })
end
template "catalog-be-config" do