diff options
Diffstat (limited to 'mso-api-handlers')
5 files changed, 43 insertions, 47 deletions
diff --git a/mso-api-handlers/mso-api-handler-common/pom.xml b/mso-api-handlers/mso-api-handler-common/pom.xml index c31cc485ec..a2415322b4 100644 --- a/mso-api-handlers/mso-api-handler-common/pom.xml +++ b/mso-api-handlers/mso-api-handler-common/pom.xml @@ -12,13 +12,8 @@ <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> - <swagger-version>1.3.0</swagger-version> - <jax-rs-version>1.1.1</jax-rs-version> <json4s-jackson-version>3.6.0</json4s-jackson-version> <json4s-core-version>3.6.0</json4s-core-version> - <reflections-version>0.9.9-RC1</reflections-version> - <paranamer-version>2.5.2</paranamer-version> - <scannotation-version>1.0.3</scannotation-version> </properties> <dependencyManagement> <dependencies> @@ -49,10 +44,6 @@ <version>2.6</version> </dependency> <dependency> - <groupId>antlr</groupId> - <artifactId>antlr</artifactId> - </dependency> - <dependency> <groupId>javax.activation</groupId> <artifactId>activation</artifactId> <version>1.1.1</version> @@ -77,10 +68,6 @@ <artifactId>javax.servlet-api</artifactId> </dependency> <dependency> - <groupId>org.json</groupId> - <artifactId>json</artifactId> - </dependency> - <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> @@ -90,18 +77,7 @@ <artifactId>spring-boot-configuration-processor</artifactId> <optional>true</optional> </dependency> - <dependency> - <groupId>com.googlecode.junit-toolbox</groupId> - <artifactId>junit-toolbox</artifactId> - <version>2.4</version> - </dependency> - <dependency> - <groupId>org.onap.so</groupId> - <artifactId>common</artifactId> - <version>${project.version}</version> - </dependency> </dependencies> - <build> <finalName>${project.artifactId}-${project.version}</finalName> <plugins> 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; diff --git a/mso-api-handlers/mso-api-handler-infra/pom.xml b/mso-api-handlers/mso-api-handler-infra/pom.xml index cd7c102c10..cf1df1bfb0 100644 --- a/mso-api-handlers/mso-api-handler-infra/pom.xml +++ b/mso-api-handlers/mso-api-handler-infra/pom.xml @@ -10,17 +10,8 @@ <name>mso-api-handler-infra</name> <description>ONAP SO API Handler Infra</description> <properties> - <camunda.version>7.14.0</camunda.version> - <camunda.bpm.assert.version>1.2</camunda.bpm.assert.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> - <swagger.version>2.0.8</swagger.version> - <jax-rs-version>1.1.1</jax-rs-version> - <json4s-jackson-version>3.6.0</json4s-jackson-version> - <json4s-core-version>3.6.0</json4s-core-version> - <reflections-version>0.9.9-RC1</reflections-version> - <paranamer-version>2.5.2</paranamer-version> - <scannotation-version>1.0.3</scannotation-version> </properties> <dependencyManagement> <dependencies> @@ -32,14 +23,6 @@ <type>pom</type> <scope>import</scope> </dependency> - <dependency> - <!-- Import dependency management from camunda --> - <groupId>org.camunda.bpm</groupId> - <artifactId>camunda-bom</artifactId> - <version>${camunda.version}</version> - <scope>import</scope> - <type>pom</type> - </dependency> </dependencies> </dependencyManagement> <dependencies> @@ -55,7 +38,6 @@ <dependency> <groupId>io.swagger.core.v3</groupId> <artifactId>swagger-jaxrs2</artifactId> - <version>2.0.8</version> </dependency> <dependency> <groupId>com.h2database</groupId> @@ -100,7 +82,6 @@ <dependency> <groupId>pl.pragmatists</groupId> <artifactId>JUnitParams</artifactId> - <version>1.0.5</version> <scope>test</scope> </dependency> <dependency> @@ -137,7 +118,6 @@ <dependency> <groupId>ch.vorburger.mariaDB4j</groupId> <artifactId>mariaDB4j</artifactId> - <version>2.3.0</version> <scope>test</scope> </dependency> <dependency> @@ -148,7 +128,6 @@ <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-contract-wiremock</artifactId> - <version>1.2.4.RELEASE</version> <scope>test</scope> </dependency> <dependency> diff --git a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/onap3gppserviceinstancebeans/Allocate3gppService.java b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/onap3gppserviceinstancebeans/Allocate3gppService.java index 0444e66842..42be95436d 100644 --- a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/onap3gppserviceinstancebeans/Allocate3gppService.java +++ b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/onap3gppserviceinstancebeans/Allocate3gppService.java @@ -47,6 +47,9 @@ public class Allocate3gppService { @JsonProperty("networkType") private String networkType; + @JsonProperty("sst") + private String sST; + @JsonProperty("additionalProperties") private Map<String, Object> additionalProperties = new HashMap<>(); @@ -106,6 +109,14 @@ public class Allocate3gppService { this.additionalProperties = additionalProperties; } + public String getsST() { + return sST; + } + + public void setsST(String sST) { + this.sST = sST; + } + @Override public String toString() { return "Allocate3gppService [name=" + name + ", modelInvariantUuid=" + modelInvariantUuid + ", modelUuid=" diff --git a/mso-api-handlers/mso-requests-db/pom.xml b/mso-api-handlers/mso-requests-db/pom.xml index ce1b960be3..ba3eac4725 100644 --- a/mso-api-handlers/mso-requests-db/pom.xml +++ b/mso-api-handlers/mso-requests-db/pom.xml @@ -1,13 +1,11 @@ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> - <parent> <groupId>org.onap.so</groupId> <artifactId>mso-api-handlers</artifactId> <version>1.8.0-SNAPSHOT</version> </parent> - <artifactId>mso-requests-db</artifactId> <name>mso-requests-db</name> <description>MSO Requests Database definition and Hibernate objects</description> |