summaryrefslogtreecommitdiffstats
path: root/mso-api-handlers
diff options
context:
space:
mode:
authorBOSLET, CORY <cory.boslet@att.com>2021-03-10 17:22:28 -0500
committerAT&T Open Source <g22940@att.com>2021-03-10 17:22:29 -0500
commit39761146b77f58973612f8fdee3de9f987278edf (patch)
treeab96535b565898abf67e765b0141fb02fc0c6641 /mso-api-handlers
parent1d316a3c50f978313eca360c1a1636de68afee9d (diff)
add new sdnc interaction
Added Cors auth support option for sdnc interaction Issue-ID: SO-3580 Signed-off-by: AT&T Open Source <g22940@att.com> Change-Id: I54d17ea5e02a20114f5857940cc4dabc72854dea
Diffstat (limited to 'mso-api-handlers')
-rw-r--r--mso-api-handlers/mso-api-handler-common/src/main/java/org/onap/so/apihandler/common/RequestClientParameter.java32
1 files changed, 32 insertions, 0 deletions
diff --git a/mso-api-handlers/mso-api-handler-common/src/main/java/org/onap/so/apihandler/common/RequestClientParameter.java b/mso-api-handlers/mso-api-handler-common/src/main/java/org/onap/so/apihandler/common/RequestClientParameter.java
index 2101252ad0..b75411b9a8 100644
--- a/mso-api-handlers/mso-api-handler-common/src/main/java/org/onap/so/apihandler/common/RequestClientParameter.java
+++ b/mso-api-handlers/mso-api-handler-common/src/main/java/org/onap/so/apihandler/common/RequestClientParameter.java
@@ -46,6 +46,8 @@ public class RequestClientParameter {
private String instanceGroupId;
private boolean generateIdsOnly;
private String operationType;
+ private String migrationId;
+ private String circuitId;
private RequestClientParameter(Builder builder) {
requestId = builder.requestId;
@@ -71,6 +73,8 @@ public class RequestClientParameter {
instanceGroupId = builder.instanceGroupId;
generateIdsOnly = builder.generateIdsOnly;
operationType = builder.operationType;
+ migrationId = builder.migrationId;
+ circuitId = builder.circuitId;
}
public String getOperationType() {
@@ -169,6 +173,22 @@ public class RequestClientParameter {
this.generateIdsOnly = generateIdsOnly;
}
+ public String getMigrationId() {
+ return migrationId;
+ }
+
+ public void setMigrationId(String migrationId) {
+ this.migrationId = migrationId;
+ }
+
+ public String getCircuitId() {
+ return circuitId;
+ }
+
+ public void setCircuitId(String circuitId) {
+ this.circuitId = circuitId;
+ }
+
public static class Builder {
private String requestId;
private boolean isBaseVfModule = false;
@@ -193,6 +213,18 @@ public class RequestClientParameter {
private String instanceGroupId;
private boolean generateIdsOnly;
private String operationType;
+ private String migrationId;
+ private String circuitId;
+
+ public Builder setCircuitId(String circuitId) {
+ this.circuitId = circuitId;
+ return this;
+ }
+
+ public Builder setMigrationId(String migrationId) {
+ this.migrationId = migrationId;
+ return this;
+ }
public Builder setOperationType(String operationType) {
this.operationType = operationType;