4dda3ffe135428cccfb8c24db3f00f06b241c1f1
[demo.git] / tutorials / SDNC_AAIService_Adaptor / AAI_WRITE_TEST_aaiWriteTest.json
1 [
2     {
3         "id": "87de78ad.d84798",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 132,
8         "y": 141,
9         "z": "915a2fa8.a1505",
10         "wires": [
11             [
12                 "5ae14c99.6f40a4"
13             ]
14         ]
15     },
16     {
17         "id": "5ae14c99.6f40a4",
18         "type": "service-logic",
19         "name": "AAI_WRITE_TEST 1",
20         "module": "AAI_WRITE_TEST",
21         "version": "1",
22         "comments": "",
23         "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='AAI_WRITE_TEST' version='1'>",
24         "outputs": 1,
25         "x": 352,
26         "y": 141,
27         "z": "915a2fa8.a1505",
28         "wires": [
29             [
30                 "27a5dff6.0d64b"
31             ]
32         ]
33     },
34     {
35         "id": "27a5dff6.0d64b",
36         "type": "method",
37         "name": "method",
38         "xml": "<method rpc='aaiWriteTest' mode='sync'>\n",
39         "comments": "",
40         "outputs": 1,
41         "x": 585,
42         "y": 141,
43         "z": "915a2fa8.a1505",
44         "wires": [
45             [
46                 "72c5f21f.8ff9bc"
47             ]
48         ]
49     },
50     {
51         "id": "72c5f21f.8ff9bc",
52         "type": "block",
53         "name": "block",
54         "xml": "<block>\n",
55         "atomic": "false",
56         "comments": "",
57         "outputs": 1,
58         "x": 775,
59         "y": 141,
60         "z": "915a2fa8.a1505",
61         "wires": [
62             [
63                 "4f1bf235.a8ceec",
64                 "c70f3ff5.db33"
65             ]
66         ]
67     },
68     {
69         "id": "4f1bf235.a8ceec",
70         "type": "save",
71         "name": "save",
72         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService'\nresource=\"service\" key=\"service-id = $service-id\" force=\"true\" pfx=\"tmp.aai-data.service\">\n<parameter name='service-id' value='`$service-id`' />\n<parameter name='service-description' value='`$service-description`' />",
73         "comments": "",
74         "outputs": 1,
75         "x": 967,
76         "y": 190,
77         "z": "915a2fa8.a1505",
78         "wires": [
79             []
80         ]
81     },
82     {
83         "id": "c70f3ff5.db33",
84         "type": "record",
85         "name": "record",
86         "xml": "<record plugin='org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder'>\n<parameter name=\"logger\" value=\"message-log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n<parameter name=\"field2\" value=\"Create service\"/>\n<parameter name=\"field3\" value=\"`$service-id`\"/>\n<parameter name=\"field4\" value=\"`$service-description`\"/>",
87         "comments": "",
88         "outputs": 1,
89         "x": 968,
90         "y": 82,
91         "z": "915a2fa8.a1505",
92         "wires": [
93             []
94         ]
95     }
96 ]