From 56c7a53919852f69767f80ae5d671794a985a163 Mon Sep 17 00:00:00 2001 From: "adheli.tavares" Date: Wed, 6 Sep 2023 09:54:17 +0100 Subject: Upgrade Java 17 in xacml-pdp Issue-ID: POLICY-4821 Change-Id: I96843c7be9f0ef93ca76c85d682fffb2bdfaff13 Signed-off-by: adheli.tavares --- tutorials/pom.xml | 7 ++++--- tutorials/tutorial-enforcement/pom.xml | 8 ++------ .../main/java/org/onap/policy/tutorial/policyenforcement/App.java | 5 +++-- tutorials/tutorial-xacml-application/pom.xml | 7 ++++--- 4 files changed, 13 insertions(+), 14 deletions(-) (limited to 'tutorials') diff --git a/tutorials/pom.xml b/tutorials/pom.xml index 391e9c83..24494dbd 100644 --- a/tutorials/pom.xml +++ b/tutorials/pom.xml @@ -4,6 +4,7 @@ ================================================================================ Copyright (C) 2020 AT&T Intellectual Property. All rights reserved. Modifications Copyright (C) 2020 Bell Canada. + Modifications Copyright (C) 2023 Nordix Foundation. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -20,19 +21,19 @@ --> + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 org.onap.policy.xacml-pdp policy-xacml-pdp - 3.0.0-SNAPSHOT + 3.0.1-SNAPSHOT xacml-tutorials pom ${project.artifactId} - This sub-module holds the XACML PDP Application Tutorials. + This submodule holds the XACML PDP Application Tutorials. diff --git a/tutorials/tutorial-enforcement/pom.xml b/tutorials/tutorial-enforcement/pom.xml index 07795514..562b1a51 100644 --- a/tutorials/tutorial-enforcement/pom.xml +++ b/tutorials/tutorial-enforcement/pom.xml @@ -4,6 +4,7 @@ ================================================================================ Copyright (C) 2020 AT&T Intellectual Property. All rights reserved. Modifications Copyright (C) 2020 Bell Canada. + Modifications Copyright (C) 2023 Nordix Foundation. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -26,7 +27,7 @@ org.onap.policy.xacml-pdp xacml-tutorials - 3.0.0-SNAPSHOT + 3.0.1-SNAPSHOT org.onap.policy.tutorial @@ -36,11 +37,6 @@ tutorial-xacml-enforcement - - org.onap.policy.models - policy-models-decisions - ${policy.models.version} - org.onap.policy.models policy-models-pap diff --git a/tutorials/tutorial-enforcement/src/main/java/org/onap/policy/tutorial/policyenforcement/App.java b/tutorials/tutorial-enforcement/src/main/java/org/onap/policy/tutorial/policyenforcement/App.java index 6b291c6a..78d06841 100644 --- a/tutorials/tutorial-enforcement/src/main/java/org/onap/policy/tutorial/policyenforcement/App.java +++ b/tutorials/tutorial-enforcement/src/main/java/org/onap/policy/tutorial/policyenforcement/App.java @@ -1,6 +1,7 @@ /*- * ============LICENSE_START======================================================= * Copyright (C) 2020-2021 AT&T Intellectual Property. All rights reserved. + * Modifications Copyright (C) 2023 Nordix Foundation. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,14 +19,14 @@ package org.onap.policy.tutorial.policyenforcement; +import jakarta.ws.rs.client.Entity; +import jakarta.ws.rs.core.MediaType; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.Map.Entry; import java.util.Scanner; -import javax.ws.rs.client.Entity; -import javax.ws.rs.core.MediaType; import org.onap.policy.common.endpoints.event.comm.Topic.CommInfrastructure; import org.onap.policy.common.endpoints.event.comm.TopicEndpointManager; import org.onap.policy.common.endpoints.event.comm.TopicListener; diff --git a/tutorials/tutorial-xacml-application/pom.xml b/tutorials/tutorial-xacml-application/pom.xml index 002f5f5c..add80402 100644 --- a/tutorials/tutorial-xacml-application/pom.xml +++ b/tutorials/tutorial-xacml-application/pom.xml @@ -3,7 +3,7 @@ ONAP Policy Engine - XACML Application Tutorial ================================================================================ Copyright (C) 2020 AT&T Intellectual Property. All rights reserved. - Modifications Copyright (C) 2022 Nordix Foundation. + Modifications Copyright (C) 2022-2023 Nordix Foundation. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -19,13 +19,14 @@ ============LICENSE_END========================================================= --> - + 4.0.0 org.onap.policy.xacml-pdp xacml-tutorials - 3.0.0-SNAPSHOT + 3.0.1-SNAPSHOT jar -- cgit 1.2.3-korg