-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.yml
49 lines (44 loc) · 1.01 KB
/
test.yml
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
host: https://uat-api.pccwg-osp.com/
client_options:
ssl_verifypeer: false
headers: &default_headers
Content-Type: application/x-www-form-urlencoded
Authorization: Basic QjZYVmZfNlVEb2JjdW1VUGtrbGFlZnZObDIwYTpDY3JIZVJ6SXYyM205ZTBYcUw3dl8wdWZwa1Fh
argument_mapping: &default_argument_mapping
username: username
password: password
grant_type: grant_type
refresh_token: refresh_token
actions:
get_token:
argument_mapping:
<<: *default_argument_mapping
arguments:
required:
- username
- password
- grant_type
endpoint:
path: token
verb: post
headers:
<<: *default_headers
body:
- username
- password
- grant_type
refresh_token:
argument_mapping:
<<: *default_argument_mapping
arguments:
required:
- grant_type
- refresh_token
endpoint:
path: token
verb: post
headers:
<<: *default_headers
body:
- grant_type
- refresh_token