1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
[
{
"operation": "shift",
"spec": {
"name": "name",
"description": "description",
"toscaModelURL": "toscaModelURL",
"toscaResourceName": "toscaResourceName",
"category": "categories[].name",
"version": "version",
"lifecycleStatus": "lifecycleState",
"serviceSpecCharacteristic": {
"*": {
"name": "properties[&1].name",
"description": "properties[&1].description",
"valueType": "properties[&1].type",
"required": "properties[&1].required",
"serviceSpecCharacteristicValue": {
"*": {
"value": "properties[&3].value",
"isDefault": {
"true": {
"@(2,value)": "properties[&5].defaultValue"
}
}
}
}
}
},
"attachment": {
"*": {
"id": "artifacts[&1].artifactUUID",
"name": "artifacts[&1].artifactName",
"description": "artifacts[&1].artifactDescription",
"artifactLabel": "artifacts[&1].artifactLabel",
"artifactGroupType": "artifacts[&1].artifactGroupType",
"artifactTimeout": "artifacts[&1].artifactTimeout",
"artifactChecksum": "artifacts[&1].artifactChecksum",
"artifactVersion": "artifacts[&1].artifactVersion",
"generatedFromUUID": "artifacts[&1].generatedFromUUID",
"url": "artifacts[&1].artifactURL",
"mimeType": "artifacts[&1].artifactType"
}
},
"relatedParty": {
"*": {
"id": ["contactId", "lastUpdaterUserId"],
"name": "lastUpdaterFullName"
}
},
"resourceSpecification": {
"*": {
"id": "resources[&1].resourceUUID",
"version": "resources[&1].resourceVersion",
"name": "resources[&1].resourceName",
"resourceInstanceName": "resources[&1].resourceInstanceName",
"resourceInvariantUUID": "resources[&1].resourceInvariantUUID",
"resoucreType": "resources[&1].resourceType"
}
}
}
},
{
"operation": "default",
"spec": {
"@type": "ONAPservicespec",
"distributionStatus": "DISTRIBUTION_NOT_APPROVED",
"categories": {
"*": {
"name": ""
}
}
}
}
]
|