Configuration adjustments 27/46827/5
authorAreli, Fuss (af732p) <af732p@att.com>
Wed, 9 May 2018 12:45:03 +0000 (15:45 +0300)
committerMichael Lando <ml636r@att.com>
Wed, 5 Sep 2018 14:55:27 +0000 (14:55 +0000)
Configuration adjustments after CI

Change-Id: Id2d59ae76178f58cae6e1928a29039b2ea3b3dfa
Issue-ID: SDC-1299
Signed-off-by: Areli, Fuss (af732p) <af732p@att.com>
asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/recipes/02-createDoxKeyspace.rb
asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/recipes/03-schemaCreation.rb
catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/recipes/BE_2_setup_configuration.rb
catalog-fe/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/recipes/FE_2_setup_configuration.rb
test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/recipes/sanityApiTests_2_setup_configuration.rb
ui-ci/sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/recipes/sanityUiTests_2_setup_configuration.rb

index c9b3693..782358b 100644 (file)
@@ -4,7 +4,7 @@ template "/tmp/create_dox_keyspace.sh" do
     mode 0755
     variables({
       :cassandra_ip => node['Nodes']['CS'].first,
-      :DC_NAME      => node['cassandra'][:cluster_name]+node.chef_environment,
+      :DC_NAME      => node['cassandra']['datacenter_name']+node.chef_environment,
       :cassandra_pwd => node['cassandra'][:cassandra_password],
       :cassandra_usr => node['cassandra'][:cassandra_user]
     })
index faa04e5..d2c7a8c 100644 (file)
@@ -18,7 +18,7 @@ template "titan.properties" do
   source "titan.properties.erb"
   mode "0755"
   variables({
-     :DC_NAME      => node['cassandra'][:cluster_name]+node.chef_environment,
+     :DC_NAME      => node['cassandra']['datacenter_name']+node.chef_environment,
      :cassandra_ip  => node['Nodes']['CS'].first,
      :cassandra_pwd => node['cassandra'][:cassandra_password],
      :cassandra_usr => node['cassandra'][:cassandra_user],
@@ -37,7 +37,7 @@ template "/tmp/sdctool/config/configuration.yaml" do
       :ssl_port               => node['BE'][:https_port],
       :cassandra_ip           => node['Nodes']['CS'].first,
       :rep_factor             => 1,
-      :DC_NAME                => node['cassandra'][:cluster_name]+node.chef_environment,
+      :DC_NAME                => node['cassandra']['datacenter_name']+node.chef_environment,
       :titan_Path             => "/tmp/sdctool/config/",
       :socket_connect_timeout => node['cassandra']['socket_connect_timeout'],
       :socket_read_timeout    => node['cassandra']['socket_read_timeout'],
index 0d1e722..155ea24 100644 (file)
@@ -40,7 +40,6 @@ template "titan.properties" do
 end
 
 
-
 template "catalog-be-config" do
    path "#{ENV['JETTY_BASE']}/config/catalog-be/configuration.yaml"
    source "BE-configuration.yaml.erb"
@@ -48,7 +47,7 @@ template "catalog-be-config" do
    group "jetty"
    mode "0755"
    variables({
-      :catalog_ip             => node['BE_VIP'],
+      :catalog_ip             => node['Nodes']['BE'],
       :catalog_port           => node['BE'][:http_port],
       :ssl_port               => node['BE'][:https_port],
       :cassandra_ip           => node['Nodes']['CS'].join(",").gsub(/[|]/,''),
@@ -67,7 +66,6 @@ template "catalog-be-config" do
 end
 
 
-
 template "distribution-engine-configuration" do
    path "#{ENV['JETTY_BASE']}/config/catalog-be/distribution-engine-configuration.yaml"
    source "BE-distribution-engine-configuration.yaml.erb"
index 280eacd..094317f 100644 (file)
@@ -5,8 +5,8 @@ template "catalog-fe-config" do
    group "jetty"
    mode "0755"
    variables({
-      :fe_host_ip   => node['Nodes']['FE'],
-      :be_host_ip   => node['Nodes']['BE'],
+      :fe_host_ip   => node['FE_VIP'],
+      :be_host_ip   => node['BE_VIP'],
       :kb_host_ip   => node['Nodes']['KB'],
       :catalog_port => node['BE'][:http_port],
       :ssl_port     => node['BE'][:https_port],
index 20fd118..8bef97c 100644 (file)
@@ -40,4 +40,4 @@ template "titan.properties" do
       :rep_factor => replication_factor,
       :DC_NAME      => node['cassandra']['datacenter_name']+node.chef_environment
    })
-end
\ No newline at end of file
+end