2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
22 "id": "1f585ed.21154a1",
26 "x": 273.5182189941406,
27 "y": 642.9733276367188,
28 "z": "a8867a54.b68aa8",
29 "wires": [["26331bcc.5e4d34"]]
32 "id": "26331bcc.5e4d34",
33 "type": "service-logic",
34 "name": "Appc-API 2.0.0.0",
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'>",
40 "x": 435.5182189941406,
41 "y": 642.9733276367188,
42 "z": "a8867a54.b68aa8",
43 "wires": [["af901d18.170e1"]]
46 "id": "af901d18.170e1",
48 "name": "Method: Test Acquire License",
49 "xml": "<method rpc='test_acquire_license' mode='sync'>\n",
52 "x": 669.5182189941406,
53 "y": 642.9733276367188,
54 "z": "a8867a54.b68aa8",
55 "wires": [["eea893d.1c1f87"]]
58 "id": "eea893d.1c1f87",
61 "xml": "<call module='Appc-API' rpc='acquire_license' version='2.0.0.0' mode='sync' >\n",
64 "x": 558.5182189941406,
65 "y": 814.9733276367188,
66 "z": "a8867a54.b68aa8",
67 "wires": [["123a4493.e2fdeb",
71 "id": "123a4493.e2fdeb",
74 "xml": "<outcome value='failure'>\n",
77 "x": 764.5182189941406,
78 "y": 776.9733276367188,
79 "z": "a8867a54.b68aa8",
80 "wires": [["8eac6bd.c7e3698"]]
83 "id": "c7a4a585.615bc8",
86 "xml": "<outcome value='success'>\n",
89 "x": 782.5182189941406,
90 "y": 880.9733276367188,
91 "z": "a8867a54.b68aa8",
92 "wires": [["3c9cd402.4858fc"]]
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",
100 "x": 950.5182189941406,
101 "y": 752.9733276367188,
102 "z": "a8867a54.b68aa8",
106 "id": "3c9cd402.4858fc",
107 "type": "returnSuccess",
108 "name": "return success",
109 "xml": "<return status='success'>",
111 "x": 977.5182189941406,
112 "y": 928.9733276367188,
113 "z": "a8867a54.b68aa8",