diff options
author | Venkata Harish K Kajur <vk250x@att.com> | 2017-12-05 12:18:28 -0500 |
---|---|---|
committer | Venkata Harish K Kajur <vk250x@att.com> | 2017-12-05 13:04:57 -0500 |
commit | 4ff3bb0fa4bfab65cbc56f3a99ebfbc14b560f9a (patch) | |
tree | 56bd0207f5fc2a17ce05134bfa8151743aa7793b /environments | |
parent | d7aa729fb65cb2db4d249c2058b8e2511ee31f3b (diff) |
Add the basic cassandra environments
Issue-ID: AAI-548
Change-Id: I69133cd2ed4af001a26df66ebc08341512cc38ec
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
Diffstat (limited to 'environments')
-rw-r--r-- | environments/kubernetes_cassandra.json | 125 | ||||
-rw-r--r-- | environments/kubernetes_cassandra_cluster.json | 124 |
2 files changed, 249 insertions, 0 deletions
diff --git a/environments/kubernetes_cassandra.json b/environments/kubernetes_cassandra.json new file mode 100644 index 0000000..41e48a9 --- /dev/null +++ b/environments/kubernetes_cassandra.json @@ -0,0 +1,125 @@ +{ + "name": "kubernetes_simpledemo", + "description": "Development Environment", + "cookbook_versions": { + "aai-traversal-auth" : "= 1.0.0", + "aai-traversal-config" : "= 1.0.0", + "aai-traversal-process" : "= 1.0.0", + + "aai-resources-auth" : "= 1.0.0", + "aai-resources-config" : "= 1.0.0", + "aai-resources-process" : "= 1.0.0" + }, + "json_class": "Chef::Environment", + "chef_type": "environment", + "default_attributes": { + "aai-traversal-config": { + "SERVICE_API_VERSION": "1.0.1", + "AJSC_SERVICE_NAMESPACE": "traversal", + "AFTSWM_ACTION_ARTIFACT_NAME": "traversal", + "AJSC_JETTY_ThreadCount_MAX": "500", + "AJSC_JETTY_ThreadCount_MIN": "10", + "AJSC_SSL_PORT": "8446", + "AJSC_SVC_PORT": "8083", + "KEY_MANAGER_PASSWORD": "OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0", + "KEY_STORE_PASSWORD": "OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0", + "MAX_HEAP_SIZE": "2056m", + "MAX_PERM_SIZE": "512M", + "MIN_HEAP_SIZE": "2056m", + "PERM_SIZE": "512M", + "PRE_JVM_ARGS": "-XX:+UnlockDiagnosticVMOptions -XX:+UnsyncloadClass -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=70 -XX:+ScavengeBeforeFullGC -XX:+CMSScavengeBeforeRemark -XX:-HeapDumpOnOutOfMemoryError -XX:+UseParNewGC -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps", + "AAIENV": "dev", + "PROJECT_HOME": "/opt/app/aai-traversal", + "LOGROOT": "/opt/aai/logroot", + "JAVA_HOME": "/usr/lib/jvm/java-8-openjdk-amd64", + "AAI_SERVER_URL_BASE": "https://aai-service.onap-aai:8443/aai/", + "AAI_SERVER_URL": "https://aai-service.onap-aai:8443/aai/v11/", + "AAI_GLOBAL_CALLBACK_URL": "https://aai-service.onap-aai:8443/aai/", + "AAI_TRUSTSTORE_FILENAME": "aai_keystore", + "AAI_TRUSTSTORE_PASSWD_X": "OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0", + "AAI_KEYSTORE_FILENAME": "aai_keystore", + "AAI_KEYSTORE_PASSWD_X": "OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0", + "APPLICATION_SERVERS": "aai-service.onap-aai", + "AAI_DMAAP_PROTOCOL": "http", + "AAI_DMAAP_HOST_PORT": "aai-service.onap-aai:3904", + "AAI_DMAAP_TOPIC_NAME": "AAI-EVENT", + "AAI_NOTIFICATION_EVENT_DEFAULT_EVENT_STATUS": "UNPROCESSED", + "AAI_NOTIFICATION_EVENT_DEFAULT_EVENT_TYPE": "AAI-EVENT", + "AAI_NOTIFICATION_EVENT_DEFAULT_DOMAIN": "dev", + "AAI_NOTIFICATION_EVENT_DEFAULT_SOURCE_NAME": "aai", + "AAI_NOTIFICATION_EVENT_DEFAULT_SEQUENCE_NUMBER": "0", + "AAI_NOTIFICATION_EVENT_DEFAULT_SEVERITY": "NORMAL", + "AAI_NOTIFICATION_EVENT_DEFAULT_VERSION": "v11", + "AAI_NOTIFICATION_CURRENT_VERSION": "v11", + "RESOURCE_VERSION_ENABLE_FLAG": "true", + "TXN_HBASE_TABLE_NAME": "aailogging.dev", + "TXN_ZOOKEEPER_QUORUM": "localhost", + "TXN_ZOOKEEPER_PROPERTY_CLIENTPORT": "2181", + "TXN_HBASE_ZOOKEEPER_ZNODE_PARENT": "/hbase", + "AAI_WORKLOAD_PREFERRED_ROUTE_KEY": "MR1", + "STORAGE_HOSTNAME": "cassandra.onap-aai", + "STORAGE_BACKEND": "cassandra", + "STORAGE_HBASE_TABLE": "aaigraph.dev", + "STORAGE_HBASE_ZOOKEEPER_ZNODE_PARENT": "/hbase", + "DB_CACHE_CLEAN_WAIT": "20", + "DB_CACHE_TIME": "180000", + "DB_CACHE_SIZE": "0.3", + "AAI_DEFAULT_API_VERSION": "v11" + }, + "aai-resources-config": { + "SERVICE_API_VERSION": "1.0.1", + "AJSC_SERVICE_NAMESPACE": "aai-resources", + "AFTSWM_ACTION_ARTIFACT_NAME": "aai-resources", + "AJSC_JETTY_ThreadCount_MAX": "500", + "AJSC_JETTY_ThreadCount_MIN": "10", + "AJSC_SSL_PORT": "8447", + "AJSC_SVC_PORT": "8087", + "KEY_MANAGER_PASSWORD": "OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0", + "KEY_STORE_PASSWORD": "OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0", + "MAX_HEAP_SIZE": "2056m", + "MAX_PERM_SIZE": "512M", + "MIN_HEAP_SIZE": "2056m", + "PERM_SIZE": "512M", + "PRE_JVM_ARGS": "-XX:+UnlockDiagnosticVMOptions -XX:+UnsyncloadClass -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=70 -XX:+ScavengeBeforeFullGC -XX:+CMSScavengeBeforeRemark -XX:-HeapDumpOnOutOfMemoryError -XX:+UseParNewGC -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps", + "AAIENV": "dev", + "PROJECT_HOME": "/opt/app/aai-resources", + "LOGROOT": "/opt/aai/logroot", + "JAVA_HOME": "/usr/lib/jvm/java-8-openjdk-amd64", + "AAI_SERVER_URL_BASE": "https://aai-service.onap-aai:8443/aai/", + "AAI_SERVER_URL": "https://aai-service.onap-aai:8443/aai/v11/", + "AAI_GLOBAL_CALLBACK_URL": "https://aai-service.onap-aai:8443/aai/", + "AAI_TRUSTSTORE_FILENAME": "aai_keystore", + "AAI_TRUSTSTORE_PASSWD_X": "OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0", + "AAI_KEYSTORE_FILENAME": "aai_keystore", + "AAI_KEYSTORE_PASSWD_X": "OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0", + "APPLICATION_SERVERS": "aai-service.onap-aai", + "AAI_DMAAP_PROTOCOL": "http", + "AAI_DMAAP_HOST_PORT": "aai-service.onap-aai:3904", + "AAI_DMAAP_TOPIC_NAME": "AAI-EVENT", + "AAI_NOTIFICATION_EVENT_DEFAULT_EVENT_STATUS": "UNPROCESSED", + "AAI_NOTIFICATION_EVENT_DEFAULT_EVENT_TYPE": "AAI-EVENT", + "AAI_NOTIFICATION_EVENT_DEFAULT_DOMAIN": "dev", + "AAI_NOTIFICATION_EVENT_DEFAULT_SOURCE_NAME": "aai", + "AAI_NOTIFICATION_EVENT_DEFAULT_SEQUENCE_NUMBER": "0", + "AAI_NOTIFICATION_EVENT_DEFAULT_SEVERITY": "NORMAL", + "AAI_NOTIFICATION_EVENT_DEFAULT_VERSION": "v11", + "AAI_NOTIFICATION_CURRENT_VERSION": "v11", + "RESOURCE_VERSION_ENABLE_FLAG": "true", + "TXN_HBASE_TABLE_NAME": "aailogging.dev", + "TXN_ZOOKEEPER_QUORUM": "localhost", + "TXN_ZOOKEEPER_PROPERTY_CLIENTPORT": "2181", + "TXN_HBASE_ZOOKEEPER_ZNODE_PARENT": "/hbase", + "AAI_WORKLOAD_PREFERRED_ROUTE_KEY": "MR1", + "STORAGE_HOSTNAME": "hbase.onap-aai", + "STORAGE_BACKEND": "cassandra", + "STORAGE_HBASE_TABLE": "aaigraph.dev", + "STORAGE_HBASE_ZOOKEEPER_ZNODE_PARENT": "/hbase", + "DB_CACHE_CLEAN_WAIT": "20", + "DB_CACHE_TIME": "180000", + "DB_CACHE_SIZE": "0.3", + "AAI_DEFAULT_API_VERSION": "v11" + } + }, + "override_attributes": { + } +} diff --git a/environments/kubernetes_cassandra_cluster.json b/environments/kubernetes_cassandra_cluster.json new file mode 100644 index 0000000..5d4ccdd --- /dev/null +++ b/environments/kubernetes_cassandra_cluster.json @@ -0,0 +1,124 @@ +{ + "name": "kubernetes_simpledemo", + "description": "Development Environment", + "cookbook_versions": { + "aai-traversal-auth" : "= 1.0.0", + "aai-traversal-config" : "= 1.0.0", + "aai-traversal-process" : "= 1.0.0", + + "aai-resources-auth" : "= 1.0.0", + "aai-resources-config" : "= 1.0.0", + "aai-resources-process" : "= 1.0.0" + }, + "json_class": "Chef::Environment", + "chef_type": "environment", + "default_attributes": { + "aai-traversal-config": { + "SERVICE_API_VERSION": "1.0.1", + "AJSC_SERVICE_NAMESPACE": "traversal", + "AFTSWM_ACTION_ARTIFACT_NAME": "traversal", + "AJSC_JETTY_ThreadCount_MAX": "500", + "AJSC_JETTY_ThreadCount_MIN": "10", + "AJSC_SSL_PORT": "8446", + "AJSC_SVC_PORT": "8083", + "KEY_MANAGER_PASSWORD": "OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0", + "KEY_STORE_PASSWORD": "OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0", + "MAX_HEAP_SIZE": "2056m", + "MAX_PERM_SIZE": "512M", + "MIN_HEAP_SIZE": "2056m", + "PERM_SIZE": "512M", + "PRE_JVM_ARGS": "-XX:+UnlockDiagnosticVMOptions -XX:+UnsyncloadClass -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=70 -XX:+ScavengeBeforeFullGC -XX:+CMSScavengeBeforeRemark -XX:-HeapDumpOnOutOfMemoryError -XX:+UseParNewGC -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps", + "AAIENV": "dev", + "PROJECT_HOME": "/opt/app/aai-traversal", + "LOGROOT": "/opt/aai/logroot", + "JAVA_HOME": "/usr/lib/jvm/java-8-openjdk-amd64", + "AAI_SERVER_URL_BASE": "https://aai-service.onap-aai:8443/aai/", + "AAI_SERVER_URL": "https://aai-service.onap-aai:8443/aai/v11/", + "AAI_GLOBAL_CALLBACK_URL": "https://aai-service.onap-aai:8443/aai/", + "AAI_TRUSTSTORE_FILENAME": "aai_keystore", + "AAI_TRUSTSTORE_PASSWD_X": "OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0", + "AAI_KEYSTORE_FILENAME": "aai_keystore", + "AAI_KEYSTORE_PASSWD_X": "OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0", + "APPLICATION_SERVERS": "aai-service.onap-aai", + "AAI_DMAAP_PROTOCOL": "http", + "AAI_DMAAP_HOST_PORT": "aai-service.onap-aai:3904", + "AAI_DMAAP_TOPIC_NAME": "AAI-EVENT", + "AAI_NOTIFICATION_EVENT_DEFAULT_EVENT_STATUS": "UNPROCESSED", + "AAI_NOTIFICATION_EVENT_DEFAULT_EVENT_TYPE": "AAI-EVENT", + "AAI_NOTIFICATION_EVENT_DEFAULT_DOMAIN": "dev", + "AAI_NOTIFICATION_EVENT_DEFAULT_SOURCE_NAME": "aai", + "AAI_NOTIFICATION_EVENT_DEFAULT_SEQUENCE_NUMBER": "0", + "AAI_NOTIFICATION_EVENT_DEFAULT_SEVERITY": "NORMAL", + "AAI_NOTIFICATION_EVENT_DEFAULT_VERSION": "v11", + "AAI_NOTIFICATION_CURRENT_VERSION": "v11", + "RESOURCE_VERSION_ENABLE_FLAG": "true", + "TXN_HBASE_TABLE_NAME": "aailogging.dev", + "TXN_ZOOKEEPER_QUORUM": "localhost", + "TXN_ZOOKEEPER_PROPERTY_CLIENTPORT": "2181", + "TXN_HBASE_ZOOKEEPER_ZNODE_PARENT": "/hbase", + "AAI_WORKLOAD_PREFERRED_ROUTE_KEY": "MR1", + "STORAGE_HOSTNAME": "cassandra.onap-aai1,cassandra.onap-aai2,cassandra.onap-aai3", + "STORAGE_HBASE_TABLE": "aaigraph.dev", + "STORAGE_HBASE_ZOOKEEPER_ZNODE_PARENT": "/hbase", + "DB_CACHE_CLEAN_WAIT": "20", + "DB_CACHE_TIME": "180000", + "DB_CACHE_SIZE": "0.3", + "AAI_DEFAULT_API_VERSION": "v11" + }, + "aai-resources-config": { + "SERVICE_API_VERSION": "1.0.1", + "AJSC_SERVICE_NAMESPACE": "aai-resources", + "AFTSWM_ACTION_ARTIFACT_NAME": "aai-resources", + "AJSC_JETTY_ThreadCount_MAX": "500", + "AJSC_JETTY_ThreadCount_MIN": "10", + "AJSC_SSL_PORT": "8447", + "AJSC_SVC_PORT": "8087", + "KEY_MANAGER_PASSWORD": "OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0", + "KEY_STORE_PASSWORD": "OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0", + "MAX_HEAP_SIZE": "2056m", + "MAX_PERM_SIZE": "512M", + "MIN_HEAP_SIZE": "2056m", + "PERM_SIZE": "512M", + "PRE_JVM_ARGS": "-XX:+UnlockDiagnosticVMOptions -XX:+UnsyncloadClass -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=70 -XX:+ScavengeBeforeFullGC -XX:+CMSScavengeBeforeRemark -XX:-HeapDumpOnOutOfMemoryError -XX:+UseParNewGC -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps", + "AAIENV": "dev", + "PROJECT_HOME": "/opt/app/aai-resources", + "LOGROOT": "/opt/aai/logroot", + "JAVA_HOME": "/usr/lib/jvm/java-8-openjdk-amd64", + "AAI_SERVER_URL_BASE": "https://aai-service.onap-aai:8443/aai/", + "AAI_SERVER_URL": "https://aai-service.onap-aai:8443/aai/v11/", + "AAI_GLOBAL_CALLBACK_URL": "https://aai-service.onap-aai:8443/aai/", + "AAI_TRUSTSTORE_FILENAME": "aai_keystore", + "AAI_TRUSTSTORE_PASSWD_X": "OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0", + "AAI_KEYSTORE_FILENAME": "aai_keystore", + "AAI_KEYSTORE_PASSWD_X": "OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0", + "APPLICATION_SERVERS": "aai-service.onap-aai", + "AAI_DMAAP_PROTOCOL": "http", + "AAI_DMAAP_HOST_PORT": "aai-service.onap-aai:3904", + "AAI_DMAAP_TOPIC_NAME": "AAI-EVENT", + "AAI_NOTIFICATION_EVENT_DEFAULT_EVENT_STATUS": "UNPROCESSED", + "AAI_NOTIFICATION_EVENT_DEFAULT_EVENT_TYPE": "AAI-EVENT", + "AAI_NOTIFICATION_EVENT_DEFAULT_DOMAIN": "dev", + "AAI_NOTIFICATION_EVENT_DEFAULT_SOURCE_NAME": "aai", + "AAI_NOTIFICATION_EVENT_DEFAULT_SEQUENCE_NUMBER": "0", + "AAI_NOTIFICATION_EVENT_DEFAULT_SEVERITY": "NORMAL", + "AAI_NOTIFICATION_EVENT_DEFAULT_VERSION": "v11", + "AAI_NOTIFICATION_CURRENT_VERSION": "v11", + "RESOURCE_VERSION_ENABLE_FLAG": "true", + "TXN_HBASE_TABLE_NAME": "aailogging.dev", + "TXN_ZOOKEEPER_QUORUM": "localhost", + "TXN_ZOOKEEPER_PROPERTY_CLIENTPORT": "2181", + "TXN_HBASE_ZOOKEEPER_ZNODE_PARENT": "/hbase", + "AAI_WORKLOAD_PREFERRED_ROUTE_KEY": "MR1", + "STORAGE_HOSTNAME": "cassandra.onap-aai1,cassandra.onap-aai2,cassandra.onap-aai3", + "STORAGE_BACKEND": "cassandra", + "STORAGE_HBASE_TABLE": "aaigraph.dev", + "STORAGE_HBASE_ZOOKEEPER_ZNODE_PARENT": "/hbase", + "DB_CACHE_CLEAN_WAIT": "20", + "DB_CACHE_TIME": "180000", + "DB_CACHE_SIZE": "0.3", + "AAI_DEFAULT_API_VERSION": "v11" + } + }, + "override_attributes": { + } +} |