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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
{
"request": {
"method": "POST",
"url": "/sdc/v1/catalog/services",
"headers": {
"USER_ID": {
"contains": "cs0008"
}
},
"bodyPatterns": [
{
"contains": "\"name\":\"partner-service\""
}
]
},
"response": {
"status": 201,
"jsonBody": {
"uuid": "1e3feeb0-8e36-46c6-862c-236d9c626439",
"href": "/serviceSpecification/1e3feeb0-8e36-46c6-862c-236d9c626439",
"name": "partner-service",
"description": "service",
"@type": "ServiceSpecification",
"@schemaLocation": null,
"@baseType": "Service",
"toscaModelURL": "/",
"toscaResourceName": "string",
"category": "Partner Domain Service",
"subcategory": "string",
"version": "1.0",
"lifecycleState": "NOT_CERTIFIED_CHECKOUT",
"targetServiceSchema": {
"@type": "string",
"@schemaLocation": "/"
},
"artifacts": [
{
"artifactUUID": "1eadef",
"artifactName": "info-artifact",
"artifactDescription": "informational",
"artifactLabel": "notes",
"artifactGroupType": "info",
"artifactTimeout": "500",
"artifactChecksum": "adef23",
"artifactVersion": "1.0",
"generatedFromUUID": "a12e",
"artifactURL": "/artifact/info/1eadef",
"artifactType": "text"
}
],
"lastUpdaterUserId": "cs0008",
"lastUpdaterFullName": "Carlos Santana",
"resources": [
{
"resourceUUID": "281abc4d",
"resourceVersion": "1.0",
"resourceName": "vfirewall",
"resourceInstanceName": "vfirewallinst",
"resourceInvariantUUID": "123ebdf",
"resoucreType": "VNF"
}
],
"properties": [
{
"type": "boolean",
"required": true,
"definition": false,
"description": "is bundled or not",
"name": "isBundle",
"value": "true",
"defaultValue": true
},
{
"type": "string",
"required": true,
"definition": false,
"description": "ipaddress",
"name": "ipaddress",
"value": "10.244.34.1",
"defaultValue": true
},
{
"type": "string",
"required": true,
"definition": false,
"description": "Firewall characteristic",
"name": "firewall",
"value": "NA",
"defaultValue": true
},
{
"type": "integer",
"required": true,
"definition": false,
"description": "Number of Ports",
"name": "NumberofPorts",
"value": "10",
"defaultValue": true
}
]
},
"headers": {
"Content-Type": "application/json"
}
}
}
|