summaryrefslogtreecommitdiffstats
path: root/cps-ncmp-service
diff options
context:
space:
mode:
authorBruno Sakoto <bruno.sakoto@bell.ca>2021-10-28 11:23:31 +0200
committerBruno Sakoto <bruno.sakoto@bell.ca>2021-10-28 12:59:03 +0000
commitb143c512a2a9c7c066c03de1b74b9c72c8d1c37a (patch)
treed833cfab3bb74929382573e2cd326423eb0df0d4 /cps-ncmp-service
parent717215a36dde7bedb4257e693650c8728056b9d6 (diff)
Remove org.jetbrains.annotations dependency
It is not part of spring boot 2.5.5 anymore and using it to enforce code invariant is not consistent in the overall code base. Issue-ID: CPS-582 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I6b2c1b8340cda376b70daa2ac092b3d02daa8960
Diffstat (limited to 'cps-ncmp-service')
-rw-r--r--cps-ncmp-service/pom.xml4
-rw-r--r--cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/operation/DmiOperations.java4
2 files changed, 0 insertions, 8 deletions
diff --git a/cps-ncmp-service/pom.xml b/cps-ncmp-service/pom.xml
index e82c95e111..b70279303e 100644
--- a/cps-ncmp-service/pom.xml
+++ b/cps-ncmp-service/pom.xml
@@ -66,9 +66,5 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
- <dependency>
- <groupId>org.jetbrains</groupId>
- <artifactId>annotations</artifactId>
- </dependency>
</dependencies>
</project>
diff --git a/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/operation/DmiOperations.java b/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/operation/DmiOperations.java
index f7421cdb71..562c330657 100644
--- a/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/operation/DmiOperations.java
+++ b/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/operation/DmiOperations.java
@@ -22,7 +22,6 @@ package org.onap.cps.ncmp.api.impl.operation;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;
-import org.jetbrains.annotations.NotNull;
import org.onap.cps.ncmp.api.impl.client.DmiRestClient;
import org.springframework.http.HttpHeaders;
import org.springframework.http.ResponseEntity;
@@ -165,7 +164,6 @@ public class DmiOperations {
return dmiRestClient.postOperationWithJsonData(stringBuilder.toString(), jsonBody, new HttpHeaders());
}
- @NotNull
private String getDmiResourceUrl(final String dmiServiceName,
final String cmHandle,
final String resourceName) {
@@ -176,7 +174,6 @@ public class DmiOperations {
return stringBuilder.toString();
}
- @NotNull
private String getDmiDatastoreUrl(final String dmiServiceName,
final String cmHandle,
final String resourceId,
@@ -188,7 +185,6 @@ public class DmiOperations {
return stringBuilder.toString();
}
- @NotNull
private StringBuilder getStringBuilderForPassThroughUrl(final String dmiServiceName,
final String cmHandle,
final String resourceId,