aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-04-18 16:18:48 +0200
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-04-18 16:18:48 +0200
commitb74d7da07674a9727f73c6769567687ebaa0a0ce (patch)
treeaa55635c5fa569cd763b3a356d3cdf2079d92201 /src
parente73d109404113bd6d6f12749559c19adf3b3e5a8 (diff)
Enhance BabelArtifact object in babel with setters and noargs constructor1.13.0
- this makes the object available for Jackson object mapping Issue-ID: AAI-3830 Change-Id: I5c8827d98d302fb0c48e3ae8b638629c3dab98e7 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/onap/aai/babel/service/data/BabelArtifact.java25
-rw-r--r--src/main/resources/application.properties2
2 files changed, 9 insertions, 18 deletions
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