summaryrefslogtreecommitdiffstats
path: root/applications/native/src/main/java/org
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2021-07-14 16:47:14 -0400
committerJim Hahn <jrh3@att.com>2021-07-14 17:25:45 -0400
commit85bf9c859768611cf1cc9ab38cf8f75ec33fc0ee (patch)
tree9f2a9aca6a9f8ce9365e524da3143f291bd65447 /applications/native/src/main/java/org
parent6803c3b370560217215be30514396f75be780a0f (diff)
Use lombok in xacml-pdp
Also: - changed a few fields to private/protected. - swwapped out gson for coder Issue-ID: POLICY-3400 Change-Id: I9a4dba939b77078f78583ada00af182b1a7d95c5 Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'applications/native/src/main/java/org')
-rw-r--r--applications/native/src/main/java/org/onap/policy/xacml/pdp/application/nativ/NativePdpApplicationTranslator.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/applications/native/src/main/java/org/onap/policy/xacml/pdp/application/nativ/NativePdpApplicationTranslator.java b/applications/native/src/main/java/org/onap/policy/xacml/pdp/application/nativ/NativePdpApplicationTranslator.java
index 06e324d2..3caf28f2 100644
--- a/applications/native/src/main/java/org/onap/policy/xacml/pdp/application/nativ/NativePdpApplicationTranslator.java
+++ b/applications/native/src/main/java/org/onap/policy/xacml/pdp/application/nativ/NativePdpApplicationTranslator.java
@@ -31,6 +31,7 @@ import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.util.Base64;
import lombok.Getter;
+import lombok.NoArgsConstructor;
import org.onap.policy.common.parameters.annotations.NotBlank;
import org.onap.policy.common.parameters.annotations.NotNull;
import org.onap.policy.models.decisions.concepts.DecisionRequest;
@@ -48,14 +49,11 @@ import org.slf4j.LoggerFactory;
* @author Chenfei Gao (cgao@research.att.com)
*
*/
+@NoArgsConstructor
public class NativePdpApplicationTranslator implements ToscaPolicyTranslator {
private static final Logger LOGGER = LoggerFactory.getLogger(NativePdpApplicationTranslator.class);
- public NativePdpApplicationTranslator() {
- super();
- }
-
@Override
public Object convertPolicy(ToscaPolicy toscaPolicy) throws ToscaPolicyConversionException {
//