Initial add of appc-directed-graph bundles
[appc.git] / appc-directed-graph / appc-dgraph / provider / src / main / resources / json / Dispatcher-DG / APPC_2.0.0.0_NETCONF_CONFIGURE.json
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": "1c2d2c19.e3d2d4",
24         "type": "dgstart",
25         "name": "DGSTART",
26         "outputs": 1,
27         "x": 193,
28         "y": 200,
29         "z": "73df06d5.b89fa8",
30         "wires": [
31             [
32                 "a3835946.5c7ca8"
33             ]
34         ]
35     },
36     {
37         "id": "a3835946.5c7ca8",
38         "type": "service-logic",
39         "name": "Appc-API 2.0.0.0",
40         "module": "Appc-API",
41         "version": "2.0.0.0",
42         "comments": "test service logic",
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.0'>",
44         "outputs": 1,
45         "x": 259,
46         "y": 283,
47         "z": "73df06d5.b89fa8",
48         "wires": [
49             [
50                 "faa0f08b.055f1"
51             ]
52         ]
53     },
54     {
55         "id": "1c0a1696.e3f5e9",
56         "type": "execute",
57         "name": "execute-netconf-config",
58         "xml": "<execute plugin='org.openecomp.appc.dg.netconf.NetconfClientPlugin' method='configure' >\n\t<parameter name=\"org.openecomp.appc.payload\" value=\"`$org.openecomp.appc.payload`\" />",
59         "comments": "",
60         "outputs": 1,
61         "x": 511,
62         "y": 363,
63         "z": "73df06d5.b89fa8",
64         "wires": [
65             [
66                 "9f0c88c7.60f378",
67                 "ab656d56.549a9"
68             ]
69         ]
70     },
71     {
72         "id": "9f0c88c7.60f378",
73         "type": "success",
74         "name": "success",
75         "xml": "<outcome value='success'>\n",
76         "comments": "",
77         "outputs": 1,
78         "x": 730,
79         "y": 293,
80         "z": "73df06d5.b89fa8",
81         "wires": [
82             [
83                 "9be9d7cb.641628"
84             ]
85         ]
86     },
87     {
88         "id": "ab656d56.549a9",
89         "type": "other",
90         "name": "other",
91         "xml": "<outcome value='Other'>\n",
92         "comments": "",
93         "outputs": 1,
94         "x": 726,
95         "y": 432,
96         "z": "73df06d5.b89fa8",
97         "wires": [
98             [
99                 "6f27856e.90d87c"
100             ]
101         ]
102     },
103     {
104         "id": "6f27856e.90d87c",
105         "type": "returnFailure",
106         "name": "return failure",
107         "xml": "<return status='failure'>\n<parameter name='error-code' value='failure' />\n<parameter name='error-message' value='netconf configuration failed' />\n",
108         "comments": "",
109         "x": 912,
110         "y": 432,
111         "z": "73df06d5.b89fa8",
112         "wires": []
113     },
114     {
115         "id": "9be9d7cb.641628",
116         "type": "returnSuccess",
117         "name": "return success",
118         "xml": "<return status='success'>\n",
119         "comments": "",
120         "x": 918,
121         "y": 293,
122         "z": "73df06d5.b89fa8",
123         "wires": []
124     },
125     {
126         "id": "faa0f08b.055f1",
127         "type": "method",
128         "name": "method",
129         "xml": "<method rpc='NETCONF_Configure' mode='sync'>\n",
130         "comments": "",
131         "outputs": 1,
132         "x": 292,
133         "y": 358,
134         "z": "73df06d5.b89fa8",
135         "wires": [
136             [
137                 "1c0a1696.e3f5e9"
138             ]
139         ]
140     }
141 ]