Table of Contents |
---|
Issues & Decisions
# | Issue | Notes | Decision |
---|---|---|---|
1 | Separating of Interfaces | Tony recommended NOT to split the interfaces.
| Check with stakeholders (Peter and Kieran) |
...
At least one of either (dmiPlugin) or (dmiDataPlugin + dmiModelPlugin) must be defined in the interface. Otherwise a "Bad Request" error will be returned to calling dmi-plugin.
Interface Sketch
DMI notifies NCMP of new , deleted or changed cmhandles DMI Plugin NCMP. Including initial registrationPOST | {ncmpRoot}/ncmp/v1/ch/ | 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.
Code Block | ||
---|---|---|
| ||
RestCmHandle: |
...
required: |
...
- cmHandle |
...
type: object |
...
properties: |
...
cmHandle: |
...
type: string |
...
example: cmHandle123 |
...
cmHandleProperties: |
...
$ref: '#/components/schemas/RestCmHandleAdditionalProperties' |
...
RestCmHandleAdditionalProperties: |
...
type: object |
...
additionalProperties: |
...
type: string |
...
example: system-001 |
...
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 |