aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorajinkya-patil <ajinkya-patil@t-systems.com>2024-09-24 12:24:42 +0530
committerAjinkya Patil <ajinkya-patil@t-systems.com>2024-10-17 09:48:50 +0000
commita7577cb59e90ef1c6ba5031b138fb1b45b828f95 (patch)
tree16156234d9ee9a427424dc0bf515cf17e3a80d24 /main
parentd1c420217e67337bec7cee3071db995d97a4a87c (diff)
Added tosca xacml policy type in Native Application
Added new onap.policies.native.ToscaXacml policy type in native application. Issue-ID: POLICY-5128 Change-Id: I2b5b606f93be82b78f69c2a4d7d8f021f3db328b Signed-off-by: ajinkya-patil <ajinkya-patil@t-systems.com>
Diffstat (limited to 'main')
-rw-r--r--main/src/test/java/org/onap/policy/pdpx/main/rest/XacmlPdpApplicationManagerTest.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/src/test/java/org/onap/policy/pdpx/main/rest/XacmlPdpApplicationManagerTest.java b/main/src/test/java/org/onap/policy/pdpx/main/rest/XacmlPdpApplicationManagerTest.java
index e4a61d53..f1ac0942 100644
--- a/main/src/test/java/org/onap/policy/pdpx/main/rest/XacmlPdpApplicationManagerTest.java
+++ b/main/src/test/java/org/onap/policy/pdpx/main/rest/XacmlPdpApplicationManagerTest.java
@@ -2,6 +2,7 @@
* ============LICENSE_START=======================================================
* Copyright (C) 2020-2022 AT&T Intellectual Property. All rights reserved.
* Modifications Copyright (C) 2024 Nordix Foundation.
+ * Modifications Copyright (C) 2024 Deutsche Telekom AG.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -144,10 +145,10 @@ class XacmlPdpApplicationManagerTest {
//
assertThat(manager).isNotNull();
assertThat(manager.getPolicyCount()).isZero();
- assertThat(manager.getPolicyTypeCount()).isEqualTo(18);
+ assertThat(manager.getPolicyTypeCount()).isEqualTo(19);
assertThat(manager.getToscaPolicies()).isEmpty();
assertThat(manager.getToscaPolicyIdentifiers()).isEmpty();
- assertThat(manager.getToscaPolicyTypeIdents()).hasSize(18);
+ assertThat(manager.getToscaPolicyTypeIdents()).hasSize(19);
assertThat(manager.findNativeApplication()).isInstanceOf(NativePdpApplication.class);