diff options
-rw-r--r-- | pom.xml | 6 | ||||
-rw-r--r-- | src/main/java/org/onap/aai/babel/service/data/BabelArtifact.java | 25 | ||||
-rw-r--r-- | src/main/resources/application.properties | 2 |
3 files changed, 15 insertions, 18 deletions
@@ -384,6 +384,12 @@ <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-sleuth-zipkin</artifactId> </dependency> + <dependency> + <groupId>org.projectlombok</groupId> + <artifactId>lombok</artifactId> + <version>1.18.32</version> + <scope>provided</scope> + </dependency> </dependencies> <dependencyManagement> <dependencies> diff --git a/src/main/java/org/onap/aai/babel/service/data/BabelArtifact.java b/src/main/java/org/onap/aai/babel/service/data/BabelArtifact.java index 86bf0cc..eb458ac 100644 --- a/src/main/java/org/onap/aai/babel/service/data/BabelArtifact.java +++ b/src/main/java/org/onap/aai/babel/service/data/BabelArtifact.java @@ -21,7 +21,14 @@ package org.onap.aai.babel.service.data; +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.NoArgsConstructor; + /** Bean representing the return artifacts of the Babel microservice. */ +@Data +@AllArgsConstructor +@NoArgsConstructor public class BabelArtifact { public enum ArtifactType { @@ -31,22 +38,4 @@ public class BabelArtifact { String name; ArtifactType type; String payload; - - public BabelArtifact(String name, ArtifactType type, String payload) { - this.name = name; - this.type = type; - this.payload = payload; - } - - public String getName() { - return name; - } - - public ArtifactType getType() { - return type; - } - - public String getPayload() { - return payload; - } } diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index f1d54df..b47e4d2 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,4 +1,6 @@ server.port=9516 +security.require-ssl=false +server.ssl.enabled=false server.ssl.key-store=${CONFIG_HOME}/auth/tomcat_keystore server.ssl.client-auth=need |