diff options
Diffstat (limited to 'generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/util')
2 files changed, 27 insertions, 0 deletions
diff --git a/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/util/GenericResourceApiSvcLogicServiceClientMockUtil.java b/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/util/GenericResourceApiSvcLogicServiceClientMockUtil.java index 36c6c7ff..b0cd627e 100644 --- a/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/util/GenericResourceApiSvcLogicServiceClientMockUtil.java +++ b/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/util/GenericResourceApiSvcLogicServiceClientMockUtil.java @@ -50,6 +50,7 @@ public class GenericResourceApiSvcLogicServiceClientMockUtil { public final String ackFinal = "ack-final"; public final String serviceObjectPath = "service-object-path"; public final String networkObjectPath = "network-object-path"; + public final String pnfObjectPath = "pnf-object-path"; public final String vnfObjectPath = "vnf-object-path"; public final String vfModuleObjectPath = "vf-module-object-path"; public final String networkId = "networkId"; @@ -98,6 +99,7 @@ public class GenericResourceApiSvcLogicServiceClientMockUtil { .set(ackFinal, "Y") .set(serviceObjectPath, "serviceObjectPath: XYZ") .set(networkObjectPath, "networkObjectPath: XYZ") + .set(pnfObjectPath, "pnfObjectPath: XYZ") .set(vnfObjectPath, "vnfObjectPath: XYZ") .set(vfModuleObjectPath, "vfModuleObjectPath: XYZ") .set(networkId, "networkId: XYZ"); diff --git a/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/util/MDSALUtil.java b/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/util/MDSALUtil.java index 9ed690ca..d959b9f2 100644 --- a/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/util/MDSALUtil.java +++ b/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/util/MDSALUtil.java @@ -46,6 +46,8 @@ import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.re import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.VfModuleTopologyOperationOutputBuilder; import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.VnfTopologyOperationInputBuilder; import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.VnfTopologyOperationOutputBuilder; +import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.PnfTopologyOperationInputBuilder; +import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.PnfTopologyOperationOutputBuilder; import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.brg.response.information.BrgResponseInformationBuilder; import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.connection.attachment.response.information.ConnectionAttachmentResponseInformationBuilder; import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.contrail.route.response.information.ContrailRouteResponseInformationBuilder; @@ -71,6 +73,9 @@ import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.re import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.vnf.information.VnfInformationBuilder; import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.vnf.response.information.VnfResponseInformationBuilder; import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.vnf.topology.identifier.structure.VnfTopologyIdentifierStructureBuilder; +import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.pnf.details.PnfDetailsBuilder; +import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.pnf.response.information.PnfResponseInformationBuilder; +import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.pnf.topology.identifier.structure.PnfTopologyIdentifierStructureBuilder; import org.opendaylight.yangtools.concepts.Builder; import org.opendaylight.yangtools.yang.common.RpcResult; @@ -158,6 +163,14 @@ public class MDSALUtil { return new VfModuleTopologyOperationOutputBuilder(); } + public static PnfTopologyOperationInputBuilder pnfTopologyOperationInput() { + return new PnfTopologyOperationInputBuilder(); + } + + public static PnfTopologyOperationOutputBuilder pnfTopologyOperationOutput() { + return new PnfTopologyOperationOutputBuilder(); + } + public static VnfTopologyOperationInputBuilder vnfTopologyOperationInput() { return new VnfTopologyOperationInputBuilder(); } @@ -204,6 +217,10 @@ public class MDSALUtil { return new ContrailRouteResponseInformationBuilder(); } + public static PnfResponseInformationBuilder pnfResponseInformation() { + return new PnfResponseInformationBuilder(); + } + public static VnfResponseInformationBuilder vnfResponseInformation() { return new VnfResponseInformationBuilder(); } @@ -224,6 +241,10 @@ public class MDSALUtil { return new NetworkTopologyIdentifierStructureBuilder(); } + public static PnfDetailsBuilder pnfDetailsBuilder() { + return new PnfDetailsBuilder(); + } + public static VnfInformationBuilder vnfInformationBuilder() { return new VnfInformationBuilder(); } @@ -256,6 +277,10 @@ public class MDSALUtil { return new NetworkTopologyOperationOutputBuilder(); } + public static PnfTopologyIdentifierStructureBuilder pnfTopologyIdentifierStructureBuilder() { + return new PnfTopologyIdentifierStructureBuilder(); + } + public static VnfTopologyIdentifierStructureBuilder vnfTopologyIdentifierStructureBuilder() { return new VnfTopologyIdentifierStructureBuilder(); } |