diff options
author | adheli.tavares <adheli.tavares@est.tech> | 2024-03-14 21:48:25 +0000 |
---|---|---|
committer | adheli.tavares <adheli.tavares@est.tech> | 2024-03-15 08:39:39 +0000 |
commit | 12142469280ab15d3c38802e6be7d7676435c2b9 (patch) | |
tree | 7b2803fb67ecd28c3f2d2c099c5ca35a55fe0627 /policy-domains | |
parent | e51bea1cd5dff02cd00ab93fd4a7f5726fa9a2fb (diff) |
Make drools-pdp work with drools and java versions compatible
with current DRL rules files syntax.
Issue-ID: POLICY-4857
Change-Id: If4b385bdef865d07114b8ea0e69abb4589f3a97b
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'policy-domains')
5 files changed, 0 insertions, 11 deletions
diff --git a/policy-domains/src/main/java/org/onap/policy/drools/domain/models/controller/ControllerPolicy.java b/policy-domains/src/main/java/org/onap/policy/drools/domain/models/controller/ControllerPolicy.java index b16af396..dfb75da6 100644 --- a/policy-domains/src/main/java/org/onap/policy/drools/domain/models/controller/ControllerPolicy.java +++ b/policy-domains/src/main/java/org/onap/policy/drools/domain/models/controller/ControllerPolicy.java @@ -21,7 +21,6 @@ package org.onap.policy.drools.domain.models.controller; -import java.io.Serial; import java.io.Serializable; import lombok.Data; import lombok.EqualsAndHashCode; @@ -36,8 +35,6 @@ import org.onap.policy.drools.domain.models.DroolsPolicy; @SuperBuilder @EqualsAndHashCode(callSuper = true) public class ControllerPolicy extends DroolsPolicy implements Serializable { - - @Serial private static final long serialVersionUID = -8171337852833516581L; private ControllerProperties properties; diff --git a/policy-domains/src/main/java/org/onap/policy/drools/domain/models/controller/ControllerProperties.java b/policy-domains/src/main/java/org/onap/policy/drools/domain/models/controller/ControllerProperties.java index b55e4344..31854a71 100644 --- a/policy-domains/src/main/java/org/onap/policy/drools/domain/models/controller/ControllerProperties.java +++ b/policy-domains/src/main/java/org/onap/policy/drools/domain/models/controller/ControllerProperties.java @@ -21,7 +21,6 @@ package org.onap.policy.drools.domain.models.controller; -import java.io.Serial; import java.io.Serializable; import java.util.List; import java.util.Map; @@ -36,7 +35,6 @@ import lombok.Data; @Data @Builder public class ControllerProperties implements Serializable { - @Serial private static final long serialVersionUID = 1259434187110418986L; private String controllerName; diff --git a/policy-domains/src/main/java/org/onap/policy/drools/domain/models/controller/ControllerSinkTopic.java b/policy-domains/src/main/java/org/onap/policy/drools/domain/models/controller/ControllerSinkTopic.java index 57c07f2d..af5c1cb0 100644 --- a/policy-domains/src/main/java/org/onap/policy/drools/domain/models/controller/ControllerSinkTopic.java +++ b/policy-domains/src/main/java/org/onap/policy/drools/domain/models/controller/ControllerSinkTopic.java @@ -21,7 +21,6 @@ package org.onap.policy.drools.domain.models.controller; -import java.io.Serial; import java.io.Serializable; import lombok.Data; import lombok.EqualsAndHashCode; @@ -36,7 +35,6 @@ import lombok.experimental.SuperBuilder; @SuperBuilder @EqualsAndHashCode(callSuper = true) public class ControllerSinkTopic extends ControllerTopic implements Serializable { - @Serial private static final long serialVersionUID = 8770353732981476267L; @Override diff --git a/policy-domains/src/main/java/org/onap/policy/drools/domain/models/controller/ControllerSourceTopic.java b/policy-domains/src/main/java/org/onap/policy/drools/domain/models/controller/ControllerSourceTopic.java index 3c7f1f03..63bdc243 100644 --- a/policy-domains/src/main/java/org/onap/policy/drools/domain/models/controller/ControllerSourceTopic.java +++ b/policy-domains/src/main/java/org/onap/policy/drools/domain/models/controller/ControllerSourceTopic.java @@ -21,7 +21,6 @@ package org.onap.policy.drools.domain.models.controller; -import java.io.Serial; import java.io.Serializable; import lombok.Data; import lombok.EqualsAndHashCode; @@ -36,7 +35,6 @@ import lombok.experimental.SuperBuilder; @SuperBuilder @EqualsAndHashCode(callSuper = true) public class ControllerSourceTopic extends ControllerTopic implements Serializable { - @Serial private static final long serialVersionUID = -1732598566914643612L; @Override diff --git a/policy-domains/src/test/java/org/onap/policy/drools/domain/models/DroolsPolicyTest.java b/policy-domains/src/test/java/org/onap/policy/drools/domain/models/DroolsPolicyTest.java index 99494d71..e2e628a7 100644 --- a/policy-domains/src/test/java/org/onap/policy/drools/domain/models/DroolsPolicyTest.java +++ b/policy-domains/src/test/java/org/onap/policy/drools/domain/models/DroolsPolicyTest.java @@ -30,7 +30,6 @@ import com.openpojo.validation.Validator; import com.openpojo.validation.ValidatorBuilder; import com.openpojo.validation.test.impl.GetterTester; import com.openpojo.validation.test.impl.SetterTester; -import java.io.Serial; import java.io.Serializable; import java.util.List; import lombok.Data; @@ -46,7 +45,6 @@ class DroolsPolicyTest { @NoArgsConstructor @EqualsAndHashCode(callSuper = true) public static class DerivedDomainPolicy extends DroolsPolicy implements Serializable { - @Serial private static final long serialVersionUID = -1027974819756498893L; } |