5ef870f26aec014838dde7eba8d0c6cc1ce8f5bd
[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   "id": "1f585ed.21154a1",
23   "type": "dgstart",
24   "name": "DGSTART",
25   "outputs": 1,
26   "x": 273.5182189941406,
27   "y": 642.9733276367188,
28   "z": "a8867a54.b68aa8",
29   "wires": [["26331bcc.5e4d34"]]
30 },
31   {
32     "id": "26331bcc.5e4d34",
33     "type": "service-logic",
34     "name": "Appc-API 2.0.0.0",
35     "module": "Appc-API",
36     "version": "2.0.0.0",
37     "comments": "",
38     "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'>",
39     "outputs": 1,
40     "x": 435.5182189941406,
41     "y": 642.9733276367188,
42     "z": "a8867a54.b68aa8",
43     "wires": [["af901d18.170e1"]]
44   },
45   {
46     "id": "af901d18.170e1",
47     "type": "method",
48     "name": "Method: Test Acquire License",
49     "xml": "<method rpc='test_acquire_license' mode='sync'>\n",
50     "comments": "",
51     "outputs": 1,
52     "x": 669.5182189941406,
53     "y": 642.9733276367188,
54     "z": "a8867a54.b68aa8",
55     "wires": [["eea893d.1c1f87"]]
56   },
57   {
58     "id": "eea893d.1c1f87",
59     "type": "call",
60     "name": "call",
61     "xml": "<call module='Appc-API' rpc='acquire_license' version='2.0.0.0' mode='sync' >\n",
62     "comments": "",
63     "outputs": 1,
64     "x": 558.5182189941406,
65     "y": 814.9733276367188,
66     "z": "a8867a54.b68aa8",
67     "wires": [["123a4493.e2fdeb",
68       "c7a4a585.615bc8"]]
69   },
70   {
71     "id": "123a4493.e2fdeb",
72     "type": "failure",
73     "name": "failure",
74     "xml": "<outcome value='failure'>\n",
75     "comments": "",
76     "outputs": 1,
77     "x": 764.5182189941406,
78     "y": 776.9733276367188,
79     "z": "a8867a54.b68aa8",
80     "wires": [["8eac6bd.c7e3698"]]
81   },
82   {
83     "id": "c7a4a585.615bc8",
84     "type": "success",
85     "name": "success",
86     "xml": "<outcome value='success'>\n",
87     "comments": "",
88     "outputs": 1,
89     "x": 782.5182189941406,
90     "y": 880.9733276367188,
91     "z": "a8867a54.b68aa8",
92     "wires": [["3c9cd402.4858fc"]]
93   },
94   {
95     "id": "8eac6bd.c7e3698",
96     "type": "returnFailure",
97     "name": "return failure",
98     "xml": "<return status='failure'>\n<parameter name='error-code' value='test _failed' />\n<parameter name='error-message' value='test failed' />\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value='test failed' />\n",
99     "comments": "",
100     "x": 950.5182189941406,
101     "y": 752.9733276367188,
102     "z": "a8867a54.b68aa8",
103     "wires": []
104   },
105   {
106     "id": "3c9cd402.4858fc",
107     "type": "returnSuccess",
108     "name": "return success",
109     "xml": "<return status='success'>",
110     "comments": "",
111     "x": 977.5182189941406,
112     "y": 928.9733276367188,
113     "z": "a8867a54.b68aa8",
114     "wires": []
115   }]