-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from omc/qa/allow-recording-requests-fixtures-…
…safely QA/Allow recording requests fixtures safely
- Loading branch information
Showing
29 changed files
with
1,059 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
bonsai/fixtures/golden/TestClientVCRTestSuite-TestClusterClient-Create
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
{ | ||
"message": "Your cluster is being provisioned.", | ||
"monitor": "https://api.bonsai.io/clusters/bonsai-api-go-9994392953", | ||
"monitor": "https://api.bonsai.io/clusters/bonsai-api-go-2471463249", | ||
"access": { | ||
"host": "bonsai-api-go-9994392953", | ||
"host": "bonsai-api-go-2471463249", | ||
"port": 443, | ||
"scheme": "https", | ||
"user": "REDACTED", | ||
"pass": "REDACTED", | ||
"url": "://REDACTED:REDACTED@" | ||
"url": "://REDACTED:REDACTED" | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
bonsai/fixtures/golden/TestClientVCRTestSuite-TestClusterClient-Update
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"message": "Your cluster is being updated.", | ||
"monitor": "https://api.bonsai.io/clusters/bonsai-api-go-9994392953" | ||
"monitor": "https://api.bonsai.io/clusters/bonsai-api-go-2471463249" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
--- | ||
version: 2 | ||
interactions: | ||
- id: 0 | ||
request: | ||
proto: HTTP/1.1 | ||
proto_major: 1 | ||
proto_minor: 1 | ||
content_length: 0 | ||
transfer_encoding: [] | ||
trailer: {} | ||
host: api.bonsai.io | ||
remote_addr: "" | ||
request_uri: "" | ||
body: "" | ||
form: {} | ||
headers: | ||
Accept: | ||
- application/json | ||
Content-Type: | ||
- application/json | ||
User-Agent: | ||
- bonsai-api-go/v1 bonsai-api-go/1.0.0 | ||
url: https://api.bonsai.io/clusters | ||
method: GET | ||
response: | ||
proto: HTTP/1.1 | ||
proto_major: 1 | ||
proto_minor: 1 | ||
transfer_encoding: | ||
- chunked | ||
trailer: {} | ||
content_length: -1 | ||
uncompressed: true | ||
body: '{"pagination":{"page_number":1,"page_size":1000,"total_records":1},"clusters":[{"slug":"dcek-group-llc-5240651189","name":"DCEK Group, LLC search","uri":"https://api.bonsai.io/clusters/dcek-group-llc-5240651189","plan":{"slug":"sandbox-aws-us-east-1","uri":"https://api.bonsai.io/plans/sandbox-aws-us-east-1"},"release":{"service_type":"elasticsearch","package_name":"7.10.2","version":"7.10.2","slug":"elasticsearch-7.10.2","uri":"https://api.bonsai.io/releases/elasticsearch-7.10.2"},"space":{"path":"omc/bonsai/us-east-1/common","region":"aws-us-east-1","uri":"https://api.bonsai.io/spaces/omc/bonsai/us-east-1/common"},"stats":{"docs":2,"shards_used":2,"data_bytes_used":17984},"access":{"host":"dcek-group-llc-5240651189.us-east-1.bonsaisearch.net","port":443,"scheme":"https"},"state":"PROVISIONED"}]}' | ||
headers: | ||
Cache-Control: | ||
- max-age=0, private, must-revalidate | ||
Connection: | ||
- keep-alive | ||
Content-Security-Policy: | ||
- 'default-src ''self'' https:; font-src ''self'' https: data:; img-src ''self'' https: data:; object-src ''none''; script-src ''self'' https: ''unsafe-inline''; style-src ''self'' https: ''unsafe-inline''; connect-src ''self'' http: wss://*.bonsaisearch.net' | ||
Content-Type: | ||
- application/json; charset=utf-8 | ||
Date: | ||
- Sat, 04 May 2024 11:42:50 GMT | ||
Etag: | ||
- W/"067d073e09ae505a2c52df89d915b0af" | ||
Referrer-Policy: | ||
- strict-origin-when-cross-origin | ||
Server: | ||
- Cowboy | ||
Strict-Transport-Security: | ||
- max-age=63072000; includeSubDomains | ||
Vary: | ||
- Accept,Accept-Encoding | ||
Via: | ||
- 1.1 vegur | ||
X-Content-Type-Options: | ||
- nosniff | ||
X-Download-Options: | ||
- noopen | ||
X-Frame-Options: | ||
- SAMEORIGIN | ||
X-Permitted-Cross-Domain-Policies: | ||
- none | ||
X-Request-Id: | ||
- 625ee3ed-ab85-4fde-8d5d-97d7d564680d | ||
X-Runtime: | ||
- "0.046763" | ||
X-Xss-Protection: | ||
- 1; mode=block | ||
status: 200 OK | ||
code: 200 | ||
duration: 292.8763ms |
Oops, something went wrong.