diff options
author | Arundathi Patil <arundpil@in.ibm.com> | 2018-08-01 16:19:07 +0530 |
---|---|---|
committer | Takamune Cho <tc012c@att.com> | 2018-08-06 15:42:48 +0000 |
commit | c33fda511698951862bf6c208171296a44fa3403 (patch) | |
tree | 0f356f945715219d8caf2f49f4da9f31fbf14b05 /src/constants | |
parent | a64e331255206eb2c2a8b0d2503762cbc5ac9751 (diff) |
Reference-dataform : Removed hardcoded values
Moved few of the hardcoded values from reference-dataform component to
app-constants file as variables
Issue-ID: APPC-1054
Change-Id: Ib8afe569b7c669f50bf3eeec88deec27711c49a4
Signed-off-by: Arundathi patil <arundpil@in.ibm.com>
Diffstat (limited to 'src/constants')
-rw-r--r-- | src/constants/app-constants.ts | 40 |
1 files changed, 36 insertions, 4 deletions
diff --git a/src/constants/app-constants.ts b/src/constants/app-constants.ts index 0c45ebb..2baa1d7 100644 --- a/src/constants/app-constants.ts +++ b/src/constants/app-constants.ts @@ -31,7 +31,8 @@ export const appConstants = { "noDeviceProtocolError": "Select a valid Device Protocol", "noValidTemplateIdentifierError": "Select a valid Template Identifier", "noAction&VNFTypeInRDscreenError": "Please enter Action and VNF type in Reference Data screen", - "connectionError": "Error in connecting APPC Server" + "connectionError": "Error in connecting to APPC Server", + "multipleFileUploadError" : "Cannot upload multiple files on the entry" }, "tabs": [ { @@ -75,7 +76,8 @@ export const appConstants = { "netconfXML": "NETCONF-XML", "rest": "REST", "cli": "CLI", - "restConf": "RESTCONF" + "restConf": "RESTCONF", + "openStack": "OpenStack" }, "ruleTypeConfiguaration": { 'vnf-name': [ @@ -176,7 +178,15 @@ export const appConstants = { "artifactRetrivalsuccessMessage" : 'Retrieved artifact successfully', "artifactRetrivalfailureMessage" : 'There is no artifact saved in APPC for the selected action!', "artifactUploadAction" : 'uploadArtifact', - "artifactgetAction" : 'getArtifact' + "artifactgetAction" : 'getArtifact', + "datafetched" : 'data fetched ', + "vmDataUploadSuccess" : 'Vm capabilities data uploaded successfully', + "emptyVmUpload" : 'Empty Vm capabilities file uploaded', + "incorrectVmUpload" : 'Incorrect VM capabilities file uploaded', + "artifactSaveError" : 'unable to save the artifact', + "referenceDataUplaodSuccess" : 'successfully uploaded the Reference Data', + "referenceDataUplaodFailure" : 'Error while saving Reference Data', + "incorrectFileFormat" : 'Incorrect file format' }, "errorCode" : { "401" : '401', @@ -186,7 +196,29 @@ export const appConstants = { "titles" : { "information" : 'Information', "success" : 'Success', - "error" : 'Error' + "error" : 'Error', + "status" : 'Status' } + }, + "groupAnotationValue" : { + "blank" : '', + "pair" : 'Pair' + }, + "groupAnotationType" : { + "blank" : '', + "firstVnfcName" : 'first-vnfc-name', + "fixedValue" : 'fixed-value', + "relativeValue" : 'relative-value', + "existingGroupName" : 'existing-group-name' + }, + "deviceTemplates" : { + "blank" : '', + "y" : 'Y', + "n": 'N' + }, + "sourceTypeColl" : { + "blank" : '', + "vnfType" : 'vnfType', + "vnfcType" : 'vnfcType' } };
\ No newline at end of file |