--- /dev/null
+node.default["aai-resources-config"]["AAI_DMAAP_PROTOCOL"] = 'http'
+node.default["aai-resources-config"]["AAI_DMAAP_HOST_PORT"] = 'localhost:3904'
+node.default["aai-resources-config"]["AAI_DMAAP_TOPIC_NAME"] = 'AAI-EVENT'
--- /dev/null
+['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
+
--- /dev/null
+Protocol=<%= @AAI_DMAAP_PROTOCOL %>
+contenttype=application/json
+host=<%= @AAI_DMAAP_HOST_PORT %>
+topic=<%= @AAI_DMAAP_TOPIC_NAME %>
"run_list": [
"recipe[aai-resources-config::createConfigDirectories]",
"recipe[aai-resources-auth::aai-resources-aai-keystore]",
+ "recipe[aai-resources-config::aaiEventDMaaPPublisher]",
"recipe[aai-resources-config::aai-resources-config]",
"recipe[aai-resources-config::titan-cached]",
"recipe[aai-resources-config::titan-realtime]",
--- /dev/null
+node.default["aai-traversal-config"]["AAI_DMAAP_PROTOCOL"] = 'http'
+node.default["aai-traversal-config"]["AAI_DMAAP_HOST_PORT"] = 'localhost:3904'
+node.default["aai-traversal-config"]["AAI_DMAAP_TOPIC_NAME"] = 'AAI-EVENT'
--- /dev/null
+['aaiEventDMaaPPublisher.properties'].each do |file|
+ template "#{node['aai-traversal-config']['PROJECT_HOME']}/bundleconfig/etc/appprops/#{file}" do
+ source "aai-traversal-app-config/aaiEventDMaaPPublisher.properties"
+ owner "aaiadmin"
+ group "aaiadmin"
+ mode "0644"
+ variables(
+:AAI_DMAAP_PROTOCOL => node["aai-traversal-config"]["AAI_DMAAP_PROTOCOL"],
+:AAI_DMAAP_HOST_PORT => node["aai-traversal-config"]["AAI_DMAAP_HOST_PORT"],
+:AAI_DMAAP_TOPIC_NAME => node["aai-traversal-config"]["AAI_DMAAP_TOPIC_NAME"]
+ )
+ end
+end
+
--- /dev/null
+Protocol=<%= @AAI_DMAAP_PROTOCOL %>
+contenttype=application/json
+host=<%= @AAI_DMAAP_HOST_PORT %>
+topic=<%= @AAI_DMAAP_TOPIC_NAME %>
"run_list": [
"recipe[aai-traversal-config::createConfigDirectories]",
"recipe[aai-traversal-auth::aai-traversal-aai-keystore]",
+ "recipe[aai-traversal-config::aaiEventDMaaPPublisher]",
"recipe[aai-traversal-config::titan-cached]",
"recipe[aai-traversal-config::titan-realtime]",
"recipe[aai-traversal-config::gremlin-server-config]",
"recipe[aai-traversal-config::aai-traversal-config]",
"recipe[aai-traversal-config::aai-preferredRoute]"
]
-}
\ No newline at end of file
+}