aboutsummaryrefslogtreecommitdiffstats
path: root/recipes
diff options
context:
space:
mode:
authorxg353y <xg353y@intl.att.com>2017-04-12 13:42:57 +0200
committerxg353y <xg353y@intl.att.com>2017-05-02 17:28:40 +0200
commita15910bd9732c294a40d29bd52ca5713b11f3666 (patch)
tree39d5c7281e91d8b0c50dfde1707bc5759574f7fb /recipes
parentac9461046f2a4a10058a9afd96b62ecda0459430 (diff)
[MSO-8] Bring 1707 changes to MSO
Bring 1707 changes: restructure BPMN debug related configurations; add configuration for workflow message adapter. Change-Id: I95eb6cc52919e8fb9bef42550144d1805252f2fb Signed-off-by: xg353y <xg353y@intl.att.com>
Diffstat (limited to 'recipes')
-rw-r--r--recipes/jra.rb3
-rw-r--r--recipes/mso-workflow-message-adapter-config.rb37
2 files changed, 39 insertions, 1 deletions
diff --git a/recipes/jra.rb b/recipes/jra.rb
index da46ee2..2822542 100644
--- a/recipes/jra.rb
+++ b/recipes/jra.rb
@@ -1,9 +1,10 @@
################
# Deploy jra config set
-#
+#
######
include_recipe "mso-config::mso-sdnc-adapter-config"
include_recipe "mso-config::mso-po-adapter-config"
include_recipe "mso-config::mso-topology-config"
include_recipe "mso-config::mso-appc-adapter-config"
+include_recipe "mso-config::mso-workflow-message-adapter-config"
diff --git a/recipes/mso-workflow-message-adapter-config.rb b/recipes/mso-workflow-message-adapter-config.rb
new file mode 100644
index 0000000..69732c8
--- /dev/null
+++ b/recipes/mso-workflow-message-adapter-config.rb
@@ -0,0 +1,37 @@
+################
+#
+######
+include_recipe 'mso-config::createConfigDirectories'
+
+################
+#
+######
+['mso.workflow-message-adapter.properties'].each do |file|
+ template "#{node['mso_config_path']}#{file}" do
+ source "mso-workflow-message-adapter-config/#{file}"
+ owner "jboss"
+ group "jboss"
+ mode "0744"
+ variables(
+ :var => node["mso-workflow-message-adapter-config"]
+ )
+ end
+end
+
+################
+#
+######
+remote_directory "#{node['mso_config_path']}" do
+ source "mso-workflow-message-adapter-config"
+ #cookbook "default is current"
+ files_mode "0744"
+ files_owner "jboss"
+ files_group "jboss"
+ mode "0755"
+ owner "jboss"
+ group "jboss"
+ overwrite true
+ recursive true
+ action :create
+end
+