@itentialopensource/adapter-microsoft_graph 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.eslintignore +6 -0
- package/.eslintrc.js +18 -0
- package/.gitlab/.gitkeep +0 -0
- package/.gitlab/issue_templates/.gitkeep +0 -0
- package/.gitlab/issue_templates/Default.md +17 -0
- package/.gitlab/issue_templates/bugReportTemplate.md +42 -0
- package/.gitlab/issue_templates/featureRequestTemplate.md +14 -0
- package/.jshintrc +0 -0
- package/AUTH.md +39 -0
- package/BROKER.md +199 -0
- package/CALLS.md +170 -0
- package/CHANGELOG.md +9 -0
- package/CODE_OF_CONDUCT.md +43 -0
- package/CONTRIBUTING.md +172 -0
- package/ENHANCE.md +69 -0
- package/LICENSE +201 -0
- package/PROPERTIES.md +641 -0
- package/README.md +337 -0
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +11 -0
- package/TROUBLESHOOT.md +47 -0
- package/adapter.js +18798 -0
- package/adapterBase.js +1787 -0
- package/entities/.generic/action.json +214 -0
- package/entities/.generic/schema.json +28 -0
- package/entities/.system/action.json +50 -0
- package/entities/.system/mockdatafiles/getToken-default.json +3 -0
- package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
- package/entities/.system/schema.json +19 -0
- package/entities/.system/schemaTokenReq.json +53 -0
- package/entities/.system/schemaTokenResp.json +53 -0
- package/entities/Applications/action.json +127 -0
- package/entities/Applications/schema.json +35 -0
- package/entities/AzureADDevice/action.json +106 -0
- package/entities/AzureADDevice/schema.json +45 -0
- package/entities/Batch/action.json +24 -0
- package/entities/Batch/schema.json +19 -0
- package/entities/CaseCreation/action.json +249 -0
- package/entities/CaseCreation/schema.json +30 -0
- package/entities/Catalog/action.json +25 -0
- package/entities/Catalog/schema.json +19 -0
- package/entities/ConnectionSetup/action.json +148 -0
- package/entities/ConnectionSetup/schema.json +25 -0
- package/entities/ContentSync/action.json +65 -0
- package/entities/ContentSync/schema.json +21 -0
- package/entities/CreateDSR/action.json +45 -0
- package/entities/CreateDSR/schema.json +20 -0
- package/entities/Deployment/action.json +106 -0
- package/entities/Deployment/schema.json +34 -0
- package/entities/DeploymentAudience/action.json +66 -0
- package/entities/DeploymentAudience/schema.json +32 -0
- package/entities/Events/action.json +108 -0
- package/entities/Events/schema.json +34 -0
- package/entities/Files/action.json +108 -0
- package/entities/Files/schema.json +23 -0
- package/entities/Groups/action.json +25 -0
- package/entities/Groups/schema.json +19 -0
- package/entities/IdentitySync/action.json +105 -0
- package/entities/IdentitySync/schema.json +23 -0
- package/entities/Insights/action.json +46 -0
- package/entities/Insights/schema.json +20 -0
- package/entities/LabelManagement/action.json +106 -0
- package/entities/LabelManagement/schema.json +23 -0
- package/entities/Mail/action.json +212 -0
- package/entities/Mail/schema.json +72 -0
- package/entities/Memberships/action.json +167 -0
- package/entities/Memberships/schema.json +70 -0
- package/entities/Misc/action.json +66 -0
- package/entities/Misc/schema.json +21 -0
- package/entities/Notebooks/action.json +107 -0
- package/entities/Notebooks/schema.json +34 -0
- package/entities/OpenExtensions/action.json +65 -0
- package/entities/OpenExtensions/schema.json +54 -0
- package/entities/People/action.json +46 -0
- package/entities/People/schema.json +31 -0
- package/entities/SchemaExtensions/action.json +65 -0
- package/entities/SchemaExtensions/schema.json +32 -0
- package/entities/Search/action.json +24 -0
- package/entities/Search/schema.json +19 -0
- package/entities/Security/action.json +151 -0
- package/entities/Security/schema.json +58 -0
- package/entities/SharePoint/action.json +214 -0
- package/entities/SharePoint/schema.json +39 -0
- package/entities/Subscriptions/action.json +65 -0
- package/entities/Subscriptions/schema.json +32 -0
- package/entities/TasksPlanner/action.json +272 -0
- package/entities/TasksPlanner/schema.json +86 -0
- package/entities/TasksTodo/action.json +187 -0
- package/entities/TasksTodo/schema.json +49 -0
- package/entities/Teams/action.json +519 -0
- package/entities/Teams/schema.json +120 -0
- package/entities/TrackDSRStatus/action.json +108 -0
- package/entities/TrackDSRStatus/schema.json +23 -0
- package/entities/TriggerEventForExistingLabel/action.json +108 -0
- package/entities/TriggerEventForExistingLabel/schema.json +23 -0
- package/entities/Users/action.json +213 -0
- package/entities/Users/schema.json +50 -0
- package/entities/WorkflowAutomation/action.json +249 -0
- package/entities/WorkflowAutomation/schema.json +30 -0
- package/error.json +190 -0
- package/package.json +87 -0
- package/pronghorn.json +8654 -0
- package/propertiesDecorators.json +14 -0
- package/propertiesSchema.json +1248 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/creationReport.json +1715 -0
- package/report/graph.json +14709 -0
- package/sampleProperties.json +195 -0
- package/test/integration/adapterTestBasicGet.js +83 -0
- package/test/integration/adapterTestConnectivity.js +93 -0
- package/test/integration/adapterTestIntegration.js +6059 -0
- package/test/unit/adapterBaseTestUnit.js +949 -0
- package/test/unit/adapterTestUnit.js +7492 -0
- package/utils/adapterInfo.js +206 -0
- package/utils/addAuth.js +94 -0
- package/utils/artifactize.js +146 -0
- package/utils/basicGet.js +50 -0
- package/utils/checkMigrate.js +63 -0
- package/utils/entitiesToDB.js +178 -0
- package/utils/findPath.js +74 -0
- package/utils/methodDocumentor.js +225 -0
- package/utils/modify.js +154 -0
- package/utils/packModificationScript.js +35 -0
- package/utils/patches2bundledDeps.js +90 -0
- package/utils/pre-commit.sh +32 -0
- package/utils/removeHooks.js +20 -0
- package/utils/setup.js +33 -0
- package/utils/tbScript.js +246 -0
- package/utils/tbUtils.js +490 -0
- package/utils/testRunner.js +298 -0
- package/utils/troubleshootingAdapter.js +195 -0
- package/workflows/README.md +3 -0
@@ -0,0 +1,214 @@
|
|
1
|
+
{
|
2
|
+
"actions": [
|
3
|
+
{
|
4
|
+
"name": "getGenerics",
|
5
|
+
"protocol": "REST",
|
6
|
+
"method": "GET",
|
7
|
+
"entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
|
8
|
+
"requestSchema": "schema.json",
|
9
|
+
"responseSchema": "schema.json",
|
10
|
+
"timeout": 0,
|
11
|
+
"sendEmpty": false,
|
12
|
+
"sendGetBody": false,
|
13
|
+
"requestDatatype": "JSON",
|
14
|
+
"responseDatatype": "JSON",
|
15
|
+
"headers": {},
|
16
|
+
"responseObjects": [
|
17
|
+
{
|
18
|
+
"type": "default",
|
19
|
+
"key": "",
|
20
|
+
"mockFile": ""
|
21
|
+
}
|
22
|
+
]
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"name": "createGeneric",
|
26
|
+
"protocol": "REST",
|
27
|
+
"method": "POST",
|
28
|
+
"entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
|
29
|
+
"requestSchema": "schema.json",
|
30
|
+
"responseSchema": "schema.json",
|
31
|
+
"timeout": 0,
|
32
|
+
"sendEmpty": false,
|
33
|
+
"sendGetBody": false,
|
34
|
+
"requestDatatype": "JSON",
|
35
|
+
"responseDatatype": "JSON",
|
36
|
+
"headers": {},
|
37
|
+
"responseObjects": [
|
38
|
+
{
|
39
|
+
"type": "default",
|
40
|
+
"key": "",
|
41
|
+
"mockFile": ""
|
42
|
+
}
|
43
|
+
]
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"name": "updateGeneric",
|
47
|
+
"protocol": "REST",
|
48
|
+
"method": "PUT",
|
49
|
+
"entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
|
50
|
+
"requestSchema": "schema.json",
|
51
|
+
"responseSchema": "schema.json",
|
52
|
+
"timeout": 0,
|
53
|
+
"sendEmpty": false,
|
54
|
+
"sendGetBody": false,
|
55
|
+
"requestDatatype": "JSON",
|
56
|
+
"responseDatatype": "JSON",
|
57
|
+
"headers": {},
|
58
|
+
"responseObjects": [
|
59
|
+
{
|
60
|
+
"type": "default",
|
61
|
+
"key": "",
|
62
|
+
"mockFile": ""
|
63
|
+
}
|
64
|
+
]
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"name": "patchGeneric",
|
68
|
+
"protocol": "REST",
|
69
|
+
"method": "PATCH",
|
70
|
+
"entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
|
71
|
+
"requestSchema": "schema.json",
|
72
|
+
"responseSchema": "schema.json",
|
73
|
+
"timeout": 0,
|
74
|
+
"sendEmpty": false,
|
75
|
+
"sendGetBody": false,
|
76
|
+
"requestDatatype": "JSON",
|
77
|
+
"responseDatatype": "JSON",
|
78
|
+
"headers": {},
|
79
|
+
"responseObjects": [
|
80
|
+
{
|
81
|
+
"type": "default",
|
82
|
+
"key": "",
|
83
|
+
"mockFile": ""
|
84
|
+
}
|
85
|
+
]
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"name": "deleteGeneric",
|
89
|
+
"protocol": "REST",
|
90
|
+
"method": "DELETE",
|
91
|
+
"entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
|
92
|
+
"requestSchema": "schema.json",
|
93
|
+
"responseSchema": "schema.json",
|
94
|
+
"timeout": 0,
|
95
|
+
"sendEmpty": false,
|
96
|
+
"sendGetBody": false,
|
97
|
+
"requestDatatype": "JSON",
|
98
|
+
"responseDatatype": "JSON",
|
99
|
+
"headers": {},
|
100
|
+
"responseObjects": [
|
101
|
+
{
|
102
|
+
"type": "default",
|
103
|
+
"key": "",
|
104
|
+
"mockFile": ""
|
105
|
+
}
|
106
|
+
]
|
107
|
+
},
|
108
|
+
{
|
109
|
+
"name": "getGenericsNoBase",
|
110
|
+
"protocol": "REST",
|
111
|
+
"method": "GET",
|
112
|
+
"entitypath": "/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
|
113
|
+
"requestSchema": "schema.json",
|
114
|
+
"responseSchema": "schema.json",
|
115
|
+
"timeout": 0,
|
116
|
+
"sendEmpty": false,
|
117
|
+
"sendGetBody": false,
|
118
|
+
"requestDatatype": "JSON",
|
119
|
+
"responseDatatype": "JSON",
|
120
|
+
"headers": {},
|
121
|
+
"responseObjects": [
|
122
|
+
{
|
123
|
+
"type": "default",
|
124
|
+
"key": "",
|
125
|
+
"mockFile": ""
|
126
|
+
}
|
127
|
+
]
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"name": "createGenericNoBase",
|
131
|
+
"protocol": "REST",
|
132
|
+
"method": "POST",
|
133
|
+
"entitypath": "/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
|
134
|
+
"requestSchema": "schema.json",
|
135
|
+
"responseSchema": "schema.json",
|
136
|
+
"timeout": 0,
|
137
|
+
"sendEmpty": false,
|
138
|
+
"sendGetBody": false,
|
139
|
+
"requestDatatype": "JSON",
|
140
|
+
"responseDatatype": "JSON",
|
141
|
+
"headers": {},
|
142
|
+
"responseObjects": [
|
143
|
+
{
|
144
|
+
"type": "default",
|
145
|
+
"key": "",
|
146
|
+
"mockFile": ""
|
147
|
+
}
|
148
|
+
]
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"name": "updateGenericNoBase",
|
152
|
+
"protocol": "REST",
|
153
|
+
"method": "PUT",
|
154
|
+
"entitypath": "/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
|
155
|
+
"requestSchema": "schema.json",
|
156
|
+
"responseSchema": "schema.json",
|
157
|
+
"timeout": 0,
|
158
|
+
"sendEmpty": false,
|
159
|
+
"sendGetBody": false,
|
160
|
+
"requestDatatype": "JSON",
|
161
|
+
"responseDatatype": "JSON",
|
162
|
+
"headers": {},
|
163
|
+
"responseObjects": [
|
164
|
+
{
|
165
|
+
"type": "default",
|
166
|
+
"key": "",
|
167
|
+
"mockFile": ""
|
168
|
+
}
|
169
|
+
]
|
170
|
+
},
|
171
|
+
{
|
172
|
+
"name": "patchGenericNoBase",
|
173
|
+
"protocol": "REST",
|
174
|
+
"method": "PATCH",
|
175
|
+
"entitypath": "/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
|
176
|
+
"requestSchema": "schema.json",
|
177
|
+
"responseSchema": "schema.json",
|
178
|
+
"timeout": 0,
|
179
|
+
"sendEmpty": false,
|
180
|
+
"sendGetBody": false,
|
181
|
+
"requestDatatype": "JSON",
|
182
|
+
"responseDatatype": "JSON",
|
183
|
+
"headers": {},
|
184
|
+
"responseObjects": [
|
185
|
+
{
|
186
|
+
"type": "default",
|
187
|
+
"key": "",
|
188
|
+
"mockFile": ""
|
189
|
+
}
|
190
|
+
]
|
191
|
+
},
|
192
|
+
{
|
193
|
+
"name": "deleteGenericNoBase",
|
194
|
+
"protocol": "REST",
|
195
|
+
"method": "DELETE",
|
196
|
+
"entitypath": "/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
|
197
|
+
"requestSchema": "schema.json",
|
198
|
+
"responseSchema": "schema.json",
|
199
|
+
"timeout": 0,
|
200
|
+
"sendEmpty": false,
|
201
|
+
"sendGetBody": false,
|
202
|
+
"requestDatatype": "JSON",
|
203
|
+
"responseDatatype": "JSON",
|
204
|
+
"headers": {},
|
205
|
+
"responseObjects": [
|
206
|
+
{
|
207
|
+
"type": "default",
|
208
|
+
"key": "",
|
209
|
+
"mockFile": ""
|
210
|
+
}
|
211
|
+
]
|
212
|
+
}
|
213
|
+
]
|
214
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
{
|
2
|
+
"$id": "generic_schema.json",
|
3
|
+
"type": "object",
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
5
|
+
"translate": false,
|
6
|
+
"dynamicfields": true,
|
7
|
+
"properties": {
|
8
|
+
"ph_request_type": {
|
9
|
+
"type": "string",
|
10
|
+
"description": "type of request (internal to adapter)",
|
11
|
+
"default": "getGeneric",
|
12
|
+
"enum": [
|
13
|
+
"getGenerics",
|
14
|
+
"createGeneric",
|
15
|
+
"updateGeneric",
|
16
|
+
"patchGeneric",
|
17
|
+
"deleteGeneric",
|
18
|
+
"getGenericsNoBase",
|
19
|
+
"createGenericNoBase",
|
20
|
+
"updateGenericNoBase",
|
21
|
+
"patchGenericNoBase",
|
22
|
+
"deleteGenericNoBase"
|
23
|
+
],
|
24
|
+
"external_name": "ph_request_type"
|
25
|
+
}
|
26
|
+
},
|
27
|
+
"definitions": {}
|
28
|
+
}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
{
|
2
|
+
"actions": [
|
3
|
+
{
|
4
|
+
"name": "getToken",
|
5
|
+
"protocol": "REST",
|
6
|
+
"method": "POST",
|
7
|
+
"entitypath": "{base_path}/{version}/login",
|
8
|
+
"requestSchema": "schemaTokenReq.json",
|
9
|
+
"responseSchema": "schemaTokenResp.json",
|
10
|
+
"timeout": 0,
|
11
|
+
"sendEmpty": false,
|
12
|
+
"requestDatatype": "",
|
13
|
+
"responseDatatype": "",
|
14
|
+
"headers": {},
|
15
|
+
"sso": {
|
16
|
+
"protocol": "",
|
17
|
+
"host": "",
|
18
|
+
"port": 0
|
19
|
+
},
|
20
|
+
"responseObjects": [
|
21
|
+
{
|
22
|
+
"type": "default",
|
23
|
+
"key": "",
|
24
|
+
"mockFile": "mockdatafiles/getToken-default.json"
|
25
|
+
}
|
26
|
+
]
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"name": "healthcheck",
|
30
|
+
"protocol": "REST",
|
31
|
+
"method": "GET",
|
32
|
+
"entitypath": "{base_path}/{version}/healthcheck?{query}",
|
33
|
+
"requestSchema": "schema.json",
|
34
|
+
"responseSchema": "schema.json",
|
35
|
+
"timeout": 0,
|
36
|
+
"sendEmpty": false,
|
37
|
+
"sendGetBody": false,
|
38
|
+
"requestDatatype": "",
|
39
|
+
"responseDatatype": "",
|
40
|
+
"headers": {},
|
41
|
+
"responseObjects": [
|
42
|
+
{
|
43
|
+
"type": "default",
|
44
|
+
"key": "",
|
45
|
+
"mockFile": "mockdatafiles/healthcheck-default.json"
|
46
|
+
}
|
47
|
+
]
|
48
|
+
}
|
49
|
+
]
|
50
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
{
|
2
|
+
"$id": "schema.json",
|
3
|
+
"type": "object",
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
5
|
+
"translate": false,
|
6
|
+
"dynamicfields": true,
|
7
|
+
"properties": {
|
8
|
+
"ph_request_type": {
|
9
|
+
"type": "string",
|
10
|
+
"description": "type of request (internal to adapter)",
|
11
|
+
"default": "healthcheck",
|
12
|
+
"enum": [
|
13
|
+
"healthcheck"
|
14
|
+
],
|
15
|
+
"external_name": "ph_request_type"
|
16
|
+
}
|
17
|
+
},
|
18
|
+
"definitions": {}
|
19
|
+
}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
{
|
2
|
+
"$id": ".system-schemaTokenReq.json",
|
3
|
+
"type": "object",
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
5
|
+
"translate": true,
|
6
|
+
"dynamicfields": true,
|
7
|
+
"properties": {
|
8
|
+
"ph_request_type": {
|
9
|
+
"type": "string",
|
10
|
+
"description": "type of request (internal to adapter)",
|
11
|
+
"default": "getToken",
|
12
|
+
"enum": [
|
13
|
+
"getToken"
|
14
|
+
],
|
15
|
+
"external_name": "ph_request_type"
|
16
|
+
},
|
17
|
+
"username": {
|
18
|
+
"type": "string",
|
19
|
+
"description": "username to log in with",
|
20
|
+
"parse": false,
|
21
|
+
"encode": false,
|
22
|
+
"encrypt": {
|
23
|
+
"type": "AES",
|
24
|
+
"key": ""
|
25
|
+
},
|
26
|
+
"external_name": "username"
|
27
|
+
},
|
28
|
+
"password": {
|
29
|
+
"type": "string",
|
30
|
+
"description": "password to log in with",
|
31
|
+
"parse": false,
|
32
|
+
"encode": false,
|
33
|
+
"encrypt": {
|
34
|
+
"type": "AES",
|
35
|
+
"key": ""
|
36
|
+
},
|
37
|
+
"external_name": "password"
|
38
|
+
},
|
39
|
+
"token": {
|
40
|
+
"type": "string",
|
41
|
+
"description": "token returned by system",
|
42
|
+
"parse": false,
|
43
|
+
"encode": false,
|
44
|
+
"placement": "BODY",
|
45
|
+
"encrypt": {
|
46
|
+
"type": "AES",
|
47
|
+
"key": ""
|
48
|
+
},
|
49
|
+
"external_name": "token"
|
50
|
+
}
|
51
|
+
},
|
52
|
+
"definitions": {}
|
53
|
+
}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
{
|
2
|
+
"$id": ".system-schemaTokenResp.json",
|
3
|
+
"type": "object",
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
5
|
+
"translate": true,
|
6
|
+
"dynamicfields": true,
|
7
|
+
"properties": {
|
8
|
+
"ph_request_type": {
|
9
|
+
"type": "string",
|
10
|
+
"description": "type of request (internal to adapter)",
|
11
|
+
"default": "getToken",
|
12
|
+
"enum": [
|
13
|
+
"getToken"
|
14
|
+
],
|
15
|
+
"external_name": "ph_request_type"
|
16
|
+
},
|
17
|
+
"username": {
|
18
|
+
"type": "string",
|
19
|
+
"description": "username to log in with",
|
20
|
+
"parse": false,
|
21
|
+
"encode": false,
|
22
|
+
"encrypt": {
|
23
|
+
"type": "AES",
|
24
|
+
"key": ""
|
25
|
+
},
|
26
|
+
"external_name": "username"
|
27
|
+
},
|
28
|
+
"password": {
|
29
|
+
"type": "string",
|
30
|
+
"description": "password to log in with",
|
31
|
+
"parse": false,
|
32
|
+
"encode": false,
|
33
|
+
"encrypt": {
|
34
|
+
"type": "AES",
|
35
|
+
"key": ""
|
36
|
+
},
|
37
|
+
"external_name": "password"
|
38
|
+
},
|
39
|
+
"token": {
|
40
|
+
"type": "string",
|
41
|
+
"description": "token returned by system",
|
42
|
+
"parse": false,
|
43
|
+
"encode": false,
|
44
|
+
"placement": "BODY",
|
45
|
+
"encrypt": {
|
46
|
+
"type": "AES",
|
47
|
+
"key": ""
|
48
|
+
},
|
49
|
+
"external_name": "token"
|
50
|
+
}
|
51
|
+
},
|
52
|
+
"definitions": {}
|
53
|
+
}
|
@@ -0,0 +1,127 @@
|
|
1
|
+
{
|
2
|
+
"actions": [
|
3
|
+
{
|
4
|
+
"name": "getapplications",
|
5
|
+
"protocol": "REST",
|
6
|
+
"method": "GET",
|
7
|
+
"entitypath": "{base_path}/{version}/v1.0/applications?{query}",
|
8
|
+
"requestSchema": "schema.json",
|
9
|
+
"responseSchema": "schema.json",
|
10
|
+
"timeout": 0,
|
11
|
+
"sendEmpty": false,
|
12
|
+
"sendGetBody": false,
|
13
|
+
"requestDatatype": "JSON",
|
14
|
+
"responseDatatype": "JSON",
|
15
|
+
"headers": {},
|
16
|
+
"responseObjects": [
|
17
|
+
{
|
18
|
+
"type": "default",
|
19
|
+
"key": "",
|
20
|
+
"mockFile": ""
|
21
|
+
}
|
22
|
+
]
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"name": "createanapplication",
|
26
|
+
"protocol": "REST",
|
27
|
+
"method": "POST",
|
28
|
+
"entitypath": "{base_path}/{version}/v1.0/applications?{query}",
|
29
|
+
"requestSchema": "schema.json",
|
30
|
+
"responseSchema": "schema.json",
|
31
|
+
"timeout": 0,
|
32
|
+
"sendEmpty": false,
|
33
|
+
"requestDatatype": "JSON",
|
34
|
+
"responseDatatype": "JSON",
|
35
|
+
"headers": {},
|
36
|
+
"responseObjects": [
|
37
|
+
{
|
38
|
+
"type": "default",
|
39
|
+
"key": "",
|
40
|
+
"mockFile": ""
|
41
|
+
}
|
42
|
+
]
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"name": "getapplication",
|
46
|
+
"protocol": "REST",
|
47
|
+
"method": "GET",
|
48
|
+
"entitypath": "{base_path}/{version}/v1.0/applications/{pathv1}?{query}",
|
49
|
+
"requestSchema": "schema.json",
|
50
|
+
"responseSchema": "schema.json",
|
51
|
+
"timeout": 0,
|
52
|
+
"sendEmpty": false,
|
53
|
+
"sendGetBody": false,
|
54
|
+
"requestDatatype": "JSON",
|
55
|
+
"responseDatatype": "JSON",
|
56
|
+
"headers": {},
|
57
|
+
"responseObjects": [
|
58
|
+
{
|
59
|
+
"type": "default",
|
60
|
+
"key": "",
|
61
|
+
"mockFile": ""
|
62
|
+
}
|
63
|
+
]
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"name": "updateapplication",
|
67
|
+
"protocol": "REST",
|
68
|
+
"method": "PATCH",
|
69
|
+
"entitypath": "{base_path}/{version}/v1.0/applications/{pathv1}?{query}",
|
70
|
+
"requestSchema": "schema.json",
|
71
|
+
"responseSchema": "schema.json",
|
72
|
+
"timeout": 0,
|
73
|
+
"sendEmpty": false,
|
74
|
+
"requestDatatype": "JSON",
|
75
|
+
"responseDatatype": "JSON",
|
76
|
+
"headers": {},
|
77
|
+
"responseObjects": [
|
78
|
+
{
|
79
|
+
"type": "default",
|
80
|
+
"key": "",
|
81
|
+
"mockFile": ""
|
82
|
+
}
|
83
|
+
]
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"name": "getapplicationowners",
|
87
|
+
"protocol": "REST",
|
88
|
+
"method": "GET",
|
89
|
+
"entitypath": "{base_path}/{version}/v1.0/applications/{pathv1}/owners?{query}",
|
90
|
+
"requestSchema": "schema.json",
|
91
|
+
"responseSchema": "schema.json",
|
92
|
+
"timeout": 0,
|
93
|
+
"sendEmpty": false,
|
94
|
+
"sendGetBody": false,
|
95
|
+
"requestDatatype": "JSON",
|
96
|
+
"responseDatatype": "JSON",
|
97
|
+
"headers": {},
|
98
|
+
"responseObjects": [
|
99
|
+
{
|
100
|
+
"type": "default",
|
101
|
+
"key": "",
|
102
|
+
"mockFile": ""
|
103
|
+
}
|
104
|
+
]
|
105
|
+
},
|
106
|
+
{
|
107
|
+
"name": "deleteapplication",
|
108
|
+
"protocol": "REST",
|
109
|
+
"method": "DELETE",
|
110
|
+
"entitypath": "{base_path}/{version}/beta/applications/{pathv1}?{query}",
|
111
|
+
"requestSchema": "schema.json",
|
112
|
+
"responseSchema": "schema.json",
|
113
|
+
"timeout": 0,
|
114
|
+
"sendEmpty": false,
|
115
|
+
"requestDatatype": "JSON",
|
116
|
+
"responseDatatype": "JSON",
|
117
|
+
"headers": {},
|
118
|
+
"responseObjects": [
|
119
|
+
{
|
120
|
+
"type": "default",
|
121
|
+
"key": "",
|
122
|
+
"mockFile": ""
|
123
|
+
}
|
124
|
+
]
|
125
|
+
}
|
126
|
+
]
|
127
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
{
|
2
|
+
"$id": "schema.json",
|
3
|
+
"type": "object",
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
5
|
+
"translate": true,
|
6
|
+
"dynamicfields": true,
|
7
|
+
"properties": {
|
8
|
+
"ph_request_type": {
|
9
|
+
"type": "string",
|
10
|
+
"description": "type of request (internal to adapter)",
|
11
|
+
"default": "getapplications",
|
12
|
+
"enum": [
|
13
|
+
"getapplications",
|
14
|
+
"createanapplication",
|
15
|
+
"getapplication",
|
16
|
+
"updateapplication",
|
17
|
+
"getapplicationowners",
|
18
|
+
"deleteapplication"
|
19
|
+
],
|
20
|
+
"external_name": "ph_request_type"
|
21
|
+
},
|
22
|
+
"applicationId": {
|
23
|
+
"type": "string",
|
24
|
+
"description": "",
|
25
|
+
"parse": false,
|
26
|
+
"encode": false,
|
27
|
+
"encrypt": {
|
28
|
+
"type": "AES",
|
29
|
+
"key": ""
|
30
|
+
},
|
31
|
+
"external_name": "ApplicationId"
|
32
|
+
}
|
33
|
+
},
|
34
|
+
"definitions": {}
|
35
|
+
}
|