Table of Contents |
---|
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
...
Required DB Schema update, see https://wikilf-onap.onapatlassian.orgnet/wiki/display/DW/CPS-352+%3A+Create+yang-model+for+DMI-registry+data (new revision of that model) Possible add 2 new leaves for separate registration
...
DMI notifies NCMP of new , deleted or changed cmhandles DMI Plugin NCMP. Including initial registration | Scenario : DMI notifies NCMP of new cmhandles Request Body
json attributes:
|
openAPI Updates
To support this the equivalent openAPI will be similar to the below in bold.
...
RestDmiPluginRegistration:
type: object
properties:
dmiPlugin:
type: string
required: false
example: onap-dmi-plugin
dmiDataPlugin:
type: string
required: false
example: onap-dmi-data-plugin
dmiModelPlugin:
type: string
required: false
example: onap-dmi-model-plugin
createdCmHandles:
type: array
items:
$ref: '#/components/schemas/RestCmHandle'
updatedCmHandles:
type: array
items:
$ref: '#/components/schemas/RestCmHandle'
removedCmHandles:
type: array
items:
type: string
NCMP-DMI APIs (Data/Model)
# | API | Data/Model | Notes |
---|---|---|---|
1 | /v1/ch/{cmHandle}/modules | Model | |
2 | /v1/inventory/cmHandles | Model | Some ambiguity for this API but it was decided it belongs with model |
3 | /v1/ch/{cmHandle}/moduleResources | Model | |
4 | /v1/ch/{cmHandle}/data/ds/ncmp-datastore:passthrough-operational | Data | |
5 | /v1/ch/{cmHandle}/data/ds/ncmp-datastore:passthrough-running | Data |