diff options
Diffstat (limited to 'src/app/contextHandler/ContextHandlerConstants.js')
-rw-r--r-- | src/app/contextHandler/ContextHandlerConstants.js | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/app/contextHandler/ContextHandlerConstants.js b/src/app/contextHandler/ContextHandlerConstants.js index 809d05c..6229968 100644 --- a/src/app/contextHandler/ContextHandlerConstants.js +++ b/src/app/contextHandler/ContextHandlerConstants.js @@ -21,17 +21,26 @@ * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ + import keyMirror from 'utils/KeyMirror.js'; import {BASE_URL} from 'app/networking/NetworkConstants.js'; export const contextHandlerActionTypes = keyMirror({ SINGLE_SUGGESTION_FOUND: null, - INVALID_SUGGESTION_FOUND: null + INVALID_SUGGESTION_FOUND: null, + SUBSCRIPTION_PAYLOAD_EMPTY: null, + SUBSCRIPTION_PAYLOAD_FOUND: null }); export const EXTERNAL_REQ_ENTITY_SEARCH_URL = BASE_URL + '/rest/search/externalRequestEntitySearch'; -export const WRONG_EXTERNAL_REQUEST_MESSAGE = 'External parameter request is incorrect'; -export const WRONG_RESULT = 'Invalid result for the requested external params.'; +export const WRONG_EXTERNAL_REQUEST_MESSAGE = 'A parameter in the request is incorrect'; +export const WRONG_RESULT = 'Invalid result for the request.'; +export const FAILED_REQUEST = 'Failed to pull result for the request.'; +export const ZERO_RESULT = 'No result has been found for this request.'; +export const MULTIPLE_RESULT = 'Multiple results were found for this request so none got selected.'; +export const SUBSCRIPTION_FAILED_MESSAGE = 'Failed to fetch subscription payload.'; +export const SUBSCRIPTION_PAYLOAD_URL = BASE_URL + '/subscription/getsubscription'; + |