-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[@azure/confidential-ledger-rest] Migrate to latest test recorder and…
… externalize recordings (#26305) ### Packages impacted by this PR `@azure-rest/confidential-ledger` `@azure-tools/test-recorder` ### Issues associated with this PR Fixes #20495 ### Describe the problem that is addressed by this PR Migrate to the latest test recorder in order to use the test proxy and externalize recordings. I also had to regenerate the RLC in order to fix an issue with `isUnexpected` not working properly for the user endpoint. Getting the test resources to deploy correctly also took some doing since it uses the `oid` and not the normal client id of the test app. The tests themselves were a bit busted in places; I shored them up as best I could given the odd behavior of the service. Lastly, the test recorder didn't have support for any custom transport options, so I had to add one in order to pass the `TLSValidationCert` in order for it to work properly with confidential ledger.
- Loading branch information
Showing
42 changed files
with
456 additions
and
38,226 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"AssetsRepo": "Azure/azure-sdk-assets", | ||
"AssetsRepoPrefixPath": "js", | ||
"TagPrefix": "js/confidentialledger/confidential-ledger-rest", | ||
"Tag": "js/confidentialledger/confidential-ledger-rest_73e943cd0e" | ||
} |
145 changes: 0 additions & 145 deletions
145
sdk/confidentialledger/confidential-ledger-rest/karma.conf.js
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
156 changes: 0 additions & 156 deletions
156
...rest/recordings/node/colder_endpoints/recording_should_obtain_constitution_from_ledger.js
This file was deleted.
Oops, something went wrong.
156 changes: 0 additions & 156 deletions
156
...ecordings/node/colder_endpoints/recording_should_retrieve_a_list_of_consortium_members.js
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.