From 4415cacfa096f1d36e544d8c80280659471fda47 Mon Sep 17 00:00:00 2001 From: liamfallon Date: Fri, 17 Feb 2023 19:13:56 +0000 Subject: Clean up dependencies for London Release Issue-ID: POLICY-4482 Change-Id: I36b4e46604ecdbde7bb8b81e2c792214fc77af9f Signed-off-by: liamfallon --- .../onap/policy/models/pdp/concepts/PdpGroup.java | 8 +++---- .../packages/models-simulator-docker/pom.xml | 6 +----- models-tosca/pom.xml | 25 +--------------------- pom.xml | 9 -------- 4 files changed, 6 insertions(+), 42 deletions(-) diff --git a/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpGroup.java b/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpGroup.java index 845b7ad76..8f03e7d46 100644 --- a/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpGroup.java +++ b/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpGroup.java @@ -1,6 +1,6 @@ /*- * ============LICENSE_START======================================================= - * Copyright (C) 2019-2020 Nordix Foundation. + * Copyright (C) 2019-2020,2023 Nordix Foundation. * Modifications Copyright (C) 2019, 2021 AT&T Intellectual Property. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,7 +21,6 @@ package org.onap.policy.models.pdp.concepts; -import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.ArrayList; import java.util.HashSet; import java.util.LinkedHashMap; @@ -30,6 +29,7 @@ import java.util.Map; import java.util.stream.Collectors; import lombok.Data; import lombok.NoArgsConstructor; +import org.onap.policy.common.gson.annotation.GsonJsonIgnore; import org.onap.policy.common.parameters.BeanValidationResult; import org.onap.policy.common.parameters.ValidationResult; import org.onap.policy.common.parameters.ValidationStatus; @@ -124,14 +124,14 @@ public class PdpGroup implements PfNameVersion, Comparable { } @Override - @JsonIgnore + @GsonJsonIgnore public String getVersion() { // We need to pass a version for keying in the database return PfKey.NULL_KEY_VERSION; } @Override - @JsonIgnore + @GsonJsonIgnore public void setVersion(String version) { // Just ignore any version that is set } diff --git a/models-sim/packages/models-simulator-docker/pom.xml b/models-sim/packages/models-simulator-docker/pom.xml index c2ea4a28f..b541b6c18 100644 --- a/models-sim/packages/models-simulator-docker/pom.xml +++ b/models-sim/packages/models-simulator-docker/pom.xml @@ -2,7 +2,7 @@ ============LICENSE_START======================================================= Copyright (C) 2020 Bell Canada. Modifications 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. @@ -56,7 +56,6 @@ org.codehaus.gmaven groovy-maven-plugin - 2.1.1 validate @@ -142,9 +141,6 @@ build push - - onap/policy-models-simulator - diff --git a/models-tosca/pom.xml b/models-tosca/pom.xml index f875e0b14..c042a687d 100644 --- a/models-tosca/pom.xml +++ b/models-tosca/pom.xml @@ -1,7 +1,7 @@