X-Git-Url: https://gerrit.onap.org/r/gitweb?p=aai%2Fsparky-fe.git;a=blobdiff_plain;f=src%2Fapp%2FcontextHandler%2FContextHandlerConstants.js;h=62299687ff0d8718df6ac575397f8190d2354e44;hp=809d05cba0cd5c30511dc5cf9788206be4dfb893;hb=a38f3d6bb17a478d08016e49d6c2a667ac483d4a;hpb=9c0205dc5bfdac8931a4d8797240a4787d6af2dc 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'; +