Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Confidential Ledger] GA Data Plane SDK (Azure#24900)
* remove duplicate typing * update version and changelog * added confidentialledger to tox list and fix issues * always import typing * update date in changelog * fix trailing whitespace * remove TransactionStatus model * align get_ledger_entry backoff config api with azure defaults * update typing for ConfidentialLedgerCertificateCredential * dpg generation for new version * small updates * add pytest configuration * wip * the tests ran * tested identity service client and added test for add cert-based user * change identity in test * passed non-async tests * pass all tests and make recordings * totally generate using the old way * update swagger for stable api version * generate using stable and remove auth * update ConfidentialLedgerClient init * patch async init * overrode all expected client operations * overrode async * remove accidental file * attr -> json * fix typos * add https:// * fix imports and credential type checking * fix method name * credential to args * black * fix some tests * updated async tests * fixed entry for range query * generate identity service so it does not get overriden * skip url encoding of user id * generate with autorest python 5.17.0 * pass identity service tests * remove api version from tests * build in typical identity service uri * regenerated * update identity * Union[IO, JSON] * set content-type for create user and fix transaction status check in tests * fix tests * fix user tests * basic readme for samples * follow retry policy parameter names * remove post and wait * remove post_ledger_entry_wait_for_commit from test * Revert "remove post_ledger_entry_wait_for_commit from test" This reverts commit 3e4ad98. * Revert "remove post and wait" This reverts commit 5cb5b0b. * add cert user before starting * add test config files * remove unnecessary environment vars (set by the ARM template) * fix non-async test * GetLedgerEntryPollingMethod * StatePollingMethod * complete poller nonasync * AsyncLroPoller returned * tests to lro * tests use pollers * update arm template * rename module and add sample * update readme up to examples * update readme * list ledger entries readme and sample * finish readme * finish samples * update CHANGELOG * retrieve cert at startup * new recordings for identity service * check collection id * list collections * address pr comments * rename resource group variable per live test setup * ran black * remove ARM template * add user management samples * regenerate with fixed swagger * operations mixin for identity client * latest tests and recordings * use confidential ledger id * updated recordings * contextmanager for async samples * update changelog per comments * put imports in all readme samples * remove operation prefix in Swagger and regenerate * remove some examples from readme and start samples section * samples skeleton * run list_ledger_entries samples * updated manage users sample * get receipt sample * write to ledger * use collections * service verification samples * fix collections signature * add aiohttp to requirements * use uniqueString for ledger name * set resource location * update setup.py based on example * suppress credscan for test secret * fix super and credential attr * omit in toc is causing errors and also apparently not necessary locally anymore * update shared requirements * pylint fixes * no more self.assert * fix super * deduplicate pollingmethod * test fixes * update ledger name * shorten range query test and add delay to add user * greatly shorten range query test * redo recordings * add known word to cspell * add PostTestSteps * reduce flakiness * add envvars * remove PostTestSteps * address edge cases in tests * autorest 6.0.1 * regenerate with batch * rerecord * add comment * better handling of cls in begin_post_ledger_entry * fix typo * fetch TLS certificate automagically * updated tests and README for new convenience TLS cert fetching * pass kwargs * fix credential typo * identity_service -> certificate * rename endpoint params * regen after review and passed tests and samples * regenerated with latest swagger * updated per pr comments * fix pylint * use tempfile.TemporaryDirectory * retry ResourceNotFoundError in poller * address review comments * uupdate release date
- Loading branch information