summaryrefslogtreecommitdiffstats
path: root/cookbooks/aai-resources/aai-resources-config/attributes
diff options
context:
space:
mode:
Diffstat (limited to 'cookbooks/aai-resources/aai-resources-config/attributes')
-rw-r--r--cookbooks/aai-resources/aai-resources-config/attributes/aai-resources-config.rb15
-rw-r--r--cookbooks/aai-resources/aai-resources-config/attributes/aaiEventDMaaPPublisher.rb3
-rw-r--r--cookbooks/aai-resources/aai-resources-config/attributes/preferredRoute.rb1
-rw-r--r--cookbooks/aai-resources/aai-resources-config/attributes/titan-cached.rb6
-rw-r--r--cookbooks/aai-resources/aai-resources-config/attributes/titan-realtime.rb3
5 files changed, 28 insertions, 0 deletions
diff --git a/cookbooks/aai-resources/aai-resources-config/attributes/aai-resources-config.rb b/cookbooks/aai-resources/aai-resources-config/attributes/aai-resources-config.rb
new file mode 100644
index 0000000..af27381
--- /dev/null
+++ b/cookbooks/aai-resources/aai-resources-config/attributes/aai-resources-config.rb
@@ -0,0 +1,15 @@
+node.default["aai-resources-config"]["AAIENV"] = 'devINT1'
+node.default["aai-resources-config"]["PROJECT_HOME"] = '/opt/app/aai-resources'
+node.default["aai-resources-config"]["LOGROOT"] = '/opt/aai/logroot'
+node.default["aai-resources-config"]["JAVA_HOME"] = '/usr/lib/jvm/java-8-openjdk-amd64'
+node.default["aai-resources-config"]["AAI_SERVER_URL_BASE"] = 'https://localhost:8443/aai/'
+node.default["aai-resources-config"]["AAI_SERVER_URL"] = 'https://localhost:8443/aai/v10/'
+node.default["aai-resources-config"]["AAI_GLOBAL_CALLBACK_URL"] = 'https://localhost:8443/aai/'
+node.default["aai-resources-config"]["AAI_TRUSTSTORE_FILENAME"] = 'aai_keystore'
+node.default["aai-resources-config"]["AAI_TRUSTSTORE_PASSWD_X"] = 'OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0'
+node.default["aai-resources-config"]["AAI_KEYSTORE_FILENAME"] = 'aai_keystore'
+node.default["aai-resources-config"]["AAI_KEYSTORE_PASSWD_X"] = 'OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0'
+node.default["aai-resources-config"]["TXN_HBASE_TABLE_NAME"] = 'aailogging.dev'
+node.default["aai-resources-config"]["TXN_ZOOKEEPER_QUORUM"] = 'localhost'
+node.default["aai-resources-config"]["TXN_ZOOKEEPER_PROPERTY_CLIENTPORT"] = '2181'
+node.default["aai-resources-config"]["TXN_HBASE_ZOOKEEPER_ZNODE_PARENT"] = '/hbase'
diff --git a/cookbooks/aai-resources/aai-resources-config/attributes/aaiEventDMaaPPublisher.rb b/cookbooks/aai-resources/aai-resources-config/attributes/aaiEventDMaaPPublisher.rb
new file mode 100644
index 0000000..91bc7bb
--- /dev/null
+++ b/cookbooks/aai-resources/aai-resources-config/attributes/aaiEventDMaaPPublisher.rb
@@ -0,0 +1,3 @@
+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'
diff --git a/cookbooks/aai-resources/aai-resources-config/attributes/preferredRoute.rb b/cookbooks/aai-resources/aai-resources-config/attributes/preferredRoute.rb
new file mode 100644
index 0000000..21eb295
--- /dev/null
+++ b/cookbooks/aai-resources/aai-resources-config/attributes/preferredRoute.rb
@@ -0,0 +1 @@
+node.default["aai-resources-config"]["AAI_WORKLOAD_PREFERRED_ROUTE_KEY"] = 'MR1' \ No newline at end of file
diff --git a/cookbooks/aai-resources/aai-resources-config/attributes/titan-cached.rb b/cookbooks/aai-resources/aai-resources-config/attributes/titan-cached.rb
new file mode 100644
index 0000000..103583b
--- /dev/null
+++ b/cookbooks/aai-resources/aai-resources-config/attributes/titan-cached.rb
@@ -0,0 +1,6 @@
+node.default["aai-resources-config"]["STORAGE_HOSTNAME"] = 'localhost'
+node.default["aai-resources-config"]["STORAGE_HBASE_TABLE"] = 'aaigraph.dev'
+node.default["aai-resources-config"]["STORAGE_HBASE_ZOOKEEPER_ZNODE_PARENT"] = '/hbase'
+node.default["aai-resources-config"]["DB_CACHE_CLEAN_WAIT"] = 20
+node.default["aai-resources-config"]["DB_CACHE_TIME"] = 180000
+node.default["aai-resources-config"]["DB_CACHE_SIZE"] = 0.3 \ No newline at end of file
diff --git a/cookbooks/aai-resources/aai-resources-config/attributes/titan-realtime.rb b/cookbooks/aai-resources/aai-resources-config/attributes/titan-realtime.rb
new file mode 100644
index 0000000..c289a63
--- /dev/null
+++ b/cookbooks/aai-resources/aai-resources-config/attributes/titan-realtime.rb
@@ -0,0 +1,3 @@
+node.default["aai-resources-config"]["STORAGE_HOSTNAME"] = 'localhost'
+node.default["aai-resources-config"]["STORAGE_HBASE_TABLE"] = 'aaigraph.dev'
+node.default["aai-resources-config"]["STORAGE_HBASE_ZOOKEEPER_ZNODE_PARENT"] = '/hbase' \ No newline at end of file