Platform Hardening for DG - Part 8
[appc.git] / appc-directed-graph / appc-dgraph / provider / src / test / resources / properties / APPC / DownloadCliConfig / DownloadCliConfig_Success.properties
1 ###
2 # ============LICENSE_START=======================================================
3 # ONAP : APPC
4 # ================================================================================
5 # Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 # ================================================================================
7 # Copyright (C) 2017 Amdocs
8 # =============================================================================
9 # Licensed under the Apache License, Version 2.0 (the "License");
10 # you may not use this file except in compliance with the License.
11 # You may obtain a copy of the License at
12
13 #      http://www.apache.org/licenses/LICENSE-2.0
14
15 # Unless required by applicable law or agreed to in writing, software
16 # distributed under the License is distributed on an "AS IS" BASIS,
17 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 # See the License for the specific language governing permissions and
19 # limitations under the License.
20
21 # ECOMP is a trademark and service mark of AT&T Intellectual Property.
22 # ============LICENSE_END=========================================================
23 ###
24
25 # To initialise DG Context before execution
26 #   input.<Context Variable Name>= XXXXX
27 input.host-ip-address=
28 input.device-login=
29 input.device-password = 
30 input.port-number = 22
31 input.vnf-type = vUSP - Metaswitch vSBC
32 # To populate the context variable from file content
33 input.device-config=tcfile:///cli_config_content.txt
34
35 # SQL Resource Node
36 #----------------------------
37 #<get-resource
38 #plugin='org.onap.ccsdk.sli.resource.sql.SqlResource' 
39 #  resource='SQL'
40 #  key="SELECT TEMPLATE FROM DOWNLOAD_CONFIG_TEMPLATE WHERE vnf_type = $vnf-type ;"
41 #   force='true'
42 #   pfx='download-config-template'>
43
44 #   To define the SQL execution Status <Prefix>.outCome= SUCCESS | FAILURE | NOT_FOUND
45 download-config-template.outCome=SUCCESS
46 #   To assert SQL execution node context param <Prefix>.<assertEquals | assertNull | assertNull >.<Context Variable Name>= XXXXX
47 download-config-template.assertEquals.vnf-type = vUSP - Metaswitch vSBC
48 #   To Populate the SQL executionoutput  <Prefix>.<Context Variable Name>= XXXXX, In this case 
49 # after executing SQL query, I expect the response should be stored in the DG context variable name download-config-template.TEMPLATE
50 download-config-template.download-config-template.TEMPLATE=tcfile:///download_cli_config_template.txt
51
52 # Configure Node
53 #----------------------------
54 #<configure adaptor='org.onap.appc.ccadaptor.ConfigComponentAdaptor' key='DownloadCliConfig'>
55 #<parameter name="Download_config_template" value="`$download-config-template.TEMPLATE`"/>
56 #<parameter name="Config_contents" value="`$device-config`"/>
57 #<parameter name="Host_ip_address" value="`$host-ip-address`" />
58 #<parameter name="User_name" value="`$device-login`" />
59 #<parameter name="Password" value="`$device-password`" />
60 #<parameter name="Port_number" value="`$port-number`" />
61
62 org.onap.appc.ccadaptor.ConfigComponentAdaptor.DownloadCliConfig.outCome=success
63 #   To assert execution/configure node context param <Plugin Name>.<Key / Method Name>.params.<assertEquals | assertNull | assertNull >.<Context Variable Name>= XXXXX
64 org.onap.appc.ccadaptor.ConfigComponentAdaptor.DownloadCliConfig.params.assertEquals.Port_number=22
65 # To assert execution/configure node context param <Plugin Name>.<Key / Method Name>.<assertEquals | assertNull | assertNull >.<Context Variable Name>= XXXXX
66 org.onap.appc.ccadaptor.ConfigComponentAdaptor.DownloadCliConfig.assertEquals.vnf-type = vUSP - Metaswitch vSBC
67
68 # To assert DG Context after execution
69 # <assertEquals | assertNull | assertNull >.<Context Variable Name>= XXXXX
70 assertNull.error-code
71 assertNull.error-message
72