From ac77e0be3acc65b898d6310eaf09b3ee1a0d1725 Mon Sep 17 00:00:00 2001 From: Joanna Jeremicz Date: Mon, 17 Jun 2019 11:06:13 +0200 Subject: Logical links creation bug Cleanup and test enhancements Change-Id: I0c5c027ceed13ec9b63b60555e78ef552122aeac Issue-ID: DCAEGEN2-1611 Signed-off-by: Joanna Jeremicz --- .../services/prh/model/bbs/Relationship.java | 33 ---------------------- .../prh/model/bbs/RelationshipWrapper.java | 33 ---------------------- 2 files changed, 66 deletions(-) delete mode 100644 prh-commons/src/main/java/org/onap/dcaegen2/services/prh/model/bbs/Relationship.java delete mode 100644 prh-commons/src/main/java/org/onap/dcaegen2/services/prh/model/bbs/RelationshipWrapper.java (limited to 'prh-commons') diff --git a/prh-commons/src/main/java/org/onap/dcaegen2/services/prh/model/bbs/Relationship.java b/prh-commons/src/main/java/org/onap/dcaegen2/services/prh/model/bbs/Relationship.java deleted file mode 100644 index 1abeddf3..00000000 --- a/prh-commons/src/main/java/org/onap/dcaegen2/services/prh/model/bbs/Relationship.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * ============LICENSE_START======================================================= - * PNF-REGISTRATION-HANDLER - * ================================================================================ - * Copyright (C) 2019 NOKIA Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ============LICENSE_END========================================================= - */ -package org.onap.dcaegen2.services.prh.model.bbs; - -import com.google.gson.annotations.SerializedName; -import org.immutables.gson.Gson; -import org.immutables.value.Value; - -@Value.Immutable -@Gson.TypeAdapters(fieldNamingStrategy = true) -@FunctionalInterface -public interface Relationship { - - @SerializedName(value = "related-link") - String getRelatedLink(); -} diff --git a/prh-commons/src/main/java/org/onap/dcaegen2/services/prh/model/bbs/RelationshipWrapper.java b/prh-commons/src/main/java/org/onap/dcaegen2/services/prh/model/bbs/RelationshipWrapper.java deleted file mode 100644 index dcf81c0f..00000000 --- a/prh-commons/src/main/java/org/onap/dcaegen2/services/prh/model/bbs/RelationshipWrapper.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * ============LICENSE_START======================================================= - * PNF-REGISTRATION-HANDLER - * ================================================================================ - * Copyright (C) 2019 NOKIA Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ============LICENSE_END========================================================= - */ -package org.onap.dcaegen2.services.prh.model.bbs; - -import com.google.gson.annotations.SerializedName; -import org.immutables.gson.Gson; -import org.immutables.value.Value; - -@Value.Immutable -@Gson.TypeAdapters(fieldNamingStrategy = true) -@FunctionalInterface -public interface RelationshipWrapper { - - @SerializedName(value = "relationship") - Relationship getRelationship(); -} -- cgit 1.2.3-korg