-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AppConfig] Re-record tests with Test proxy (#33902)
- Loading branch information
Showing
153 changed files
with
358,426 additions
and
52,597 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
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
85 changes: 53 additions & 32 deletions
85
.../test/resources/session-records/AadCredentialTest.aadAuthenticationAzConfigClient[1].json
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,33 +1,54 @@ | ||
{ | ||
"networkCallRecords" : [ { | ||
"Method" : "PUT", | ||
"Uri" : "https://REDACTED.azconfig.io/kv/newKey?api-version=1.0", | ||
"Headers" : { | ||
"User-Agent" : "azsdk-java-azure-data-appconfiguration/1.5.0-beta.1 (11.0.10; Windows 10; 10.0)", | ||
"x-ms-client-request-id" : "68039daf-5cbf-42c0-8f7d-1a261e67254d", | ||
"Content-Type" : "application/json" | ||
}, | ||
"Response" : { | ||
"Transfer-Encoding" : "chunked", | ||
"Server" : "openresty/1.21.4.1", | ||
"Access-Control-Allow-Origin" : "*", | ||
"Connection" : "keep-alive", | ||
"Last-Modified" : "Wed, 08 Mar 2023 22:02:54 GMT", | ||
"retry-after" : "0", | ||
"StatusCode" : "200", | ||
"Date" : "Wed, 08 Mar 2023 22:02:54 GMT", | ||
"x-ms-correlation-request-id" : "d53eb0ee-7df1-4439-ad9a-cbec9501ce12", | ||
"Strict-Transport-Security" : "max-age=15724800; includeSubDomains", | ||
"Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-useragent, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, retry-after-ms, x-ms-request-id, x-ms-client-session-id, x-ms-effective-locale, WWW-Authenticate, traceparent, tracestate", | ||
"ETag" : "\"GYH5WDQh5JsfxcRY5mVr0-wUgbyfGEUJlmdNpOXaxJE\"", | ||
"Access-Control-Allow-Credentials" : "true", | ||
"Sync-Token" : "zAJw6V16=MjoyMCM0MjIzMDU5;sn=4223059", | ||
"x-ms-request-id" : "d53eb0ee-7df1-4439-ad9a-cbec9501ce12", | ||
"Body" : "{\"etag\":\"GYH5WDQh5JsfxcRY5mVr0-wUgbyfGEUJlmdNpOXaxJE\",\"key\":\"newKey\",\"label\":null,\"content_type\":null,\"value\":\"newValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2023-03-08T22:02:54+00:00\"}", | ||
"x-ms-client-request-id" : "68039daf-5cbf-42c0-8f7d-1a261e67254d", | ||
"Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" | ||
}, | ||
"Exception" : null | ||
} ], | ||
"variables" : [ ] | ||
} | ||
"Entries": [ | ||
{ | ||
"RequestUri": "https://REDACTED/kv/newKey?api-version=1.0", | ||
"RequestMethod": "PUT", | ||
"RequestHeaders": { | ||
"Accept": "application/vnd.microsoft.azconfig.kv\u002Bjson", | ||
"Authorization": "Sanitized", | ||
"Content-Length": "60", | ||
"Content-Type": "application/json", | ||
"Date": "Wed, 05 Apr 2023 02:25:30 GMT", | ||
"Sync-Token": "", | ||
"User-Agent": "azsdk-java-azure-data-appconfiguration/1.5.0-beta.1 (17.0.1; Windows 11; 10.0)", | ||
"x-ms-client-request-id": "ab86eff1-c976-4de9-8d39-47931c47b8e3", | ||
"x-ms-return-client-request-id": "true" | ||
}, | ||
"RequestBody": { | ||
"key": "newKey", | ||
"value": "newValue", | ||
"tags": {}, | ||
"locked": false | ||
}, | ||
"StatusCode": 200, | ||
"ResponseHeaders": { | ||
"Access-Control-Allow-Credentials": "true", | ||
"Access-Control-Allow-Origin": "*", | ||
"Access-Control-Expose-Headers": "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-useragent, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, retry-after-ms, x-ms-request-id, x-ms-client-session-id, x-ms-effective-locale, WWW-Authenticate, traceparent, tracestate", | ||
"Connection": "keep-alive", | ||
"Content-Type": "application/vnd.microsoft.appconfig.kv\u002Bjson; charset=utf-8", | ||
"Date": "Wed, 05 Apr 2023 02:25:33 GMT", | ||
"ETag": "\u0022myvDafxHUtyNUDgFV2-lvAamc3jj4LwCAM-Ku-TJRTI\u0022", | ||
"Last-Modified": "Wed, 05 Apr 2023 02:25:33 GMT", | ||
"Server": "openresty/1.21.4.1", | ||
"Strict-Transport-Security": "max-age=15724800; includeSubDomains", | ||
"Sync-Token": "zAJw6V16=MjoyMCM0MjgwNzk5;sn=4280799", | ||
"Transfer-Encoding": "chunked", | ||
"x-ms-client-request-id": "ab86eff1-c976-4de9-8d39-47931c47b8e3", | ||
"x-ms-correlation-request-id": "0da178ec-df71-41f2-bea6-d3f7554e13d5", | ||
"x-ms-request-id": "0da178ec-df71-41f2-bea6-d3f7554e13d5" | ||
}, | ||
"ResponseBody": { | ||
"etag": "myvDafxHUtyNUDgFV2-lvAamc3jj4LwCAM-Ku-TJRTI", | ||
"key": "newKey", | ||
"label": null, | ||
"content_type": null, | ||
"value": "newValue", | ||
"tags": {}, | ||
"locked": false, | ||
"last_modified": "2023-04-05T02:25:33\u002B00:00" | ||
} | ||
} | ||
], | ||
"Variables": {} | ||
} |
Oops, something went wrong.