summaryrefslogtreecommitdiffstats
path: root/applications
diff options
context:
space:
mode:
Diffstat (limited to 'applications')
-rw-r--r--applications/guard/src/test/java/org/onap/policy/xacml/pdp/application/guard/GuardPdpApplicationTest.java1
-rw-r--r--applications/guard/src/test/resources/vDNS.policy.guard.blacklist.output.tosca.yaml6
-rw-r--r--applications/guard/src/test/resources/vDNS.policy.guard.frequency.output.tosca.yaml4
-rw-r--r--applications/guard/src/test/resources/vDNS.policy.guard.minmax.output.tosca.yaml4
4 files changed, 8 insertions, 7 deletions
diff --git a/applications/guard/src/test/java/org/onap/policy/xacml/pdp/application/guard/GuardPdpApplicationTest.java b/applications/guard/src/test/java/org/onap/policy/xacml/pdp/application/guard/GuardPdpApplicationTest.java
index 7f5a1cef..c4ae5ddb 100644
--- a/applications/guard/src/test/java/org/onap/policy/xacml/pdp/application/guard/GuardPdpApplicationTest.java
+++ b/applications/guard/src/test/java/org/onap/policy/xacml/pdp/application/guard/GuardPdpApplicationTest.java
@@ -360,6 +360,7 @@ public class GuardPdpApplicationTest {
assertThat(decision.getKey().getStatus()).isEqualTo("Deny");
}
+ @SuppressWarnings("unchecked")
@Test
public void test6Blacklist() throws CoderException, XacmlApplicationException {
LOGGER.info("**************** Running test4 ****************");
diff --git a/applications/guard/src/test/resources/vDNS.policy.guard.blacklist.output.tosca.yaml b/applications/guard/src/test/resources/vDNS.policy.guard.blacklist.output.tosca.yaml
index 94471fb4..7d3a54ec 100644
--- a/applications/guard/src/test/resources/vDNS.policy.guard.blacklist.output.tosca.yaml
+++ b/applications/guard/src/test/resources/vDNS.policy.guard.blacklist.output.tosca.yaml
@@ -2,7 +2,7 @@ tosca_definitions_version: tosca_simple_yaml_1_0_0
topology_template:
policies:
-
- guard.blacklist.scaleout:
+ guard.frequency.scaleout:
type: onap.policies.controlloop.guard.Blacklist
version: 1.0.0
metadata:
@@ -14,5 +14,5 @@ topology_template:
targets: vLoadBalancer-01
clname: ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3
limit: 2
- guardActiveStart: 00:00:00-05:00
- guardActiveEnd: 23:59:59-05:00
+ guardActiveStart: 00:00:00Z
+ guardActiveEnd: 23:59:59Z
diff --git a/applications/guard/src/test/resources/vDNS.policy.guard.frequency.output.tosca.yaml b/applications/guard/src/test/resources/vDNS.policy.guard.frequency.output.tosca.yaml
index fd414e13..506a44ed 100644
--- a/applications/guard/src/test/resources/vDNS.policy.guard.frequency.output.tosca.yaml
+++ b/applications/guard/src/test/resources/vDNS.policy.guard.frequency.output.tosca.yaml
@@ -16,5 +16,5 @@ topology_template:
limit: 2
timeWindow: 10
timeUnits: minute
- guardActiveStart: 00:00:00-05:00
- guardActiveEnd: 23:59:59-05:00
+ guardActiveStart: 00:00:00Z
+ guardActiveEnd: 23:59:59Z
diff --git a/applications/guard/src/test/resources/vDNS.policy.guard.minmax.output.tosca.yaml b/applications/guard/src/test/resources/vDNS.policy.guard.minmax.output.tosca.yaml
index 88d2186e..ff2a423d 100644
--- a/applications/guard/src/test/resources/vDNS.policy.guard.minmax.output.tosca.yaml
+++ b/applications/guard/src/test/resources/vDNS.policy.guard.minmax.output.tosca.yaml
@@ -15,5 +15,5 @@ topology_template:
clname: ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3
min: 2
max: 5
- guardActiveStart: 00:00:00-05:00
- guardActiveEnd: 23:59:59-05:00
+ guardActiveStart: 00:00:00Z
+ guardActiveEnd: 23:59:59Z