diff options
author | Steve Smokowski <ss835w@att.com> | 2017-02-09 15:54:44 -0500 |
---|---|---|
committer | Steve Smokowski <ss835w@att.com> | 2017-02-09 15:55:02 -0500 |
commit | 20e76bb3994a7114fa3a8346a44bb1c29c34c303 (patch) | |
tree | c2c4c999c3822b43c84c00b8db16feeebc0f043e | |
parent | 106f1ce05cd2ca9f22f449a94d5d8360672be87b (diff) |
Initial OpenEcomp aai-data commitrelease-1.0.0
Change-Id: I6e7b9b5abe1fabb2d73049ec4d5d65566442740f
Signed-off-by: Steve Smokowski <ss835w@att.com>
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | .gitreview | 4 | ||||
-rw-r--r-- | chef-config/dev/.knife/solo.rb | 9 | ||||
-rw-r--r-- | environments/README.md | 8 | ||||
-rw-r--r-- | environments/simpledemo.json | 90 | ||||
-rw-r--r-- | environments/solo.json | 90 |
6 files changed, 202 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d8fe4fa --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/.project diff --git a/.gitreview b/.gitreview new file mode 100644 index 0000000..1efa36b --- /dev/null +++ b/.gitreview @@ -0,0 +1,4 @@ +[gerrit] +host=gerrit.openecomp.org +port=29418 +project=aai/aai-data diff --git a/chef-config/dev/.knife/solo.rb b/chef-config/dev/.knife/solo.rb new file mode 100644 index 0000000..5985963 --- /dev/null +++ b/chef-config/dev/.knife/solo.rb @@ -0,0 +1,9 @@ +current_dir = File.dirname(__FILE__) +org = ENV['CHEF_ORG'] || "aai-dev" +env = ENV['AAI_CHEF_ENV'] || "dev" +env_path = ENV['AAI_CHEF_LOC'] || "" +node_name "chef-node" +cookbook_path [ "/var/chef/aai-config/cookbooks" ] +environment_path "#{env_path}" +log_level :info +log_location STDOUT diff --git a/environments/README.md b/environments/README.md new file mode 100644 index 0000000..3fa254d --- /dev/null +++ b/environments/README.md @@ -0,0 +1,8 @@ +Requires Chef 0.10.0+. + +This directory is for Ruby DSL and JSON files for environments. +It will contain the A&AI environment files. +For more information see "About Environments" in the Chef documentation: + +http://docs.chef.io/environments.html + diff --git a/environments/simpledemo.json b/environments/simpledemo.json new file mode 100644 index 0000000..de417b5 --- /dev/null +++ b/environments/simpledemo.json @@ -0,0 +1,90 @@ +{ + "name": "simpledemo", + "description": "Development Environment", + "cookbook_versions": { + "ajsc-aai-config": "= 0.2.2", + "ajsc-aai-auth": "= 0.2.0", + "user": "= 0.1.9" + }, + "json_class": "Chef::Environment", + "chef_type": "environment", + "default_attributes": { + "aai-app-config": { +"SERVICE_API_VERSION": "1.0.1", +"SOA_CLOUD_NAMESPACE": "org.openecomp.aai", +"AJSC_SERVICE_NAMESPACE": "ActiveAndAvailableInventory-CloudNetwork", +"AFTSWM_ACTION_ARTIFACT_NAME": "ajsc-aai", +"AJSC_JETTY_ThreadCount_MAX": "500", +"AJSC_JETTY_ThreadCount_MIN": "10", +"AJSC_SSL_PORT": "8443", +"AJSC_SVC_PORT": "8080", +"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": "simpledemo", +"PROJECT_HOME": "/opt/app/aai", +"LOGROOT": "/opt/aai/logroot", +"JAVA_HOME": "/usr/lib/jvm/java-8-openjdk-amd64", +"AAI_SERVER_URL_BASE": "https://aai.api.simpledemo.openecomp.org:8443/aai/", +"AAI_SERVER_URL": "https://aai.api.simpledemo.openecomp.org:8443/aai/v8/", +"AAI_GLOBAL_CALLBACK_URL": "https://aai.api.simpledemo.openecomp.org:8443/aai/", +"AAI_TRUSTSTORE_FILENAME": "aai_keystore", +"AAI_TRUSTSTORE_PASSWD_X": "OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0", +"AAI_KEYSTORE_FILENAME": "aai_keystore", +"AAI_KEYSTORE_PASSWD_X": "OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0", +"STORAGE_HOSTNAME": "aai.hbase.simpledemo.openecomp.org", +"STORAGE_BACKEND": "hbase", +"STORAGE_HBASE_TABLE": "aaigraph.dev", +"STORAGE_HBASE_ZOOKEEPER_ZNODE_PARENT": "/hbase", +"TXN_HBASE_TABLE_NAME": "aailogging.dev", +"HBASE_COLUMN_TTL_DAYS": "15", +"TXN_ZOOKEEPER_QUORUM": "aai.hbase.simpledemo.openecomp.org", +"TXN_ZOOKEEPER_PROPERTY_CLIENTPORT": "2181", +"TXN_HBASE_ZOOKEEPER_ZNODE_PARENT": "/hbase", +"APPLICATION_SERVERS": "aai.api.simpledemo.openecomp.org", +"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": "v8", +"AAI_NOTIFICATION_CURRENT_VERSION": "v8", +"RESOURCE_VERSION_ENABLE_FLAG": "true", +"AAI_DEFAULT_API_VERSION": "v8", +"AAI_DMAPP_WORKLOAD_ENABLE_EVENT_PROCESSING": "false", +"AAI_WORKLOAD_SERVICE_NAME": "", +"AAI_WORKLOAD_ENVIRONMENT": "TEST", +"AAI_WORKLOAD_USERNAME": "", +"AAI_WORKLOAD_PASSWORD": "", +"AAI_WORKLOAD_HOST": "", +"AAI_WORKLOAD_AFT_DME2_EXCHANGE_REQUEST_HANDLERS": "", +"AAI_WORKLOAD_AFT_DME2_EXCHANGE_REPLY_HANDLERS": "", +"AAI_WORKLOAD_AFT_DME2_REQ_TRACE_ON": "true", +"AAI_WORKLOAD_AFT_ENVIRONMENT": "AFTUAT", +"AAI_WORKLOAD_AFT_DME2_EP_CONN_TIMEOUT": "15000", +"AAI_WORKLOAD_AFT_DME2_ROUNDTRIP_TIMEOUT_MS": "240000", +"AAI_WORKLOAD_AFT_DME2_EP_READ_TIMEOUT_MS": "50000", +"AAI_WORKLOAD_SESSION_STICKINESS_REQUIRED": "no", +"AAI_WORKLOAD_DME2_PREFERRED_ROUTER_FILE_PATH": "/opt/app/aai/bundleconfig/etc/appprops/preferredRoute.txt", +"AAI_WORKLOAD_PARTNER": "BOT_R", +"AAI_WORKLOAD_ROUTE_OFFER": "MR1", +"AAI_WORKLOAD_PROTOCOL": "http", +"AAI_WORKLOAD_TOPIC": "", +"AAI_WORKLOAD_ID": "aaiConsumerId", +"AAI_WORKLOAD_TIMEOUT": "15000", +"AAI_WORKLOAD_LIMIT": "1000", +"AAI_WORKLOAD_STATUS_PUBLISHER_TOPIC": "", +"AAI_WORKLOAD_MAX_BATCH_SIZE": "100", +"AAI_WORKLOAD_MAX_AGE_MS": "250", +"AAI_WORKLOAD_MESSAGE_SENT_THREAD_OCCURANCE": "50", +"AAI_WORKLOAD_PREFERRED_ROUTE_KEY": "MR1" + } + }, + "override_attributes": { + } +} diff --git a/environments/solo.json b/environments/solo.json new file mode 100644 index 0000000..eb8859d --- /dev/null +++ b/environments/solo.json @@ -0,0 +1,90 @@ +{ + "name": "local", + "description": "Development Environment", + "cookbook_versions": { + "ajsc-aai-config": "= 0.2.2", + "ajsc-aai-auth": "= 0.2.0", + "user": "= 0.1.9" + }, + "json_class": "Chef::Environment", + "chef_type": "environment", + "default_attributes": { + "aai-app-config": { +"SERVICE_API_VERSION": "1.0.1", +"SOA_CLOUD_NAMESPACE": "org.openecomp.aai", +"AJSC_SERVICE_NAMESPACE": "ActiveAndAvailableInventory-CloudNetwork", +"AFTSWM_ACTION_ARTIFACT_NAME": "ajsc-aai", +"AJSC_JETTY_ThreadCount_MAX": "500", +"AJSC_JETTY_ThreadCount_MIN": "10", +"AJSC_SSL_PORT": "8443", +"AJSC_SVC_PORT": "8080", +"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", +"LOGROOT": "/opt/aai/logroot", +"JAVA_HOME": "/usr/lib/jvm/java-8-openjdk-amd64", +"AAI_SERVER_URL_BASE": "https://localhost:8443/aai/", +"AAI_SERVER_URL": "https://localhost:8443/aai/v8/", +"AAI_GLOBAL_CALLBACK_URL": "https://localhost:8443/aai/", +"AAI_TRUSTSTORE_FILENAME": "aai_keystore", +"AAI_TRUSTSTORE_PASSWD_X": "OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0", +"AAI_KEYSTORE_FILENAME": "aai_keystore", +"AAI_KEYSTORE_PASSWD_X": "OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0", +"STORAGE_HOSTNAME": "localhost", +"STORAGE_BACKEND": "hbase", +"STORAGE_HBASE_TABLE": "aaigraph.dev", +"STORAGE_HBASE_ZOOKEEPER_ZNODE_PARENT": "/hbase", +"TXN_HBASE_TABLE_NAME": "aailogging.dev", +"HBASE_COLUMN_TTL_DAYS": "15", +"TXN_ZOOKEEPER_QUORUM": "localhost", +"TXN_ZOOKEEPER_PROPERTY_CLIENTPORT": "2181", +"TXN_HBASE_ZOOKEEPER_ZNODE_PARENT": "/hbase", +"APPLICATION_SERVERS": "localhost", +"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": "v8", +"AAI_NOTIFICATION_CURRENT_VERSION": "v8", +"RESOURCE_VERSION_ENABLE_FLAG": "true", +"AAI_DEFAULT_API_VERSION": "v8", +"AAI_DMAPP_WORKLOAD_ENABLE_EVENT_PROCESSING": "false", +"AAI_WORKLOAD_SERVICE_NAME": "", +"AAI_WORKLOAD_ENVIRONMENT": "TEST", +"AAI_WORKLOAD_USERNAME": "", +"AAI_WORKLOAD_PASSWORD": "", +"AAI_WORKLOAD_HOST": "", +"AAI_WORKLOAD_AFT_DME2_EXCHANGE_REQUEST_HANDLERS": "", +"AAI_WORKLOAD_AFT_DME2_EXCHANGE_REPLY_HANDLERS": "", +"AAI_WORKLOAD_AFT_DME2_REQ_TRACE_ON": "true", +"AAI_WORKLOAD_AFT_ENVIRONMENT": "AFTUAT", +"AAI_WORKLOAD_AFT_DME2_EP_CONN_TIMEOUT": "15000", +"AAI_WORKLOAD_AFT_DME2_ROUNDTRIP_TIMEOUT_MS": "240000", +"AAI_WORKLOAD_AFT_DME2_EP_READ_TIMEOUT_MS": "50000", +"AAI_WORKLOAD_SESSION_STICKINESS_REQUIRED": "no", +"AAI_WORKLOAD_DME2_PREFERRED_ROUTER_FILE_PATH": "/opt/app/aai/bundleconfig/etc/appprops/preferredRoute.txt", +"AAI_WORKLOAD_PARTNER": "BOT_R", +"AAI_WORKLOAD_ROUTE_OFFER": "MR1", +"AAI_WORKLOAD_PROTOCOL": "http", +"AAI_WORKLOAD_TOPIC": "", +"AAI_WORKLOAD_ID": "aaiConsumerId", +"AAI_WORKLOAD_TIMEOUT": "15000", +"AAI_WORKLOAD_LIMIT": "1000", +"AAI_WORKLOAD_STATUS_PUBLISHER_TOPIC": "", +"AAI_WORKLOAD_MAX_BATCH_SIZE": "100", +"AAI_WORKLOAD_MAX_AGE_MS": "250", +"AAI_WORKLOAD_MESSAGE_SENT_THREAD_OCCURANCE": "50", +"AAI_WORKLOAD_PREFERRED_ROUTE_KEY": "MR1" + } + }, + "override_attributes": { + } +} |