Adding new ASDC client property file 85/42585/1
authorArthur Martella <amartell@research.att.com>
Thu, 12 Apr 2018 19:43:30 +0000 (15:43 -0400)
committerArthur Martella <amartell@research.att.com>
Thu, 12 Apr 2018 19:43:30 +0000 (15:43 -0400)
And associated runbook changes.

Change-Id: Ie1b0fcf94aeb0e44028ec10c0e36f0ad8c18f58e
Issue-ID: SO-563
Signed-off-by: Arthur Martella <amartell@research.att.com>
recipes/mso-asdc-controller-config.rb
templates/default/mso-asdc-controller-config/mso.asdc.clients.properties [new file with mode: 0644]

index 0d84dec..d83a19a 100644 (file)
@@ -48,6 +48,17 @@ template "mso_asdc_json" do
   action :nothing 
 end
 
+template "mso_asdc_clients_properties" do 
+  path "#{ node['mso_config_path'] }/mso.asdc.clients.properties" 
+  source "mso-asdc-controller-config/mso.asdc.clients.properties"
+  owner "jboss" 
+  group "jboss" 
+  mode "0744" 
+  variables(
+    :var => node["mso-asdc-controller-config"]
+  )
+end
+
 remote_directory "#{node['mso_config_path']}" do
   source "mso-asdc-controller-config"
   #cookbook "default is current"
diff --git a/templates/default/mso-asdc-controller-config/mso.asdc.clients.properties b/templates/default/mso-asdc-controller-config/mso.asdc.clients.properties
new file mode 100644 (file)
index 0000000..04dc23c
--- /dev/null
@@ -0,0 +1 @@
+aai.endpoint=<%= @var["aaiEndpoint"] %>