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=========================================================
21 package org.openecomp.sdc.be.components.distribution.engine;
23 import java.util.List;
25 public interface INotificationData {
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
32 String getDistributionID();
34 /** Logical Service Name. */
35 String getServiceName();
38 * Service Version.<br>
39 * Two dot (".") separated digit blocks.<br>
42 String getServiceVersion();
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
49 String getServiceUUID();
54 String getServiceDescription();
57 * ServiceInvariant UUID
59 String getServiceInvariantUUID();
61 /** List of the resource instances */
62 List<JsonContainerResourceInstance> getResources();
64 /** List of the artifacts */
65 List<ArtifactInfoImpl> getServiceArtifacts();
67 String getWorkloadContext();
69 void setDistributionID(String distributionId);
71 /** Logical Service Name. */
72 void setServiceName(String serviceName);
75 * Service Version.<br>
76 * Two dot (".") separated digit blocks.<br>
79 void setServiceVersion(String serviceVersion);
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
86 void setServiceUUID(String serviceUUID);
91 void setServiceDescription(String serviceDescription);
94 * ServiceInvariant UUID
96 void setServiceInvariantUUID(String serviceInvariantUuid);
98 /** List of the Resource Instances */
99 void setResources(List<JsonContainerResourceInstance> resource);
101 /** List of the Resource Instances */
102 void setServiceArtifacts(List<ArtifactInfoImpl> artifacts);
104 void setWorkloadContext(String workloadContext);