diff options
author | Arundathi Patil <arundpil@in.ibm.com> | 2018-07-30 15:16:54 +0530 |
---|---|---|
committer | IBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com> | 2018-07-30 15:17:03 +0530 |
commit | 2066d644125287c4b9f2128376e59ce15ab8a194 (patch) | |
tree | d74cdee70aeeee40db9b89b53a5cb0c9456e2f7d /src/constants | |
parent | 8d88775216d3eaabc8b48ce7f6b371c17b0c7b14 (diff) |
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 <arundpil@in.ibm.com>
Diffstat (limited to 'src/constants')
-rw-r--r-- | src/constants/app-constants.ts | 21 |
1 files changed, 21 insertions, 0 deletions
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 |