aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src
diff options
context:
space:
mode:
authorxuegao <xue.gao@intl.att.com>2021-03-11 16:18:22 +0100
committerVasyl Razinkov <vasyl.razinkov@est.tech>2021-03-11 19:08:07 +0000
commit57975ddbe96fd6a16986fd9525f3784733ee71c2 (patch)
treee06bd48b6ffacaa5a972035df6173c3f55b07998 /catalog-be/src
parentfc02627e56c5cb452c6761423ee09784204410b4 (diff)
Adding unit tests
Adding unit tests to improve test coverage. Issue-ID: SDC-3428 Signed-off-by: xuegao <xue.gao@intl.att.com> Change-Id: Icea75db44575c2ea9e6b51a34730e83b0d35f03f
Diffstat (limited to 'catalog-be/src')
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/components/distribution/engine/AuditDistributionNotificationBuilder.java34
1 files changed, 2 insertions, 32 deletions
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/components/distribution/engine/AuditDistributionNotificationBuilder.java b/catalog-be/src/main/java/org/openecomp/sdc/be/components/distribution/engine/AuditDistributionNotificationBuilder.java
index a9dc988d5f..efe8f7089d 100644
--- a/catalog-be/src/main/java/org/openecomp/sdc/be/components/distribution/engine/AuditDistributionNotificationBuilder.java
+++ b/catalog-be/src/main/java/org/openecomp/sdc/be/components/distribution/engine/AuditDistributionNotificationBuilder.java
@@ -19,9 +19,11 @@
*/
package org.openecomp.sdc.be.components.distribution.engine;
+import lombok.Getter;
import org.openecomp.sdc.be.model.Service;
import org.openecomp.sdc.be.model.User;
+@Getter
public class AuditDistributionNotificationBuilder {
private String topicName;
@@ -33,73 +35,41 @@ public class AuditDistributionNotificationBuilder {
private String workloadContext;
private String tenant;
- public String getTopicName() {
- return topicName;
- }
-
public AuditDistributionNotificationBuilder setTopicName(String topicName) {
this.topicName = topicName;
return this;
}
- public String getDistributionId() {
- return distributionId;
- }
-
public AuditDistributionNotificationBuilder setDistributionId(String distributionId) {
this.distributionId = distributionId;
return this;
}
- public CambriaErrorResponse getStatus() {
- return status;
- }
-
public AuditDistributionNotificationBuilder setStatus(CambriaErrorResponse status) {
this.status = status;
return this;
}
- public Service getService() {
- return service;
- }
-
public AuditDistributionNotificationBuilder setService(Service service) {
this.service = service;
return this;
}
- public String getEnvId() {
- return envId;
- }
-
public AuditDistributionNotificationBuilder setEnvId(String envId) {
this.envId = envId;
return this;
}
- public User getModifier() {
- return modifier;
- }
-
public AuditDistributionNotificationBuilder setModifier(User modifier) {
this.modifier = modifier;
return this;
}
- public String getWorkloadContext() {
- return workloadContext;
- }
-
public AuditDistributionNotificationBuilder setWorkloadContext(String workloadContext) {
this.workloadContext = workloadContext;
return this;
}
- public String getTenant() {
- return tenant;
- }
-
public AuditDistributionNotificationBuilder setTenant(String tenant) {
this.tenant = tenant;
return this;