summaryrefslogtreecommitdiffstats
path: root/cookbooks/aai-traversal/aai-traversal-config/attributes
diff options
context:
space:
mode:
Diffstat (limited to 'cookbooks/aai-traversal/aai-traversal-config/attributes')
-rw-r--r--cookbooks/aai-traversal/aai-traversal-config/attributes/aai-traversal-config.rb15
-rw-r--r--cookbooks/aai-traversal/aai-traversal-config/attributes/gremlin-server-config.rb1
-rw-r--r--cookbooks/aai-traversal/aai-traversal-config/attributes/preferredRoute.rb1
-rw-r--r--cookbooks/aai-traversal/aai-traversal-config/attributes/titan-cached.rb6
-rw-r--r--cookbooks/aai-traversal/aai-traversal-config/attributes/titan-realtime.rb3
5 files changed, 26 insertions, 0 deletions
diff --git a/cookbooks/aai-traversal/aai-traversal-config/attributes/aai-traversal-config.rb b/cookbooks/aai-traversal/aai-traversal-config/attributes/aai-traversal-config.rb
new file mode 100644
index 0000000..72f7433
--- /dev/null
+++ b/cookbooks/aai-traversal/aai-traversal-config/attributes/aai-traversal-config.rb
@@ -0,0 +1,15 @@
+node.default["aai-traversal-config"]["AAIENV"] = 'solo'
+node.default["aai-traversal-config"]["PROJECT_HOME"] = '/opt/app/aai-traversal'
+node.default["aai-traversal-config"]["LOGROOT"] = '/opt/aai/logroot'
+node.default["aai-traversal-config"]["JAVA_HOME"] = '/usr/lib/jvm/java-8-openjdk-amd64'
+node.default["aai-traversal-config"]["AAI_SERVER_URL_BASE"] = 'https://localhost:8443/aai/'
+node.default["aai-traversal-config"]["AAI_SERVER_URL"] = 'https://localhost:8443/aai/v10/'
+node.default["aai-traversal-config"]["AAI_GLOBAL_CALLBACK_URL"] = 'https://localhost:8443/aai/'
+node.default["aai-traversal-config"]["AAI_TRUSTSTORE_FILENAME"] = 'aai_keystore'
+node.default["aai-traversal-config"]["AAI_TRUSTSTORE_PASSWD_X"] = 'OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0'
+node.default["aai-traversal-config"]["AAI_KEYSTORE_FILENAME"] = 'aai_keystore'
+node.default["aai-traversal-config"]["AAI_KEYSTORE_PASSWD_X"] = 'OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0'
+node.default["aai-traversal-config"]["TXN_HBASE_TABLE_NAME"] = 'aailogging.dev'
+node.default["aai-traversal-config"]["TXN_ZOOKEEPER_QUORUM"] = 'localhost'
+node.default["aai-traversal-config"]["TXN_ZOOKEEPER_PROPERTY_CLIENTPORT"] = '2181'
+node.default["aai-traversal-config"]["TXN_HBASE_ZOOKEEPER_ZNODE_PARENT"] = '/hbase'
diff --git a/cookbooks/aai-traversal/aai-traversal-config/attributes/gremlin-server-config.rb b/cookbooks/aai-traversal/aai-traversal-config/attributes/gremlin-server-config.rb
new file mode 100644
index 0000000..97fa6fd
--- /dev/null
+++ b/cookbooks/aai-traversal/aai-traversal-config/attributes/gremlin-server-config.rb
@@ -0,0 +1 @@
+node.default["aai-traversal-config"]["AAI_GREMLIN_SERVER_CONFIG_HOST_LIST"] = '[localhost]'
diff --git a/cookbooks/aai-traversal/aai-traversal-config/attributes/preferredRoute.rb b/cookbooks/aai-traversal/aai-traversal-config/attributes/preferredRoute.rb
new file mode 100644
index 0000000..21af672
--- /dev/null
+++ b/cookbooks/aai-traversal/aai-traversal-config/attributes/preferredRoute.rb
@@ -0,0 +1 @@
+node.default["aai-traversal-config"]["AAI_WORKLOAD_PREFERRED_ROUTE_KEY"] = 'MR1' \ No newline at end of file
diff --git a/cookbooks/aai-traversal/aai-traversal-config/attributes/titan-cached.rb b/cookbooks/aai-traversal/aai-traversal-config/attributes/titan-cached.rb
new file mode 100644
index 0000000..cb88f3c
--- /dev/null
+++ b/cookbooks/aai-traversal/aai-traversal-config/attributes/titan-cached.rb
@@ -0,0 +1,6 @@
+node.default["aai-traversal-config"]["STORAGE_HOSTNAME"] = 'localhost'
+node.default["aai-traversal-config"]["STORAGE_HBASE_TABLE"] = 'aaigraph.dev'
+node.default["aai-traversal-config"]["STORAGE_HBASE_ZOOKEEPER_ZNODE_PARENT"] = '/hbase'
+node.default["aai-traversal-config"]["DB_CACHE_CLEAN_WAIT"] = 20
+node.default["aai-traversal-config"]["DB_CACHE_TIME"] = 180000
+node.default["aai-traversal-config"]["DB_CACHE_SIZE"] = 0.3 \ No newline at end of file
diff --git a/cookbooks/aai-traversal/aai-traversal-config/attributes/titan-realtime.rb b/cookbooks/aai-traversal/aai-traversal-config/attributes/titan-realtime.rb
new file mode 100644
index 0000000..f67c646
--- /dev/null
+++ b/cookbooks/aai-traversal/aai-traversal-config/attributes/titan-realtime.rb
@@ -0,0 +1,3 @@
+node.default["aai-traversal-config"]["STORAGE_HOSTNAME"] = 'localhost'
+node.default["aai-traversal-config"]["STORAGE_HBASE_TABLE"] = 'aaigraph.dev'
+node.default["aai-traversal-config"]["STORAGE_HBASE_ZOOKEEPER_ZNODE_PARENT"] = '/hbase' \ No newline at end of file