Define nameProps for Configuration object 87/22287/2
authorramu.n <ramu.n@huawei.com>
Mon, 6 Nov 2017 11:07:24 +0000 (16:37 +0530)
committerramu.n <ramu.n@huawei.com>
Mon, 6 Nov 2017 12:36:05 +0000 (18:06 +0530)
SDNC store underlay/overlay network configuration information in
"Configuration" object of AAI with relashionship to "service-instance".
SO need to query "Configuration" based on configuration-id &
configuration-type, since configuration-type is non-key field it can't
be added in relashionship-data.
If define configuration-type as nameProps then SO can get
configuration-type value from "related-to-property".

Change-Id: I82a5bcbd66183cc195273234a42c00e2a4a8ea5a
Issue-Id: AAI-451
Signed-off-by: Ramu N <ramu.n@huawei.com>
aai-schema/src/main/resources/oxm/aai_oxm_v11.xml

index 89bf91d..90d023c 100644 (file)
                                <xml-property name="uniqueProps" value="configuration-id" />
                                <xml-property name="container" value="configurations" />
                                <xml-property name="namespace" value="network" />
+                               <xml-property name="nameProps" value="configuration-type" />
                        </xml-properties>
                </java-type>