1
|
[{"id":"18c57a33.efbf46","type":"dgstart","name":"DGSTART","outputs":1,"x":138.3333282470703,"y":63.33333206176758,"z":"a1500f38.53c3e","wires":[["a39f2a21.325218"]]},{"id":"a39f2a21.325218","type":"service-logic","name":"VNF-API ${project.version}","module":"VNF-API","version":"${project.version}","comments":"","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='VNF-API' version='${project.version}'>","outputs":1,"x":345.9444351196289,"y":64.11111640930176,"z":"a1500f38.53c3e","wires":[["7005a08d.a5fc7"]]},{"id":"7005a08d.a5fc7","type":"method","name":"vnf-topology-automated-operation","xml":"<method rpc='vnf-topology-automated-operation' mode='sync'>\n","comments":"","outputs":1,"x":259.8333206176758,"y":119.55555152893066,"z":"a1500f38.53c3e","wires":[["f2e2d7f9.0126f8"]]},{"id":"9162cd79.14658","type":"switchNode","name":"switch: svc-action","xml":"<switch test=\"`$vnf-topology-operation-input.sdnc-request-header.svc-action`\">\n<!--\nleaf svc-action { \n\ttype enumeration { \n\t\tenum \"reserve\";\n\t\tenum \"assign\";\n\t\tenum \"activate\"; // equal to commit\n\t\tenum \"delete\";\t // equal to commit\n\t\tenum \"changeassign\";\n\t\tenum \"changedelete\";\n\t\tenum \"rollback\";\n\t}\n}\n-->\n\n","comments":"","outputs":1,"x":422.7460174560547,"y":580.9523010253906,"z":"a1500f38.53c3e","wires":[["8224b548.40b4a8","5f465d1e.4d94b4","d983d392.1d9a6","98e7501f.26dbc","59d3b456.0a00fc"]]},{"id":"8224b548.40b4a8","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":639.5793914794922,"y":866.7024803161621,"z":"a1500f38.53c3e","wires":[["72343cc8.fc7bb4"]]},{"id":"5f465d1e.4d94b4","type":"other","name":"assign","xml":"<outcome value='assign'>","comments":"","outputs":1,"x":640.3015747070312,"y":580.9523067474365,"z":"a1500f38.53c3e","wires":[["547b268.884f1d8"]]},{"id":"72343cc8.fc7bb4","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='svc-action not recognized'/>\n","comments":"","x":811.5793914794922,"y":866.7024803161621,"z":"a1500f38.53c3e","wires":[]},{"id":"d983d392.1d9a6","type":"other","name":"activate","xml":"<outcome value='activate'>","comments":"","outputs":1,"x":643.3015899658203,"y":702.2022953033447,"z":"a1500f38.53c3e","wires":[["f19c8d58.4a549"]]},{"id":"98e7501f.26dbc","type":"other","name":"rollback","xml":"<outcome value='rollback'>","comments":"","outputs":1,"x":643.0515899658203,"y":759.452296257019,"z":"a1500f38.53c3e","wires":[["4e79020d.f21e3c"]]},{"id":"cee7b9d8.a8e638","type":"other","name":"changeassign","xml":"<outcome value='changeassign'>","comments":"","outputs":1,"x":661.8015899658203,"y":643.4522972106934,"z":"a1500f38.53c3e","wires":[["7797f0bb.8a36c"]]},{"id":"59d3b456.0a00fc","type":"other","name":"delete","xml":"<outcome value='delete'>","comments":"","outputs":1,"x":640.6627502441406,"y":812.3135557174683,"z":"a1500f38.53c3e","wires":[["d8f73085.d4515"]]},{"id":"2b43b340.5116cc","type":"call","name":"call: vnf-topology-automated-assign","xml":"<call module='VNF-API' rpc='vnf-topology-automated-assign' mode='sync' >","comments":"","outputs":1,"x":1113.5515747070312,"y":580.9522495269775,"z":"a1500f38.53c3e","wires":[[]]},{"id":"fd2a3a1a.99f018","type":"call","name":"call: vnf-topology-automated-changeassign","xml":"<call module='VNF-API' rpc='vnf-topology-automated-changeassign' mode='sync' >","comments":"","outputs":1,"x":1136.8016967773438,"y":641.9523048400879,"z":"a1500f38.53c3e","wires":[[]]},{"id":"19c4d34a.91c3dd","type":"call","name":"call: vnf-topology-automated-rollback","xml":"<call module='VNF-API' rpc='vnf-topology-automated-rollback' mode='sync' >","comments":"","outputs":1,"x":1037.5516967773438,"y":759.4523067474365,"z":"a1500f38.53c3e","wires":[[]]},{"id":"d8f73085.d4515","type":"call","name":"call: vnf-topology-automated-delete","xml":"<call module='VNF-API' rpc='vnf-topology-automated-delete' mode='sync' >","comments":"","outputs":1,"x":883.4128189086914,"y":812.3135566711426,"z":"a1500f38.53c3e","wires":[[]]},{"id":"828e15d2.79b178","type":"call","name":"call: vnf-topology-activate","xml":"<call module='VNF-API' rpc='vnf-topology-activate' mode='sync' >","comments":"","outputs":1,"x":1037.0516891479492,"y":701.4523005485535,"z":"a1500f38.53c3e","wires":[[]]},{"id":"ef5eb70c.59f308","type":"comment","name":"vnf-topology-automated-operation","info":"","comments":"","x":734.0793533325195,"y":72.92062950134277,"z":"a1500f38.53c3e","wires":[]},{"id":"f2e2d7f9.0126f8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":240.33333587646484,"y":176.083345413208,"z":"a1500f38.53c3e","wires":[["9162cd79.14658","3eddd5cf.e6463a"]]},{"id":"2af077bd.a29358","type":"switchNode","name":"switch: INPUT generic-vnf-id","xml":"<switch test=\"`$vnf-topology-operation-input.vnf-request-information.generic-vnf-id`\">","comments":"","outputs":1,"x":1346.5913696289062,"y":303.81356716156006,"z":"a1500f38.53c3e","wires":[["9f219d1a.64396","598e436e.a80f1c"]]},{"id":"598e436e.a80f1c","type":"outcome","name":"NULL","xml":"<outcome value=''>","outputs":1,"x":1575.305648803711,"y":354.8135452270508,"z":"a1500f38.53c3e","wires":[["d978e183.52eb8"]]},{"id":"9f219d1a.64396","type":"outcome","name":"0","xml":"<outcome value='0'>","comments":"","outputs":1,"x":1573.7342681884766,"y":303.3850030899048,"z":"a1500f38.53c3e","wires":[["d978e183.52eb8"]]},{"id":"d978e183.52eb8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='generic-vnf-id cannot be NULL or 0'/>","comments":"","x":1739.8770217895508,"y":354.6707239151001,"z":"a1500f38.53c3e","wires":[]},{"id":"dffc6547.7214d8","type":"switchNode","name":"switch: INPUT generic-vnf-name","xml":"<switch test=\"`$vnf-topology-operation-input.vnf-request-information.generic-vnf-name`\">","comments":"","outputs":1,"x":1357.34130859375,"y":406.2420825958252,"z":"a1500f38.53c3e","wires":[["d60757e2.82ff78"]]},{"id":"d60757e2.82ff78","type":"outcome","name":"NULL","xml":"<outcome value=''>","outputs":1,"x":1576.3412780761719,"y":406.38492012023926,"z":"a1500f38.53c3e","wires":[["b2e6c97f.26fa58"]]},{"id":"b2e6c97f.26fa58","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='generic-vnf-name cannot be NULL'/>","comments":"","x":1765.198486328125,"y":406.67064094543457,"z":"a1500f38.53c3e","wires":[]},{"id":"8d7c9ac.030d068","type":"switchNode","name":"switch: INPUT generic-vnf-type","xml":"<switch test=\"`$vnf-topology-operation-input.vnf-request-information.generic-vnf-type`\">","comments":"","outputs":1,"x":1353.4485397338867,"y":460.24215602874756,"z":"a1500f38.53c3e","wires":[["44e2dc10.614bd4"]]},{"id":"44e2dc10.614bd4","type":"outcome","name":"NULL","xml":"<outcome value=''>","outputs":1,"x":1573.4485092163086,"y":460.3849935531616,"z":"a1500f38.53c3e","wires":[["3cb0240a.f6544c"]]},{"id":"3cb0240a.f6544c","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='generic-vnf-type cannot be NULL'/>","comments":"","x":1768.3057174682617,"y":460.67071437835693,"z":"a1500f38.53c3e","wires":[]},{"id":"193531be.f37bae","type":"block","name":"block: atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":1087.1191482543945,"y":303.79775619506836,"z":"a1500f38.53c3e","wires":[["2af077bd.a29358","dffc6547.7214d8","8d7c9ac.030d068","77a4d146.d7dc","77259fa6.669ab","7d03f557.462e9c"]]},{"id":"f19c8d58.4a549","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":791.6904830932617,"y":701.6190490722656,"z":"a1500f38.53c3e","wires":[["828e15d2.79b178"]]},{"id":"7797f0bb.8a36c","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":854.4404830932617,"y":642.8690490722656,"z":"a1500f38.53c3e","wires":[["193531be.f37bae","fd2a3a1a.99f018"]]},{"id":"4e79020d.f21e3c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":792.9404830932617,"y":759.1190500259399,"z":"a1500f38.53c3e","wires":[["19c4d34a.91c3dd"]]},{"id":"547b268.884f1d8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":827.4404830932617,"y":580.8690509796143,"z":"a1500f38.53c3e","wires":[["193531be.f37bae","2b43b340.5116cc"]]},{"id":"77a4d146.d7dc","type":"switchNode","name":"switch: INPUT aic-cloud-region","xml":"<switch test=\"`$vnf-topology-operation-input.vnf-request-information.aic-cloud-region`\">","comments":"","outputs":1,"x":1353.15478515625,"y":511.36915588378906,"z":"a1500f38.53c3e","wires":[["46e24365.9866cc"]]},{"id":"46e24365.9866cc","type":"outcome","name":"NULL","xml":"<outcome value=''>","outputs":1,"x":1574.1547546386719,"y":511.5119934082031,"z":"a1500f38.53c3e","wires":[["c1fb7f1e.e7973"]]},{"id":"c1fb7f1e.e7973","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='aic-cloud-region cannot be NULL'/>","comments":"","x":1769.011962890625,"y":511.79771423339844,"z":"a1500f38.53c3e","wires":[]},{"id":"3eddd5cf.e6463a","type":"switchNode","name":"switch: INPUT vnf-id","xml":"<switch test=\"`$vnf-topology-operation-input.vnf-request-information.vnf-id`\">","comments":"","outputs":1,"x":464.9842300415039,"y":176.24210929870605,"z":"a1500f38.53c3e","wires":[["fbc8c7a9.c38ab8","65fb1338.4b47ec"]]},{"id":"65fb1338.4b47ec","type":"outcome","name":"NULL","xml":"<outcome value=''>","outputs":1,"x":675.9841995239258,"y":227.38494682312012,"z":"a1500f38.53c3e","wires":[["f2246943.f6e1d8"]]},{"id":"fbc8c7a9.c38ab8","type":"outcome","name":"0","xml":"<outcome value='0'>","comments":"","outputs":1,"x":675.1271286010742,"y":175.81354522705078,"z":"a1500f38.53c3e","wires":[["f2246943.f6e1d8"]]},{"id":"f2246943.f6e1d8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='vf-modules vnf-id cannot be NULL or 0'/>","comments":"","x":850.8414077758789,"y":227.67066764831543,"z":"a1500f38.53c3e","wires":[]},{"id":"77259fa6.669ab","type":"switchNode","name":"switch: INPUT vnf-name","xml":"<switch test=\"`$vnf-topology-operation-input.vnf-request-information.vnf-name`\">","comments":"","outputs":1,"x":1332.9999694824219,"y":198.14290809631348,"z":"a1500f38.53c3e","wires":[["175c0792.497be8"]]},{"id":"175c0792.497be8","type":"outcome","name":"NULL","xml":"<outcome value=''>","outputs":1,"x":1536.5713806152344,"y":198.0000286102295,"z":"a1500f38.53c3e","wires":[["8639aa6b.22c9e8"]]},{"id":"8639aa6b.22c9e8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='vnf-name is required'/>","comments":"","x":1698.0713806152344,"y":198.2500286102295,"z":"a1500f38.53c3e","wires":[]},{"id":"7d03f557.462e9c","type":"switchNode","name":"switch: INPUT vnf-type","xml":"<switch test=\"`$vnf-topology-operation-input.vnf-request-information.vnf-type`\">","comments":"","outputs":1,"x":1329.000015258789,"y":252.57145595550537,"z":"a1500f38.53c3e","wires":[["4fed628b.c7308c"]]},{"id":"4fed628b.c7308c","type":"outcome","name":"NULL","xml":"<outcome value=''>","outputs":1,"x":1536.8571338653564,"y":252.85716342926025,"z":"a1500f38.53c3e","wires":[["2d42aa93.47ca86"]]},{"id":"2d42aa93.47ca86","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='vnf-type is required'/>","comments":"","x":1698.3571338653564,"y":253.10716342926025,"z":"a1500f38.53c3e","wires":[]}]
|