From 39761146b77f58973612f8fdee3de9f987278edf Mon Sep 17 00:00:00 2001 From: "BOSLET, CORY" Date: Wed, 10 Mar 2021 17:22:28 -0500 Subject: add new sdnc interaction Added Cors auth support option for sdnc interaction Issue-ID: SO-3580 Signed-off-by: AT&T Open Source Change-Id: I54d17ea5e02a20114f5857940cc4dabc72854dea --- .../apihandler/common/RequestClientParameter.java | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'mso-api-handlers/mso-api-handler-common/src/main') 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; -- cgit 1.2.3-korg