From 2066d644125287c4b9f2128376e59ce15ab8a194 Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Mon, 30 Jul 2018 15:16:54 +0530 Subject: UtilityService: Removed hard coded values Moved the hard coded values from utility service file to app-contants file as variables. Issue-ID: APPC-1054 Change-Id: Iac62da47deeeb66402f413e90ee0ab50130ca185 Signed-off-by: Arundathi Patil --- src/constants/app-constants.ts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'src/constants') diff --git a/src/constants/app-constants.ts b/src/constants/app-constants.ts index 0f44f0f..0c45ebb 100644 --- a/src/constants/app-constants.ts +++ b/src/constants/app-constants.ts @@ -167,5 +167,26 @@ export const appConstants = { pauseOnHover: true, clickToClose: true, maxLength: 200 + }, + "messages" : { + "retrievalSuccessMessage" : 'Retrieved artifact successfully', + "retrievalFailureMessage" : 'There is no artifact saved in APPC for the selected action', + "saveSuccessMessage" : 'Successfully uploaded the ', + "saveFailureMessage" : 'Error in saving the ', + "artifactRetrivalsuccessMessage" : 'Retrieved artifact successfully', + "artifactRetrivalfailureMessage" : 'There is no artifact saved in APPC for the selected action!', + "artifactUploadAction" : 'uploadArtifact', + "artifactgetAction" : 'getArtifact' + }, + "errorCode" : { + "401" : '401', + "400" : '400' + }, + "notifications" : { + "titles" : { + "information" : 'Information', + "success" : 'Success', + "error" : 'Error' + } } }; \ No newline at end of file -- cgit 1.2.3-korg