diff options
author | gfraboni <gino.fraboni@amdocs.com> | 2017-07-20 14:17:12 -0400 |
---|---|---|
committer | gfraboni <gino.fraboni@amdocs.com> | 2017-07-20 14:17:28 -0400 |
commit | 4609a8c564afa12bfd3781567eee84a88cba98c0 (patch) | |
tree | 20589afa2f56e10377beff0eb97b44a82e9f96f4 /src/main/resources | |
parent | fd532ecca57db8f43294d849ca79916257755f31 (diff) |
Handle missing search indexes
[AAI-63] Data Router must handle Search Service document create failures
if index does not exit.
Change-Id: Ic4412a6295ec9f84b223c80c0326c5ef2face99d
Signed-off-by: gfraboni <gino.fraboni@amdocs.com>
Diffstat (limited to 'src/main/resources')
-rw-r--r-- | src/main/resources/logging/DataRouterMsgs.properties | 7 | ||||
-rw-r--r-- | src/main/resources/logging/EntityEventPolicyMsgs.properties | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/main/resources/logging/DataRouterMsgs.properties b/src/main/resources/logging/DataRouterMsgs.properties index 352f239..9650b22 100644 --- a/src/main/resources/logging/DataRouterMsgs.properties +++ b/src/main/resources/logging/DataRouterMsgs.properties @@ -77,6 +77,10 @@ PROCESS_REST_REQUEST=\ DR0009I|\ Received request {0} {1} from {2}. Sending response: {3} +CREATE_MISSING_INDEX=\ + DR0013I|\ + Index {0} may not exist in the search data store. Attempting to create it now. + PROCESS_EVENT=\ DR0010I|\ Processed event {0}. Result: {1} @@ -133,3 +137,6 @@ SYSTEM_ERROR=\ DR3011E|\ System Error: {0}\ +FAIL_TO_CREATE_UPDATE_DOC=\ + DR3015E|\ + Failed to create or update document in index {0}. Cause: {1} diff --git a/src/main/resources/logging/EntityEventPolicyMsgs.properties b/src/main/resources/logging/EntityEventPolicyMsgs.properties index 3fac391..85444c9 100644 --- a/src/main/resources/logging/EntityEventPolicyMsgs.properties +++ b/src/main/resources/logging/EntityEventPolicyMsgs.properties @@ -39,7 +39,7 @@ FAILED_TO_PARSE_UEB_PAYLOAD=\ NO_ETAG_AVAILABLE_FAILURE=\ EEP0005E|\ - Unable to retrieve etag at {0} for entity with id {1} + Unable to retrieve etag at index {0} for entity with id {1} ENTITY_OPERATION_NOT_SUPPORTED=\ EEP0006E|\ |