aboutsummaryrefslogtreecommitdiffstats
path: root/epsdk-app-onap/src/main/java/org/openecomp/portalapp/lm/FusionLicenseManagerImpl.java
blob: e6a3936686ee9c9fe4b9a3d67f35e96f7866c92a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
@media only all and (prefers-color-scheme: dark) {
.highlight .hll { background-color: #49483e }
.highlight .c { color: #75715e } /* Comment */
.highlight .err { color: #960050; background-color: #1e0010 } /* Error */
.highlight .k { color: #66d9ef } /* Keyword */
.highlight .l { color: #ae81ff } /* Literal */
.highlight .n { color: #f8f8f2 } /* Name */
.highlight .o { color: #f92672 } /* Operator */
.highlight .p { color: #f8f8f2 } /* Punctuation */
.highlight .ch { color: #75715e } /* Comment.Hashbang */
.highlight .cm { color: #75715e } /* Comment.Multiline */
.highlight .cp { color: 
<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='GENERIC-RESOURCE-API' version='${project.version}'>
    <method rpc='rollback-eipam-ip-assignment' mode='sync'>
        <block atomic="true">
            <get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'
  key='SELECT * from EIPAM_IP_ASSIGNMENTS 
  WHERE info = $vnf-topology-operation-input.vnf-request-information.vnf-id'>
                <outcome value='not-found'>
                    <block></block>
                </outcome>
                <outcome value='success'>
                    <block atomic="true">
                        <set>
                            <parameter name='tmp.status' 
	value="`'PENDING_DELETE_' + $vnf-topology-operation-input.vnf-request-information.vnf-id`" />
                            <parameter name='service-data.service-information.service-type' 
	value='NOT_APPLICABLE' />
                        </set>
                        <update plugin="org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource" resource="SQL"
	key="UPDATE EIPAM_IP_ASSIGNMENTS set status = $tmp.status 
		WHERE info = $vnf-topology-operation-input.vnf-request-information.vnf-id" >
                            <outcome value='failure'>
                                <return status='failure'>
                                    <parameter name='ack-final' value='Y'/>
                                    <parameter name="error-code" value="500" />
                                    <parameter name="error-message" value="Error updating EIPAM_IP_ASSIGNMENTS table on rollback." />
                                </return>
                            </outcome>
                        </update>
                        <execute plugin="com.att.sdnc
me='ack-final' value='Y'/> <parameter name="error-code" value="500" /> <parameter name="error-message" value="Error in EIPAM unassign IP address on rollback." /> </return> </outcome> </execute> </block> </outcome> </get-resource> </block> </method> </service-logic>