Initial add of appc-directed-graph bundles
[appc.git] / appc-directed-graph / appc-dgraph / provider / src / test / resources / properties / APPC / CommonConfiguration / ISBCTemplateSuccess.properties
1 ###
2 # ============LICENSE_START=======================================================
3 # ONAP : APP-C
4 # ================================================================================
5 # Copyright (C) 2017 AT&T Intellectual Property.  All rights reserved.
6 # ================================================================================
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
10
11 #      http://www.apache.org/licenses/LICENSE-2.0
12
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18 # ============LICENSE_END=========================================================
19 ###
20
21 input.input.action-identifiers.vnf-id=isbc
22 input.input.action-identifiers.service-instance-id=Instance1234
23 input.input.common-header.request-id=12345
24 input.input.common-header.originator-id=MSO
25 input.input.api-ver=2.11
26 input.input.action=Configure
27 input.input.payload=tcfile://payload_parameters_config.json
28
29
30 #GetConfigParams
31 org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.outCome=success
32 org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.DEVICE-AUTHENTICATION-ID = 3
33 org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.VNF-TYPE=vUSP - Metaswitch vSBC
34 org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.USER-NAME=root
35 org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PASSWORD = !bootstrap
36 org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PORT-NUMBER = 22
37
38 org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.DEVICE-INTERFACE-PROTOCOL-ID = 4
39 org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.VNF-TYPE = vUSP - Metaswitch vSBC
40 org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.PROTOCOL = CLI
41 org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.MODULE = appc
42 org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.DG-RPC = getDeviceRunningConfig
43
44
45 org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.configureactiondg.DOWNLOAD-CONFIG-DG=DownloadIsbcConfig
46
47 #Configure
48 org.openecomp.appc.data.services.node.ConfigResourceNode.getTemplate.outCome=success
49 org.openecomp.appc.data.services.node.ConfigResourceNode.getTemplate.config-template.file-content=tcfile://vdbe_template.xml
50 org.openecomp.appc.data.services.node.ConfigResourceNode.saveTemplateConfig.outCome=success
51
52
53 org.openecomp.appc.config.generator.node.ConfigResourceNode
54 #DownloadISBCConfig
55 org.openecomp.appc.data.services.node.ConfigResourceNode.getConfigFileReference.outCome=success
56 org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.put.outCome=success
57
58 configfilereference-success.TARGET-FILE-PATH=SuccessFile
59 configfilereference-failure.TARGET-FILE-PATH=FailureFile
60 configfilereference-log.TARGET-FILE-PATH=FailureLogFile
61
62 #CheckConfigStatus
63 org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.get.outCome=success
64
65 #SetStatus
66
67
68
69 #GetDeviceRunningConfig
70 config-template.outCome=SUCCESS
71 org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.GetCliRunningConfig.outCome=success
72 input.cliOutput=DEVICERUNNINGCONFIG
73
74
75 #SaveRunningConfig
76 org.openecomp.appc.data.services.node.ConfigResourceNode.updateUploadConfig.outCome=success
77 org.openecomp.appc.data.services.node.ConfigResourceNode.updateUploadConfig.tmp.uploadconfigmax.uploadconfigid=100
78
79 org.openecomp.appc.dg.common.JsonDgUtil.generateOutputPayloadFromContext.outCome=success
80 org.openecomp.appc.dg.common.JsonDgUtil.generateOutputPayloadFromContext.output.payload={ \\"upload-config-id\\" : [100] }
81
82
83 #GetAaiInfo
84 APPC.GetAaiInfo.outCome=success
85
86 #ProcessParameterDefinition
87 APPC.ProcessParameterDefinition.outCome=success
88
89
90 #UpdateAAIInfo
91
92 tmp.aai-data-vm.outCome=SUCCESS
93 tmp.aai-data-vm.vserver-id=vserverid
94 tmp.aai-data-vm.tenant-id=tenantid
95 tmp.aai-data-vm.cloud-region-id=cloudregionid
96
97
98 tmp.aai-data-vm.relationship-list.relationship_length=2
99 tmp.aai-data-vm.relationship-list.relationship[0].related-to=vserver
100 tmp.aai-data-vm.relationship-list.relationship[1].related-to=vf-module
101
102 tmp.aai-data-vm.relationship-list.relationship[0].relationship-data_length=2
103 tmp.aai-data-vm.relationship-list.relationship[1].relationship-data_length=2
104
105 tmp.aai-data-vm.relationship-list.relationship[0].relationship-data[0].relationship-key=vnfc
106 tmp.aai-data-vm.relationship-list.relationship[0].relationship-data[1].relationship-key=generic-vnf
107
108
109
110 tmp.aai-data-vm.relationship-list.relationship[1].relationship-data[0].relationship-key=vnfc
111 tmp.aai-data-vm.relationship-list.relationship[1].relationship-data[1].relationship-key=vf-module.vf-module-id
112
113 tmp.aai-data-vm.relationship-list.relationship[1].relationship-data[1].relationship-value=100
114
115 tmp.aai-data-vnfc.outCome=NOT_FOUND
116 tmp.vnfc-sys-controller.outCome=SUCCESS
117
118 assertEquals.error-code=400
119 assertEquals.error-message=SUCCESS - request has been processed successfully
120 assertEquals.output.status.code=400
121 assertEquals.output.status.message=SUCCESS - request has been processed successfully
122 #assertEquals.output.payload={ \\"upload-config-id\\" : [100] }