...
- Asdc_artifacts_id <next_serial_number>
- Artifact_type <APPC-CONFIG>
- Artifact_version <0.1>
- Artifact_description <VNF Management Admin Artifact>
- Internal_version <start with 0 and increment upon new verion>
- Creation_date <system date and time>
- Artifact_name <ansible_admin_FQDN_Artifact_0.0.1V.json>
- Artifact_content <actual json refer to the sample below>
CDT will keep using the Design interface to retrieve and save Admin Artifact to the new table above. Admin artifact is VNF and action agnostic. Those attributes will have a null value as inputs of the API calls.
- User ID = “admin”
- Vnf-type = null
- Action = null
/operations/design-services:dbservice
Code Block | ||||
---|---|---|---|---|
| ||||
{
"input": {
"design-request": {
"request-id":"704632839946",
"action": "uploadArtifact",
"payload":
"{\"userID\": \"admin\",\"vnf-type\" : \"NULL
\",\"action\" : \"NULL\",\"artifact-name\" :
\"reference_AllAction_vnfc2_0.0.1V.json\",\"artifact-type\"
: \"APPC-CONFIG\",\"artifact-version\" :
\"0.1\",\"artifact-contents\": "<content>”
}
}
} |
Sample request to retrieve:
{
"input": {
"design-request": {
"request-id": "704632839946",
"action": "getArtifact",
"payload": "{\"vnf-type\":\"NULL\",\"vnfc-type\":\"null\",\"protocol\":\"\",\"incart\":\"N\",\"action\":\"NULL \",\"artifact-name\":\"reference_AllAction_vnfc2_0.0.1V.json\",\"artifact-type\":\"APPC-CONFIG\",\"userID\":\"admin\"}"
}
}
}
CDT GUI enhancement:
Runtime enhancement:
...