-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsampleservice1.json
More file actions
170 lines (170 loc) · 4.85 KB
/
sampleservice1.json
File metadata and controls
170 lines (170 loc) · 4.85 KB
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
{
"service": {
"version": "1.0.0.0",
"specVersion": "v3",
"catalog_metadata": {
"name": "dineshsampleResthook",
"description": "",
"image": "serviceicon_1.svg",
"category": "dinesh",
"bullets": [],
"providerDisplayName": "IBM",
"longDescription": "",
"documentationUrl": "",
"supportUrl": "",
"bindable": false,
"updatable": "",
"systemTags": true
},
"tags": [
{
"name": "environment",
"label": "Environment",
"type": "string",
"immutable": false,
"hidden": false,
"required": true,
"secured": false,
"description": "Unique identifer added to the provisioned VMs.",
"isSystemTag": true,
"customtype": "string",
"permission": "Read-Write",
"options": [
{
"label": "Development",
"value": "dev",
"default": true
},
{
"label": "Quality Assurance",
"value": "qa",
"default": false
},
{
"label": "Production",
"value": "prod",
"default": false
},
{
"label": "Test",
"value": "test",
"default": false
}
]
},
{
"name": "Name",
"label": "Name",
"type": "string",
"immutable": true,
"hidden": false,
"required": false,
"secured": false,
"description": "Name provided for the service instance by the end user at time of request",
"isSystemTag": true,
"customtype": "string",
"permission": "Read-Only",
"default": "${svc_instance.name}"
},
{
"name": "request_group",
"label": "request_group",
"type": "string",
"immutable": true,
"hidden": false,
"required": false,
"secured": false,
"description": "The current context group id of the current user that requested the provisioning of the template. This is important because a user may be part of more than one group and this identifies the context of which group the user made the request.",
"isSystemTag": true,
"customtype": "string",
"permission": "Read-Only",
"default": "${svc_instance.group}"
},
{
"name": "request_user",
"label": "request_user",
"type": "string",
"immutable": true,
"hidden": false,
"required": false,
"secured": false,
"description": "The user id of the current user that requested the provisioning of the template.",
"isSystemTag": true,
"customtype": "string",
"permission": "Read-Only",
"default": "${svc_instance.owner}"
},
{
"name": "service_name",
"label": "service_name",
"type": "string",
"immutable": true,
"hidden": false,
"required": false,
"secured": false,
"description": "Name provided for the service instance by the end user at time of request",
"isSystemTag": true,
"customtype": "string",
"permission": "Read-Only",
"default": "${svc_instance.name}"
},
{
"name": "service_identifier",
"label": "service_identifier",
"type": "string",
"immutable": true,
"hidden": false,
"required": false,
"secured": false,
"description": "Unique identifer generated by ICAM which is mapped to the service instance of the template provisioned.",
"isSystemTag": true,
"customtype": "string",
"permission": "Read-Only",
"default": "${svc_instance.service_instance_id}"
}
],
"upgrade_from": [],
"downgrade_to": [],
"actions": [
{
"type": "provision",
"name": "Provision",
"description": "Default action for deployment of service",
"input_parameters": [],
"flow": {
"conditions": [],
"templates": [],
"resthooks": [
{
"resthook": {
"title": "resthook_0ca7c7",
"id": "resthookc8c1cd67",
"headers": {
"accept": "application/json",
"Content-Type": "application/json"
},
"editable": true,
"url": "https://jsonplaceholder.typicode.com/todos/1",
"method": "GET"
}
}
],
"notifications": [],
"sequence": {
"0": "resthookc8c1cd67"
},
"error_sequence": {}
},
"output_parameters": []
}
],
"plans": [
{
"name": "Standard",
"description": "To deploy a Standard plan",
"actions": [],
"plan_parameters": []
}
]
}
}