Commit 593fc57
authored
[@azure/confidential-ledger-rest] Migrate to latest test recorder and externalize recordings (Azure#26305)
### Packages impacted by this PR
`@azure-rest/confidential-ledger`
`@azure-tools/test-recorder`
### Issues associated with this PR
Fixes Azure#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.1 parent 9a2fd32 commit 593fc57
File tree
42 files changed
+456
-38226
lines changed- sdk
- confidentialledger
- confidential-ledger-rest
- recordings/node
- colder_endpoints
- get_collections
- get_ledger_history
- get_user
- list_enclaves
- post_transaction
- range_query_should_be_successful
- test_user_authentications
- review
- src/generated/src
- swagger
- test/public
- utils
- test-utils/recorder
- src
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
42 files changed
+456
-38226
lines changedLines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
Lines changed: 0 additions & 145 deletions
This file was deleted.
Lines changed: 13 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | 53 | | |
58 | 54 | | |
59 | | - | |
60 | | - | |
| 55 | + | |
| 56 | + | |
61 | 57 | | |
62 | | - | |
63 | | - | |
| 58 | + | |
| 59 | + | |
64 | 60 | | |
65 | 61 | | |
66 | | - | |
| 62 | + | |
67 | 63 | | |
68 | 64 | | |
69 | 65 | | |
70 | 66 | | |
71 | | - | |
72 | | - | |
73 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
74 | 70 | | |
75 | 71 | | |
76 | 72 | | |
77 | 73 | | |
78 | 74 | | |
79 | 75 | | |
80 | | - | |
81 | | - | |
82 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
83 | 79 | | |
84 | 80 | | |
85 | 81 | | |
| |||
89 | 85 | | |
90 | 86 | | |
91 | 87 | | |
92 | | - | |
93 | 88 | | |
94 | 89 | | |
95 | 90 | | |
96 | | - | |
| 91 | + | |
| 92 | + | |
97 | 93 | | |
98 | 94 | | |
99 | 95 | | |
| |||
106 | 102 | | |
107 | 103 | | |
108 | 104 | | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | 105 | | |
122 | 106 | | |
123 | 107 | | |
| |||
Lines changed: 0 additions & 156 deletions
This file was deleted.
Lines changed: 0 additions & 156 deletions
This file was deleted.
0 commit comments