b7ef14382570b5142c9a013d3a949c5624524810
[appc.git] /
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 [
22     {
23         "id": "aaf4237b.4a939",
24         "type": "dgstart",
25         "name": "DGSTART",
26         "outputs": 1,
27         "x": 163.66666158040363,
28         "y": 140.33332824707028,
29         "z": "95fc7c0a.f0bc9",
30         "wires": [
31             [
32                 "de0ac7d0.e14e98"
33             ]
34         ]
35     },
36     {
37         "id": "de0ac7d0.e14e98",
38         "type": "service-logic",
39         "name": "APPC-API 2.0.0",
40         "module": "APPC-API",
41         "version": "2.0.0",
42         "comments": "",
43         "xml": "<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC-API' version='2.0.0'>",
44         "outputs": 1,
45         "x": 361.99999237060547,
46         "y": 140.33332061767578,
47         "z": "95fc7c0a.f0bc9",
48         "wires": [
49             [
50                 "e81270a0.727e8"
51             ]
52         ]
53     },
54     {
55         "id": "e81270a0.727e8",
56         "type": "method",
57         "name": "SSH_VNF_Configure",
58         "xml": "<method rpc='VNF_Configure' mode='sync'>\n",
59         "comments": "",
60         "outputs": 1,
61         "x": 607.9524536132812,
62         "y": 139.61906337738037,
63         "z": "95fc7c0a.f0bc9",
64         "wires": [
65             [
66                 "63ff76d8.f656f8"
67             ]
68         ]
69     },
70     {
71         "id": "4c02a583.c4889c",
72         "type": "success",
73         "name": "success",
74         "xml": "<outcome value='success'>\n",
75         "comments": "",
76         "outputs": 1,
77         "x": 484.14294052124023,
78         "y": 280.45239639282227,
79         "z": "95fc7c0a.f0bc9",
80         "wires": [
81             [
82                 "86035845.07e918"
83             ]
84         ]
85     },
86     {
87         "id": "86035845.07e918",
88         "type": "returnSuccess",
89         "name": "return success",
90         "xml": "<return status='success'>\n<parameter name='status' value='`$status`' />\n<parameter name='stdout' value='`$stdout`' />\n<parameter name='stderr' value='`$stderr`' />\n",
91         "comments": "",
92         "x": 761.4049072265625,
93         "y": 278.9880847930908,
94         "z": "95fc7c0a.f0bc9",
95         "wires": []
96     },
97     {
98         "id": "2b985227.d5b28e",
99         "type": "other",
100         "name": "other",
101         "xml": "<outcome value='Other'>\n",
102         "comments": "",
103         "outputs": 1,
104         "x": 482.85715103149414,
105         "y": 421.3571548461914,
106         "z": "95fc7c0a.f0bc9",
107         "wires": [
108             [
109                 "ffcc42ac.b88d7"
110             ]
111         ]
112     },
113     {
114         "id": "ffcc42ac.b88d7",
115         "type": "returnFailure",
116         "name": "return failure",
117         "xml": "<return status='failure'>\n<parameter name='status' value='$status`' />\n<parameter name='stdout' value='`$stdout`' />\n<parameter name='stderr' value='`$stderr`' />\n",
118         "comments": "",
119         "x": 764.0000877380371,
120         "y": 420.9643087387085,
121         "z": "95fc7c0a.f0bc9",
122         "wires": []
123     },
124     {
125         "id": "63ff76d8.f656f8",
126         "type": "execute",
127         "name": "execute ssh command",
128         "xml": "<execute plugin='org.openecomp.appc.dg.ssh.SshService' method='execWithStatusCheck' >\n<parameter name='host' value='`$host`' />\n<parameter name='port' value='`$port`' />\n<parameter name='username' value='`$username`' />\n<parameter name='password' value='`$password`' />\n<parameter name='command' value='`$command`' />\n\n",
129         "comments": "",
130         "outputs": 1,
131         "x": 189.17861938476562,
132         "y": 346.67860412597656,
133         "z": "95fc7c0a.f0bc9",
134         "wires": [
135             [
136                 "4c02a583.c4889c",
137                 "2b985227.d5b28e"
138             ]
139         ]
140     }
141 ]