AAI url addition for Metadatum 31/85031/1
authorsubhash kumar singh <subhash.kumar.singh@huawei.com>
Thu, 11 Apr 2019 09:23:57 +0000 (14:53 +0530)
committersubhash kumar singh <subhash.kumar.singh@huawei.com>
Thu, 11 Apr 2019 09:23:57 +0000 (14:53 +0530)
AAI url addition for Metadatum for BBS requirement.

Change-Id: I37a5d12c83d758b69506dc0128601cdb358f4f4a
Issue-ID: SO-1578
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
common/src/main/java/org/onap/so/client/aai/AAIObjectPlurals.java
common/src/main/java/org/onap/so/client/aai/AAIObjectType.java

index 923a680..d02b482 100644 (file)
@@ -70,6 +70,7 @@ public class AAIObjectPlurals implements GraphInventoryObjectPlurals, Serializab
             new AAIObjectPlurals(AAIObjectType.VSERVER.uriTemplate(), "/l-interfaces", "l-interface");
     public static final AAIObjectPlurals SUB_L_INTERFACE =
             new AAIObjectPlurals(AAIObjectType.L_INTERFACE.uriTemplate(), "/l-interfaces", "l-interface");
+    public static final AAIObjectPlurals PNF = new AAIObjectPlurals(AAINamespaceConstants.NETWORK, "/pnfs", "pnfs");
 
     private final String uriTemplate;
     private final String partialUri;
index 2ce4d8c..cd4e112 100644 (file)
@@ -119,6 +119,10 @@ public class AAIObjectType implements GraphInventoryObjectType, Serializable {
             new AAIObjectType(AAINamespaceConstants.CLOUD_INFRASTRUCTURE, Pserver.class);
     public static final AAIObjectType SERVICE_SUBSCRIPTION =
             new AAIObjectType(AAIObjectType.CUSTOMER.uriTemplate(), ServiceSubscription.class);
+
+    public static final AAIObjectType SERVICE_INSTANCE_METADATA = new AAIObjectType(
+            AAIObjectType.SERVICE_INSTANCE + "/metadata", org.onap.aai.domain.yang.v13.Metadata.class);
+
     public static final AAIObjectType SERVICE_INSTANCE =
             new AAIObjectType(AAIObjectType.SERVICE_SUBSCRIPTION.uriTemplate(), ServiceInstance.class);
     public static final AAIObjectType PROJECT = new AAIObjectType(AAINamespaceConstants.BUSINESS, Project.class);