IMPACTS
To include "role" (category) in the model schema. This enables us to query the models from AAI by their category (NST/NSST/CST) by OOF during NST selection.
(Frankfurt improvements - Reference to NST selection flow)
Impacted Modules in AAI
- aai-schema-schema - add role as part of the model schema
- aai-babel - Babel converts the TOSCA artifact to AAI's XML format(Babel artifact). So, fetch category from TOSCA artifact and add it to Babel artifact.
EXISTING MODEL
JSON Viewer |
---|
mode | Text |
---|
width | 500 |
---|
height | 600 |
---|
|
{
"model":[
{
"model-invariant-id":"string",
"model-type":"string",
"resource-version":"string",
"model-vers":[
{
"model-version-id":"string",
"model-name":"string",
"model-version":"string",
"distribution-status":"string",
"model-description":"string",
"resource-version":"string",
"orchestration-type":"string",
"model-elements":[
{
"model-element-uuid":"string",
"new-data-del-flag":"string",
"cardinality":"string",
"linkage-points":"string",
"resource-version":"string",
"model-elements":[
],
"model-constraints":[
],
"relationship-list":{
}
}
],
"metadata":[
],
"relationship-list":{
}
}
],
"relationship-list":{
}
}
]
} |
JSON Viewer |
---|
mode | Text |
---|
width | 500 |
---|
height | 600 |
---|
|
{
"model":[
{
"model-invariant-id":"string",
"model-type":"string",
"role":"string",
"resource-version":"string",
"model-vers":[
{
"model-version-id":"string",
"model-name":"string",
"model-version":"string",
"distribution-status":"string",
"model-description":"string",
"resource-version":"string",
"orchestration-type":"string",
"model-elements":[
{
"model-element-uuid":"string",
"new-data-del-flag":"string",
"cardinality":"string",
"linkage-points":"string",
"resource-version":"string",
"model-elements":[
],
"model-constraints":[
],
"relationship-list":{
}
}
],
"metadata":[
],
"relationship-list":{
}
}
],
"relationship-list":{
}
}
]
} |