59dcc5739c67e6ef51be625290384c4d4ed8f869
[sdc/sdc-distribution-client.git] /
1 package org.onap.sdc.api.consumer;
2
3 import org.onap.sdc.utils.DistributionStatusEnum;
4
5 public interface IDistributionStatusMessageBasic {
6     /**
7      * Distribution ID published in the distribution notification.<br>
8      * Should be used to link the distribution status reports to the appropriate
9      * distribution activation.<br>
10      * Global Distribution Identifier: UUID generated by SDC per each
11      * distribution activation.<br>
12      * Generated UUID is compliant with RFC 4122. It is a 128-bit value
13      * formatted into blocks of hexadecimal digits separated by a hyphen ("-").
14      * Ex.: AA97B177-9383-4934-8543-0F91A7A02836
15      */
16     String getDistributionID();
17
18     /**Unique ID of ONAP component instance (e.x INSTAR name)*/
19     String getConsumerID();
20
21     /**
22      * Timestamp of the distribution status report creation.<br>
23      * The number of seconds that have elapsed since January 1, 1970.
24      */
25     long getTimestamp();
26     /**Download/Deployment status*/
27     DistributionStatusEnum getStatus();
28 }