diff options
author | Lukasz Rajewski <lukasz.rajewski@orange.com> | 2021-09-21 12:24:24 +0200 |
---|---|---|
committer | Lukasz Rajewski <lukasz.rajewski@orange.com> | 2021-09-21 12:27:49 +0200 |
commit | e43054542afd4186afaad7f9b46c6b61cd38ccbf (patch) | |
tree | 6187881b785911370ef3b325659af1d4a2e8a55c /aai-schema/src/main | |
parent | 7b0fd78d4da43530d714f780a0b022135d36c662 (diff) |
Add parameters of k8s-resource required for deletion and identification
Issue-ID: AAI-3385
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Change-Id: Ib7f5fc85e47035a2374967035099a13507dcbc8e
Diffstat (limited to 'aai-schema/src/main')
-rw-r--r-- | aai-schema/src/main/resources/onap/oxm/v24/aai_oxm_v24.xml | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/aai-schema/src/main/resources/onap/oxm/v24/aai_oxm_v24.xml b/aai-schema/src/main/resources/onap/oxm/v24/aai_oxm_v24.xml index f717094..028db8e 100644 --- a/aai-schema/src/main/resources/onap/oxm/v24/aai_oxm_v24.xml +++ b/aai-schema/src/main/resources/onap/oxm/v24/aai_oxm_v24.xml @@ -15921,11 +15921,33 @@ <xml-property name="description" value="Query towards SO CNF adapter to retrieve full resource data."/> </xml-properties> </xml-element> + <xml-element java-attribute="dataOwner" name="data-owner" type="java.lang.String"> + <xml-properties> + <xml-property name="description" value="Identifies the entity that is responsible managing this inventory object."/> + <xml-property name="ownerCheck" value="N/A"/> + </xml-properties> + </xml-element> + <xml-element java-attribute="dataSource" name="data-source" type="java.lang.String"> + <xml-properties> + <xml-property name="description" value="Identifies the upstream source of the data."/> + </xml-properties> + </xml-element> + <xml-element java-attribute="dataSourceVersion" name="data-source-version" type="java.lang.String"> + <xml-properties> + <xml-property name="description" value="Identifies the version of the upstream source."/> + </xml-properties> + </xml-element> + <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String"> + <xml-properties> + <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete."/> + </xml-properties> + </xml-element> </java-attributes> <xml-properties> <xml-property name="description" value="General purpose kubernetes resource."/> - <xml-property name="indexedProps" value="id,name,kind"/> - <xml-property name="searchable" value="id"/> + <xml-property name="nameProps" value="name"/> + <xml-property name="indexedProps" value="id,name,kind,group,version,data-owner,data-source,data-source-version"/> + <xml-property name="searchable" value="id,name,kind,group,version"/> <xml-property name="dependentOn" value="tenant"/> <xml-property name="container" value="k8s-resources"/> <xml-property name="uriTemplate" value="/k8s-resources/k8s-resource/{k8s-resource-id}"/> |