Sync Integ to Master
[sdc.git] / catalog-be / src / main / java / org / openecomp / sdc / be / components / distribution / engine / INotificationData.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
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 package org.openecomp.sdc.be.components.distribution.engine;
22
23 import java.util.List;
24
25 public interface INotificationData {
26     /**
27      * Global Distribution Identifier: UUID generated by ASDC per each distribution activation.<br>
28      * Generated UUID is compliant with RFC 4122.<br>
29      * It is a 128-bit value formatted into blocks of hexadecimal digits separated by a hyphen ("-").<br>
30      * Ex.: AA97B177-9383-4934-8543-0F91A7A02836
31      */
32     String getDistributionID();
33
34     /** Logical Service Name. */
35     String getServiceName();
36
37     /**
38      * Service Version.<br>
39      * Two dot (".") separated digit blocks.<br>
40      * Ex. : "2.0"
41      */
42     String getServiceVersion();
43
44     /**
45      * Global UUID generated by ASDC per each service version. Generated UUID is compliant with RFC 4122.<br>
46      * It is a 128-bit value formatted into blocks of hexadecimal digits separated by a hyphen ("-").<br>
47      * Ex. : AA97B177-9383-4934-8543-0F91A7A02836
48      */
49     String getServiceUUID();
50
51     /**
52      * Service description
53      */
54     String getServiceDescription();
55
56     /**
57      * ServiceInvariant UUID
58      */
59     String getServiceInvariantUUID();
60
61     /** List of the resource instances */
62     List<JsonContainerResourceInstance> getResources();
63
64     /** List of the artifacts */
65     List<ArtifactInfoImpl> getServiceArtifacts();
66
67     String getWorkloadContext();
68
69     void setDistributionID(String distributionId);
70
71     /** Logical Service Name. */
72     void setServiceName(String serviceName);
73
74     /**
75      * Service Version.<br>
76      * Two dot (".") separated digit blocks.<br>
77      * Ex. : "2.0"
78      */
79     void setServiceVersion(String serviceVersion);
80
81     /**
82      * Global UUID generated by ASDC per each service version. Generated UUID is compliant with RFC 4122.<br>
83      * It is a 128-bit value formatted into blocks of hexadecimal digits separated by a hyphen ("-").<br>
84      * Ex. : AA97B177-9383-4934-8543-0F91A7A02836
85      */
86     void setServiceUUID(String serviceUUID);
87
88     /**
89      * Service Description
90      */
91     void setServiceDescription(String serviceDescription);
92
93     /**
94      * ServiceInvariant UUID
95      */
96     void setServiceInvariantUUID(String serviceInvariantUuid);
97
98     /** List of the Resource Instances */
99     void setResources(List<JsonContainerResourceInstance> resource);
100
101     /** List of the Resource Instances */
102     void setServiceArtifacts(List<ArtifactInfoImpl> artifacts);
103
104     void setWorkloadContext(String workloadContext);
105
106 }