-
Notifications
You must be signed in to change notification settings - Fork 107
/
Copy pathdefault.yml
175 lines (175 loc) · 9.02 KB
/
default.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
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
apiVersion: 1
datasources:
- name: Test
uid: TestData
type: testdata
- name: Infinity
uid: Infinity
type: yesoreyeram-infinity-datasource
isDefault: true
jsonData:
refData:
- name: users.csv
data: |
name,age,country,occupation,salary
Leanne Graham,38,USA,Devops Engineer,3000
Ervin Howell,27,USA,Software Engineer,2300
Clementine Bauch,17,Canada,Student,
Patricia Lebsack,42,UK,Software Engineer,2800
Leanne Bell,38,USA,Senior Software Engineer,4000
Chelsey Dietrich,32,USA,Software Engineer,3500
- name: users.tsv
data: |
name age country occupation salary
Leanne Graham 38 USA Devops Engineer 3000
Ervin Howell 27 USA Software Engineer 2300
Clementine Bauch 17 Canada Student
Patricia Lebsack 42 UK Software Engineer 2800
Leanne Bell 38 USA Senior Software Engineer 4000
Chelsey Dietrich 32 USA Software Engineer 3500
- name: users.xml
data: '<?xml version="1.0" encoding="UTF-8" ?><root> <row> <name>Leanne Graham</name> <age>38</age> <country>USA</country> <occupation>Devops Engineer</occupation> <salary>3000</salary> </row> <row> <name>Ervin Howell</name> <age>27</age> <country>USA</country> <occupation>Software Engineer</occupation> <salary>2300</salary> </row> <row> <name>Clementine Bauch</name> <age>17</age> <country>Canada</country> <occupation>Student</occupation> <salary /> </row> <row> <name>Patricia Lebsack</name> <age>42</age> <country>UK</country> <occupation>Software Engineer</occupation> <salary>2800</salary> </row> <row> <name>Leanne Bell</name> <age>38</age> <country>USA</country> <occupation>Senior Software Engineer</occupation> <salary>4000</salary> </row> <row> <name>Chelsey Dietrich</name> <age>32</age> <country>USA</country> <occupation>Software Engineer</occupation> <salary>3500</salary> </row></root>'
- name: users.html
data: '<!DOCTYPE html><html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Users</title> </head> <body> <table class="table table-bordered table-hover table-condensed"> <thead> <tr> <th title="Field #1">name</th> <th title="Field #2">age</th> <th title="Field #3">country</th> <th title="Field #4">occupation</th> <th title="Field #5">salary</th> </tr> </thead> <tbody> <tr> <td>Leanne Graham</td> <td align="right">38</td> <td>USA</td> <td>Devops Engineer</td> <td align="right">3000</td> </tr> <tr> <td>Ervin Howell</td> <td align="right">27</td> <td>USA</td> <td>Software Engineer</td> <td align="right">2300</td> </tr> <tr> <td>Clementine Bauch</td> <td align="right">17</td> <td>Canada</td> <td>Student</td> <td align="right"></td> </tr> <tr> <td>Patricia Lebsack</td> <td align="right">42</td> <td>UK</td> <td>Software Engineer</td> <td align="right">2800</td> </tr> <tr> <td>Leanne Bell</td> <td align="right">38</td> <td>USA</td> <td>Senior Software Engineer</td> <td align="right">4000</td> </tr> <tr> <td>Chelsey Dietrich</td> <td align="right">32</td> <td>USA</td> <td>Software Engineer</td> <td align="right">3500</td> </tr> </tbody> </table> </body></html>'
- name: users.json
data: |
[
{ "name": "Leanne Graham", "age": 38, "country": "USA", "occupation": "Devops Engineer", "salary": 3000 },
{ "name": "Ervin Howell", "age": 27, "country": "USA", "occupation": "Software Engineer", "salary": 2300 },
{ "name": "Clementine Bauch", "age": 17, "country": "Canada", "occupation": "Student", "salary": null },
{ "name": "Patricia Lebsack", "age": 42, "country": "UK", "occupation": "Software Engineer", "salary": 2800 },
{ "name": "Leanne Bell", "age": 38, "country": "USA", "occupation": "Senior Software Engineer", "salary": 4000 },
{ "name": "Chelsey Dietrich", "age": 32, "country": "USA", "occupation": "Software Engineer", "salary": 3500 }
]
- name: Postman Echo
uid: infinity-postman-echo
type: yesoreyeram-infinity-datasource
jsonData:
allowedHosts:
- https://postman-echo.com
- name: Postman Echo - Basic Auth
uid: infinity-postman-echo-basic-auth
type: yesoreyeram-infinity-datasource
basicAuth: true
basicAuthUser: 'postman'
jsonData:
allowedHosts:
- 'https://postman-echo.com'
auth_method: 'basicAuth'
customHealthCheckEnabled: true
customHealthCheckUrl: 'https://postman-echo.com/basic-auth'
secureJsonData:
basicAuthPassword: 'password'
- name: Loki
uid: loki
type: loki
url: http://loki:3100
- name: Tempo
uid: tempo
type: tempo
url: http://tempo:3200
- name: 🔗 PDC - No Auth
uid: pdc-no-auth
type: yesoreyeram-infinity-datasource
jsonData:
enableSecureSocksProxy: true
auth_method: 'none'
customHealthCheckEnabled: true
customHealthCheckUrl: 'https://jsonplaceholder.typicode.com/posts'
- name: 🔗 PDC - Basic Auth
uid: pdc-basic-auth
type: yesoreyeram-infinity-datasource
basicAuth: true
basicAuthUser: 'postman'
jsonData:
enableSecureSocksProxy: true
auth_method: 'basicAuth'
customHealthCheckEnabled: true
customHealthCheckUrl: 'https://postman-echo.com/basic-auth'
allowedHosts:
- 'https://postman-echo.com'
secureJsonData:
basicAuthPassword: 'password'
- name: 🔗 PDC - Bearer Auth
uid: pdc-bearer-auth
type: yesoreyeram-infinity-datasource
jsonData:
enableSecureSocksProxy: true
auth_method: 'bearerToken'
customHealthCheckEnabled: true
customHealthCheckUrl: 'https://httpbin.org/bearer'
allowedHosts:
- 'https://httpbin.org'
secureJsonData:
bearerToken: 'foo'
- name: 🔗 PDC - Digest Auth
uid: pdc-digest-auth
type: yesoreyeram-infinity-datasource
basicAuthUser: 'postman'
jsonData:
enableSecureSocksProxy: true
auth_method: 'digestAuth'
customHealthCheckEnabled: true
customHealthCheckUrl: 'https://postman-echo.com/digest-auth'
allowedHosts:
- 'https://postman-echo.com'
secureJsonData:
basicAuthPassword: 'password'
- name: 🔗 PDC - API Key Auth
uid: pdc-api-key-auth
type: yesoreyeram-infinity-datasource
jsonData:
enableSecureSocksProxy: true
auth_method: 'apiKey'
apiKeyKey: 'Authorization'
customHealthCheckEnabled: true
customHealthCheckUrl: 'https://postman-echo.com/basic-auth'
allowedHosts:
- 'https://postman-echo.com'
secureJsonData:
apiKeyValue: 'Basic cG9zdG1hbjpwYXNzd29yZA=='
- name: 🔗 PDC - OAuth2 Client Credentials
uid: pdc-oauth2-client-credentials
type: 'yesoreyeram-infinity-datasource'
jsonData:
enableSecureSocksProxy: true
auth_method: 'oauth2'
oauth2:
client_id: 'xxxxxxx' ## Replace xxxxxxx with actual client id
token_url: 'https://login.microsoftonline.com/xxxxxxx/oauth2/token' ## Replace xxxxxxx with actual tenant id
oauth2EndPointParamsName1: 'resource'
customHealthCheckEnabled: true
customHealthCheckUrl: 'https://management.azure.com/subscriptions?api-version=2020-01-01'
allowedHosts:
- 'https://management.azure.com/'
secureJsonData:
oauth2ClientSecret: 'xxxxxxx' ## Replace xxxxxxx with actual client secret
oauth2EndPointParamsValue1: 'https://management.azure.com/'
- name: 🛡️ Unsecure Query Handling - default
type: yesoreyeram-infinity-datasource
uid: unsecure-query-handling-default
- name: 🛡️ Unsecure Query Handling - allow
type: yesoreyeram-infinity-datasource
uid: unsecure-query-handling-allow
jsonData:
unsecuredQueryHandling: allow
- name: 🛡️ Unsecure Query Handling - deny
type: yesoreyeram-infinity-datasource
uid: unsecure-query-handling-deny
jsonData:
unsecuredQueryHandling: deny
- name: 🛡️ Unsecure Query Handling - warn
type: yesoreyeram-infinity-datasource
uid: unsecure-query-handling-warn
jsonData:
unsecuredQueryHandling: warn
- name: 🛡️ Unsecure Query Handling - config
type: yesoreyeram-infinity-datasource
uid: unsecure-query-handling-config
jsonData:
auth_method: 'bearerToken'
customHealthCheckUrl: 'https://httpbin.org/bearer'
allowedHosts:
- 'https://httpbin.org'
secureJsonData:
bearerToken: 'foo'