-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathInsomnia_Taskflow_Ngnix.yaml
More file actions
252 lines (252 loc) · 7.52 KB
/
Insomnia_Taskflow_Ngnix.yaml
File metadata and controls
252 lines (252 loc) · 7.52 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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
type: collection.insomnia.rest/5.0
schema_version: "5.1"
name: Taskflow Service - NGINX
meta:
id: wrk_e9b1d3c061c74e788c674b6686cfc828
created: 1771460186975
modified: 1771460186975
description: ""
collection:
- url: http://localhost/api/v1/tasks
name: TaskFlowService_GetTasks
meta:
id: req_7d766c5b704a4d1fac3bfd0cbc67259b
created: 1771457308337
modified: 1771460694334
isPrivate: false
description: ""
sortKey: -1771457308337
method: GET
headers:
- name: Authorization
value: Bearer {{ _.AUTH_TOKEN }}
description: ""
disabled: false
settings:
renderRequestBody: true
encodeUrl: true
followRedirects: global
cookies:
send: true
store: true
rebuildPath: true
- url: http://localhost:8080/realms/taskflow/protocol/openid-connect/token
name: Keycloak_GetToken
meta:
id: req_3fbde3ffcb1643d2b074d5b4b9611628
created: 1771459522976
modified: 1771459585761
isPrivate: false
description: ""
sortKey: -1771459522976
method: POST
body:
mimeType: application/x-www-form-urlencoded
params:
- name: username
value: testuser1
- name: password
value: password123
- name: grant_type
value: password
- name: client_id
value: taskflow-service
- name: client_secret
value: taskflow-secret
headers:
- name: Content-Type
value: application/x-www-form-urlencoded
settings:
renderRequestBody: true
encodeUrl: true
followRedirects: global
cookies:
send: true
store: true
rebuildPath: true
- url: http://localhost/api/v1/tasks
name: TaskFlowService_CreateTask
meta:
id: req_8ede126c93174a07bf00d38e8a3cdb06
created: 1771459635095
modified: 1771460699439
isPrivate: false
description: ""
sortKey: -1771456788884.5
method: POST
body:
mimeType: application/json
text: |-
{
"title": "Minha tarefa {% faker 'randomInt' %}",
"description": "Minha tarefa de teste {% faker 'randomUUID' %}"
}
headers:
- name: Content-Type
value: application/json
- name: Authorization
value: Bearer {{ _.AUTH_TOKEN }}
description: ""
disabled: false
settings:
renderRequestBody: true
encodeUrl: true
followRedirects: global
cookies:
send: true
store: true
rebuildPath: true
- url: http://localhost/api/v1/tasks/:id
name: TaskFlowService_UpdateTask
meta:
id: req_468cbd2dc55c429faa2c51f03651da21
created: 1771459752262
modified: 1771460747868
isPrivate: false
description: ""
sortKey: -1771456529158.25
method: PUT
body:
mimeType: application/json
text: |-
{
"title": "Minha tarefa {% faker 'randomInt' %}",
"description": "Minha tarefa de teste {% faker 'randomUUID' %}"
}
headers:
- name: Content-Type
value: application/json
- name: Authorization
value: Bearer {{ _.AUTH_TOKEN }}
description: ""
disabled: false
settings:
renderRequestBody: true
encodeUrl: true
followRedirects: global
cookies:
send: true
store: true
rebuildPath: true
pathParameters:
- name: id
value: "{{ _.TASK_ID }}"
- url: http://localhost/api/v1/tasks/:id/status
name: TaskFlowService_UpdateTaskStatus
meta:
id: req_c3b01a237bf74074b01518837d8592be
created: 1771459801928
modified: 1771608275391
isPrivate: false
description: ""
sortKey: -1771456399295.125
method: PATCH
body:
mimeType: application/json
text: |-
{
"status": "DONE"
}
headers:
- name: Content-Type
value: application/json
- name: Authorization
value: Bearer {{ _.AUTH_TOKEN }}
description: ""
disabled: false
settings:
renderRequestBody: true
encodeUrl: true
followRedirects: global
cookies:
send: true
store: true
rebuildPath: true
pathParameters:
- name: id
value: "{{ _.TASK_ID }}"
- url: http://localhost/api/v1/tasks/:id/history
name: TaskFlowService_GetAllPaginatedTaskHistory
meta:
id: req_2c8eb35638e048fdb0d6104e42f43b69
created: 1771459869383
modified: 1771460743922
isPrivate: false
description: ""
sortKey: -1771457048610.75
method: GET
parameters:
- name: page
value: "1"
description: ""
disabled: false
- name: pageSize
value: "10"
description: ""
disabled: false
headers:
- name: Authorization
value: Bearer {{ _.AUTH_TOKEN }}
description: ""
disabled: false
settings:
renderRequestBody: true
encodeUrl: true
followRedirects: global
cookies:
send: true
store: true
rebuildPath: true
pathParameters:
- name: id
value: "{{ _.TASK_ID }}"
- url: http://localhost/api/v1/tasks/:id
name: TaskFlowService_DeleteTask
meta:
id: req_5987e9d0f2e04542829c2454165664d4
created: 1771460134936
modified: 1771460752020
isPrivate: false
description: ""
sortKey: -1771456334263.5625
method: DELETE
headers:
- name: Authorization
value: Bearer {{ _.AUTH_TOKEN }}
description: ""
disabled: false
settings:
renderRequestBody: true
encodeUrl: true
followRedirects: global
cookies:
send: true
store: true
rebuildPath: true
pathParameters:
- name: id
value: "{{ _.TASK_ID }}"
cookieJar:
name: Default Jar
meta:
id: jar_38fa2f077a7d49a3962bb101b64f53ff
created: 1767032655725
modified: 1767032655725
environments:
name: Base Environment
meta:
id: env_d9e65bcb2fb04683b898faccd9572f5a
created: 1767032655724
modified: 1767032655724
isPrivate: false
subEnvironments:
- name: Testes Envs
meta:
id: env_3cf24300eff54ae68922885754a77713
created: 1771460581843
modified: 1771608627374
isPrivate: false
sortKey: 1771460581843
data:
AUTH_TOKEN: eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJLUURSUmxTeWhubm1XRTZDS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