aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources
diff options
context:
space:
mode:
authorMichael Arrastia <MArrasti@amdocs.com>2018-07-12 13:37:43 +0100
committerMichael Arrastia <MArrasti@amdocs.com>2018-07-12 14:01:38 +0100
commit7d3dcdbff807ba1facb84f94ac39ff91bf410b29 (patch)
tree0f72ce4d3a15e8c77ec1b0b81865cd942176d454 /src/main/resources
parent3105617e4686774f98b398ee8d6f8a7bd021f86a (diff)
Migrate Spike code to ONAP
Move what was originally an Open ECOMP microservice into ONAP. This is primarily a code move and includes: - removal of AJSC and replacement with latest version of Spring Boot - alignment with ONAP standards - license headers - package renaming - FOSSology scan completed Further work is required to add JJB and OOM. Change-Id: I305c8407256bf2dbcc816f34f031f92eafd6ef5a Issue-ID: AAI-1374 Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/META-INF/services/javax.ws.rs.client.ClientBuilder1
-rw-r--r--src/main/resources/application.properties8
-rw-r--r--src/main/resources/logging/SpikeMsgs.properties129
3 files changed, 138 insertions, 0 deletions
diff --git a/src/main/resources/META-INF/services/javax.ws.rs.client.ClientBuilder b/src/main/resources/META-INF/services/javax.ws.rs.client.ClientBuilder
new file mode 100644
index 0000000..48b9fa5
--- /dev/null
+++ b/src/main/resources/META-INF/services/javax.ws.rs.client.ClientBuilder
@@ -0,0 +1 @@
+org.glassfish.jersey.client.JerseyClientBuilder \ No newline at end of file
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
new file mode 100644
index 0000000..d5243d2
--- /dev/null
+++ b/src/main/resources/application.properties
@@ -0,0 +1,8 @@
+server.port=9518
+
+SERVICE_BEANS=dynamic/conf
+
+server.ssl.key-store=${CONFIG_HOME}/auth/tomcat_keystore
+server.ssl.enabled=true
+server.ssl.client-auth=need
+server.ssl.enabled-protocols=TLSv1.1,TLSv1.2
diff --git a/src/main/resources/logging/SpikeMsgs.properties b/src/main/resources/logging/SpikeMsgs.properties
new file mode 100644
index 0000000..1495284
--- /dev/null
+++ b/src/main/resources/logging/SpikeMsgs.properties
@@ -0,0 +1,129 @@
+#Resource key=Error Code|Message text|Resolution text |Description text
+#######
+#Newlines can be utilized to add some clarity ensuring continuing line
+#has atleast one leading space
+#ResourceKey=\
+# ERR0000E\
+# Sample error msg txt\
+# Sample resolution msg\
+# Sample description txt
+#
+######
+#Error code classification category
+#000 Info/Debug
+#100 Permission errors
+#200 Availability errors/Timeouts
+#300 Data errors
+#400 Schema Interface type/validation errors
+#500 Business process errors
+#900 Unknown errors
+#
+########################################################################
+
+#Resource key=Error Code|Message text|Resolution text |Description text
+#######
+#Newlines can be utilized to add some clarity ensuring continuing line
+#has atleast one leading space
+#ResourceKey=\
+# ERR0000E\
+# Sample error msg txt\
+# Sample resolution msg\
+# Sample description txt
+#
+######
+#Error code classification category
+#000 Info/Debug
+#100 Permission errors
+#200 Availability errors/Timeouts
+#300 Data errors
+#400 Schema Interface type/validation errors
+#500 Business process errors
+#900 Unknown errors
+#
+########################################################################
+
+
+## Error Logs
+INVALID_OXM_FILE=\
+ SPK0201E|\
+ Unable to parse schema file: {0} due to error : {1}
+
+INVALID_OXM_DIR=\
+ SPK0202E|\
+ Invalid OXM dir: {0}
+
+OFFSET_COMMIT_FAILURE=\
+ SPK0203E|\
+ Unable to commit offset to event bus due to error: {0}
+
+OXM_LOAD_ERROR=\
+ SPK0500E|\
+ Unable to load OXM schema: {0}
+
+
+SPIKE_SERVICE_STARTED_FAILURE=\
+ SPK0600E|\
+ Unable to initialize : {0}
+
+SPIKE_EVENT_CONSUME_FAILURE=\
+ SPK0700E|\
+ Unable to consume event due to : {0}
+SPIKE_EVENT_PUBLISH_FAILURE=\
+ SPK0800E|\
+ Unable to publish event due to : {0}
+SPIKE_SCHEMA_INGEST_LOAD_ERROR=\
+ SPK0900E|\
+ Unable to load schema ingest properties file due to : {0}
+
+
+## Info Logs
+OXM_FILE_CHANGED=\
+ SPK0003I|\
+ OXM file change detected: {0}
+
+LOADED_OXM_FILE=\
+ SPK0004I|\
+ Successfully loaded schema: {0}
+
+
+LOADED_DB_RULE_FILE=\
+ CRD00014I|\
+ Successfully loaded DB Edge Rule and Edge Properties for: {0}
+
+PROCESS_REST_REQUEST=\
+ SPK0009I|\
+ Received request {0} {1} from {2}. Sending response: {3}
+
+SPIKE_SERVICE_STARTED_SUCCESSFULLY=\
+ SPK0005I|\
+ Successfully Started Spike Service using Event Implementation: {0}
+
+
+OFFSET_MANAGER_STARTED=\
+ SPK0005I|\
+ Event bus offset manager started: buffer size={0} commit period={1}
+
+SPIKE_EVENT_RECEIVED=\
+ SPK0600I|\
+ Event Received: {0}
+
+SPIKE_EVENT_PROCESSED=\
+ SPK0700I|\
+ Event Processed: {0}
+
+SPIKE_EVENT_PUBLISHED=\
+ SPK0800I|\
+ Event Published: {0}
+
+SPIKE_PUBLISH_FAILED=\
+ SPK0204I|\
+ Event failed to publish: {0}
+
+SPIKE_NO_EVENT_RECEIVED=\
+ SPK0800I|\
+ No Event Received
+
+SPIKE_QUERY_EVENT_SYSTEM=\
+ SPK0100I|\
+ Checking for events
+