summaryrefslogtreecommitdiffstats
path: root/src/app/contextHandler/ContextHandlerConstants.js
diff options
context:
space:
mode:
authorArul <arul.nambi@amdocs.com>2018-01-15 11:04:25 -0500
committerArul <arul.nambi@amdocs.com>2018-01-15 11:09:58 -0500
commita38f3d6bb17a478d08016e49d6c2a667ac483d4a (patch)
treee125fd7d7b194fd3a902e34deb86bc7b8bf7b50f /src/app/contextHandler/ContextHandlerConstants.js
parent9c0205dc5bfdac8931a4d8797240a4787d6af2dc (diff)
Introduction of external URLs
Introduce external URLs to get AAI UI to show a specific graph Change-Id: Ibc10dab32540f2c8347df1be535e48b88308b9ec Signed-off-by: Arul <arul.nambi@amdocs.com> Issue-ID: AAI-626
Diffstat (limited to 'src/app/contextHandler/ContextHandlerConstants.js')
-rw-r--r--src/app/contextHandler/ContextHandlerConstants.js15
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';
+