summaryrefslogtreecommitdiffstats
path: root/cookbooks/aai-resources/aai-resources-config/recipes/aaiEventDMaaPPublisher.rb
diff options
context:
space:
mode:
Diffstat (limited to 'cookbooks/aai-resources/aai-resources-config/recipes/aaiEventDMaaPPublisher.rb')
-rw-r--r--cookbooks/aai-resources/aai-resources-config/recipes/aaiEventDMaaPPublisher.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/cookbooks/aai-resources/aai-resources-config/recipes/aaiEventDMaaPPublisher.rb b/cookbooks/aai-resources/aai-resources-config/recipes/aaiEventDMaaPPublisher.rb
new file mode 100644
index 0000000..1e626db
--- /dev/null
+++ b/cookbooks/aai-resources/aai-resources-config/recipes/aaiEventDMaaPPublisher.rb
@@ -0,0 +1,14 @@
+['aaiEventDMaaPPublisher.properties'].each do |file|
+ template "#{node['aai-resources-config']['PROJECT_HOME']}/bundleconfig/etc/appprops/#{file}" do
+ source "aai-resources-config/aaiEventDMaaPPublisher.properties"
+ owner "aaiadmin"
+ group "aaiadmin"
+ mode "0644"
+ variables(
+:AAI_DMAAP_PROTOCOL => node["aai-resources-config"]["AAI_DMAAP_PROTOCOL"],
+:AAI_DMAAP_HOST_PORT => node["aai-resources-config"]["AAI_DMAAP_HOST_PORT"],
+:AAI_DMAAP_TOPIC_NAME => node["aai-resources-config"]["AAI_DMAAP_TOPIC_NAME"]
+ )
+ end
+end
+