aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources
diff options
context:
space:
mode:
authorabatos <adrian.batos-parac@amdocs.com>2017-05-12 14:11:30 -0400
committerabatos <adrian.batos-parac@amdocs.com>2017-05-12 14:20:46 -0400
commit60f7f5e11d7d0d7870a4650956921bd1afa309fd (patch)
tree5ce86d00dbf3a57dd9076060967ae355d4454c03 /src/main/resources
parentb0478eb10db68313fcf5d0a989c5eff25716052a (diff)
Initial ONAP Synapse commit
Change-Id: I3a0ed659dbb8f8faeeb54093b5d6f10414cd886e Signed-off-by: abatos <adrian.batos-parac@amdocs.com>
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/entitysearch_schema.json35
-rw-r--r--src/main/resources/logging/DataRouterMsgs.properties135
-rw-r--r--src/main/resources/logging/EntityEventPolicyMsgs.properties122
-rw-r--r--src/main/resources/topographysearch_schema.json8
4 files changed, 300 insertions, 0 deletions
diff --git a/src/main/resources/entitysearch_schema.json b/src/main/resources/entitysearch_schema.json
new file mode 100644
index 0000000..5ff7625
--- /dev/null
+++ b/src/main/resources/entitysearch_schema.json
@@ -0,0 +1,35 @@
+{
+ "fields": [
+ {
+ "name": "entityType",
+ "data-type": "string",
+ "searchable": "true",
+ "index-analyzer": "ngram_analyzer"
+ },
+ {
+ "name": "entityPrimaryKeyValue",
+ "data-type": "string",
+ "searchable": "false"
+ },
+ {
+ "name": "searchTagIDs",
+ "data-type": "string",
+ "searchable": "true"
+ },
+ {
+ "name": "searchTags",
+ "data-type": "string",
+ "index-analyzer": "ngram_analyzer"
+ },
+ {
+ "name": "crossEntityReferenceValues",
+ "data-type": "string",
+ "index-analyzer": "ngram_analyzer"
+ },
+ {
+ "name": "lastmodTimestamp",
+ "data-type": "date",
+ "format": "MMM d y HH:m:s||dd-MM-yyyy HH:mm:ss||yyyy-MM-dd'T'HH:mm:ss.SSSZZ||yyyy-MM-dd HH:mm:ss||MM\/dd\/yyyy||yyyyMMdd'T'HHmmssZ"
+ }
+ ]
+}
diff --git a/src/main/resources/logging/DataRouterMsgs.properties b/src/main/resources/logging/DataRouterMsgs.properties
new file mode 100644
index 0000000..352f239
--- /dev/null
+++ b/src/main/resources/logging/DataRouterMsgs.properties
@@ -0,0 +1,135 @@
+#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
+#
+########################################################################
+
+SERVICE_STARTED=\
+ DataRouter service started
+
+FILE_CHANGED=\
+ DR0002I|\
+ File {0} has been changed!
+
+FILE_RELOADED=\
+ DR0003I|\
+ File {0} has been reloaded!
+
+REPORT_CONFIG_WATCHER_INT=\
+ DR0004I|\
+ Config Watcher Interval = {0}
+
+LOADING_PROPERTIES=\
+ DR0005I|\
+ Loading properties - {0}
+
+PROPERTIES_LOADED=\
+ DR0006I|\
+ File {0} is loaded into the map and the corresponding system properties have been refreshed
+
+UEB_NO_EVENTS_RECEIVED=\
+ DR0007I|\
+ Received no events on topic: {0}
+
+CONFIGURING_ROUTING_POLICIES=\
+ DR0008I|\
+ Configuring routing policies on Data Layer
+
+PROCESS_REST_REQUEST=\
+ DR0009I|\
+ Received request {0} {1} from {2}. Sending response: {3}
+
+PROCESS_EVENT=\
+ DR0010I|\
+ Processed event {0}. Result: {1}
+
+STARTUP_FAILURE=\
+ DR2001E|\
+ DecoratorService failed to start up. Reason: {0}
+
+UEB_CONNECT_ERR=\
+ DR2002E|\
+ Failed to query UEB for event topic {0}: {1}
+
+QUERY_ROUTING_ERR=\
+ DR2003E|\
+ Failed to route query for event topic {0}: {1}
+
+LOAD_PROPERTIES_FAILURE=\
+ DR3001E|\
+ File {0} cannot be loaded into the map.
+
+FILE_MON_BLOCK_ERR=\
+ DR3002E|\
+ Error in the file monitor block.
+
+CREATE_PROPERTY_MAP_ERR=\
+ DR3003E|\
+ Error creating property map.
+
+FILE_STREAM_ERR=\
+ DR3004E|\
+ Error reading the file stream.
+
+ROUTING_POLICY_CONFIGURATION_ERROR=\
+ DR3005E|\
+ Could not configure routing policy {0} for source {1} and action {2}
+
+BAD_REST_REQUEST=\
+ DR3006E|\
+ Bad Rest Request {0}
+
+FAIL_TO_CREATE_SEARCH_INDEX=\
+ DR3008E|\
+ Failed to create Search index {0} due to: {1}
+
+INVALID_OXM_FILE=\
+ DR3009E|\
+ Unable to parse schema file: {0} due to error : {1}\
+
+INVALID_OXM_DIR=\
+ DR3010E|\
+ Invalid OXM dir: {0}\
+
+SYSTEM_ERROR=\
+ DR3011E|\
+ System Error: {0}\
+
diff --git a/src/main/resources/logging/EntityEventPolicyMsgs.properties b/src/main/resources/logging/EntityEventPolicyMsgs.properties
new file mode 100644
index 0000000..3fac391
--- /dev/null
+++ b/src/main/resources/logging/EntityEventPolicyMsgs.properties
@@ -0,0 +1,122 @@
+#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
+#
+########################################################################
+
+
+DISCARD_AAI_EVENT_VERBOSE=\
+ EEP0001E|\
+ Discarding event. Reason: {0}. Payload: {1}
+
+DISCARD_AAI_EVENT_NONVERBOSE=\
+ EEP0002E|\
+ Discarding event. Reason: {0}
+
+OXM_VERSION_NOT_SUPPORTED=\
+ EEP0003E|\
+ OXM version: {0} is not supported.
+
+FAILED_TO_PARSE_UEB_PAYLOAD=\
+ EEP0004E|\
+ Failed to parse UEB payload. {0}. {1}
+
+NO_ETAG_AVAILABLE_FAILURE=\
+ EEP0005E|\
+ Unable to retrieve etag at {0} for entity with id {1}
+
+ENTITY_OPERATION_NOT_SUPPORTED=\
+ EEP0006E|\
+ Action: {0} is not supported.
+
+FAILED_TO_UPDATE_ENTITY_IN_DOCSTORE=\
+ EEP007E|\
+ Failed to update entity {0} with operation {1}
+
+DISCARD_UPDATING_SEARCH_SUGGESTION_DATA=\
+ EEP010E|\
+ Discarding search suggestion data. Reason: {0}
+
+DISCARD_UPDATING_TOPOGRAPHY_DATA_VERBOSE=\
+ EEP008E|\
+ Discarding topographical data. Reason: {0}. Payload: {1}
+
+DISCARD_UPDATING_TOPOGRAPHY_DATA_NONVERBOSE=\
+ EEP009E|\
+ Discarding topographical data. Reason: {0}.
+
+PROCESS_OXM_MODEL_MISSING=\
+ EEP010E|\
+ Failed to load OXM Model.
+
+FAILED_TO_FIND_OXM_VERSION=\
+ EEP011E|\
+ Failed to find OXM version in UEB payload. {0}
+
+FAIL_TO_CREATE_SEARCH_INDEX=\
+ EEP012E|\
+ Failed to create Search index {0} due to: {1}
+
+PROCESS_AAI_ENTITY_EVENT_POLICY_VERBOSE=\
+ EEP0001I|\
+ Processing AAI Entity Event Policy: [Action: {0} Entity Type: {1}]. Payload: {2}
+
+PROCESS_AAI_ENTITY_EVENT_POLICY_NONVERBOSE=\
+ EEP0002I|\
+ Processing AAI Entity Event Policy: [Action: {0} Entity Type: {1}].
+
+CROSS_ENTITY_REFERENCE_SYNC=\
+ EEP0003I|\
+ Cross Entity Reference synchronization {0}
+
+OPERATION_RESULT_NO_ERRORS=\
+ EEP0004I|\
+ Operation {0} completed in {1} ms with no errors
+
+PROCESS_OXM_MODEL_FOUND=\
+ EEP0005I|\
+ Found OXM model: {0}
+
+SEARCH_INDEX_CREATE_SUCCESS=\
+ EEP0006I|\
+ Successfully created index at {0}
+
+ENTITY_EVENT_POLICY_REGISTERED=\
+ EEP0007I|\
+ Entity Event Policy component started.
+
+UEB_EVENT_HEADER_PARSED=\
+ EE0008I|\
+ Parsed UEB event header {0}
+
+PRIMARY_KEY_NULL_FOR_ENTITY_TYPE=\
+ EEP0301E|\
+ Primary key value is null for entity type: {0}
+
+UEB_INVALID_PAYLOAD_JSON_FORMAT=\
+ EE0302E|\
+ Payload has invalid JSON format: {0}
+
+UEB_FAILED_TO_PARSE_PAYLOAD=\
+ EE0303E|\
+ {0} missing
+
+UEB_FAILED_UEBEVENTHEADER_CONVERSION=\
+ EE0304E|\
+ {0} \ No newline at end of file
diff --git a/src/main/resources/topographysearch_schema.json b/src/main/resources/topographysearch_schema.json
new file mode 100644
index 0000000..d542631
--- /dev/null
+++ b/src/main/resources/topographysearch_schema.json
@@ -0,0 +1,8 @@
+{
+ "fields": [
+ {"name": "pkey", "data-type": "string", "searchable": "false"},
+ {"name": "entityType", "data-type": "string", "searchable": "false"},
+ {"name": "location", "data-type": "geo_point", "searchable": "false"},
+ {"name": "selfLink", "data-type": "string", "searchable": "false"}
+ ]
+} \ No newline at end of file