aboutsummaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/DownloadCliConfig/DownloadCliConfig_Success.properties
blob: ada0196c986cc33f9b141105e6e856a4375f8353 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
###
# ============LICENSE_START=======================================================
# ONAP : APPC
# ================================================================================
# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
# Copyright (C) 2017 Amdocs
# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# 
#      http://www.apache.org/licenses/LICENSE-2.0
# 
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# 
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###

# To initialise DG Context before execution
#   input.<Context Variable Name>= XXXXX
input.host-ip-address=
input.device-login=
input.device-password = 
input.port-number = 22
input.vnf-type = vUSP - Metaswitch vSBC
# To populate the context variable from file content
input.device-config=tcfile:///cli_config_content.txt

# SQL Resource Node
#----------------------------
#<get-resource
#plugin='org.onap.ccsdk.sli.resource.sql.SqlResource' 
#  resource='SQL'
#  key="SELECT TEMPLATE FROM DOWNLOAD_CONFIG_TEMPLATE WHERE vnf_type = $vnf-type ;"
#   force='true'
#   pfx='download-config-template'>

#   To define the SQL execution Status <Prefix>.outCome= SUCCESS | FAILURE | NOT_FOUND
download-config-template.outCome=SUCCESS
#   To assert SQL execution node context param <Prefix>.<assertEquals | assertNull | assertNull >.<Context Variable Name>= XXXXX
download-config-template.assertEquals.vnf-type = vUSP - Metaswitch vSBC
#   To Populate the SQL executionoutput  <Prefix>.<Context Variable Name>= XXXXX, In this case 
# after executing SQL query, I expect the response should be stored in the DG context variable name download-config-template.TEMPLATE
download-config-template.download-config-template.TEMPLATE=tcfile:///download_cli_config_template.txt

# Configure Node
#----------------------------
#<configure adaptor='org.onap.appc.ccadaptor.ConfigComponentAdaptor' key='DownloadCliConfig'>
#<parameter name="Download_config_template" value="`$download-config-template.TEMPLATE`"/>
#<parameter name="Config_contents" value="`$device-config`"/>
#<parameter name="Host_ip_address" value="`$host-ip-address`" />
#<parameter name="User_name" value="`$device-login`" />
#<parameter name="Password" value="`$device-password`" />
#<parameter name="Port_number" value="`$port-number`" />

org.onap.appc.ccadaptor.ConfigComponentAdaptor.DownloadCliConfig.outCome=success
#   To assert execution/configure node context param <Plugin Name>.<Key / Method Name>.params.<assertEquals | assertNull | assertNull >.<Context Variable Name>= XXXXX
org.onap.appc.ccadaptor.ConfigComponentAdaptor.DownloadCliConfig.params.assertEquals.Port_number=22
# To assert execution/configure node context param <Plugin Name>.<Key / Method Name>.<assertEquals | assertNull | assertNull >.<Context Variable Name>= XXXXX
org.onap.appc.ccadaptor.ConfigComponentAdaptor.DownloadCliConfig.assertEquals.vnf-type = vUSP - Metaswitch vSBC

# To assert DG Context after execution
# <assertEquals | assertNull | assertNull >.<Context Variable Name>= XXXXX
assertNull.error-code
assertNull.error-message