diff --git a/sdk/confidentialledger/azure-confidentialledger/CHANGELOG.md b/sdk/confidentialledger/azure-confidentialledger/CHANGELOG.md new file mode 100644 index 000000000000..089a46091db4 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/CHANGELOG.md @@ -0,0 +1,5 @@ +# Release History + + +## 1.0.0b1 (Unreleased) + - Initial public preview implementation diff --git a/sdk/confidentialledger/azure-confidentialledger/MANIFEST.in b/sdk/confidentialledger/azure-confidentialledger/MANIFEST.in new file mode 100644 index 000000000000..013351d8f409 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/MANIFEST.in @@ -0,0 +1,6 @@ +include *.md +include azure/__init__.py +include azure/confidentialledger/__init__.py +include azure/confidentialledger/py.typed +recursive-include tests *.py +recursive-include samples *.py \ No newline at end of file diff --git a/sdk/confidentialledger/azure-confidentialledger/README.md b/sdk/confidentialledger/azure-confidentialledger/README.md new file mode 100644 index 000000000000..2d379557ac44 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/README.md @@ -0,0 +1,470 @@ +# Azure Confidential Ledger client library for Python + +Azure Confidential Ledger provides a service for logging to an immutable, tamper-proof ledger. As part of the [Azure Confidential Computing][azure_confidential_computing] portfolio, Azure Confidential Ledger runs in secure, hardware-based trusted execution environments, also known as enclaves. It is built on Microsoft Research's [Confidential Consortium Framework][ccf]. + +[Source code][confidential_ledger_client_src] | [Package (PyPI)][pypi_package_confidential_ledger] | [API reference documentation][reference_docs] | [Product documentation][confidential_ledger_docs] + +## Getting started +### Install packages +Install [azure-confidentialledger][pypi_package_confidential_ledger] and [azure-identity][azure_identity_pypi] with [pip][pip]: +```Bash +pip install azure-identity azure-confidentialledger +``` +[azure-identity][azure_identity] is used for Azure Active Directory +authentication as demonstrated below. + +### Prerequisites +* An [Azure subscription][azure_sub] +* Python 2.7, 3.5.3, or later +* A running instance of Azure Confidential Ledger. +* A registered user in the Confidential Ledger, typically assigned during [ARM][azure_resource_manager] resource creation, with `Administrator` privileges. + +### Authenticate the client +#### Using Azure Active Directory +This document demonstrates using [DefaultAzureCredential][default_cred_ref] to authenticate to the Confidential Ledger via Azure Active Directory. However, `ConfidentialLedgerClient` accepts any [azure-identity][azure_identity] credential. See the [azure-identity][azure_identity] documentation for more information about other credentials. + +#### Using a client certificate +As an alternative to Azure Active Directory, clients may choose to use a client certificate to authenticate via mutual TLS. `azure.confidentialledger.ConfidentialLedgerCertificateCredential` may be used for this purpose. + +### Create a client +`DefaultAzureCredential` will automatically handle most Azure SDK client scenarios. To get started, set environment variables for the AAD identity registered with your Confidential Ledger. +```bash +export AZURE_CLIENT_ID="generated app id" +export AZURE_CLIENT_SECRET="random password" +export AZURE_TENANT_ID="tenant id" +``` +Then, `DefaultAzureCredential` will be able to authenticate the `ConfidentialLedgerClient`. + +Constructing the client also requires your Confidential Ledger's URL and id, which you can get from the Azure CLI or the Azure Portal. When you have retrieved those values, please replace instances of `"my-ledger-id"` and `"https://my-ledger-url.confidential-ledger.azure.com"` in the examples below + +Because Confidential Ledgers use self-signed certificates securely generated and stored in an enclave, the signing certificate for each Confidential Ledger must first be retrieved from the Confidential Ledger Identity Service. + +```python +from azure.identity import DefaultAzureCredential +from azure.confidentialledger import ConfidentialLedgerClient +from azure.confidentialledger.identity_service import ConfidentialLedgerIdentityServiceClient + +identity_client = ConfidentialLedgerIdentityServiceClient("https://identity.accledger.azure.com") +network_identity = identity_client.get_ledger_identity( + ledger_id="my-ledger-id" +) + +ledger_tls_cert_file_name = "ledger_certificate.pem" +with open(ledger_tls_cert_file_name, "w") as cert_file: + cert_file.write(network_identity.ledger_tls_certificate) + +credential = DefaultAzureCredential() +ledger_client = ConfidentialLedgerClient( + endpoint="https://my-ledger-url.confidential-ledger.azure.com", + credential=credential, + ledger_certificate_path=ledger_tls_cert_file_name +) +``` + +## Key concepts +### Ledger entries and transactions +Every write to Azure Confidential Ledger generates an immutable ledger entry in the service. Writes, also referred to as transactions, are uniquely identified by transaction ids that increment with each write. Once written, ledger entries may be retrieved at any time. + +### Receipts +State changes to the Confidential Ledger are saved in a data structure called a Merkle tree. To cryptographically verify that writes were correctly saved, a Merkle proof, or receipt, can be retrieved for any transaction id. + +### Sub-ledgers +While most use cases will involve one ledger, we provide the sub-ledger feature in case semantically or logically different groups of data need to be stored in the same Confidential Ledger. + +Ledger entries are retrieved by their sub-ledger identifier. The Confidential Ledger will always assume a constant, service-determined sub-ledger id for entries submitted without a sub-ledger specified. + +### Users +Users are managed directly with the Confidential Ledger instead of through Azure. Users may be AAD-based, identified by their AAD object id, or certificate-based, identified by their PEM certificate fingerprint. + +### Confidential computing +[Azure Confidential Computing][azure_confidential_computing] allows you to isolate and protect your data while it is being processed in the cloud. Azure Confidential Ledger runs on Azure Confidential Computing virtual machines, thus providing stronger data protection with encryption of data in use. + +### Confidential Consortium Framework +Azure Confidential Ledger is built on Microsoft Research's open-source [Confidential Consortium Framework (CCF)][ccf]. Under CCF, applications are managed by a consortium of members with the ability to submit proposals to modify and govern application operation. In Azure Confidential Ledger, Microsoft Azure owns a member identity, allowing it to perform governance actions like replacing unhealthy nodes in the Confidential Ledger, or upgrading the enclave code. + +## Examples +This section contains code snippets covering common tasks: +* [Append a ledger entry](#append-entry "Append a ledger entry") +* [Get a receipt](#get-receipt "Get a receipt") +* [Using sub-ledgers](#using-sub-ledgers "Using sub-ledgers") +* [Retrieving ledger entries](#retrieving-ledger-entries "Retrieving ledger entries") +* [Making a ranged query](#making-a-ranged-query "Making a ranged query") +* [Managing users](#managing-users "Managing users") +* [Using certificate authentication](#using-certificate-authentication "Using certificate authentication") +* [Verifying service details](#verifying-service-details "Verifying service details") +* [Asynchronously get a ledger entry](#asynchronously-get-a-ledger-entry "Asynchronously get a ledger entry") +* [Asynchronously get a range of ledger entries](#asynchronously-get-a-range-of-ledger-entries "Asynchronously get a range of ledger entries") + + +### Append entry +Data that needs to be stored immutably in a tamper-proof manner can be saved to Azure Confidential Ledger by appending an entry to the ledger. + +```python +append_result = ledger_client.append_to_ledger(entry_contents="Hello world!") +print(append_result.transaction_id) +``` + +Since Confidential Ledger is a distributed system, rare transient failures may cause writes to be lost. For entries that must be preserved, it is advisable to verify that the write became durable. Waits are blocking calls. +```python +from azure.confidentialledger import TransactionState +ledger_client.wait_until_durable(transaction_id=append_result.transaction_id) +assert ledger_client.get_transaction_status( + transaction_id=append_result.transaction_id +) is TransactionState.COMMITTED + +# Alternatively, a client may wait when appending. +append_result = ledger_client.append_to_ledger( + entry_contents="Hello world, again!", wait_for_commit=True +) +assert ledger_client.get_transaction_status( + transaction_id=append_result.transaction_id +) is TransactionState.COMMITTED +``` + +### Get receipt +A receipt can be retrieved for any transaction id to provide cryptographic proof of the contents of the transaction. +```python +receipt = ledger_client.get_transaction_receipt( + transaction_id=append_result.transaction_id +) +print(receipt.contents) +``` + +### Using sub-ledgers +Clients can write to different sub-ledgers to separate logically-distinct data. +```python +ledger_client.append_to_ledger( + entry_contents="Hello from Alice", sub_ledger_id="Alice's messages" +) +ledger_client.append_to_ledger( + entry_contents="Hello from Bob", sub_ledger_id="Bob's messages" +) +``` + +When no sub-ledger id is specified on method calls, the Confidential Ledger service will assume a constant, service-determined sub-ledger id. +```python +append_result = ledger_client.append_to_ledger(entry_contents="Hello world?") + +# The append result contains the sub-ledger id assigned. +entry_by_subledger = ledger_client.get_ledger_entry( + transaction_id=append_result.transaction_id, + sub_ledger_id=append_result.sub_ledger_id +) +assert entry_by_subledger.contents == "Hello world?" + +# When a ledger entry is retrieved without a sub-ledger specified, +# the service default is used. +entry = ledger_client.get_ledger_entry(transaction_id=append_result.transaction_id) +assert entry.contents == entry_by_subledger.contents +assert entry.sub_ledger_id == entry_by_subledger.sub_ledger_id +``` + +### Retrieving ledger entries +Ledger entries are retrieved from sub-ledgers. When a transaction id is specified, the returned value is the value contained in the specified sub-ledger at the point in time identified by the transaction id. If no transaction id is specified, the latest available value is returned. +```python +append_result = ledger_client.append_to_ledger(entry_contents="Hello world 0") +ledger_client.append_to_ledger(entry_contents="Hello world 1") + +subledger_append_result = ledger_client.append_to_ledger( + entry_contents="Hello world sub-ledger 0", + sub_ledger_id="sub-ledger" +) +ledger_client.append_to_ledger( + entry_contents="Hello world sub-ledger 1", + sub_ledger_id="sub-ledger" +) + +# The ledger entry written at 'append_result.transaction_id' +# is retrieved from the default sub-ledger. +entry = ledger_client.get_ledger_entry(transaction_id=append_result.transaction_id) +assert entry.contents == "Hello world 0" + +# This is the latest entry available in the default sub-ledger. +latest_entry = ledger_client.get_ledger_entry() +assert latest_entry.contents == "Hello world 1" + +# The ledger entry written at 'subledger_append_result.transaction_id' +# is retrieved from the sub-ledger 'sub-ledger'. +subledger_entry = ledger_client.get_ledger_entry( + transaction_id=subledger_append_result.transaction_id, + sub_ledger_id="sub-ledger" +) +assert subledger_entry.contents == "Hello world sub-ledger 0" + +# This is the latest entry available in the sub-ledger 'sub-ledger'. +subledger_latest_entry = ledger_client.get_ledger_entry( + sub_ledger_id="sub-ledger" +) +assert subledger_latest_entry.contents == "Hello world sub-ledger 1" +``` + +### Making a ranged query +Ledger entries in a sub-ledger may be retrieved over a range of transaction ids. +```python +ranged_result = ledger_client.get_ledger_entries( + from_transaction_id="12.3" +) +for entry in ranged_result: + print(f"Transaction id {entry.transaction_id} contents: {entry.contents}") +``` + +### Managing users +Users with `Administrator` privileges can manage users of the Confidential Ledger directly with the Confidential Ledger itself. Available roles are `Reader` (read-only), `Contributor` (read and write), and `Administrator` (read, write, and add or remove users). + +```python +from azure.confidentialledger import LedgerUserRole +user_id = "some AAD object id" +user = ledger_client.create_or_update_user( + user_id, LedgerUserRole.CONTRIBUTOR +) +# A client may now be created and used with AAD credentials for the user identified by `user_id`. + +user = ledger_client.get_user(user_id) +assert user.id == user_id +assert user.role == LedgerUserRole.CONTRIBUTOR + +ledger_client.delete_user(user_id) + +# For a certificate-based user, their user ID is the fingerprint for their PEM certificate. +user_id = "PEM certificate fingerprint" +user = ledger_client.create_or_update_user( + user_id, LedgerUserRole.READER +) +``` + +### Using certificate authentication +Clients may authenticate with a client certificate in mutual TLS instead of via an Azure Active Directory token. `ConfidentialLedgerCertificateCredential` is provided for such clients. +```python +from azure.confidentialledger import ConfidentialLedgerClient, ConfidentialLedgerCertificateCredential +from azure.confidentialledger.identity_service import ConfidentialLedgerIdentityServiceClient + +identity_client = ConfidentialLedgerIdentityServiceClient("https://identity.accledger.azure.com") +network_identity = identity_client.get_ledger_identity( + ledger_id="my-ledger-id" +) + +ledger_tls_cert_file_name = "ledger_certificate.pem" +with open(ledger_tls_cert_file_name, "w") as cert_file: + cert_file.write(network_identity.ledger_tls_certificate) + +credential = ConfidentialLedgerCertificateCredential("path to user certificate PEM") +ledger_client = ConfidentialLedgerClient( + endpoint="https://my-ledger-url.confidential-ledger.azure.com", + credential=credential, + ledger_certificate_path=ledger_tls_cert_file_name +) +``` + +### Verifying service details +One may want to validate details about the Confidential Ledger for a variety of reasons. For example, you may want to view details about how Microsoft may manage your Confidential Ledger as part of [Confidential Consortium Framework governance](https://microsoft.github.io/CCF/main/governance/index.html), or verify that your Confidential Ledger is indeed running in a secure enclave. A number of client methods are provided for these use cases. +```python +consortium = ledger_client.get_consortium() +# Consortium members can manage and alter the Confidential Ledger, +# such as by replacing unhealthy nodes. +for member in consortium.members: + print(member.certificate) + print(member.id) + +import hashlib +# The constitution is a collection of JavaScript code that +# defines actions available to members, +# and vets proposals by members to execute those actions. +constitution = ledger_client.get_constitution() +assert constitution.digest.lower() == \ + hashlib.sha256(constitution.contents.encode()).hexdigest().lower() +print(constitution.contents) +print(constitution.digest) + +# Enclave quotes contain material that can be used to +# cryptographically verify the validity and contents +# of an enclave. +ledger_enclaves = ledger_client.get_enclave_quotes() +assert ledger_enclaves.source_node in ledger_enclaves.quotes +for node_id, quote in ledger_enclaves.quotes.items(): + assert node_id == quote.node_id + print(quote.node_id) + print(quote.mrenclave) + print(quote.raw_quote) + print(quote.version) +``` + +[Microsoft Azure Attestation Service](https://azure.microsoft.com/services/azure-attestation/) is one provider of enclave quotes. + +### Async API +This library includes a complete async API supported on Python 3.5+. To use it, you must first install an async transport, such as [aiohttp](https://pypi.org/project/aiohttp). See the [azure-core documentation](https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/core/azure-core/CLIENT_LIBRARY_DEVELOPER.md#transport) for more information. + +An async client is obtained from `azure.confidentialledger.aio`. Methods have the same names and signatures as the synchronous client. + +Async clients should be closed when they're no longer needed. These objects are async context managers and define async `close` methods. For example: + +```python +from azure.identity.aio import DefaultAzureCredential +from azure.confidentialledger.aio import ConfidentialLedgerClient +from azure.confidentialledger.identity_service.aio import ConfidentialLedgerIdentityServiceClient + +identity_client = ConfidentialLedgerIdentityServiceClient("https://identity.accledger.azure.com") +network_identity = await identity_client.get_ledger_identity( + ledger_id="my-ledger-id" +) + +ledger_tls_cert_file_name = "ledger_certificate.pem" +with open(ledger_tls_cert_file_name, "w") as cert_file: + cert_file.write(network_identity.ledger_tls_certificate) + +credential = DefaultAzureCredential() +ledger_client = ConfidentialLedgerClient( + endpoint="https://my-ledger-url.confidential-ledger.azure.com", + credential=credential, + ledger_certificate_path=ledger_tls_cert_file_name +) + +# Call close when the client and credential are no longer needed. +await client.close() +await credential.close() + +# Alternatively, use them as async context managers (contextlib.AsyncExitStack can help). +ledger_client = ConfidentialLedgerClient( + endpoint="https://my-ledger-url.confidential-ledger.azure.com", + credential=credential, + ledger_certificate_path=ledger_tls_cert_file_name +) +async with client: + async with credential: + pass +``` + +#### Asynchronously get a ledger entry +Ledger entries may be retrieved with the async client. +```python +entry = await self.client.get_ledger_entry() +print(entry.contents) +print(entry.sub_ledger_id) +``` + +#### Asynchronously get a range of ledger entries +Ledger entries may be retrieved over a range with the async client. +```python +query_result = client.get_ledger_entries( + from_transaction_id="12.3" +) +async for entry in query_result: + print(entry.transaction_id) + print(entry.contents) +``` + +## Troubleshooting +### General +Confidential Ledger clients raise exceptions defined in [azure-core][azure_core_exceptions]. For example, if you try to get a transaction that doesn't exist, `ConfidentialLedgerClient` raises [ResourceNotFoundError](https://aka.ms/azsdk-python-core-exceptions-resource-not-found-error): + +```python +from azure.identity import DefaultAzureCredential +from azure.confidentialledger import ConfidentialLedgerClient +from azure.confidentialledger.identity_service import ConfidentialLedgerIdentityServiceClient + +identity_client = ConfidentialLedgerIdentityServiceClient("https://identity.accledger.azure.com") +network_identity = identity_client.get_ledger_identity( + ledger_id="my-ledger-id" +) + +ledger_tls_cert_file_name = "ledger_certificate.pem" +with open(ledger_tls_cert_file_name, "w") as cert_file: + cert_file.write(network_identity.ledger_tls_certificate) + +credential = DefaultAzureCredential() +ledger_client = ConfidentialLedgerClient( + endpoint="https://my-ledger-url.confidential-ledger.azure.com", + credential=credential, + ledger_certificate_path=ledger_tls_cert_file_name +) + +try: + ledger_client.get_ledger_entry(transaction_id="10000.100000") +except ResourceNotFoundError as e: + print(e.message) +``` + +### Logging +This library uses the standard +[logging](https://docs.python.org/3.5/library/logging.html) library for logging. Basic information about HTTP sessions (URLs, headers, etc.) is logged at INFO level. + +Detailed DEBUG level logging, including request/response bodies and unredacted headers, can be enabled on a client with the `logging_enable` argument: +```python +import logging +import sys + +from azure.identity import DefaultAzureCredential +from azure.confidentialledger import ConfidentialLedgerClient +from azure.confidentialledger.identity_service import ConfidentialLedgerIdentityServiceClient + +# Create a logger for the 'azure' SDK +logger = logging.getLogger('azure') +logger.setLevel(logging.DEBUG) + +# Configure a console output +handler = logging.StreamHandler(stream=sys.stdout) +logger.addHandler(handler) + +identity_client = ConfidentialLedgerIdentityServiceClient("https://identity.accledger.azure.com") +network_identity = identity_client.get_ledger_identity( + ledger_id="my-ledger-id" +) + +ledger_tls_cert_file_name = "ledger_certificate.pem" +with open(ledger_tls_cert_file_name, "w") as cert_file: + cert_file.write(network_identity.ledger_tls_certificate) + +credential = DefaultAzureCredential() + +# This client will log detailed information about its HTTP sessions, at DEBUG level +ledger_client = ConfidentialLedgerClient( + endpoint="https://my-ledger-url.confidential-ledger.azure.com", + credential=credential, + ledger_certificate_path=ledger_tls_cert_file_name, + logging_enable=True +) +``` + +Similarly, `logging_enable` can enable detailed logging for a single operation, even when it isn't enabled for the client: +```python +ledger_client.get_ledger_entry(transaction_id="12.3", logging_enable=True) +``` + +## Next steps +### Additional Documentation +For more extensive documentation on Azure Confidential Ledger, see the +[API reference documentation][reference_docs]. You may also read more about Microsoft Research's open-source [Confidential Consortium Framework][ccf]. + +## Contributing +This project welcomes contributions and suggestions. Most contributions require +you to agree to a Contributor License Agreement (CLA) declaring that you have +the right to, and actually do, grant us the rights to use your contribution. +For details, visit https://cla.microsoft.com. + +When you submit a pull request, a CLA-bot will automatically determine whether +you need to provide a CLA and decorate the PR appropriately (e.g., label, +comment). Simply follow the instructions provided by the bot. You will only +need to do this once across all repos using our CLA. + +This project has adopted the [Microsoft Open Source Code of Conduct][code_of_conduct]. +For more information, see the +[Code of Conduct FAQ][code_of_conduct_faq] or +contact opencode@microsoft.com with any additional questions or comments. + + +[azure_cli]: https://docs.microsoft.com/cli/azure +[azure_cloud_shell]: https://shell.azure.com/bash +[azure_confidential_computing]: https://azure.microsoft.com/solutions/confidential-compute +[azure_core_exceptions]: https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/core/azure-core#azure-core-library-exceptions +[azure_identity]: https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/identity/azure-identity +[azure_identity_pypi]: https://pypi.org/project/azure-identity/ +[azure_resource_manager]: https://docs.microsoft.com/azure/azure-resource-manager/management/overview +[azure_sub]: https://azure.microsoft.com/free +[ccf]: https://github.com/Microsoft/CCF +[code_of_conduct]: https://opensource.microsoft.com/codeofconduct +[code_of_conduct_faq]: https://opensource.microsoft.com/codeofconduct/faq +[confidential_ledger_client_src]: https://aka.ms/azsdk/python/confidentialledger/src +[confidential_ledger_docs]: https://aka.ms/confidentialledger-servicedocs +[default_cred_ref]: https://aka.ms/azsdk/python/identity/docs#azure.identity.DefaultAzureCredential +[pip]: https://pypi.org/project/pip/ +[pypi_package_confidential_ledger]: https://aka.ms/azsdk/python/confidentialledger/pypi +[reference_docs]: https://aka.ms/azsdk/python/confidentialledger/ref-docs diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/__init__.py b/sdk/confidentialledger/azure-confidentialledger/azure/__init__.py new file mode 100644 index 000000000000..43762be102fc --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/__init__.py @@ -0,0 +1,2 @@ + +__path__ = __import__("pkgutil").extend_path(__path__, __name__) diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/__init__.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/__init__.py new file mode 100644 index 000000000000..789190347fec --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/__init__.py @@ -0,0 +1,46 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +# pylint: disable=unused-import + +from ._client import ConfidentialLedgerClient +from ._enums import LedgerUserRole, TransactionState +from ._models import ( + AppendResult, + Consortium, + ConsortiumMember, + Constitution, + EnclaveQuote, + LedgerEnclaves, + LedgerEntry, + LedgerUser, + TransactionReceipt, + TransactionStatus, +) +from ._shared import ConfidentialLedgerCertificateCredential + + +___all__ = [ + "ConfidentialLedgerCertificateCredential", + "ConfidentialLedgerClient", + # Enums + "LedgerUserRole", + "TransactionState", + # Models + "AppendResult", + "Consortium", + "ConsortiumMember", + "Constitution", + "EnclaveQuote", + "LedgerEnclaves", + "LedgerEntry", + "LedgerUser", + "TransactionReceipt", + "TransactionStatus", +] + + +from ._version import VERSION + +__version__ = VERSION diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_client.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_client.py new file mode 100644 index 000000000000..15e1958c9f13 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_client.py @@ -0,0 +1,481 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ + +import time + +from azure.core.tracing.decorator import distributed_trace + +from ._client_base import ConfidentialLedgerClientBase +from ._enums import LedgerUserRole, TransactionState +from ._generated._generated_ledger.v0_1_preview.models import ConfidentialLedgerQueryState +from ._models import ( + AppendResult, + Constitution, + Consortium, + ConsortiumMember, + EnclaveQuote, + LedgerEnclaves, + LedgerEntry, + LedgerUser, + TransactionReceipt, + TransactionStatus, +) +from ._shared import ( + ConfidentialLedgerCertificateCredential, +) + +try: + from typing import TYPE_CHECKING +except ImportError: + TYPE_CHECKING = False + +if TYPE_CHECKING: + from azure.core.credentials import TokenCredential + from azure.core.paging import ItemPaged + from typing import Any, Union + + +class ConfidentialLedgerClient(ConfidentialLedgerClientBase): + """A client for putting data into and querying data from the Confidential Ledger service. + + The `transport` parameter is typically accepted by Azure SDK clients to provide a custom + transport stage in the pipeline. Since this client makes modifications to the default transport, + using a custom transport will override and remove the following functionality: + 1) Authentication using a client certificate. + 2) TLS verification using the Confidential Ledger TLS certificate. + + :param str endpoint: URL of the Confidential Ledger service. + :param credential: A credential object for authenticating with the Confidential Ledger. + :type credential: ~azure.confidentialledger.ConfidentialLedgerCertificateCredential + :param str ledger_certificate_path: The path to the ledger's TLS certificate. + :keyword api_version: Version of the Confidential Ledger API to use. Defaults to the most recent. + Support API versions: + - 0.1-preview + :type api_version: str + """ + + def __init__(self, endpoint, credential, ledger_certificate_path, **kwargs): + # type: (str, Union[ConfidentialLedgerCertificateCredential, TokenCredential], str, Any) -> None + super(ConfidentialLedgerClient, self).__init__( + endpoint=endpoint, + credential=credential, + ledger_certificate_path=ledger_certificate_path, + **kwargs + ) + + @distributed_trace + def append_to_ledger( + self, + entry_contents, # type: str + **kwargs # type: Any + ): + # type: (...) -> AppendResult + """Appends an entry to the Confidential Ledger. + + :param entry_contents: Text to write to the ledger. + :type entry_contents: str + :keyword str sub_ledger_id: Identifies the sub-ledger to append to. If none is + specified, the service will use the service-default sub-ledger id. + :keyword bool wait_for_commit: If True, this method will not return until the write is + durably saved to the ledger. + """ + + wait_for_commit = kwargs.pop("wait_for_commit", False) + + if entry_contents is None: + raise ValueError("entry_contents must be a string") + + # pylint: disable=protected-access + result = self._client.confidential_ledger.post_ledger_entry( + contents=entry_contents, + # Not a valid kwarg for wait_for_commit (will throw at requests layer), + # so it has to be popped. + sub_ledger_id=kwargs.pop("sub_ledger_id", None), + cls=kwargs.pop("cls", AppendResult._from_pipeline_result), + **kwargs + ) + + if wait_for_commit: + self.wait_until_durable(result.transaction_id, **kwargs) + + return result + + @distributed_trace + def create_or_update_user( + self, + user_id, # type: str + role, # type: Union[str, LedgerUserRole] + **kwargs # type: Any + ): + # type: (...) -> LedgerUser + """Creates a new Confidential Ledger user, or updates an existing one. + + :param user_id: Identifies the user to delete. This should be an AAD object id or + certificate fingerprint. + :type user_id: str + :param role: Role to assigned to the user. + :type role: str or LedgerUserRole + :return: Details of the updated ledger user. + :rtype: ~azure.confidentialledger.LedgerUser + :raises: ~azure.core.exceptions.HttpResponseError + """ + + if user_id is None or role is None: + raise ValueError("user_id or role cannot be None") + + result = self._client.confidential_ledger.create_or_update_user( + user_id=user_id, + assigned_role=role.value if isinstance(role, LedgerUserRole) else role, + **kwargs + ) + return LedgerUser( + user_id=result.user_id, role=LedgerUserRole(result.assigned_role) + ) + + @distributed_trace + def delete_user( + self, + user_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + """Deletes a user from the Confidential Ledger. + + :param user_id: Identifies the user to delete. This should be an AAD object id or + certificate fingerprint. + :type user_id: str + :return: None + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + + if user_id is None: + raise ValueError("user_id cannot be None") + + self._client.confidential_ledger.delete_user(user_id=user_id, **kwargs) + + @distributed_trace + def get_constitution( + self, **kwargs # type: Any + ): + # type: (...) -> Constitution + """Gets the constitution used for governance. + + The constitution is a script that assesses and applies proposals from consortium members. + + :return: The contents of the constitution and its digest. + :rtype: ~azure.confidentialledger.Constitution + :raises: ~azure.core.exceptions.HttpResponseError + """ + + result = self._client.confidential_ledger.get_constitution(**kwargs) + return Constitution(script=result.script, digest=result.digest) + + @distributed_trace + def get_consortium( + self, + **kwargs # type: Any + ): + # type: (...) -> Consortium + """Gets the consortium members. + + Consortium members can manage the Confidential Ledger. + + :return: Details about the consortium. + :rtype: ~azure.confidentialledger.Consortium + :raises: ~azure.core.exceptions.HttpResponseError + """ + + result = self._client.confidential_ledger.get_consortium_members(**kwargs) + return Consortium( + members=[ + ConsortiumMember(certificate=member.certificate, member_id=member.id) + for member in result.members + ] + ) + + @distributed_trace + def get_enclave_quotes( + self, + **kwargs # type: Any + ): + # type: (...) -> LedgerEnclaves + """Gets enclave quotes from all nodes in the Confidential Ledger network. + + :return: Enclave quotes for nodes in the Confidential Ledger. + :rtype: ~azure.confidentialledger.LedgerEnclaves + :raises: ~azure.core.exceptions.HttpResponseError + """ + + result = self._client.confidential_ledger.get_enclave_quotes(**kwargs) + return LedgerEnclaves( + { + quote.node_id: EnclaveQuote( + node_id=quote.node_id, + mrenclave=quote.mrenclave, + raw_quote=quote.raw, + version=quote.quote_version, + ) + for quote in result.enclave_quotes.values() + }, + result.current_node_id, + ) + + @distributed_trace + def get_ledger_entries( + self, + **kwargs # type: Any + ): + # type: (...) -> ItemPaged[LedgerEntry] + """Gets a range of entries in the ledger. + + :keyword str from_transaction_id: Transaction identifier from which to start the query. + If this is not specified, the query begins from the first transaction. + :keyword str to_transaction_id: Transaction identifier at which to end the query + (inclusive). If this is not specified, the query ends at the end of the ledger. + :keyword str sub_ledger_id: Identifies the sub-ledger to fetch the ledger entry from. + :return: An iterable for iterating over the entries in the range. + :rtype: ~azure.core.paging.ItemPaged[LedgerEntry] + :raises: ~azure.core.exceptions.HttpResponseError + """ + + from_transaction_id = kwargs.pop("from_transaction_id", None) + to_transaction_id = kwargs.pop("to_transaction_id", None) + + if from_transaction_id is not None: + if not from_transaction_id: + raise ValueError( + "If not None, from_transaction_id must be a non-empty string" + ) + if to_transaction_id is not None: + if not to_transaction_id: + raise ValueError( + "If not None, to_transaction_id must be a non-empty string" + ) + + # pylint: disable=protected-access + return self._client.confidential_ledger.get_ledger_entries( + from_transaction_id=from_transaction_id, + to_transaction_id=to_transaction_id, + cls=kwargs.pop( + "cls", + lambda entries: [ + LedgerEntry._from_pipeline_result(entry) for entry in entries + ] + if entries is not None + else [], + ), + **kwargs + ) + + @distributed_trace + def get_ledger_entry( + self, + **kwargs # type: Any + ): + # type: (...) -> LedgerEntry + """Gets an entry in the ledger. The query may need to be retried while the + service is loading results. + + :keyword float interval: Interval, in seconds, between retries while waiting for results, + defaults to 0.5. + :keyword int max_tries: Maximum number of times to try the query, defaults to 6. Retries are + attempted if the result is not Ready. + :keyword str transaction_id: A transaction identifier. If not specified, the latest + transaction is fetched. + :keyword sub_ledger_id: Identifies the sub-ledger to fetch the ledger entry from. + :return: The corresponding ledger entry. + :rtype: ~azure.confidentialledger.LedgerEntry + :raises: ~azure.core.exceptions.HttpResponseError + """ + + interval = kwargs.pop("interval", 0.5) + max_tries = kwargs.pop("max_tries", 6) + transaction_id = kwargs.pop("transaction_id", None) + + if transaction_id is not None: + if not transaction_id: + raise ValueError( + "If not None, transaction_id must be a non-empty string" + ) + + if transaction_id is None: + result = self._client.confidential_ledger.get_current_ledger_entry(**kwargs) + return LedgerEntry( + transaction_id=result.transaction_id, + contents=result.contents, + sub_ledger_id=result.sub_ledger_id, + ) + + ready = False + result = None + state = None + for _ in range(max_tries): + result = self._client.confidential_ledger.get_ledger_entry( + transaction_id=transaction_id, **kwargs + ) + ready = result.state == ConfidentialLedgerQueryState.READY + if not ready: + state = result.state + time.sleep(interval) + else: + break + if not ready: + raise TimeoutError( + "After {0} attempts, the query still had state {1}, not {2}".format( + max_tries, state, ConfidentialLedgerQueryState.READY + ) + ) + + return LedgerEntry( + transaction_id=result.entry.transaction_id, + contents=result.entry.contents, + sub_ledger_id=result.entry.sub_ledger_id, + ) + + @distributed_trace + def get_transaction_receipt( + self, + transaction_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> TransactionReceipt + """Get a receipt for a specific transaction. The query may need to be retried while the + service is loading results. + + :param transaction_id: Transaction identifier. + :type transaction_id: str + :keyword float interval: Interval, in seconds, between retries while waiting for results, + defaults to 0.5. + :keyword int max_tries: Maximum number of times to try the query, defaults to 6. Retries are + attempted if the result is not Ready. + :return: Receipt certifying the specified transaction. + :rtype: ~azure.confidentialledger.TransactionReceipt + :raises: ~azure.core.exceptions.HttpResponseError + """ + + if transaction_id is None: + raise ValueError("transaction_id cannot be None") + + interval = kwargs.pop("interval", 0.5) + max_tries = kwargs.pop("max_tries", 6) + + ready = False + result = None + state = None + for _ in range(max_tries): + result = self._client.confidential_ledger.get_receipt( + transaction_id=transaction_id, + **kwargs + ) + + ready = result.state == ConfidentialLedgerQueryState.READY + if not ready: + state = result.state + time.sleep(interval) + else: + break + if not ready: + raise TimeoutError( + "After {0} attempts, the query still had state {1}, not {2}".format( + max_tries, state, ConfidentialLedgerQueryState.READY + ) + ) + + return TransactionReceipt( + transaction_id=result.transaction_id, receipt=result.receipt + ) + + @distributed_trace + def get_transaction_status( + self, + transaction_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> TransactionStatus + """Gets the status of a transaction. + + :param transaction_id: Identifier for the transaction to get the status of. + :type transaction_id: str + :return: Status object describing the transaction status. + :rtype: ~azure.confidentialledger.TransactionStatus + :raises: ~azure.core.exceptions.HttpResponseError + """ + + if transaction_id is None: + raise ValueError("transaction_id cannot be None") + + result = self._client.confidential_ledger.get_transaction_status( + transaction_id=transaction_id, **kwargs + ) + return TransactionStatus( + transaction_id=result.transaction_id, state=TransactionState(result.state) + ) + + @distributed_trace + def get_user( + self, + user_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> LedgerUser + """Gets a Confidential Ledger user. + + :param user_id: Identifies the user to delete. This should be an AAD object id or + certificate fingerprint. + :type user_id: str + :return: Details about the user. + :rtype: ~azure.confidentialledger.LedgerUser + :raises: ~azure.core.exceptions.HttpResponseError + """ + + if user_id is None: + raise ValueError("user_id cannot be None") + + result = self._client.confidential_ledger.get_user(user_id=user_id, **kwargs) + return LedgerUser( + user_id=result.user_id, role=LedgerUserRole(result.assigned_role) + ) + + @distributed_trace + def wait_until_durable( + self, + transaction_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + """Queries the status of the specified transaction until it is Committed, indicating that + the transaction is durably stored in the Confidential Ledger. If this state is not reached + by `max_queries`, a TimeoutError is raised. + + :param transaction_id: Identifies the transaction to wait for. + :type transaction_id: str + :keyword float interval: Interval, in seconds, between retries while waiting for results, + defaults to 0.5. + :keyword int max_queries: Maximum number of queries to make for durability, defaults to 3. + :return: None. + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + :raises: TimeoutError + """ + + interval = kwargs.pop("interval", 0.5) + max_queries = kwargs.pop("max_queries", 3) + + for attempt_num in range(max_queries): + transaction_status = self.get_transaction_status( + transaction_id=transaction_id, **kwargs + ) + if transaction_status.state is TransactionState.COMMITTED: + return + + if attempt_num < max_queries - 1: + time.sleep(interval) + + raise TimeoutError( + "Transaction {0} is not {1} yet".format( + transaction_id, TransactionState.COMMITTED + ) + ) diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_client_base.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_client_base.py new file mode 100644 index 000000000000..d8a9b8dfcba2 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_client_base.py @@ -0,0 +1,127 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ + +from azure.core.pipeline.policies import BearerTokenCredentialPolicy, HttpLoggingPolicy +from azure.core.pipeline.transport import RequestsTransport + +from ._generated._generated_ledger.v0_1_preview import ( + ConfidentialLedgerClient as _ConfidentialLedgerClient, +) +from ._shared import ConfidentialLedgerCertificateCredential, DEFAULT_VERSION + +try: + from typing import TYPE_CHECKING +except ImportError: + TYPE_CHECKING = False + +if TYPE_CHECKING: + from azure.core.credentials import TokenCredential + from typing import Any, Union + + +class ConfidentialLedgerClientBase(object): + def __init__(self, endpoint, credential, ledger_certificate_path, **kwargs): + # type: (str, Union[ConfidentialLedgerCertificateCredential, TokenCredential], str, Any) -> None + + client = kwargs.get("generated_client") + if client: + # caller provided a configured client -> nothing left to initialize + self._client = client + return + + if not endpoint: + raise ValueError("Expected endpoint to be a non-empty string") + + if not credential: + raise ValueError("Expected credential to not be None") + + if not isinstance(ledger_certificate_path, str): + raise TypeError("ledger_certificate_path must be a string") + + if ledger_certificate_path == "": + raise ValueError( + "If not None, ledger_certificate_path must be a non-empty string" + ) + + try: + endpoint = endpoint.strip(" /") + if not endpoint.startswith("https://"): + self._endpoint = "https://" + endpoint + else: + self._endpoint = endpoint + except AttributeError: + raise ValueError("Confidential Ledger URL must be a string.") + + self.api_version = kwargs.pop("api_version", DEFAULT_VERSION) + + pipeline = kwargs.pop("pipeline", None) + transport = kwargs.pop("transport", None) + if transport is None: + # Customize the transport layer to use client certificate authentication and validate + # a self-signed TLS certificate. + if isinstance(credential, ConfidentialLedgerCertificateCredential): + kwargs["connection_cert"] = credential.certificate_path + + kwargs["connection_verify"] = ledger_certificate_path + transport = RequestsTransport(**kwargs) + + http_logging_policy = HttpLoggingPolicy(**kwargs) + http_logging_policy.allowed_header_names.update( + { + "x-ms-keyvault-network-info", + "x-ms-keyvault-region", + "x-ms-keyvault-service-version", + } + ) + + if not isinstance(credential, ConfidentialLedgerCertificateCredential): + kwargs["authentication_policy"] = kwargs.pop( + "authentication_policy", + BearerTokenCredentialPolicy( + credential, + "https://confidential-ledger.azure.com/.default", + **kwargs + ), + ) + + try: + self._client = _ConfidentialLedgerClient( + self._endpoint, + api_version=self.api_version, + pipeline=pipeline, + transport=transport, + http_logging_policy=http_logging_policy, + **kwargs + ) + except NotImplementedError: + raise NotImplementedError( + "This package doesn't support API version '{}'. ".format( + self.api_version + ) + + "Supported versions: 0.1-preview" + ) + + @property + def endpoint(self): + # type: () -> str + """The URL this client is connected to.""" + return self._endpoint + + def __enter__(self): + # type: () -> ConfidentialLedgerClientBase + self._client.__enter__() + return self + + def __exit__(self, *args): + # type: (Any) -> None + self._client.__exit__(*args) + + def close(self): + # type: () -> None + """Close sockets opened by the client. + + Calling this method is unnecessary when using the client as a context manager. + """ + self._client.close() diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_enums.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_enums.py new file mode 100644 index 000000000000..16dbec4f84ab --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_enums.py @@ -0,0 +1,21 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ + +from enum import Enum + + +class LedgerUserRole(Enum): + """User roles assignable in a Confidential Ledger.""" + + ADMINISTRATOR = "Administrator" + CONTRIBUTOR = "Contributor" + READER = "Reader" + + +class TransactionState(Enum): + """Indicates the status of a transaction.""" + + COMMITTED = "Committed" + PENDING = "Pending" diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/__init__.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/__init__.py new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/__init__.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/__init__.py new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/__init__.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/__init__.py new file mode 100644 index 000000000000..6f88624cf976 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/__init__.py @@ -0,0 +1,19 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._confidential_ledger_identity_service_client import ConfidentialLedgerIdentityServiceClient +from ._version import VERSION + +__version__ = VERSION +__all__ = ['ConfidentialLedgerIdentityServiceClient'] + +try: + from ._patch import patch_sdk # type: ignore + patch_sdk() +except ImportError: + pass diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/_confidential_ledger_identity_service_client.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/_confidential_ledger_identity_service_client.py new file mode 100644 index 000000000000..4f40b466195a --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/_confidential_ledger_identity_service_client.py @@ -0,0 +1,81 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import TYPE_CHECKING + +from azure.core import PipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any + + from azure.core.pipeline.transport import HttpRequest, HttpResponse + +from ._configuration import ConfidentialLedgerIdentityServiceClientConfiguration +from .operations import ConfidentialLedgerIdentityServiceOperations +from . import models + + +class ConfidentialLedgerIdentityServiceClient(object): + """The ConfidentialLedgerIdentityServiceClient is used to retrieve the TLS certificate required for connecting to a Confidential Ledger. + + :ivar confidential_ledger_identity_service: ConfidentialLedgerIdentityServiceOperations operations + :vartype confidential_ledger_identity_service: azure.confidentialledger._generated/_generated_identity.v0_1_preview.operations.ConfidentialLedgerIdentityServiceOperations + :param identity_service_uri: The Identity Service URL, for example https://identity.accledger.azure.com. + :type identity_service_uri: str + """ + + def __init__( + self, + identity_service_uri, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + base_url = '{identityServiceUri}' + self._config = ConfidentialLedgerIdentityServiceClientConfiguration(identity_service_uri, **kwargs) + self._client = PipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.confidential_ledger_identity_service = ConfidentialLedgerIdentityServiceOperations( + self._client, self._config, self._serialize, self._deserialize) + + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'identityServiceUri': self._serialize.url("self._config.identity_service_uri", self._config.identity_service_uri, 'str', skip_quote=True), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + + def close(self): + # type: () -> None + self._client.close() + + def __enter__(self): + # type: () -> ConfidentialLedgerIdentityServiceClient + self._client.__enter__() + return self + + def __exit__(self, *exc_details): + # type: (Any) -> None + self._client.__exit__(*exc_details) diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/_configuration.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/_configuration.py new file mode 100644 index 000000000000..59868ce0001a --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/_configuration.py @@ -0,0 +1,59 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies + +from ._version import VERSION + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any + + +class ConfidentialLedgerIdentityServiceClientConfiguration(Configuration): + """Configuration for ConfidentialLedgerIdentityServiceClient. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param identity_service_uri: The Identity Service URL, for example https://identity.accledger.azure.com. + :type identity_service_uri: str + """ + + def __init__( + self, + identity_service_uri, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + if identity_service_uri is None: + raise ValueError("Parameter 'identity_service_uri' must not be None.") + super(ConfidentialLedgerIdentityServiceClientConfiguration, self).__init__(**kwargs) + + self.identity_service_uri = identity_service_uri + self.api_version = "0.1-preview" + kwargs.setdefault('sdk_moniker', 'confidentialledger/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs # type: Any + ): + # type: (...) -> None + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or policies.HttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/_version.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/_version.py new file mode 100644 index 000000000000..b88f651c36ac --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/_version.py @@ -0,0 +1,9 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +VERSION = "0.1" diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/aio/__init__.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/aio/__init__.py new file mode 100644 index 000000000000..8c928193cb70 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/aio/__init__.py @@ -0,0 +1,10 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._confidential_ledger_identity_service_client import ConfidentialLedgerIdentityServiceClient +__all__ = ['ConfidentialLedgerIdentityServiceClient'] diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/aio/_confidential_ledger_identity_service_client.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/aio/_confidential_ledger_identity_service_client.py new file mode 100644 index 000000000000..040d84b52ef3 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/aio/_confidential_ledger_identity_service_client.py @@ -0,0 +1,71 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any + +from azure.core import AsyncPipelineClient +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from msrest import Deserializer, Serializer + +from ._configuration import ConfidentialLedgerIdentityServiceClientConfiguration +from .operations import ConfidentialLedgerIdentityServiceOperations +from .. import models + + +class ConfidentialLedgerIdentityServiceClient(object): + """The ConfidentialLedgerIdentityServiceClient is used to retrieve the TLS certificate required for connecting to a Confidential Ledger. + + :ivar confidential_ledger_identity_service: ConfidentialLedgerIdentityServiceOperations operations + :vartype confidential_ledger_identity_service: azure.confidentialledger._generated/_generated_identity.v0_1_preview.aio.operations.ConfidentialLedgerIdentityServiceOperations + :param identity_service_uri: The Identity Service URL, for example https://identity.accledger.azure.com. + :type identity_service_uri: str + """ + + def __init__( + self, + identity_service_uri: str, + **kwargs: Any + ) -> None: + base_url = '{identityServiceUri}' + self._config = ConfidentialLedgerIdentityServiceClientConfiguration(identity_service_uri, **kwargs) + self._client = AsyncPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.confidential_ledger_identity_service = ConfidentialLedgerIdentityServiceOperations( + self._client, self._config, self._serialize, self._deserialize) + + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'identityServiceUri': self._serialize.url("self._config.identity_service_uri", self._config.identity_service_uri, 'str', skip_quote=True), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + + async def close(self) -> None: + await self._client.close() + + async def __aenter__(self) -> "ConfidentialLedgerIdentityServiceClient": + await self._client.__aenter__() + return self + + async def __aexit__(self, *exc_details) -> None: + await self._client.__aexit__(*exc_details) diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/aio/_configuration.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/aio/_configuration.py new file mode 100644 index 000000000000..0e4742f10a6c --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/aio/_configuration.py @@ -0,0 +1,53 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies + +from .._version import VERSION + + +class ConfidentialLedgerIdentityServiceClientConfiguration(Configuration): + """Configuration for ConfidentialLedgerIdentityServiceClient. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param identity_service_uri: The Identity Service URL, for example https://identity.accledger.azure.com. + :type identity_service_uri: str + """ + + def __init__( + self, + identity_service_uri: str, + **kwargs: Any + ) -> None: + if identity_service_uri is None: + raise ValueError("Parameter 'identity_service_uri' must not be None.") + super(ConfidentialLedgerIdentityServiceClientConfiguration, self).__init__(**kwargs) + + self.identity_service_uri = identity_service_uri + self.api_version = "0.1-preview" + kwargs.setdefault('sdk_moniker', 'confidentialledger/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs: Any + ) -> None: + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or policies.HttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/aio/operations/__init__.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/aio/operations/__init__.py new file mode 100644 index 000000000000..512ae8a4c347 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/aio/operations/__init__.py @@ -0,0 +1,13 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._confidential_ledger_identity_service_operations import ConfidentialLedgerIdentityServiceOperations + +__all__ = [ + 'ConfidentialLedgerIdentityServiceOperations', +] diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/aio/operations/_confidential_ledger_identity_service_operations.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/aio/operations/_confidential_ledger_identity_service_operations.py new file mode 100644 index 000000000000..d30c64d88358 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/aio/operations/_confidential_ledger_identity_service_operations.py @@ -0,0 +1,97 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ConfidentialLedgerIdentityServiceOperations: + """ConfidentialLedgerIdentityServiceOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.confidentialledger._generated/_generated_identity.v0_1_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get_ledger_identity( + self, + ledger_id: str, + **kwargs + ) -> "_models.LedgerIdentityInformation": + """Gets identity information for a Confidential Ledger instance. + + Gets identity information for a Confidential Ledger instance. + + :param ledger_id: Id of the Confidential Ledger instance to get information for. + :type ledger_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: LedgerIdentityInformation, or the result of cls(response) + :rtype: ~azure.confidentialledger._generated/_generated_identity.v0_1_preview.models.LedgerIdentityInformation + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LedgerIdentityInformation"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "0.1-preview" + accept = "application/json" + + # Construct URL + url = self.get_ledger_identity.metadata['url'] # type: ignore + path_format_arguments = { + 'identityServiceUri': self._serialize.url("self._config.identity_service_uri", self._config.identity_service_uri, 'str', skip_quote=True), + 'ledgerId': self._serialize.url("ledger_id", ledger_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ConfidentialLedgerError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('LedgerIdentityInformation', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_ledger_identity.metadata = {'url': '/ledgerIdentity/{ledgerId}'} # type: ignore diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/models/__init__.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/models/__init__.py new file mode 100644 index 000000000000..94764acc773f --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/models/__init__.py @@ -0,0 +1,22 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +try: + from ._models_py3 import ConfidentialLedgerError + from ._models_py3 import ConfidentialLedgerErrorBody + from ._models_py3 import LedgerIdentityInformation +except (SyntaxError, ImportError): + from ._models import ConfidentialLedgerError # type: ignore + from ._models import ConfidentialLedgerErrorBody # type: ignore + from ._models import LedgerIdentityInformation # type: ignore + +__all__ = [ + 'ConfidentialLedgerError', + 'ConfidentialLedgerErrorBody', + 'LedgerIdentityInformation', +] diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/models/_models.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/models/_models.py new file mode 100644 index 000000000000..bd6cb215422c --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/models/_models.py @@ -0,0 +1,105 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from azure.core.exceptions import HttpResponseError +import msrest.serialization + + +class ConfidentialLedgerError(msrest.serialization.Model): + """An error response from Confidential Ledger. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar error: An error response from Confidential Ledger. + :vartype error: + ~azure.confidentialledger._generated/_generated_identity.v0_1_preview.models.ConfidentialLedgerErrorBody + """ + + _validation = { + 'error': {'readonly': True}, + } + + _attribute_map = { + 'error': {'key': 'error', 'type': 'ConfidentialLedgerErrorBody'}, + } + + def __init__( + self, + **kwargs + ): + super(ConfidentialLedgerError, self).__init__(**kwargs) + self.error = None + + +class ConfidentialLedgerErrorBody(msrest.serialization.Model): + """An error response from Confidential Ledger. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar code: The error code. + :vartype code: str + :ivar message: The error message. + :vartype message: str + :ivar inner_error: An error response from Confidential Ledger. + :vartype inner_error: + ~azure.confidentialledger._generated/_generated_identity.v0_1_preview.models.ConfidentialLedgerErrorBody + """ + + _validation = { + 'code': {'readonly': True}, + 'message': {'readonly': True}, + 'inner_error': {'readonly': True}, + } + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'inner_error': {'key': 'innererror', 'type': 'ConfidentialLedgerErrorBody'}, + } + + def __init__( + self, + **kwargs + ): + super(ConfidentialLedgerErrorBody, self).__init__(**kwargs) + self.code = None + self.message = None + self.inner_error = None + + +class LedgerIdentityInformation(msrest.serialization.Model): + """Contains the information about a Confidential Ledger. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar ledger_id: Id for the ledger. + :vartype ledger_id: str + :param ledger_tls_certificate: Required. PEM-encoded certificate used for TLS by the + Confidential Ledger. + :type ledger_tls_certificate: str + """ + + _validation = { + 'ledger_id': {'readonly': True}, + 'ledger_tls_certificate': {'required': True}, + } + + _attribute_map = { + 'ledger_id': {'key': 'ledgerId', 'type': 'str'}, + 'ledger_tls_certificate': {'key': 'ledgerTlsCertificate', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(LedgerIdentityInformation, self).__init__(**kwargs) + self.ledger_id = None + self.ledger_tls_certificate = kwargs['ledger_tls_certificate'] diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/models/_models_py3.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/models/_models_py3.py new file mode 100644 index 000000000000..ed081abd7668 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/models/_models_py3.py @@ -0,0 +1,107 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from azure.core.exceptions import HttpResponseError +import msrest.serialization + + +class ConfidentialLedgerError(msrest.serialization.Model): + """An error response from Confidential Ledger. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar error: An error response from Confidential Ledger. + :vartype error: + ~azure.confidentialledger._generated/_generated_identity.v0_1_preview.models.ConfidentialLedgerErrorBody + """ + + _validation = { + 'error': {'readonly': True}, + } + + _attribute_map = { + 'error': {'key': 'error', 'type': 'ConfidentialLedgerErrorBody'}, + } + + def __init__( + self, + **kwargs + ): + super(ConfidentialLedgerError, self).__init__(**kwargs) + self.error = None + + +class ConfidentialLedgerErrorBody(msrest.serialization.Model): + """An error response from Confidential Ledger. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar code: The error code. + :vartype code: str + :ivar message: The error message. + :vartype message: str + :ivar inner_error: An error response from Confidential Ledger. + :vartype inner_error: + ~azure.confidentialledger._generated/_generated_identity.v0_1_preview.models.ConfidentialLedgerErrorBody + """ + + _validation = { + 'code': {'readonly': True}, + 'message': {'readonly': True}, + 'inner_error': {'readonly': True}, + } + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'inner_error': {'key': 'innererror', 'type': 'ConfidentialLedgerErrorBody'}, + } + + def __init__( + self, + **kwargs + ): + super(ConfidentialLedgerErrorBody, self).__init__(**kwargs) + self.code = None + self.message = None + self.inner_error = None + + +class LedgerIdentityInformation(msrest.serialization.Model): + """Contains the information about a Confidential Ledger. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar ledger_id: Id for the ledger. + :vartype ledger_id: str + :param ledger_tls_certificate: Required. PEM-encoded certificate used for TLS by the + Confidential Ledger. + :type ledger_tls_certificate: str + """ + + _validation = { + 'ledger_id': {'readonly': True}, + 'ledger_tls_certificate': {'required': True}, + } + + _attribute_map = { + 'ledger_id': {'key': 'ledgerId', 'type': 'str'}, + 'ledger_tls_certificate': {'key': 'ledgerTlsCertificate', 'type': 'str'}, + } + + def __init__( + self, + *, + ledger_tls_certificate: str, + **kwargs + ): + super(LedgerIdentityInformation, self).__init__(**kwargs) + self.ledger_id = None + self.ledger_tls_certificate = ledger_tls_certificate diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/operations/__init__.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/operations/__init__.py new file mode 100644 index 000000000000..512ae8a4c347 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/operations/__init__.py @@ -0,0 +1,13 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._confidential_ledger_identity_service_operations import ConfidentialLedgerIdentityServiceOperations + +__all__ = [ + 'ConfidentialLedgerIdentityServiceOperations', +] diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/operations/_confidential_ledger_identity_service_operations.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/operations/_confidential_ledger_identity_service_operations.py new file mode 100644 index 000000000000..f3f64a726d6f --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/operations/_confidential_ledger_identity_service_operations.py @@ -0,0 +1,102 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class ConfidentialLedgerIdentityServiceOperations(object): + """ConfidentialLedgerIdentityServiceOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.confidentialledger._generated/_generated_identity.v0_1_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get_ledger_identity( + self, + ledger_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.LedgerIdentityInformation" + """Gets identity information for a Confidential Ledger instance. + + Gets identity information for a Confidential Ledger instance. + + :param ledger_id: Id of the Confidential Ledger instance to get information for. + :type ledger_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: LedgerIdentityInformation, or the result of cls(response) + :rtype: ~azure.confidentialledger._generated/_generated_identity.v0_1_preview.models.LedgerIdentityInformation + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LedgerIdentityInformation"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "0.1-preview" + accept = "application/json" + + # Construct URL + url = self.get_ledger_identity.metadata['url'] # type: ignore + path_format_arguments = { + 'identityServiceUri': self._serialize.url("self._config.identity_service_uri", self._config.identity_service_uri, 'str', skip_quote=True), + 'ledgerId': self._serialize.url("ledger_id", ledger_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ConfidentialLedgerError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('LedgerIdentityInformation', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_ledger_identity.metadata = {'url': '/ledgerIdentity/{ledgerId}'} # type: ignore diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/py.typed b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/py.typed new file mode 100644 index 000000000000..e5aff4f83af8 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_identity/v0_1_preview/py.typed @@ -0,0 +1 @@ +# Marker file for PEP 561. \ No newline at end of file diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/__init__.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/__init__.py new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/__init__.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/__init__.py new file mode 100644 index 000000000000..1b83f1d822b9 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/__init__.py @@ -0,0 +1,19 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._confidential_ledger_client import ConfidentialLedgerClient +from ._version import VERSION + +__version__ = VERSION +__all__ = ['ConfidentialLedgerClient'] + +try: + from ._patch import patch_sdk # type: ignore + patch_sdk() +except ImportError: + pass diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/_confidential_ledger_client.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/_confidential_ledger_client.py new file mode 100644 index 000000000000..b51db868d5fa --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/_confidential_ledger_client.py @@ -0,0 +1,81 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import TYPE_CHECKING + +from azure.core import PipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any + + from azure.core.pipeline.transport import HttpRequest, HttpResponse + +from ._configuration import ConfidentialLedgerClientConfiguration +from .operations import ConfidentialLedgerOperations +from . import models + + +class ConfidentialLedgerClient(object): + """The ConfidentialLedgerClient writes and retrieves ledger entries against the Confidential Ledger service. + + :ivar confidential_ledger: ConfidentialLedgerOperations operations + :vartype confidential_ledger: azure.confidentialledger._generated/_generated_ledger.v0_1_preview.operations.ConfidentialLedgerOperations + :param ledger_uri: The Confidential Ledger URL, for example https://contoso.confidentialledger.azure.com. + :type ledger_uri: str + """ + + def __init__( + self, + ledger_uri, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + base_url = '{ledgerUri}' + self._config = ConfidentialLedgerClientConfiguration(ledger_uri, **kwargs) + self._client = PipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.confidential_ledger = ConfidentialLedgerOperations( + self._client, self._config, self._serialize, self._deserialize) + + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'ledgerUri': self._serialize.url("self._config.ledger_uri", self._config.ledger_uri, 'str', skip_quote=True), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + + def close(self): + # type: () -> None + self._client.close() + + def __enter__(self): + # type: () -> ConfidentialLedgerClient + self._client.__enter__() + return self + + def __exit__(self, *exc_details): + # type: (Any) -> None + self._client.__exit__(*exc_details) diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/_configuration.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/_configuration.py new file mode 100644 index 000000000000..0e847cf9532c --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/_configuration.py @@ -0,0 +1,59 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies + +from ._version import VERSION + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any + + +class ConfidentialLedgerClientConfiguration(Configuration): + """Configuration for ConfidentialLedgerClient. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param ledger_uri: The Confidential Ledger URL, for example https://contoso.confidentialledger.azure.com. + :type ledger_uri: str + """ + + def __init__( + self, + ledger_uri, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + if ledger_uri is None: + raise ValueError("Parameter 'ledger_uri' must not be None.") + super(ConfidentialLedgerClientConfiguration, self).__init__(**kwargs) + + self.ledger_uri = ledger_uri + self.api_version = "0.1-preview" + kwargs.setdefault('sdk_moniker', 'confidentialledger/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs # type: Any + ): + # type: (...) -> None + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or policies.HttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/_version.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/_version.py new file mode 100644 index 000000000000..b88f651c36ac --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/_version.py @@ -0,0 +1,9 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +VERSION = "0.1" diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/aio/__init__.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/aio/__init__.py new file mode 100644 index 000000000000..2fc6d6cf7e46 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/aio/__init__.py @@ -0,0 +1,10 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._confidential_ledger_client import ConfidentialLedgerClient +__all__ = ['ConfidentialLedgerClient'] diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/aio/_confidential_ledger_client.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/aio/_confidential_ledger_client.py new file mode 100644 index 000000000000..2a52f48cfce9 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/aio/_confidential_ledger_client.py @@ -0,0 +1,71 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any + +from azure.core import AsyncPipelineClient +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from msrest import Deserializer, Serializer + +from ._configuration import ConfidentialLedgerClientConfiguration +from .operations import ConfidentialLedgerOperations +from .. import models + + +class ConfidentialLedgerClient(object): + """The ConfidentialLedgerClient writes and retrieves ledger entries against the Confidential Ledger service. + + :ivar confidential_ledger: ConfidentialLedgerOperations operations + :vartype confidential_ledger: azure.confidentialledger._generated/_generated_ledger.v0_1_preview.aio.operations.ConfidentialLedgerOperations + :param ledger_uri: The Confidential Ledger URL, for example https://contoso.confidentialledger.azure.com. + :type ledger_uri: str + """ + + def __init__( + self, + ledger_uri: str, + **kwargs: Any + ) -> None: + base_url = '{ledgerUri}' + self._config = ConfidentialLedgerClientConfiguration(ledger_uri, **kwargs) + self._client = AsyncPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.confidential_ledger = ConfidentialLedgerOperations( + self._client, self._config, self._serialize, self._deserialize) + + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'ledgerUri': self._serialize.url("self._config.ledger_uri", self._config.ledger_uri, 'str', skip_quote=True), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + + async def close(self) -> None: + await self._client.close() + + async def __aenter__(self) -> "ConfidentialLedgerClient": + await self._client.__aenter__() + return self + + async def __aexit__(self, *exc_details) -> None: + await self._client.__aexit__(*exc_details) diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/aio/_configuration.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/aio/_configuration.py new file mode 100644 index 000000000000..f97b993b1ffe --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/aio/_configuration.py @@ -0,0 +1,53 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies + +from .._version import VERSION + + +class ConfidentialLedgerClientConfiguration(Configuration): + """Configuration for ConfidentialLedgerClient. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param ledger_uri: The Confidential Ledger URL, for example https://contoso.confidentialledger.azure.com. + :type ledger_uri: str + """ + + def __init__( + self, + ledger_uri: str, + **kwargs: Any + ) -> None: + if ledger_uri is None: + raise ValueError("Parameter 'ledger_uri' must not be None.") + super(ConfidentialLedgerClientConfiguration, self).__init__(**kwargs) + + self.ledger_uri = ledger_uri + self.api_version = "0.1-preview" + kwargs.setdefault('sdk_moniker', 'confidentialledger/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs: Any + ) -> None: + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or policies.HttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/aio/operations/__init__.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/aio/operations/__init__.py new file mode 100644 index 000000000000..8afa2547b234 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/aio/operations/__init__.py @@ -0,0 +1,13 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._confidential_ledger_operations import ConfidentialLedgerOperations + +__all__ = [ + 'ConfidentialLedgerOperations', +] diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/aio/operations/_confidential_ledger_operations.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/aio/operations/_confidential_ledger_operations.py new file mode 100644 index 000000000000..291f8e0ee1fc --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/aio/operations/_confidential_ledger_operations.py @@ -0,0 +1,777 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ConfidentialLedgerOperations: + """ConfidentialLedgerOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get_constitution( + self, + **kwargs + ) -> "_models.Constitution": + """Gets the constitution used for governance. + + The constitution is a script that assesses and applies proposals from consortium members. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Constitution, or the result of cls(response) + :rtype: ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.Constitution + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Constitution"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "0.1-preview" + accept = "application/json" + + # Construct URL + url = self.get_constitution.metadata['url'] # type: ignore + path_format_arguments = { + 'ledgerUri': self._serialize.url("self._config.ledger_uri", self._config.ledger_uri, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ConfidentialLedgerError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('Constitution', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_constitution.metadata = {'url': '/app/governance/constitution'} # type: ignore + + async def get_consortium_members( + self, + **kwargs + ) -> "_models.Consortium": + """Gets the consortium members. + + Consortium members can manage the Confidential Ledger. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Consortium, or the result of cls(response) + :rtype: ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.Consortium + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Consortium"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "0.1-preview" + accept = "application/json" + + # Construct URL + url = self.get_consortium_members.metadata['url'] # type: ignore + path_format_arguments = { + 'ledgerUri': self._serialize.url("self._config.ledger_uri", self._config.ledger_uri, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ConfidentialLedgerError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('Consortium', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_consortium_members.metadata = {'url': '/app/governance/members'} # type: ignore + + async def get_enclave_quotes( + self, + **kwargs + ) -> "_models.ConfidentialLedgerEnclaves": + """Gets quotes for all nodes of the Confidential Ledger. + + A quote is an SGX enclave measurement that can be used to verify the validity of a node and its + enclave. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ConfidentialLedgerEnclaves, or the result of cls(response) + :rtype: ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.ConfidentialLedgerEnclaves + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConfidentialLedgerEnclaves"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "0.1-preview" + accept = "application/json" + + # Construct URL + url = self.get_enclave_quotes.metadata['url'] # type: ignore + path_format_arguments = { + 'ledgerUri': self._serialize.url("self._config.ledger_uri", self._config.ledger_uri, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ConfidentialLedgerError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('ConfidentialLedgerEnclaves', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_enclave_quotes.metadata = {'url': '/app/enclaveQuotes'} # type: ignore + + def get_ledger_entries( + self, + sub_ledger_id: Optional[str] = None, + from_transaction_id: Optional[str] = None, + to_transaction_id: Optional[str] = None, + **kwargs + ) -> AsyncIterable["_models.PagedLedgerEntries"]: + """Gets ledger entries from a sub-ledger corresponding to a range. + + A sub-ledger id may optionally be specified. Only entries in the specified (or default) + sub-ledger will be returned. + + :param sub_ledger_id: The sub-ledger id. + :type sub_ledger_id: str + :param from_transaction_id: Specify the first transaction ID in a range. + :type from_transaction_id: str + :param to_transaction_id: Specify the last transaction ID in a range. + :type to_transaction_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PagedLedgerEntries or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.PagedLedgerEntries] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PagedLedgerEntries"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "0.1-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_ledger_entries.metadata['url'] # type: ignore + path_format_arguments = { + 'ledgerUri': self._serialize.url("self._config.ledger_uri", self._config.ledger_uri, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if sub_ledger_id is not None: + query_parameters['subLedgerId'] = self._serialize.query("sub_ledger_id", sub_ledger_id, 'str') + if from_transaction_id is not None: + query_parameters['fromTransactionId'] = self._serialize.query("from_transaction_id", from_transaction_id, 'str') + if to_transaction_id is not None: + query_parameters['toTransactionId'] = self._serialize.query("to_transaction_id", to_transaction_id, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'ledgerUri': self._serialize.url("self._config.ledger_uri", self._config.ledger_uri, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('PagedLedgerEntries', pipeline_response) + list_of_elem = deserialized.entries + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ConfidentialLedgerError, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + get_ledger_entries.metadata = {'url': '/app/transactions'} # type: ignore + + async def post_ledger_entry( + self, + contents: str, + sub_ledger_id: Optional[str] = None, + **kwargs + ) -> "_models.LedgerWriteResult": + """Writes a ledger entry. + + A sub-ledger id may optionally be specified. + + :param contents: Contents of the ledger entry. + :type contents: str + :param sub_ledger_id: The sub-ledger id. + :type sub_ledger_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: LedgerWriteResult, or the result of cls(response) + :rtype: ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.LedgerWriteResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LedgerWriteResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + _entry = _models.LedgerEntry(contents=contents) + api_version = "0.1-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.post_ledger_entry.metadata['url'] # type: ignore + path_format_arguments = { + 'ledgerUri': self._serialize.url("self._config.ledger_uri", self._config.ledger_uri, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if sub_ledger_id is not None: + query_parameters['subLedgerId'] = self._serialize.query("sub_ledger_id", sub_ledger_id, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + if _entry is not None: + body_content = self._serialize.body(_entry, 'LedgerEntry') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ConfidentialLedgerError, response) + raise HttpResponseError(response=response, model=error) + + response_headers = {} + response_headers['x-ms-ccf-transaction-id']=self._deserialize('str', response.headers.get('x-ms-ccf-transaction-id')) + deserialized = self._deserialize('LedgerWriteResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, response_headers) + + return deserialized + post_ledger_entry.metadata = {'url': '/app/transactions'} # type: ignore + + async def get_ledger_entry( + self, + transaction_id: str, + sub_ledger_id: Optional[str] = None, + **kwargs + ) -> "_models.LedgerQueryResult": + """Gets the ledger entry at the specified transaction id. A sub-ledger id may optionally be specified to indicate the sub-ledger from which to fetch the value. + + To return older ledger entries, the relevant sections of the ledger must be read from disk and + validated. To prevent blocking within the enclave, the response will indicate whether the entry + is ready and part of the response, or if the loading is still ongoing. + + :param transaction_id: Identifies a write transaction. + :type transaction_id: str + :param sub_ledger_id: The sub-ledger id. + :type sub_ledger_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: LedgerQueryResult, or the result of cls(response) + :rtype: ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.LedgerQueryResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LedgerQueryResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "0.1-preview" + accept = "application/json" + + # Construct URL + url = self.get_ledger_entry.metadata['url'] # type: ignore + path_format_arguments = { + 'ledgerUri': self._serialize.url("self._config.ledger_uri", self._config.ledger_uri, 'str', skip_quote=True), + 'transactionId': self._serialize.url("transaction_id", transaction_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if sub_ledger_id is not None: + query_parameters['subLedgerId'] = self._serialize.query("sub_ledger_id", sub_ledger_id, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ConfidentialLedgerError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('LedgerQueryResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_ledger_entry.metadata = {'url': '/app/transactions/{transactionId}'} # type: ignore + + async def get_receipt( + self, + transaction_id: str, + **kwargs + ) -> "_models.TransactionReceipt": + """Gets a receipt certifying ledger contents at a particular transaction id. + + Gets a receipt certifying ledger contents at a particular transaction id. + + :param transaction_id: Identifies a write transaction. + :type transaction_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: TransactionReceipt, or the result of cls(response) + :rtype: ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.TransactionReceipt + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TransactionReceipt"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "0.1-preview" + accept = "application/json" + + # Construct URL + url = self.get_receipt.metadata['url'] # type: ignore + path_format_arguments = { + 'ledgerUri': self._serialize.url("self._config.ledger_uri", self._config.ledger_uri, 'str', skip_quote=True), + 'transactionId': self._serialize.url("transaction_id", transaction_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ConfidentialLedgerError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('TransactionReceipt', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_receipt.metadata = {'url': '/app/transactions/{transactionId}/receipt'} # type: ignore + + async def get_transaction_status( + self, + transaction_id: str, + **kwargs + ) -> "_models.TransactionStatus": + """Gets the status of an entry identified by a transaction id. + + Gets the status of an entry identified by a transaction id. + + :param transaction_id: Identifies a write transaction. + :type transaction_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: TransactionStatus, or the result of cls(response) + :rtype: ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.TransactionStatus + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TransactionStatus"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "0.1-preview" + accept = "application/json" + + # Construct URL + url = self.get_transaction_status.metadata['url'] # type: ignore + path_format_arguments = { + 'ledgerUri': self._serialize.url("self._config.ledger_uri", self._config.ledger_uri, 'str', skip_quote=True), + 'transactionId': self._serialize.url("transaction_id", transaction_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ConfidentialLedgerError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('TransactionStatus', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_transaction_status.metadata = {'url': '/app/transactions/{transactionId}/status'} # type: ignore + + async def get_current_ledger_entry( + self, + sub_ledger_id: Optional[str] = None, + **kwargs + ) -> "_models.LedgerEntry": + """Gets the current value available in the ledger. + + A sub-ledger id may optionally be specified. + + :param sub_ledger_id: The sub-ledger id. + :type sub_ledger_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: LedgerEntry, or the result of cls(response) + :rtype: ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.LedgerEntry + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LedgerEntry"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "0.1-preview" + accept = "application/json" + + # Construct URL + url = self.get_current_ledger_entry.metadata['url'] # type: ignore + path_format_arguments = { + 'ledgerUri': self._serialize.url("self._config.ledger_uri", self._config.ledger_uri, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if sub_ledger_id is not None: + query_parameters['subLedgerId'] = self._serialize.query("sub_ledger_id", sub_ledger_id, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ConfidentialLedgerError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('LedgerEntry', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_current_ledger_entry.metadata = {'url': '/app/transactions/current'} # type: ignore + + async def delete_user( + self, + user_id: str, + **kwargs + ) -> None: + """Deletes a user from the Confidential Ledger. + + Deletes a user from the Confidential Ledger. + + :param user_id: The user id, either an AAD object ID or certificate fingerprint. + :type user_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "0.1-preview" + accept = "application/json" + + # Construct URL + url = self.delete_user.metadata['url'] # type: ignore + path_format_arguments = { + 'ledgerUri': self._serialize.url("self._config.ledger_uri", self._config.ledger_uri, 'str', skip_quote=True), + 'userId': self._serialize.url("user_id", user_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ConfidentialLedgerError, response) + raise HttpResponseError(response=response, model=error) + + if cls: + return cls(pipeline_response, None, {}) + + delete_user.metadata = {'url': '/app/users/{userId}'} # type: ignore + + async def get_user( + self, + user_id: str, + **kwargs + ) -> "_models.LedgerUser": + """Gets a user. + + Gets a user. + + :param user_id: The user id, either an AAD object ID or certificate fingerprint. + :type user_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: LedgerUser, or the result of cls(response) + :rtype: ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.LedgerUser + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LedgerUser"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "0.1-preview" + accept = "application/json" + + # Construct URL + url = self.get_user.metadata['url'] # type: ignore + path_format_arguments = { + 'ledgerUri': self._serialize.url("self._config.ledger_uri", self._config.ledger_uri, 'str', skip_quote=True), + 'userId': self._serialize.url("user_id", user_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ConfidentialLedgerError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('LedgerUser', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_user.metadata = {'url': '/app/users/{userId}'} # type: ignore + + async def create_or_update_user( + self, + user_id: str, + assigned_role: Union[str, "_models.ConfidentialLedgerUserRoleName"], + **kwargs + ) -> "_models.LedgerUser": + """Adds a user or updates a user's fields. + + A JSON merge patch is applied for existing users. + + :param user_id: The user id, either an AAD object ID or certificate fingerprint. + :type user_id: str + :param assigned_role: Represents an assignable role. + :type assigned_role: str or ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.ConfidentialLedgerUserRoleName + :keyword callable cls: A custom type or function that will be passed the direct response + :return: LedgerUser, or the result of cls(response) + :rtype: ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.LedgerUser + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LedgerUser"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + _user_details = _models.LedgerUser(assigned_role=assigned_role) + api_version = "0.1-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.create_or_update_user.metadata['url'] # type: ignore + path_format_arguments = { + 'ledgerUri': self._serialize.url("self._config.ledger_uri", self._config.ledger_uri, 'str', skip_quote=True), + 'userId': self._serialize.url("user_id", user_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(_user_details, 'LedgerUser') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ConfidentialLedgerError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('LedgerUser', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + create_or_update_user.metadata = {'url': '/app/users/{userId}'} # type: ignore diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/models/__init__.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/models/__init__.py new file mode 100644 index 000000000000..3631df5788da --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/models/__init__.py @@ -0,0 +1,73 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +try: + from ._models_py3 import ConfidentialLedgerEnclaves + from ._models_py3 import ConfidentialLedgerError + from ._models_py3 import ConfidentialLedgerErrorBody + from ._models_py3 import Consortium + from ._models_py3 import ConsortiumMember + from ._models_py3 import Constitution + from ._models_py3 import EnclaveQuote + from ._models_py3 import LedgerEntry + from ._models_py3 import LedgerQueryResult + from ._models_py3 import LedgerUser + from ._models_py3 import LedgerWriteResult + from ._models_py3 import MerkleProofElement + from ._models_py3 import PagedLedgerEntries + from ._models_py3 import ReceiptContents + from ._models_py3 import RoleAssignment + from ._models_py3 import TransactionReceipt + from ._models_py3 import TransactionStatus +except (SyntaxError, ImportError): + from ._models import ConfidentialLedgerEnclaves # type: ignore + from ._models import ConfidentialLedgerError # type: ignore + from ._models import ConfidentialLedgerErrorBody # type: ignore + from ._models import Consortium # type: ignore + from ._models import ConsortiumMember # type: ignore + from ._models import Constitution # type: ignore + from ._models import EnclaveQuote # type: ignore + from ._models import LedgerEntry # type: ignore + from ._models import LedgerQueryResult # type: ignore + from ._models import LedgerUser # type: ignore + from ._models import LedgerWriteResult # type: ignore + from ._models import MerkleProofElement # type: ignore + from ._models import PagedLedgerEntries # type: ignore + from ._models import ReceiptContents # type: ignore + from ._models import RoleAssignment # type: ignore + from ._models import TransactionReceipt # type: ignore + from ._models import TransactionStatus # type: ignore + +from ._confidential_ledger_client_enums import ( + ConfidentialLedgerQueryState, + ConfidentialLedgerUserRoleName, + TransactionState, +) + +__all__ = [ + 'ConfidentialLedgerEnclaves', + 'ConfidentialLedgerError', + 'ConfidentialLedgerErrorBody', + 'Consortium', + 'ConsortiumMember', + 'Constitution', + 'EnclaveQuote', + 'LedgerEntry', + 'LedgerQueryResult', + 'LedgerUser', + 'LedgerWriteResult', + 'MerkleProofElement', + 'PagedLedgerEntries', + 'ReceiptContents', + 'RoleAssignment', + 'TransactionReceipt', + 'TransactionStatus', + 'ConfidentialLedgerQueryState', + 'ConfidentialLedgerUserRoleName', + 'TransactionState', +] diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/models/_confidential_ledger_client_enums.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/models/_confidential_ledger_client_enums.py new file mode 100644 index 000000000000..44eb693b30c4 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/models/_confidential_ledger_client_enums.py @@ -0,0 +1,49 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from enum import Enum, EnumMeta +from six import with_metaclass + +class _CaseInsensitiveEnumMeta(EnumMeta): + def __getitem__(self, name): + return super().__getitem__(name.upper()) + + def __getattr__(cls, name): + """Return the enum member matching `name` + We use __getattr__ instead of descriptors or inserting into the enum + class' __dict__ in order to support `name` and `value` being both + properties for enum members (which live in the class' __dict__) and + enum members themselves. + """ + try: + return cls._member_map_[name.upper()] + except KeyError: + raise AttributeError(name) + + +class ConfidentialLedgerQueryState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """State of a ledger query. + """ + + LOADING = "Loading" + READY = "Ready" + +class ConfidentialLedgerUserRoleName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Represents an assignable role. + """ + + ADMINISTRATOR = "Administrator" + CONTRIBUTOR = "Contributor" + READER = "Reader" + +class TransactionState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Represents the state of the transaction. + """ + + COMMITTED = "Committed" + PENDING = "Pending" diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/models/_models.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/models/_models.py new file mode 100644 index 000000000000..e831fced0518 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/models/_models.py @@ -0,0 +1,564 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from azure.core.exceptions import HttpResponseError +import msrest.serialization + + +class ConfidentialLedgerEnclaves(msrest.serialization.Model): + """Information about the enclaves running the Confidential Ledger. + + All required parameters must be populated in order to send to Azure. + + :param current_node_id: Required. Id of the Confidential Ledger node responding to the request. + :type current_node_id: str + :param enclave_quotes: Required. Dictionary of enclave quotes, indexed by node id. + :type enclave_quotes: dict[str, + ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.EnclaveQuote] + """ + + _validation = { + 'current_node_id': {'required': True}, + 'enclave_quotes': {'required': True}, + } + + _attribute_map = { + 'current_node_id': {'key': 'currentNodeId', 'type': 'str'}, + 'enclave_quotes': {'key': 'enclaveQuotes', 'type': '{EnclaveQuote}'}, + } + + def __init__( + self, + **kwargs + ): + super(ConfidentialLedgerEnclaves, self).__init__(**kwargs) + self.current_node_id = kwargs['current_node_id'] + self.enclave_quotes = kwargs['enclave_quotes'] + + +class ConfidentialLedgerError(msrest.serialization.Model): + """An error response from Confidential Ledger. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar error: An error response from Confidential Ledger. + :vartype error: + ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.ConfidentialLedgerErrorBody + """ + + _validation = { + 'error': {'readonly': True}, + } + + _attribute_map = { + 'error': {'key': 'error', 'type': 'ConfidentialLedgerErrorBody'}, + } + + def __init__( + self, + **kwargs + ): + super(ConfidentialLedgerError, self).__init__(**kwargs) + self.error = None + + +class ConfidentialLedgerErrorBody(msrest.serialization.Model): + """An error response from Confidential Ledger. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar code: The error code. + :vartype code: str + :ivar message: The error message. + :vartype message: str + :ivar inner_error: An error response from Confidential Ledger. + :vartype inner_error: + ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.ConfidentialLedgerErrorBody + """ + + _validation = { + 'code': {'readonly': True}, + 'message': {'readonly': True}, + 'inner_error': {'readonly': True}, + } + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'inner_error': {'key': 'innererror', 'type': 'ConfidentialLedgerErrorBody'}, + } + + def __init__( + self, + **kwargs + ): + super(ConfidentialLedgerErrorBody, self).__init__(**kwargs) + self.code = None + self.message = None + self.inner_error = None + + +class Consortium(msrest.serialization.Model): + """List of members in the consortium. + + All required parameters must be populated in order to send to Azure. + + :param members: Required. + :type members: + list[~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.ConsortiumMember] + """ + + _validation = { + 'members': {'required': True}, + } + + _attribute_map = { + 'members': {'key': 'members', 'type': '[ConsortiumMember]'}, + } + + def __init__( + self, + **kwargs + ): + super(Consortium, self).__init__(**kwargs) + self.members = kwargs['members'] + + +class ConsortiumMember(msrest.serialization.Model): + """Describes a member of the consortium. + + All required parameters must be populated in order to send to Azure. + + :param certificate: Required. PEM-encoded certificate associated with the member. + :type certificate: str + :param id: Required. Identifier assigned to the member. + :type id: str + """ + + _validation = { + 'certificate': {'required': True}, + 'id': {'required': True}, + } + + _attribute_map = { + 'certificate': {'key': 'certificate', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ConsortiumMember, self).__init__(**kwargs) + self.certificate = kwargs['certificate'] + self.id = kwargs['id'] + + +class Constitution(msrest.serialization.Model): + """The governance script for the application. + + All required parameters must be populated in order to send to Azure. + + :param digest: Required. SHA256 digest of the constitution script. + :type digest: str + :param script: Required. Contents of the constitution. + :type script: str + """ + + _validation = { + 'digest': {'required': True}, + 'script': {'required': True}, + } + + _attribute_map = { + 'digest': {'key': 'digest', 'type': 'str'}, + 'script': {'key': 'script', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Constitution, self).__init__(**kwargs) + self.digest = kwargs['digest'] + self.script = kwargs['script'] + + +class EnclaveQuote(msrest.serialization.Model): + """Contains the enclave quote. + + All required parameters must be populated in order to send to Azure. + + :param node_id: Required. ID assigned to this node. + :type node_id: str + :param mrenclave: MRENCLAVE value of the code running in the enclave. + :type mrenclave: str + :param quote_version: Required. Version of the quote presented. + :type quote_version: str + :param raw: Required. Raw SGX quote, parsable by tools like Open Enclave's oeverify. + :type raw: str + """ + + _validation = { + 'node_id': {'required': True}, + 'quote_version': {'required': True}, + 'raw': {'required': True}, + } + + _attribute_map = { + 'node_id': {'key': 'nodeId', 'type': 'str'}, + 'mrenclave': {'key': 'mrenclave', 'type': 'str'}, + 'quote_version': {'key': 'quoteVersion', 'type': 'str'}, + 'raw': {'key': 'raw', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(EnclaveQuote, self).__init__(**kwargs) + self.node_id = kwargs['node_id'] + self.mrenclave = kwargs.get('mrenclave', None) + self.quote_version = kwargs['quote_version'] + self.raw = kwargs['raw'] + + +class LedgerEntry(msrest.serialization.Model): + """An entry in the ledger. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param contents: Required. Contents of the ledger entry. + :type contents: str + :ivar sub_ledger_id: Identifier for sub-ledgers. + :vartype sub_ledger_id: str + :ivar transaction_id: A unique identifier for the state of the ledger. If returned as part of a + LedgerEntry, it indicates the state from which the entry was read. + :vartype transaction_id: str + """ + + _validation = { + 'contents': {'required': True}, + 'sub_ledger_id': {'readonly': True}, + 'transaction_id': {'readonly': True}, + } + + _attribute_map = { + 'contents': {'key': 'contents', 'type': 'str'}, + 'sub_ledger_id': {'key': 'subLedgerId', 'type': 'str'}, + 'transaction_id': {'key': 'transactionId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(LedgerEntry, self).__init__(**kwargs) + self.contents = kwargs['contents'] + self.sub_ledger_id = None + self.transaction_id = None + + +class LedgerQueryResult(msrest.serialization.Model): + """The result of querying for a ledger entry from an older transaction id. The ledger entry is available in the response only if the returned state is Ready. + + All required parameters must be populated in order to send to Azure. + + :param state: Required. State of a ledger query. Possible values include: "Loading", "Ready". + :type state: str or + ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.ConfidentialLedgerQueryState + :param entry: The ledger entry found as a result of the query. This is only available if the + query is in Ready state. + :type entry: + ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.LedgerEntry + """ + + _validation = { + 'state': {'required': True}, + } + + _attribute_map = { + 'state': {'key': 'state', 'type': 'str'}, + 'entry': {'key': 'entry', 'type': 'LedgerEntry'}, + } + + def __init__( + self, + **kwargs + ): + super(LedgerQueryResult, self).__init__(**kwargs) + self.state = kwargs['state'] + self.entry = kwargs.get('entry', None) + + +class LedgerUser(msrest.serialization.Model): + """Details about a Confidential Ledger user. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param assigned_role: Required. Represents an assignable role. Possible values include: + "Administrator", "Contributor", "Reader". + :type assigned_role: str or + ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.ConfidentialLedgerUserRoleName + :ivar user_id: Identifier for the user. This must either be an AAD object id or a certificate + fingerprint. + :vartype user_id: str + """ + + _validation = { + 'assigned_role': {'required': True}, + 'user_id': {'readonly': True}, + } + + _attribute_map = { + 'assigned_role': {'key': 'assignedRole', 'type': 'str'}, + 'user_id': {'key': 'userId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(LedgerUser, self).__init__(**kwargs) + self.assigned_role = kwargs['assigned_role'] + self.user_id = None + + +class LedgerWriteResult(msrest.serialization.Model): + """Returned as a result of a write to the Confidential Ledger, the transaction id in the response indicates when the write will become durable. + + All required parameters must be populated in order to send to Azure. + + :param sub_ledger_id: Required. Identifier for sub-ledgers. + :type sub_ledger_id: str + """ + + _validation = { + 'sub_ledger_id': {'required': True}, + } + + _attribute_map = { + 'sub_ledger_id': {'key': 'subLedgerId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(LedgerWriteResult, self).__init__(**kwargs) + self.sub_ledger_id = kwargs['sub_ledger_id'] + + +class MerkleProofElement(msrest.serialization.Model): + """An item in the Merkle proof. + + :param left: + :type left: str + :param right: + :type right: str + """ + + _attribute_map = { + 'left': {'key': 'left', 'type': 'str'}, + 'right': {'key': 'right', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(MerkleProofElement, self).__init__(**kwargs) + self.left = kwargs.get('left', None) + self.right = kwargs.get('right', None) + + +class PagedLedgerEntries(msrest.serialization.Model): + """Paginated ledger entries returned in response to a query. + + All required parameters must be populated in order to send to Azure. + + :param state: Required. State of a ledger query. Possible values include: "Loading", "Ready". + :type state: str or + ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.ConfidentialLedgerQueryState + :param next_link: Path from which to retrieve the next page of results. + :type next_link: str + :param entries: Required. Array of ledger entries. + :type entries: + list[~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.LedgerEntry] + """ + + _validation = { + 'state': {'required': True}, + 'entries': {'required': True}, + } + + _attribute_map = { + 'state': {'key': 'state', 'type': 'str'}, + 'next_link': {'key': '@nextLink', 'type': 'str'}, + 'entries': {'key': 'entries', 'type': '[LedgerEntry]'}, + } + + def __init__( + self, + **kwargs + ): + super(PagedLedgerEntries, self).__init__(**kwargs) + self.state = kwargs['state'] + self.next_link = kwargs.get('next_link', None) + self.entries = kwargs['entries'] + + +class ReceiptContents(msrest.serialization.Model): + """A receipt certifying the transaction at the specified id. + + All required parameters must be populated in order to send to Azure. + + :param leaf: Required. Merkle tree leaf for this transaction. + :type leaf: str + :param node_id: Required. Id of the node returning the receipt. + :type node_id: str + :param proof: Required. Merkle proof. + :type proof: + list[~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.MerkleProofElement] + :param root: Required. Root of the Merkle tree at the time the transaction was recorded. + :type root: str + :param signature: Required. Signature by the node, with its certificate, over the Merkle root. + :type signature: str + """ + + _validation = { + 'leaf': {'required': True}, + 'node_id': {'required': True}, + 'proof': {'required': True}, + 'root': {'required': True}, + 'signature': {'required': True}, + } + + _attribute_map = { + 'leaf': {'key': 'leaf', 'type': 'str'}, + 'node_id': {'key': 'nodeId', 'type': 'str'}, + 'proof': {'key': 'proof', 'type': '[MerkleProofElement]'}, + 'root': {'key': 'root', 'type': 'str'}, + 'signature': {'key': 'signature', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ReceiptContents, self).__init__(**kwargs) + self.leaf = kwargs['leaf'] + self.node_id = kwargs['node_id'] + self.proof = kwargs['proof'] + self.root = kwargs['root'] + self.signature = kwargs['signature'] + + +class RoleAssignment(msrest.serialization.Model): + """Object for assigning a role to a user. + + All required parameters must be populated in order to send to Azure. + + :param role_name: Required. Represents an assignable role. Possible values include: + "Administrator", "Contributor", "Reader". + :type role_name: str or + ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.ConfidentialLedgerUserRoleName + :param description: Description of the role. + :type description: str + """ + + _validation = { + 'role_name': {'required': True}, + } + + _attribute_map = { + 'role_name': {'key': 'roleName', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RoleAssignment, self).__init__(**kwargs) + self.role_name = kwargs['role_name'] + self.description = kwargs.get('description', None) + + +class TransactionReceipt(msrest.serialization.Model): + """A receipt certifying the transaction at the specified id. + + All required parameters must be populated in order to send to Azure. + + :param receipt: A receipt certifying the transaction at the specified id. + :type receipt: + ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.ReceiptContents + :param state: Required. State of a ledger query. Possible values include: "Loading", "Ready". + :type state: str or + ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.ConfidentialLedgerQueryState + :param transaction_id: Required. A unique identifier for the state of the ledger. If returned + as part of a LedgerEntry, it indicates the state from which the entry was read. + :type transaction_id: str + """ + + _validation = { + 'state': {'required': True}, + 'transaction_id': {'required': True}, + } + + _attribute_map = { + 'receipt': {'key': 'receipt', 'type': 'ReceiptContents'}, + 'state': {'key': 'state', 'type': 'str'}, + 'transaction_id': {'key': 'transactionId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TransactionReceipt, self).__init__(**kwargs) + self.receipt = kwargs.get('receipt', None) + self.state = kwargs['state'] + self.transaction_id = kwargs['transaction_id'] + + +class TransactionStatus(msrest.serialization.Model): + """Response returned to a query for the transaction status. + + All required parameters must be populated in order to send to Azure. + + :param state: Required. Represents the state of the transaction. Possible values include: + "Committed", "Pending". + :type state: str or + ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.TransactionState + :param transaction_id: Required. A unique identifier for the state of the ledger. If returned + as part of a LedgerEntry, it indicates the state from which the entry was read. + :type transaction_id: str + """ + + _validation = { + 'state': {'required': True}, + 'transaction_id': {'required': True}, + } + + _attribute_map = { + 'state': {'key': 'state', 'type': 'str'}, + 'transaction_id': {'key': 'transactionId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TransactionStatus, self).__init__(**kwargs) + self.state = kwargs['state'] + self.transaction_id = kwargs['transaction_id'] diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/models/_models_py3.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/models/_models_py3.py new file mode 100644 index 000000000000..f212f58d01e0 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/models/_models_py3.py @@ -0,0 +1,616 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Dict, List, Optional, Union + +from azure.core.exceptions import HttpResponseError +import msrest.serialization + +from ._confidential_ledger_client_enums import * + + +class ConfidentialLedgerEnclaves(msrest.serialization.Model): + """Information about the enclaves running the Confidential Ledger. + + All required parameters must be populated in order to send to Azure. + + :param current_node_id: Required. Id of the Confidential Ledger node responding to the request. + :type current_node_id: str + :param enclave_quotes: Required. Dictionary of enclave quotes, indexed by node id. + :type enclave_quotes: dict[str, + ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.EnclaveQuote] + """ + + _validation = { + 'current_node_id': {'required': True}, + 'enclave_quotes': {'required': True}, + } + + _attribute_map = { + 'current_node_id': {'key': 'currentNodeId', 'type': 'str'}, + 'enclave_quotes': {'key': 'enclaveQuotes', 'type': '{EnclaveQuote}'}, + } + + def __init__( + self, + *, + current_node_id: str, + enclave_quotes: Dict[str, "EnclaveQuote"], + **kwargs + ): + super(ConfidentialLedgerEnclaves, self).__init__(**kwargs) + self.current_node_id = current_node_id + self.enclave_quotes = enclave_quotes + + +class ConfidentialLedgerError(msrest.serialization.Model): + """An error response from Confidential Ledger. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar error: An error response from Confidential Ledger. + :vartype error: + ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.ConfidentialLedgerErrorBody + """ + + _validation = { + 'error': {'readonly': True}, + } + + _attribute_map = { + 'error': {'key': 'error', 'type': 'ConfidentialLedgerErrorBody'}, + } + + def __init__( + self, + **kwargs + ): + super(ConfidentialLedgerError, self).__init__(**kwargs) + self.error = None + + +class ConfidentialLedgerErrorBody(msrest.serialization.Model): + """An error response from Confidential Ledger. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar code: The error code. + :vartype code: str + :ivar message: The error message. + :vartype message: str + :ivar inner_error: An error response from Confidential Ledger. + :vartype inner_error: + ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.ConfidentialLedgerErrorBody + """ + + _validation = { + 'code': {'readonly': True}, + 'message': {'readonly': True}, + 'inner_error': {'readonly': True}, + } + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'inner_error': {'key': 'innererror', 'type': 'ConfidentialLedgerErrorBody'}, + } + + def __init__( + self, + **kwargs + ): + super(ConfidentialLedgerErrorBody, self).__init__(**kwargs) + self.code = None + self.message = None + self.inner_error = None + + +class Consortium(msrest.serialization.Model): + """List of members in the consortium. + + All required parameters must be populated in order to send to Azure. + + :param members: Required. + :type members: + list[~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.ConsortiumMember] + """ + + _validation = { + 'members': {'required': True}, + } + + _attribute_map = { + 'members': {'key': 'members', 'type': '[ConsortiumMember]'}, + } + + def __init__( + self, + *, + members: List["ConsortiumMember"], + **kwargs + ): + super(Consortium, self).__init__(**kwargs) + self.members = members + + +class ConsortiumMember(msrest.serialization.Model): + """Describes a member of the consortium. + + All required parameters must be populated in order to send to Azure. + + :param certificate: Required. PEM-encoded certificate associated with the member. + :type certificate: str + :param id: Required. Identifier assigned to the member. + :type id: str + """ + + _validation = { + 'certificate': {'required': True}, + 'id': {'required': True}, + } + + _attribute_map = { + 'certificate': {'key': 'certificate', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + *, + certificate: str, + id: str, + **kwargs + ): + super(ConsortiumMember, self).__init__(**kwargs) + self.certificate = certificate + self.id = id + + +class Constitution(msrest.serialization.Model): + """The governance script for the application. + + All required parameters must be populated in order to send to Azure. + + :param digest: Required. SHA256 digest of the constitution script. + :type digest: str + :param script: Required. Contents of the constitution. + :type script: str + """ + + _validation = { + 'digest': {'required': True}, + 'script': {'required': True}, + } + + _attribute_map = { + 'digest': {'key': 'digest', 'type': 'str'}, + 'script': {'key': 'script', 'type': 'str'}, + } + + def __init__( + self, + *, + digest: str, + script: str, + **kwargs + ): + super(Constitution, self).__init__(**kwargs) + self.digest = digest + self.script = script + + +class EnclaveQuote(msrest.serialization.Model): + """Contains the enclave quote. + + All required parameters must be populated in order to send to Azure. + + :param node_id: Required. ID assigned to this node. + :type node_id: str + :param mrenclave: MRENCLAVE value of the code running in the enclave. + :type mrenclave: str + :param quote_version: Required. Version of the quote presented. + :type quote_version: str + :param raw: Required. Raw SGX quote, parsable by tools like Open Enclave's oeverify. + :type raw: str + """ + + _validation = { + 'node_id': {'required': True}, + 'quote_version': {'required': True}, + 'raw': {'required': True}, + } + + _attribute_map = { + 'node_id': {'key': 'nodeId', 'type': 'str'}, + 'mrenclave': {'key': 'mrenclave', 'type': 'str'}, + 'quote_version': {'key': 'quoteVersion', 'type': 'str'}, + 'raw': {'key': 'raw', 'type': 'str'}, + } + + def __init__( + self, + *, + node_id: str, + quote_version: str, + raw: str, + mrenclave: Optional[str] = None, + **kwargs + ): + super(EnclaveQuote, self).__init__(**kwargs) + self.node_id = node_id + self.mrenclave = mrenclave + self.quote_version = quote_version + self.raw = raw + + +class LedgerEntry(msrest.serialization.Model): + """An entry in the ledger. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param contents: Required. Contents of the ledger entry. + :type contents: str + :ivar sub_ledger_id: Identifier for sub-ledgers. + :vartype sub_ledger_id: str + :ivar transaction_id: A unique identifier for the state of the ledger. If returned as part of a + LedgerEntry, it indicates the state from which the entry was read. + :vartype transaction_id: str + """ + + _validation = { + 'contents': {'required': True}, + 'sub_ledger_id': {'readonly': True}, + 'transaction_id': {'readonly': True}, + } + + _attribute_map = { + 'contents': {'key': 'contents', 'type': 'str'}, + 'sub_ledger_id': {'key': 'subLedgerId', 'type': 'str'}, + 'transaction_id': {'key': 'transactionId', 'type': 'str'}, + } + + def __init__( + self, + *, + contents: str, + **kwargs + ): + super(LedgerEntry, self).__init__(**kwargs) + self.contents = contents + self.sub_ledger_id = None + self.transaction_id = None + + +class LedgerQueryResult(msrest.serialization.Model): + """The result of querying for a ledger entry from an older transaction id. The ledger entry is available in the response only if the returned state is Ready. + + All required parameters must be populated in order to send to Azure. + + :param state: Required. State of a ledger query. Possible values include: "Loading", "Ready". + :type state: str or + ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.ConfidentialLedgerQueryState + :param entry: The ledger entry found as a result of the query. This is only available if the + query is in Ready state. + :type entry: + ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.LedgerEntry + """ + + _validation = { + 'state': {'required': True}, + } + + _attribute_map = { + 'state': {'key': 'state', 'type': 'str'}, + 'entry': {'key': 'entry', 'type': 'LedgerEntry'}, + } + + def __init__( + self, + *, + state: Union[str, "ConfidentialLedgerQueryState"], + entry: Optional["LedgerEntry"] = None, + **kwargs + ): + super(LedgerQueryResult, self).__init__(**kwargs) + self.state = state + self.entry = entry + + +class LedgerUser(msrest.serialization.Model): + """Details about a Confidential Ledger user. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param assigned_role: Required. Represents an assignable role. Possible values include: + "Administrator", "Contributor", "Reader". + :type assigned_role: str or + ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.ConfidentialLedgerUserRoleName + :ivar user_id: Identifier for the user. This must either be an AAD object id or a certificate + fingerprint. + :vartype user_id: str + """ + + _validation = { + 'assigned_role': {'required': True}, + 'user_id': {'readonly': True}, + } + + _attribute_map = { + 'assigned_role': {'key': 'assignedRole', 'type': 'str'}, + 'user_id': {'key': 'userId', 'type': 'str'}, + } + + def __init__( + self, + *, + assigned_role: Union[str, "ConfidentialLedgerUserRoleName"], + **kwargs + ): + super(LedgerUser, self).__init__(**kwargs) + self.assigned_role = assigned_role + self.user_id = None + + +class LedgerWriteResult(msrest.serialization.Model): + """Returned as a result of a write to the Confidential Ledger, the transaction id in the response indicates when the write will become durable. + + All required parameters must be populated in order to send to Azure. + + :param sub_ledger_id: Required. Identifier for sub-ledgers. + :type sub_ledger_id: str + """ + + _validation = { + 'sub_ledger_id': {'required': True}, + } + + _attribute_map = { + 'sub_ledger_id': {'key': 'subLedgerId', 'type': 'str'}, + } + + def __init__( + self, + *, + sub_ledger_id: str, + **kwargs + ): + super(LedgerWriteResult, self).__init__(**kwargs) + self.sub_ledger_id = sub_ledger_id + + +class MerkleProofElement(msrest.serialization.Model): + """An item in the Merkle proof. + + :param left: + :type left: str + :param right: + :type right: str + """ + + _attribute_map = { + 'left': {'key': 'left', 'type': 'str'}, + 'right': {'key': 'right', 'type': 'str'}, + } + + def __init__( + self, + *, + left: Optional[str] = None, + right: Optional[str] = None, + **kwargs + ): + super(MerkleProofElement, self).__init__(**kwargs) + self.left = left + self.right = right + + +class PagedLedgerEntries(msrest.serialization.Model): + """Paginated ledger entries returned in response to a query. + + All required parameters must be populated in order to send to Azure. + + :param state: Required. State of a ledger query. Possible values include: "Loading", "Ready". + :type state: str or + ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.ConfidentialLedgerQueryState + :param next_link: Path from which to retrieve the next page of results. + :type next_link: str + :param entries: Required. Array of ledger entries. + :type entries: + list[~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.LedgerEntry] + """ + + _validation = { + 'state': {'required': True}, + 'entries': {'required': True}, + } + + _attribute_map = { + 'state': {'key': 'state', 'type': 'str'}, + 'next_link': {'key': '@nextLink', 'type': 'str'}, + 'entries': {'key': 'entries', 'type': '[LedgerEntry]'}, + } + + def __init__( + self, + *, + state: Union[str, "ConfidentialLedgerQueryState"], + entries: List["LedgerEntry"], + next_link: Optional[str] = None, + **kwargs + ): + super(PagedLedgerEntries, self).__init__(**kwargs) + self.state = state + self.next_link = next_link + self.entries = entries + + +class ReceiptContents(msrest.serialization.Model): + """A receipt certifying the transaction at the specified id. + + All required parameters must be populated in order to send to Azure. + + :param leaf: Required. Merkle tree leaf for this transaction. + :type leaf: str + :param node_id: Required. Id of the node returning the receipt. + :type node_id: str + :param proof: Required. Merkle proof. + :type proof: + list[~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.MerkleProofElement] + :param root: Required. Root of the Merkle tree at the time the transaction was recorded. + :type root: str + :param signature: Required. Signature by the node, with its certificate, over the Merkle root. + :type signature: str + """ + + _validation = { + 'leaf': {'required': True}, + 'node_id': {'required': True}, + 'proof': {'required': True}, + 'root': {'required': True}, + 'signature': {'required': True}, + } + + _attribute_map = { + 'leaf': {'key': 'leaf', 'type': 'str'}, + 'node_id': {'key': 'nodeId', 'type': 'str'}, + 'proof': {'key': 'proof', 'type': '[MerkleProofElement]'}, + 'root': {'key': 'root', 'type': 'str'}, + 'signature': {'key': 'signature', 'type': 'str'}, + } + + def __init__( + self, + *, + leaf: str, + node_id: str, + proof: List["MerkleProofElement"], + root: str, + signature: str, + **kwargs + ): + super(ReceiptContents, self).__init__(**kwargs) + self.leaf = leaf + self.node_id = node_id + self.proof = proof + self.root = root + self.signature = signature + + +class RoleAssignment(msrest.serialization.Model): + """Object for assigning a role to a user. + + All required parameters must be populated in order to send to Azure. + + :param role_name: Required. Represents an assignable role. Possible values include: + "Administrator", "Contributor", "Reader". + :type role_name: str or + ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.ConfidentialLedgerUserRoleName + :param description: Description of the role. + :type description: str + """ + + _validation = { + 'role_name': {'required': True}, + } + + _attribute_map = { + 'role_name': {'key': 'roleName', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + *, + role_name: Union[str, "ConfidentialLedgerUserRoleName"], + description: Optional[str] = None, + **kwargs + ): + super(RoleAssignment, self).__init__(**kwargs) + self.role_name = role_name + self.description = description + + +class TransactionReceipt(msrest.serialization.Model): + """A receipt certifying the transaction at the specified id. + + All required parameters must be populated in order to send to Azure. + + :param receipt: A receipt certifying the transaction at the specified id. + :type receipt: + ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.ReceiptContents + :param state: Required. State of a ledger query. Possible values include: "Loading", "Ready". + :type state: str or + ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.ConfidentialLedgerQueryState + :param transaction_id: Required. A unique identifier for the state of the ledger. If returned + as part of a LedgerEntry, it indicates the state from which the entry was read. + :type transaction_id: str + """ + + _validation = { + 'state': {'required': True}, + 'transaction_id': {'required': True}, + } + + _attribute_map = { + 'receipt': {'key': 'receipt', 'type': 'ReceiptContents'}, + 'state': {'key': 'state', 'type': 'str'}, + 'transaction_id': {'key': 'transactionId', 'type': 'str'}, + } + + def __init__( + self, + *, + state: Union[str, "ConfidentialLedgerQueryState"], + transaction_id: str, + receipt: Optional["ReceiptContents"] = None, + **kwargs + ): + super(TransactionReceipt, self).__init__(**kwargs) + self.receipt = receipt + self.state = state + self.transaction_id = transaction_id + + +class TransactionStatus(msrest.serialization.Model): + """Response returned to a query for the transaction status. + + All required parameters must be populated in order to send to Azure. + + :param state: Required. Represents the state of the transaction. Possible values include: + "Committed", "Pending". + :type state: str or + ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.TransactionState + :param transaction_id: Required. A unique identifier for the state of the ledger. If returned + as part of a LedgerEntry, it indicates the state from which the entry was read. + :type transaction_id: str + """ + + _validation = { + 'state': {'required': True}, + 'transaction_id': {'required': True}, + } + + _attribute_map = { + 'state': {'key': 'state', 'type': 'str'}, + 'transaction_id': {'key': 'transactionId', 'type': 'str'}, + } + + def __init__( + self, + *, + state: Union[str, "TransactionState"], + transaction_id: str, + **kwargs + ): + super(TransactionStatus, self).__init__(**kwargs) + self.state = state + self.transaction_id = transaction_id diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/operations/__init__.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/operations/__init__.py new file mode 100644 index 000000000000..8afa2547b234 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/operations/__init__.py @@ -0,0 +1,13 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._confidential_ledger_operations import ConfidentialLedgerOperations + +__all__ = [ + 'ConfidentialLedgerOperations', +] diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/operations/_confidential_ledger_operations.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/operations/_confidential_ledger_operations.py new file mode 100644 index 000000000000..d65a8cfec269 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/operations/_confidential_ledger_operations.py @@ -0,0 +1,793 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class ConfidentialLedgerOperations(object): + """ConfidentialLedgerOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get_constitution( + self, + **kwargs # type: Any + ): + # type: (...) -> "_models.Constitution" + """Gets the constitution used for governance. + + The constitution is a script that assesses and applies proposals from consortium members. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Constitution, or the result of cls(response) + :rtype: ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.Constitution + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Constitution"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "0.1-preview" + accept = "application/json" + + # Construct URL + url = self.get_constitution.metadata['url'] # type: ignore + path_format_arguments = { + 'ledgerUri': self._serialize.url("self._config.ledger_uri", self._config.ledger_uri, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ConfidentialLedgerError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('Constitution', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_constitution.metadata = {'url': '/app/governance/constitution'} # type: ignore + + def get_consortium_members( + self, + **kwargs # type: Any + ): + # type: (...) -> "_models.Consortium" + """Gets the consortium members. + + Consortium members can manage the Confidential Ledger. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Consortium, or the result of cls(response) + :rtype: ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.Consortium + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Consortium"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "0.1-preview" + accept = "application/json" + + # Construct URL + url = self.get_consortium_members.metadata['url'] # type: ignore + path_format_arguments = { + 'ledgerUri': self._serialize.url("self._config.ledger_uri", self._config.ledger_uri, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ConfidentialLedgerError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('Consortium', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_consortium_members.metadata = {'url': '/app/governance/members'} # type: ignore + + def get_enclave_quotes( + self, + **kwargs # type: Any + ): + # type: (...) -> "_models.ConfidentialLedgerEnclaves" + """Gets quotes for all nodes of the Confidential Ledger. + + A quote is an SGX enclave measurement that can be used to verify the validity of a node and its + enclave. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ConfidentialLedgerEnclaves, or the result of cls(response) + :rtype: ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.ConfidentialLedgerEnclaves + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConfidentialLedgerEnclaves"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "0.1-preview" + accept = "application/json" + + # Construct URL + url = self.get_enclave_quotes.metadata['url'] # type: ignore + path_format_arguments = { + 'ledgerUri': self._serialize.url("self._config.ledger_uri", self._config.ledger_uri, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ConfidentialLedgerError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('ConfidentialLedgerEnclaves', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_enclave_quotes.metadata = {'url': '/app/enclaveQuotes'} # type: ignore + + def get_ledger_entries( + self, + sub_ledger_id=None, # type: Optional[str] + from_transaction_id=None, # type: Optional[str] + to_transaction_id=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.PagedLedgerEntries"] + """Gets ledger entries from a sub-ledger corresponding to a range. + + A sub-ledger id may optionally be specified. Only entries in the specified (or default) + sub-ledger will be returned. + + :param sub_ledger_id: The sub-ledger id. + :type sub_ledger_id: str + :param from_transaction_id: Specify the first transaction ID in a range. + :type from_transaction_id: str + :param to_transaction_id: Specify the last transaction ID in a range. + :type to_transaction_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PagedLedgerEntries or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.PagedLedgerEntries] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PagedLedgerEntries"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "0.1-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_ledger_entries.metadata['url'] # type: ignore + path_format_arguments = { + 'ledgerUri': self._serialize.url("self._config.ledger_uri", self._config.ledger_uri, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if sub_ledger_id is not None: + query_parameters['subLedgerId'] = self._serialize.query("sub_ledger_id", sub_ledger_id, 'str') + if from_transaction_id is not None: + query_parameters['fromTransactionId'] = self._serialize.query("from_transaction_id", from_transaction_id, 'str') + if to_transaction_id is not None: + query_parameters['toTransactionId'] = self._serialize.query("to_transaction_id", to_transaction_id, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + path_format_arguments = { + 'ledgerUri': self._serialize.url("self._config.ledger_uri", self._config.ledger_uri, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('PagedLedgerEntries', pipeline_response) + list_of_elem = deserialized.entries + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ConfidentialLedgerError, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + get_ledger_entries.metadata = {'url': '/app/transactions'} # type: ignore + + def post_ledger_entry( + self, + contents, # type: str + sub_ledger_id=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.LedgerWriteResult" + """Writes a ledger entry. + + A sub-ledger id may optionally be specified. + + :param contents: Contents of the ledger entry. + :type contents: str + :param sub_ledger_id: The sub-ledger id. + :type sub_ledger_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: LedgerWriteResult, or the result of cls(response) + :rtype: ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.LedgerWriteResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LedgerWriteResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + _entry = _models.LedgerEntry(contents=contents) + api_version = "0.1-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.post_ledger_entry.metadata['url'] # type: ignore + path_format_arguments = { + 'ledgerUri': self._serialize.url("self._config.ledger_uri", self._config.ledger_uri, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if sub_ledger_id is not None: + query_parameters['subLedgerId'] = self._serialize.query("sub_ledger_id", sub_ledger_id, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + if _entry is not None: + body_content = self._serialize.body(_entry, 'LedgerEntry') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ConfidentialLedgerError, response) + raise HttpResponseError(response=response, model=error) + + response_headers = {} + response_headers['x-ms-ccf-transaction-id']=self._deserialize('str', response.headers.get('x-ms-ccf-transaction-id')) + deserialized = self._deserialize('LedgerWriteResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, response_headers) + + return deserialized + post_ledger_entry.metadata = {'url': '/app/transactions'} # type: ignore + + def get_ledger_entry( + self, + transaction_id, # type: str + sub_ledger_id=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.LedgerQueryResult" + """Gets the ledger entry at the specified transaction id. A sub-ledger id may optionally be specified to indicate the sub-ledger from which to fetch the value. + + To return older ledger entries, the relevant sections of the ledger must be read from disk and + validated. To prevent blocking within the enclave, the response will indicate whether the entry + is ready and part of the response, or if the loading is still ongoing. + + :param transaction_id: Identifies a write transaction. + :type transaction_id: str + :param sub_ledger_id: The sub-ledger id. + :type sub_ledger_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: LedgerQueryResult, or the result of cls(response) + :rtype: ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.LedgerQueryResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LedgerQueryResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "0.1-preview" + accept = "application/json" + + # Construct URL + url = self.get_ledger_entry.metadata['url'] # type: ignore + path_format_arguments = { + 'ledgerUri': self._serialize.url("self._config.ledger_uri", self._config.ledger_uri, 'str', skip_quote=True), + 'transactionId': self._serialize.url("transaction_id", transaction_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if sub_ledger_id is not None: + query_parameters['subLedgerId'] = self._serialize.query("sub_ledger_id", sub_ledger_id, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ConfidentialLedgerError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('LedgerQueryResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_ledger_entry.metadata = {'url': '/app/transactions/{transactionId}'} # type: ignore + + def get_receipt( + self, + transaction_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.TransactionReceipt" + """Gets a receipt certifying ledger contents at a particular transaction id. + + Gets a receipt certifying ledger contents at a particular transaction id. + + :param transaction_id: Identifies a write transaction. + :type transaction_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: TransactionReceipt, or the result of cls(response) + :rtype: ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.TransactionReceipt + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TransactionReceipt"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "0.1-preview" + accept = "application/json" + + # Construct URL + url = self.get_receipt.metadata['url'] # type: ignore + path_format_arguments = { + 'ledgerUri': self._serialize.url("self._config.ledger_uri", self._config.ledger_uri, 'str', skip_quote=True), + 'transactionId': self._serialize.url("transaction_id", transaction_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ConfidentialLedgerError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('TransactionReceipt', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_receipt.metadata = {'url': '/app/transactions/{transactionId}/receipt'} # type: ignore + + def get_transaction_status( + self, + transaction_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.TransactionStatus" + """Gets the status of an entry identified by a transaction id. + + Gets the status of an entry identified by a transaction id. + + :param transaction_id: Identifies a write transaction. + :type transaction_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: TransactionStatus, or the result of cls(response) + :rtype: ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.TransactionStatus + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TransactionStatus"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "0.1-preview" + accept = "application/json" + + # Construct URL + url = self.get_transaction_status.metadata['url'] # type: ignore + path_format_arguments = { + 'ledgerUri': self._serialize.url("self._config.ledger_uri", self._config.ledger_uri, 'str', skip_quote=True), + 'transactionId': self._serialize.url("transaction_id", transaction_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ConfidentialLedgerError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('TransactionStatus', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_transaction_status.metadata = {'url': '/app/transactions/{transactionId}/status'} # type: ignore + + def get_current_ledger_entry( + self, + sub_ledger_id=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.LedgerEntry" + """Gets the current value available in the ledger. + + A sub-ledger id may optionally be specified. + + :param sub_ledger_id: The sub-ledger id. + :type sub_ledger_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: LedgerEntry, or the result of cls(response) + :rtype: ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.LedgerEntry + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LedgerEntry"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "0.1-preview" + accept = "application/json" + + # Construct URL + url = self.get_current_ledger_entry.metadata['url'] # type: ignore + path_format_arguments = { + 'ledgerUri': self._serialize.url("self._config.ledger_uri", self._config.ledger_uri, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if sub_ledger_id is not None: + query_parameters['subLedgerId'] = self._serialize.query("sub_ledger_id", sub_ledger_id, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ConfidentialLedgerError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('LedgerEntry', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_current_ledger_entry.metadata = {'url': '/app/transactions/current'} # type: ignore + + def delete_user( + self, + user_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + """Deletes a user from the Confidential Ledger. + + Deletes a user from the Confidential Ledger. + + :param user_id: The user id, either an AAD object ID or certificate fingerprint. + :type user_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "0.1-preview" + accept = "application/json" + + # Construct URL + url = self.delete_user.metadata['url'] # type: ignore + path_format_arguments = { + 'ledgerUri': self._serialize.url("self._config.ledger_uri", self._config.ledger_uri, 'str', skip_quote=True), + 'userId': self._serialize.url("user_id", user_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ConfidentialLedgerError, response) + raise HttpResponseError(response=response, model=error) + + if cls: + return cls(pipeline_response, None, {}) + + delete_user.metadata = {'url': '/app/users/{userId}'} # type: ignore + + def get_user( + self, + user_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.LedgerUser" + """Gets a user. + + Gets a user. + + :param user_id: The user id, either an AAD object ID or certificate fingerprint. + :type user_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: LedgerUser, or the result of cls(response) + :rtype: ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.LedgerUser + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LedgerUser"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "0.1-preview" + accept = "application/json" + + # Construct URL + url = self.get_user.metadata['url'] # type: ignore + path_format_arguments = { + 'ledgerUri': self._serialize.url("self._config.ledger_uri", self._config.ledger_uri, 'str', skip_quote=True), + 'userId': self._serialize.url("user_id", user_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ConfidentialLedgerError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('LedgerUser', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_user.metadata = {'url': '/app/users/{userId}'} # type: ignore + + def create_or_update_user( + self, + user_id, # type: str + assigned_role, # type: Union[str, "_models.ConfidentialLedgerUserRoleName"] + **kwargs # type: Any + ): + # type: (...) -> "_models.LedgerUser" + """Adds a user or updates a user's fields. + + A JSON merge patch is applied for existing users. + + :param user_id: The user id, either an AAD object ID or certificate fingerprint. + :type user_id: str + :param assigned_role: Represents an assignable role. + :type assigned_role: str or ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.ConfidentialLedgerUserRoleName + :keyword callable cls: A custom type or function that will be passed the direct response + :return: LedgerUser, or the result of cls(response) + :rtype: ~azure.confidentialledger._generated/_generated_ledger.v0_1_preview.models.LedgerUser + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LedgerUser"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + _user_details = _models.LedgerUser(assigned_role=assigned_role) + api_version = "0.1-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.create_or_update_user.metadata['url'] # type: ignore + path_format_arguments = { + 'ledgerUri': self._serialize.url("self._config.ledger_uri", self._config.ledger_uri, 'str', skip_quote=True), + 'userId': self._serialize.url("user_id", user_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(_user_details, 'LedgerUser') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ConfidentialLedgerError, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('LedgerUser', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + create_or_update_user.metadata = {'url': '/app/users/{userId}'} # type: ignore diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/py.typed b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/py.typed new file mode 100644 index 000000000000..e5aff4f83af8 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_generated/_generated_ledger/v0_1_preview/py.typed @@ -0,0 +1 @@ +# Marker file for PEP 561. \ No newline at end of file diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_models.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_models.py new file mode 100644 index 000000000000..051d55a0893e --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_models.py @@ -0,0 +1,340 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ + +from collections import namedtuple + +from ._enums import LedgerUserRole, TransactionState + + +try: + from typing import TYPE_CHECKING +except ImportError: + TYPE_CHECKING = False + +if TYPE_CHECKING: + # pylint:disable=unused-import + from typing import Dict, List + + +class AppendResult(namedtuple("AppendResult", ["sub_ledger_id", "transaction_id"])): + """Result of appending to the ledger. + + :ivar str transaction_id: Identifier for when the append transaction was registered. + :ivar str sub_ledger_id: Identifies the sub-ledger the entry was appended to. + """ + + __slots__ = () + + def __new__(cls, sub_ledger_id, transaction_id): + return super(AppendResult, cls).__new__(cls, sub_ledger_id, transaction_id) + + @classmethod + def _from_pipeline_result(cls, _, deserialized, response_headers): + transaction_id = response_headers["x-ms-ccf-transaction-id"] + return cls( + transaction_id=transaction_id, sub_ledger_id=deserialized.sub_ledger_id + ) + + +class ConsortiumMember(object): + """Describes a member of the consortium. + + :param certificate: Certificate used by the member. + :type certificate: str + :param id: The member's assigned identifier. + :type id: str + """ + + def __init__( + self, + certificate, # type: str + member_id, # type: str + ): + if not certificate or not member_id: + raise ValueError("certificate and member_id cannot be None") + + self._certificate = certificate + self._member_id = member_id + + @property + def certificate(self): + # type: () -> str + """The member's certificate.""" + return self._certificate + + @property + def id(self): + # type: () -> str + """The member's identifier.""" + return self._member_id + + +class Consortium(object): + """Describes the consortium. + + :param members: List of members of the consortium. + :type members: List[ConsortiumMember] + """ + + def __init__( + self, members # type: List[ConsortiumMember] + ): + self._members = members + + @property + def members(self): + # type: () -> List[ConsortiumMember] + """Members of the consortium.""" + return self._members + + +class Constitution(object): + """Governance script for the Confidential Ledger. + + :param script: Contents of the constitution script. + :type script: str + :param digest: SHA256 digest of the script. + :type digest: str + """ + + def __init__( + self, + script, # type: str + digest, # type: str + ): + self._script = script + self._digest = digest + + @property + def contents(self): + # type: () -> str + """The contents of the constitution.""" + return self._script + + @property + def digest(self): + # type: () -> str + """SHA256 of the constitution.""" + return self._digest + + +class EnclaveQuote(object): + """Quote of an SGX enclave. + + :param node_id: ID assigned to this node by CCF. + :type node_id: int + :param mrenclave: MRENCLAVE value of the code running in the enclave. + :type mrenclave: str + :param raw_quote: Raw SGX quote, parsable by tools like Open Enclave's oeverify. + :type raw_quote: str + :param version: Version of the quote. + :type version: str + """ + + def __init__( + self, + node_id, # type: int + mrenclave, # type: str + raw_quote, # type: str + version, # type: str + ): + self._node_id = node_id + self._mrenclave = mrenclave + self._raw_quote = raw_quote + self._version = version + + @property + def node_id(self): + # type: () -> int + """The ID of the node identified by this quote.""" + return self._node_id + + @property + def mrenclave(self): + # type: () -> str + """The MRENCLAVE value for this enclave.""" + return self._mrenclave + + @property + def raw_quote(self): + # type: () -> str + """The raw quote for this enclave.""" + return self._raw_quote + + @property + def version(self): + # type: () -> str + """The version of the quote.""" + return self._version + + +class LedgerEnclaves(object): + """Collection of enclaves in the ledger. + + :param quotes: Dictionary of enclaves in the Confidential Ledger. + :type quotes: Dict[str, EnclaveQuote] + :param source_node: Id of the node providing the quotes. + :type source_node: str + """ + + def __init__( + self, + quotes, # type: Dict[str, EnclaveQuote] + source_node, # type: str + ): + self._quotes = quotes + self._source_node = source_node + + @property + def quotes(self): + # type: (...) -> Dict[str, EnclaveQuote] + """Get a dictionary of enclaves quotes.""" + return self._quotes + + @property + def source_node(self): + # type: (...) -> str + """Identifies the node that returned the contained quotes.""" + return self._source_node + + +class LedgerEntry(object): + """An entry in the ledger. + + :param transaction_id: Identifier for the transaction containing this ledger entry. + :type transaction_id: str + :param contents: Contents of the ledger entry. + :type contents: str + :param sub_ledger_id: Identifies the sub-ledger the entry is a part of. + :type sub_ledger_id: str + """ + + def __init__( + self, + transaction_id, # type: str + contents, # type: str + sub_ledger_id, # type: int + ): + self._transaction_id = transaction_id + self._contents = contents + self._sub_ledger_id = sub_ledger_id + + @property + def transaction_id(self): + # type: () -> str + """Id of the ledger entry.""" + return self._transaction_id + + @property + def contents(self): + # type: () -> str + """Contents of the ledger entry.""" + return self._contents + + @property + def sub_ledger_id(self): + # type: () -> int + """Identifies the sub-ledger this entry is a part of.""" + return self._sub_ledger_id + + @classmethod + def _from_pipeline_result(cls, deserialized): + # type: (...) -> LedgerEntry + return cls( + transaction_id=deserialized.transaction_id, + contents=deserialized.contents, + sub_ledger_id=deserialized.sub_ledger_id, + ) + + +class LedgerUser(object): + """Models a Confidential Ledger user. + + :param user_id: Identifier of the user. + :type user_id: str + :param role: Role assigned to the user. + :type role: LedgerUserRole + """ + + def __init__( + self, + user_id, # type: str + role, # type: LedgerUserRole + ): + self._id = user_id + self._role = role + + @property + def id(self): + # type: () -> str + """Returns the id of this user.""" + return self._id + + @property + def role(self): + # type: () -> LedgerUserRole + """Returns the role assigned to this user.""" + return self._role + + +class TransactionReceipt(object): + """Contains a receipt certifying a transaction. + + :param transaction_id: Unique identifier for a transaction. + :type transaction_id: str + :param receipt: The receipt, which is a list of integers comprising a Merkle proof. + :type receipt: List[int] + """ + + def __init__( + self, + transaction_id, # type: str + receipt, # type: List[int] + ): + # type: (int, List[int]) -> None + self._transaction_id = transaction_id + self._contents = receipt + + @property + def contents(self): + # type: () -> List[int] + """Contents of the receipt.""" + return self._contents + + @property + def transaction_id(self): + # type: () -> str + """Identifier for the transaction certified by this receipt.""" + return self._transaction_id + + +class TransactionStatus(object): + """Represents the status of a transaction. + + :param transaction_id: Identifier for the transaction. + :type transaction_id: str + :param state: State of the transation. + :type state: ~azure.confidentialledger.TransactionState + """ + + def __init__( + self, + transaction_id, # type: str + state, # type: TransactionState + ): + self._transaction_id = transaction_id + self._state = state + + @property + def transaction_id(self): + # type: () -> str + """The identifier for this transaction.""" + return self._transaction_id + + @property + def state(self): + # type: () -> TransactionState + """The state of the transaction.""" + return self._state diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_shared/__init__.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_shared/__init__.py new file mode 100644 index 000000000000..f8e4cbb104a1 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_shared/__init__.py @@ -0,0 +1,8 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +# pylint: disable=unused-import +from .credential import ConfidentialLedgerCertificateCredential + +DEFAULT_VERSION = "0.1-preview" diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_shared/credential.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_shared/credential.py new file mode 100644 index 000000000000..57c1835cc616 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_shared/credential.py @@ -0,0 +1,30 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ + +try: + from typing import TYPE_CHECKING +except ImportError: + TYPE_CHECKING = False + +if TYPE_CHECKING: + # pylint:disable=unused-import + pass + + +class ConfidentialLedgerCertificateCredential(object): + """A credential for authenticating with the Confidential Ledger using a certificate. + + :param str certificate_path: Path to the PEM-encoded certificate file including the private key. + """ + + def __init__(self, certificate_path): + # type: (str) -> None + if not certificate_path: + raise ValueError("certificate_path must be a non-empty string") + + if not certificate_path.endswith(".pem"): + raise ValueError("certificate_path must point to a .pem file") + + self.certificate_path = certificate_path diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_version.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_version.py new file mode 100644 index 000000000000..ac9f392f513e --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_version.py @@ -0,0 +1,6 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ + +VERSION = "1.0.0b1" diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/aio/__init__.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/aio/__init__.py new file mode 100644 index 000000000000..44b20ca97263 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/aio/__init__.py @@ -0,0 +1,10 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +# pylint: disable=unused-import + +from ._client import ConfidentialLedgerClient + + +__all__ = ["ConfidentialLedgerClient"] diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/aio/_client.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/aio/_client.py new file mode 100644 index 000000000000..940b32753750 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/aio/_client.py @@ -0,0 +1,466 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ + +import asyncio +from typing import Any, Optional, TYPE_CHECKING, Union + +from azure.core.async_paging import AsyncItemPaged +from azure.core.tracing.decorator import distributed_trace +from azure.core.tracing.decorator_async import distributed_trace_async + +from ._client_base import AsyncConfidentialLedgerClientBase +from .._enums import LedgerUserRole, TransactionState +from .._generated._generated_ledger.v0_1_preview.models import ConfidentialLedgerQueryState +from .._models import ( + AppendResult, + Constitution, + Consortium, + ConsortiumMember, + EnclaveQuote, + LedgerEnclaves, + LedgerEntry, + LedgerUser, + TransactionReceipt, + TransactionStatus, +) +from .._shared import ( + ConfidentialLedgerCertificateCredential, +) + +if TYPE_CHECKING: + from azure.core.credentials import TokenCredential + + +class ConfidentialLedgerClient(AsyncConfidentialLedgerClientBase): + """An asynchronous client for putting data into and querying data from the Confidential Ledger + service. + + The `transport` parameter is typically accepted by Azure SDK clients to provide a custom + transport stage in the pipeline. Since this client makes modifications to the default transport, + using a custom transport will override and remove the following functionality: + 1) Authentication using a client certificate. + 2) TLS verification using the Confidential Ledger TLS certificate. + + :param str endpoint: URL of the Confidential Ledger service. + :param credential: A credential object for authenticating with the Confidential Ledger. + :type credential: ~azure.confidentialledger.ConfidentialLedgerCertificateCredential + :param str ledger_certificate_path: The path to the ledger's TLS certificate. + :keyword api_version: Version of the Confidential Ledger API to use. Defaults to the most recent. + Support API versions: + - 0.1-preview + :type api_version: str + """ + + def __init__( + self, + endpoint: str, + credential: Union[ConfidentialLedgerCertificateCredential, "TokenCredential"], + ledger_certificate_path: str, + **kwargs: Any, + ) -> None: + super().__init__( + endpoint=endpoint, + credential=credential, + ledger_certificate_path=ledger_certificate_path, + **kwargs + ) + + @distributed_trace_async + async def append_to_ledger( + self, + entry_contents: str, + *, + sub_ledger_id: Optional[str] = None, + wait_for_commit: bool = False, + **kwargs: Any, + ) -> AppendResult: + """Appends an entry to the Confidential Ledger. + + :param entry_contents: Text to write to the ledger. + :type entry_contents: str + :param sub_ledger_id: Identifies the sub-ledger to append to, defaults to None. If none is + specified, the service will use the service-default sub-ledger id. + :type sub_ledger_id: Optional[str] + :param wait_for_commit: If True, this method will not return until the write is + durably saved to the ledger, defaults to False. + :type wait_for_commit: bool, defaults to False. + :return: Details about the write transaction. + :rtype: ~azure.confidentialledger.AppendResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + + if entry_contents is None: + raise ValueError("entry_contents must not be None") + + # pylint: disable=protected-access + result = await self._client.confidential_ledger.post_ledger_entry( + contents=entry_contents, + sub_ledger_id=sub_ledger_id, + cls=kwargs.pop("cls", AppendResult._from_pipeline_result), + **kwargs + ) + + if wait_for_commit: + await self.wait_until_durable(result.transaction_id, **kwargs) + + return result + + @distributed_trace_async + async def create_or_update_user( + self, user_id: str, role: Union[str, LedgerUserRole], **kwargs: Any + ) -> LedgerUser: + """Creates a new Confidential Ledger user, or updates an existing one. + + :param user_id: Identifies the user to delete. This should be an AAD object id or + certificate fingerprint. + :type user_id: str + :param role: Role to assigned to the user. + :type role: str or LedgerUserRole + :return: Details of the updated ledger user. + :rtype: ~azure.confidentialledger.LedgerUser + :raises: ~azure.core.exceptions.HttpResponseError + """ + + if user_id is None or role is None: + raise ValueError("user_id or role cannot be None") + + result = await self._client.confidential_ledger.create_or_update_user( + user_id=user_id, + assigned_role=role.value if isinstance(role, LedgerUserRole) else role, + **kwargs + ) + return LedgerUser( + user_id=result.user_id, role=LedgerUserRole(result.assigned_role) + ) + + @distributed_trace_async + async def delete_user(self, user_id: str, **kwargs: Any) -> None: + """Deletes a user from the Confidential Ledger. + + :param user_id: Identifies the user to delete. This should be an AAD object id or + certificate fingerprint. + :type user_id: str + :return: None + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + + if user_id is None: + raise ValueError("user_id cannot be None") + + await self._client.confidential_ledger.delete_user(user_id=user_id, **kwargs) + + @distributed_trace_async + async def get_constitution(self, **kwargs: Any) -> Constitution: + """Gets the constitution used for governance. + + The constitution is a script that assesses and applies proposals from consortium members. + + :return: The contents of the constitution and its digest. + :rtype: ~azure.confidentialledger.Constitution + :raises: ~azure.core.exceptions.HttpResponseError + """ + + result = await self._client.confidential_ledger.get_constitution(**kwargs) + return Constitution(script=result.script, digest=result.digest) + + @distributed_trace_async + async def get_consortium(self, **kwargs: Any) -> Consortium: + """Gets the consortium members. + + Consortium members can manage the Confidential Ledger. + + :return: Details about the consortium. + :rtype: ~azure.confidentialledger.Consortium + :raises: ~azure.core.exceptions.HttpResponseError + """ + + result = await self._client.confidential_ledger.get_consortium_members(**kwargs) + return Consortium( + members=[ + ConsortiumMember(certificate=member.certificate, member_id=member.id) + for member in result.members + ] + ) + + @distributed_trace_async + async def get_enclave_quotes(self, **kwargs: Any) -> LedgerEnclaves: + """Gets enclave quotes from all nodes in the Confidential Ledger network. + + :return: Enclave quotes for nodes in the Confidential Ledger. + :rtype: ~azure.confidentialledger.LedgerEnclaves + :raises: ~azure.core.exceptions.HttpResponseError + """ + + result = await self._client.confidential_ledger.get_enclave_quotes(**kwargs) + return LedgerEnclaves( + { + quote.node_id: EnclaveQuote( + node_id=quote.node_id, + mrenclave=quote.mrenclave, + raw_quote=quote.raw, + version=quote.quote_version, + ) + for quote in result.enclave_quotes.values() + }, + result.current_node_id, + ) + + @distributed_trace + def get_ledger_entries( + self, + *, + from_transaction_id=None, # type: Optional[str] + to_transaction_id=None, # type: Optional[str] + sub_ledger_id=None, # type: Optional[str] + **kwargs # type: Any + ) -> AsyncItemPaged[LedgerEntry]: + """Gets a range of entries in the ledger. + + :param from_transaction_id: Transaction identifier from which to start the query, defaults + to None. If this is None, the query begins from the first transaction. + :type from_transaction_id: Optional[str] + :param to_transaction_id: Transaction identifier at which to end the query (inclusive), + defaults to None. If this is None, the query ends at the end of the ledger. + :type from_transaction_id: Optional[str] + :param sub_ledger_id: Identifies the sub-ledger to fetch the ledger entry from, defaults to + None. + :type sub_ledger_id: Optional[str] + :return: An iterable for iterating over the entries in the range. + :rtype: ~azure.core.async_paging.AsyncItemPaged[LedgerEntry] + :raises: ~azure.core.exceptions.HttpResponseError + """ + + if from_transaction_id is not None: + if not from_transaction_id: + raise ValueError( + "If not None, from_transaction_id must be a non-empty string" + ) + if to_transaction_id is not None: + if not to_transaction_id: + raise ValueError( + "If not None, to_transaction_id must be a non-empty string" + ) + + # pylint: disable=protected-access + return self._client.confidential_ledger.get_ledger_entries( + from_transaction_id=from_transaction_id, + to_transaction_id=to_transaction_id, + sub_ledger_id=sub_ledger_id, + cls=kwargs.pop( + "cls", + lambda entries: [ + LedgerEntry._from_pipeline_result(entry) for entry in entries + ] + if entries is not None + else [], + ), + **kwargs + ) + + @distributed_trace_async + async def get_ledger_entry( + self, + *, + transaction_id: Optional[str] = None, + sub_ledger_id: Optional[str] = None, + interval: float = 0.5, + max_tries: int = 6, + **kwargs: Any, + ) -> LedgerEntry: + """Gets an entry in the ledger. + + :param transaction_id: Transaction identifier, defaults to None. If this is None, the latest + transaction is fetched. + :type transaction_id: Optional[str] + :param sub_ledger_id: Identifies the sub-ledger to fetch the ledger entry from, defaults to + None. + :type sub_ledger_id: Optional[str] + :param interval: Interval, in seconds, between retries while waiting for results. + :type interval: float + :param max_tries: Maximum number of times to try the query. Retries are attempted if the + result is not Ready. + :type max_tries: int + :return: The corresponding ledger entry. + :rtype: ~azure.confidentialledger.LedgerEntry + :raises: ~azure.core.exceptions.HttpResponseError + """ + + if transaction_id is not None: + if not transaction_id: + raise ValueError( + "If not None, transaction_id must be a non-empty string" + ) + + if transaction_id is None: + result = await self._client.confidential_ledger.get_current_ledger_entry( + sub_ledger_id=sub_ledger_id, **kwargs + ) + return LedgerEntry( + transaction_id=result.transaction_id, + contents=result.contents, + sub_ledger_id=result.sub_ledger_id, + ) + + ready = False + result = None + state = None + for _ in range(max_tries): + result = await self._client.confidential_ledger.get_ledger_entry( + transaction_id=transaction_id, sub_ledger_id=sub_ledger_id, **kwargs + ) + ready = result.state == ConfidentialLedgerQueryState.READY + if not ready: + state = result.state + await asyncio.sleep(interval) + else: + break + if not ready: + raise TimeoutError( + "After {} attempts, the query still had state {}, not {}".format( + max_tries, state, ConfidentialLedgerQueryState.READY + ) + ) + + return LedgerEntry( + transaction_id=result.entry.transaction_id, + contents=result.entry.contents, + sub_ledger_id=result.entry.sub_ledger_id, + ) + + @distributed_trace_async + async def get_transaction_receipt( + self, + transaction_id: str, + *, + interval: float = 0.5, + max_tries: int = 6, + **kwargs: Any, + ) -> TransactionReceipt: + """Get a receipt for a specific transaction. + + :param transaction_id: Transaction identifier. + :type transaction_id: str + :param interval: Interval, in seconds, between retries while waiting for results. + :type interval: float + :param max_tries: Maximum number of times to try the query. Retries are attempted if the + result is not Ready. + :type max_tries: int + :return: Receipt certifying the specified transaction. + :rtype: ~azure.confidentialledger.TransactionReceipt + :raises: ~azure.core.exceptions.HttpResponseError + """ + + if transaction_id is None: + raise ValueError("transaction_id cannot be None") + + ready = False + result = None + state = None + for _ in range(max_tries): + result = await self._client.confidential_ledger.get_receipt( + transaction_id=transaction_id, **kwargs + ) + + ready = result.state == ConfidentialLedgerQueryState.READY + if not ready: + state = result.state + await asyncio.sleep(interval) + else: + break + if not ready: + raise TimeoutError( + "After {} attempts, the query still had state {}, not {}".format( + max_tries, state, ConfidentialLedgerQueryState.READY + ) + ) + + return TransactionReceipt( + transaction_id=result.transaction_id, receipt=result.receipt + ) + + @distributed_trace_async + async def get_transaction_status( + self, transaction_id: str, **kwargs: Any + ) -> TransactionStatus: + """Gets the status of a transaction. + + :param transaction_id: Identifier for the transaction to get the status of. + :type transaction_id: str + :return: Status object describing the transaction status. + :rtype: ~azure.confidentialledger.TransactionStatus + :raises: ~azure.core.exceptions.HttpResponseError + """ + + if transaction_id is None: + raise ValueError("transaction_id cannot be None") + + result = await self._client.confidential_ledger.get_transaction_status( + transaction_id=transaction_id, **kwargs + ) + return TransactionStatus( + transaction_id=result.transaction_id, state=TransactionState(result.state) + ) + + @distributed_trace_async + async def get_user(self, user_id: str, **kwargs: Any) -> LedgerUser: + """Gets a Confidential Ledger user. + + :param user_id: Identifies the user to delete. This should be an AAD object id or + certificate fingerprint. + :type user_id: str + :return: Details about the user. + :rtype: ~azure.confidentialledger.LedgerUser + :raises: ~azure.core.exceptions.HttpResponseError + """ + + if user_id is None: + raise ValueError("user_id cannot be None") + + result = await self._client.confidential_ledger.get_user(user_id=user_id, **kwargs) + return LedgerUser( + user_id=result.user_id, role=LedgerUserRole(result.assigned_role) + ) + + @distributed_trace_async + async def wait_until_durable( + self, + transaction_id, # type: str + *, + interval=0.5, # type: float + max_queries=3, # type: int + **kwargs # type: Any + ): + # type: (...) -> None + """Queries the status of the specified transaction until it is Committed, indicating that + the transaction is durably stored in the Confidential Ledger. If this state is not reached + by `max_queries`, a TimeoutError is raised. + + :param transaction_id: Identifies the transaction to wait for. + :type transaction_id: str + :param interval: Time, in seconds, to wait between queries. + :type interval: float + :param max_queries: The maximum amount of queries to make before raising an exception. + :type max_queries: int + :return: None. + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + + for attempt_num in range(max_queries): + transaction_status = await self.get_transaction_status( + transaction_id=transaction_id, **kwargs + ) + if transaction_status.state is TransactionState.COMMITTED: + return + + if attempt_num < max_queries - 1: + await asyncio.sleep(interval) + + raise TimeoutError( + "Transaction {} is not {} yet".format( + transaction_id, TransactionState.COMMITTED + ) + ) diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/aio/_client_base.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/aio/_client_base.py new file mode 100644 index 000000000000..87e5ebebf3b8 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/aio/_client_base.py @@ -0,0 +1,131 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ + +from typing import Any, TYPE_CHECKING, Union + +from azure.core.pipeline.policies import ( + AsyncBearerTokenCredentialPolicy, + HttpLoggingPolicy, +) +from azure.core.pipeline.transport import AioHttpTransport + +from .._generated._generated_ledger.v0_1_preview.aio import ( + ConfidentialLedgerClient as _ConfidentialLedgerClient, +) +from .._shared import ConfidentialLedgerCertificateCredential, DEFAULT_VERSION + +if TYPE_CHECKING: + from azure.core.credentials import TokenCredential + + +class AsyncConfidentialLedgerClientBase(object): + def __init__( + self, + *, + endpoint: str, + credential: Union[ConfidentialLedgerCertificateCredential, "TokenCredential"], + ledger_certificate_path: str, + **kwargs: Any + ) -> None: + + client = kwargs.get("generated_client") + if client: + # caller provided a configured client -> nothing left to initialize + self._client = client + return + + if not endpoint: + raise ValueError("Expected endpoint to be a non-empty string") + + if not credential: + raise ValueError("Expected credential to not be None") + + if not isinstance(ledger_certificate_path, str): + raise TypeError("ledger_certificate_path must be a string") + + if ledger_certificate_path == "": + raise ValueError( + "If not None, ledger_certificate_path must be a non-empty string" + ) + + endpoint = endpoint.strip(" /") + try: + if not endpoint.startswith("https://"): + self._endpoint = "https://" + endpoint + else: + self._endpoint = endpoint + except AttributeError: + raise ValueError("Confidential Ledger URL must be a string.") + + self.api_version = kwargs.pop("api_version", DEFAULT_VERSION) + + pipeline = kwargs.pop("pipeline", None) + transport = kwargs.pop("transport", None) + if transport is None: + # Customize the transport layer to use client certificate authentication and validate + # a self-signed TLS certificate. + if isinstance(credential, ConfidentialLedgerCertificateCredential): + # The async version of the client seems to expect a sequence of filenames. + # azure/core/pipeline/transport/_aiohttp.py:163 + # > ssl_ctx.load_cert_chain(*cert) + kwargs["connection_cert"] = (credential.certificate_path,) + + kwargs["connection_verify"] = ledger_certificate_path + transport = AioHttpTransport(**kwargs) + + http_logging_policy = HttpLoggingPolicy(**kwargs) + http_logging_policy.allowed_header_names.update( + { + "x-ms-keyvault-network-info", + "x-ms-keyvault-region", + "x-ms-keyvault-service-version", + } + ) + + if not isinstance(credential, ConfidentialLedgerCertificateCredential): + kwargs["authentication_policy"] = kwargs.pop( + "authentication_policy", + AsyncBearerTokenCredentialPolicy( + credential, + "https://confidential-ledger.azure.com/.default", + **kwargs + ), + ) + + try: + self._client = _ConfidentialLedgerClient( + self._endpoint, + api_version=self.api_version, + pipeline=pipeline, + transport=transport, + http_logging_policy=http_logging_policy, + **kwargs + ) + except NotImplementedError: + raise NotImplementedError( + "This package doesn't support API version '{}'. ".format( + self.api_version + ) + + "Supported versions: 0.1-preview" + ) + + @property + def endpoint(self) -> str: + """The URL this client is connected to.""" + return self._endpoint + + async def __aenter__(self) -> "AsyncConfidentialLedgerClientBase": + await self._client.__aenter__() + return self + + async def __aexit__(self, *args: Any) -> None: + await self._client.__aexit__(*args) + + async def close(self) -> None: + """Close sockets opened by the client. + + Calling this method is unnecessary when using the client as a context manager. + """ + await self._client.close() diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/identity_service/__init__.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/identity_service/__init__.py new file mode 100644 index 000000000000..b81a12158ac5 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/identity_service/__init__.py @@ -0,0 +1,15 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +# pylint: disable=unused-import + + +from ._client import ConfidentialLedgerIdentityServiceClient +from ._models import LedgerIdentity + +__all__ = [ + "ConfidentialLedgerIdentityServiceClient", + # Models + "LedgerIdentity", +] diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/identity_service/_client.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/identity_service/_client.py new file mode 100644 index 000000000000..c13eae0fc172 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/identity_service/_client.py @@ -0,0 +1,109 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ + +from azure.core.pipeline.policies import HttpLoggingPolicy +from azure.core.pipeline.transport import RequestsTransport +from azure.core.tracing.decorator import distributed_trace + +from ._models import LedgerIdentity + +from .._generated._generated_identity.v0_1_preview import ( + ConfidentialLedgerIdentityServiceClient as _ConfidentialLedgerIdentityServiceClient, +) +from .._shared import DEFAULT_VERSION + +try: + from typing import TYPE_CHECKING +except ImportError: + TYPE_CHECKING = False + +if TYPE_CHECKING: + # pylint:disable=unused-import + from typing import Any + + +class ConfidentialLedgerIdentityServiceClient(object): + """Client for communicating with the Confidential Ledger Identity Service, + which is used for retrieving identity information about a particular Confidential + Ledger instance. + + :param identity_service_url: Base URL for the Identity Service. + :type identity_service_url: str + :param credential: Credential for connecting to the service. May be None, because no credential + is currently required. + :type credential: ~azure.core.credentials.TokenCredential + """ + + def __init__(self, identity_service_url, **kwargs): # pylint: disable=missing-client-constructor-parameter-credential + # type: (str, Any) -> None + client = kwargs.get("generated_client") + if client: + # caller provided a configured client -> nothing left to initialize + self._client = client + return + + try: + identity_service_url = identity_service_url.strip(" /") + if not identity_service_url.lower().startswith("https://"): + self._identity_service_url = "https://" + identity_service_url + else: + self._identity_service_url = identity_service_url + except AttributeError: + raise ValueError("Identity Service URL must be a string.") + + self.api_version = kwargs.pop("api_version", DEFAULT_VERSION) + + pipeline = kwargs.pop("pipeline", None) + transport = kwargs.pop("transport", RequestsTransport(**kwargs)) + http_logging_policy = HttpLoggingPolicy(**kwargs) + http_logging_policy.allowed_header_names.update( + { + "x-ms-keyvault-network-info", + "x-ms-keyvault-region", + "x-ms-keyvault-service-version", + } + ) + + authentication_policy = None + + self._client = _ConfidentialLedgerIdentityServiceClient( + self._identity_service_url, + api_version=self.api_version, + pipeline=pipeline, + transport=transport, + authentication_policy=authentication_policy, + http_logging_policy=http_logging_policy, + **kwargs + ) + + @property + def identity_service_url(self): + # type: () -> str + """The URL this client is connected to.""" + return self._identity_service_url + + @distributed_trace + def get_ledger_identity(self, ledger_id, **kwargs): + # type: (str, Any) -> LedgerIdentity + """Gets the network information for a Confidential Ledger instance. + + :param ledger_id: Id for the Confidential Ledger instance to get information for. + :type ledger_id: str + :return: The ledger identity. + :rtype: ~azure.confidentialledger.LedgerIdentity + :raises: ~azure.core.exceptions.HttpResponseError + """ + + if not ledger_id: + raise ValueError("ledger_id must be a non-empty string") + + result = self._client.confidential_ledger_identity_service.get_ledger_identity( + ledger_id=ledger_id, + **kwargs + ) + return LedgerIdentity( + ledger_id=result.ledger_id, + ledger_tls_certificate=result.ledger_tls_certificate, + ) diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/identity_service/_models.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/identity_service/_models.py new file mode 100644 index 000000000000..9a8f0e03daa2 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/identity_service/_models.py @@ -0,0 +1,40 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ + + +try: + from typing import TYPE_CHECKING +except ImportError: + TYPE_CHECKING = False + +if TYPE_CHECKING: + # pylint:disable=unused-import + pass + + +class LedgerIdentity(object): + """Contains identification information about a Confidential Ledger. + + :param ledger_id: The id of the Confidential Ledger this object identifies. + :type ledger_id: str + :param ledger_tls_certificate: PEM-encoded certificate used for TLS by the Confidential Ledger. + :type ledger_tls_certificate: str + """ + + def __init__(self, ledger_id, ledger_tls_certificate): + self._ledger_id = ledger_id + self._ledger_tls_certificate = ledger_tls_certificate.strip("\n\u0000") + + @property + def ledger_id(self): + # type: () -> str + """ "The id for this Confidential Ledger.""" + return self._ledger_id + + @property + def ledger_tls_certificate(self): + # type: () -> str + """The certificate used for TLS by this network.""" + return self._ledger_tls_certificate diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/identity_service/aio/__init__.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/identity_service/aio/__init__.py new file mode 100644 index 000000000000..d8afd6745f15 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/identity_service/aio/__init__.py @@ -0,0 +1,12 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +# pylint: disable=unused-import + + +from ._client import ConfidentialLedgerIdentityServiceClient + +__all__ = [ + "ConfidentialLedgerIdentityServiceClient", +] diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/identity_service/aio/_client.py b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/identity_service/aio/_client.py new file mode 100644 index 000000000000..6a9edc928496 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/identity_service/aio/_client.py @@ -0,0 +1,124 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ + +from typing import Any + +from azure.core.pipeline.policies import HttpLoggingPolicy +from azure.core.pipeline.transport import AsyncioRequestsTransport +from azure.core.tracing.decorator_async import distributed_trace_async + +from .. import LedgerIdentity +from ..._generated._generated_identity.v0_1_preview.aio import ( + ConfidentialLedgerIdentityServiceClient as _ConfidentialLedgerIdentityServiceClient, +) +from ..._shared import DEFAULT_VERSION + +try: + from typing import TYPE_CHECKING +except ImportError: + TYPE_CHECKING = False + +if TYPE_CHECKING: + # pylint:disable=unused-import + pass + + +class ConfidentialLedgerIdentityServiceClient(object): + """Client for communicating with the Confidential Ledger Identity Service, + which is used for retrieving identity information about a particular Confidential + Ledger instance. + + :param identity_service_url: Base URL for the Identity Service. + :type identity_service_url: str + :param credential: Credential for connecting to the service. May be None, because no credential + is currently required. + :type credential: ~azure.core.credentials.TokenCredential + """ + + def __init__(self, identity_service_url: str, **kwargs: Any) -> None: # pylint: disable=missing-client-constructor-parameter-credential + client = kwargs.get("generated_client") + if client: + # caller provided a configured client -> nothing left to initialize + self._client = client + return + + try: + identity_service_url = identity_service_url.strip(" /") + if not identity_service_url.lower().startswith("https://"): + self._identity_service_url = "https://" + identity_service_url + else: + self._identity_service_url = identity_service_url + except AttributeError: + raise ValueError("Identity Service URL must be a string.") + + self.api_version = kwargs.pop("api_version", DEFAULT_VERSION) + + pipeline = kwargs.pop("pipeline", None) + transport = kwargs.pop("transport", AsyncioRequestsTransport(**kwargs)) + http_logging_policy = HttpLoggingPolicy(**kwargs) + http_logging_policy.allowed_header_names.update( + { + "x-ms-keyvault-network-info", + "x-ms-keyvault-region", + "x-ms-keyvault-service-version", + } + ) + + authentication_policy = None + + self._client = _ConfidentialLedgerIdentityServiceClient( + self._identity_service_url, + api_version=self.api_version, + pipeline=pipeline, + transport=transport, + authentication_policy=authentication_policy, + http_logging_policy=http_logging_policy, + **kwargs + ) + + @property + def identity_service_url(self): + # type: () -> str + """The URL this client is connected to.""" + return self._identity_service_url + + async def __aenter__(self) -> "ConfidentialLedgerIdentityServiceClient": + await self._client.__aenter__() + return self + + async def __aexit__(self, *args: Any) -> None: + await self._client.__aexit__(*args) + + async def close(self) -> None: + """Close sockets opened by the client. + + Calling this method is unnecessary when using the client as a context manager. + """ + await self._client.close() + + @distributed_trace_async + async def get_ledger_identity( + self, ledger_id: str, **kwargs: Any + ) -> LedgerIdentity: + """Gets the network information for a Confidential Ledger instance. + + :param ledger_id: Id for the Confidential Ledger instance to get information for. + :type ledger_id: str + :return: The ledger identity. + :rtype: ~azure.confidentialledger.LedgerIdentity + :raises: ~azure.core.exceptions.HttpResponseError + """ + + if not ledger_id: + raise ValueError("ledger_id must be a non-empty string") + + result = await self._client.confidential_ledger_identity_service.get_ledger_identity( + ledger_id=ledger_id, + **kwargs + ) + return LedgerIdentity( + ledger_id=result.ledger_id, + ledger_tls_certificate=result.ledger_tls_certificate, + ) diff --git a/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/py.typed b/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/py.typed new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/sdk/confidentialledger/azure-confidentialledger/dev_requirements.txt b/sdk/confidentialledger/azure-confidentialledger/dev_requirements.txt new file mode 100644 index 000000000000..30f891539e8f --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/dev_requirements.txt @@ -0,0 +1,3 @@ +-e ../../../tools/azure-sdk-tools +../../core/azure-core +-e ../../../tools/azure-devtools \ No newline at end of file diff --git a/sdk/confidentialledger/azure-confidentialledger/sdk_packaging.toml b/sdk/confidentialledger/azure-confidentialledger/sdk_packaging.toml new file mode 100644 index 000000000000..04b9b55da3e4 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/sdk_packaging.toml @@ -0,0 +1,8 @@ +[packaging] +package_name = "azure-confidentialledger" +package_pprint_name = "Azure Confidential Ledger" +package_doc_id = "" +is_stable = false +is_arm = false +need_msrestazure = false +auto_update = false \ No newline at end of file diff --git a/sdk/confidentialledger/azure-confidentialledger/setup.cfg b/sdk/confidentialledger/azure-confidentialledger/setup.cfg new file mode 100644 index 000000000000..3c6e79cf31da --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/setup.cfg @@ -0,0 +1,2 @@ +[bdist_wheel] +universal=1 diff --git a/sdk/confidentialledger/azure-confidentialledger/setup.py b/sdk/confidentialledger/azure-confidentialledger/setup.py new file mode 100644 index 000000000000..a87d83c9b279 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/setup.py @@ -0,0 +1,84 @@ +#!/usr/bin/env python + +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +# pylint:disable=missing-docstring + +from io import open +import os +import re +from setuptools import setup, find_packages + +# example setup.py Feel free to copy the entire "azure-template" folder into a package folder named +# with "azure-". Ensure that the below arguments to setup() are updated to reflect +# your package. + +# this setup.py is set up in a specific way to keep the azure* and azure-mgmt-* namespaces WORKING +# all the way up from python 2.7. +# Reference here: https://github.com/Azure/azure-sdk-for-python/wiki/Azure-packaging + +PACKAGE_NAME = "azure-confidentialledger" +PACKAGE_PPRINT_NAME = "Confidential Ledger" + +# a-b-c => a/b/c +PACKAGE_FOLDER_PATH = PACKAGE_NAME.replace("-", "/") +# a-b-c => a.b.c +NAMESPACE_NAME = PACKAGE_NAME.replace("-", ".") + +# Version extraction inspired from 'requests' +with open(os.path.join(PACKAGE_FOLDER_PATH, "_version.py"), "r") as fd: + VERSION = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) + +if not VERSION: + raise RuntimeError("Cannot find version information") + +with open("README.md", encoding="utf-8") as f: + README = f.read() +with open("CHANGELOG.md", encoding="utf-8") as f: + CHANGELOG = f.read() + +setup( + name=PACKAGE_NAME, + version=VERSION, + include_package_data=True, + description="Microsoft Azure {} Client Library for Python".format(PACKAGE_PPRINT_NAME), + + # ensure that these are updated to reflect the package owners' information + long_description=README + "\n\n" + CHANGELOG, + long_description_content_type="text/markdown", + license="MIT License", + author="Microsoft Corporation", + author_email="accledgerdevs@microsoft.com", + url="https://github.com/Azure/azure-sdk-for-python", + classifiers=[ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 2", + "Programming Language :: Python :: 2.7", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "License :: OSI Approved :: MIT License", + ], + zip_safe=False, + packages=find_packages(exclude=[ + "tests", + # Exclude packages that will be covered by PEP420 or nspkg + "azure" + ]), + install_requires=[ + "azure-common~=1.1", + "azure-core<2.0.0,>=1.2.2", + "msrest>=0.5.0", + ], + extras_require={ + ":python_version<'3.0'": ["azure-nspkg"], + ":python_version<'3.4'": ["enum34>=1.0.4"], + ":python_version<'3.5'": ["typing"], + ":python_version>='3.5'": ["aiohttp>=3.0"], + } +) diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/_shared/__init__.py b/sdk/confidentialledger/azure-confidentialledger/tests/_shared/__init__.py new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/_shared/client_test_common.py b/sdk/confidentialledger/azure-confidentialledger/tests/_shared/client_test_common.py new file mode 100644 index 000000000000..bede3f24bfa3 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/_shared/client_test_common.py @@ -0,0 +1,243 @@ +import hashlib +import os +import tempfile + +from azure.confidentialledger import ( + LedgerUserRole, + TransactionState, +) + +from .constants import NETWORK_CERTIFICATE, USER_CERTIFICATE +from .testcase import ConfidentialLedgerTestCase + +CONFIDENTIAL_LEDGER_URL = "https://fake-confidential-ledger.azure.com" + + +class ConfidentialLedgerClientTestMixin: + class BaseTest(ConfidentialLedgerTestCase): + def setUp(self): + super(ConfidentialLedgerClientTestMixin.BaseTest, self).setUp() + + self.confidential_ledger_url = self.set_value_to_scrub( + "CONFIDENTIAL_LEDGER_URL", CONFIDENTIAL_LEDGER_URL + ) + + with tempfile.NamedTemporaryFile( + "w", suffix=".pem", delete=False + ) as tls_cert_file: + tls_cert_file.write(NETWORK_CERTIFICATE) + self.network_certificate_path = tls_cert_file.name + + with tempfile.NamedTemporaryFile( + "w", suffix=".pem", delete=False + ) as user_cert_file: + user_cert_file.write( + self.set_value_to_scrub( + "CONFIDENTIAL_LEDGER_USER_CERTIFICATE", USER_CERTIFICATE + ) + ) + self.user_certificate_path = user_cert_file.name + + def tearDown(self): + os.remove(self.user_certificate_path) + os.remove(self.network_certificate_path) + return super(ConfidentialLedgerClientTestMixin.BaseTest, self).tearDown() + + def test_append_entry_flow(self): + entry_contents = "Test entry from Python SDK" + append_result = self.client.append_to_ledger(entry_contents=entry_contents) + self.assertTrue(append_result.transaction_id) + self.assertTrue(append_result.sub_ledger_id) + + # Test unpacking + append_result_sub_ledger_id, append_result_transaction_id = append_result + + self.client.wait_until_durable(transaction_id=append_result_transaction_id) + + transaction_status = self.client.get_transaction_status( + transaction_id=append_result_transaction_id + ) + self.assertIsNotNone(transaction_status) + self.assertIs(transaction_status.state, TransactionState.COMMITTED) + self.assertEqual( + transaction_status.transaction_id, append_result_transaction_id + ) + + receipt = self.client.get_transaction_receipt( + transaction_id=append_result_transaction_id + ) + self.assertEqual(receipt.transaction_id, append_result_transaction_id) + self.assertTrue(receipt.contents) + + latest_entry = self.client.get_ledger_entry() + # The transaction ids may not be equal in the unfortunate edge case where a governance + # operation occurs after the ledger append (e.g. because a node was restarted). Then, + # the latest id will be higher. + self.assertGreaterEqual( + latest_entry.transaction_id, append_result_transaction_id + ) + self.assertEqual(latest_entry.contents, entry_contents) + self.assertEqual(latest_entry.sub_ledger_id, append_result_sub_ledger_id) + + self.client.append_to_ledger( + "Test entry 2 from Python SDK", wait_for_commit=True + ) + + latest_entry = self.client.get_ledger_entry() + self.assertNotEqual( + latest_entry.transaction_id, append_result_transaction_id + ) + self.assertNotEqual(latest_entry.contents, entry_contents) + self.assertEqual(latest_entry.sub_ledger_id, append_result_sub_ledger_id) + + original_entry = self.client.get_ledger_entry( + transaction_id=append_result_transaction_id + ) + self.assertEqual( + original_entry.transaction_id, append_result_transaction_id + ) + self.assertEqual(original_entry.contents, entry_contents) + self.assertEqual(original_entry.sub_ledger_id, append_result_sub_ledger_id) + + def test_append_entry_flow_with_sub_ledger_id(self): + sub_ledger_id = "132" + entry_contents = "Test sub-ledger entry from Python SDK" + append_result = self.client.append_to_ledger( + entry_contents=entry_contents, sub_ledger_id=sub_ledger_id + ) + self.assertTrue(append_result.transaction_id) + self.assertEqual(append_result.sub_ledger_id, sub_ledger_id) + + # Test unpacking + append_result_sub_ledger_id, append_result_transaction_id = append_result + + self.client.wait_until_durable(transaction_id=append_result_transaction_id) + + transaction_status = self.client.get_transaction_status( + transaction_id=append_result_transaction_id + ) + self.assertIsNotNone(transaction_status) + self.assertIs(transaction_status.state, TransactionState.COMMITTED) + self.assertEqual( + transaction_status.transaction_id, append_result_transaction_id + ) + + receipt = self.client.get_transaction_receipt( + transaction_id=append_result_transaction_id + ) + self.assertEqual(receipt.transaction_id, append_result_transaction_id) + self.assertTrue(receipt.contents) + + latest_entry = self.client.get_ledger_entry(sub_ledger_id=sub_ledger_id) + # The transaction ids may not be equal in the unfortunate edge case where a governance + # operation occurs after the ledger append (e.g. because a node was restarted). Then, + # the latest id will be higher. + self.assertGreaterEqual( + latest_entry.transaction_id, append_result_transaction_id + ) + self.assertEqual(latest_entry.contents, entry_contents) + self.assertEqual(latest_entry.sub_ledger_id, append_result_sub_ledger_id) + + self.client.append_to_ledger( + "Test sub-ledger entry 2 from Python SDK", + sub_ledger_id=sub_ledger_id, + wait_for_commit=True, + ) + + latest_entry = self.client.get_ledger_entry(sub_ledger_id=sub_ledger_id) + self.assertNotEqual( + latest_entry.transaction_id, append_result_transaction_id + ) + self.assertNotEqual(latest_entry.contents, entry_contents) + self.assertEqual(latest_entry.sub_ledger_id, sub_ledger_id) + + original_entry = self.client.get_ledger_entry( + transaction_id=append_result_transaction_id, sub_ledger_id=sub_ledger_id + ) + self.assertEqual( + original_entry.transaction_id, append_result_transaction_id + ) + self.assertEqual(original_entry.contents, entry_contents) + self.assertEqual(original_entry.sub_ledger_id, append_result_sub_ledger_id) + + def test_range_query(self): + modulus = 5 + num_messages_sent = 201 # Should result in 2 pages. + + messages = {m: [] for m in range(modulus)} + for i in range(num_messages_sent): + message = "message-{0}".format(i) + kwargs = ( + {} if modulus == 0 else {"sub_ledger_id": "{0}".format(i % modulus)} + ) + append_result = self.client.append_to_ledger( + entry_contents=message, **kwargs + ) + + messages[i % modulus].append( + (append_result.transaction_id, message, kwargs) + ) + + num_matched = 0 + for i in range(modulus): + query_result = self.client.get_ledger_entries( + from_transaction_id=messages[i][0][0], **messages[i][0][2] + ) + for index, historical_entry in enumerate(query_result): + self.assertEqual( + historical_entry.transaction_id, messages[i][index][0] + ) + self.assertEqual(historical_entry.contents, messages[i][index][1]) + num_matched += 1 + + # Due to replication delay, it's possible not all messages are matched. + self.assertGreaterEqual(num_matched, 0.9 * num_messages_sent) + + def test_user_management(self): + user_id = "0" * 36 # AAD Object Ids have length 36 + user = self.client.create_or_update_user( + user_id, LedgerUserRole.CONTRIBUTOR + ) + self.assertEqual(user.id, user_id) + self.assertEqual(user.role, LedgerUserRole.CONTRIBUTOR) + + user = self.client.get_user(user_id) + self.assertEqual(user.id, user_id) + self.assertEqual(user.role, LedgerUserRole.CONTRIBUTOR) + + self.client.delete_user(user_id) + + user = self.client.create_or_update_user(user_id, LedgerUserRole.READER) + self.assertEqual(user.id, user_id) + self.assertEqual(user.role, LedgerUserRole.READER) + + user = self.client.get_user(user_id) + self.assertEqual(user.id, user_id) + self.assertEqual(user.role, LedgerUserRole.READER) + + self.client.delete_user(user_id) + + def test_verification_methods(self): + consortium = self.client.get_consortium() + self.assertEqual(len(consortium.members), 1) + for member in consortium.members: + self.assertTrue(member.certificate) + self.assertTrue(member.id) + + constitution = self.client.get_constitution() + self.assertTrue(constitution.contents) + self.assertTrue(constitution.digest) + self.assertEqual( + constitution.digest.lower(), + hashlib.sha256(constitution.contents.encode()).hexdigest().lower(), + ) + + ledger_enclaves = self.client.get_enclave_quotes() + self.assertEqual(len(ledger_enclaves.quotes), 3) + self.assertIn(ledger_enclaves.source_node, ledger_enclaves.quotes) + for node_id, quote in ledger_enclaves.quotes.items(): + self.assertEqual(node_id, quote.node_id) + self.assertTrue(quote.node_id) + self.assertTrue(quote.mrenclave) + self.assertTrue(quote.raw_quote) + self.assertTrue(quote.version) diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/_shared/client_test_common_async.py b/sdk/confidentialledger/azure-confidentialledger/tests/_shared/client_test_common_async.py new file mode 100644 index 000000000000..55f83cba4259 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/_shared/client_test_common_async.py @@ -0,0 +1,272 @@ +import asyncio +import hashlib +import os +import tempfile +import time + +from devtools_testutils import AzureTestCase + +from azure.confidentialledger import ( + LedgerUserRole, + TransactionState, +) + +from .constants import NETWORK_CERTIFICATE, USER_CERTIFICATE +from .testcase_async import AsyncConfidentialLedgerTestCase + +CONFIDENTIAL_LEDGER_URL = "https://fake-confidential-ledger.azure.com" + + +class AsyncConfidentialLedgerClientTestMixin: + class AsyncBaseTest(AsyncConfidentialLedgerTestCase): + def setUp(self): + super().setUp() + + self.confidential_ledger_url = self.set_value_to_scrub( + "CONFIDENTIAL_LEDGER_URL", CONFIDENTIAL_LEDGER_URL + ) + + with tempfile.NamedTemporaryFile( + "w", suffix=".pem", delete=False + ) as tls_cert_file: + tls_cert_file.write(NETWORK_CERTIFICATE) + self.network_certificate_path = tls_cert_file.name + + with tempfile.NamedTemporaryFile( + "w", suffix=".pem", delete=False + ) as user_cert_file: + user_cert_file.write( + self.set_value_to_scrub( + "CONFIDENTIAL_LEDGER_USER_CERTIFICATE", USER_CERTIFICATE + ) + ) + self.user_certificate_path = user_cert_file.name + + def tearDown(self): + os.remove(self.user_certificate_path) + os.remove(self.network_certificate_path) + + # Since tearDown cannot be async + task = asyncio.ensure_future(self.client.close()) + while not task.done: + time.sleep(0.5) + + return super().tearDown() + + @AzureTestCase.await_prepared_test + async def test_append_entry_flow(self): + entry_contents = "Test entry from Python SDK" + append_result = await self.client.append_to_ledger( + entry_contents=entry_contents + ) + self.assertTrue(append_result.transaction_id) + self.assertTrue(append_result.sub_ledger_id) + + # Test unpacking + append_result_sub_ledger_id, append_result_transaction_id = append_result + + await self.client.wait_until_durable( + transaction_id=append_result_transaction_id + ) + + transaction_status = await self.client.get_transaction_status( + transaction_id=append_result_transaction_id + ) + self.assertIsNotNone(transaction_status) + self.assertIs(transaction_status.state, TransactionState.COMMITTED) + self.assertEqual( + transaction_status.transaction_id, append_result_transaction_id + ) + + receipt = await self.client.get_transaction_receipt( + transaction_id=append_result_transaction_id + ) + self.assertEqual(receipt.transaction_id, append_result_transaction_id) + self.assertTrue(receipt.contents) + + latest_entry = await self.client.get_ledger_entry() + # The transaction ids may not be equal in the unfortunate edge case where a governance + # operation occurs after the ledger append (e.g. because a node was restarted). Then, + # the latest id will be higher. + self.assertGreaterEqual( + latest_entry.transaction_id, append_result_transaction_id + ) + self.assertEqual(latest_entry.contents, entry_contents) + self.assertEqual(latest_entry.sub_ledger_id, append_result_sub_ledger_id) + + await self.client.append_to_ledger( + "Test entry 2 from Python SDK", wait_for_commit=True + ) + + latest_entry = await self.client.get_ledger_entry() + self.assertNotEqual( + latest_entry.transaction_id, append_result_transaction_id + ) + self.assertNotEqual(latest_entry.contents, entry_contents) + self.assertEqual(latest_entry.sub_ledger_id, append_result_sub_ledger_id) + + original_entry = await self.client.get_ledger_entry( + transaction_id=append_result_transaction_id + ) + self.assertEqual( + original_entry.transaction_id, append_result_transaction_id + ) + self.assertEqual(original_entry.contents, entry_contents) + self.assertEqual(original_entry.sub_ledger_id, append_result_sub_ledger_id) + + @AzureTestCase.await_prepared_test + async def test_append_entry_flow_with_sub_ledger_id(self): + sub_ledger_id = "132" + entry_contents = "Test sub-ledger entry from Python SDK" + append_result = await self.client.append_to_ledger( + entry_contents=entry_contents, sub_ledger_id=sub_ledger_id + ) + self.assertTrue(append_result.transaction_id) + self.assertEqual(append_result.sub_ledger_id, sub_ledger_id) + + # Test unpacking + append_result_sub_ledger_id, append_result_transaction_id = append_result + + await self.client.wait_until_durable( + transaction_id=append_result_transaction_id + ) + + transaction_status = await self.client.get_transaction_status( + transaction_id=append_result_transaction_id + ) + self.assertIsNotNone(transaction_status) + self.assertIs(transaction_status.state, TransactionState.COMMITTED) + self.assertEqual( + transaction_status.transaction_id, append_result_transaction_id + ) + + receipt = await self.client.get_transaction_receipt( + transaction_id=append_result_transaction_id + ) + self.assertEqual(receipt.transaction_id, append_result_transaction_id) + self.assertTrue(receipt.contents) + + latest_entry = await self.client.get_ledger_entry( + sub_ledger_id=sub_ledger_id + ) + # The transaction ids may not be equal in the unfortunate edge case where a governance + # operation occurs after the ledger append (e.g. because a node was restarted). Then, + # the latest id will be higher. + self.assertGreaterEqual( + latest_entry.transaction_id, append_result_transaction_id + ) + self.assertEqual(latest_entry.contents, entry_contents) + self.assertEqual(latest_entry.sub_ledger_id, append_result_sub_ledger_id) + + await self.client.append_to_ledger( + "Test sub-ledger entry 2 from Python SDK", + sub_ledger_id=sub_ledger_id, + wait_for_commit=True, + ) + + latest_entry = await self.client.get_ledger_entry( + sub_ledger_id=sub_ledger_id + ) + self.assertNotEqual( + latest_entry.transaction_id, append_result_transaction_id + ) + self.assertNotEqual(latest_entry.contents, entry_contents) + self.assertEqual(latest_entry.sub_ledger_id, sub_ledger_id) + + original_entry = await self.client.get_ledger_entry( + transaction_id=append_result_transaction_id, sub_ledger_id=sub_ledger_id + ) + self.assertEqual( + original_entry.transaction_id, append_result_transaction_id + ) + self.assertEqual(original_entry.contents, entry_contents) + self.assertEqual(original_entry.sub_ledger_id, append_result_sub_ledger_id) + + @AzureTestCase.await_prepared_test + async def test_range_query(self): + modulus = 5 + num_messages_sent = 201 # Should result in 2 pages. + + messages = {m: [] for m in range(modulus)} + for i in range(num_messages_sent): + message = "message-{0}".format(i) + kwargs = ( + {} if modulus == 0 else {"sub_ledger_id": "{0}".format(i % modulus)} + ) + append_result = await self.client.append_to_ledger( + entry_contents=message, **kwargs + ) + + messages[i % modulus].append( + (append_result.transaction_id, message, kwargs) + ) + + num_matched = 0 + for i in range(modulus): + query_result = self.client.get_ledger_entries( + from_transaction_id=messages[i][0][0], **messages[i][0][2] + ) + index = 0 + async for historical_entry in query_result: + self.assertEqual( + historical_entry.transaction_id, messages[i][index][0] + ) + self.assertEqual(historical_entry.contents, messages[i][index][1]) + index += 1 + num_matched += 1 + + # Due to replication delay, it's possible not all messages are matched. + self.assertGreaterEqual(num_matched, 0.9 * num_messages_sent) + + @AzureTestCase.await_prepared_test + async def test_user_management(self): + user_id = "0" * 36 # AAD Object Ids have length 36 + user = await self.client.create_or_update_user( + user_id, LedgerUserRole.CONTRIBUTOR + ) + self.assertEqual(user.id, user_id) + self.assertEqual(user.role, LedgerUserRole.CONTRIBUTOR) + + user = await self.client.get_user(user_id) + self.assertEqual(user.id, user_id) + self.assertEqual(user.role, LedgerUserRole.CONTRIBUTOR) + + await self.client.delete_user(user_id) + + user = await self.client.create_or_update_user( + user_id, LedgerUserRole.READER + ) + self.assertEqual(user.id, user_id) + self.assertEqual(user.role, LedgerUserRole.READER) + + user = await self.client.get_user(user_id) + self.assertEqual(user.id, user_id) + self.assertEqual(user.role, LedgerUserRole.READER) + + await self.client.delete_user(user_id) + + @AzureTestCase.await_prepared_test + async def test_verification_methods(self): + consortium = await self.client.get_consortium() + self.assertEqual(len(consortium.members), 1) + for member in consortium.members: + self.assertTrue(member.certificate) + self.assertTrue(member.id) + + constitution = await self.client.get_constitution() + self.assertTrue(constitution.contents) + self.assertTrue(constitution.digest) + self.assertEqual( + constitution.digest.lower(), + hashlib.sha256(constitution.contents.encode()).hexdigest().lower(), + ) + + ledger_enclaves = await self.client.get_enclave_quotes() + self.assertEqual(len(ledger_enclaves.quotes), 3) + self.assertIn(ledger_enclaves.source_node, ledger_enclaves.quotes) + for node_id, quote in ledger_enclaves.quotes.items(): + self.assertEqual(node_id, quote.node_id) + self.assertTrue(quote.node_id) + self.assertTrue(quote.mrenclave) + self.assertTrue(quote.raw_quote) + self.assertTrue(quote.version) diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/_shared/constants.py b/sdk/confidentialledger/azure-confidentialledger/tests/_shared/constants.py new file mode 100644 index 000000000000..35a1c525b82e --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/_shared/constants.py @@ -0,0 +1,69 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ + +NETWORK_CERTIFICATE = """-----BEGIN CERTIFICATE----- +MIIBtjCCAT2gAwIBAgIQSw8HaSIBHIBNCOoDjlSdTTAKBggqhkjOPQQDAzAWMRQw +EgYDVQQDDAtDQ0YgTmV0d29yazAeFw0yMTAzMTEwMDAwMDBaFw0yMzA2MTEyMzU5 +NTlaMBYxFDASBgNVBAMMC0NDRiBOZXR3b3JrMHYwEAYHKoZIzj0CAQYFK4EEACID +YgAE+v02BHft1bJws8lZx8EANt/r2EgvdY+t4WoNJideAUyL1q5fzvkyq+KzGFKB +tO4ZTQswmKc6851hDSFU90TFxj+Z+8blpdTd4Kyrgm1QJeC62yeiwDDV3wuxLQdp +qdumo1AwTjAMBgNVHRMEBTADAQH/MB0GA1UdDgQWBBSqyU4AMIPtiTcr0sNylZeG +MxLOBTAfBgNVHSMEGDAWgBSqyU4AMIPtiTcr0sNylZeGMxLOBTAKBggqhkjOPQQD +AwNnADBkAjAvOKkxJ1ApNgnUz2AwT6ke/5zITbKleCYhsA31ydmtxKzHknFvjezV +71M2EfnbKkUCMAsuRjhh4B5hmu6YOyM1ZSAF6eVxkpVTM0zSD1M/t9e+I/3Ym3tG +G/fqaA8AvrxFiQ== +-----END CERTIFICATE-----""" + +# Duplicate certificate from KeyVault. +# https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/keyvault/azure-keyvault-certificates/tests/ca.crt +# https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/keyvault/azure-keyvault-certificates/tests/ca.key +USER_CERTIFICATE = """-----BEGIN CERTIFICATE----- +MIIDazCCAlOgAwIBAgIUYju9zymmCCF7rCaROzfZs0pNgmkwDQYJKoZIhvcNAQEL +BQAwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoM +GEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDAeFw0xOTA4MjgyMjU0MTNaFw0xOTA5 +MjcyMjU0MTNaMEUxCzAJBgNVBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEw +HwYDVQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQwggEiMA0GCSqGSIb3DQEB +AQUAA4IBDwAwggEKAoIBAQD0YrMz5atoPmTTxLtCO69kM3E97bdjJgyAVZJS9mP3 +HQyHkFNb09eDeAAzcZLR5nYXX7yweowTWVcIe3k9+Z/tUeVrAlOVe2COaIHAUZIh +jELq/u8257/8MqqbKXhsyrWNAVDyKndDgvbbgxNsUTbMoAe9BCL/5fzowsnPLaCI +MCYRaQJUySbIoTmKi11hF09CFFSkL9nvfQODFyEde6JHPWrVRse2lioPLJeC9LoU +GNNZnbqry+UbHp4vORPp6OQTqBTm1ZVWPzCuYuWUmEe27K7zghEJr/Yx0OLq9kI5 +H960CSOkdhsOTcBkORfhivSQnmOn2RnCPIEsUTzjwXNZAgMBAAGjUzBRMB0GA1Ud +DgQWBBQIAunu6y1BmFSDfFNfTnqFggB0gzAfBgNVHSMEGDAWgBQIAunu6y1BmFSD +fFNfTnqFggB0gzAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQAr ++RM7gbqWRXnWJwE/hV/ZI2hXAhDN4RYQ4fWMJfg/E9wcLeqqRtJhXbqpJW08IZWp +QKcWfrFcfZ3ZxVAi5Ey+iuvD2VeBf9v5RZI4c9JqswS9xG2A1x/BeGcUk1y/q9E5 +4whf5fLSJQVxK+C53yemoHPrBg8zVhLJv5SG7Uw7jcqiQvu2aHGGWPLiO7mmMPtP +qO/I+6FjXuBpNomTqM897MY3Qzg43rpoCilpOpkRtMHknfhFxt05p+Fn73Fb60ru +ZsFRA52lsEBxGmI0QmXGjwkUZFwQTXEDUWwId3VJxoHRZwv1gmHfwhkYt+mNWJDa +mU7AMDzlQRwGC8hpWJRT +-----END CERTIFICATE----- +-----BEGIN RSA PRIVATE KEY----- +MIIEpQIBAAKCAQEA9GKzM+WraD5k08S7QjuvZDNxPe23YyYMgFWSUvZj9x0Mh5BT +W9PXg3gAM3GS0eZ2F1+8sHqME1lXCHt5Pfmf7VHlawJTlXtgjmiBwFGSIYxC6v7v +Nue//DKqmyl4bMq1jQFQ8ip3Q4L224MTbFE2zKAHvQQi/+X86MLJzy2giDAmEWkC +VMkmyKE5iotdYRdPQhRUpC/Z730DgxchHXuiRz1q1UbHtpYqDyyXgvS6FBjTWZ26 +q8vlGx6eLzkT6ejkE6gU5tWVVj8wrmLllJhHtuyu84IRCa/2MdDi6vZCOR/etAkj +pHYbDk3AZDkX4Yr0kJ5jp9kZwjyBLFE848FzWQIDAQABAoIBAHrhegv5SrOy083r +mODX0/wFJcam1dRD2HtbC6UtgNxLPfaYKmH85duUJj23uMRUJkLgf6cZJ3+/J1T7 +iN4Ru0mAKWQiGlcKX2WbxMon+dtmhGtW3n90DgPIkiJMuuGxF5Kb+9CYa7mFi4ya +ntSTDYPcX6e6AcM8KGv9La4/2f0/hQKCN3jZbnQ/GqjnJdxrAV1KV0IMoNPpZmat +Sa0EZ9eiR57/xAe1OxceEt0nO7hAl+jX7tFEGvaNClKG2OMgZ+oHOxI+s9jW8DyD +wRJbd0hxUl/KXLxzyeFTBdLxB+SQtlcr4w5khyt3AvlKd4Iveqkq2FBCtfATYitt ++Ic61IUCgYEA/j4mMdo+qokzACmGJWEquC6yNoUI5aYsHTRVvX0sLpBX7MapIEwM +zHdvMEFBxw8rs7ll1xELW+dnbIZqj/ou43E3+PSgovdFGOA8kQlPpcIIutTEZQh7 +dlWzvAVZr0iO4xfXY2gFQot41fY4yRy8Q14ayo/VjQK4uKlnGqqlmwsCgYEA9hMc +FIAYpit7779tKD+O4vEkMoTkIxqSAZUuOZ5qB5UaF4Y/+MIGZUnrjJlGLnoFQmsP +CVPVMOQKV7yjg0LBadeDHEjESwHJNk0qxPSXWuXGlu01yVkqUehNumSBdnSLBmjR +jNIxPVEmW9d6+eAzIFiTkwqM9cAuLb75DL++iasCgYEAxhqzNEE0dzl0zfmNF29B +FEb+glDi/96dnRv8eywf0yCSAmNBwXLAvkmKD/WpRWxixyX9XrlfOntzMTMDsbBl +/L9pt8kVqiY2Zw3C49h3gVdR6hKD/Z3AZhKdfDJHEbfd7sHTCRgykQmQXFgBI2QK +pguboJ627atjODB3sGWrqMUCgYEA2QoJ3lsNYqM/8TpaQQGuOaSPVK+5uOyakyLN +XqzGwGFWXiFfEz2u/m+wfpZCPIQLV4WuAYAbrb+1D6WmYwPiLESVs8DKwY2Vt3tg +mc9SIC5CdqRKqIkoto264Qf82En6xXB2Q0qxe2+z8ZWhNfv1nDYEE9FeevNCx76F +VCVbHXkCgYEA4+FD1q6iwl9wsAOKFVo+W044/MhKHDsyIED3YOzeRTAWRl2w/KX0 +c5ty2KecGu0cVXoAv2YUttHsuMZfm/QdosZr9UB4CR2lmzRys3LSx6QzCkZeMb/s +QOMs6SYCPXggdXCAu9EVf5+TtYQg7aQNTTuYErlyq2g/tk3un8bHTwI= +-----END RSA PRIVATE KEY-----""" diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/_shared/testcase.py b/sdk/confidentialledger/azure-confidentialledger/tests/_shared/testcase.py new file mode 100644 index 000000000000..8d8a1db2f6bb --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/_shared/testcase.py @@ -0,0 +1,6 @@ +from devtools_testutils import AzureTestCase + + +class ConfidentialLedgerTestCase(AzureTestCase): + def __init__(self, *args, **kwargs): + super(ConfidentialLedgerTestCase, self).__init__(*args, **kwargs) diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/_shared/testcase_async.py b/sdk/confidentialledger/azure-confidentialledger/tests/_shared/testcase_async.py new file mode 100644 index 000000000000..2d449c70b7c0 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/_shared/testcase_async.py @@ -0,0 +1,6 @@ +from devtools_testutils import AzureTestCase + + +class AsyncConfidentialLedgerTestCase(AzureTestCase): + def __init__(self, *args, **kwargs): + super(AsyncConfidentialLedgerTestCase, self).__init__(*args, **kwargs) diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/conftest.py b/sdk/confidentialledger/azure-confidentialledger/tests/conftest.py new file mode 100644 index 000000000000..9605bcfa9d7d --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/conftest.py @@ -0,0 +1,6 @@ +import sys + +# Ignore collection of async tests for Python < 3.5 +collect_ignore_glob = [] +if sys.version_info < (3, 5): + collect_ignore_glob.append("*_async.py") diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_aad.test_append_entry_flow.yaml b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_aad.test_append_entry_flow.yaml new file mode 100644 index 000000000000..bf81fa385b4e --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_aad.test_append_entry_flow.yaml @@ -0,0 +1,365 @@ +interactions: +- request: + body: '{"assignedRole": "Administrator"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '33' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: PATCH + uri: https://fake-confidential-ledger.azure.com/app/users/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?api-version=0.1-preview + response: + body: + string: '{"assignedRole":"Administrator","userId":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}' + headers: + content-length: + - '80' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1586' + status: + code: 200 + message: OK +- request: + body: '{"contents": "Test entry from Python SDK"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview + response: + body: + string: '{"subLedgerId":"subledger:0"}' + headers: + content-length: + - '29' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1588' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.1588/status?api-version=0.1-preview + response: + body: + string: '{"state":"Pending","transactionId":"2.1588"}' + headers: + content-length: + - '44' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1588' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.1588/status?api-version=0.1-preview + response: + body: + string: '{"state":"Committed","transactionId":"2.1588"}' + headers: + content-length: + - '46' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1589' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.1588/status?api-version=0.1-preview + response: + body: + string: '{"state":"Committed","transactionId":"2.1588"}' + headers: + content-length: + - '46' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1589' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.1588/receipt?api-version=0.1-preview + response: + body: + string: "{\n \"receipt\": {\n \"leaf\": \"\",\n \"node_id\": \"\",\n + \ \"proof\": [],\n \"root\": \"\",\n \"signature\": \"\"\n },\n \"state\": + \"Loading\",\n \"transactionId\": \"\"\n}" + headers: + content-length: + - '155' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1589' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.1588/receipt?api-version=0.1-preview + response: + body: + string: "{\n \"receipt\": {\n \"leaf\": \"7ccaaed1f82d242c03aee214c56e788b411404f45c8d72a11ca25807423cb4b4\",\n + \ \"node_id\": \"c801be0e15cdd5fdef828ec11b69551941f48aa200c17438d11286471c3e118c\",\n + \ \"proof\": [\n {\n \"left\": \"845db8292c201a7a1d944e54014f7ce33a1db5dbb6d6e85fb3e56918a1098921\"\n + \ },\n {\n \"left\": \"233ca769ddbc3fa189a2af5cf73c7d4a5279391d5b648d43dcb328146cf8c399\"\n + \ },\n {\n \"left\": \"0f6071cc646afd6d491f95a9eeed62903b72c2022963995a431c3f58e2047487\"\n + \ },\n {\n \"left\": \"a7d18ac2d0561cb6d9923e65393f54a951e0ead8b844c4a7a60b4d920c090097\"\n + \ },\n {\n \"left\": \"b1f43f8a8b2de6743c0a62c1f31d1b4e0caa9d3323acb9d0f51c810ac8dafe2f\"\n + \ }\n ],\n \"root\": \"cb1e920c78ed18553126f8c12063a98c13314d649f4dd0c32f8bbe47c9dba319\",\n + \ \"signature\": \"MGYCMQDklj0KOzvU4x5ynvs7TgfZm9S+RQZgQCr36JhY/V93nvavIm+1t1qdMbAFFMDuBwsCMQC9L9JBe2L00cLdXQihLGHF/KwP3au7cy9RrEyWCp9aibA2/pB359WasiFHOE6MO7E=\"\n + \ },\n \"state\": \"Ready\",\n \"transactionId\": \"2.1588\"\n}" + headers: + content-length: + - '995' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1589' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/current?api-version=0.1-preview + response: + body: + string: '{"contents":"Test entry from Python SDK","subLedgerId":"subledger:0","transactionId":"2.1589"}' + headers: + content-length: + - '94' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1589' + status: + code: 200 + message: OK +- request: + body: '{"contents": "Test entry 2 from Python SDK"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '44' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview + response: + body: + string: '{"subLedgerId":"subledger:0"}' + headers: + content-length: + - '29' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1590' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.1590/status?api-version=0.1-preview + response: + body: + string: '{"state":"Pending","transactionId":"2.1590"}' + headers: + content-length: + - '44' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1590' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.1590/status?api-version=0.1-preview + response: + body: + string: '{"state":"Committed","transactionId":"2.1590"}' + headers: + content-length: + - '46' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1591' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/current?api-version=0.1-preview + response: + body: + string: '{"contents":"Test entry 2 from Python SDK","subLedgerId":"subledger:0","transactionId":"2.1591"}' + headers: + content-length: + - '96' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1591' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.1588?api-version=0.1-preview + response: + body: + string: "{\n \"entry\": {\n \"contents\": \"Test entry from Python SDK\",\n + \ \"subLedgerId\": \"subledger:0\",\n \"transactionId\": \"2.1588\"\n + \ },\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '150' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1591' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_aad.test_append_entry_flow_with_sub_ledger_id.yaml b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_aad.test_append_entry_flow_with_sub_ledger_id.yaml new file mode 100644 index 000000000000..a402f9c74992 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_aad.test_append_entry_flow_with_sub_ledger_id.yaml @@ -0,0 +1,366 @@ +interactions: +- request: + body: '{"assignedRole": "Administrator"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '33' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: PATCH + uri: https://fake-confidential-ledger.azure.com/app/users/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?api-version=0.1-preview + response: + body: + string: '{"assignedRole":"Administrator","userId":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}' + headers: + content-length: + - '80' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1592' + status: + code: 200 + message: OK +- request: + body: '{"contents": "Test sub-ledger entry from Python SDK"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '53' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=132 + response: + body: + string: '{"subLedgerId":"132"}' + headers: + content-length: + - '21' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1594' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.1594/status?api-version=0.1-preview + response: + body: + string: '{"state":"Pending","transactionId":"2.1594"}' + headers: + content-length: + - '44' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1595' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.1594/status?api-version=0.1-preview + response: + body: + string: '{"state":"Committed","transactionId":"2.1594"}' + headers: + content-length: + - '46' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1595' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.1594/status?api-version=0.1-preview + response: + body: + string: '{"state":"Committed","transactionId":"2.1594"}' + headers: + content-length: + - '46' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1595' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.1594/receipt?api-version=0.1-preview + response: + body: + string: "{\n \"receipt\": {\n \"leaf\": \"\",\n \"node_id\": \"\",\n + \ \"proof\": [],\n \"root\": \"\",\n \"signature\": \"\"\n },\n \"state\": + \"Loading\",\n \"transactionId\": \"\"\n}" + headers: + content-length: + - '155' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1595' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.1594/receipt?api-version=0.1-preview + response: + body: + string: "{\n \"receipt\": {\n \"leaf\": \"25596d5cb2ea2df518a962f8eecfb49630acf19fc1677e0406e8d62969f3df91\",\n + \ \"node_id\": \"c801be0e15cdd5fdef828ec11b69551941f48aa200c17438d11286471c3e118c\",\n + \ \"proof\": [\n {\n \"left\": \"d97834acb6aa6489965e332357e4b863f74e20080f740978517d8d7d2324f259\"\n + \ },\n {\n \"left\": \"8d6a915aa601a061c7bee74126c0888696eecb90f6cd54ac07c644d1a87746f9\"\n + \ },\n {\n \"left\": \"233ca769ddbc3fa189a2af5cf73c7d4a5279391d5b648d43dcb328146cf8c399\"\n + \ },\n {\n \"left\": \"0f6071cc646afd6d491f95a9eeed62903b72c2022963995a431c3f58e2047487\"\n + \ },\n {\n \"left\": \"a7d18ac2d0561cb6d9923e65393f54a951e0ead8b844c4a7a60b4d920c090097\"\n + \ },\n {\n \"left\": \"b1f43f8a8b2de6743c0a62c1f31d1b4e0caa9d3323acb9d0f51c810ac8dafe2f\"\n + \ }\n ],\n \"root\": \"740b577004b55ed30042e2e5bd27f5c772579891609cb1da667771bf0722b50f\",\n + \ \"signature\": \"MGYCMQD66IdmeczaMtg5RGLR8rlCFVH5omKTgeCiCQtn2KiyeHZ82hf6QqOHN9AQ+3S2kFkCMQCzCPxdVrSkU3HaIa+qJUL9k7260SGeU1DH8aWmIGvJbS0WENi+jnspGgACCbfNUUc=\"\n + \ },\n \"state\": \"Ready\",\n \"transactionId\": \"2.1594\"\n}" + headers: + content-length: + - '1095' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1595' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/current?api-version=0.1-preview&subLedgerId=132 + response: + body: + string: '{"contents":"Test sub-ledger entry from Python SDK","subLedgerId":"132","transactionId":"2.1595"}' + headers: + content-length: + - '97' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1595' + status: + code: 200 + message: OK +- request: + body: '{"contents": "Test sub-ledger entry 2 from Python SDK"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '55' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=132 + response: + body: + string: '{"subLedgerId":"132"}' + headers: + content-length: + - '21' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1596' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.1596/status?api-version=0.1-preview + response: + body: + string: '{"state":"Pending","transactionId":"2.1596"}' + headers: + content-length: + - '44' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1596' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.1596/status?api-version=0.1-preview + response: + body: + string: '{"state":"Committed","transactionId":"2.1596"}' + headers: + content-length: + - '46' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1597' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/current?api-version=0.1-preview&subLedgerId=132 + response: + body: + string: '{"contents":"Test sub-ledger entry 2 from Python SDK","subLedgerId":"132","transactionId":"2.1597"}' + headers: + content-length: + - '99' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1597' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.1594?api-version=0.1-preview&subLedgerId=132 + response: + body: + string: "{\n \"entry\": {\n \"contents\": \"Test sub-ledger entry from Python + SDK\",\n \"subLedgerId\": \"132\",\n \"transactionId\": \"2.1594\"\n + \ },\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '153' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1597' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_aad.test_range_query.yaml b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_aad.test_range_query.yaml new file mode 100644 index 000000000000..f46728cc423d --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_aad.test_range_query.yaml @@ -0,0 +1,6895 @@ +interactions: +- request: + body: '{"assignedRole": "Administrator"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '33' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: PATCH + uri: https://fake-confidential-ledger.azure.com/app/users/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?api-version=0.1-preview + response: + body: + string: '{"assignedRole":"Administrator","userId":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}' + headers: + content-length: + - '80' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1598' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-0"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1600' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-1"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1601' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1602' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-3"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1603' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-4"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1605' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-5"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1606' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-6"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1607' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-7"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1608' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-8"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1609' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-9"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1610' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-10"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1611' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-11"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1612' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-12"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1613' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-13"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1615' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-14"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1616' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-15"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1617' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-16"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1618' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-17"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1619' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-18"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1620' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-19"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1621' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-20"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1622' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-21"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1623' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-22"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1625' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-23"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1626' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-24"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1627' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-25"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1628' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-26"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1629' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-27"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1630' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-28"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1631' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-29"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1632' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-30"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1634' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-31"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1635' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-32"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1636' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-33"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1637' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-34"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1638' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-35"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1639' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-36"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1640' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-37"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1641' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-38"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1643' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-39"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1644' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-40"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1645' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-41"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1646' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-42"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1647' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-43"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1648' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-44"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1649' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-45"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1650' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-46"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1652' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-47"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1653' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-48"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1654' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-49"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1655' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-50"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1656' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-51"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1657' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-52"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1658' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-53"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1659' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-54"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1661' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-55"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1662' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-56"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1663' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-57"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1664' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-58"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1665' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-59"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1666' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-60"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1667' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-61"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1668' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-62"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1670' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-63"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1671' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-64"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1672' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-65"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1673' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-66"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1674' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-67"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1675' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-68"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1676' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-69"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1677' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-70"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1678' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-71"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1680' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-72"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1681' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-73"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1682' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-74"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1683' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-75"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1684' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-76"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1685' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-77"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1686' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-78"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1687' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-79"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1689' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-80"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1690' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-81"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1691' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-82"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1692' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-83"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1693' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-84"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1694' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-85"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1695' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-86"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1696' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-87"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1698' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-88"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1699' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-89"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1700' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-90"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1701' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-91"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1702' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-92"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1703' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-93"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1704' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-94"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1705' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-95"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1707' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-96"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1708' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-97"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1709' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-98"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1710' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-99"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1711' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-100"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1712' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-101"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1713' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-102"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1714' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-103"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1715' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-104"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1717' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-105"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1718' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-106"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1719' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-107"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1720' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-108"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1721' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-109"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1722' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-110"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1723' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-111"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1724' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-112"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1726' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-113"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1727' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-114"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1728' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-115"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1729' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-116"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1730' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-117"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1731' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-118"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1732' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-119"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1733' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-120"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1735' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-121"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1736' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-122"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1737' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-123"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1738' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-124"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1739' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-125"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1740' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-126"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1741' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-127"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1743' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-128"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1744' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-129"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1745' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-130"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1746' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-131"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1747' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-132"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1748' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-133"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1749' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-134"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1751' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-135"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1752' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-136"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1753' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-137"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1755' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-138"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1756' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-139"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1757' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-140"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1758' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-141"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1759' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-142"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1760' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-143"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1761' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-144"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1762' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-145"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1764' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-146"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1765' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-147"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1766' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-148"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1767' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-149"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1768' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-150"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1769' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-151"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1771' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-152"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1772' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-153"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1773' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-154"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1774' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-155"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1775' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-156"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1776' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-157"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1777' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-158"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1778' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-159"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1780' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-160"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1781' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-161"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1782' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-162"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1783' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-163"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1784' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-164"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1785' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-165"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1786' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-166"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1787' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-167"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1789' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-168"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1790' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-169"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1791' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-170"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1792' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-171"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1793' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-172"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1794' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-173"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1795' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-174"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1796' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-175"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1798' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-176"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1799' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-177"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1800' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-178"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1801' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-179"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1802' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-180"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1803' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-181"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1804' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-182"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1805' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-183"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1807' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-184"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1808' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-185"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1809' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-186"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1810' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-187"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1811' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-188"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1812' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-189"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1813' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-190"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1814' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-191"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1816' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-192"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1817' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-193"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1818' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-194"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1819' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-195"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1820' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-196"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1821' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-197"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1822' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-198"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1823' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-199"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1824' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-200"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1825' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.1600 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.1600\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: + - '123' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1825' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.1600 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.1701\",\n + \ \"entries\": [\n {\n \"contents\": \"message-0\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.1600\"\n },\n {\n \"contents\": + \"message-5\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.1606\"\n + \ },\n {\n \"contents\": \"message-10\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.1611\"\n },\n {\n \"contents\": + \"message-15\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.1617\"\n + \ },\n {\n \"contents\": \"message-20\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.1622\"\n },\n {\n \"contents\": + \"message-25\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.1628\"\n + \ },\n {\n \"contents\": \"message-30\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.1634\"\n },\n {\n \"contents\": + \"message-35\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.1639\"\n + \ },\n {\n \"contents\": \"message-40\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.1645\"\n },\n {\n \"contents\": + \"message-45\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.1650\"\n + \ },\n {\n \"contents\": \"message-50\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.1656\"\n },\n {\n \"contents\": + \"message-55\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.1662\"\n + \ },\n {\n \"contents\": \"message-60\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.1667\"\n },\n {\n \"contents\": + \"message-65\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.1673\"\n + \ },\n {\n \"contents\": \"message-70\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.1678\"\n },\n {\n \"contents\": + \"message-75\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.1684\"\n + \ },\n {\n \"contents\": \"message-80\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.1690\"\n },\n {\n \"contents\": + \"message-85\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.1695\"\n + \ }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '1992' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1825' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.1701 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.1802\",\n + \ \"entries\": [\n {\n \"contents\": \"message-90\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.1701\"\n },\n {\n \"contents\": + \"message-95\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.1707\"\n + \ },\n {\n \"contents\": \"message-100\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.1712\"\n },\n {\n \"contents\": + \"message-105\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.1718\"\n },\n {\n \"contents\": \"message-110\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.1723\"\n },\n {\n \"contents\": + \"message-115\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.1729\"\n },\n {\n \"contents\": \"message-120\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.1735\"\n },\n {\n \"contents\": + \"message-125\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.1740\"\n },\n {\n \"contents\": \"message-130\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.1746\"\n },\n {\n \"contents\": + \"message-135\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.1752\"\n },\n {\n \"contents\": \"message-140\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.1758\"\n },\n {\n \"contents\": + \"message-145\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.1764\"\n },\n {\n \"contents\": \"message-150\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.1769\"\n },\n {\n \"contents\": + \"message-155\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.1775\"\n },\n {\n \"contents\": \"message-160\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.1781\"\n },\n {\n \"contents\": + \"message-165\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.1786\"\n },\n {\n \"contents\": \"message-170\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.1792\"\n },\n {\n \"contents\": + \"message-175\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.1798\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '2010' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1825' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.1802 + response: + body: + string: "{\n \"entries\": [\n {\n \"contents\": \"message-180\",\n + \ \"subLedgerId\": \"0\",\n \"transactionId\": \"2.1803\"\n },\n + \ {\n \"contents\": \"message-185\",\n \"subLedgerId\": \"0\",\n + \ \"transactionId\": \"2.1809\"\n },\n {\n \"contents\": \"message-190\",\n + \ \"subLedgerId\": \"0\",\n \"transactionId\": \"2.1814\"\n }\n + \ ],\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '353' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1825' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.1601 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.1601\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: + - '123' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1825' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.1601 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.1702\",\n + \ \"entries\": [\n {\n \"contents\": \"message-1\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.1601\"\n },\n {\n \"contents\": + \"message-6\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.1607\"\n + \ },\n {\n \"contents\": \"message-11\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.1612\"\n },\n {\n \"contents\": + \"message-16\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.1618\"\n + \ },\n {\n \"contents\": \"message-21\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.1623\"\n },\n {\n \"contents\": + \"message-26\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.1629\"\n + \ },\n {\n \"contents\": \"message-31\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.1635\"\n },\n {\n \"contents\": + \"message-36\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.1640\"\n + \ },\n {\n \"contents\": \"message-41\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.1646\"\n },\n {\n \"contents\": + \"message-46\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.1652\"\n + \ },\n {\n \"contents\": \"message-51\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.1657\"\n },\n {\n \"contents\": + \"message-56\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.1663\"\n + \ },\n {\n \"contents\": \"message-61\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.1668\"\n },\n {\n \"contents\": + \"message-66\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.1674\"\n + \ },\n {\n \"contents\": \"message-71\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.1680\"\n },\n {\n \"contents\": + \"message-76\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.1685\"\n + \ },\n {\n \"contents\": \"message-81\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.1691\"\n },\n {\n \"contents\": + \"message-86\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.1696\"\n + \ }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '1992' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1826' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.1702 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.1803\",\n + \ \"entries\": [\n {\n \"contents\": \"message-91\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.1702\"\n },\n {\n \"contents\": + \"message-96\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.1708\"\n + \ },\n {\n \"contents\": \"message-101\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.1713\"\n },\n {\n \"contents\": + \"message-106\",\n \"subLedgerId\": \"1\",\n \"transactionId\": + \"2.1719\"\n },\n {\n \"contents\": \"message-111\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.1724\"\n },\n {\n \"contents\": + \"message-116\",\n \"subLedgerId\": \"1\",\n \"transactionId\": + \"2.1730\"\n },\n {\n \"contents\": \"message-121\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.1736\"\n },\n {\n \"contents\": + \"message-126\",\n \"subLedgerId\": \"1\",\n \"transactionId\": + \"2.1741\"\n },\n {\n \"contents\": \"message-131\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.1747\"\n },\n {\n \"contents\": + \"message-136\",\n \"subLedgerId\": \"1\",\n \"transactionId\": + \"2.1753\"\n },\n {\n \"contents\": \"message-141\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.1759\"\n },\n {\n \"contents\": + \"message-146\",\n \"subLedgerId\": \"1\",\n \"transactionId\": + \"2.1765\"\n },\n {\n \"contents\": \"message-151\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.1771\"\n },\n {\n \"contents\": + \"message-156\",\n \"subLedgerId\": \"1\",\n \"transactionId\": + \"2.1776\"\n },\n {\n \"contents\": \"message-161\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.1782\"\n },\n {\n \"contents\": + \"message-166\",\n \"subLedgerId\": \"1\",\n \"transactionId\": + \"2.1787\"\n },\n {\n \"contents\": \"message-171\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.1793\"\n },\n {\n \"contents\": + \"message-176\",\n \"subLedgerId\": \"1\",\n \"transactionId\": + \"2.1799\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '2010' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1826' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.1803 + response: + body: + string: "{\n \"entries\": [\n {\n \"contents\": \"message-181\",\n + \ \"subLedgerId\": \"1\",\n \"transactionId\": \"2.1804\"\n },\n + \ {\n \"contents\": \"message-186\",\n \"subLedgerId\": \"1\",\n + \ \"transactionId\": \"2.1810\"\n },\n {\n \"contents\": \"message-191\",\n + \ \"subLedgerId\": \"1\",\n \"transactionId\": \"2.1816\"\n },\n + \ {\n \"contents\": \"message-196\",\n \"subLedgerId\": \"1\",\n + \ \"transactionId\": \"2.1821\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '457' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1826' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.1602 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.1602\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: + - '123' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1826' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.1602 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.1703\",\n + \ \"entries\": [\n {\n \"contents\": \"message-2\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.1602\"\n },\n {\n \"contents\": + \"message-7\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.1608\"\n + \ },\n {\n \"contents\": \"message-12\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.1613\"\n },\n {\n \"contents\": + \"message-17\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.1619\"\n + \ },\n {\n \"contents\": \"message-22\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.1625\"\n },\n {\n \"contents\": + \"message-27\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.1630\"\n + \ },\n {\n \"contents\": \"message-32\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.1636\"\n },\n {\n \"contents\": + \"message-37\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.1641\"\n + \ },\n {\n \"contents\": \"message-42\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.1647\"\n },\n {\n \"contents\": + \"message-47\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.1653\"\n + \ },\n {\n \"contents\": \"message-52\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.1658\"\n },\n {\n \"contents\": + \"message-57\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.1664\"\n + \ },\n {\n \"contents\": \"message-62\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.1670\"\n },\n {\n \"contents\": + \"message-67\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.1675\"\n + \ },\n {\n \"contents\": \"message-72\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.1681\"\n },\n {\n \"contents\": + \"message-77\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.1686\"\n + \ },\n {\n \"contents\": \"message-82\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.1692\"\n },\n {\n \"contents\": + \"message-87\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.1698\"\n + \ }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '1992' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1826' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.1703 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.1804\",\n + \ \"entries\": [\n {\n \"contents\": \"message-92\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.1703\"\n },\n {\n \"contents\": + \"message-97\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.1709\"\n + \ },\n {\n \"contents\": \"message-102\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.1714\"\n },\n {\n \"contents\": + \"message-107\",\n \"subLedgerId\": \"2\",\n \"transactionId\": + \"2.1720\"\n },\n {\n \"contents\": \"message-112\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.1726\"\n },\n {\n \"contents\": + \"message-117\",\n \"subLedgerId\": \"2\",\n \"transactionId\": + \"2.1731\"\n },\n {\n \"contents\": \"message-122\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.1737\"\n },\n {\n \"contents\": + \"message-127\",\n \"subLedgerId\": \"2\",\n \"transactionId\": + \"2.1743\"\n },\n {\n \"contents\": \"message-132\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.1748\"\n },\n {\n \"contents\": + \"message-137\",\n \"subLedgerId\": \"2\",\n \"transactionId\": + \"2.1755\"\n },\n {\n \"contents\": \"message-142\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.1760\"\n },\n {\n \"contents\": + \"message-147\",\n \"subLedgerId\": \"2\",\n \"transactionId\": + \"2.1766\"\n },\n {\n \"contents\": \"message-152\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.1772\"\n },\n {\n \"contents\": + \"message-157\",\n \"subLedgerId\": \"2\",\n \"transactionId\": + \"2.1777\"\n },\n {\n \"contents\": \"message-162\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.1783\"\n },\n {\n \"contents\": + \"message-167\",\n \"subLedgerId\": \"2\",\n \"transactionId\": + \"2.1789\"\n },\n {\n \"contents\": \"message-172\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.1794\"\n },\n {\n \"contents\": + \"message-177\",\n \"subLedgerId\": \"2\",\n \"transactionId\": + \"2.1800\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '2010' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1826' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.1804 + response: + body: + string: "{\n \"entries\": [\n {\n \"contents\": \"message-182\",\n + \ \"subLedgerId\": \"2\",\n \"transactionId\": \"2.1805\"\n },\n + \ {\n \"contents\": \"message-187\",\n \"subLedgerId\": \"2\",\n + \ \"transactionId\": \"2.1811\"\n },\n {\n \"contents\": \"message-192\",\n + \ \"subLedgerId\": \"2\",\n \"transactionId\": \"2.1817\"\n },\n + \ {\n \"contents\": \"message-197\",\n \"subLedgerId\": \"2\",\n + \ \"transactionId\": \"2.1822\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '457' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1826' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.1603 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.1603\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: + - '123' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1826' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.1603 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.1704\",\n + \ \"entries\": [\n {\n \"contents\": \"message-3\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.1603\"\n },\n {\n \"contents\": + \"message-8\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.1609\"\n + \ },\n {\n \"contents\": \"message-13\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.1615\"\n },\n {\n \"contents\": + \"message-18\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.1620\"\n + \ },\n {\n \"contents\": \"message-23\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.1626\"\n },\n {\n \"contents\": + \"message-28\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.1631\"\n + \ },\n {\n \"contents\": \"message-33\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.1637\"\n },\n {\n \"contents\": + \"message-38\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.1643\"\n + \ },\n {\n \"contents\": \"message-43\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.1648\"\n },\n {\n \"contents\": + \"message-48\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.1654\"\n + \ },\n {\n \"contents\": \"message-53\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.1659\"\n },\n {\n \"contents\": + \"message-58\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.1665\"\n + \ },\n {\n \"contents\": \"message-63\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.1671\"\n },\n {\n \"contents\": + \"message-68\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.1676\"\n + \ },\n {\n \"contents\": \"message-73\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.1682\"\n },\n {\n \"contents\": + \"message-78\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.1687\"\n + \ },\n {\n \"contents\": \"message-83\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.1693\"\n },\n {\n \"contents\": + \"message-88\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.1699\"\n + \ }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '1992' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1826' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.1704 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.1805\",\n + \ \"entries\": [\n {\n \"contents\": \"message-93\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.1704\"\n },\n {\n \"contents\": + \"message-98\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.1710\"\n + \ },\n {\n \"contents\": \"message-103\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.1715\"\n },\n {\n \"contents\": + \"message-108\",\n \"subLedgerId\": \"3\",\n \"transactionId\": + \"2.1721\"\n },\n {\n \"contents\": \"message-113\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.1727\"\n },\n {\n \"contents\": + \"message-118\",\n \"subLedgerId\": \"3\",\n \"transactionId\": + \"2.1732\"\n },\n {\n \"contents\": \"message-123\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.1738\"\n },\n {\n \"contents\": + \"message-128\",\n \"subLedgerId\": \"3\",\n \"transactionId\": + \"2.1744\"\n },\n {\n \"contents\": \"message-133\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.1749\"\n },\n {\n \"contents\": + \"message-138\",\n \"subLedgerId\": \"3\",\n \"transactionId\": + \"2.1756\"\n },\n {\n \"contents\": \"message-143\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.1761\"\n },\n {\n \"contents\": + \"message-148\",\n \"subLedgerId\": \"3\",\n \"transactionId\": + \"2.1767\"\n },\n {\n \"contents\": \"message-153\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.1773\"\n },\n {\n \"contents\": + \"message-158\",\n \"subLedgerId\": \"3\",\n \"transactionId\": + \"2.1778\"\n },\n {\n \"contents\": \"message-163\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.1784\"\n },\n {\n \"contents\": + \"message-168\",\n \"subLedgerId\": \"3\",\n \"transactionId\": + \"2.1790\"\n },\n {\n \"contents\": \"message-173\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.1795\"\n },\n {\n \"contents\": + \"message-178\",\n \"subLedgerId\": \"3\",\n \"transactionId\": + \"2.1801\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '2010' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1826' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.1805 + response: + body: + string: "{\n \"entries\": [\n {\n \"contents\": \"message-183\",\n + \ \"subLedgerId\": \"3\",\n \"transactionId\": \"2.1807\"\n },\n + \ {\n \"contents\": \"message-188\",\n \"subLedgerId\": \"3\",\n + \ \"transactionId\": \"2.1812\"\n },\n {\n \"contents\": \"message-193\",\n + \ \"subLedgerId\": \"3\",\n \"transactionId\": \"2.1818\"\n },\n + \ {\n \"contents\": \"message-198\",\n \"subLedgerId\": \"3\",\n + \ \"transactionId\": \"2.1823\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '457' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1826' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.1605 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.1605\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: + - '123' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1826' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.1605 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.1706\",\n + \ \"entries\": [\n {\n \"contents\": \"message-4\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.1605\"\n },\n {\n \"contents\": + \"message-9\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.1610\"\n + \ },\n {\n \"contents\": \"message-14\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.1616\"\n },\n {\n \"contents\": + \"message-19\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.1621\"\n + \ },\n {\n \"contents\": \"message-24\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.1627\"\n },\n {\n \"contents\": + \"message-29\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.1632\"\n + \ },\n {\n \"contents\": \"message-34\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.1638\"\n },\n {\n \"contents\": + \"message-39\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.1644\"\n + \ },\n {\n \"contents\": \"message-44\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.1649\"\n },\n {\n \"contents\": + \"message-49\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.1655\"\n + \ },\n {\n \"contents\": \"message-54\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.1661\"\n },\n {\n \"contents\": + \"message-59\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.1666\"\n + \ },\n {\n \"contents\": \"message-64\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.1672\"\n },\n {\n \"contents\": + \"message-69\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.1677\"\n + \ },\n {\n \"contents\": \"message-74\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.1683\"\n },\n {\n \"contents\": + \"message-79\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.1689\"\n + \ },\n {\n \"contents\": \"message-84\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.1694\"\n },\n {\n \"contents\": + \"message-89\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.1700\"\n + \ },\n {\n \"contents\": \"message-94\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.1705\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '2095' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1826' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.1706 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.1807\",\n + \ \"entries\": [\n {\n \"contents\": \"message-99\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.1711\"\n },\n {\n \"contents\": + \"message-104\",\n \"subLedgerId\": \"4\",\n \"transactionId\": + \"2.1717\"\n },\n {\n \"contents\": \"message-109\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.1722\"\n },\n {\n \"contents\": + \"message-114\",\n \"subLedgerId\": \"4\",\n \"transactionId\": + \"2.1728\"\n },\n {\n \"contents\": \"message-119\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.1733\"\n },\n {\n \"contents\": + \"message-124\",\n \"subLedgerId\": \"4\",\n \"transactionId\": + \"2.1739\"\n },\n {\n \"contents\": \"message-129\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.1745\"\n },\n {\n \"contents\": + \"message-134\",\n \"subLedgerId\": \"4\",\n \"transactionId\": + \"2.1751\"\n },\n {\n \"contents\": \"message-139\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.1757\"\n },\n {\n \"contents\": + \"message-144\",\n \"subLedgerId\": \"4\",\n \"transactionId\": + \"2.1762\"\n },\n {\n \"contents\": \"message-149\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.1768\"\n },\n {\n \"contents\": + \"message-154\",\n \"subLedgerId\": \"4\",\n \"transactionId\": + \"2.1774\"\n },\n {\n \"contents\": \"message-159\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.1780\"\n },\n {\n \"contents\": + \"message-164\",\n \"subLedgerId\": \"4\",\n \"transactionId\": + \"2.1785\"\n },\n {\n \"contents\": \"message-169\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.1791\"\n },\n {\n \"contents\": + \"message-174\",\n \"subLedgerId\": \"4\",\n \"transactionId\": + \"2.1796\"\n },\n {\n \"contents\": \"message-179\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.1802\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '1907' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1826' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.1807 + response: + body: + string: "{\n \"entries\": [\n {\n \"contents\": \"message-184\",\n + \ \"subLedgerId\": \"4\",\n \"transactionId\": \"2.1808\"\n },\n + \ {\n \"contents\": \"message-189\",\n \"subLedgerId\": \"4\",\n + \ \"transactionId\": \"2.1813\"\n },\n {\n \"contents\": \"message-194\",\n + \ \"subLedgerId\": \"4\",\n \"transactionId\": \"2.1819\"\n },\n + \ {\n \"contents\": \"message-199\",\n \"subLedgerId\": \"4\",\n + \ \"transactionId\": \"2.1824\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '457' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1826' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_aad.test_user_management.yaml b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_aad.test_user_management.yaml new file mode 100644 index 000000000000..c423aa0e1a63 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_aad.test_user_management.yaml @@ -0,0 +1,196 @@ +interactions: +- request: + body: '{"assignedRole": "Administrator"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '33' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: PATCH + uri: https://fake-confidential-ledger.azure.com/app/users/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?api-version=0.1-preview + response: + body: + string: '{"assignedRole":"Administrator","userId":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}' + headers: + content-length: + - '80' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1827' + status: + code: 200 + message: OK +- request: + body: '{"assignedRole": "Contributor"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '31' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: PATCH + uri: https://fake-confidential-ledger.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview + response: + body: + string: '{"assignedRole":"Contributor","userId":"000000000000000000000000000000000000"}' + headers: + content-length: + - '78' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1829' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview + response: + body: + string: '{"assignedRole":"Contributor","userId":"000000000000000000000000000000000000"}' + headers: + content-length: + - '78' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1829' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: DELETE + uri: https://fake-confidential-ledger.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview + response: + body: + string: '' + headers: + content-length: + - '0' + x-ms-ccf-transaction-id: + - '2.1830' + status: + code: 204 + message: No Content +- request: + body: '{"assignedRole": "Reader"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: PATCH + uri: https://fake-confidential-ledger.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview + response: + body: + string: '{"assignedRole":"Reader","userId":"000000000000000000000000000000000000"}' + headers: + content-length: + - '73' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1832' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview + response: + body: + string: '{"assignedRole":"Reader","userId":"000000000000000000000000000000000000"}' + headers: + content-length: + - '73' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1832' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: DELETE + uri: https://fake-confidential-ledger.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview + response: + body: + string: '' + headers: + content-length: + - '0' + x-ms-ccf-transaction-id: + - '2.1833' + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_aad.test_verification_methods.yaml b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_aad.test_verification_methods.yaml new file mode 100644 index 000000000000..dbc081e33b07 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_aad.test_verification_methods.yaml @@ -0,0 +1,156 @@ +interactions: +- request: + body: '{"assignedRole": "Administrator"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '33' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: PATCH + uri: https://fake-confidential-ledger.azure.com/app/users/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?api-version=0.1-preview + response: + body: + string: '{"assignedRole":"Administrator","userId":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}' + headers: + content-length: + - '80' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1835' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/governance/members?api-version=0.1-preview + response: + body: + string: '{"members":[{"certificate":"-----BEGIN CERTIFICATE-----\nMIIB+DCCAX2gAwIBAgIQbqIwsiHHQlWkhweK0NbPODAKBggqhkjOPQQDAzAgMR4w\nHAYDVQQDExVDQ0YgR292ZXJub3IgSWRlbnRpdHkwHhcNMjAxMTExMjAyNDUwWhcN\nMjExMTExMjAzNDUwWjAgMR4wHAYDVQQDExVDQ0YgR292ZXJub3IgSWRlbnRpdHkw\ndjAQBgcqhkjOPQIBBgUrgQQAIgNiAATTFBoe5FRZTXSQn5ZGl7BV40FpF6fvK3mj\nuDbh3BpAFCC9eXIU9nrGEEoaWH2n++c0TXuaR9TlXEm1ms47YMGmvr/epdI2Qgd6\nBC6bwYfMoRFVH/+G+itRj70ywY+lqrmjfDB6MA4GA1UdDwEB/wQEAwIHgDAJBgNV\nHRMEAjAAMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAfBgNVHSMEGDAW\ngBQefKdvzGwngW5bffiMcfFhoBYtNzAdBgNVHQ4EFgQUHnynb8xsJ4FuW334jHHx\nYaAWLTcwCgYIKoZIzj0EAwMDaQAwZgIxAKb40n899np5eoAei4YatmJ9P2kdGyGP\nqQBslkobR/Gb++QAHbFoD4m2tANPtpmYJAIxANklOHFie1OSLVwzl3n8zBbt1+KX\naH1qYPDr3MzPfvSBq7ckBGem2C6EEX4ratWAGQ==\n-----END + CERTIFICATE-----","id":"eec5d23a0f376538a34cccb35705cad4850741dcf82cd9ec39d3972aabc58a72"}]}' + headers: + content-length: + - '860' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1836' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/governance/constitution?api-version=0.1-preview + response: + body: + string: '{"digest":"8dd68f72e540dd7f96988eef553e122789228e9b4e917028853cc042d46ec811","script":"raw_puts= tables, + puts = ...\n for table_name, entries in pairs(puts) do\n t = tables[table_name]\n for + _,entry in pairs(entries) do\n t:put(entry.k, entry.v)\n end\n end\n return + true;environment_proposal= __Puts = {}\n function __Puts:new(o)\n o = + o or {}\n setmetatable(o, self)\n self.__index = self\n return o\n end\n\n function + __Puts:put(t, key, value)\n self[t] = self[t] or {}\n table.insert(self[t], + {k = key, v = value})\n return self\n end\n -- create a frontend for + __Puts that hides function entries\n Puts = setmetatable({}, {__index = __Puts})\n\n __Calls + = {}\n function __Calls:new(o)\n o = o or {}\n setmetatable(o, self)\n self.__index + = self\n return o\n end\n\n function __Calls:call(_func, _args)\n table.insert(self, + {func=_func, args=_args})\n return self\n end\n Calls = setmetatable({}, + {__index = __Calls})\n\n function empty_list()\n return setmetatable({}, + {__was_object=false})\n end\n\n function empty_object()\n return setmetatable({}, + {__was_object=true})\n end\n ;pass= tables, calls, votes, proposer_id = + ...\n\n -- interface definitions\n PASSED = 1\n PENDING = 0\n REJECTED + = -1\n STATE_ACTIVE = \"ACTIVE\"\n\n -- defines which of the members are + operators\n function is_operator(member)\n member_info = tables[\"public:ccf.gov.members.info\"]:get(member)\n if + member_info then\n member_data = member_info.member_data\n if member_data + then\n return member_data.is_operator == true\n end\n end\n return + false\n end\n\n -- defines calls that can be passed with sole operator input\n function + can_operator_pass(call)\n -- some calls can always be called by operators\n allowed_operator_funcs + = {\n trust_node=true,\n retire_node=true,\n new_user=true,\n remove_user=true,\n open_network=true,\n deploy_js_app=true,\n set_ca_cert_bundle=true,\n remove_ca_cert_bundle=true,\n set_jwt_issuer=true,\n remove_jwt_issuer=true,\n set_jwt_public_signing_keys=true,\n set_user_data=true,\n set_service_principal=true,\n remove_service_principal=true,\n }\n if + allowed_operator_funcs[call.func] then\n return true\n end\n\n -- + additionally, operators can add or retire other operators\n if call.func + == \"new_member\" then\n member_data = call.args.member_data\n if + member_data and member_data.is_operator then\n return true\n end\n elseif + call.func == \"retire_member\" then\n if is_operator(call.args) then\n return + true\n end\n end\n end\n\n -- count member votes\n member_votes + = 0\n\n for member, vote in pairs(votes) do\n if vote then\n if not + is_operator(member) then\n member_votes = member_votes + 1\n end\n end\n end\n\n -- + count active members, excluding operators\n members_active = 0\n\n tables[\"public:ccf.gov.members.info\"]:foreach(function(member, + details)\n if details[\"status\"] == STATE_ACTIVE and not is_operator(member) + then\n members_active = members_active + 1\n end\n end)\n\n -- check + for raw_puts to sensitive tables\n SENSITIVE_TABLES = {\"public:ccf.gov.whitelists\", + \"public:ccf.gov.scripts\"}\n for _, call in pairs(calls) do\n if call.func + == \"raw_puts\" then\n for _, sensitive_table in pairs(SENSITIVE_TABLES) + do\n if call.args[sensitive_table] then\n -- require unanimity + of non-operating members\n if member_votes == members_active then\n return + PASSED\n else\n return PENDING\n end\n end\n end\n end\n end\n\n -- + a vote is an operator vote if it''s only making operator calls\n operator_change + = true\n for _, call in pairs(calls) do\n if not can_operator_pass(call) + then\n operator_change = false\n break\n end\n end\n\n -- a + majority of members can always pass votes\n if member_votes > math.floor(members_active + / 2) then\n return PASSED\n end\n\n -- operators proposing operator changes + can pass them without a vote\n if operator_change and is_operator(proposer_id) + then\n return PASSED\n end\n\n return PENDING;"}' + headers: + content-length: + - '4306' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1836' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/enclaveQuotes?api-version=0.1-preview + response: + body: + string: '{"currentNodeId":"cda0fa96a7916caafd144ea4b3d4188b197cff605b32416a3b47c1c69aeff594","enclaveQuotes":{"48bde5ab681ce4f35e78161cde552e8800784051a3602b3706c3a200d074f68c":{"mrenclave":"8e67b83969dea1207c06fb5191bfd45662c196d030bed26796b75f09c0e1c4bc","nodeId":"48bde5ab681ce4f35e78161cde552e8800784051a3602b3706c3a200d074f68c","quoteVersion":"OE_SGX_v1","raw":"030002000000000005000a00939a7233f79c4ca9940a0db3957f06074fca16e1b382cc4d9313fca5acbf408b0000000011110305ff80060000000000000000000000000000000000000000000000000000000000000000000000000000000000050000000000000007000000000000008e67b83969dea1207c06fb5191bfd45662c196d030bed26796b75f09c0e1c4bc000000000000000000000000000000000000000000000000000000000000000056a35b461bd8042255f6d33ee5ce7afa34f7024a35b74f15c5808e0c00864226000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005ab4ecfb2f7844a8179722eb80a639691a8bbf86c99e95d39f2d683beafefa6a0000000000000000000000000000000000000000000000000000000000000000341000002525ef54e5c5dd0d32973cc9c759fefc30c7aef7094c18134ef0e35117403532c109de78dd7fabceaa4c6ae624239e2417a932f0bb32eea17ea8259c241bfa0d8eb0721568eb8eefb5ffe48d4c0535ccbd637f6998f30d252334d093bfe489707cef9b5abbe51428ff6feb0d5590723896f7e3d8466e7c4c7f661f5588b1cbc011110305ff800600000000000000000000000000000000000000000000000000000000000000000000000000000000001500000000000000070000000000000060d85af28be8d1c40a08d98b009d5f8acc1384a385cf460800e478791d1a979c00000000000000000000000000000000000000000000000000000000000000008c4f5775d796503e96137f77c68a829a0056ac8ded70140b081b094490c57bff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045566c39ee9249e7f197a87256fd7267ac67bec7f27e6133d95306656244366e00000000000000000000000000000000000000000000000000000000000000007d1cada36a9e54bde941973bd2de03d5304bffdd775474aec6d38207272d9226a3e9e0314555d3960507f3224cf7d2009d75c8b968071fc31094a3dfb999c1e42000000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f0500cc0d00002d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949456754434342436167417749424167495545646d6b4833625131367152525856766e73307369596b3979495577436759494b6f5a497a6a3045417749770a6354456a4d4345474131554541777761535735305a577767553064594946424453794251636d396a5a584e7a6233496751304578476a415942674e5642416f4d0a45556c756447567349454e76636e4276636d4630615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b47413155450a4341774351304578437a414a42674e5642415954416c56544d423458445449784d4449784d4449794d5455774e466f58445449344d4449784d4449794d5455770a4e466f77634445694d434147413155454177775a535735305a5777675530645949464244537942445a584a3061575a70593246305a5445614d426747413155450a43677752535735305a577767513239796347397959585270623234784644415342674e564241634d43314e68626e526849454e7359584a684d517377435159440a5651514944414a445154454c4d416b474131554542684d4356564d775754415442676371686b6a4f5051494242676771686b6a4f50514d4242774e43414152680a5247587236365079506673764a55444a666158563841575957586768454e6b784638614d6d3471396a5a543546356d2f4d446b466365724a735a486c6d2b58710a4471673138452f344f416e39622f70344e366d796f3449436d7a434341706377487759445652306a42426777466f4155304f6971326e58582b53354a463567380a6578526c304e587957553077587759445652306642466777566a42556f464b6755495a4f6148523063484d364c79396863476b7564484a316333526c5a484e6c0a636e5a705932567a4c6d6c75644756734c6d4e766253397a5a3367765932567964476c6d61574e6864476c76626939324d6939775932746a636d772f593245390a63484a765932567a633239794d42304741315564446751574242537956634a3754335950586f383059535762493759504e514233506a414f42674e56485138420a4166384542414d434273417744415944565230544151482f42414977414443434164514743537147534962345451454e4151534341635577676748424d4234470a43697147534962345451454e4151454545475a445038395a483248673435704f4f5337372b564d776767466b42676f71686b69472b453042445145434d4949420a5644415142677371686b69472b45304244514543415149424554415142677371686b69472b45304244514543416749424554415142677371686b69472b4530420a4451454341774942416a415142677371686b69472b45304244514543424149424244415142677371686b69472b453042445145434251494241544152426773710a686b69472b4530424451454342674943414941774541594c4b6f5a496876684e4151304241676343415159774541594c4b6f5a496876684e41513042416767430a415141774541594c4b6f5a496876684e4151304241676b43415141774541594c4b6f5a496876684e4151304241676f43415141774541594c4b6f5a496876684e0a4151304241677343415141774541594c4b6f5a496876684e4151304241677743415141774541594c4b6f5a496876684e4151304241673043415141774541594c0a4b6f5a496876684e4151304241673443415141774541594c4b6f5a496876684e4151304241673843415141774541594c4b6f5a496876684e41513042416841430a415141774541594c4b6f5a496876684e415130424168454341516f774877594c4b6f5a496876684e4151304241684945454245524167514267415941414141410a41414141414141774541594b4b6f5a496876684e4151304241775143414141774641594b4b6f5a496876684e4151304242415147414a4275315141414d4138470a43697147534962345451454e4151554b41514177436759494b6f5a497a6a3045417749445351417752674968414a497245793530694b564857596f70573844500a56525366306859546f7232535830674b4f517569354f644241694541354d6351674a7a615550497a456342714c7970554a646a6a5a6e694c77686458387a75520a496458303244593d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a2d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949436c7a4343416a36674177494241674956414e446f71747031312f6b7553526559504873555a644456386c6c4e4d416f4743437147534d343942414d430a4d476778476a415942674e5642414d4d45556c756447567349464e48574342536232393049454e424d526f77474159445651514b4442464a626e526c624342440a62334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e564241674d416b4e424d5173770a435159445651514745774a56557a4165467730784f4441314d6a45784d4451314d4468614677307a4d7a41314d6a45784d4451314d4468614d484578497a41680a42674e5642414d4d476b6c756447567349464e48574342515130736755484a765932567a6332397949454e424d526f77474159445651514b4442464a626e526c0a6243424462334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e564241674d416b4e420a4d517377435159445651514745774a56557a425a4d424d4742797147534d34394167454743437147534d34394177454841304941424c39712b4e4d7032494f670a74646c31626b2f75575a352b5447516d38614369387a373866732b664b435133642b75447a586e56544154325a68444369667949754a77764e33774e427039690a484253534d4a4d4a72424f6a6762737767626777487759445652306a42426777466f4155496d554d316c71644e496e7a6737535655723951477a6b6e427177770a556759445652306642457377535442486f45576751345a426148523063484d364c79396a5a584a3061575a70593246305a584d7564484a316333526c5a484e6c0a636e5a705932567a4c6d6c75644756734c6d4e766253394a626e526c62464e4857464a76623352445153356a636d7777485159445652304f42425945464e446f0a71747031312f6b7553526559504873555a644456386c6c4e4d41344741315564447745422f77514541774942426a415342674e5648524d4241663845434441470a4151482f416745414d416f4743437147534d343942414d43413063414d45514349432f396a2b3834542b487a74564f2f734f5142574a6253642b2f327565784b0a342b6141306a6346424c63704169413364684d72463563443532743646714d764149706a385864476d79326265656c6a4c4a4b2b707a706352413d3d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a2d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949436a6a4343416a53674177494241674955496d554d316c71644e496e7a6737535655723951477a6b6e42717777436759494b6f5a497a6a3045417749770a614445614d4267474131554541777752535735305a5777675530645949464a766233516751304578476a415942674e5642416f4d45556c756447567349454e760a636e4276636d4630615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b47413155454341774351304578437a414a0a42674e5642415954416c56544d423458445445344d4455794d5445774e4445784d566f5844544d7a4d4455794d5445774e4445784d466f77614445614d4267470a4131554541777752535735305a5777675530645949464a766233516751304578476a415942674e5642416f4d45556c756447567349454e76636e4276636d46300a615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b47413155454341774351304578437a414a42674e56424159540a416c56544d466b77457759484b6f5a497a6a3043415159494b6f5a497a6a3044415163445167414543366e45774d4449595a4f6a2f69505773437a61454b69370a314f694f534c52466857476a626e42564a66566e6b59347533496a6b4459594c304d784f346d717379596a6c42616c54565978465032734a424b357a6c4b4f420a757a43427544416642674e5648534d4547444157674251695a517a575770303069664f44744a5653763141624f5363477244425342674e5648523845537a424a0a4d45656752614244686b466f64485277637a6f764c324e6c636e52705a6d6c6a5958526c63793530636e567a6447566b63325679646d6c6a5a584d75615735300a5a577775593239744c306c756447567355306459556d397664454e424c6d4e796244416442674e564851344546675155496d554d316c71644e496e7a673753560a55723951477a6b6e4271777744675944565230504151482f42415144416745474d42494741315564457745422f7751494d4159424166384341514577436759490a4b6f5a497a6a30454177494453414177525149675151732f30387279636450617543466b3855505158434d416c736c6f4265374e7761514754636470613045430a495143557438534776784b6d6a70634d2f7a3057503944766f3868326b3564753169574464426b416e2b306969413d3d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a0001000000000000000100000000000000100000000000000020000000000000007367785f7265706f72745f646174610048bde5ab681ce4f35e78161cde552e8800784051a3602b3706c3a200d074f68c"},"c801be0e15cdd5fdef828ec11b69551941f48aa200c17438d11286471c3e118c":{"mrenclave":"8e67b83969dea1207c06fb5191bfd45662c196d030bed26796b75f09c0e1c4bc","nodeId":"c801be0e15cdd5fdef828ec11b69551941f48aa200c17438d11286471c3e118c","quoteVersion":"OE_SGX_v1","raw":"030002000000000005000a00939a7233f79c4ca9940a0db3957f0607f471d316335a86ceb76e06231987a82e0000000011110305ff80060000000000000000000000000000000000000000000000000000000000000000000000000000000000050000000000000007000000000000008e67b83969dea1207c06fb5191bfd45662c196d030bed26796b75f09c0e1c4bc000000000000000000000000000000000000000000000000000000000000000056a35b461bd8042255f6d33ee5ce7afa34f7024a35b74f15c5808e0c008642260000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000078c32d2a305014f726ee776e3ddce1e78ace9dbdc80afffcdac36183db4aa88400000000000000000000000000000000000000000000000000000000000000003410000079e0ccf41c1bf95814e94b1bb528286360ab348fbdbe6d88ab4326e92b0e22b6aafdba795661c76216f638917f703874b7a7c11b09136e1c40c759079e08d25ead98b2a54c00819c809031c1c532fe81474455b2164af72abc5adf1fae294c2d211d5d91cae5a63dba4aa0fef0c2ee40f07326a4e6c12fbe0e3e4301ae6c755d11110305ff800600000000000000000000000000000000000000000000000000000000000000000000000000000000001500000000000000070000000000000060d85af28be8d1c40a08d98b009d5f8acc1384a385cf460800e478791d1a979c00000000000000000000000000000000000000000000000000000000000000008c4f5775d796503e96137f77c68a829a0056ac8ded70140b081b094490c57bff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055ff9841726e0844f79627ed52300e9ed3d80df9b96c1b5077be05eae8c7f7240000000000000000000000000000000000000000000000000000000000000000f88d17f91c2dfcf5a0bbbd331f00ed75ae2476865c49bff369dfeb47e0a2032cb5e0778b5b9ca6a1221b6e351e4dd4003c6269facc7f1b70f05ce5671d090a232000000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f0500cc0d00002d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949456744434342436567417749424167495641507a733541517737784d2f6d2f44356f5669685176326a625a75664d416f4743437147534d343942414d430a4d484578497a416842674e5642414d4d476b6c756447567349464e48574342515130736755484a765932567a6332397949454e424d526f77474159445651514b0a4442464a626e526c6243424462334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e560a4241674d416b4e424d517377435159445651514745774a56557a4165467730794d54417a4d6a4d784e7a49354d446461467730794f44417a4d6a4d784e7a49350a4d4464614d484178496a416742674e5642414d4d47556c756447567349464e4857434251513073675132567964476c6d61574e6864475578476a415942674e560a42416f4d45556c756447567349454e76636e4276636d4630615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b470a413155454341774351304578437a414a42674e5642415954416c56544d466b77457759484b6f5a497a6a3043415159494b6f5a497a6a304441516344516741450a3935686643793248525170376e7766332f776d6a636749646e464f737632634b62525263547077797937466b4c71744d7a2b503234414751433737777350664f0a3141677165677543693065366e4b4531514f5553324b4f434170737767674b584d42384741315564497751594d426141464e446f71747031312f6b75535265590a504873555a644456386c6c4e4d46384741315564487752594d465977564b42536f464347546d68306448427a4f693876595842704c6e527964584e305a57527a0a5a584a3261574e6c63793570626e526c6243356a62323076633264344c324e6c636e52705a6d6c6a5958527062323476646a497663474e7259334a7350324e680a5058427962324e6c63334e76636a416442674e5648513445466751552f6746447943726b593350577134554565386e2b6337444f4b74497744675944565230500a4151482f42415144416762414d41774741315564457745422f7751434d4141776767485542676b71686b69472b45304244514545676748464d494942775441650a42676f71686b69472b45304244514542424242374d744e374b536a6d7656797674544641645274394d4949425a41594b4b6f5a496876684e41513042416a43430a415651774541594c4b6f5a496876684e4151304241674543415245774541594c4b6f5a496876684e4151304241674943415245774541594c4b6f5a496876684e0a4151304241674d43415149774541594c4b6f5a496876684e4151304241675143415151774541594c4b6f5a496876684e4151304241675543415145774551594c0a4b6f5a496876684e4151304241675943416743414d42414743797147534962345451454e41514948416745474d42414743797147534962345451454e415149490a416745414d42414743797147534962345451454e4151494a416745414d42414743797147534962345451454e4151494b416745414d42414743797147534962340a5451454e4151494c416745414d42414743797147534962345451454e4151494d416745414d42414743797147534962345451454e4151494e416745414d4241470a43797147534962345451454e4151494f416745414d42414743797147534962345451454e41514950416745414d42414743797147534962345451454e415149510a416745414d42414743797147534962345451454e415149524167454b4d42384743797147534962345451454e41514953424241524551494541594147414141410a41414141414141414d42414743697147534962345451454e41514d45416741414d42514743697147534962345451454e415151454267435162745541414441500a42676f71686b69472b45304244514546436745414d416f4743437147534d343942414d43413063414d455143494551625578385a6e79506d7442516b3474524c0a6d476f4e38304957366e55704637736144426e43334c6a48416941676d375a724e4c4348746656683979646e53634b6254365438546b357959527766484f65340a536b746936413d3d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a2d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949436c7a4343416a36674177494241674956414e446f71747031312f6b7553526559504873555a644456386c6c4e4d416f4743437147534d343942414d430a4d476778476a415942674e5642414d4d45556c756447567349464e48574342536232393049454e424d526f77474159445651514b4442464a626e526c624342440a62334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e564241674d416b4e424d5173770a435159445651514745774a56557a4165467730784f4441314d6a45784d4451314d4468614677307a4d7a41314d6a45784d4451314d4468614d484578497a41680a42674e5642414d4d476b6c756447567349464e48574342515130736755484a765932567a6332397949454e424d526f77474159445651514b4442464a626e526c0a6243424462334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e564241674d416b4e420a4d517377435159445651514745774a56557a425a4d424d4742797147534d34394167454743437147534d34394177454841304941424c39712b4e4d7032494f670a74646c31626b2f75575a352b5447516d38614369387a373866732b664b435133642b75447a586e56544154325a68444369667949754a77764e33774e427039690a484253534d4a4d4a72424f6a6762737767626777487759445652306a42426777466f4155496d554d316c71644e496e7a6737535655723951477a6b6e427177770a556759445652306642457377535442486f45576751345a426148523063484d364c79396a5a584a3061575a70593246305a584d7564484a316333526c5a484e6c0a636e5a705932567a4c6d6c75644756734c6d4e766253394a626e526c62464e4857464a76623352445153356a636d7777485159445652304f42425945464e446f0a71747031312f6b7553526559504873555a644456386c6c4e4d41344741315564447745422f77514541774942426a415342674e5648524d4241663845434441470a4151482f416745414d416f4743437147534d343942414d43413063414d45514349432f396a2b3834542b487a74564f2f734f5142574a6253642b2f327565784b0a342b6141306a6346424c63704169413364684d72463563443532743646714d764149706a385864476d79326265656c6a4c4a4b2b707a706352413d3d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a2d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949436a6a4343416a53674177494241674955496d554d316c71644e496e7a6737535655723951477a6b6e42717777436759494b6f5a497a6a3045417749770a614445614d4267474131554541777752535735305a5777675530645949464a766233516751304578476a415942674e5642416f4d45556c756447567349454e760a636e4276636d4630615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b47413155454341774351304578437a414a0a42674e5642415954416c56544d423458445445344d4455794d5445774e4445784d566f5844544d7a4d4455794d5445774e4445784d466f77614445614d4267470a4131554541777752535735305a5777675530645949464a766233516751304578476a415942674e5642416f4d45556c756447567349454e76636e4276636d46300a615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b47413155454341774351304578437a414a42674e56424159540a416c56544d466b77457759484b6f5a497a6a3043415159494b6f5a497a6a3044415163445167414543366e45774d4449595a4f6a2f69505773437a61454b69370a314f694f534c52466857476a626e42564a66566e6b59347533496a6b4459594c304d784f346d717379596a6c42616c54565978465032734a424b357a6c4b4f420a757a43427544416642674e5648534d4547444157674251695a517a575770303069664f44744a5653763141624f5363477244425342674e5648523845537a424a0a4d45656752614244686b466f64485277637a6f764c324e6c636e52705a6d6c6a5958526c63793530636e567a6447566b63325679646d6c6a5a584d75615735300a5a577775593239744c306c756447567355306459556d397664454e424c6d4e796244416442674e564851344546675155496d554d316c71644e496e7a673753560a55723951477a6b6e4271777744675944565230504151482f42415144416745474d42494741315564457745422f7751494d4159424166384341514577436759490a4b6f5a497a6a30454177494453414177525149675151732f30387279636450617543466b3855505158434d416c736c6f4265374e7761514754636470613045430a495143557438534776784b6d6a70634d2f7a3057503944766f3868326b3564753169574464426b416e2b306969413d3d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a0001000000000000000100000000000000100000000000000020000000000000007367785f7265706f72745f6461746100c801be0e15cdd5fdef828ec11b69551941f48aa200c17438d11286471c3e118c"},"cda0fa96a7916caafd144ea4b3d4188b197cff605b32416a3b47c1c69aeff594":{"mrenclave":"8e67b83969dea1207c06fb5191bfd45662c196d030bed26796b75f09c0e1c4bc","nodeId":"cda0fa96a7916caafd144ea4b3d4188b197cff605b32416a3b47c1c69aeff594","quoteVersion":"OE_SGX_v1","raw":"030002000000000005000a00939a7233f79c4ca9940a0db3957f060754a876d8093c9425005f2e6815d530010000000011110305ff80060000000000000000000000000000000000000000000000000000000000000000000000000000000000050000000000000007000000000000008e67b83969dea1207c06fb5191bfd45662c196d030bed26796b75f09c0e1c4bc000000000000000000000000000000000000000000000000000000000000000056a35b461bd8042255f6d33ee5ce7afa34f7024a35b74f15c5808e0c00864226000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008e302cec2c9c0d898ea0824736115427df94d26cb51ebc0913ef0feaf0c37db9000000000000000000000000000000000000000000000000000000000000000034100000932a7fe206944a7f06a203b73c4d35ac6d53c490fc017f7568a6a577cb2255290f23021dc1a3deb6159be60bc6e43de50f7da2921f71163ecafe18bee73c01bb06834e14e82c9982eb6cee7471e3b13721661ece0a68458b0948b26ed53322b58dbf3252283ce9fe4703d59aff2003d8f94c5b61722eefd439c735d7e40b0e9a11110305ff800600000000000000000000000000000000000000000000000000000000000000000000000000000000001500000000000000070000000000000060d85af28be8d1c40a08d98b009d5f8acc1384a385cf460800e478791d1a979c00000000000000000000000000000000000000000000000000000000000000008c4f5775d796503e96137f77c68a829a0056ac8ded70140b081b094490c57bff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000751ade3621fe0e0e62fdfda76b32e7524bd87388a96e0a98ace244c95a8965b500000000000000000000000000000000000000000000000000000000000000000322ce315e71a60490bddf773f32b059f4cce7b435d550e2c1cd34aa7faf1cf4d06858ceb9ff5b8fa2aa9d3ba7a564c53853ca78ea6e1175e02b185f94ec4e852000000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f0500cc0d00002d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d49494567544343424365674177494241674956414c546d71796a394e4363724f414844654849486f6c754d565758464d416f4743437147534d343942414d430a4d484578497a416842674e5642414d4d476b6c756447567349464e48574342515130736755484a765932567a6332397949454e424d526f77474159445651514b0a4442464a626e526c6243424462334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e560a4241674d416b4e424d517377435159445651514745774a56557a4165467730794d54417a4d6a4d774f544d304e546c61467730794f44417a4d6a4d774f544d300a4e546c614d484178496a416742674e5642414d4d47556c756447567349464e4857434251513073675132567964476c6d61574e6864475578476a415942674e560a42416f4d45556c756447567349454e76636e4276636d4630615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b470a413155454341774351304578437a414a42674e5642415954416c56544d466b77457759484b6f5a497a6a3043415159494b6f5a497a6a304441516344516741450a715165687944707854673273444b6849772b64454f2b42647536527039586f516e6c3359322f6a32497455566e524374704236484c707943325a45614d6853610a4b716c6f436476715674426872504f7364377374474b4f434170737767674b584d42384741315564497751594d426141464e446f71747031312f6b75535265590a504873555a644456386c6c4e4d46384741315564487752594d465977564b42536f464347546d68306448427a4f693876595842704c6e527964584e305a57527a0a5a584a3261574e6c63793570626e526c6243356a62323076633264344c324e6c636e52705a6d6c6a5958527062323476646a497663474e7259334a7350324e680a5058427962324e6c63334e76636a416442674e5648513445466751552f724673795665793276384e58594e354178754c766177586868347744675944565230500a4151482f42415144416762414d41774741315564457745422f7751434d4141776767485542676b71686b69472b45304244514545676748464d494942775441650a42676f71686b69472b4530424451454242424132346f6d696e7451356a58772f325543756237766b4d4949425a41594b4b6f5a496876684e41513042416a43430a415651774541594c4b6f5a496876684e4151304241674543415245774541594c4b6f5a496876684e4151304241674943415245774541594c4b6f5a496876684e0a4151304241674d43415149774541594c4b6f5a496876684e4151304241675143415151774541594c4b6f5a496876684e4151304241675543415145774551594c0a4b6f5a496876684e4151304241675943416743414d42414743797147534962345451454e41514948416745474d42414743797147534962345451454e415149490a416745414d42414743797147534962345451454e4151494a416745414d42414743797147534962345451454e4151494b416745414d42414743797147534962340a5451454e4151494c416745414d42414743797147534962345451454e4151494d416745414d42414743797147534962345451454e4151494e416745414d4241470a43797147534962345451454e4151494f416745414d42414743797147534962345451454e41514950416745414d42414743797147534962345451454e415149510a416745414d42414743797147534962345451454e415149524167454b4d42384743797147534962345451454e41514953424241524551494541594147414141410a41414141414141414d42414743697147534962345451454e41514d45416741414d42514743697147534962345451454e415151454267435162745541414441500a42676f71686b69472b45304244514546436745414d416f4743437147534d343942414d43413067414d455543494252454b346b4c5559532b766149336436536d0a6668564f613642726d4c43316d50314b7265346f52456262416945416d78325a496f506f36584838303839576668746f6539356b6345733432507050343152370a643544467167513d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a2d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949436c7a4343416a36674177494241674956414e446f71747031312f6b7553526559504873555a644456386c6c4e4d416f4743437147534d343942414d430a4d476778476a415942674e5642414d4d45556c756447567349464e48574342536232393049454e424d526f77474159445651514b4442464a626e526c624342440a62334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e564241674d416b4e424d5173770a435159445651514745774a56557a4165467730784f4441314d6a45784d4451314d4468614677307a4d7a41314d6a45784d4451314d4468614d484578497a41680a42674e5642414d4d476b6c756447567349464e48574342515130736755484a765932567a6332397949454e424d526f77474159445651514b4442464a626e526c0a6243424462334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e564241674d416b4e420a4d517377435159445651514745774a56557a425a4d424d4742797147534d34394167454743437147534d34394177454841304941424c39712b4e4d7032494f670a74646c31626b2f75575a352b5447516d38614369387a373866732b664b435133642b75447a586e56544154325a68444369667949754a77764e33774e427039690a484253534d4a4d4a72424f6a6762737767626777487759445652306a42426777466f4155496d554d316c71644e496e7a6737535655723951477a6b6e427177770a556759445652306642457377535442486f45576751345a426148523063484d364c79396a5a584a3061575a70593246305a584d7564484a316333526c5a484e6c0a636e5a705932567a4c6d6c75644756734c6d4e766253394a626e526c62464e4857464a76623352445153356a636d7777485159445652304f42425945464e446f0a71747031312f6b7553526559504873555a644456386c6c4e4d41344741315564447745422f77514541774942426a415342674e5648524d4241663845434441470a4151482f416745414d416f4743437147534d343942414d43413063414d45514349432f396a2b3834542b487a74564f2f734f5142574a6253642b2f327565784b0a342b6141306a6346424c63704169413364684d72463563443532743646714d764149706a385864476d79326265656c6a4c4a4b2b707a706352413d3d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a2d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949436a6a4343416a53674177494241674955496d554d316c71644e496e7a6737535655723951477a6b6e42717777436759494b6f5a497a6a3045417749770a614445614d4267474131554541777752535735305a5777675530645949464a766233516751304578476a415942674e5642416f4d45556c756447567349454e760a636e4276636d4630615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b47413155454341774351304578437a414a0a42674e5642415954416c56544d423458445445344d4455794d5445774e4445784d566f5844544d7a4d4455794d5445774e4445784d466f77614445614d4267470a4131554541777752535735305a5777675530645949464a766233516751304578476a415942674e5642416f4d45556c756447567349454e76636e4276636d46300a615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b47413155454341774351304578437a414a42674e56424159540a416c56544d466b77457759484b6f5a497a6a3043415159494b6f5a497a6a3044415163445167414543366e45774d4449595a4f6a2f69505773437a61454b69370a314f694f534c52466857476a626e42564a66566e6b59347533496a6b4459594c304d784f346d717379596a6c42616c54565978465032734a424b357a6c4b4f420a757a43427544416642674e5648534d4547444157674251695a517a575770303069664f44744a5653763141624f5363477244425342674e5648523845537a424a0a4d45656752614244686b466f64485277637a6f764c324e6c636e52705a6d6c6a5958526c63793530636e567a6447566b63325679646d6c6a5a584d75615735300a5a577775593239744c306c756447567355306459556d397664454e424c6d4e796244416442674e564851344546675155496d554d316c71644e496e7a673753560a55723951477a6b6e4271777744675944565230504151482f42415144416745474d42494741315564457745422f7751494d4159424166384341514577436759490a4b6f5a497a6a30454177494453414177525149675151732f30387279636450617543466b3855505158434d416c736c6f4265374e7761514754636470613045430a495143557438534776784b6d6a70634d2f7a3057503944766f3868326b3564753169574464426b416e2b306969413d3d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a0001000000000000000100000000000000100000000000000020000000000000007367785f7265706f72745f6461746100cda0fa96a7916caafd144ea4b3d4188b197cff605b32416a3b47c1c69aeff594"}}}' + headers: + content-length: + - '28866' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.1836' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_aad_async.test_append_entry_flow.yaml b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_aad_async.test_append_entry_flow.yaml new file mode 100644 index 000000000000..3d8e06bfed61 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_aad_async.test_append_entry_flow.yaml @@ -0,0 +1,249 @@ +interactions: +- request: + body: '{"assignedRole": "Administrator"}' + headers: + Accept: + - application/json + Content-Length: + - '33' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: PATCH + uri: https://fake-confidential-ledger.azure.com/app/users/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?api-version=0.1-preview + response: + body: + string: '{"assignedRole":"Administrator","userId":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}' + headers: + content-length: '80' + content-type: application/json + x-ms-ccf-transaction-id: '2.1837' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/users/e76336f1-cae2-492f-84bc-bfcbb6503c9b?api-version=0.1-preview +- request: + body: '{"contents": "Test entry from Python SDK"}' + headers: + Accept: + - application/json + Content-Length: + - '42' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview + response: + body: + string: '{"subLedgerId":"subledger:0"}' + headers: + content-length: '29' + content-type: application/json + x-ms-ccf-transaction-id: '2.1838' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.1838/status?api-version=0.1-preview + response: + body: + string: '{"state":"Committed","transactionId":"2.1838"}' + headers: + content-length: '46' + content-type: application/json + x-ms-ccf-transaction-id: '2.1839' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/2.1838/status?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.1838/status?api-version=0.1-preview + response: + body: + string: '{"state":"Committed","transactionId":"2.1838"}' + headers: + content-length: '46' + content-type: application/json + x-ms-ccf-transaction-id: '2.1839' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/2.1838/status?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.1838/receipt?api-version=0.1-preview + response: + body: + string: "{\n \"receipt\": {\n \"leaf\": \"\",\n \"node_id\": \"\",\n + \ \"proof\": [],\n \"root\": \"\",\n \"signature\": \"\"\n },\n \"state\": + \"Loading\",\n \"transactionId\": \"\"\n}" + headers: + content-length: '155' + content-type: application/json + x-ms-ccf-transaction-id: '2.1839' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/2.1838/receipt?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.1838/receipt?api-version=0.1-preview + response: + body: + string: "{\n \"receipt\": {\n \"leaf\": \"d6b947cf5b39ad54a10f7d857e697d3056640b9739d195a3f030fba72e333d77\",\n + \ \"node_id\": \"c801be0e15cdd5fdef828ec11b69551941f48aa200c17438d11286471c3e118c\",\n + \ \"proof\": [\n {\n \"left\": \"0a92da1ffbc2aa4ae96a9c0c0d42ce4a16b5d3b135c6e2c082479c93d1fdd810\"\n + \ },\n {\n \"left\": \"a9e1cb779311185edeffe1d1817e4f904651f6bc573550542602626abe38501a\"\n + \ },\n {\n \"left\": \"f4d625f028f0592bd72fe981a08caaf2169991ce521e70d3dddac066ea235272\"\n + \ },\n {\n \"left\": \"c29a4b0194fa4a4d72e2a74248d42c3d653344fe576a3c5b10edb8bd2d7ed61f\"\n + \ },\n {\n \"left\": \"96cdc79a790c95835b64baa35578025ea6c71123b469a23f780d45d4a912a0c7\"\n + \ },\n {\n \"left\": \"a7d18ac2d0561cb6d9923e65393f54a951e0ead8b844c4a7a60b4d920c090097\"\n + \ },\n {\n \"left\": \"b1f43f8a8b2de6743c0a62c1f31d1b4e0caa9d3323acb9d0f51c810ac8dafe2f\"\n + \ }\n ],\n \"root\": \"52de7a5d839c8d2edf088a435615ef16a44e3da3fafbfebdc43123b6a2b3150c\",\n + \ \"signature\": \"MGUCMHTo+hNFM3YVZZtDTeHNYjnzUvpK7MH/ecVP+1FYFFMc2Kfp0RopknuAKqlUN7O9cAIxAKE9JpAgKbb+DGVzwdydU+YEqtsXjjXQhamCCab/GBK542DxGQtccPRDSfuwX1h7Ug==\"\n + \ },\n \"state\": \"Ready\",\n \"transactionId\": \"2.1838\"\n}" + headers: + content-length: '1195' + content-type: application/json + x-ms-ccf-transaction-id: '2.1839' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/2.1838/receipt?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/current?api-version=0.1-preview + response: + body: + string: '{"contents":"Test entry from Python SDK","subLedgerId":"subledger:0","transactionId":"2.1839"}' + headers: + content-length: '94' + content-type: application/json + x-ms-ccf-transaction-id: '2.1839' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/current?api-version=0.1-preview +- request: + body: '{"contents": "Test entry 2 from Python SDK"}' + headers: + Accept: + - application/json + Content-Length: + - '44' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview + response: + body: + string: '{"subLedgerId":"subledger:0"}' + headers: + content-length: '29' + content-type: application/json + x-ms-ccf-transaction-id: '2.1840' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.1840/status?api-version=0.1-preview + response: + body: + string: '{"state":"Committed","transactionId":"2.1840"}' + headers: + content-length: '46' + content-type: application/json + x-ms-ccf-transaction-id: '2.1841' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/2.1840/status?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/current?api-version=0.1-preview + response: + body: + string: '{"contents":"Test entry 2 from Python SDK","subLedgerId":"subledger:0","transactionId":"2.1841"}' + headers: + content-length: '96' + content-type: application/json + x-ms-ccf-transaction-id: '2.1841' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/current?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.1838?api-version=0.1-preview + response: + body: + string: "{\n \"entry\": {\n \"contents\": \"Test entry from Python SDK\",\n + \ \"subLedgerId\": \"subledger:0\",\n \"transactionId\": \"2.1838\"\n + \ },\n \"state\": \"Ready\"\n}" + headers: + content-length: '150' + content-type: application/json + x-ms-ccf-transaction-id: '2.1841' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/2.1838?api-version=0.1-preview +version: 1 diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_aad_async.test_append_entry_flow_with_sub_ledger_id.yaml b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_aad_async.test_append_entry_flow_with_sub_ledger_id.yaml new file mode 100644 index 000000000000..ca9c1978c0e1 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_aad_async.test_append_entry_flow_with_sub_ledger_id.yaml @@ -0,0 +1,290 @@ +interactions: +- request: + body: '{"assignedRole": "Administrator"}' + headers: + Accept: + - application/json + Content-Length: + - '33' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: PATCH + uri: https://fake-confidential-ledger.azure.com/app/users/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?api-version=0.1-preview + response: + body: + string: '{"assignedRole":"Administrator","userId":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}' + headers: + content-length: '80' + content-type: application/json + x-ms-ccf-transaction-id: '2.1842' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/users/e76336f1-cae2-492f-84bc-bfcbb6503c9b?api-version=0.1-preview +- request: + body: '{"contents": "Test sub-ledger entry from Python SDK"}' + headers: + Accept: + - application/json + Content-Length: + - '53' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=132 + response: + body: + string: '{"subLedgerId":"132"}' + headers: + content-length: '21' + content-type: application/json + x-ms-ccf-transaction-id: '2.1844' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=132 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.1844/status?api-version=0.1-preview + response: + body: + string: '{"state":"Pending","transactionId":"2.1844"}' + headers: + content-length: '44' + content-type: application/json + x-ms-ccf-transaction-id: '2.1844' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/2.1844/status?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.1844/status?api-version=0.1-preview + response: + body: + string: '{"state":"Committed","transactionId":"2.1844"}' + headers: + content-length: '46' + content-type: application/json + x-ms-ccf-transaction-id: '2.1845' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/2.1844/status?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.1844/status?api-version=0.1-preview + response: + body: + string: '{"state":"Committed","transactionId":"2.1844"}' + headers: + content-length: '46' + content-type: application/json + x-ms-ccf-transaction-id: '2.1845' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/2.1844/status?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.1844/receipt?api-version=0.1-preview + response: + body: + string: "{\n \"receipt\": {\n \"leaf\": \"\",\n \"node_id\": \"\",\n + \ \"proof\": [],\n \"root\": \"\",\n \"signature\": \"\"\n },\n \"state\": + \"Loading\",\n \"transactionId\": \"\"\n}" + headers: + content-length: '155' + content-type: application/json + x-ms-ccf-transaction-id: '2.1845' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/2.1844/receipt?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.1844/receipt?api-version=0.1-preview + response: + body: + string: "{\n \"receipt\": {\n \"leaf\": \"\",\n \"node_id\": \"\",\n + \ \"proof\": [],\n \"root\": \"\",\n \"signature\": \"\"\n },\n \"state\": + \"Loading\",\n \"transactionId\": \"\"\n}" + headers: + content-length: '155' + content-type: application/json + x-ms-ccf-transaction-id: '2.1845' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/2.1844/receipt?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.1844/receipt?api-version=0.1-preview + response: + body: + string: "{\n \"receipt\": {\n \"leaf\": \"97a3d56f477c5a86f53752d5ebd7b05ec7823a30ac6b143e255e38b3c9c757de\",\n + \ \"node_id\": \"c801be0e15cdd5fdef828ec11b69551941f48aa200c17438d11286471c3e118c\",\n + \ \"proof\": [\n {\n \"left\": \"412be6e6e59fe38d2e8f4cdc6f4916ec21beecc558b83b5a42e87f7a9f131986\"\n + \ },\n {\n \"left\": \"140d526184b1fb76a9a7002f87dee8ee19ad59616e779097b4dbea621c712478\"\n + \ },\n {\n \"left\": \"c29a4b0194fa4a4d72e2a74248d42c3d653344fe576a3c5b10edb8bd2d7ed61f\"\n + \ },\n {\n \"left\": \"96cdc79a790c95835b64baa35578025ea6c71123b469a23f780d45d4a912a0c7\"\n + \ },\n {\n \"left\": \"a7d18ac2d0561cb6d9923e65393f54a951e0ead8b844c4a7a60b4d920c090097\"\n + \ },\n {\n \"left\": \"b1f43f8a8b2de6743c0a62c1f31d1b4e0caa9d3323acb9d0f51c810ac8dafe2f\"\n + \ }\n ],\n \"root\": \"a4d2da720f65ee6fe5c2e754fb4fac265cd4e9f0cbd658d3e7c773508925e9bf\",\n + \ \"signature\": \"MGQCMHQVKsvIUged8WnzPmbAs5DGPlofnq4pP6QyuRJmGG7G6A5TXajC+daxMSB5xo2gyQIwdAhZWH3GNCEuEuVGUGgInKOSQnaEUjthB/RVOOtQeLl683hpuULgH/GVlq+Xm3cu\"\n + \ },\n \"state\": \"Ready\",\n \"transactionId\": \"2.1844\"\n}" + headers: + content-length: '1091' + content-type: application/json + x-ms-ccf-transaction-id: '2.1845' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/2.1844/receipt?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/current?api-version=0.1-preview&subLedgerId=132 + response: + body: + string: '{"contents":"Test sub-ledger entry from Python SDK","subLedgerId":"132","transactionId":"2.1845"}' + headers: + content-length: '97' + content-type: application/json + x-ms-ccf-transaction-id: '2.1845' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/current?api-version=0.1-preview&subLedgerId=132 +- request: + body: '{"contents": "Test sub-ledger entry 2 from Python SDK"}' + headers: + Accept: + - application/json + Content-Length: + - '55' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=132 + response: + body: + string: '{"subLedgerId":"132"}' + headers: + content-length: '21' + content-type: application/json + x-ms-ccf-transaction-id: '2.1846' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=132 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.1846/status?api-version=0.1-preview + response: + body: + string: '{"state":"Committed","transactionId":"2.1846"}' + headers: + content-length: '46' + content-type: application/json + x-ms-ccf-transaction-id: '2.1847' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/2.1846/status?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/current?api-version=0.1-preview&subLedgerId=132 + response: + body: + string: '{"contents":"Test sub-ledger entry 2 from Python SDK","subLedgerId":"132","transactionId":"2.1847"}' + headers: + content-length: '99' + content-type: application/json + x-ms-ccf-transaction-id: '2.1847' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/current?api-version=0.1-preview&subLedgerId=132 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.1844?api-version=0.1-preview&subLedgerId=132 + response: + body: + string: "{\n \"entry\": {\n \"contents\": \"Test sub-ledger entry from Python + SDK\",\n \"subLedgerId\": \"132\",\n \"transactionId\": \"2.1844\"\n + \ },\n \"state\": \"Ready\"\n}" + headers: + content-length: '153' + content-type: application/json + x-ms-ccf-transaction-id: '2.1847' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/2.1844?api-version=0.1-preview&subLedgerId=132 +version: 1 diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_aad_async.test_range_query.yaml b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_aad_async.test_range_query.yaml new file mode 100644 index 000000000000..8baffd4cfa17 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_aad_async.test_range_query.yaml @@ -0,0 +1,5940 @@ +interactions: +- request: + body: '{"assignedRole": "Administrator"}' + headers: + Accept: + - application/json + Content-Length: + - '33' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: PATCH + uri: https://fake-confidential-ledger.azure.com/app/users/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?api-version=0.1-preview + response: + body: + string: '{"assignedRole":"Administrator","userId":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}' + headers: + content-length: '80' + content-type: application/json + x-ms-ccf-transaction-id: '2.1848' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/users/e76336f1-cae2-492f-84bc-bfcbb6503c9b?api-version=0.1-preview +- request: + body: '{"contents": "message-0"}' + headers: + Accept: + - application/json + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1849' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-1"}' + headers: + Accept: + - application/json + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1851' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-2"}' + headers: + Accept: + - application/json + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1852' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-3"}' + headers: + Accept: + - application/json + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1854' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-4"}' + headers: + Accept: + - application/json + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1856' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-5"}' + headers: + Accept: + - application/json + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1857' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-6"}' + headers: + Accept: + - application/json + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1859' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-7"}' + headers: + Accept: + - application/json + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1860' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-8"}' + headers: + Accept: + - application/json + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1862' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-9"}' + headers: + Accept: + - application/json + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1864' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-10"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1865' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-11"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1867' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-12"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1869' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-13"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1870' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-14"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1872' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-15"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1874' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-16"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1875' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-17"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1877' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-18"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1878' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-19"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1880' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-20"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1882' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-21"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1883' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-22"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1884' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-23"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1886' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-24"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1887' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-25"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1889' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-26"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1891' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-27"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1892' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-28"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1894' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-29"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1896' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-30"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1897' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-31"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1899' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-32"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1901' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-33"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1902' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-34"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1904' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-35"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1905' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-36"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1907' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-37"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1909' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-38"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1910' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-39"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1912' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-40"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1914' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-41"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1915' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-42"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1917' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-43"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1919' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-44"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1920' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-45"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1922' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-46"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1924' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-47"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1925' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-48"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1927' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-49"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1929' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-50"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1930' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-51"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1932' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-52"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1933' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-53"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1935' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-54"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1937' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-55"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1938' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-56"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1940' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-57"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1941' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-58"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1943' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-59"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1945' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-60"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1946' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-61"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1948' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-62"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1950' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-63"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1951' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-64"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1953' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-65"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1955' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-66"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1956' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-67"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1958' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-68"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1960' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-69"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1961' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-70"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1963' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-71"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1964' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-72"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1966' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-73"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1968' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-74"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1970' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-75"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1971' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-76"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1973' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-77"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1975' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-78"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1976' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-79"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1978' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-80"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1979' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-81"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1981' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-82"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1983' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-83"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1984' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-84"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1986' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-85"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1988' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-86"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1989' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-87"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1991' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-88"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1993' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-89"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1994' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-90"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1996' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-91"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1998' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-92"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.1999' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-93"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2001' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-94"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2002' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-95"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2004' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-96"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2005' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-97"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2006' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-98"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2008' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-99"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2010' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-100"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2011' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-101"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2013' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-102"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2014' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-103"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2016' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-104"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2018' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-105"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2019' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-106"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2021' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-107"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2023' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-108"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2024' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-109"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2026' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-110"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2028' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-111"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2029' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-112"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2031' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-113"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2032' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-114"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2033' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-115"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2035' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-116"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2036' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-117"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2038' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-118"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2040' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-119"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2041' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-120"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2043' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-121"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2044' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-122"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2046' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-123"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2048' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-124"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2049' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-125"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2051' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-126"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2052' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-127"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2054' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-128"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2056' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-129"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2057' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-130"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2059' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-131"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2061' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-132"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2062' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-133"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2064' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-134"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2065' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-135"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2067' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-136"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2069' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-137"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2070' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-138"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2072' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-139"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2073' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-140"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2075' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-141"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2077' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-142"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2078' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-143"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2080' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-144"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2081' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-145"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2083' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-146"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2085' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-147"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2086' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-148"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2088' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-149"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2089' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-150"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2091' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-151"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2093' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-152"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2094' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-153"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2096' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-154"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2097' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-155"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2099' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-156"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2100' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-157"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2102' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-158"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2104' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-159"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2105' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-160"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2107' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-161"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2109' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-162"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2110' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-163"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2112' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-164"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2114' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-165"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2115' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-166"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2117' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-167"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2119' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-168"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2120' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-169"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2122' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-170"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2123' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-171"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2125' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-172"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2127' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-173"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2128' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-174"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2130' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-175"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2131' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-176"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2133' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-177"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2135' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-178"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2136' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-179"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2138' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-180"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2139' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-181"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2141' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-182"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2143' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-183"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2144' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-184"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2146' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-185"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2148' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-186"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2149' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-187"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2151' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-188"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2152' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-189"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2154' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-190"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2156' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-191"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2157' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-192"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2159' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-193"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2161' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-194"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2162' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-195"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2164' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-196"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2166' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-197"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2167' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-198"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2169' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-199"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2170' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-200"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2172' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.1849 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.1849\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.1849 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.1849 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.1950\",\n + \ \"entries\": [\n {\n \"contents\": \"message-0\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.1849\"\n },\n {\n \"contents\": + \"message-5\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.1857\"\n + \ },\n {\n \"contents\": \"message-10\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.1865\"\n },\n {\n \"contents\": + \"message-15\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.1874\"\n + \ },\n {\n \"contents\": \"message-20\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.1882\"\n },\n {\n \"contents\": + \"message-25\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.1889\"\n + \ },\n {\n \"contents\": \"message-30\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.1897\"\n },\n {\n \"contents\": + \"message-35\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.1905\"\n + \ },\n {\n \"contents\": \"message-40\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.1914\"\n },\n {\n \"contents\": + \"message-45\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.1922\"\n + \ },\n {\n \"contents\": \"message-50\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.1930\"\n },\n {\n \"contents\": + \"message-55\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.1938\"\n + \ },\n {\n \"contents\": \"message-60\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.1946\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '1477' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.1849 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.1950 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.1950\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.1950 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.1950 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2051\",\n + \ \"entries\": [\n {\n \"contents\": \"message-65\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.1955\"\n },\n {\n \"contents\": + \"message-70\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.1963\"\n + \ },\n {\n \"contents\": \"message-75\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.1971\"\n },\n {\n \"contents\": + \"message-80\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.1979\"\n + \ },\n {\n \"contents\": \"message-85\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.1988\"\n },\n {\n \"contents\": + \"message-90\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.1996\"\n + \ },\n {\n \"contents\": \"message-95\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2004\"\n },\n {\n \"contents\": + \"message-100\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.2011\"\n },\n {\n \"contents\": \"message-105\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2019\"\n },\n {\n \"contents\": + \"message-110\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.2028\"\n },\n {\n \"contents\": \"message-115\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2035\"\n },\n {\n \"contents\": + \"message-120\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.2043\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '1381' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.1950 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2051 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2051\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2051 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2051 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2152\",\n + \ \"entries\": [\n {\n \"contents\": \"message-125\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2051\"\n },\n {\n \"contents\": + \"message-130\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.2059\"\n },\n {\n \"contents\": \"message-135\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2067\"\n },\n {\n \"contents\": + \"message-140\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.2075\"\n },\n {\n \"contents\": \"message-145\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2083\"\n },\n {\n \"contents\": + \"message-150\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.2091\"\n },\n {\n \"contents\": \"message-155\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2099\"\n },\n {\n \"contents\": + \"message-160\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.2107\"\n },\n {\n \"contents\": \"message-165\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2115\"\n },\n {\n \"contents\": + \"message-170\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.2123\"\n },\n {\n \"contents\": \"message-175\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2131\"\n },\n {\n \"contents\": + \"message-180\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.2139\"\n },\n {\n \"contents\": \"message-185\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2148\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '1492' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2051 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2152 + response: + body: + string: "{\n \"entries\": [\n {\n \"contents\": \"message-190\",\n + \ \"subLedgerId\": \"0\",\n \"transactionId\": \"2.2156\"\n },\n + \ {\n \"contents\": \"message-195\",\n \"subLedgerId\": \"0\",\n + \ \"transactionId\": \"2.2164\"\n },\n {\n \"contents\": \"message-200\",\n + \ \"subLedgerId\": \"0\",\n \"transactionId\": \"2.2172\"\n }\n + \ ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '353' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2152 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.1851 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.1851\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.1851 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.1851 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.1952\",\n + \ \"entries\": [\n {\n \"contents\": \"message-1\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.1851\"\n },\n {\n \"contents\": + \"message-6\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.1859\"\n + \ },\n {\n \"contents\": \"message-11\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.1867\"\n },\n {\n \"contents\": + \"message-16\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.1875\"\n + \ },\n {\n \"contents\": \"message-21\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.1883\"\n },\n {\n \"contents\": + \"message-26\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.1891\"\n + \ },\n {\n \"contents\": \"message-31\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.1899\"\n },\n {\n \"contents\": + \"message-36\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.1907\"\n + \ },\n {\n \"contents\": \"message-41\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.1915\"\n },\n {\n \"contents\": + \"message-46\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.1924\"\n + \ },\n {\n \"contents\": \"message-51\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.1932\"\n },\n {\n \"contents\": + \"message-56\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.1940\"\n + \ },\n {\n \"contents\": \"message-61\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.1948\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '1477' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.1851 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.1952 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.1952\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.1952 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.1952 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2053\",\n + \ \"entries\": [\n {\n \"contents\": \"message-66\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.1956\"\n },\n {\n \"contents\": + \"message-71\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.1964\"\n + \ },\n {\n \"contents\": \"message-76\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.1973\"\n },\n {\n \"contents\": + \"message-81\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.1981\"\n + \ },\n {\n \"contents\": \"message-86\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.1989\"\n },\n {\n \"contents\": + \"message-91\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.1998\"\n + \ },\n {\n \"contents\": \"message-96\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2005\"\n },\n {\n \"contents\": + \"message-101\",\n \"subLedgerId\": \"1\",\n \"transactionId\": + \"2.2013\"\n },\n {\n \"contents\": \"message-106\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2021\"\n },\n {\n \"contents\": + \"message-111\",\n \"subLedgerId\": \"1\",\n \"transactionId\": + \"2.2029\"\n },\n {\n \"contents\": \"message-116\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2036\"\n },\n {\n \"contents\": + \"message-121\",\n \"subLedgerId\": \"1\",\n \"transactionId\": + \"2.2044\"\n },\n {\n \"contents\": \"message-126\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2052\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '1485' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.1952 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2053 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2053\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2053 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2053 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2154\",\n + \ \"entries\": [\n {\n \"contents\": \"message-131\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2061\"\n },\n {\n \"contents\": + \"message-136\",\n \"subLedgerId\": \"1\",\n \"transactionId\": + \"2.2069\"\n },\n {\n \"contents\": \"message-141\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2077\"\n },\n {\n \"contents\": + \"message-146\",\n \"subLedgerId\": \"1\",\n \"transactionId\": + \"2.2085\"\n },\n {\n \"contents\": \"message-151\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2093\"\n },\n {\n \"contents\": + \"message-156\",\n \"subLedgerId\": \"1\",\n \"transactionId\": + \"2.2100\"\n },\n {\n \"contents\": \"message-161\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2109\"\n },\n {\n \"contents\": + \"message-166\",\n \"subLedgerId\": \"1\",\n \"transactionId\": + \"2.2117\"\n },\n {\n \"contents\": \"message-171\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2125\"\n },\n {\n \"contents\": + \"message-176\",\n \"subLedgerId\": \"1\",\n \"transactionId\": + \"2.2133\"\n },\n {\n \"contents\": \"message-181\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2141\"\n },\n {\n \"contents\": + \"message-186\",\n \"subLedgerId\": \"1\",\n \"transactionId\": + \"2.2149\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '1388' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2053 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2154 + response: + body: + string: "{\n \"entries\": [\n {\n \"contents\": \"message-191\",\n + \ \"subLedgerId\": \"1\",\n \"transactionId\": \"2.2157\"\n },\n + \ {\n \"contents\": \"message-196\",\n \"subLedgerId\": \"1\",\n + \ \"transactionId\": \"2.2166\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '249' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2154 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.1852 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.1852\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.1852 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.1852 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.1852\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.1852 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.1852 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.1953\",\n + \ \"entries\": [\n {\n \"contents\": \"message-2\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.1852\"\n },\n {\n \"contents\": + \"message-7\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.1860\"\n + \ },\n {\n \"contents\": \"message-12\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.1869\"\n },\n {\n \"contents\": + \"message-17\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.1877\"\n + \ },\n {\n \"contents\": \"message-22\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.1884\"\n },\n {\n \"contents\": + \"message-27\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.1892\"\n + \ },\n {\n \"contents\": \"message-32\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.1901\"\n },\n {\n \"contents\": + \"message-37\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.1909\"\n + \ },\n {\n \"contents\": \"message-42\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.1917\"\n },\n {\n \"contents\": + \"message-47\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.1925\"\n + \ },\n {\n \"contents\": \"message-52\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.1933\"\n },\n {\n \"contents\": + \"message-57\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.1941\"\n + \ },\n {\n \"contents\": \"message-62\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.1950\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '1477' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.1852 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.1953 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.1953\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.1953 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.1953 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2054\",\n + \ \"entries\": [\n {\n \"contents\": \"message-67\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.1958\"\n },\n {\n \"contents\": + \"message-72\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.1966\"\n + \ },\n {\n \"contents\": \"message-77\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.1975\"\n },\n {\n \"contents\": + \"message-82\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.1983\"\n + \ },\n {\n \"contents\": \"message-87\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.1991\"\n },\n {\n \"contents\": + \"message-92\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.1999\"\n + \ },\n {\n \"contents\": \"message-97\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2006\"\n },\n {\n \"contents\": + \"message-102\",\n \"subLedgerId\": \"2\",\n \"transactionId\": + \"2.2014\"\n },\n {\n \"contents\": \"message-107\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2023\"\n },\n {\n \"contents\": + \"message-112\",\n \"subLedgerId\": \"2\",\n \"transactionId\": + \"2.2031\"\n },\n {\n \"contents\": \"message-117\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2038\"\n },\n {\n \"contents\": + \"message-122\",\n \"subLedgerId\": \"2\",\n \"transactionId\": + \"2.2046\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '1381' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.1953 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2054 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2155\",\n + \ \"entries\": [\n {\n \"contents\": \"message-127\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2054\"\n },\n {\n \"contents\": + \"message-132\",\n \"subLedgerId\": \"2\",\n \"transactionId\": + \"2.2062\"\n },\n {\n \"contents\": \"message-137\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2070\"\n },\n {\n \"contents\": + \"message-142\",\n \"subLedgerId\": \"2\",\n \"transactionId\": + \"2.2078\"\n },\n {\n \"contents\": \"message-147\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2086\"\n },\n {\n \"contents\": + \"message-152\",\n \"subLedgerId\": \"2\",\n \"transactionId\": + \"2.2094\"\n },\n {\n \"contents\": \"message-157\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2102\"\n },\n {\n \"contents\": + \"message-162\",\n \"subLedgerId\": \"2\",\n \"transactionId\": + \"2.2110\"\n },\n {\n \"contents\": \"message-167\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2119\"\n },\n {\n \"contents\": + \"message-172\",\n \"subLedgerId\": \"2\",\n \"transactionId\": + \"2.2127\"\n },\n {\n \"contents\": \"message-177\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2135\"\n },\n {\n \"contents\": + \"message-182\",\n \"subLedgerId\": \"2\",\n \"transactionId\": + \"2.2143\"\n },\n {\n \"contents\": \"message-187\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2151\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '1492' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2054 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2155 + response: + body: + string: "{\n \"entries\": [\n {\n \"contents\": \"message-192\",\n + \ \"subLedgerId\": \"2\",\n \"transactionId\": \"2.2159\"\n },\n + \ {\n \"contents\": \"message-197\",\n \"subLedgerId\": \"2\",\n + \ \"transactionId\": \"2.2167\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '249' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2155 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.1854 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.1854\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.1854 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.1854 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.1854\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.1854 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.1854 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.1955\",\n + \ \"entries\": [\n {\n \"contents\": \"message-3\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.1854\"\n },\n {\n \"contents\": + \"message-8\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.1862\"\n + \ },\n {\n \"contents\": \"message-13\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.1870\"\n },\n {\n \"contents\": + \"message-18\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.1878\"\n + \ },\n {\n \"contents\": \"message-23\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.1886\"\n },\n {\n \"contents\": + \"message-28\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.1894\"\n + \ },\n {\n \"contents\": \"message-33\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.1902\"\n },\n {\n \"contents\": + \"message-38\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.1910\"\n + \ },\n {\n \"contents\": \"message-43\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.1919\"\n },\n {\n \"contents\": + \"message-48\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.1927\"\n + \ },\n {\n \"contents\": \"message-53\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.1935\"\n },\n {\n \"contents\": + \"message-58\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.1943\"\n + \ },\n {\n \"contents\": \"message-63\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.1951\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '1477' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.1854 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.1955 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.1955\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.1955 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.1955 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2056\",\n + \ \"entries\": [\n {\n \"contents\": \"message-68\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.1960\"\n },\n {\n \"contents\": + \"message-73\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.1968\"\n + \ },\n {\n \"contents\": \"message-78\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.1976\"\n },\n {\n \"contents\": + \"message-83\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.1984\"\n + \ },\n {\n \"contents\": \"message-88\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.1993\"\n },\n {\n \"contents\": + \"message-93\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.2001\"\n + \ },\n {\n \"contents\": \"message-98\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2008\"\n },\n {\n \"contents\": + \"message-103\",\n \"subLedgerId\": \"3\",\n \"transactionId\": + \"2.2016\"\n },\n {\n \"contents\": \"message-108\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2024\"\n },\n {\n \"contents\": + \"message-113\",\n \"subLedgerId\": \"3\",\n \"transactionId\": + \"2.2032\"\n },\n {\n \"contents\": \"message-118\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2040\"\n },\n {\n \"contents\": + \"message-123\",\n \"subLedgerId\": \"3\",\n \"transactionId\": + \"2.2048\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '1381' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.1955 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2056 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2056\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2056 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2056 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2056\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2056 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2056 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2157\",\n + \ \"entries\": [\n {\n \"contents\": \"message-128\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2056\"\n },\n {\n \"contents\": + \"message-133\",\n \"subLedgerId\": \"3\",\n \"transactionId\": + \"2.2064\"\n },\n {\n \"contents\": \"message-138\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2072\"\n },\n {\n \"contents\": + \"message-143\",\n \"subLedgerId\": \"3\",\n \"transactionId\": + \"2.2080\"\n },\n {\n \"contents\": \"message-148\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2088\"\n },\n {\n \"contents\": + \"message-153\",\n \"subLedgerId\": \"3\",\n \"transactionId\": + \"2.2096\"\n },\n {\n \"contents\": \"message-158\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2104\"\n },\n {\n \"contents\": + \"message-163\",\n \"subLedgerId\": \"3\",\n \"transactionId\": + \"2.2112\"\n },\n {\n \"contents\": \"message-168\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2120\"\n },\n {\n \"contents\": + \"message-173\",\n \"subLedgerId\": \"3\",\n \"transactionId\": + \"2.2128\"\n },\n {\n \"contents\": \"message-178\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2136\"\n },\n {\n \"contents\": + \"message-183\",\n \"subLedgerId\": \"3\",\n \"transactionId\": + \"2.2144\"\n },\n {\n \"contents\": \"message-188\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2152\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '1492' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2056 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2157 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2157\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2157 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2157 + response: + body: + string: "{\n \"entries\": [\n {\n \"contents\": \"message-193\",\n + \ \"subLedgerId\": \"3\",\n \"transactionId\": \"2.2161\"\n },\n + \ {\n \"contents\": \"message-198\",\n \"subLedgerId\": \"3\",\n + \ \"transactionId\": \"2.2169\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '249' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2157 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.1856 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.1856\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.1856 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.1856 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.1856\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.1856 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.1856 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.1957\",\n + \ \"entries\": [\n {\n \"contents\": \"message-4\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.1856\"\n },\n {\n \"contents\": + \"message-9\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.1864\"\n + \ },\n {\n \"contents\": \"message-14\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.1872\"\n },\n {\n \"contents\": + \"message-19\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.1880\"\n + \ },\n {\n \"contents\": \"message-24\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.1887\"\n },\n {\n \"contents\": + \"message-29\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.1896\"\n + \ },\n {\n \"contents\": \"message-34\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.1904\"\n },\n {\n \"contents\": + \"message-39\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.1912\"\n + \ },\n {\n \"contents\": \"message-44\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.1920\"\n },\n {\n \"contents\": + \"message-49\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.1929\"\n + \ },\n {\n \"contents\": \"message-54\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.1937\"\n },\n {\n \"contents\": + \"message-59\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.1945\"\n + \ },\n {\n \"contents\": \"message-64\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.1953\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '1477' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.1856 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.1957 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2058\",\n + \ \"entries\": [\n {\n \"contents\": \"message-69\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.1961\"\n },\n {\n \"contents\": + \"message-74\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.1970\"\n + \ },\n {\n \"contents\": \"message-79\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.1978\"\n },\n {\n \"contents\": + \"message-84\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.1986\"\n + \ },\n {\n \"contents\": \"message-89\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.1994\"\n },\n {\n \"contents\": + \"message-94\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.2002\"\n + \ },\n {\n \"contents\": \"message-99\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2010\"\n },\n {\n \"contents\": + \"message-104\",\n \"subLedgerId\": \"4\",\n \"transactionId\": + \"2.2018\"\n },\n {\n \"contents\": \"message-109\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2026\"\n },\n {\n \"contents\": + \"message-114\",\n \"subLedgerId\": \"4\",\n \"transactionId\": + \"2.2033\"\n },\n {\n \"contents\": \"message-119\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2041\"\n },\n {\n \"contents\": + \"message-124\",\n \"subLedgerId\": \"4\",\n \"transactionId\": + \"2.2049\"\n },\n {\n \"contents\": \"message-129\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2057\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '1485' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.1957 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2058 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2058\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2058 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2058 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2159\",\n + \ \"entries\": [\n {\n \"contents\": \"message-134\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2065\"\n },\n {\n \"contents\": + \"message-139\",\n \"subLedgerId\": \"4\",\n \"transactionId\": + \"2.2073\"\n },\n {\n \"contents\": \"message-144\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2081\"\n },\n {\n \"contents\": + \"message-149\",\n \"subLedgerId\": \"4\",\n \"transactionId\": + \"2.2089\"\n },\n {\n \"contents\": \"message-154\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2097\"\n },\n {\n \"contents\": + \"message-159\",\n \"subLedgerId\": \"4\",\n \"transactionId\": + \"2.2105\"\n },\n {\n \"contents\": \"message-164\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2114\"\n },\n {\n \"contents\": + \"message-169\",\n \"subLedgerId\": \"4\",\n \"transactionId\": + \"2.2122\"\n },\n {\n \"contents\": \"message-174\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2130\"\n },\n {\n \"contents\": + \"message-179\",\n \"subLedgerId\": \"4\",\n \"transactionId\": + \"2.2138\"\n },\n {\n \"contents\": \"message-184\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2146\"\n },\n {\n \"contents\": + \"message-189\",\n \"subLedgerId\": \"4\",\n \"transactionId\": + \"2.2154\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '1388' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2058 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2159 + response: + body: + string: "{\n \"entries\": [\n {\n \"contents\": \"message-194\",\n + \ \"subLedgerId\": \"4\",\n \"transactionId\": \"2.2162\"\n },\n + \ {\n \"contents\": \"message-199\",\n \"subLedgerId\": \"4\",\n + \ \"transactionId\": \"2.2170\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '249' + content-type: application/json + x-ms-ccf-transaction-id: '2.2173' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2159 +version: 1 diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_aad_async.test_user_management.yaml b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_aad_async.test_user_management.yaml new file mode 100644 index 000000000000..338084203033 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_aad_async.test_user_management.yaml @@ -0,0 +1,152 @@ +interactions: +- request: + body: '{"assignedRole": "Administrator"}' + headers: + Accept: + - application/json + Content-Length: + - '33' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: PATCH + uri: https://fake-confidential-ledger.azure.com/app/users/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?api-version=0.1-preview + response: + body: + string: '{"assignedRole":"Administrator","userId":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}' + headers: + content-length: '80' + content-type: application/json + x-ms-ccf-transaction-id: '2.2174' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/users/e76336f1-cae2-492f-84bc-bfcbb6503c9b?api-version=0.1-preview +- request: + body: '{"assignedRole": "Contributor"}' + headers: + Accept: + - application/json + Content-Length: + - '31' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: PATCH + uri: https://fake-confidential-ledger.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview + response: + body: + string: '{"assignedRole":"Contributor","userId":"000000000000000000000000000000000000"}' + headers: + content-length: '78' + content-type: application/json + x-ms-ccf-transaction-id: '2.2175' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview + response: + body: + string: '{"assignedRole":"Contributor","userId":"000000000000000000000000000000000000"}' + headers: + content-length: '78' + content-type: application/json + x-ms-ccf-transaction-id: '2.2176' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: DELETE + uri: https://fake-confidential-ledger.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview + response: + body: + string: '' + headers: + content-length: '0' + x-ms-ccf-transaction-id: '2.2177' + status: + code: 204 + message: No Content + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview +- request: + body: '{"assignedRole": "Reader"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: PATCH + uri: https://fake-confidential-ledger.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview + response: + body: + string: '{"assignedRole":"Reader","userId":"000000000000000000000000000000000000"}' + headers: + content-length: '73' + content-type: application/json + x-ms-ccf-transaction-id: '2.2179' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview + response: + body: + string: '{"assignedRole":"Reader","userId":"000000000000000000000000000000000000"}' + headers: + content-length: '73' + content-type: application/json + x-ms-ccf-transaction-id: '2.2180' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: DELETE + uri: https://fake-confidential-ledger.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview + response: + body: + string: '' + headers: + content-length: '0' + x-ms-ccf-transaction-id: '2.2181' + status: + code: 204 + message: No Content + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview +version: 1 diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_aad_async.test_verification_methods.yaml b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_aad_async.test_verification_methods.yaml new file mode 100644 index 000000000000..bd88961a97df --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_aad_async.test_verification_methods.yaml @@ -0,0 +1,132 @@ +interactions: +- request: + body: '{"assignedRole": "Administrator"}' + headers: + Accept: + - application/json + Content-Length: + - '33' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: PATCH + uri: https://fake-confidential-ledger.azure.com/app/users/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?api-version=0.1-preview + response: + body: + string: '{"assignedRole":"Administrator","userId":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}' + headers: + content-length: '80' + content-type: application/json + x-ms-ccf-transaction-id: '2.2183' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/users/e76336f1-cae2-492f-84bc-bfcbb6503c9b?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/governance/members?api-version=0.1-preview + response: + body: + string: '{"members":[{"certificate":"-----BEGIN CERTIFICATE-----\nMIIB+DCCAX2gAwIBAgIQbqIwsiHHQlWkhweK0NbPODAKBggqhkjOPQQDAzAgMR4w\nHAYDVQQDExVDQ0YgR292ZXJub3IgSWRlbnRpdHkwHhcNMjAxMTExMjAyNDUwWhcN\nMjExMTExMjAzNDUwWjAgMR4wHAYDVQQDExVDQ0YgR292ZXJub3IgSWRlbnRpdHkw\ndjAQBgcqhkjOPQIBBgUrgQQAIgNiAATTFBoe5FRZTXSQn5ZGl7BV40FpF6fvK3mj\nuDbh3BpAFCC9eXIU9nrGEEoaWH2n++c0TXuaR9TlXEm1ms47YMGmvr/epdI2Qgd6\nBC6bwYfMoRFVH/+G+itRj70ywY+lqrmjfDB6MA4GA1UdDwEB/wQEAwIHgDAJBgNV\nHRMEAjAAMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAfBgNVHSMEGDAW\ngBQefKdvzGwngW5bffiMcfFhoBYtNzAdBgNVHQ4EFgQUHnynb8xsJ4FuW334jHHx\nYaAWLTcwCgYIKoZIzj0EAwMDaQAwZgIxAKb40n899np5eoAei4YatmJ9P2kdGyGP\nqQBslkobR/Gb++QAHbFoD4m2tANPtpmYJAIxANklOHFie1OSLVwzl3n8zBbt1+KX\naH1qYPDr3MzPfvSBq7ckBGem2C6EEX4ratWAGQ==\n-----END + CERTIFICATE-----","id":"eec5d23a0f376538a34cccb35705cad4850741dcf82cd9ec39d3972aabc58a72"}]}' + headers: + content-length: '860' + content-type: application/json + x-ms-ccf-transaction-id: '2.2183' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/governance/members?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/governance/constitution?api-version=0.1-preview + response: + body: + string: '{"digest":"8dd68f72e540dd7f96988eef553e122789228e9b4e917028853cc042d46ec811","script":"raw_puts= tables, + puts = ...\n for table_name, entries in pairs(puts) do\n t = tables[table_name]\n for + _,entry in pairs(entries) do\n t:put(entry.k, entry.v)\n end\n end\n return + true;environment_proposal= __Puts = {}\n function __Puts:new(o)\n o = + o or {}\n setmetatable(o, self)\n self.__index = self\n return o\n end\n\n function + __Puts:put(t, key, value)\n self[t] = self[t] or {}\n table.insert(self[t], + {k = key, v = value})\n return self\n end\n -- create a frontend for + __Puts that hides function entries\n Puts = setmetatable({}, {__index = __Puts})\n\n __Calls + = {}\n function __Calls:new(o)\n o = o or {}\n setmetatable(o, self)\n self.__index + = self\n return o\n end\n\n function __Calls:call(_func, _args)\n table.insert(self, + {func=_func, args=_args})\n return self\n end\n Calls = setmetatable({}, + {__index = __Calls})\n\n function empty_list()\n return setmetatable({}, + {__was_object=false})\n end\n\n function empty_object()\n return setmetatable({}, + {__was_object=true})\n end\n ;pass= tables, calls, votes, proposer_id = + ...\n\n -- interface definitions\n PASSED = 1\n PENDING = 0\n REJECTED + = -1\n STATE_ACTIVE = \"ACTIVE\"\n\n -- defines which of the members are + operators\n function is_operator(member)\n member_info = tables[\"public:ccf.gov.members.info\"]:get(member)\n if + member_info then\n member_data = member_info.member_data\n if member_data + then\n return member_data.is_operator == true\n end\n end\n return + false\n end\n\n -- defines calls that can be passed with sole operator input\n function + can_operator_pass(call)\n -- some calls can always be called by operators\n allowed_operator_funcs + = {\n trust_node=true,\n retire_node=true,\n new_user=true,\n remove_user=true,\n open_network=true,\n deploy_js_app=true,\n set_ca_cert_bundle=true,\n remove_ca_cert_bundle=true,\n set_jwt_issuer=true,\n remove_jwt_issuer=true,\n set_jwt_public_signing_keys=true,\n set_user_data=true,\n set_service_principal=true,\n remove_service_principal=true,\n }\n if + allowed_operator_funcs[call.func] then\n return true\n end\n\n -- + additionally, operators can add or retire other operators\n if call.func + == \"new_member\" then\n member_data = call.args.member_data\n if + member_data and member_data.is_operator then\n return true\n end\n elseif + call.func == \"retire_member\" then\n if is_operator(call.args) then\n return + true\n end\n end\n end\n\n -- count member votes\n member_votes + = 0\n\n for member, vote in pairs(votes) do\n if vote then\n if not + is_operator(member) then\n member_votes = member_votes + 1\n end\n end\n end\n\n -- + count active members, excluding operators\n members_active = 0\n\n tables[\"public:ccf.gov.members.info\"]:foreach(function(member, + details)\n if details[\"status\"] == STATE_ACTIVE and not is_operator(member) + then\n members_active = members_active + 1\n end\n end)\n\n -- check + for raw_puts to sensitive tables\n SENSITIVE_TABLES = {\"public:ccf.gov.whitelists\", + \"public:ccf.gov.scripts\"}\n for _, call in pairs(calls) do\n if call.func + == \"raw_puts\" then\n for _, sensitive_table in pairs(SENSITIVE_TABLES) + do\n if call.args[sensitive_table] then\n -- require unanimity + of non-operating members\n if member_votes == members_active then\n return + PASSED\n else\n return PENDING\n end\n end\n end\n end\n end\n\n -- + a vote is an operator vote if it''s only making operator calls\n operator_change + = true\n for _, call in pairs(calls) do\n if not can_operator_pass(call) + then\n operator_change = false\n break\n end\n end\n\n -- a + majority of members can always pass votes\n if member_votes > math.floor(members_active + / 2) then\n return PASSED\n end\n\n -- operators proposing operator changes + can pass them without a vote\n if operator_change and is_operator(proposer_id) + then\n return PASSED\n end\n\n return PENDING;"}' + headers: + content-length: '4306' + content-type: application/json + x-ms-ccf-transaction-id: '2.2184' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/governance/constitution?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/enclaveQuotes?api-version=0.1-preview + response: + body: + string: '{"currentNodeId":"48bde5ab681ce4f35e78161cde552e8800784051a3602b3706c3a200d074f68c","enclaveQuotes":{"48bde5ab681ce4f35e78161cde552e8800784051a3602b3706c3a200d074f68c":{"mrenclave":"8e67b83969dea1207c06fb5191bfd45662c196d030bed26796b75f09c0e1c4bc","nodeId":"48bde5ab681ce4f35e78161cde552e8800784051a3602b3706c3a200d074f68c","quoteVersion":"OE_SGX_v1","raw":"030002000000000005000a00939a7233f79c4ca9940a0db3957f06074fca16e1b382cc4d9313fca5acbf408b0000000011110305ff80060000000000000000000000000000000000000000000000000000000000000000000000000000000000050000000000000007000000000000008e67b83969dea1207c06fb5191bfd45662c196d030bed26796b75f09c0e1c4bc000000000000000000000000000000000000000000000000000000000000000056a35b461bd8042255f6d33ee5ce7afa34f7024a35b74f15c5808e0c00864226000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005ab4ecfb2f7844a8179722eb80a639691a8bbf86c99e95d39f2d683beafefa6a0000000000000000000000000000000000000000000000000000000000000000341000002525ef54e5c5dd0d32973cc9c759fefc30c7aef7094c18134ef0e35117403532c109de78dd7fabceaa4c6ae624239e2417a932f0bb32eea17ea8259c241bfa0d8eb0721568eb8eefb5ffe48d4c0535ccbd637f6998f30d252334d093bfe489707cef9b5abbe51428ff6feb0d5590723896f7e3d8466e7c4c7f661f5588b1cbc011110305ff800600000000000000000000000000000000000000000000000000000000000000000000000000000000001500000000000000070000000000000060d85af28be8d1c40a08d98b009d5f8acc1384a385cf460800e478791d1a979c00000000000000000000000000000000000000000000000000000000000000008c4f5775d796503e96137f77c68a829a0056ac8ded70140b081b094490c57bff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045566c39ee9249e7f197a87256fd7267ac67bec7f27e6133d95306656244366e00000000000000000000000000000000000000000000000000000000000000007d1cada36a9e54bde941973bd2de03d5304bffdd775474aec6d38207272d9226a3e9e0314555d3960507f3224cf7d2009d75c8b968071fc31094a3dfb999c1e42000000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f0500cc0d00002d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949456754434342436167417749424167495545646d6b4833625131367152525856766e73307369596b3979495577436759494b6f5a497a6a3045417749770a6354456a4d4345474131554541777761535735305a577767553064594946424453794251636d396a5a584e7a6233496751304578476a415942674e5642416f4d0a45556c756447567349454e76636e4276636d4630615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b47413155450a4341774351304578437a414a42674e5642415954416c56544d423458445449784d4449784d4449794d5455774e466f58445449344d4449784d4449794d5455770a4e466f77634445694d434147413155454177775a535735305a5777675530645949464244537942445a584a3061575a70593246305a5445614d426747413155450a43677752535735305a577767513239796347397959585270623234784644415342674e564241634d43314e68626e526849454e7359584a684d517377435159440a5651514944414a445154454c4d416b474131554542684d4356564d775754415442676371686b6a4f5051494242676771686b6a4f50514d4242774e43414152680a5247587236365079506673764a55444a666158563841575957586768454e6b784638614d6d3471396a5a543546356d2f4d446b466365724a735a486c6d2b58710a4471673138452f344f416e39622f70344e366d796f3449436d7a434341706377487759445652306a42426777466f4155304f6971326e58582b53354a463567380a6578526c304e587957553077587759445652306642466777566a42556f464b6755495a4f6148523063484d364c79396863476b7564484a316333526c5a484e6c0a636e5a705932567a4c6d6c75644756734c6d4e766253397a5a3367765932567964476c6d61574e6864476c76626939324d6939775932746a636d772f593245390a63484a765932567a633239794d42304741315564446751574242537956634a3754335950586f383059535762493759504e514233506a414f42674e56485138420a4166384542414d434273417744415944565230544151482f42414977414443434164514743537147534962345451454e4151534341635577676748424d4234470a43697147534962345451454e4151454545475a445038395a483248673435704f4f5337372b564d776767466b42676f71686b69472b453042445145434d4949420a5644415142677371686b69472b45304244514543415149424554415142677371686b69472b45304244514543416749424554415142677371686b69472b4530420a4451454341774942416a415142677371686b69472b45304244514543424149424244415142677371686b69472b453042445145434251494241544152426773710a686b69472b4530424451454342674943414941774541594c4b6f5a496876684e4151304241676343415159774541594c4b6f5a496876684e41513042416767430a415141774541594c4b6f5a496876684e4151304241676b43415141774541594c4b6f5a496876684e4151304241676f43415141774541594c4b6f5a496876684e0a4151304241677343415141774541594c4b6f5a496876684e4151304241677743415141774541594c4b6f5a496876684e4151304241673043415141774541594c0a4b6f5a496876684e4151304241673443415141774541594c4b6f5a496876684e4151304241673843415141774541594c4b6f5a496876684e41513042416841430a415141774541594c4b6f5a496876684e415130424168454341516f774877594c4b6f5a496876684e4151304241684945454245524167514267415941414141410a41414141414141774541594b4b6f5a496876684e4151304241775143414141774641594b4b6f5a496876684e4151304242415147414a4275315141414d4138470a43697147534962345451454e4151554b41514177436759494b6f5a497a6a3045417749445351417752674968414a497245793530694b564857596f70573844500a56525366306859546f7232535830674b4f517569354f644241694541354d6351674a7a615550497a456342714c7970554a646a6a5a6e694c77686458387a75520a496458303244593d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a2d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949436c7a4343416a36674177494241674956414e446f71747031312f6b7553526559504873555a644456386c6c4e4d416f4743437147534d343942414d430a4d476778476a415942674e5642414d4d45556c756447567349464e48574342536232393049454e424d526f77474159445651514b4442464a626e526c624342440a62334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e564241674d416b4e424d5173770a435159445651514745774a56557a4165467730784f4441314d6a45784d4451314d4468614677307a4d7a41314d6a45784d4451314d4468614d484578497a41680a42674e5642414d4d476b6c756447567349464e48574342515130736755484a765932567a6332397949454e424d526f77474159445651514b4442464a626e526c0a6243424462334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e564241674d416b4e420a4d517377435159445651514745774a56557a425a4d424d4742797147534d34394167454743437147534d34394177454841304941424c39712b4e4d7032494f670a74646c31626b2f75575a352b5447516d38614369387a373866732b664b435133642b75447a586e56544154325a68444369667949754a77764e33774e427039690a484253534d4a4d4a72424f6a6762737767626777487759445652306a42426777466f4155496d554d316c71644e496e7a6737535655723951477a6b6e427177770a556759445652306642457377535442486f45576751345a426148523063484d364c79396a5a584a3061575a70593246305a584d7564484a316333526c5a484e6c0a636e5a705932567a4c6d6c75644756734c6d4e766253394a626e526c62464e4857464a76623352445153356a636d7777485159445652304f42425945464e446f0a71747031312f6b7553526559504873555a644456386c6c4e4d41344741315564447745422f77514541774942426a415342674e5648524d4241663845434441470a4151482f416745414d416f4743437147534d343942414d43413063414d45514349432f396a2b3834542b487a74564f2f734f5142574a6253642b2f327565784b0a342b6141306a6346424c63704169413364684d72463563443532743646714d764149706a385864476d79326265656c6a4c4a4b2b707a706352413d3d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a2d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949436a6a4343416a53674177494241674955496d554d316c71644e496e7a6737535655723951477a6b6e42717777436759494b6f5a497a6a3045417749770a614445614d4267474131554541777752535735305a5777675530645949464a766233516751304578476a415942674e5642416f4d45556c756447567349454e760a636e4276636d4630615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b47413155454341774351304578437a414a0a42674e5642415954416c56544d423458445445344d4455794d5445774e4445784d566f5844544d7a4d4455794d5445774e4445784d466f77614445614d4267470a4131554541777752535735305a5777675530645949464a766233516751304578476a415942674e5642416f4d45556c756447567349454e76636e4276636d46300a615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b47413155454341774351304578437a414a42674e56424159540a416c56544d466b77457759484b6f5a497a6a3043415159494b6f5a497a6a3044415163445167414543366e45774d4449595a4f6a2f69505773437a61454b69370a314f694f534c52466857476a626e42564a66566e6b59347533496a6b4459594c304d784f346d717379596a6c42616c54565978465032734a424b357a6c4b4f420a757a43427544416642674e5648534d4547444157674251695a517a575770303069664f44744a5653763141624f5363477244425342674e5648523845537a424a0a4d45656752614244686b466f64485277637a6f764c324e6c636e52705a6d6c6a5958526c63793530636e567a6447566b63325679646d6c6a5a584d75615735300a5a577775593239744c306c756447567355306459556d397664454e424c6d4e796244416442674e564851344546675155496d554d316c71644e496e7a673753560a55723951477a6b6e4271777744675944565230504151482f42415144416745474d42494741315564457745422f7751494d4159424166384341514577436759490a4b6f5a497a6a30454177494453414177525149675151732f30387279636450617543466b3855505158434d416c736c6f4265374e7761514754636470613045430a495143557438534776784b6d6a70634d2f7a3057503944766f3868326b3564753169574464426b416e2b306969413d3d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a0001000000000000000100000000000000100000000000000020000000000000007367785f7265706f72745f646174610048bde5ab681ce4f35e78161cde552e8800784051a3602b3706c3a200d074f68c"},"c801be0e15cdd5fdef828ec11b69551941f48aa200c17438d11286471c3e118c":{"mrenclave":"8e67b83969dea1207c06fb5191bfd45662c196d030bed26796b75f09c0e1c4bc","nodeId":"c801be0e15cdd5fdef828ec11b69551941f48aa200c17438d11286471c3e118c","quoteVersion":"OE_SGX_v1","raw":"030002000000000005000a00939a7233f79c4ca9940a0db3957f0607f471d316335a86ceb76e06231987a82e0000000011110305ff80060000000000000000000000000000000000000000000000000000000000000000000000000000000000050000000000000007000000000000008e67b83969dea1207c06fb5191bfd45662c196d030bed26796b75f09c0e1c4bc000000000000000000000000000000000000000000000000000000000000000056a35b461bd8042255f6d33ee5ce7afa34f7024a35b74f15c5808e0c008642260000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000078c32d2a305014f726ee776e3ddce1e78ace9dbdc80afffcdac36183db4aa88400000000000000000000000000000000000000000000000000000000000000003410000079e0ccf41c1bf95814e94b1bb528286360ab348fbdbe6d88ab4326e92b0e22b6aafdba795661c76216f638917f703874b7a7c11b09136e1c40c759079e08d25ead98b2a54c00819c809031c1c532fe81474455b2164af72abc5adf1fae294c2d211d5d91cae5a63dba4aa0fef0c2ee40f07326a4e6c12fbe0e3e4301ae6c755d11110305ff800600000000000000000000000000000000000000000000000000000000000000000000000000000000001500000000000000070000000000000060d85af28be8d1c40a08d98b009d5f8acc1384a385cf460800e478791d1a979c00000000000000000000000000000000000000000000000000000000000000008c4f5775d796503e96137f77c68a829a0056ac8ded70140b081b094490c57bff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055ff9841726e0844f79627ed52300e9ed3d80df9b96c1b5077be05eae8c7f7240000000000000000000000000000000000000000000000000000000000000000f88d17f91c2dfcf5a0bbbd331f00ed75ae2476865c49bff369dfeb47e0a2032cb5e0778b5b9ca6a1221b6e351e4dd4003c6269facc7f1b70f05ce5671d090a232000000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f0500cc0d00002d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949456744434342436567417749424167495641507a733541517737784d2f6d2f44356f5669685176326a625a75664d416f4743437147534d343942414d430a4d484578497a416842674e5642414d4d476b6c756447567349464e48574342515130736755484a765932567a6332397949454e424d526f77474159445651514b0a4442464a626e526c6243424462334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e560a4241674d416b4e424d517377435159445651514745774a56557a4165467730794d54417a4d6a4d784e7a49354d446461467730794f44417a4d6a4d784e7a49350a4d4464614d484178496a416742674e5642414d4d47556c756447567349464e4857434251513073675132567964476c6d61574e6864475578476a415942674e560a42416f4d45556c756447567349454e76636e4276636d4630615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b470a413155454341774351304578437a414a42674e5642415954416c56544d466b77457759484b6f5a497a6a3043415159494b6f5a497a6a304441516344516741450a3935686643793248525170376e7766332f776d6a636749646e464f737632634b62525263547077797937466b4c71744d7a2b503234414751433737777350664f0a3141677165677543693065366e4b4531514f5553324b4f434170737767674b584d42384741315564497751594d426141464e446f71747031312f6b75535265590a504873555a644456386c6c4e4d46384741315564487752594d465977564b42536f464347546d68306448427a4f693876595842704c6e527964584e305a57527a0a5a584a3261574e6c63793570626e526c6243356a62323076633264344c324e6c636e52705a6d6c6a5958527062323476646a497663474e7259334a7350324e680a5058427962324e6c63334e76636a416442674e5648513445466751552f6746447943726b593350577134554565386e2b6337444f4b74497744675944565230500a4151482f42415144416762414d41774741315564457745422f7751434d4141776767485542676b71686b69472b45304244514545676748464d494942775441650a42676f71686b69472b45304244514542424242374d744e374b536a6d7656797674544641645274394d4949425a41594b4b6f5a496876684e41513042416a43430a415651774541594c4b6f5a496876684e4151304241674543415245774541594c4b6f5a496876684e4151304241674943415245774541594c4b6f5a496876684e0a4151304241674d43415149774541594c4b6f5a496876684e4151304241675143415151774541594c4b6f5a496876684e4151304241675543415145774551594c0a4b6f5a496876684e4151304241675943416743414d42414743797147534962345451454e41514948416745474d42414743797147534962345451454e415149490a416745414d42414743797147534962345451454e4151494a416745414d42414743797147534962345451454e4151494b416745414d42414743797147534962340a5451454e4151494c416745414d42414743797147534962345451454e4151494d416745414d42414743797147534962345451454e4151494e416745414d4241470a43797147534962345451454e4151494f416745414d42414743797147534962345451454e41514950416745414d42414743797147534962345451454e415149510a416745414d42414743797147534962345451454e415149524167454b4d42384743797147534962345451454e41514953424241524551494541594147414141410a41414141414141414d42414743697147534962345451454e41514d45416741414d42514743697147534962345451454e415151454267435162745541414441500a42676f71686b69472b45304244514546436745414d416f4743437147534d343942414d43413063414d455143494551625578385a6e79506d7442516b3474524c0a6d476f4e38304957366e55704637736144426e43334c6a48416941676d375a724e4c4348746656683979646e53634b6254365438546b357959527766484f65340a536b746936413d3d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a2d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949436c7a4343416a36674177494241674956414e446f71747031312f6b7553526559504873555a644456386c6c4e4d416f4743437147534d343942414d430a4d476778476a415942674e5642414d4d45556c756447567349464e48574342536232393049454e424d526f77474159445651514b4442464a626e526c624342440a62334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e564241674d416b4e424d5173770a435159445651514745774a56557a4165467730784f4441314d6a45784d4451314d4468614677307a4d7a41314d6a45784d4451314d4468614d484578497a41680a42674e5642414d4d476b6c756447567349464e48574342515130736755484a765932567a6332397949454e424d526f77474159445651514b4442464a626e526c0a6243424462334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e564241674d416b4e420a4d517377435159445651514745774a56557a425a4d424d4742797147534d34394167454743437147534d34394177454841304941424c39712b4e4d7032494f670a74646c31626b2f75575a352b5447516d38614369387a373866732b664b435133642b75447a586e56544154325a68444369667949754a77764e33774e427039690a484253534d4a4d4a72424f6a6762737767626777487759445652306a42426777466f4155496d554d316c71644e496e7a6737535655723951477a6b6e427177770a556759445652306642457377535442486f45576751345a426148523063484d364c79396a5a584a3061575a70593246305a584d7564484a316333526c5a484e6c0a636e5a705932567a4c6d6c75644756734c6d4e766253394a626e526c62464e4857464a76623352445153356a636d7777485159445652304f42425945464e446f0a71747031312f6b7553526559504873555a644456386c6c4e4d41344741315564447745422f77514541774942426a415342674e5648524d4241663845434441470a4151482f416745414d416f4743437147534d343942414d43413063414d45514349432f396a2b3834542b487a74564f2f734f5142574a6253642b2f327565784b0a342b6141306a6346424c63704169413364684d72463563443532743646714d764149706a385864476d79326265656c6a4c4a4b2b707a706352413d3d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a2d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949436a6a4343416a53674177494241674955496d554d316c71644e496e7a6737535655723951477a6b6e42717777436759494b6f5a497a6a3045417749770a614445614d4267474131554541777752535735305a5777675530645949464a766233516751304578476a415942674e5642416f4d45556c756447567349454e760a636e4276636d4630615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b47413155454341774351304578437a414a0a42674e5642415954416c56544d423458445445344d4455794d5445774e4445784d566f5844544d7a4d4455794d5445774e4445784d466f77614445614d4267470a4131554541777752535735305a5777675530645949464a766233516751304578476a415942674e5642416f4d45556c756447567349454e76636e4276636d46300a615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b47413155454341774351304578437a414a42674e56424159540a416c56544d466b77457759484b6f5a497a6a3043415159494b6f5a497a6a3044415163445167414543366e45774d4449595a4f6a2f69505773437a61454b69370a314f694f534c52466857476a626e42564a66566e6b59347533496a6b4459594c304d784f346d717379596a6c42616c54565978465032734a424b357a6c4b4f420a757a43427544416642674e5648534d4547444157674251695a517a575770303069664f44744a5653763141624f5363477244425342674e5648523845537a424a0a4d45656752614244686b466f64485277637a6f764c324e6c636e52705a6d6c6a5958526c63793530636e567a6447566b63325679646d6c6a5a584d75615735300a5a577775593239744c306c756447567355306459556d397664454e424c6d4e796244416442674e564851344546675155496d554d316c71644e496e7a673753560a55723951477a6b6e4271777744675944565230504151482f42415144416745474d42494741315564457745422f7751494d4159424166384341514577436759490a4b6f5a497a6a30454177494453414177525149675151732f30387279636450617543466b3855505158434d416c736c6f4265374e7761514754636470613045430a495143557438534776784b6d6a70634d2f7a3057503944766f3868326b3564753169574464426b416e2b306969413d3d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a0001000000000000000100000000000000100000000000000020000000000000007367785f7265706f72745f6461746100c801be0e15cdd5fdef828ec11b69551941f48aa200c17438d11286471c3e118c"},"cda0fa96a7916caafd144ea4b3d4188b197cff605b32416a3b47c1c69aeff594":{"mrenclave":"8e67b83969dea1207c06fb5191bfd45662c196d030bed26796b75f09c0e1c4bc","nodeId":"cda0fa96a7916caafd144ea4b3d4188b197cff605b32416a3b47c1c69aeff594","quoteVersion":"OE_SGX_v1","raw":"030002000000000005000a00939a7233f79c4ca9940a0db3957f060754a876d8093c9425005f2e6815d530010000000011110305ff80060000000000000000000000000000000000000000000000000000000000000000000000000000000000050000000000000007000000000000008e67b83969dea1207c06fb5191bfd45662c196d030bed26796b75f09c0e1c4bc000000000000000000000000000000000000000000000000000000000000000056a35b461bd8042255f6d33ee5ce7afa34f7024a35b74f15c5808e0c00864226000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008e302cec2c9c0d898ea0824736115427df94d26cb51ebc0913ef0feaf0c37db9000000000000000000000000000000000000000000000000000000000000000034100000932a7fe206944a7f06a203b73c4d35ac6d53c490fc017f7568a6a577cb2255290f23021dc1a3deb6159be60bc6e43de50f7da2921f71163ecafe18bee73c01bb06834e14e82c9982eb6cee7471e3b13721661ece0a68458b0948b26ed53322b58dbf3252283ce9fe4703d59aff2003d8f94c5b61722eefd439c735d7e40b0e9a11110305ff800600000000000000000000000000000000000000000000000000000000000000000000000000000000001500000000000000070000000000000060d85af28be8d1c40a08d98b009d5f8acc1384a385cf460800e478791d1a979c00000000000000000000000000000000000000000000000000000000000000008c4f5775d796503e96137f77c68a829a0056ac8ded70140b081b094490c57bff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000751ade3621fe0e0e62fdfda76b32e7524bd87388a96e0a98ace244c95a8965b500000000000000000000000000000000000000000000000000000000000000000322ce315e71a60490bddf773f32b059f4cce7b435d550e2c1cd34aa7faf1cf4d06858ceb9ff5b8fa2aa9d3ba7a564c53853ca78ea6e1175e02b185f94ec4e852000000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f0500cc0d00002d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d49494567544343424365674177494241674956414c546d71796a394e4363724f414844654849486f6c754d565758464d416f4743437147534d343942414d430a4d484578497a416842674e5642414d4d476b6c756447567349464e48574342515130736755484a765932567a6332397949454e424d526f77474159445651514b0a4442464a626e526c6243424462334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e560a4241674d416b4e424d517377435159445651514745774a56557a4165467730794d54417a4d6a4d774f544d304e546c61467730794f44417a4d6a4d774f544d300a4e546c614d484178496a416742674e5642414d4d47556c756447567349464e4857434251513073675132567964476c6d61574e6864475578476a415942674e560a42416f4d45556c756447567349454e76636e4276636d4630615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b470a413155454341774351304578437a414a42674e5642415954416c56544d466b77457759484b6f5a497a6a3043415159494b6f5a497a6a304441516344516741450a715165687944707854673273444b6849772b64454f2b42647536527039586f516e6c3359322f6a32497455566e524374704236484c707943325a45614d6853610a4b716c6f436476715674426872504f7364377374474b4f434170737767674b584d42384741315564497751594d426141464e446f71747031312f6b75535265590a504873555a644456386c6c4e4d46384741315564487752594d465977564b42536f464347546d68306448427a4f693876595842704c6e527964584e305a57527a0a5a584a3261574e6c63793570626e526c6243356a62323076633264344c324e6c636e52705a6d6c6a5958527062323476646a497663474e7259334a7350324e680a5058427962324e6c63334e76636a416442674e5648513445466751552f724673795665793276384e58594e354178754c766177586868347744675944565230500a4151482f42415144416762414d41774741315564457745422f7751434d4141776767485542676b71686b69472b45304244514545676748464d494942775441650a42676f71686b69472b4530424451454242424132346f6d696e7451356a58772f325543756237766b4d4949425a41594b4b6f5a496876684e41513042416a43430a415651774541594c4b6f5a496876684e4151304241674543415245774541594c4b6f5a496876684e4151304241674943415245774541594c4b6f5a496876684e0a4151304241674d43415149774541594c4b6f5a496876684e4151304241675143415151774541594c4b6f5a496876684e4151304241675543415145774551594c0a4b6f5a496876684e4151304241675943416743414d42414743797147534962345451454e41514948416745474d42414743797147534962345451454e415149490a416745414d42414743797147534962345451454e4151494a416745414d42414743797147534962345451454e4151494b416745414d42414743797147534962340a5451454e4151494c416745414d42414743797147534962345451454e4151494d416745414d42414743797147534962345451454e4151494e416745414d4241470a43797147534962345451454e4151494f416745414d42414743797147534962345451454e41514950416745414d42414743797147534962345451454e415149510a416745414d42414743797147534962345451454e415149524167454b4d42384743797147534962345451454e41514953424241524551494541594147414141410a41414141414141414d42414743697147534962345451454e41514d45416741414d42514743697147534962345451454e415151454267435162745541414441500a42676f71686b69472b45304244514546436745414d416f4743437147534d343942414d43413067414d455543494252454b346b4c5559532b766149336436536d0a6668564f613642726d4c43316d50314b7265346f52456262416945416d78325a496f506f36584838303839576668746f6539356b6345733432507050343152370a643544467167513d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a2d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949436c7a4343416a36674177494241674956414e446f71747031312f6b7553526559504873555a644456386c6c4e4d416f4743437147534d343942414d430a4d476778476a415942674e5642414d4d45556c756447567349464e48574342536232393049454e424d526f77474159445651514b4442464a626e526c624342440a62334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e564241674d416b4e424d5173770a435159445651514745774a56557a4165467730784f4441314d6a45784d4451314d4468614677307a4d7a41314d6a45784d4451314d4468614d484578497a41680a42674e5642414d4d476b6c756447567349464e48574342515130736755484a765932567a6332397949454e424d526f77474159445651514b4442464a626e526c0a6243424462334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e564241674d416b4e420a4d517377435159445651514745774a56557a425a4d424d4742797147534d34394167454743437147534d34394177454841304941424c39712b4e4d7032494f670a74646c31626b2f75575a352b5447516d38614369387a373866732b664b435133642b75447a586e56544154325a68444369667949754a77764e33774e427039690a484253534d4a4d4a72424f6a6762737767626777487759445652306a42426777466f4155496d554d316c71644e496e7a6737535655723951477a6b6e427177770a556759445652306642457377535442486f45576751345a426148523063484d364c79396a5a584a3061575a70593246305a584d7564484a316333526c5a484e6c0a636e5a705932567a4c6d6c75644756734c6d4e766253394a626e526c62464e4857464a76623352445153356a636d7777485159445652304f42425945464e446f0a71747031312f6b7553526559504873555a644456386c6c4e4d41344741315564447745422f77514541774942426a415342674e5648524d4241663845434441470a4151482f416745414d416f4743437147534d343942414d43413063414d45514349432f396a2b3834542b487a74564f2f734f5142574a6253642b2f327565784b0a342b6141306a6346424c63704169413364684d72463563443532743646714d764149706a385864476d79326265656c6a4c4a4b2b707a706352413d3d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a2d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949436a6a4343416a53674177494241674955496d554d316c71644e496e7a6737535655723951477a6b6e42717777436759494b6f5a497a6a3045417749770a614445614d4267474131554541777752535735305a5777675530645949464a766233516751304578476a415942674e5642416f4d45556c756447567349454e760a636e4276636d4630615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b47413155454341774351304578437a414a0a42674e5642415954416c56544d423458445445344d4455794d5445774e4445784d566f5844544d7a4d4455794d5445774e4445784d466f77614445614d4267470a4131554541777752535735305a5777675530645949464a766233516751304578476a415942674e5642416f4d45556c756447567349454e76636e4276636d46300a615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b47413155454341774351304578437a414a42674e56424159540a416c56544d466b77457759484b6f5a497a6a3043415159494b6f5a497a6a3044415163445167414543366e45774d4449595a4f6a2f69505773437a61454b69370a314f694f534c52466857476a626e42564a66566e6b59347533496a6b4459594c304d784f346d717379596a6c42616c54565978465032734a424b357a6c4b4f420a757a43427544416642674e5648534d4547444157674251695a517a575770303069664f44744a5653763141624f5363477244425342674e5648523845537a424a0a4d45656752614244686b466f64485277637a6f764c324e6c636e52705a6d6c6a5958526c63793530636e567a6447566b63325679646d6c6a5a584d75615735300a5a577775593239744c306c756447567355306459556d397664454e424c6d4e796244416442674e564851344546675155496d554d316c71644e496e7a673753560a55723951477a6b6e4271777744675944565230504151482f42415144416745474d42494741315564457745422f7751494d4159424166384341514577436759490a4b6f5a497a6a30454177494453414177525149675151732f30387279636450617543466b3855505158434d416c736c6f4265374e7761514754636470613045430a495143557438534776784b6d6a70634d2f7a3057503944766f3868326b3564753169574464426b416e2b306969413d3d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a0001000000000000000100000000000000100000000000000020000000000000007367785f7265706f72745f6461746100cda0fa96a7916caafd144ea4b3d4188b197cff605b32416a3b47c1c69aeff594"}}}' + headers: + content-length: '28866' + content-type: application/json + x-ms-ccf-transaction-id: '2.2184' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/enclaveQuotes?api-version=0.1-preview +version: 1 diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_certificate.test_append_entry_flow.yaml b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_certificate.test_append_entry_flow.yaml new file mode 100644 index 000000000000..e3d9e24e991c --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_certificate.test_append_entry_flow.yaml @@ -0,0 +1,308 @@ +interactions: +- request: + body: '{"contents": "Test entry from Python SDK"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview + response: + body: + string: '{"subLedgerId":"subledger:0"}' + headers: + content-length: + - '29' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2185' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.2185/status?api-version=0.1-preview + response: + body: + string: '{"state":"Pending","transactionId":"2.2185"}' + headers: + content-length: + - '44' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2186' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.2185/status?api-version=0.1-preview + response: + body: + string: '{"state":"Committed","transactionId":"2.2185"}' + headers: + content-length: + - '46' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2186' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.2185/status?api-version=0.1-preview + response: + body: + string: '{"state":"Committed","transactionId":"2.2185"}' + headers: + content-length: + - '46' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2186' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.2185/receipt?api-version=0.1-preview + response: + body: + string: "{\n \"receipt\": {\n \"leaf\": \"\",\n \"node_id\": \"\",\n + \ \"proof\": [],\n \"root\": \"\",\n \"signature\": \"\"\n },\n \"state\": + \"Loading\",\n \"transactionId\": \"\"\n}" + headers: + content-length: + - '155' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2186' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.2185/receipt?api-version=0.1-preview + response: + body: + string: "{\n \"receipt\": {\n \"leaf\": \"e8ca7a051a476eb5a064ab88577e052520e832e3caf70458ffb7b38128ba5f76\",\n + \ \"node_id\": \"c801be0e15cdd5fdef828ec11b69551941f48aa200c17438d11286471c3e118c\",\n + \ \"proof\": [\n {\n \"left\": \"c206283b5d0b761233520a9c77ab77498e48ae54c31a4b17b3e1504db6851035\"\n + \ },\n {\n \"left\": \"2ef80b76c2a70ef1e2fda8988371c46fc6fa7a178c95f39758c96ade31928547\"\n + \ },\n {\n \"left\": \"0b35df5996eaab6e3a4212fde193b2e5712fe4457749c1ac3b0bc46a95aa4ede\"\n + \ },\n {\n \"left\": \"32b472e0d88c026188ea979307b6acf76b84ed6d94fc1d894948312187a63cf6\"\n + \ }\n ],\n \"root\": \"72a0dbdfc2efea8729cd4dde38418c3f16b264dbbb6f10a4b05887202e28f241\",\n + \ \"signature\": \"MGYCMQCcymG1ODGNicTnc91cmS8pJf4X41pHWW0kyj8Azzye3HLlzPUi5xUQK819GADotCMCMQCvBDCamKfQp6ZKeKW3CqmVWURraQloPW0b5yigtGasU0iSqhZUDETSoNf7m2lz3wU=\"\n + \ },\n \"state\": \"Ready\",\n \"transactionId\": \"2.2185\"\n}" + headers: + content-length: + - '895' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2186' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/current?api-version=0.1-preview + response: + body: + string: '{"contents":"Test entry from Python SDK","subLedgerId":"subledger:0","transactionId":"2.2186"}' + headers: + content-length: + - '94' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2186' + status: + code: 200 + message: OK +- request: + body: '{"contents": "Test entry 2 from Python SDK"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '44' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview + response: + body: + string: '{"subLedgerId":"subledger:0"}' + headers: + content-length: + - '29' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2187' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.2187/status?api-version=0.1-preview + response: + body: + string: '{"state":"Committed","transactionId":"2.2187"}' + headers: + content-length: + - '46' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2188' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/current?api-version=0.1-preview + response: + body: + string: '{"contents":"Test entry 2 from Python SDK","subLedgerId":"subledger:0","transactionId":"2.2188"}' + headers: + content-length: + - '96' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2188' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.2185?api-version=0.1-preview + response: + body: + string: "{\n \"entry\": {\n \"contents\": \"Test entry from Python SDK\",\n + \ \"subLedgerId\": \"subledger:0\",\n \"transactionId\": \"2.2185\"\n + \ },\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '150' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2188' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_certificate.test_append_entry_flow_with_sub_ledger_id.yaml b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_certificate.test_append_entry_flow_with_sub_ledger_id.yaml new file mode 100644 index 000000000000..356632afef2a --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_certificate.test_append_entry_flow_with_sub_ledger_id.yaml @@ -0,0 +1,387 @@ +interactions: +- request: + body: '{"contents": "Test sub-ledger entry from Python SDK"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '53' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=132 + response: + body: + string: '{"subLedgerId":"132"}' + headers: + content-length: + - '21' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2189' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.2189/status?api-version=0.1-preview + response: + body: + string: '{"state":"Pending","transactionId":"2.2189"}' + headers: + content-length: + - '44' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2189' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.2189/status?api-version=0.1-preview + response: + body: + string: '{"state":"Pending","transactionId":"2.2189"}' + headers: + content-length: + - '44' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2190' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.2189/status?api-version=0.1-preview + response: + body: + string: '{"state":"Committed","transactionId":"2.2189"}' + headers: + content-length: + - '46' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2190' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.2189/status?api-version=0.1-preview + response: + body: + string: '{"state":"Committed","transactionId":"2.2189"}' + headers: + content-length: + - '46' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2190' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.2189/receipt?api-version=0.1-preview + response: + body: + string: "{\n \"receipt\": {\n \"leaf\": \"\",\n \"node_id\": \"\",\n + \ \"proof\": [],\n \"root\": \"\",\n \"signature\": \"\"\n },\n \"state\": + \"Loading\",\n \"transactionId\": \"\"\n}" + headers: + content-length: + - '155' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2190' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.2189/receipt?api-version=0.1-preview + response: + body: + string: "{\n \"receipt\": {\n \"leaf\": \"91b598b84537b6b967c9be552a0deeb8c7afd2ffc1c0f59acd7716482f0f82a3\",\n + \ \"node_id\": \"c801be0e15cdd5fdef828ec11b69551941f48aa200c17438d11286471c3e118c\",\n + \ \"proof\": [\n {\n \"left\": \"35e76af55f89138c562eb61e3de205ff4f00ef901e0e7eccbbe8ca86b62c8718\"\n + \ },\n {\n \"left\": \"8c5a989286c035f076a1381e9e24500ce7702cf0a6211ffbfffc85a75c03499c\"\n + \ },\n {\n \"left\": \"2ef80b76c2a70ef1e2fda8988371c46fc6fa7a178c95f39758c96ade31928547\"\n + \ },\n {\n \"left\": \"0b35df5996eaab6e3a4212fde193b2e5712fe4457749c1ac3b0bc46a95aa4ede\"\n + \ },\n {\n \"left\": \"32b472e0d88c026188ea979307b6acf76b84ed6d94fc1d894948312187a63cf6\"\n + \ }\n ],\n \"root\": \"6da651b235cbd03f68b35c3370bac0e01a8652baff244db16e83d1909a93e3e3\",\n + \ \"signature\": \"MGUCMQDpfAO7brMU4wLIz4IvbpwczmL6O1LGRxs0nkoGH0e+t1iuIRd9zqy8KcaoT/uFc+wCMBOnmLyn5JlQpOHtVW2YmRsTitXEz+aK6Ox/mrG5WjrWAR/pSE6I0obHKMGl1LUIQg==\"\n + \ },\n \"state\": \"Ready\",\n \"transactionId\": \"2.2189\"\n}" + headers: + content-length: + - '995' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2190' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/current?api-version=0.1-preview&subLedgerId=132 + response: + body: + string: '{"contents":"Test sub-ledger entry from Python SDK","subLedgerId":"132","transactionId":"2.2190"}' + headers: + content-length: + - '97' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2190' + status: + code: 200 + message: OK +- request: + body: '{"contents": "Test sub-ledger entry 2 from Python SDK"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '55' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=132 + response: + body: + string: '{"subLedgerId":"132"}' + headers: + content-length: + - '21' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2191' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.2191/status?api-version=0.1-preview + response: + body: + string: '{"state":"Pending","transactionId":"2.2191"}' + headers: + content-length: + - '44' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2191' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.2191/status?api-version=0.1-preview + response: + body: + string: '{"state":"Pending","transactionId":"2.2191"}' + headers: + content-length: + - '44' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2192' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.2191/status?api-version=0.1-preview + response: + body: + string: '{"state":"Committed","transactionId":"2.2191"}' + headers: + content-length: + - '46' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2192' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/current?api-version=0.1-preview&subLedgerId=132 + response: + body: + string: '{"contents":"Test sub-ledger entry 2 from Python SDK","subLedgerId":"132","transactionId":"2.2192"}' + headers: + content-length: + - '99' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2192' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.2189?api-version=0.1-preview&subLedgerId=132 + response: + body: + string: "{\n \"entry\": {\n \"contents\": \"Test sub-ledger entry from Python + SDK\",\n \"subLedgerId\": \"132\",\n \"transactionId\": \"2.2189\"\n + \ },\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '153' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2192' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_certificate.test_range_query.yaml b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_certificate.test_range_query.yaml new file mode 100644 index 000000000000..b7ad59af36c1 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_certificate.test_range_query.yaml @@ -0,0 +1,6868 @@ +interactions: +- request: + body: '{"contents": "message-0"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2193' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-1"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2195' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2196' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-3"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2197' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-4"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2198' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-5"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2199' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-6"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2201' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-7"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2202' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-8"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2203' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-9"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2204' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-10"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2205' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-11"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2206' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-12"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2208' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-13"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2209' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-14"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2210' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-15"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2211' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-16"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2212' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-17"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2214' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-18"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2215' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-19"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2216' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-20"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2217' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-21"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2218' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-22"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2219' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-23"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2221' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-24"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2222' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-25"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2223' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-26"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2224' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-27"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2225' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-28"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2227' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-29"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2228' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-30"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2229' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-31"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2230' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-32"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2231' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-33"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2233' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-34"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2234' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-35"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2235' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-36"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2236' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-37"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2237' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-38"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2238' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-39"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2240' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-40"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2241' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-41"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2242' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-42"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2243' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-43"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2244' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-44"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2245' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-45"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2247' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-46"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2248' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-47"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2249' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-48"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2250' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-49"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2251' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-50"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2252' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-51"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2254' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-52"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2255' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-53"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2256' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-54"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2257' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-55"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2258' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-56"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2259' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-57"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2260' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-58"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2262' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-59"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2263' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-60"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2264' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-61"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2265' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-62"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2266' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-63"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2267' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-64"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2269' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-65"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2270' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-66"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2271' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-67"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2272' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-68"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2273' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-69"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2274' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-70"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2276' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-71"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2277' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-72"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2278' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-73"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2279' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-74"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2280' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-75"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2282' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-76"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2283' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-77"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2284' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-78"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2285' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-79"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2286' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-80"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2288' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-81"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2289' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-82"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2290' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-83"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2291' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-84"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2292' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-85"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2294' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-86"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2295' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-87"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2296' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-88"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2297' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-89"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2298' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-90"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2299' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-91"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2300' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-92"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2302' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-93"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2303' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-94"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2304' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-95"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2305' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-96"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2306' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-97"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2307' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-98"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2309' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-99"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2310' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-100"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2311' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-101"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2312' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-102"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2313' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-103"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2314' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-104"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2316' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-105"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2317' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-106"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2318' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-107"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2319' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-108"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2320' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-109"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2322' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-110"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2323' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-111"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2324' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-112"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2325' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-113"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2326' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-114"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2328' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-115"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2329' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-116"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2330' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-117"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2331' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-118"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2332' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-119"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2333' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-120"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2334' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-121"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2336' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-122"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2337' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-123"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2338' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-124"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2339' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-125"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2341' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-126"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2342' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-127"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2343' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-128"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2344' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-129"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2345' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-130"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2346' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-131"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2348' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-132"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2349' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-133"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2350' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-134"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2351' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-135"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2352' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-136"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2353' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-137"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2355' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-138"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2356' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-139"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2357' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-140"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2358' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-141"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2359' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-142"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2361' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-143"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2362' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-144"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2363' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-145"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2364' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-146"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2365' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-147"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2366' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-148"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2368' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-149"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2369' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-150"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2370' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-151"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2371' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-152"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2372' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-153"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2373' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-154"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2375' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-155"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2376' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-156"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2377' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-157"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2378' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-158"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2379' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-159"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2380' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-160"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2382' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-161"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2383' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-162"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2384' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-163"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2385' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-164"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2386' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-165"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2388' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-166"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2389' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-167"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2390' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-168"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2391' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-169"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2393' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-170"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2394' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-171"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2395' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-172"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2396' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-173"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2397' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-174"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2399' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-175"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2400' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-176"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2401' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-177"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2402' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-178"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2403' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-179"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2405' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-180"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2406' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-181"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2407' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-182"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2408' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-183"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2409' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-184"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2411' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-185"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2412' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-186"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2413' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-187"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2414' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-188"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2415' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-189"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2416' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-190"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2418' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-191"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2419' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-192"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2420' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-193"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2421' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-194"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2422' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-195"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2423' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-196"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2424' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-197"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2426' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-198"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2427' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-199"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2428' + status: + code: 200 + message: OK +- request: + body: '{"contents": "message-200"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: + - '19' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2429' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2193 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2193\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: + - '123' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2429' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2193 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2294\",\n + \ \"entries\": [\n {\n \"contents\": \"message-0\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2193\"\n },\n {\n \"contents\": + \"message-5\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.2199\"\n + \ },\n {\n \"contents\": \"message-10\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2205\"\n },\n {\n \"contents\": + \"message-15\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.2211\"\n + \ },\n {\n \"contents\": \"message-20\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2217\"\n },\n {\n \"contents\": + \"message-25\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.2223\"\n + \ },\n {\n \"contents\": \"message-30\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2229\"\n },\n {\n \"contents\": + \"message-35\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.2235\"\n + \ },\n {\n \"contents\": \"message-40\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2241\"\n },\n {\n \"contents\": + \"message-45\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.2247\"\n + \ },\n {\n \"contents\": \"message-50\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2252\"\n },\n {\n \"contents\": + \"message-55\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.2258\"\n + \ },\n {\n \"contents\": \"message-60\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2264\"\n },\n {\n \"contents\": + \"message-65\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.2270\"\n + \ },\n {\n \"contents\": \"message-70\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2276\"\n },\n {\n \"contents\": + \"message-75\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.2282\"\n + \ },\n {\n \"contents\": \"message-80\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2288\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '1889' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2430' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2294 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2395\",\n + \ \"entries\": [\n {\n \"contents\": \"message-85\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2294\"\n },\n {\n \"contents\": + \"message-90\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.2299\"\n + \ },\n {\n \"contents\": \"message-95\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2305\"\n },\n {\n \"contents\": + \"message-100\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.2311\"\n },\n {\n \"contents\": \"message-105\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2317\"\n },\n {\n \"contents\": + \"message-110\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.2323\"\n },\n {\n \"contents\": \"message-115\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2329\"\n },\n {\n \"contents\": + \"message-120\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.2334\"\n },\n {\n \"contents\": \"message-125\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2341\"\n },\n {\n \"contents\": + \"message-130\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.2346\"\n },\n {\n \"contents\": \"message-135\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2352\"\n },\n {\n \"contents\": + \"message-140\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.2358\"\n },\n {\n \"contents\": \"message-145\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2364\"\n },\n {\n \"contents\": + \"message-150\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.2370\"\n },\n {\n \"contents\": \"message-155\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2376\"\n },\n {\n \"contents\": + \"message-160\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.2382\"\n },\n {\n \"contents\": \"message-165\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2388\"\n },\n {\n \"contents\": + \"message-170\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.2394\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '2009' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2430' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2395 + response: + body: + string: "{\n \"entries\": [\n {\n \"contents\": \"message-175\",\n + \ \"subLedgerId\": \"0\",\n \"transactionId\": \"2.2400\"\n },\n + \ {\n \"contents\": \"message-180\",\n \"subLedgerId\": \"0\",\n + \ \"transactionId\": \"2.2406\"\n },\n {\n \"contents\": \"message-185\",\n + \ \"subLedgerId\": \"0\",\n \"transactionId\": \"2.2412\"\n },\n + \ {\n \"contents\": \"message-190\",\n \"subLedgerId\": \"0\",\n + \ \"transactionId\": \"2.2418\"\n },\n {\n \"contents\": \"message-195\",\n + \ \"subLedgerId\": \"0\",\n \"transactionId\": \"2.2423\"\n },\n + \ {\n \"contents\": \"message-200\",\n \"subLedgerId\": \"0\",\n + \ \"transactionId\": \"2.2429\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '665' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2430' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2195 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2195\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: + - '123' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2430' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2195 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2296\",\n + \ \"entries\": [\n {\n \"contents\": \"message-1\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2195\"\n },\n {\n \"contents\": + \"message-6\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.2201\"\n + \ },\n {\n \"contents\": \"message-11\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2206\"\n },\n {\n \"contents\": + \"message-16\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.2212\"\n + \ },\n {\n \"contents\": \"message-21\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2218\"\n },\n {\n \"contents\": + \"message-26\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.2224\"\n + \ },\n {\n \"contents\": \"message-31\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2230\"\n },\n {\n \"contents\": + \"message-36\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.2236\"\n + \ },\n {\n \"contents\": \"message-41\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2242\"\n },\n {\n \"contents\": + \"message-46\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.2248\"\n + \ },\n {\n \"contents\": \"message-51\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2254\"\n },\n {\n \"contents\": + \"message-56\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.2259\"\n + \ },\n {\n \"contents\": \"message-61\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2265\"\n },\n {\n \"contents\": + \"message-66\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.2271\"\n + \ },\n {\n \"contents\": \"message-71\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2277\"\n },\n {\n \"contents\": + \"message-76\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.2283\"\n + \ },\n {\n \"contents\": \"message-81\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2289\"\n },\n {\n \"contents\": + \"message-86\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.2295\"\n + \ }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '1992' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2430' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2296 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2397\",\n + \ \"entries\": [\n {\n \"contents\": \"message-91\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2300\"\n },\n {\n \"contents\": + \"message-96\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.2306\"\n + \ },\n {\n \"contents\": \"message-101\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2312\"\n },\n {\n \"contents\": + \"message-106\",\n \"subLedgerId\": \"1\",\n \"transactionId\": + \"2.2318\"\n },\n {\n \"contents\": \"message-111\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2324\"\n },\n {\n \"contents\": + \"message-116\",\n \"subLedgerId\": \"1\",\n \"transactionId\": + \"2.2330\"\n },\n {\n \"contents\": \"message-121\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2336\"\n },\n {\n \"contents\": + \"message-126\",\n \"subLedgerId\": \"1\",\n \"transactionId\": + \"2.2342\"\n },\n {\n \"contents\": \"message-131\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2348\"\n },\n {\n \"contents\": + \"message-136\",\n \"subLedgerId\": \"1\",\n \"transactionId\": + \"2.2353\"\n },\n {\n \"contents\": \"message-141\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2359\"\n },\n {\n \"contents\": + \"message-146\",\n \"subLedgerId\": \"1\",\n \"transactionId\": + \"2.2365\"\n },\n {\n \"contents\": \"message-151\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2371\"\n },\n {\n \"contents\": + \"message-156\",\n \"subLedgerId\": \"1\",\n \"transactionId\": + \"2.2377\"\n },\n {\n \"contents\": \"message-161\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2383\"\n },\n {\n \"contents\": + \"message-166\",\n \"subLedgerId\": \"1\",\n \"transactionId\": + \"2.2389\"\n },\n {\n \"contents\": \"message-171\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2395\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '1906' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2430' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2397 + response: + body: + string: "{\n \"entries\": [\n {\n \"contents\": \"message-176\",\n + \ \"subLedgerId\": \"1\",\n \"transactionId\": \"2.2401\"\n },\n + \ {\n \"contents\": \"message-181\",\n \"subLedgerId\": \"1\",\n + \ \"transactionId\": \"2.2407\"\n },\n {\n \"contents\": \"message-186\",\n + \ \"subLedgerId\": \"1\",\n \"transactionId\": \"2.2413\"\n },\n + \ {\n \"contents\": \"message-191\",\n \"subLedgerId\": \"1\",\n + \ \"transactionId\": \"2.2419\"\n },\n {\n \"contents\": \"message-196\",\n + \ \"subLedgerId\": \"1\",\n \"transactionId\": \"2.2424\"\n }\n + \ ],\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '561' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2430' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2196 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2196\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: + - '123' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2430' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2196 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2297\",\n + \ \"entries\": [\n {\n \"contents\": \"message-2\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2196\"\n },\n {\n \"contents\": + \"message-7\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.2202\"\n + \ },\n {\n \"contents\": \"message-12\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2208\"\n },\n {\n \"contents\": + \"message-17\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.2214\"\n + \ },\n {\n \"contents\": \"message-22\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2219\"\n },\n {\n \"contents\": + \"message-27\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.2225\"\n + \ },\n {\n \"contents\": \"message-32\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2231\"\n },\n {\n \"contents\": + \"message-37\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.2237\"\n + \ },\n {\n \"contents\": \"message-42\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2243\"\n },\n {\n \"contents\": + \"message-47\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.2249\"\n + \ },\n {\n \"contents\": \"message-52\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2255\"\n },\n {\n \"contents\": + \"message-57\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.2260\"\n + \ },\n {\n \"contents\": \"message-62\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2266\"\n },\n {\n \"contents\": + \"message-67\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.2272\"\n + \ },\n {\n \"contents\": \"message-72\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2278\"\n },\n {\n \"contents\": + \"message-77\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.2284\"\n + \ },\n {\n \"contents\": \"message-82\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2290\"\n },\n {\n \"contents\": + \"message-87\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.2296\"\n + \ }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '1992' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2430' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2297 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2398\",\n + \ \"entries\": [\n {\n \"contents\": \"message-92\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2302\"\n },\n {\n \"contents\": + \"message-97\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.2307\"\n + \ },\n {\n \"contents\": \"message-102\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2313\"\n },\n {\n \"contents\": + \"message-107\",\n \"subLedgerId\": \"2\",\n \"transactionId\": + \"2.2319\"\n },\n {\n \"contents\": \"message-112\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2325\"\n },\n {\n \"contents\": + \"message-117\",\n \"subLedgerId\": \"2\",\n \"transactionId\": + \"2.2331\"\n },\n {\n \"contents\": \"message-122\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2337\"\n },\n {\n \"contents\": + \"message-127\",\n \"subLedgerId\": \"2\",\n \"transactionId\": + \"2.2343\"\n },\n {\n \"contents\": \"message-132\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2349\"\n },\n {\n \"contents\": + \"message-137\",\n \"subLedgerId\": \"2\",\n \"transactionId\": + \"2.2355\"\n },\n {\n \"contents\": \"message-142\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2361\"\n },\n {\n \"contents\": + \"message-147\",\n \"subLedgerId\": \"2\",\n \"transactionId\": + \"2.2366\"\n },\n {\n \"contents\": \"message-152\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2372\"\n },\n {\n \"contents\": + \"message-157\",\n \"subLedgerId\": \"2\",\n \"transactionId\": + \"2.2378\"\n },\n {\n \"contents\": \"message-162\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2384\"\n },\n {\n \"contents\": + \"message-167\",\n \"subLedgerId\": \"2\",\n \"transactionId\": + \"2.2390\"\n },\n {\n \"contents\": \"message-172\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2396\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '1906' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2430' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2398 + response: + body: + string: "{\n \"entries\": [\n {\n \"contents\": \"message-177\",\n + \ \"subLedgerId\": \"2\",\n \"transactionId\": \"2.2402\"\n },\n + \ {\n \"contents\": \"message-182\",\n \"subLedgerId\": \"2\",\n + \ \"transactionId\": \"2.2408\"\n },\n {\n \"contents\": \"message-187\",\n + \ \"subLedgerId\": \"2\",\n \"transactionId\": \"2.2414\"\n },\n + \ {\n \"contents\": \"message-192\",\n \"subLedgerId\": \"2\",\n + \ \"transactionId\": \"2.2420\"\n },\n {\n \"contents\": \"message-197\",\n + \ \"subLedgerId\": \"2\",\n \"transactionId\": \"2.2426\"\n }\n + \ ],\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '561' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2430' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2197 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2197\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: + - '123' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2430' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2197 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2298\",\n + \ \"entries\": [\n {\n \"contents\": \"message-3\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2197\"\n },\n {\n \"contents\": + \"message-8\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.2203\"\n + \ },\n {\n \"contents\": \"message-13\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2209\"\n },\n {\n \"contents\": + \"message-18\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.2215\"\n + \ },\n {\n \"contents\": \"message-23\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2221\"\n },\n {\n \"contents\": + \"message-28\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.2227\"\n + \ },\n {\n \"contents\": \"message-33\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2233\"\n },\n {\n \"contents\": + \"message-38\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.2238\"\n + \ },\n {\n \"contents\": \"message-43\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2244\"\n },\n {\n \"contents\": + \"message-48\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.2250\"\n + \ },\n {\n \"contents\": \"message-53\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2256\"\n },\n {\n \"contents\": + \"message-58\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.2262\"\n + \ },\n {\n \"contents\": \"message-63\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2267\"\n },\n {\n \"contents\": + \"message-68\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.2273\"\n + \ },\n {\n \"contents\": \"message-73\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2279\"\n },\n {\n \"contents\": + \"message-78\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.2285\"\n + \ },\n {\n \"contents\": \"message-83\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2291\"\n },\n {\n \"contents\": + \"message-88\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.2297\"\n + \ }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '1992' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2430' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2298 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2399\",\n + \ \"entries\": [\n {\n \"contents\": \"message-93\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2303\"\n },\n {\n \"contents\": + \"message-98\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.2309\"\n + \ },\n {\n \"contents\": \"message-103\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2314\"\n },\n {\n \"contents\": + \"message-108\",\n \"subLedgerId\": \"3\",\n \"transactionId\": + \"2.2320\"\n },\n {\n \"contents\": \"message-113\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2326\"\n },\n {\n \"contents\": + \"message-118\",\n \"subLedgerId\": \"3\",\n \"transactionId\": + \"2.2332\"\n },\n {\n \"contents\": \"message-123\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2338\"\n },\n {\n \"contents\": + \"message-128\",\n \"subLedgerId\": \"3\",\n \"transactionId\": + \"2.2344\"\n },\n {\n \"contents\": \"message-133\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2350\"\n },\n {\n \"contents\": + \"message-138\",\n \"subLedgerId\": \"3\",\n \"transactionId\": + \"2.2356\"\n },\n {\n \"contents\": \"message-143\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2362\"\n },\n {\n \"contents\": + \"message-148\",\n \"subLedgerId\": \"3\",\n \"transactionId\": + \"2.2368\"\n },\n {\n \"contents\": \"message-153\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2373\"\n },\n {\n \"contents\": + \"message-158\",\n \"subLedgerId\": \"3\",\n \"transactionId\": + \"2.2379\"\n },\n {\n \"contents\": \"message-163\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2385\"\n },\n {\n \"contents\": + \"message-168\",\n \"subLedgerId\": \"3\",\n \"transactionId\": + \"2.2391\"\n },\n {\n \"contents\": \"message-173\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2397\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '1906' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2430' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2399 + response: + body: + string: "{\n \"entries\": [\n {\n \"contents\": \"message-178\",\n + \ \"subLedgerId\": \"3\",\n \"transactionId\": \"2.2403\"\n },\n + \ {\n \"contents\": \"message-183\",\n \"subLedgerId\": \"3\",\n + \ \"transactionId\": \"2.2409\"\n },\n {\n \"contents\": \"message-188\",\n + \ \"subLedgerId\": \"3\",\n \"transactionId\": \"2.2415\"\n },\n + \ {\n \"contents\": \"message-193\",\n \"subLedgerId\": \"3\",\n + \ \"transactionId\": \"2.2421\"\n },\n {\n \"contents\": \"message-198\",\n + \ \"subLedgerId\": \"3\",\n \"transactionId\": \"2.2427\"\n }\n + \ ],\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '561' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2430' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2198 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2198\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: + - '123' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2430' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2198 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2299\",\n + \ \"entries\": [\n {\n \"contents\": \"message-4\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2198\"\n },\n {\n \"contents\": + \"message-9\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.2204\"\n + \ },\n {\n \"contents\": \"message-14\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2210\"\n },\n {\n \"contents\": + \"message-19\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.2216\"\n + \ },\n {\n \"contents\": \"message-24\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2222\"\n },\n {\n \"contents\": + \"message-29\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.2228\"\n + \ },\n {\n \"contents\": \"message-34\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2234\"\n },\n {\n \"contents\": + \"message-39\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.2240\"\n + \ },\n {\n \"contents\": \"message-44\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2245\"\n },\n {\n \"contents\": + \"message-49\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.2251\"\n + \ },\n {\n \"contents\": \"message-54\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2257\"\n },\n {\n \"contents\": + \"message-59\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.2263\"\n + \ },\n {\n \"contents\": \"message-64\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2269\"\n },\n {\n \"contents\": + \"message-69\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.2274\"\n + \ },\n {\n \"contents\": \"message-74\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2280\"\n },\n {\n \"contents\": + \"message-79\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.2286\"\n + \ },\n {\n \"contents\": \"message-84\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2292\"\n },\n {\n \"contents\": + \"message-89\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.2298\"\n + \ }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '1992' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2430' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2299 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2400\",\n + \ \"entries\": [\n {\n \"contents\": \"message-94\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2304\"\n },\n {\n \"contents\": + \"message-99\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.2310\"\n + \ },\n {\n \"contents\": \"message-104\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2316\"\n },\n {\n \"contents\": + \"message-109\",\n \"subLedgerId\": \"4\",\n \"transactionId\": + \"2.2322\"\n },\n {\n \"contents\": \"message-114\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2328\"\n },\n {\n \"contents\": + \"message-119\",\n \"subLedgerId\": \"4\",\n \"transactionId\": + \"2.2333\"\n },\n {\n \"contents\": \"message-124\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2339\"\n },\n {\n \"contents\": + \"message-129\",\n \"subLedgerId\": \"4\",\n \"transactionId\": + \"2.2345\"\n },\n {\n \"contents\": \"message-134\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2351\"\n },\n {\n \"contents\": + \"message-139\",\n \"subLedgerId\": \"4\",\n \"transactionId\": + \"2.2357\"\n },\n {\n \"contents\": \"message-144\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2363\"\n },\n {\n \"contents\": + \"message-149\",\n \"subLedgerId\": \"4\",\n \"transactionId\": + \"2.2369\"\n },\n {\n \"contents\": \"message-154\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2375\"\n },\n {\n \"contents\": + \"message-159\",\n \"subLedgerId\": \"4\",\n \"transactionId\": + \"2.2380\"\n },\n {\n \"contents\": \"message-164\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2386\"\n },\n {\n \"contents\": + \"message-169\",\n \"subLedgerId\": \"4\",\n \"transactionId\": + \"2.2393\"\n },\n {\n \"contents\": \"message-174\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2399\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '1906' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2430' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2400 + response: + body: + string: "{\n \"entries\": [\n {\n \"contents\": \"message-179\",\n + \ \"subLedgerId\": \"4\",\n \"transactionId\": \"2.2405\"\n },\n + \ {\n \"contents\": \"message-184\",\n \"subLedgerId\": \"4\",\n + \ \"transactionId\": \"2.2411\"\n },\n {\n \"contents\": \"message-189\",\n + \ \"subLedgerId\": \"4\",\n \"transactionId\": \"2.2416\"\n },\n + \ {\n \"contents\": \"message-194\",\n \"subLedgerId\": \"4\",\n + \ \"transactionId\": \"2.2422\"\n },\n {\n \"contents\": \"message-199\",\n + \ \"subLedgerId\": \"4\",\n \"transactionId\": \"2.2428\"\n }\n + \ ],\n \"state\": \"Ready\"\n}" + headers: + content-length: + - '561' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2430' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_certificate.test_user_management.yaml b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_certificate.test_user_management.yaml new file mode 100644 index 000000000000..4e237d61f8d0 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_certificate.test_user_management.yaml @@ -0,0 +1,166 @@ +interactions: +- request: + body: '{"assignedRole": "Contributor"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '31' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: PATCH + uri: https://fake-confidential-ledger.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview + response: + body: + string: '{"assignedRole":"Contributor","userId":"000000000000000000000000000000000000"}' + headers: + content-length: + - '78' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2431' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview + response: + body: + string: '{"assignedRole":"Contributor","userId":"000000000000000000000000000000000000"}' + headers: + content-length: + - '78' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2431' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: DELETE + uri: https://fake-confidential-ledger.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview + response: + body: + string: '' + headers: + content-length: + - '0' + x-ms-ccf-transaction-id: + - '2.2432' + status: + code: 204 + message: No Content +- request: + body: '{"assignedRole": "Reader"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: PATCH + uri: https://fake-confidential-ledger.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview + response: + body: + string: '{"assignedRole":"Reader","userId":"000000000000000000000000000000000000"}' + headers: + content-length: + - '73' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2433' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview + response: + body: + string: '{"assignedRole":"Reader","userId":"000000000000000000000000000000000000"}' + headers: + content-length: + - '73' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2433' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: DELETE + uri: https://fake-confidential-ledger.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview + response: + body: + string: '' + headers: + content-length: + - '0' + x-ms-ccf-transaction-id: + - '2.2434' + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_certificate.test_verification_methods.yaml b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_certificate.test_verification_methods.yaml new file mode 100644 index 000000000000..11eaf3d8bc55 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_certificate.test_verification_methods.yaml @@ -0,0 +1,126 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/governance/members?api-version=0.1-preview + response: + body: + string: '{"members":[{"certificate":"-----BEGIN CERTIFICATE-----\nMIIB+DCCAX2gAwIBAgIQbqIwsiHHQlWkhweK0NbPODAKBggqhkjOPQQDAzAgMR4w\nHAYDVQQDExVDQ0YgR292ZXJub3IgSWRlbnRpdHkwHhcNMjAxMTExMjAyNDUwWhcN\nMjExMTExMjAzNDUwWjAgMR4wHAYDVQQDExVDQ0YgR292ZXJub3IgSWRlbnRpdHkw\ndjAQBgcqhkjOPQIBBgUrgQQAIgNiAATTFBoe5FRZTXSQn5ZGl7BV40FpF6fvK3mj\nuDbh3BpAFCC9eXIU9nrGEEoaWH2n++c0TXuaR9TlXEm1ms47YMGmvr/epdI2Qgd6\nBC6bwYfMoRFVH/+G+itRj70ywY+lqrmjfDB6MA4GA1UdDwEB/wQEAwIHgDAJBgNV\nHRMEAjAAMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAfBgNVHSMEGDAW\ngBQefKdvzGwngW5bffiMcfFhoBYtNzAdBgNVHQ4EFgQUHnynb8xsJ4FuW334jHHx\nYaAWLTcwCgYIKoZIzj0EAwMDaQAwZgIxAKb40n899np5eoAei4YatmJ9P2kdGyGP\nqQBslkobR/Gb++QAHbFoD4m2tANPtpmYJAIxANklOHFie1OSLVwzl3n8zBbt1+KX\naH1qYPDr3MzPfvSBq7ckBGem2C6EEX4ratWAGQ==\n-----END + CERTIFICATE-----","id":"eec5d23a0f376538a34cccb35705cad4850741dcf82cd9ec39d3972aabc58a72"}]}' + headers: + content-length: + - '860' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2435' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/governance/constitution?api-version=0.1-preview + response: + body: + string: '{"digest":"8dd68f72e540dd7f96988eef553e122789228e9b4e917028853cc042d46ec811","script":"raw_puts= tables, + puts = ...\n for table_name, entries in pairs(puts) do\n t = tables[table_name]\n for + _,entry in pairs(entries) do\n t:put(entry.k, entry.v)\n end\n end\n return + true;environment_proposal= __Puts = {}\n function __Puts:new(o)\n o = + o or {}\n setmetatable(o, self)\n self.__index = self\n return o\n end\n\n function + __Puts:put(t, key, value)\n self[t] = self[t] or {}\n table.insert(self[t], + {k = key, v = value})\n return self\n end\n -- create a frontend for + __Puts that hides function entries\n Puts = setmetatable({}, {__index = __Puts})\n\n __Calls + = {}\n function __Calls:new(o)\n o = o or {}\n setmetatable(o, self)\n self.__index + = self\n return o\n end\n\n function __Calls:call(_func, _args)\n table.insert(self, + {func=_func, args=_args})\n return self\n end\n Calls = setmetatable({}, + {__index = __Calls})\n\n function empty_list()\n return setmetatable({}, + {__was_object=false})\n end\n\n function empty_object()\n return setmetatable({}, + {__was_object=true})\n end\n ;pass= tables, calls, votes, proposer_id = + ...\n\n -- interface definitions\n PASSED = 1\n PENDING = 0\n REJECTED + = -1\n STATE_ACTIVE = \"ACTIVE\"\n\n -- defines which of the members are + operators\n function is_operator(member)\n member_info = tables[\"public:ccf.gov.members.info\"]:get(member)\n if + member_info then\n member_data = member_info.member_data\n if member_data + then\n return member_data.is_operator == true\n end\n end\n return + false\n end\n\n -- defines calls that can be passed with sole operator input\n function + can_operator_pass(call)\n -- some calls can always be called by operators\n allowed_operator_funcs + = {\n trust_node=true,\n retire_node=true,\n new_user=true,\n remove_user=true,\n open_network=true,\n deploy_js_app=true,\n set_ca_cert_bundle=true,\n remove_ca_cert_bundle=true,\n set_jwt_issuer=true,\n remove_jwt_issuer=true,\n set_jwt_public_signing_keys=true,\n set_user_data=true,\n set_service_principal=true,\n remove_service_principal=true,\n }\n if + allowed_operator_funcs[call.func] then\n return true\n end\n\n -- + additionally, operators can add or retire other operators\n if call.func + == \"new_member\" then\n member_data = call.args.member_data\n if + member_data and member_data.is_operator then\n return true\n end\n elseif + call.func == \"retire_member\" then\n if is_operator(call.args) then\n return + true\n end\n end\n end\n\n -- count member votes\n member_votes + = 0\n\n for member, vote in pairs(votes) do\n if vote then\n if not + is_operator(member) then\n member_votes = member_votes + 1\n end\n end\n end\n\n -- + count active members, excluding operators\n members_active = 0\n\n tables[\"public:ccf.gov.members.info\"]:foreach(function(member, + details)\n if details[\"status\"] == STATE_ACTIVE and not is_operator(member) + then\n members_active = members_active + 1\n end\n end)\n\n -- check + for raw_puts to sensitive tables\n SENSITIVE_TABLES = {\"public:ccf.gov.whitelists\", + \"public:ccf.gov.scripts\"}\n for _, call in pairs(calls) do\n if call.func + == \"raw_puts\" then\n for _, sensitive_table in pairs(SENSITIVE_TABLES) + do\n if call.args[sensitive_table] then\n -- require unanimity + of non-operating members\n if member_votes == members_active then\n return + PASSED\n else\n return PENDING\n end\n end\n end\n end\n end\n\n -- + a vote is an operator vote if it''s only making operator calls\n operator_change + = true\n for _, call in pairs(calls) do\n if not can_operator_pass(call) + then\n operator_change = false\n break\n end\n end\n\n -- a + majority of members can always pass votes\n if member_votes > math.floor(members_active + / 2) then\n return PASSED\n end\n\n -- operators proposing operator changes + can pass them without a vote\n if operator_change and is_operator(proposer_id) + then\n return PASSED\n end\n\n return PENDING;"}' + headers: + content-length: + - '4306' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2435' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/enclaveQuotes?api-version=0.1-preview + response: + body: + string: '{"currentNodeId":"c801be0e15cdd5fdef828ec11b69551941f48aa200c17438d11286471c3e118c","enclaveQuotes":{"48bde5ab681ce4f35e78161cde552e8800784051a3602b3706c3a200d074f68c":{"mrenclave":"8e67b83969dea1207c06fb5191bfd45662c196d030bed26796b75f09c0e1c4bc","nodeId":"48bde5ab681ce4f35e78161cde552e8800784051a3602b3706c3a200d074f68c","quoteVersion":"OE_SGX_v1","raw":"030002000000000005000a00939a7233f79c4ca9940a0db3957f06074fca16e1b382cc4d9313fca5acbf408b0000000011110305ff80060000000000000000000000000000000000000000000000000000000000000000000000000000000000050000000000000007000000000000008e67b83969dea1207c06fb5191bfd45662c196d030bed26796b75f09c0e1c4bc000000000000000000000000000000000000000000000000000000000000000056a35b461bd8042255f6d33ee5ce7afa34f7024a35b74f15c5808e0c00864226000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005ab4ecfb2f7844a8179722eb80a639691a8bbf86c99e95d39f2d683beafefa6a0000000000000000000000000000000000000000000000000000000000000000341000002525ef54e5c5dd0d32973cc9c759fefc30c7aef7094c18134ef0e35117403532c109de78dd7fabceaa4c6ae624239e2417a932f0bb32eea17ea8259c241bfa0d8eb0721568eb8eefb5ffe48d4c0535ccbd637f6998f30d252334d093bfe489707cef9b5abbe51428ff6feb0d5590723896f7e3d8466e7c4c7f661f5588b1cbc011110305ff800600000000000000000000000000000000000000000000000000000000000000000000000000000000001500000000000000070000000000000060d85af28be8d1c40a08d98b009d5f8acc1384a385cf460800e478791d1a979c00000000000000000000000000000000000000000000000000000000000000008c4f5775d796503e96137f77c68a829a0056ac8ded70140b081b094490c57bff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045566c39ee9249e7f197a87256fd7267ac67bec7f27e6133d95306656244366e00000000000000000000000000000000000000000000000000000000000000007d1cada36a9e54bde941973bd2de03d5304bffdd775474aec6d38207272d9226a3e9e0314555d3960507f3224cf7d2009d75c8b968071fc31094a3dfb999c1e42000000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f0500cc0d00002d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949456754434342436167417749424167495545646d6b4833625131367152525856766e73307369596b3979495577436759494b6f5a497a6a3045417749770a6354456a4d4345474131554541777761535735305a577767553064594946424453794251636d396a5a584e7a6233496751304578476a415942674e5642416f4d0a45556c756447567349454e76636e4276636d4630615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b47413155450a4341774351304578437a414a42674e5642415954416c56544d423458445449784d4449784d4449794d5455774e466f58445449344d4449784d4449794d5455770a4e466f77634445694d434147413155454177775a535735305a5777675530645949464244537942445a584a3061575a70593246305a5445614d426747413155450a43677752535735305a577767513239796347397959585270623234784644415342674e564241634d43314e68626e526849454e7359584a684d517377435159440a5651514944414a445154454c4d416b474131554542684d4356564d775754415442676371686b6a4f5051494242676771686b6a4f50514d4242774e43414152680a5247587236365079506673764a55444a666158563841575957586768454e6b784638614d6d3471396a5a543546356d2f4d446b466365724a735a486c6d2b58710a4471673138452f344f416e39622f70344e366d796f3449436d7a434341706377487759445652306a42426777466f4155304f6971326e58582b53354a463567380a6578526c304e587957553077587759445652306642466777566a42556f464b6755495a4f6148523063484d364c79396863476b7564484a316333526c5a484e6c0a636e5a705932567a4c6d6c75644756734c6d4e766253397a5a3367765932567964476c6d61574e6864476c76626939324d6939775932746a636d772f593245390a63484a765932567a633239794d42304741315564446751574242537956634a3754335950586f383059535762493759504e514233506a414f42674e56485138420a4166384542414d434273417744415944565230544151482f42414977414443434164514743537147534962345451454e4151534341635577676748424d4234470a43697147534962345451454e4151454545475a445038395a483248673435704f4f5337372b564d776767466b42676f71686b69472b453042445145434d4949420a5644415142677371686b69472b45304244514543415149424554415142677371686b69472b45304244514543416749424554415142677371686b69472b4530420a4451454341774942416a415142677371686b69472b45304244514543424149424244415142677371686b69472b453042445145434251494241544152426773710a686b69472b4530424451454342674943414941774541594c4b6f5a496876684e4151304241676343415159774541594c4b6f5a496876684e41513042416767430a415141774541594c4b6f5a496876684e4151304241676b43415141774541594c4b6f5a496876684e4151304241676f43415141774541594c4b6f5a496876684e0a4151304241677343415141774541594c4b6f5a496876684e4151304241677743415141774541594c4b6f5a496876684e4151304241673043415141774541594c0a4b6f5a496876684e4151304241673443415141774541594c4b6f5a496876684e4151304241673843415141774541594c4b6f5a496876684e41513042416841430a415141774541594c4b6f5a496876684e415130424168454341516f774877594c4b6f5a496876684e4151304241684945454245524167514267415941414141410a41414141414141774541594b4b6f5a496876684e4151304241775143414141774641594b4b6f5a496876684e4151304242415147414a4275315141414d4138470a43697147534962345451454e4151554b41514177436759494b6f5a497a6a3045417749445351417752674968414a497245793530694b564857596f70573844500a56525366306859546f7232535830674b4f517569354f644241694541354d6351674a7a615550497a456342714c7970554a646a6a5a6e694c77686458387a75520a496458303244593d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a2d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949436c7a4343416a36674177494241674956414e446f71747031312f6b7553526559504873555a644456386c6c4e4d416f4743437147534d343942414d430a4d476778476a415942674e5642414d4d45556c756447567349464e48574342536232393049454e424d526f77474159445651514b4442464a626e526c624342440a62334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e564241674d416b4e424d5173770a435159445651514745774a56557a4165467730784f4441314d6a45784d4451314d4468614677307a4d7a41314d6a45784d4451314d4468614d484578497a41680a42674e5642414d4d476b6c756447567349464e48574342515130736755484a765932567a6332397949454e424d526f77474159445651514b4442464a626e526c0a6243424462334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e564241674d416b4e420a4d517377435159445651514745774a56557a425a4d424d4742797147534d34394167454743437147534d34394177454841304941424c39712b4e4d7032494f670a74646c31626b2f75575a352b5447516d38614369387a373866732b664b435133642b75447a586e56544154325a68444369667949754a77764e33774e427039690a484253534d4a4d4a72424f6a6762737767626777487759445652306a42426777466f4155496d554d316c71644e496e7a6737535655723951477a6b6e427177770a556759445652306642457377535442486f45576751345a426148523063484d364c79396a5a584a3061575a70593246305a584d7564484a316333526c5a484e6c0a636e5a705932567a4c6d6c75644756734c6d4e766253394a626e526c62464e4857464a76623352445153356a636d7777485159445652304f42425945464e446f0a71747031312f6b7553526559504873555a644456386c6c4e4d41344741315564447745422f77514541774942426a415342674e5648524d4241663845434441470a4151482f416745414d416f4743437147534d343942414d43413063414d45514349432f396a2b3834542b487a74564f2f734f5142574a6253642b2f327565784b0a342b6141306a6346424c63704169413364684d72463563443532743646714d764149706a385864476d79326265656c6a4c4a4b2b707a706352413d3d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a2d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949436a6a4343416a53674177494241674955496d554d316c71644e496e7a6737535655723951477a6b6e42717777436759494b6f5a497a6a3045417749770a614445614d4267474131554541777752535735305a5777675530645949464a766233516751304578476a415942674e5642416f4d45556c756447567349454e760a636e4276636d4630615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b47413155454341774351304578437a414a0a42674e5642415954416c56544d423458445445344d4455794d5445774e4445784d566f5844544d7a4d4455794d5445774e4445784d466f77614445614d4267470a4131554541777752535735305a5777675530645949464a766233516751304578476a415942674e5642416f4d45556c756447567349454e76636e4276636d46300a615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b47413155454341774351304578437a414a42674e56424159540a416c56544d466b77457759484b6f5a497a6a3043415159494b6f5a497a6a3044415163445167414543366e45774d4449595a4f6a2f69505773437a61454b69370a314f694f534c52466857476a626e42564a66566e6b59347533496a6b4459594c304d784f346d717379596a6c42616c54565978465032734a424b357a6c4b4f420a757a43427544416642674e5648534d4547444157674251695a517a575770303069664f44744a5653763141624f5363477244425342674e5648523845537a424a0a4d45656752614244686b466f64485277637a6f764c324e6c636e52705a6d6c6a5958526c63793530636e567a6447566b63325679646d6c6a5a584d75615735300a5a577775593239744c306c756447567355306459556d397664454e424c6d4e796244416442674e564851344546675155496d554d316c71644e496e7a673753560a55723951477a6b6e4271777744675944565230504151482f42415144416745474d42494741315564457745422f7751494d4159424166384341514577436759490a4b6f5a497a6a30454177494453414177525149675151732f30387279636450617543466b3855505158434d416c736c6f4265374e7761514754636470613045430a495143557438534776784b6d6a70634d2f7a3057503944766f3868326b3564753169574464426b416e2b306969413d3d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a0001000000000000000100000000000000100000000000000020000000000000007367785f7265706f72745f646174610048bde5ab681ce4f35e78161cde552e8800784051a3602b3706c3a200d074f68c"},"c801be0e15cdd5fdef828ec11b69551941f48aa200c17438d11286471c3e118c":{"mrenclave":"8e67b83969dea1207c06fb5191bfd45662c196d030bed26796b75f09c0e1c4bc","nodeId":"c801be0e15cdd5fdef828ec11b69551941f48aa200c17438d11286471c3e118c","quoteVersion":"OE_SGX_v1","raw":"030002000000000005000a00939a7233f79c4ca9940a0db3957f0607f471d316335a86ceb76e06231987a82e0000000011110305ff80060000000000000000000000000000000000000000000000000000000000000000000000000000000000050000000000000007000000000000008e67b83969dea1207c06fb5191bfd45662c196d030bed26796b75f09c0e1c4bc000000000000000000000000000000000000000000000000000000000000000056a35b461bd8042255f6d33ee5ce7afa34f7024a35b74f15c5808e0c008642260000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000078c32d2a305014f726ee776e3ddce1e78ace9dbdc80afffcdac36183db4aa88400000000000000000000000000000000000000000000000000000000000000003410000079e0ccf41c1bf95814e94b1bb528286360ab348fbdbe6d88ab4326e92b0e22b6aafdba795661c76216f638917f703874b7a7c11b09136e1c40c759079e08d25ead98b2a54c00819c809031c1c532fe81474455b2164af72abc5adf1fae294c2d211d5d91cae5a63dba4aa0fef0c2ee40f07326a4e6c12fbe0e3e4301ae6c755d11110305ff800600000000000000000000000000000000000000000000000000000000000000000000000000000000001500000000000000070000000000000060d85af28be8d1c40a08d98b009d5f8acc1384a385cf460800e478791d1a979c00000000000000000000000000000000000000000000000000000000000000008c4f5775d796503e96137f77c68a829a0056ac8ded70140b081b094490c57bff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055ff9841726e0844f79627ed52300e9ed3d80df9b96c1b5077be05eae8c7f7240000000000000000000000000000000000000000000000000000000000000000f88d17f91c2dfcf5a0bbbd331f00ed75ae2476865c49bff369dfeb47e0a2032cb5e0778b5b9ca6a1221b6e351e4dd4003c6269facc7f1b70f05ce5671d090a232000000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f0500cc0d00002d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949456744434342436567417749424167495641507a733541517737784d2f6d2f44356f5669685176326a625a75664d416f4743437147534d343942414d430a4d484578497a416842674e5642414d4d476b6c756447567349464e48574342515130736755484a765932567a6332397949454e424d526f77474159445651514b0a4442464a626e526c6243424462334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e560a4241674d416b4e424d517377435159445651514745774a56557a4165467730794d54417a4d6a4d784e7a49354d446461467730794f44417a4d6a4d784e7a49350a4d4464614d484178496a416742674e5642414d4d47556c756447567349464e4857434251513073675132567964476c6d61574e6864475578476a415942674e560a42416f4d45556c756447567349454e76636e4276636d4630615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b470a413155454341774351304578437a414a42674e5642415954416c56544d466b77457759484b6f5a497a6a3043415159494b6f5a497a6a304441516344516741450a3935686643793248525170376e7766332f776d6a636749646e464f737632634b62525263547077797937466b4c71744d7a2b503234414751433737777350664f0a3141677165677543693065366e4b4531514f5553324b4f434170737767674b584d42384741315564497751594d426141464e446f71747031312f6b75535265590a504873555a644456386c6c4e4d46384741315564487752594d465977564b42536f464347546d68306448427a4f693876595842704c6e527964584e305a57527a0a5a584a3261574e6c63793570626e526c6243356a62323076633264344c324e6c636e52705a6d6c6a5958527062323476646a497663474e7259334a7350324e680a5058427962324e6c63334e76636a416442674e5648513445466751552f6746447943726b593350577134554565386e2b6337444f4b74497744675944565230500a4151482f42415144416762414d41774741315564457745422f7751434d4141776767485542676b71686b69472b45304244514545676748464d494942775441650a42676f71686b69472b45304244514542424242374d744e374b536a6d7656797674544641645274394d4949425a41594b4b6f5a496876684e41513042416a43430a415651774541594c4b6f5a496876684e4151304241674543415245774541594c4b6f5a496876684e4151304241674943415245774541594c4b6f5a496876684e0a4151304241674d43415149774541594c4b6f5a496876684e4151304241675143415151774541594c4b6f5a496876684e4151304241675543415145774551594c0a4b6f5a496876684e4151304241675943416743414d42414743797147534962345451454e41514948416745474d42414743797147534962345451454e415149490a416745414d42414743797147534962345451454e4151494a416745414d42414743797147534962345451454e4151494b416745414d42414743797147534962340a5451454e4151494c416745414d42414743797147534962345451454e4151494d416745414d42414743797147534962345451454e4151494e416745414d4241470a43797147534962345451454e4151494f416745414d42414743797147534962345451454e41514950416745414d42414743797147534962345451454e415149510a416745414d42414743797147534962345451454e415149524167454b4d42384743797147534962345451454e41514953424241524551494541594147414141410a41414141414141414d42414743697147534962345451454e41514d45416741414d42514743697147534962345451454e415151454267435162745541414441500a42676f71686b69472b45304244514546436745414d416f4743437147534d343942414d43413063414d455143494551625578385a6e79506d7442516b3474524c0a6d476f4e38304957366e55704637736144426e43334c6a48416941676d375a724e4c4348746656683979646e53634b6254365438546b357959527766484f65340a536b746936413d3d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a2d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949436c7a4343416a36674177494241674956414e446f71747031312f6b7553526559504873555a644456386c6c4e4d416f4743437147534d343942414d430a4d476778476a415942674e5642414d4d45556c756447567349464e48574342536232393049454e424d526f77474159445651514b4442464a626e526c624342440a62334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e564241674d416b4e424d5173770a435159445651514745774a56557a4165467730784f4441314d6a45784d4451314d4468614677307a4d7a41314d6a45784d4451314d4468614d484578497a41680a42674e5642414d4d476b6c756447567349464e48574342515130736755484a765932567a6332397949454e424d526f77474159445651514b4442464a626e526c0a6243424462334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e564241674d416b4e420a4d517377435159445651514745774a56557a425a4d424d4742797147534d34394167454743437147534d34394177454841304941424c39712b4e4d7032494f670a74646c31626b2f75575a352b5447516d38614369387a373866732b664b435133642b75447a586e56544154325a68444369667949754a77764e33774e427039690a484253534d4a4d4a72424f6a6762737767626777487759445652306a42426777466f4155496d554d316c71644e496e7a6737535655723951477a6b6e427177770a556759445652306642457377535442486f45576751345a426148523063484d364c79396a5a584a3061575a70593246305a584d7564484a316333526c5a484e6c0a636e5a705932567a4c6d6c75644756734c6d4e766253394a626e526c62464e4857464a76623352445153356a636d7777485159445652304f42425945464e446f0a71747031312f6b7553526559504873555a644456386c6c4e4d41344741315564447745422f77514541774942426a415342674e5648524d4241663845434441470a4151482f416745414d416f4743437147534d343942414d43413063414d45514349432f396a2b3834542b487a74564f2f734f5142574a6253642b2f327565784b0a342b6141306a6346424c63704169413364684d72463563443532743646714d764149706a385864476d79326265656c6a4c4a4b2b707a706352413d3d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a2d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949436a6a4343416a53674177494241674955496d554d316c71644e496e7a6737535655723951477a6b6e42717777436759494b6f5a497a6a3045417749770a614445614d4267474131554541777752535735305a5777675530645949464a766233516751304578476a415942674e5642416f4d45556c756447567349454e760a636e4276636d4630615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b47413155454341774351304578437a414a0a42674e5642415954416c56544d423458445445344d4455794d5445774e4445784d566f5844544d7a4d4455794d5445774e4445784d466f77614445614d4267470a4131554541777752535735305a5777675530645949464a766233516751304578476a415942674e5642416f4d45556c756447567349454e76636e4276636d46300a615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b47413155454341774351304578437a414a42674e56424159540a416c56544d466b77457759484b6f5a497a6a3043415159494b6f5a497a6a3044415163445167414543366e45774d4449595a4f6a2f69505773437a61454b69370a314f694f534c52466857476a626e42564a66566e6b59347533496a6b4459594c304d784f346d717379596a6c42616c54565978465032734a424b357a6c4b4f420a757a43427544416642674e5648534d4547444157674251695a517a575770303069664f44744a5653763141624f5363477244425342674e5648523845537a424a0a4d45656752614244686b466f64485277637a6f764c324e6c636e52705a6d6c6a5958526c63793530636e567a6447566b63325679646d6c6a5a584d75615735300a5a577775593239744c306c756447567355306459556d397664454e424c6d4e796244416442674e564851344546675155496d554d316c71644e496e7a673753560a55723951477a6b6e4271777744675944565230504151482f42415144416745474d42494741315564457745422f7751494d4159424166384341514577436759490a4b6f5a497a6a30454177494453414177525149675151732f30387279636450617543466b3855505158434d416c736c6f4265374e7761514754636470613045430a495143557438534776784b6d6a70634d2f7a3057503944766f3868326b3564753169574464426b416e2b306969413d3d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a0001000000000000000100000000000000100000000000000020000000000000007367785f7265706f72745f6461746100c801be0e15cdd5fdef828ec11b69551941f48aa200c17438d11286471c3e118c"},"cda0fa96a7916caafd144ea4b3d4188b197cff605b32416a3b47c1c69aeff594":{"mrenclave":"8e67b83969dea1207c06fb5191bfd45662c196d030bed26796b75f09c0e1c4bc","nodeId":"cda0fa96a7916caafd144ea4b3d4188b197cff605b32416a3b47c1c69aeff594","quoteVersion":"OE_SGX_v1","raw":"030002000000000005000a00939a7233f79c4ca9940a0db3957f060754a876d8093c9425005f2e6815d530010000000011110305ff80060000000000000000000000000000000000000000000000000000000000000000000000000000000000050000000000000007000000000000008e67b83969dea1207c06fb5191bfd45662c196d030bed26796b75f09c0e1c4bc000000000000000000000000000000000000000000000000000000000000000056a35b461bd8042255f6d33ee5ce7afa34f7024a35b74f15c5808e0c00864226000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008e302cec2c9c0d898ea0824736115427df94d26cb51ebc0913ef0feaf0c37db9000000000000000000000000000000000000000000000000000000000000000034100000932a7fe206944a7f06a203b73c4d35ac6d53c490fc017f7568a6a577cb2255290f23021dc1a3deb6159be60bc6e43de50f7da2921f71163ecafe18bee73c01bb06834e14e82c9982eb6cee7471e3b13721661ece0a68458b0948b26ed53322b58dbf3252283ce9fe4703d59aff2003d8f94c5b61722eefd439c735d7e40b0e9a11110305ff800600000000000000000000000000000000000000000000000000000000000000000000000000000000001500000000000000070000000000000060d85af28be8d1c40a08d98b009d5f8acc1384a385cf460800e478791d1a979c00000000000000000000000000000000000000000000000000000000000000008c4f5775d796503e96137f77c68a829a0056ac8ded70140b081b094490c57bff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000751ade3621fe0e0e62fdfda76b32e7524bd87388a96e0a98ace244c95a8965b500000000000000000000000000000000000000000000000000000000000000000322ce315e71a60490bddf773f32b059f4cce7b435d550e2c1cd34aa7faf1cf4d06858ceb9ff5b8fa2aa9d3ba7a564c53853ca78ea6e1175e02b185f94ec4e852000000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f0500cc0d00002d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d49494567544343424365674177494241674956414c546d71796a394e4363724f414844654849486f6c754d565758464d416f4743437147534d343942414d430a4d484578497a416842674e5642414d4d476b6c756447567349464e48574342515130736755484a765932567a6332397949454e424d526f77474159445651514b0a4442464a626e526c6243424462334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e560a4241674d416b4e424d517377435159445651514745774a56557a4165467730794d54417a4d6a4d774f544d304e546c61467730794f44417a4d6a4d774f544d300a4e546c614d484178496a416742674e5642414d4d47556c756447567349464e4857434251513073675132567964476c6d61574e6864475578476a415942674e560a42416f4d45556c756447567349454e76636e4276636d4630615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b470a413155454341774351304578437a414a42674e5642415954416c56544d466b77457759484b6f5a497a6a3043415159494b6f5a497a6a304441516344516741450a715165687944707854673273444b6849772b64454f2b42647536527039586f516e6c3359322f6a32497455566e524374704236484c707943325a45614d6853610a4b716c6f436476715674426872504f7364377374474b4f434170737767674b584d42384741315564497751594d426141464e446f71747031312f6b75535265590a504873555a644456386c6c4e4d46384741315564487752594d465977564b42536f464347546d68306448427a4f693876595842704c6e527964584e305a57527a0a5a584a3261574e6c63793570626e526c6243356a62323076633264344c324e6c636e52705a6d6c6a5958527062323476646a497663474e7259334a7350324e680a5058427962324e6c63334e76636a416442674e5648513445466751552f724673795665793276384e58594e354178754c766177586868347744675944565230500a4151482f42415144416762414d41774741315564457745422f7751434d4141776767485542676b71686b69472b45304244514545676748464d494942775441650a42676f71686b69472b4530424451454242424132346f6d696e7451356a58772f325543756237766b4d4949425a41594b4b6f5a496876684e41513042416a43430a415651774541594c4b6f5a496876684e4151304241674543415245774541594c4b6f5a496876684e4151304241674943415245774541594c4b6f5a496876684e0a4151304241674d43415149774541594c4b6f5a496876684e4151304241675143415151774541594c4b6f5a496876684e4151304241675543415145774551594c0a4b6f5a496876684e4151304241675943416743414d42414743797147534962345451454e41514948416745474d42414743797147534962345451454e415149490a416745414d42414743797147534962345451454e4151494a416745414d42414743797147534962345451454e4151494b416745414d42414743797147534962340a5451454e4151494c416745414d42414743797147534962345451454e4151494d416745414d42414743797147534962345451454e4151494e416745414d4241470a43797147534962345451454e4151494f416745414d42414743797147534962345451454e41514950416745414d42414743797147534962345451454e415149510a416745414d42414743797147534962345451454e415149524167454b4d42384743797147534962345451454e41514953424241524551494541594147414141410a41414141414141414d42414743697147534962345451454e41514d45416741414d42514743697147534962345451454e415151454267435162745541414441500a42676f71686b69472b45304244514546436745414d416f4743437147534d343942414d43413067414d455543494252454b346b4c5559532b766149336436536d0a6668564f613642726d4c43316d50314b7265346f52456262416945416d78325a496f506f36584838303839576668746f6539356b6345733432507050343152370a643544467167513d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a2d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949436c7a4343416a36674177494241674956414e446f71747031312f6b7553526559504873555a644456386c6c4e4d416f4743437147534d343942414d430a4d476778476a415942674e5642414d4d45556c756447567349464e48574342536232393049454e424d526f77474159445651514b4442464a626e526c624342440a62334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e564241674d416b4e424d5173770a435159445651514745774a56557a4165467730784f4441314d6a45784d4451314d4468614677307a4d7a41314d6a45784d4451314d4468614d484578497a41680a42674e5642414d4d476b6c756447567349464e48574342515130736755484a765932567a6332397949454e424d526f77474159445651514b4442464a626e526c0a6243424462334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e564241674d416b4e420a4d517377435159445651514745774a56557a425a4d424d4742797147534d34394167454743437147534d34394177454841304941424c39712b4e4d7032494f670a74646c31626b2f75575a352b5447516d38614369387a373866732b664b435133642b75447a586e56544154325a68444369667949754a77764e33774e427039690a484253534d4a4d4a72424f6a6762737767626777487759445652306a42426777466f4155496d554d316c71644e496e7a6737535655723951477a6b6e427177770a556759445652306642457377535442486f45576751345a426148523063484d364c79396a5a584a3061575a70593246305a584d7564484a316333526c5a484e6c0a636e5a705932567a4c6d6c75644756734c6d4e766253394a626e526c62464e4857464a76623352445153356a636d7777485159445652304f42425945464e446f0a71747031312f6b7553526559504873555a644456386c6c4e4d41344741315564447745422f77514541774942426a415342674e5648524d4241663845434441470a4151482f416745414d416f4743437147534d343942414d43413063414d45514349432f396a2b3834542b487a74564f2f734f5142574a6253642b2f327565784b0a342b6141306a6346424c63704169413364684d72463563443532743646714d764149706a385864476d79326265656c6a4c4a4b2b707a706352413d3d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a2d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949436a6a4343416a53674177494241674955496d554d316c71644e496e7a6737535655723951477a6b6e42717777436759494b6f5a497a6a3045417749770a614445614d4267474131554541777752535735305a5777675530645949464a766233516751304578476a415942674e5642416f4d45556c756447567349454e760a636e4276636d4630615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b47413155454341774351304578437a414a0a42674e5642415954416c56544d423458445445344d4455794d5445774e4445784d566f5844544d7a4d4455794d5445774e4445784d466f77614445614d4267470a4131554541777752535735305a5777675530645949464a766233516751304578476a415942674e5642416f4d45556c756447567349454e76636e4276636d46300a615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b47413155454341774351304578437a414a42674e56424159540a416c56544d466b77457759484b6f5a497a6a3043415159494b6f5a497a6a3044415163445167414543366e45774d4449595a4f6a2f69505773437a61454b69370a314f694f534c52466857476a626e42564a66566e6b59347533496a6b4459594c304d784f346d717379596a6c42616c54565978465032734a424b357a6c4b4f420a757a43427544416642674e5648534d4547444157674251695a517a575770303069664f44744a5653763141624f5363477244425342674e5648523845537a424a0a4d45656752614244686b466f64485277637a6f764c324e6c636e52705a6d6c6a5958526c63793530636e567a6447566b63325679646d6c6a5a584d75615735300a5a577775593239744c306c756447567355306459556d397664454e424c6d4e796244416442674e564851344546675155496d554d316c71644e496e7a673753560a55723951477a6b6e4271777744675944565230504151482f42415144416745474d42494741315564457745422f7751494d4159424166384341514577436759490a4b6f5a497a6a30454177494453414177525149675151732f30387279636450617543466b3855505158434d416c736c6f4265374e7761514754636470613045430a495143557438534776784b6d6a70634d2f7a3057503944766f3868326b3564753169574464426b416e2b306969413d3d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a0001000000000000000100000000000000100000000000000020000000000000007367785f7265706f72745f6461746100cda0fa96a7916caafd144ea4b3d4188b197cff605b32416a3b47c1c69aeff594"}}}' + headers: + content-length: + - '28866' + content-type: + - application/json + x-ms-ccf-transaction-id: + - '2.2435' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_certificate_async.test_append_entry_flow.yaml b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_certificate_async.test_append_entry_flow.yaml new file mode 100644 index 000000000000..a586b1632694 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_certificate_async.test_append_entry_flow.yaml @@ -0,0 +1,244 @@ +interactions: +- request: + body: '{"contents": "Test entry from Python SDK"}' + headers: + Accept: + - application/json + Content-Length: + - '42' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview + response: + body: + string: '{"subLedgerId":"subledger:0"}' + headers: + content-length: '29' + content-type: application/json + x-ms-ccf-transaction-id: '2.2436' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.2436/status?api-version=0.1-preview + response: + body: + string: '{"state":"Committed","transactionId":"2.2436"}' + headers: + content-length: '46' + content-type: application/json + x-ms-ccf-transaction-id: '2.2437' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/2.2436/status?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.2436/status?api-version=0.1-preview + response: + body: + string: '{"state":"Committed","transactionId":"2.2436"}' + headers: + content-length: '46' + content-type: application/json + x-ms-ccf-transaction-id: '2.2437' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/2.2436/status?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.2436/receipt?api-version=0.1-preview + response: + body: + string: "{\n \"receipt\": {\n \"leaf\": \"\",\n \"node_id\": \"\",\n + \ \"proof\": [],\n \"root\": \"\",\n \"signature\": \"\"\n },\n \"state\": + \"Loading\",\n \"transactionId\": \"\"\n}" + headers: + content-length: '155' + content-type: application/json + x-ms-ccf-transaction-id: '2.2437' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/2.2436/receipt?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.2436/receipt?api-version=0.1-preview + response: + body: + string: "{\n \"receipt\": {\n \"leaf\": \"\",\n \"node_id\": \"\",\n + \ \"proof\": [],\n \"root\": \"\",\n \"signature\": \"\"\n },\n \"state\": + \"Loading\",\n \"transactionId\": \"\"\n}" + headers: + content-length: '155' + content-type: application/json + x-ms-ccf-transaction-id: '2.2437' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/2.2436/receipt?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.2436/receipt?api-version=0.1-preview + response: + body: + string: "{\n \"receipt\": {\n \"leaf\": \"6e06222e785ba84277ee7431e5c58733f6f017b8c053afa6e3b6442b02e86333\",\n + \ \"node_id\": \"c801be0e15cdd5fdef828ec11b69551941f48aa200c17438d11286471c3e118c\",\n + \ \"proof\": [\n {\n \"left\": \"f132775c664185ff16e5fef0b17b4718cddadd766e01e3481bfc4b45f0b48b7b\"\n + \ },\n {\n \"left\": \"d5c2562ed4af20cee52cfe298102d4dece96ece68d37164d5329d925a8a30714\"\n + \ },\n {\n \"left\": \"ddfb682e8e1913835de8a03125bb5983c6877dd7af410f50653cc64c4373cbf1\"\n + \ },\n {\n \"left\": \"32b472e0d88c026188ea979307b6acf76b84ed6d94fc1d894948312187a63cf6\"\n + \ }\n ],\n \"root\": \"b0ac8c613d2831be82f0b4f91528e28a0c41a01bbf3da9e14a60fe97445d11b7\",\n + \ \"signature\": \"MGYCMQDUHR1o693wgWGA/PTu7hegU7pGd9BuDjAJA5L0iIfDIynNYQCyT/IeKKXUY/sz9DwCMQCqmDGQr4Edb+Mplu/ji7wO14YIbJNs3CbUuXg9jf2HGOQVDSyX1KkSOJIskB8uGMI=\"\n + \ },\n \"state\": \"Ready\",\n \"transactionId\": \"2.2436\"\n}" + headers: + content-length: '895' + content-type: application/json + x-ms-ccf-transaction-id: '2.2437' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/2.2436/receipt?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/current?api-version=0.1-preview + response: + body: + string: '{"contents":"Test entry from Python SDK","subLedgerId":"subledger:0","transactionId":"2.2437"}' + headers: + content-length: '94' + content-type: application/json + x-ms-ccf-transaction-id: '2.2437' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/current?api-version=0.1-preview +- request: + body: '{"contents": "Test entry 2 from Python SDK"}' + headers: + Accept: + - application/json + Content-Length: + - '44' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview + response: + body: + string: '{"subLedgerId":"subledger:0"}' + headers: + content-length: '29' + content-type: application/json + x-ms-ccf-transaction-id: '2.2438' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.2438/status?api-version=0.1-preview + response: + body: + string: '{"state":"Committed","transactionId":"2.2438"}' + headers: + content-length: '46' + content-type: application/json + x-ms-ccf-transaction-id: '2.2439' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/2.2438/status?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/current?api-version=0.1-preview + response: + body: + string: '{"contents":"Test entry 2 from Python SDK","subLedgerId":"subledger:0","transactionId":"2.2439"}' + headers: + content-length: '96' + content-type: application/json + x-ms-ccf-transaction-id: '2.2439' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/current?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.2436?api-version=0.1-preview + response: + body: + string: "{\n \"entry\": {\n \"contents\": \"Test entry from Python SDK\",\n + \ \"subLedgerId\": \"subledger:0\",\n \"transactionId\": \"2.2436\"\n + \ },\n \"state\": \"Ready\"\n}" + headers: + content-length: '150' + content-type: application/json + x-ms-ccf-transaction-id: '2.2439' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/2.2436?api-version=0.1-preview +version: 1 diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_certificate_async.test_append_entry_flow_with_sub_ledger_id.yaml b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_certificate_async.test_append_entry_flow_with_sub_ledger_id.yaml new file mode 100644 index 000000000000..b4cdb91ecc7f --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_certificate_async.test_append_entry_flow_with_sub_ledger_id.yaml @@ -0,0 +1,263 @@ +interactions: +- request: + body: '{"contents": "Test sub-ledger entry from Python SDK"}' + headers: + Accept: + - application/json + Content-Length: + - '53' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=132 + response: + body: + string: '{"subLedgerId":"132"}' + headers: + content-length: '21' + content-type: application/json + x-ms-ccf-transaction-id: '2.2442' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=132 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.2442/status?api-version=0.1-preview + response: + body: + string: '{"state":"Pending","transactionId":"2.2442"}' + headers: + content-length: '44' + content-type: application/json + x-ms-ccf-transaction-id: '2.2442' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/2.2442/status?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.2442/status?api-version=0.1-preview + response: + body: + string: '{"state":"Committed","transactionId":"2.2442"}' + headers: + content-length: '46' + content-type: application/json + x-ms-ccf-transaction-id: '2.2443' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/2.2442/status?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.2442/status?api-version=0.1-preview + response: + body: + string: '{"state":"Committed","transactionId":"2.2442"}' + headers: + content-length: '46' + content-type: application/json + x-ms-ccf-transaction-id: '2.2443' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/2.2442/status?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.2442/receipt?api-version=0.1-preview + response: + body: + string: "{\n \"receipt\": {\n \"leaf\": \"\",\n \"node_id\": \"\",\n + \ \"proof\": [],\n \"root\": \"\",\n \"signature\": \"\"\n },\n \"state\": + \"Loading\",\n \"transactionId\": \"\"\n}" + headers: + content-length: '155' + content-type: application/json + x-ms-ccf-transaction-id: '2.2443' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/2.2442/receipt?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.2442/receipt?api-version=0.1-preview + response: + body: + string: "{\n \"receipt\": {\n \"leaf\": \"796a66feb5ec9edb49ddb6cdd8316a9812c67d6dcae9959bcd664d7c7c3e978f\",\n + \ \"node_id\": \"c801be0e15cdd5fdef828ec11b69551941f48aa200c17438d11286471c3e118c\",\n + \ \"proof\": [\n {\n \"left\": \"bb4ca5c5eecabc2ed65213ea8fa9a50d772b43ae25a2cded3b603f530019bdc4\"\n + \ },\n {\n \"left\": \"74e95b835d0854c479d3840e144ecfe7073c7783fdd07d02dcc97572f7f15e7e\"\n + \ },\n {\n \"left\": \"d5c2562ed4af20cee52cfe298102d4dece96ece68d37164d5329d925a8a30714\"\n + \ },\n {\n \"left\": \"ddfb682e8e1913835de8a03125bb5983c6877dd7af410f50653cc64c4373cbf1\"\n + \ },\n {\n \"left\": \"32b472e0d88c026188ea979307b6acf76b84ed6d94fc1d894948312187a63cf6\"\n + \ }\n ],\n \"root\": \"26b6601f513834efeeb6a120ef6886c075c43fd03546416a0f790b0062c1eee8\",\n + \ \"signature\": \"MGUCMFzbJZ6HA5auUtIRARsD1qu359hrYbMLZam79RklUD2Q99Tzd+16ovC6Vr/yd3CWhAIxAJQH8qjjYp/vvvh/pQIuZCJXPvubPzcTzGmlu5oc0KzUOrYTMwrJBDs5PrYChfCCXg==\"\n + \ },\n \"state\": \"Ready\",\n \"transactionId\": \"2.2442\"\n}" + headers: + content-length: '995' + content-type: application/json + x-ms-ccf-transaction-id: '2.2443' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/2.2442/receipt?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/current?api-version=0.1-preview&subLedgerId=132 + response: + body: + string: '{"contents":"Test sub-ledger entry from Python SDK","subLedgerId":"132","transactionId":"2.2443"}' + headers: + content-length: '97' + content-type: application/json + x-ms-ccf-transaction-id: '2.2443' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/current?api-version=0.1-preview&subLedgerId=132 +- request: + body: '{"contents": "Test sub-ledger entry 2 from Python SDK"}' + headers: + Accept: + - application/json + Content-Length: + - '55' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=132 + response: + body: + string: '{"subLedgerId":"132"}' + headers: + content-length: '21' + content-type: application/json + x-ms-ccf-transaction-id: '2.2444' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=132 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.2444/status?api-version=0.1-preview + response: + body: + string: '{"state":"Pending","transactionId":"2.2444"}' + headers: + content-length: '44' + content-type: application/json + x-ms-ccf-transaction-id: '2.2444' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/2.2444/status?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.2444/status?api-version=0.1-preview + response: + body: + string: '{"state":"Committed","transactionId":"2.2444"}' + headers: + content-length: '46' + content-type: application/json + x-ms-ccf-transaction-id: '2.2445' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/2.2444/status?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/current?api-version=0.1-preview&subLedgerId=132 + response: + body: + string: '{"contents":"Test sub-ledger entry 2 from Python SDK","subLedgerId":"132","transactionId":"2.2445"}' + headers: + content-length: '99' + content-type: application/json + x-ms-ccf-transaction-id: '2.2445' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/current?api-version=0.1-preview&subLedgerId=132 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions/2.2442?api-version=0.1-preview&subLedgerId=132 + response: + body: + string: "{\n \"entry\": {\n \"contents\": \"Test sub-ledger entry from Python + SDK\",\n \"subLedgerId\": \"132\",\n \"transactionId\": \"2.2442\"\n + \ },\n \"state\": \"Ready\"\n}" + headers: + content-length: '153' + content-type: application/json + x-ms-ccf-transaction-id: '2.2445' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions/2.2442?api-version=0.1-preview&subLedgerId=132 +version: 1 diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_certificate_async.test_range_query.yaml b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_certificate_async.test_range_query.yaml new file mode 100644 index 000000000000..8808abf4bbb2 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_certificate_async.test_range_query.yaml @@ -0,0 +1,6025 @@ +interactions: +- request: + body: '{"contents": "message-0"}' + headers: + Accept: + - application/json + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2446' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-1"}' + headers: + Accept: + - application/json + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2448' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-2"}' + headers: + Accept: + - application/json + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2450' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-3"}' + headers: + Accept: + - application/json + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2451' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-4"}' + headers: + Accept: + - application/json + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2453' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-5"}' + headers: + Accept: + - application/json + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2455' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-6"}' + headers: + Accept: + - application/json + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2456' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-7"}' + headers: + Accept: + - application/json + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2458' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-8"}' + headers: + Accept: + - application/json + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2459' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-9"}' + headers: + Accept: + - application/json + Content-Length: + - '25' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2461' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-10"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2463' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-11"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2464' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-12"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2466' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-13"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2467' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-14"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2469' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-15"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2471' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-16"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2473' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-17"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2474' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-18"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2476' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-19"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2477' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-20"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2479' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-21"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2481' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-22"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2482' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-23"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2484' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-24"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2485' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-25"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2487' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-26"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2488' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-27"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2490' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-28"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2492' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-29"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2493' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-30"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2495' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-31"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2497' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-32"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2498' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-33"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2500' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-34"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2502' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-35"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2503' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-36"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2505' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-37"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2506' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-38"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2508' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-39"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2510' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-40"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2511' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-41"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2512' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-42"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2513' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-43"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2515' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-44"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2517' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-45"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2518' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-46"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2520' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-47"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2522' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-48"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2523' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-49"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2525' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-50"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2526' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-51"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2528' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-52"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2530' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-53"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2531' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-54"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2533' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-55"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2534' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-56"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2536' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-57"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2538' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-58"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2539' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-59"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2541' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-60"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2543' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-61"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2544' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-62"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2546' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-63"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2548' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-64"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2549' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-65"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2551' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-66"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2553' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-67"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2554' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-68"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2556' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-69"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2557' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-70"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2559' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-71"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2561' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-72"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2562' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-73"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2564' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-74"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2566' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-75"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2567' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-76"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2569' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-77"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2571' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-78"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2572' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-79"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2574' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-80"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2576' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-81"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2577' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-82"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2579' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-83"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2581' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-84"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2582' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-85"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2584' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-86"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2586' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-87"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2587' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-88"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2589' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-89"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2591' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-90"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2593' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-91"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2594' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-92"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2596' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-93"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2598' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-94"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2599' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-95"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2601' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-96"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2603' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-97"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2604' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-98"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2606' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-99"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2607' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-100"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2609' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-101"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2611' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-102"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2612' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-103"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2614' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-104"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2615' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-105"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2617' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-106"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2619' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-107"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2620' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-108"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2622' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-109"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2623' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-110"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2625' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-111"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2627' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-112"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2628' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-113"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2630' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-114"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2631' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-115"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2633' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-116"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2635' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-117"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2636' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-118"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2638' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-119"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2639' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-120"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2641' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-121"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2643' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-122"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2645' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-123"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2646' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-124"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2648' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-125"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2649' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-126"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2651' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-127"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2653' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-128"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2655' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-129"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2656' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-130"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2658' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-131"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2660' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-132"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2661' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-133"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2663' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-134"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2664' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-135"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2666' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-136"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2668' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-137"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2670' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-138"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2671' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-139"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2673' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-140"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2675' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-141"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2677' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-142"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2679' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-143"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2681' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-144"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2683' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-145"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2685' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-146"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2687' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-147"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2689' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-148"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2691' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-149"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2693' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-150"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2695' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-151"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2697' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-152"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2698' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-153"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2700' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-154"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2702' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-155"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2703' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-156"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2705' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-157"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2707' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-158"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2709' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-159"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2711' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-160"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2712' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-161"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2714' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-162"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2716' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-163"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2717' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-164"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2719' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-165"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2721' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-166"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2722' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-167"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2724' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-168"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2726' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-169"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2727' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-170"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2729' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-171"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2730' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-172"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2732' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-173"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2734' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-174"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2735' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-175"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2737' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-176"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2739' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-177"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2740' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-178"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2742' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-179"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2744' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-180"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2745' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-181"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2747' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-182"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2749' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-183"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2750' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-184"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2752' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-185"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2754' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-186"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2755' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-187"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2757' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-188"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2758' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-189"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2759' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-190"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2761' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-191"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2763' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-192"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2765' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-193"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2767' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-194"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2768' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-195"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2770' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: '{"contents": "message-196"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 + response: + body: + string: '{"subLedgerId":"1"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2772' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1 +- request: + body: '{"contents": "message-197"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 + response: + body: + string: '{"subLedgerId":"2"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2774' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2 +- request: + body: '{"contents": "message-198"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 + response: + body: + string: '{"subLedgerId":"3"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2775' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3 +- request: + body: '{"contents": "message-199"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 + response: + body: + string: '{"subLedgerId":"4"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2777' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4 +- request: + body: '{"contents": "message-200"}' + headers: + Accept: + - application/json + Content-Length: + - '27' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 + response: + body: + string: '{"subLedgerId":"0"}' + headers: + content-length: '19' + content-type: application/json + x-ms-ccf-transaction-id: '2.2779' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2446 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2446\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2779' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2446 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2446 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2446\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2446 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2446 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2547\",\n + \ \"entries\": [\n {\n \"contents\": \"message-0\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2446\"\n },\n {\n \"contents\": + \"message-5\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.2455\"\n + \ },\n {\n \"contents\": \"message-10\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2463\"\n },\n {\n \"contents\": + \"message-15\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.2471\"\n + \ },\n {\n \"contents\": \"message-20\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2479\"\n },\n {\n \"contents\": + \"message-25\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.2487\"\n + \ },\n {\n \"contents\": \"message-30\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2495\"\n },\n {\n \"contents\": + \"message-35\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.2503\"\n + \ },\n {\n \"contents\": \"message-40\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2511\"\n },\n {\n \"contents\": + \"message-45\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.2518\"\n + \ },\n {\n \"contents\": \"message-50\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2526\"\n },\n {\n \"contents\": + \"message-55\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.2534\"\n + \ },\n {\n \"contents\": \"message-60\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2543\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '1477' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2446 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2547 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2547\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2547 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2547 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2648\",\n + \ \"entries\": [\n {\n \"contents\": \"message-65\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2551\"\n },\n {\n \"contents\": + \"message-70\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.2559\"\n + \ },\n {\n \"contents\": \"message-75\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2567\"\n },\n {\n \"contents\": + \"message-80\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.2576\"\n + \ },\n {\n \"contents\": \"message-85\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2584\"\n },\n {\n \"contents\": + \"message-90\",\n \"subLedgerId\": \"0\",\n \"transactionId\": \"2.2593\"\n + \ },\n {\n \"contents\": \"message-95\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2601\"\n },\n {\n \"contents\": + \"message-100\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.2609\"\n },\n {\n \"contents\": \"message-105\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2617\"\n },\n {\n \"contents\": + \"message-110\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.2625\"\n },\n {\n \"contents\": \"message-115\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2633\"\n },\n {\n \"contents\": + \"message-120\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.2641\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '1381' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2547 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2648 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2648\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2648 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2648 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2648\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2648 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2648 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2749\",\n + \ \"entries\": [\n {\n \"contents\": \"message-125\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2649\"\n },\n {\n \"contents\": + \"message-130\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.2658\"\n },\n {\n \"contents\": \"message-135\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2666\"\n },\n {\n \"contents\": + \"message-140\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.2675\"\n },\n {\n \"contents\": \"message-145\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2685\"\n },\n {\n \"contents\": + \"message-150\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.2695\"\n },\n {\n \"contents\": \"message-155\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2703\"\n },\n {\n \"contents\": + \"message-160\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.2712\"\n },\n {\n \"contents\": \"message-165\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2721\"\n },\n {\n \"contents\": + \"message-170\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.2729\"\n },\n {\n \"contents\": \"message-175\",\n \"subLedgerId\": + \"0\",\n \"transactionId\": \"2.2737\"\n },\n {\n \"contents\": + \"message-180\",\n \"subLedgerId\": \"0\",\n \"transactionId\": + \"2.2745\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '1388' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2648 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2749 + response: + body: + string: "{\n \"entries\": [\n {\n \"contents\": \"message-185\",\n + \ \"subLedgerId\": \"0\",\n \"transactionId\": \"2.2754\"\n },\n + \ {\n \"contents\": \"message-190\",\n \"subLedgerId\": \"0\",\n + \ \"transactionId\": \"2.2761\"\n },\n {\n \"contents\": \"message-195\",\n + \ \"subLedgerId\": \"0\",\n \"transactionId\": \"2.2770\"\n },\n + \ {\n \"contents\": \"message-200\",\n \"subLedgerId\": \"0\",\n + \ \"transactionId\": \"2.2779\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '457' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=0&fromTransactionId=2.2749 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2448 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2448\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2448 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2448 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2448\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2448 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2448 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2448\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2448 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2448 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2549\",\n + \ \"entries\": [\n {\n \"contents\": \"message-1\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2448\"\n },\n {\n \"contents\": + \"message-6\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.2456\"\n + \ },\n {\n \"contents\": \"message-11\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2464\"\n },\n {\n \"contents\": + \"message-16\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.2473\"\n + \ },\n {\n \"contents\": \"message-21\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2481\"\n },\n {\n \"contents\": + \"message-26\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.2488\"\n + \ },\n {\n \"contents\": \"message-31\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2497\"\n },\n {\n \"contents\": + \"message-36\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.2505\"\n + \ },\n {\n \"contents\": \"message-41\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2512\"\n },\n {\n \"contents\": + \"message-46\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.2520\"\n + \ },\n {\n \"contents\": \"message-51\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2528\"\n },\n {\n \"contents\": + \"message-56\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.2536\"\n + \ },\n {\n \"contents\": \"message-61\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2544\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '1477' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2448 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2549 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2549\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2549 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2549 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2650\",\n + \ \"entries\": [\n {\n \"contents\": \"message-66\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2553\"\n },\n {\n \"contents\": + \"message-71\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.2561\"\n + \ },\n {\n \"contents\": \"message-76\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2569\"\n },\n {\n \"contents\": + \"message-81\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.2577\"\n + \ },\n {\n \"contents\": \"message-86\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2586\"\n },\n {\n \"contents\": + \"message-91\",\n \"subLedgerId\": \"1\",\n \"transactionId\": \"2.2594\"\n + \ },\n {\n \"contents\": \"message-96\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2603\"\n },\n {\n \"contents\": + \"message-101\",\n \"subLedgerId\": \"1\",\n \"transactionId\": + \"2.2611\"\n },\n {\n \"contents\": \"message-106\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2619\"\n },\n {\n \"contents\": + \"message-111\",\n \"subLedgerId\": \"1\",\n \"transactionId\": + \"2.2627\"\n },\n {\n \"contents\": \"message-116\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2635\"\n },\n {\n \"contents\": + \"message-121\",\n \"subLedgerId\": \"1\",\n \"transactionId\": + \"2.2643\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '1381' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2549 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2650 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2650\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2650 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2650 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2751\",\n + \ \"entries\": [\n {\n \"contents\": \"message-126\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2651\"\n },\n {\n \"contents\": + \"message-131\",\n \"subLedgerId\": \"1\",\n \"transactionId\": + \"2.2660\"\n },\n {\n \"contents\": \"message-136\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2668\"\n },\n {\n \"contents\": + \"message-141\",\n \"subLedgerId\": \"1\",\n \"transactionId\": + \"2.2677\"\n },\n {\n \"contents\": \"message-146\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2687\"\n },\n {\n \"contents\": + \"message-151\",\n \"subLedgerId\": \"1\",\n \"transactionId\": + \"2.2697\"\n },\n {\n \"contents\": \"message-156\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2705\"\n },\n {\n \"contents\": + \"message-161\",\n \"subLedgerId\": \"1\",\n \"transactionId\": + \"2.2714\"\n },\n {\n \"contents\": \"message-166\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2722\"\n },\n {\n \"contents\": + \"message-171\",\n \"subLedgerId\": \"1\",\n \"transactionId\": + \"2.2730\"\n },\n {\n \"contents\": \"message-176\",\n \"subLedgerId\": + \"1\",\n \"transactionId\": \"2.2739\"\n },\n {\n \"contents\": + \"message-181\",\n \"subLedgerId\": \"1\",\n \"transactionId\": + \"2.2747\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '1388' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2650 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2751 + response: + body: + string: "{\n \"entries\": [\n {\n \"contents\": \"message-186\",\n + \ \"subLedgerId\": \"1\",\n \"transactionId\": \"2.2755\"\n },\n + \ {\n \"contents\": \"message-191\",\n \"subLedgerId\": \"1\",\n + \ \"transactionId\": \"2.2763\"\n },\n {\n \"contents\": \"message-196\",\n + \ \"subLedgerId\": \"1\",\n \"transactionId\": \"2.2772\"\n }\n + \ ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '353' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=1&fromTransactionId=2.2751 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2450 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2450\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2450 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2450 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2450\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2450 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2450 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2551\",\n + \ \"entries\": [\n {\n \"contents\": \"message-2\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2450\"\n },\n {\n \"contents\": + \"message-7\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.2458\"\n + \ },\n {\n \"contents\": \"message-12\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2466\"\n },\n {\n \"contents\": + \"message-17\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.2474\"\n + \ },\n {\n \"contents\": \"message-22\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2482\"\n },\n {\n \"contents\": + \"message-27\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.2490\"\n + \ },\n {\n \"contents\": \"message-32\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2498\"\n },\n {\n \"contents\": + \"message-37\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.2506\"\n + \ },\n {\n \"contents\": \"message-42\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2513\"\n },\n {\n \"contents\": + \"message-47\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.2522\"\n + \ },\n {\n \"contents\": \"message-52\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2530\"\n },\n {\n \"contents\": + \"message-57\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.2538\"\n + \ },\n {\n \"contents\": \"message-62\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2546\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '1477' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2450 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2551 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2551\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2551 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2551 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2551\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2551 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2551 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2652\",\n + \ \"entries\": [\n {\n \"contents\": \"message-67\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2554\"\n },\n {\n \"contents\": + \"message-72\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.2562\"\n + \ },\n {\n \"contents\": \"message-77\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2571\"\n },\n {\n \"contents\": + \"message-82\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.2579\"\n + \ },\n {\n \"contents\": \"message-87\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2587\"\n },\n {\n \"contents\": + \"message-92\",\n \"subLedgerId\": \"2\",\n \"transactionId\": \"2.2596\"\n + \ },\n {\n \"contents\": \"message-97\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2604\"\n },\n {\n \"contents\": + \"message-102\",\n \"subLedgerId\": \"2\",\n \"transactionId\": + \"2.2612\"\n },\n {\n \"contents\": \"message-107\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2620\"\n },\n {\n \"contents\": + \"message-112\",\n \"subLedgerId\": \"2\",\n \"transactionId\": + \"2.2628\"\n },\n {\n \"contents\": \"message-117\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2636\"\n },\n {\n \"contents\": + \"message-122\",\n \"subLedgerId\": \"2\",\n \"transactionId\": + \"2.2645\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '1381' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2551 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2652 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2652\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2652 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2652 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2652\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2652 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2652 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2753\",\n + \ \"entries\": [\n {\n \"contents\": \"message-127\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2653\"\n },\n {\n \"contents\": + \"message-132\",\n \"subLedgerId\": \"2\",\n \"transactionId\": + \"2.2661\"\n },\n {\n \"contents\": \"message-137\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2670\"\n },\n {\n \"contents\": + \"message-142\",\n \"subLedgerId\": \"2\",\n \"transactionId\": + \"2.2679\"\n },\n {\n \"contents\": \"message-147\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2689\"\n },\n {\n \"contents\": + \"message-152\",\n \"subLedgerId\": \"2\",\n \"transactionId\": + \"2.2698\"\n },\n {\n \"contents\": \"message-157\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2707\"\n },\n {\n \"contents\": + \"message-162\",\n \"subLedgerId\": \"2\",\n \"transactionId\": + \"2.2716\"\n },\n {\n \"contents\": \"message-167\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2724\"\n },\n {\n \"contents\": + \"message-172\",\n \"subLedgerId\": \"2\",\n \"transactionId\": + \"2.2732\"\n },\n {\n \"contents\": \"message-177\",\n \"subLedgerId\": + \"2\",\n \"transactionId\": \"2.2740\"\n },\n {\n \"contents\": + \"message-182\",\n \"subLedgerId\": \"2\",\n \"transactionId\": + \"2.2749\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '1388' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2652 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2753 + response: + body: + string: "{\n \"entries\": [\n {\n \"contents\": \"message-187\",\n + \ \"subLedgerId\": \"2\",\n \"transactionId\": \"2.2757\"\n },\n + \ {\n \"contents\": \"message-192\",\n \"subLedgerId\": \"2\",\n + \ \"transactionId\": \"2.2765\"\n },\n {\n \"contents\": \"message-197\",\n + \ \"subLedgerId\": \"2\",\n \"transactionId\": \"2.2774\"\n }\n + \ ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '353' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=2&fromTransactionId=2.2753 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2451 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2451\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2451 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2451 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2552\",\n + \ \"entries\": [\n {\n \"contents\": \"message-3\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2451\"\n },\n {\n \"contents\": + \"message-8\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.2459\"\n + \ },\n {\n \"contents\": \"message-13\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2467\"\n },\n {\n \"contents\": + \"message-18\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.2476\"\n + \ },\n {\n \"contents\": \"message-23\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2484\"\n },\n {\n \"contents\": + \"message-28\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.2492\"\n + \ },\n {\n \"contents\": \"message-33\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2500\"\n },\n {\n \"contents\": + \"message-38\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.2508\"\n + \ },\n {\n \"contents\": \"message-43\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2515\"\n },\n {\n \"contents\": + \"message-48\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.2523\"\n + \ },\n {\n \"contents\": \"message-53\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2531\"\n },\n {\n \"contents\": + \"message-58\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.2539\"\n + \ },\n {\n \"contents\": \"message-63\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2548\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '1477' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2451 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2552 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2552\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2552 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2552 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2552\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2552 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2552 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2653\",\n + \ \"entries\": [\n {\n \"contents\": \"message-68\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2556\"\n },\n {\n \"contents\": + \"message-73\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.2564\"\n + \ },\n {\n \"contents\": \"message-78\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2572\"\n },\n {\n \"contents\": + \"message-83\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.2581\"\n + \ },\n {\n \"contents\": \"message-88\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2589\"\n },\n {\n \"contents\": + \"message-93\",\n \"subLedgerId\": \"3\",\n \"transactionId\": \"2.2598\"\n + \ },\n {\n \"contents\": \"message-98\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2606\"\n },\n {\n \"contents\": + \"message-103\",\n \"subLedgerId\": \"3\",\n \"transactionId\": + \"2.2614\"\n },\n {\n \"contents\": \"message-108\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2622\"\n },\n {\n \"contents\": + \"message-113\",\n \"subLedgerId\": \"3\",\n \"transactionId\": + \"2.2630\"\n },\n {\n \"contents\": \"message-118\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2638\"\n },\n {\n \"contents\": + \"message-123\",\n \"subLedgerId\": \"3\",\n \"transactionId\": + \"2.2646\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '1381' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2552 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2653 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2754\",\n + \ \"entries\": [\n {\n \"contents\": \"message-128\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2655\"\n },\n {\n \"contents\": + \"message-133\",\n \"subLedgerId\": \"3\",\n \"transactionId\": + \"2.2663\"\n },\n {\n \"contents\": \"message-138\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2671\"\n },\n {\n \"contents\": + \"message-143\",\n \"subLedgerId\": \"3\",\n \"transactionId\": + \"2.2681\"\n },\n {\n \"contents\": \"message-148\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2691\"\n },\n {\n \"contents\": + \"message-153\",\n \"subLedgerId\": \"3\",\n \"transactionId\": + \"2.2700\"\n },\n {\n \"contents\": \"message-158\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2709\"\n },\n {\n \"contents\": + \"message-163\",\n \"subLedgerId\": \"3\",\n \"transactionId\": + \"2.2717\"\n },\n {\n \"contents\": \"message-168\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2726\"\n },\n {\n \"contents\": + \"message-173\",\n \"subLedgerId\": \"3\",\n \"transactionId\": + \"2.2734\"\n },\n {\n \"contents\": \"message-178\",\n \"subLedgerId\": + \"3\",\n \"transactionId\": \"2.2742\"\n },\n {\n \"contents\": + \"message-183\",\n \"subLedgerId\": \"3\",\n \"transactionId\": + \"2.2750\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '1388' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2653 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2754 + response: + body: + string: "{\n \"entries\": [\n {\n \"contents\": \"message-188\",\n + \ \"subLedgerId\": \"3\",\n \"transactionId\": \"2.2758\"\n },\n + \ {\n \"contents\": \"message-193\",\n \"subLedgerId\": \"3\",\n + \ \"transactionId\": \"2.2767\"\n },\n {\n \"contents\": \"message-198\",\n + \ \"subLedgerId\": \"3\",\n \"transactionId\": \"2.2775\"\n }\n + \ ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '353' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=3&fromTransactionId=2.2754 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2453 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2453\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2453 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2453 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2453\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2453 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2453 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2554\",\n + \ \"entries\": [\n {\n \"contents\": \"message-4\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2453\"\n },\n {\n \"contents\": + \"message-9\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.2461\"\n + \ },\n {\n \"contents\": \"message-14\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2469\"\n },\n {\n \"contents\": + \"message-19\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.2477\"\n + \ },\n {\n \"contents\": \"message-24\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2485\"\n },\n {\n \"contents\": + \"message-29\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.2493\"\n + \ },\n {\n \"contents\": \"message-34\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2502\"\n },\n {\n \"contents\": + \"message-39\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.2510\"\n + \ },\n {\n \"contents\": \"message-44\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2517\"\n },\n {\n \"contents\": + \"message-49\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.2525\"\n + \ },\n {\n \"contents\": \"message-54\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2533\"\n },\n {\n \"contents\": + \"message-59\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.2541\"\n + \ },\n {\n \"contents\": \"message-64\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2549\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '1477' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2453 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2554 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2554\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2554 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2554 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2655\",\n + \ \"entries\": [\n {\n \"contents\": \"message-69\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2557\"\n },\n {\n \"contents\": + \"message-74\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.2566\"\n + \ },\n {\n \"contents\": \"message-79\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2574\"\n },\n {\n \"contents\": + \"message-84\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.2582\"\n + \ },\n {\n \"contents\": \"message-89\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2591\"\n },\n {\n \"contents\": + \"message-94\",\n \"subLedgerId\": \"4\",\n \"transactionId\": \"2.2599\"\n + \ },\n {\n \"contents\": \"message-99\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2607\"\n },\n {\n \"contents\": + \"message-104\",\n \"subLedgerId\": \"4\",\n \"transactionId\": + \"2.2615\"\n },\n {\n \"contents\": \"message-109\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2623\"\n },\n {\n \"contents\": + \"message-114\",\n \"subLedgerId\": \"4\",\n \"transactionId\": + \"2.2631\"\n },\n {\n \"contents\": \"message-119\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2639\"\n },\n {\n \"contents\": + \"message-124\",\n \"subLedgerId\": \"4\",\n \"transactionId\": + \"2.2648\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '1381' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2554 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2655 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2756\",\n + \ \"entries\": [\n {\n \"contents\": \"message-129\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2656\"\n },\n {\n \"contents\": + \"message-134\",\n \"subLedgerId\": \"4\",\n \"transactionId\": + \"2.2664\"\n },\n {\n \"contents\": \"message-139\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2673\"\n },\n {\n \"contents\": + \"message-144\",\n \"subLedgerId\": \"4\",\n \"transactionId\": + \"2.2683\"\n },\n {\n \"contents\": \"message-149\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2693\"\n },\n {\n \"contents\": + \"message-154\",\n \"subLedgerId\": \"4\",\n \"transactionId\": + \"2.2702\"\n },\n {\n \"contents\": \"message-159\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2711\"\n },\n {\n \"contents\": + \"message-164\",\n \"subLedgerId\": \"4\",\n \"transactionId\": + \"2.2719\"\n },\n {\n \"contents\": \"message-169\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2727\"\n },\n {\n \"contents\": + \"message-174\",\n \"subLedgerId\": \"4\",\n \"transactionId\": + \"2.2735\"\n },\n {\n \"contents\": \"message-179\",\n \"subLedgerId\": + \"4\",\n \"transactionId\": \"2.2744\"\n },\n {\n \"contents\": + \"message-184\",\n \"subLedgerId\": \"4\",\n \"transactionId\": + \"2.2752\"\n }\n ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '1388' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2655 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2756 + response: + body: + string: "{\n \"@nextLink\": \"/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2756\",\n + \ \"state\": \"Loading\"\n}" + headers: + content-length: '123' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2756 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2756 + response: + body: + string: "{\n \"entries\": [\n {\n \"contents\": \"message-189\",\n + \ \"subLedgerId\": \"4\",\n \"transactionId\": \"2.2759\"\n },\n + \ {\n \"contents\": \"message-194\",\n \"subLedgerId\": \"4\",\n + \ \"transactionId\": \"2.2768\"\n },\n {\n \"contents\": \"message-199\",\n + \ \"subLedgerId\": \"4\",\n \"transactionId\": \"2.2777\"\n }\n + \ ],\n \"state\": \"Ready\"\n}" + headers: + content-length: '353' + content-type: application/json + x-ms-ccf-transaction-id: '2.2780' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/transactions?api-version=0.1-preview&subLedgerId=4&fromTransactionId=2.2756 +version: 1 diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_certificate_async.test_user_management.yaml b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_certificate_async.test_user_management.yaml new file mode 100644 index 000000000000..a8b4dd96e27b --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_certificate_async.test_user_management.yaml @@ -0,0 +1,128 @@ +interactions: +- request: + body: '{"assignedRole": "Contributor"}' + headers: + Accept: + - application/json + Content-Length: + - '31' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: PATCH + uri: https://fake-confidential-ledger.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview + response: + body: + string: '{"assignedRole":"Contributor","userId":"000000000000000000000000000000000000"}' + headers: + content-length: '78' + content-type: application/json + x-ms-ccf-transaction-id: '2.2781' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview + response: + body: + string: '{"assignedRole":"Contributor","userId":"000000000000000000000000000000000000"}' + headers: + content-length: '78' + content-type: application/json + x-ms-ccf-transaction-id: '2.2782' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: DELETE + uri: https://fake-confidential-ledger.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview + response: + body: + string: '' + headers: + content-length: '0' + x-ms-ccf-transaction-id: '2.2783' + status: + code: 204 + message: No Content + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview +- request: + body: '{"assignedRole": "Reader"}' + headers: + Accept: + - application/json + Content-Length: + - '26' + Content-Type: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: PATCH + uri: https://fake-confidential-ledger.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview + response: + body: + string: '{"assignedRole":"Reader","userId":"000000000000000000000000000000000000"}' + headers: + content-length: '73' + content-type: application/json + x-ms-ccf-transaction-id: '2.2785' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview + response: + body: + string: '{"assignedRole":"Reader","userId":"000000000000000000000000000000000000"}' + headers: + content-length: '73' + content-type: application/json + x-ms-ccf-transaction-id: '2.2786' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: DELETE + uri: https://fake-confidential-ledger.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview + response: + body: + string: '' + headers: + content-length: '0' + x-ms-ccf-transaction-id: '2.2787' + status: + code: 204 + message: No Content + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/users/000000000000000000000000000000000000?api-version=0.1-preview +version: 1 diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_certificate_async.test_verification_methods.yaml b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_certificate_async.test_verification_methods.yaml new file mode 100644 index 000000000000..56207545e8e0 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_confidential_ledger_client_certificate_async.test_verification_methods.yaml @@ -0,0 +1,108 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/governance/members?api-version=0.1-preview + response: + body: + string: '{"members":[{"certificate":"-----BEGIN CERTIFICATE-----\nMIIB+DCCAX2gAwIBAgIQbqIwsiHHQlWkhweK0NbPODAKBggqhkjOPQQDAzAgMR4w\nHAYDVQQDExVDQ0YgR292ZXJub3IgSWRlbnRpdHkwHhcNMjAxMTExMjAyNDUwWhcN\nMjExMTExMjAzNDUwWjAgMR4wHAYDVQQDExVDQ0YgR292ZXJub3IgSWRlbnRpdHkw\ndjAQBgcqhkjOPQIBBgUrgQQAIgNiAATTFBoe5FRZTXSQn5ZGl7BV40FpF6fvK3mj\nuDbh3BpAFCC9eXIU9nrGEEoaWH2n++c0TXuaR9TlXEm1ms47YMGmvr/epdI2Qgd6\nBC6bwYfMoRFVH/+G+itRj70ywY+lqrmjfDB6MA4GA1UdDwEB/wQEAwIHgDAJBgNV\nHRMEAjAAMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAfBgNVHSMEGDAW\ngBQefKdvzGwngW5bffiMcfFhoBYtNzAdBgNVHQ4EFgQUHnynb8xsJ4FuW334jHHx\nYaAWLTcwCgYIKoZIzj0EAwMDaQAwZgIxAKb40n899np5eoAei4YatmJ9P2kdGyGP\nqQBslkobR/Gb++QAHbFoD4m2tANPtpmYJAIxANklOHFie1OSLVwzl3n8zBbt1+KX\naH1qYPDr3MzPfvSBq7ckBGem2C6EEX4ratWAGQ==\n-----END + CERTIFICATE-----","id":"eec5d23a0f376538a34cccb35705cad4850741dcf82cd9ec39d3972aabc58a72"}]}' + headers: + content-length: '860' + content-type: application/json + x-ms-ccf-transaction-id: '2.2788' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/governance/members?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/governance/constitution?api-version=0.1-preview + response: + body: + string: '{"digest":"8dd68f72e540dd7f96988eef553e122789228e9b4e917028853cc042d46ec811","script":"raw_puts= tables, + puts = ...\n for table_name, entries in pairs(puts) do\n t = tables[table_name]\n for + _,entry in pairs(entries) do\n t:put(entry.k, entry.v)\n end\n end\n return + true;environment_proposal= __Puts = {}\n function __Puts:new(o)\n o = + o or {}\n setmetatable(o, self)\n self.__index = self\n return o\n end\n\n function + __Puts:put(t, key, value)\n self[t] = self[t] or {}\n table.insert(self[t], + {k = key, v = value})\n return self\n end\n -- create a frontend for + __Puts that hides function entries\n Puts = setmetatable({}, {__index = __Puts})\n\n __Calls + = {}\n function __Calls:new(o)\n o = o or {}\n setmetatable(o, self)\n self.__index + = self\n return o\n end\n\n function __Calls:call(_func, _args)\n table.insert(self, + {func=_func, args=_args})\n return self\n end\n Calls = setmetatable({}, + {__index = __Calls})\n\n function empty_list()\n return setmetatable({}, + {__was_object=false})\n end\n\n function empty_object()\n return setmetatable({}, + {__was_object=true})\n end\n ;pass= tables, calls, votes, proposer_id = + ...\n\n -- interface definitions\n PASSED = 1\n PENDING = 0\n REJECTED + = -1\n STATE_ACTIVE = \"ACTIVE\"\n\n -- defines which of the members are + operators\n function is_operator(member)\n member_info = tables[\"public:ccf.gov.members.info\"]:get(member)\n if + member_info then\n member_data = member_info.member_data\n if member_data + then\n return member_data.is_operator == true\n end\n end\n return + false\n end\n\n -- defines calls that can be passed with sole operator input\n function + can_operator_pass(call)\n -- some calls can always be called by operators\n allowed_operator_funcs + = {\n trust_node=true,\n retire_node=true,\n new_user=true,\n remove_user=true,\n open_network=true,\n deploy_js_app=true,\n set_ca_cert_bundle=true,\n remove_ca_cert_bundle=true,\n set_jwt_issuer=true,\n remove_jwt_issuer=true,\n set_jwt_public_signing_keys=true,\n set_user_data=true,\n set_service_principal=true,\n remove_service_principal=true,\n }\n if + allowed_operator_funcs[call.func] then\n return true\n end\n\n -- + additionally, operators can add or retire other operators\n if call.func + == \"new_member\" then\n member_data = call.args.member_data\n if + member_data and member_data.is_operator then\n return true\n end\n elseif + call.func == \"retire_member\" then\n if is_operator(call.args) then\n return + true\n end\n end\n end\n\n -- count member votes\n member_votes + = 0\n\n for member, vote in pairs(votes) do\n if vote then\n if not + is_operator(member) then\n member_votes = member_votes + 1\n end\n end\n end\n\n -- + count active members, excluding operators\n members_active = 0\n\n tables[\"public:ccf.gov.members.info\"]:foreach(function(member, + details)\n if details[\"status\"] == STATE_ACTIVE and not is_operator(member) + then\n members_active = members_active + 1\n end\n end)\n\n -- check + for raw_puts to sensitive tables\n SENSITIVE_TABLES = {\"public:ccf.gov.whitelists\", + \"public:ccf.gov.scripts\"}\n for _, call in pairs(calls) do\n if call.func + == \"raw_puts\" then\n for _, sensitive_table in pairs(SENSITIVE_TABLES) + do\n if call.args[sensitive_table] then\n -- require unanimity + of non-operating members\n if member_votes == members_active then\n return + PASSED\n else\n return PENDING\n end\n end\n end\n end\n end\n\n -- + a vote is an operator vote if it''s only making operator calls\n operator_change + = true\n for _, call in pairs(calls) do\n if not can_operator_pass(call) + then\n operator_change = false\n break\n end\n end\n\n -- a + majority of members can always pass votes\n if member_votes > math.floor(members_active + / 2) then\n return PASSED\n end\n\n -- operators proposing operator changes + can pass them without a vote\n if operator_change and is_operator(proposer_id) + then\n return PASSED\n end\n\n return PENDING;"}' + headers: + content-length: '4306' + content-type: application/json + x-ms-ccf-transaction-id: '2.2788' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/governance/constitution?api-version=0.1-preview +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://fake-confidential-ledger.azure.com/app/enclaveQuotes?api-version=0.1-preview + response: + body: + string: '{"currentNodeId":"c801be0e15cdd5fdef828ec11b69551941f48aa200c17438d11286471c3e118c","enclaveQuotes":{"48bde5ab681ce4f35e78161cde552e8800784051a3602b3706c3a200d074f68c":{"mrenclave":"8e67b83969dea1207c06fb5191bfd45662c196d030bed26796b75f09c0e1c4bc","nodeId":"48bde5ab681ce4f35e78161cde552e8800784051a3602b3706c3a200d074f68c","quoteVersion":"OE_SGX_v1","raw":"030002000000000005000a00939a7233f79c4ca9940a0db3957f06074fca16e1b382cc4d9313fca5acbf408b0000000011110305ff80060000000000000000000000000000000000000000000000000000000000000000000000000000000000050000000000000007000000000000008e67b83969dea1207c06fb5191bfd45662c196d030bed26796b75f09c0e1c4bc000000000000000000000000000000000000000000000000000000000000000056a35b461bd8042255f6d33ee5ce7afa34f7024a35b74f15c5808e0c00864226000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005ab4ecfb2f7844a8179722eb80a639691a8bbf86c99e95d39f2d683beafefa6a0000000000000000000000000000000000000000000000000000000000000000341000002525ef54e5c5dd0d32973cc9c759fefc30c7aef7094c18134ef0e35117403532c109de78dd7fabceaa4c6ae624239e2417a932f0bb32eea17ea8259c241bfa0d8eb0721568eb8eefb5ffe48d4c0535ccbd637f6998f30d252334d093bfe489707cef9b5abbe51428ff6feb0d5590723896f7e3d8466e7c4c7f661f5588b1cbc011110305ff800600000000000000000000000000000000000000000000000000000000000000000000000000000000001500000000000000070000000000000060d85af28be8d1c40a08d98b009d5f8acc1384a385cf460800e478791d1a979c00000000000000000000000000000000000000000000000000000000000000008c4f5775d796503e96137f77c68a829a0056ac8ded70140b081b094490c57bff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045566c39ee9249e7f197a87256fd7267ac67bec7f27e6133d95306656244366e00000000000000000000000000000000000000000000000000000000000000007d1cada36a9e54bde941973bd2de03d5304bffdd775474aec6d38207272d9226a3e9e0314555d3960507f3224cf7d2009d75c8b968071fc31094a3dfb999c1e42000000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f0500cc0d00002d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949456754434342436167417749424167495545646d6b4833625131367152525856766e73307369596b3979495577436759494b6f5a497a6a3045417749770a6354456a4d4345474131554541777761535735305a577767553064594946424453794251636d396a5a584e7a6233496751304578476a415942674e5642416f4d0a45556c756447567349454e76636e4276636d4630615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b47413155450a4341774351304578437a414a42674e5642415954416c56544d423458445449784d4449784d4449794d5455774e466f58445449344d4449784d4449794d5455770a4e466f77634445694d434147413155454177775a535735305a5777675530645949464244537942445a584a3061575a70593246305a5445614d426747413155450a43677752535735305a577767513239796347397959585270623234784644415342674e564241634d43314e68626e526849454e7359584a684d517377435159440a5651514944414a445154454c4d416b474131554542684d4356564d775754415442676371686b6a4f5051494242676771686b6a4f50514d4242774e43414152680a5247587236365079506673764a55444a666158563841575957586768454e6b784638614d6d3471396a5a543546356d2f4d446b466365724a735a486c6d2b58710a4471673138452f344f416e39622f70344e366d796f3449436d7a434341706377487759445652306a42426777466f4155304f6971326e58582b53354a463567380a6578526c304e587957553077587759445652306642466777566a42556f464b6755495a4f6148523063484d364c79396863476b7564484a316333526c5a484e6c0a636e5a705932567a4c6d6c75644756734c6d4e766253397a5a3367765932567964476c6d61574e6864476c76626939324d6939775932746a636d772f593245390a63484a765932567a633239794d42304741315564446751574242537956634a3754335950586f383059535762493759504e514233506a414f42674e56485138420a4166384542414d434273417744415944565230544151482f42414977414443434164514743537147534962345451454e4151534341635577676748424d4234470a43697147534962345451454e4151454545475a445038395a483248673435704f4f5337372b564d776767466b42676f71686b69472b453042445145434d4949420a5644415142677371686b69472b45304244514543415149424554415142677371686b69472b45304244514543416749424554415142677371686b69472b4530420a4451454341774942416a415142677371686b69472b45304244514543424149424244415142677371686b69472b453042445145434251494241544152426773710a686b69472b4530424451454342674943414941774541594c4b6f5a496876684e4151304241676343415159774541594c4b6f5a496876684e41513042416767430a415141774541594c4b6f5a496876684e4151304241676b43415141774541594c4b6f5a496876684e4151304241676f43415141774541594c4b6f5a496876684e0a4151304241677343415141774541594c4b6f5a496876684e4151304241677743415141774541594c4b6f5a496876684e4151304241673043415141774541594c0a4b6f5a496876684e4151304241673443415141774541594c4b6f5a496876684e4151304241673843415141774541594c4b6f5a496876684e41513042416841430a415141774541594c4b6f5a496876684e415130424168454341516f774877594c4b6f5a496876684e4151304241684945454245524167514267415941414141410a41414141414141774541594b4b6f5a496876684e4151304241775143414141774641594b4b6f5a496876684e4151304242415147414a4275315141414d4138470a43697147534962345451454e4151554b41514177436759494b6f5a497a6a3045417749445351417752674968414a497245793530694b564857596f70573844500a56525366306859546f7232535830674b4f517569354f644241694541354d6351674a7a615550497a456342714c7970554a646a6a5a6e694c77686458387a75520a496458303244593d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a2d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949436c7a4343416a36674177494241674956414e446f71747031312f6b7553526559504873555a644456386c6c4e4d416f4743437147534d343942414d430a4d476778476a415942674e5642414d4d45556c756447567349464e48574342536232393049454e424d526f77474159445651514b4442464a626e526c624342440a62334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e564241674d416b4e424d5173770a435159445651514745774a56557a4165467730784f4441314d6a45784d4451314d4468614677307a4d7a41314d6a45784d4451314d4468614d484578497a41680a42674e5642414d4d476b6c756447567349464e48574342515130736755484a765932567a6332397949454e424d526f77474159445651514b4442464a626e526c0a6243424462334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e564241674d416b4e420a4d517377435159445651514745774a56557a425a4d424d4742797147534d34394167454743437147534d34394177454841304941424c39712b4e4d7032494f670a74646c31626b2f75575a352b5447516d38614369387a373866732b664b435133642b75447a586e56544154325a68444369667949754a77764e33774e427039690a484253534d4a4d4a72424f6a6762737767626777487759445652306a42426777466f4155496d554d316c71644e496e7a6737535655723951477a6b6e427177770a556759445652306642457377535442486f45576751345a426148523063484d364c79396a5a584a3061575a70593246305a584d7564484a316333526c5a484e6c0a636e5a705932567a4c6d6c75644756734c6d4e766253394a626e526c62464e4857464a76623352445153356a636d7777485159445652304f42425945464e446f0a71747031312f6b7553526559504873555a644456386c6c4e4d41344741315564447745422f77514541774942426a415342674e5648524d4241663845434441470a4151482f416745414d416f4743437147534d343942414d43413063414d45514349432f396a2b3834542b487a74564f2f734f5142574a6253642b2f327565784b0a342b6141306a6346424c63704169413364684d72463563443532743646714d764149706a385864476d79326265656c6a4c4a4b2b707a706352413d3d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a2d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949436a6a4343416a53674177494241674955496d554d316c71644e496e7a6737535655723951477a6b6e42717777436759494b6f5a497a6a3045417749770a614445614d4267474131554541777752535735305a5777675530645949464a766233516751304578476a415942674e5642416f4d45556c756447567349454e760a636e4276636d4630615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b47413155454341774351304578437a414a0a42674e5642415954416c56544d423458445445344d4455794d5445774e4445784d566f5844544d7a4d4455794d5445774e4445784d466f77614445614d4267470a4131554541777752535735305a5777675530645949464a766233516751304578476a415942674e5642416f4d45556c756447567349454e76636e4276636d46300a615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b47413155454341774351304578437a414a42674e56424159540a416c56544d466b77457759484b6f5a497a6a3043415159494b6f5a497a6a3044415163445167414543366e45774d4449595a4f6a2f69505773437a61454b69370a314f694f534c52466857476a626e42564a66566e6b59347533496a6b4459594c304d784f346d717379596a6c42616c54565978465032734a424b357a6c4b4f420a757a43427544416642674e5648534d4547444157674251695a517a575770303069664f44744a5653763141624f5363477244425342674e5648523845537a424a0a4d45656752614244686b466f64485277637a6f764c324e6c636e52705a6d6c6a5958526c63793530636e567a6447566b63325679646d6c6a5a584d75615735300a5a577775593239744c306c756447567355306459556d397664454e424c6d4e796244416442674e564851344546675155496d554d316c71644e496e7a673753560a55723951477a6b6e4271777744675944565230504151482f42415144416745474d42494741315564457745422f7751494d4159424166384341514577436759490a4b6f5a497a6a30454177494453414177525149675151732f30387279636450617543466b3855505158434d416c736c6f4265374e7761514754636470613045430a495143557438534776784b6d6a70634d2f7a3057503944766f3868326b3564753169574464426b416e2b306969413d3d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a0001000000000000000100000000000000100000000000000020000000000000007367785f7265706f72745f646174610048bde5ab681ce4f35e78161cde552e8800784051a3602b3706c3a200d074f68c"},"c801be0e15cdd5fdef828ec11b69551941f48aa200c17438d11286471c3e118c":{"mrenclave":"8e67b83969dea1207c06fb5191bfd45662c196d030bed26796b75f09c0e1c4bc","nodeId":"c801be0e15cdd5fdef828ec11b69551941f48aa200c17438d11286471c3e118c","quoteVersion":"OE_SGX_v1","raw":"030002000000000005000a00939a7233f79c4ca9940a0db3957f0607f471d316335a86ceb76e06231987a82e0000000011110305ff80060000000000000000000000000000000000000000000000000000000000000000000000000000000000050000000000000007000000000000008e67b83969dea1207c06fb5191bfd45662c196d030bed26796b75f09c0e1c4bc000000000000000000000000000000000000000000000000000000000000000056a35b461bd8042255f6d33ee5ce7afa34f7024a35b74f15c5808e0c008642260000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000078c32d2a305014f726ee776e3ddce1e78ace9dbdc80afffcdac36183db4aa88400000000000000000000000000000000000000000000000000000000000000003410000079e0ccf41c1bf95814e94b1bb528286360ab348fbdbe6d88ab4326e92b0e22b6aafdba795661c76216f638917f703874b7a7c11b09136e1c40c759079e08d25ead98b2a54c00819c809031c1c532fe81474455b2164af72abc5adf1fae294c2d211d5d91cae5a63dba4aa0fef0c2ee40f07326a4e6c12fbe0e3e4301ae6c755d11110305ff800600000000000000000000000000000000000000000000000000000000000000000000000000000000001500000000000000070000000000000060d85af28be8d1c40a08d98b009d5f8acc1384a385cf460800e478791d1a979c00000000000000000000000000000000000000000000000000000000000000008c4f5775d796503e96137f77c68a829a0056ac8ded70140b081b094490c57bff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055ff9841726e0844f79627ed52300e9ed3d80df9b96c1b5077be05eae8c7f7240000000000000000000000000000000000000000000000000000000000000000f88d17f91c2dfcf5a0bbbd331f00ed75ae2476865c49bff369dfeb47e0a2032cb5e0778b5b9ca6a1221b6e351e4dd4003c6269facc7f1b70f05ce5671d090a232000000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f0500cc0d00002d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949456744434342436567417749424167495641507a733541517737784d2f6d2f44356f5669685176326a625a75664d416f4743437147534d343942414d430a4d484578497a416842674e5642414d4d476b6c756447567349464e48574342515130736755484a765932567a6332397949454e424d526f77474159445651514b0a4442464a626e526c6243424462334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e560a4241674d416b4e424d517377435159445651514745774a56557a4165467730794d54417a4d6a4d784e7a49354d446461467730794f44417a4d6a4d784e7a49350a4d4464614d484178496a416742674e5642414d4d47556c756447567349464e4857434251513073675132567964476c6d61574e6864475578476a415942674e560a42416f4d45556c756447567349454e76636e4276636d4630615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b470a413155454341774351304578437a414a42674e5642415954416c56544d466b77457759484b6f5a497a6a3043415159494b6f5a497a6a304441516344516741450a3935686643793248525170376e7766332f776d6a636749646e464f737632634b62525263547077797937466b4c71744d7a2b503234414751433737777350664f0a3141677165677543693065366e4b4531514f5553324b4f434170737767674b584d42384741315564497751594d426141464e446f71747031312f6b75535265590a504873555a644456386c6c4e4d46384741315564487752594d465977564b42536f464347546d68306448427a4f693876595842704c6e527964584e305a57527a0a5a584a3261574e6c63793570626e526c6243356a62323076633264344c324e6c636e52705a6d6c6a5958527062323476646a497663474e7259334a7350324e680a5058427962324e6c63334e76636a416442674e5648513445466751552f6746447943726b593350577134554565386e2b6337444f4b74497744675944565230500a4151482f42415144416762414d41774741315564457745422f7751434d4141776767485542676b71686b69472b45304244514545676748464d494942775441650a42676f71686b69472b45304244514542424242374d744e374b536a6d7656797674544641645274394d4949425a41594b4b6f5a496876684e41513042416a43430a415651774541594c4b6f5a496876684e4151304241674543415245774541594c4b6f5a496876684e4151304241674943415245774541594c4b6f5a496876684e0a4151304241674d43415149774541594c4b6f5a496876684e4151304241675143415151774541594c4b6f5a496876684e4151304241675543415145774551594c0a4b6f5a496876684e4151304241675943416743414d42414743797147534962345451454e41514948416745474d42414743797147534962345451454e415149490a416745414d42414743797147534962345451454e4151494a416745414d42414743797147534962345451454e4151494b416745414d42414743797147534962340a5451454e4151494c416745414d42414743797147534962345451454e4151494d416745414d42414743797147534962345451454e4151494e416745414d4241470a43797147534962345451454e4151494f416745414d42414743797147534962345451454e41514950416745414d42414743797147534962345451454e415149510a416745414d42414743797147534962345451454e415149524167454b4d42384743797147534962345451454e41514953424241524551494541594147414141410a41414141414141414d42414743697147534962345451454e41514d45416741414d42514743697147534962345451454e415151454267435162745541414441500a42676f71686b69472b45304244514546436745414d416f4743437147534d343942414d43413063414d455143494551625578385a6e79506d7442516b3474524c0a6d476f4e38304957366e55704637736144426e43334c6a48416941676d375a724e4c4348746656683979646e53634b6254365438546b357959527766484f65340a536b746936413d3d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a2d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949436c7a4343416a36674177494241674956414e446f71747031312f6b7553526559504873555a644456386c6c4e4d416f4743437147534d343942414d430a4d476778476a415942674e5642414d4d45556c756447567349464e48574342536232393049454e424d526f77474159445651514b4442464a626e526c624342440a62334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e564241674d416b4e424d5173770a435159445651514745774a56557a4165467730784f4441314d6a45784d4451314d4468614677307a4d7a41314d6a45784d4451314d4468614d484578497a41680a42674e5642414d4d476b6c756447567349464e48574342515130736755484a765932567a6332397949454e424d526f77474159445651514b4442464a626e526c0a6243424462334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e564241674d416b4e420a4d517377435159445651514745774a56557a425a4d424d4742797147534d34394167454743437147534d34394177454841304941424c39712b4e4d7032494f670a74646c31626b2f75575a352b5447516d38614369387a373866732b664b435133642b75447a586e56544154325a68444369667949754a77764e33774e427039690a484253534d4a4d4a72424f6a6762737767626777487759445652306a42426777466f4155496d554d316c71644e496e7a6737535655723951477a6b6e427177770a556759445652306642457377535442486f45576751345a426148523063484d364c79396a5a584a3061575a70593246305a584d7564484a316333526c5a484e6c0a636e5a705932567a4c6d6c75644756734c6d4e766253394a626e526c62464e4857464a76623352445153356a636d7777485159445652304f42425945464e446f0a71747031312f6b7553526559504873555a644456386c6c4e4d41344741315564447745422f77514541774942426a415342674e5648524d4241663845434441470a4151482f416745414d416f4743437147534d343942414d43413063414d45514349432f396a2b3834542b487a74564f2f734f5142574a6253642b2f327565784b0a342b6141306a6346424c63704169413364684d72463563443532743646714d764149706a385864476d79326265656c6a4c4a4b2b707a706352413d3d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a2d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949436a6a4343416a53674177494241674955496d554d316c71644e496e7a6737535655723951477a6b6e42717777436759494b6f5a497a6a3045417749770a614445614d4267474131554541777752535735305a5777675530645949464a766233516751304578476a415942674e5642416f4d45556c756447567349454e760a636e4276636d4630615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b47413155454341774351304578437a414a0a42674e5642415954416c56544d423458445445344d4455794d5445774e4445784d566f5844544d7a4d4455794d5445774e4445784d466f77614445614d4267470a4131554541777752535735305a5777675530645949464a766233516751304578476a415942674e5642416f4d45556c756447567349454e76636e4276636d46300a615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b47413155454341774351304578437a414a42674e56424159540a416c56544d466b77457759484b6f5a497a6a3043415159494b6f5a497a6a3044415163445167414543366e45774d4449595a4f6a2f69505773437a61454b69370a314f694f534c52466857476a626e42564a66566e6b59347533496a6b4459594c304d784f346d717379596a6c42616c54565978465032734a424b357a6c4b4f420a757a43427544416642674e5648534d4547444157674251695a517a575770303069664f44744a5653763141624f5363477244425342674e5648523845537a424a0a4d45656752614244686b466f64485277637a6f764c324e6c636e52705a6d6c6a5958526c63793530636e567a6447566b63325679646d6c6a5a584d75615735300a5a577775593239744c306c756447567355306459556d397664454e424c6d4e796244416442674e564851344546675155496d554d316c71644e496e7a673753560a55723951477a6b6e4271777744675944565230504151482f42415144416745474d42494741315564457745422f7751494d4159424166384341514577436759490a4b6f5a497a6a30454177494453414177525149675151732f30387279636450617543466b3855505158434d416c736c6f4265374e7761514754636470613045430a495143557438534776784b6d6a70634d2f7a3057503944766f3868326b3564753169574464426b416e2b306969413d3d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a0001000000000000000100000000000000100000000000000020000000000000007367785f7265706f72745f6461746100c801be0e15cdd5fdef828ec11b69551941f48aa200c17438d11286471c3e118c"},"cda0fa96a7916caafd144ea4b3d4188b197cff605b32416a3b47c1c69aeff594":{"mrenclave":"8e67b83969dea1207c06fb5191bfd45662c196d030bed26796b75f09c0e1c4bc","nodeId":"cda0fa96a7916caafd144ea4b3d4188b197cff605b32416a3b47c1c69aeff594","quoteVersion":"OE_SGX_v1","raw":"030002000000000005000a00939a7233f79c4ca9940a0db3957f060754a876d8093c9425005f2e6815d530010000000011110305ff80060000000000000000000000000000000000000000000000000000000000000000000000000000000000050000000000000007000000000000008e67b83969dea1207c06fb5191bfd45662c196d030bed26796b75f09c0e1c4bc000000000000000000000000000000000000000000000000000000000000000056a35b461bd8042255f6d33ee5ce7afa34f7024a35b74f15c5808e0c00864226000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008e302cec2c9c0d898ea0824736115427df94d26cb51ebc0913ef0feaf0c37db9000000000000000000000000000000000000000000000000000000000000000034100000932a7fe206944a7f06a203b73c4d35ac6d53c490fc017f7568a6a577cb2255290f23021dc1a3deb6159be60bc6e43de50f7da2921f71163ecafe18bee73c01bb06834e14e82c9982eb6cee7471e3b13721661ece0a68458b0948b26ed53322b58dbf3252283ce9fe4703d59aff2003d8f94c5b61722eefd439c735d7e40b0e9a11110305ff800600000000000000000000000000000000000000000000000000000000000000000000000000000000001500000000000000070000000000000060d85af28be8d1c40a08d98b009d5f8acc1384a385cf460800e478791d1a979c00000000000000000000000000000000000000000000000000000000000000008c4f5775d796503e96137f77c68a829a0056ac8ded70140b081b094490c57bff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000751ade3621fe0e0e62fdfda76b32e7524bd87388a96e0a98ace244c95a8965b500000000000000000000000000000000000000000000000000000000000000000322ce315e71a60490bddf773f32b059f4cce7b435d550e2c1cd34aa7faf1cf4d06858ceb9ff5b8fa2aa9d3ba7a564c53853ca78ea6e1175e02b185f94ec4e852000000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f0500cc0d00002d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d49494567544343424365674177494241674956414c546d71796a394e4363724f414844654849486f6c754d565758464d416f4743437147534d343942414d430a4d484578497a416842674e5642414d4d476b6c756447567349464e48574342515130736755484a765932567a6332397949454e424d526f77474159445651514b0a4442464a626e526c6243424462334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e560a4241674d416b4e424d517377435159445651514745774a56557a4165467730794d54417a4d6a4d774f544d304e546c61467730794f44417a4d6a4d774f544d300a4e546c614d484178496a416742674e5642414d4d47556c756447567349464e4857434251513073675132567964476c6d61574e6864475578476a415942674e560a42416f4d45556c756447567349454e76636e4276636d4630615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b470a413155454341774351304578437a414a42674e5642415954416c56544d466b77457759484b6f5a497a6a3043415159494b6f5a497a6a304441516344516741450a715165687944707854673273444b6849772b64454f2b42647536527039586f516e6c3359322f6a32497455566e524374704236484c707943325a45614d6853610a4b716c6f436476715674426872504f7364377374474b4f434170737767674b584d42384741315564497751594d426141464e446f71747031312f6b75535265590a504873555a644456386c6c4e4d46384741315564487752594d465977564b42536f464347546d68306448427a4f693876595842704c6e527964584e305a57527a0a5a584a3261574e6c63793570626e526c6243356a62323076633264344c324e6c636e52705a6d6c6a5958527062323476646a497663474e7259334a7350324e680a5058427962324e6c63334e76636a416442674e5648513445466751552f724673795665793276384e58594e354178754c766177586868347744675944565230500a4151482f42415144416762414d41774741315564457745422f7751434d4141776767485542676b71686b69472b45304244514545676748464d494942775441650a42676f71686b69472b4530424451454242424132346f6d696e7451356a58772f325543756237766b4d4949425a41594b4b6f5a496876684e41513042416a43430a415651774541594c4b6f5a496876684e4151304241674543415245774541594c4b6f5a496876684e4151304241674943415245774541594c4b6f5a496876684e0a4151304241674d43415149774541594c4b6f5a496876684e4151304241675143415151774541594c4b6f5a496876684e4151304241675543415145774551594c0a4b6f5a496876684e4151304241675943416743414d42414743797147534962345451454e41514948416745474d42414743797147534962345451454e415149490a416745414d42414743797147534962345451454e4151494a416745414d42414743797147534962345451454e4151494b416745414d42414743797147534962340a5451454e4151494c416745414d42414743797147534962345451454e4151494d416745414d42414743797147534962345451454e4151494e416745414d4241470a43797147534962345451454e4151494f416745414d42414743797147534962345451454e41514950416745414d42414743797147534962345451454e415149510a416745414d42414743797147534962345451454e415149524167454b4d42384743797147534962345451454e41514953424241524551494541594147414141410a41414141414141414d42414743697147534962345451454e41514d45416741414d42514743697147534962345451454e415151454267435162745541414441500a42676f71686b69472b45304244514546436745414d416f4743437147534d343942414d43413067414d455543494252454b346b4c5559532b766149336436536d0a6668564f613642726d4c43316d50314b7265346f52456262416945416d78325a496f506f36584838303839576668746f6539356b6345733432507050343152370a643544467167513d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a2d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949436c7a4343416a36674177494241674956414e446f71747031312f6b7553526559504873555a644456386c6c4e4d416f4743437147534d343942414d430a4d476778476a415942674e5642414d4d45556c756447567349464e48574342536232393049454e424d526f77474159445651514b4442464a626e526c624342440a62334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e564241674d416b4e424d5173770a435159445651514745774a56557a4165467730784f4441314d6a45784d4451314d4468614677307a4d7a41314d6a45784d4451314d4468614d484578497a41680a42674e5642414d4d476b6c756447567349464e48574342515130736755484a765932567a6332397949454e424d526f77474159445651514b4442464a626e526c0a6243424462334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e564241674d416b4e420a4d517377435159445651514745774a56557a425a4d424d4742797147534d34394167454743437147534d34394177454841304941424c39712b4e4d7032494f670a74646c31626b2f75575a352b5447516d38614369387a373866732b664b435133642b75447a586e56544154325a68444369667949754a77764e33774e427039690a484253534d4a4d4a72424f6a6762737767626777487759445652306a42426777466f4155496d554d316c71644e496e7a6737535655723951477a6b6e427177770a556759445652306642457377535442486f45576751345a426148523063484d364c79396a5a584a3061575a70593246305a584d7564484a316333526c5a484e6c0a636e5a705932567a4c6d6c75644756734c6d4e766253394a626e526c62464e4857464a76623352445153356a636d7777485159445652304f42425945464e446f0a71747031312f6b7553526559504873555a644456386c6c4e4d41344741315564447745422f77514541774942426a415342674e5648524d4241663845434441470a4151482f416745414d416f4743437147534d343942414d43413063414d45514349432f396a2b3834542b487a74564f2f734f5142574a6253642b2f327565784b0a342b6141306a6346424c63704169413364684d72463563443532743646714d764149706a385864476d79326265656c6a4c4a4b2b707a706352413d3d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a2d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949436a6a4343416a53674177494241674955496d554d316c71644e496e7a6737535655723951477a6b6e42717777436759494b6f5a497a6a3045417749770a614445614d4267474131554541777752535735305a5777675530645949464a766233516751304578476a415942674e5642416f4d45556c756447567349454e760a636e4276636d4630615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b47413155454341774351304578437a414a0a42674e5642415954416c56544d423458445445344d4455794d5445774e4445784d566f5844544d7a4d4455794d5445774e4445784d466f77614445614d4267470a4131554541777752535735305a5777675530645949464a766233516751304578476a415942674e5642416f4d45556c756447567349454e76636e4276636d46300a615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b47413155454341774351304578437a414a42674e56424159540a416c56544d466b77457759484b6f5a497a6a3043415159494b6f5a497a6a3044415163445167414543366e45774d4449595a4f6a2f69505773437a61454b69370a314f694f534c52466857476a626e42564a66566e6b59347533496a6b4459594c304d784f346d717379596a6c42616c54565978465032734a424b357a6c4b4f420a757a43427544416642674e5648534d4547444157674251695a517a575770303069664f44744a5653763141624f5363477244425342674e5648523845537a424a0a4d45656752614244686b466f64485277637a6f764c324e6c636e52705a6d6c6a5958526c63793530636e567a6447566b63325679646d6c6a5a584d75615735300a5a577775593239744c306c756447567355306459556d397664454e424c6d4e796244416442674e564851344546675155496d554d316c71644e496e7a673753560a55723951477a6b6e4271777744675944565230504151482f42415144416745474d42494741315564457745422f7751494d4159424166384341514577436759490a4b6f5a497a6a30454177494453414177525149675151732f30387279636450617543466b3855505158434d416c736c6f4265374e7761514754636470613045430a495143557438534776784b6d6a70634d2f7a3057503944766f3868326b3564753169574464426b416e2b306969413d3d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a0001000000000000000100000000000000100000000000000020000000000000007367785f7265706f72745f6461746100cda0fa96a7916caafd144ea4b3d4188b197cff605b32416a3b47c1c69aeff594"}}}' + headers: + content-length: '28866' + content-type: application/json + x-ms-ccf-transaction-id: '2.2788' + status: + code: 200 + message: OK + url: https://sdk-test-ledger-prod.eastus.cloudapp.azure.com/app/enclaveQuotes?api-version=0.1-preview +version: 1 diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_identity_service_client.test_get_ledger_identity.yaml b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_identity_service_client.test_get_ledger_identity.yaml new file mode 100644 index 000000000000..d46d94c11114 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_identity_service_client.test_get_ledger_identity.yaml @@ -0,0 +1,37 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://identity.accledger.azure.com/ledgerIdentity/fake-ledger-id?api-version=0.1-preview + response: + body: + string: '{"ledgerTlsCertificate":"-----BEGIN CERTIFICATE-----\nMIIBtjCCAT2gAwIBAgIQSw8HaSIBHIBNCOoDjlSdTTAKBggqhkjOPQQDAzAWMRQw\nEgYDVQQDDAtDQ0YgTmV0d29yazAeFw0yMTAzMTEwMDAwMDBaFw0yMzA2MTEyMzU5\nNTlaMBYxFDASBgNVBAMMC0NDRiBOZXR3b3JrMHYwEAYHKoZIzj0CAQYFK4EEACID\nYgAE+v02BHft1bJws8lZx8EANt/r2EgvdY+t4WoNJideAUyL1q5fzvkyq+KzGFKB\ntO4ZTQswmKc6851hDSFU90TFxj+Z+8blpdTd4Kyrgm1QJeC62yeiwDDV3wuxLQdp\nqdumo1AwTjAMBgNVHRMEBTADAQH/MB0GA1UdDgQWBBSqyU4AMIPtiTcr0sNylZeG\nMxLOBTAfBgNVHSMEGDAWgBSqyU4AMIPtiTcr0sNylZeGMxLOBTAKBggqhkjOPQQD\nAwNnADBkAjAvOKkxJ1ApNgnUz2AwT6ke/5zITbKleCYhsA31ydmtxKzHknFvjezV\n71M2EfnbKkUCMAsuRjhh4B5hmu6YOyM1ZSAF6eVxkpVTM0zSD1M/t9e+I/3Ym3tG\nG/fqaA8AvrxFiQ==\n-----END + CERTIFICATE-----\n\u0000","ledgerId":"fake-ledger-id"}' + headers: + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 May 2021 20:19:01 GMT + server: + - Kestrel + transfer-encoding: + - chunked + x-ms-image-digest: + - sha256:11ed1da225547a3b77101645cee8a1071520b55acfe3194319a88a45103666e3 + x-ms-image-tag: + - latest-20210504174045259-f27d27c4 + x-ms-machinename: + - identityservice-5ccb4b98b4-7d8xz + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_identity_service_client_async.test_get_ledger_identity.yaml b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_identity_service_client_async.test_get_ledger_identity.yaml new file mode 100644 index 000000000000..2e7ed6f3c396 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/recordings/test_identity_service_client_async.test_get_ledger_identity.yaml @@ -0,0 +1,37 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-confidentialledger/0.1 Python/3.8.5 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://identity.accledger.azure.com/ledgerIdentity/fake-ledger-id?api-version=0.1-preview + response: + body: + string: '{"ledgerTlsCertificate":"-----BEGIN CERTIFICATE-----\nMIIBtjCCAT2gAwIBAgIQSw8HaSIBHIBNCOoDjlSdTTAKBggqhkjOPQQDAzAWMRQw\nEgYDVQQDDAtDQ0YgTmV0d29yazAeFw0yMTAzMTEwMDAwMDBaFw0yMzA2MTEyMzU5\nNTlaMBYxFDASBgNVBAMMC0NDRiBOZXR3b3JrMHYwEAYHKoZIzj0CAQYFK4EEACID\nYgAE+v02BHft1bJws8lZx8EANt/r2EgvdY+t4WoNJideAUyL1q5fzvkyq+KzGFKB\ntO4ZTQswmKc6851hDSFU90TFxj+Z+8blpdTd4Kyrgm1QJeC62yeiwDDV3wuxLQdp\nqdumo1AwTjAMBgNVHRMEBTADAQH/MB0GA1UdDgQWBBSqyU4AMIPtiTcr0sNylZeG\nMxLOBTAfBgNVHSMEGDAWgBSqyU4AMIPtiTcr0sNylZeGMxLOBTAKBggqhkjOPQQD\nAwNnADBkAjAvOKkxJ1ApNgnUz2AwT6ke/5zITbKleCYhsA31ydmtxKzHknFvjezV\n71M2EfnbKkUCMAsuRjhh4B5hmu6YOyM1ZSAF6eVxkpVTM0zSD1M/t9e+I/3Ym3tG\nG/fqaA8AvrxFiQ==\n-----END + CERTIFICATE-----\n\u0000","ledgerId":"fake-ledger-id"}' + headers: + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 May 2021 20:19:08 GMT + server: + - Kestrel + transfer-encoding: + - chunked + x-ms-image-digest: + - sha256:11ed1da225547a3b77101645cee8a1071520b55acfe3194319a88a45103666e3 + x-ms-image-tag: + - latest-20210504174045259-f27d27c4 + x-ms-machinename: + - identityservice-5ccb4b98b4-fgl4s + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/test_confidential_ledger_client_aad.py b/sdk/confidentialledger/azure-confidentialledger/tests/test_confidential_ledger_client_aad.py new file mode 100644 index 000000000000..5028bd67574d --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/test_confidential_ledger_client_aad.py @@ -0,0 +1,34 @@ +from azure.confidentialledger import ( + ConfidentialLedgerClient, + ConfidentialLedgerCertificateCredential, + LedgerUserRole, +) + +from _shared.client_test_common import ConfidentialLedgerClientTestMixin + +AAD_USER_OBJECT_ID = "a" * 36 + + +class AadCredentialClientTest(ConfidentialLedgerClientTestMixin.BaseTest): + def setUp(self): + super(AadCredentialClientTest, self).setUp() + self.client = self.create_client_from_credential( + ConfidentialLedgerClient, + credential=self.get_credential(ConfidentialLedgerClient), + ledger_certificate_path=self.network_certificate_path, + endpoint=self.confidential_ledger_url, + ) + + client = self.create_client_from_credential( + ConfidentialLedgerClient, + credential=ConfidentialLedgerCertificateCredential( + self.user_certificate_path + ), + ledger_certificate_path=self.network_certificate_path, + endpoint=self.confidential_ledger_url, + ) + + aad_object_id = self.set_value_to_scrub( + "CONFIDENTIAL_LEDGER_AAD_USER_OBJECT_ID", AAD_USER_OBJECT_ID + ) + client.create_or_update_user(aad_object_id, LedgerUserRole.ADMINISTRATOR) diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/test_confidential_ledger_client_aad_async.py b/sdk/confidentialledger/azure-confidentialledger/tests/test_confidential_ledger_client_aad_async.py new file mode 100644 index 000000000000..165f89bf5333 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/test_confidential_ledger_client_aad_async.py @@ -0,0 +1,45 @@ +import asyncio +import time + +from azure.confidentialledger import ( + ConfidentialLedgerCertificateCredential, + LedgerUserRole, +) +from azure.confidentialledger.aio import ConfidentialLedgerClient + +from _shared.client_test_common_async import AsyncConfidentialLedgerClientTestMixin + +AAD_USER_OBJECT_ID = "a" * 36 + + +class AsyncAadCredentialClientTest( + AsyncConfidentialLedgerClientTestMixin.AsyncBaseTest +): + def setUp(self): + super().setUp() + self.client = self.create_client_from_credential( + ConfidentialLedgerClient, + credential=self.get_credential(ConfidentialLedgerClient, is_async=True), + ledger_certificate_path=self.network_certificate_path, + endpoint=self.confidential_ledger_url, + ) + + client = self.create_client_from_credential( + ConfidentialLedgerClient, + credential=ConfidentialLedgerCertificateCredential( + self.user_certificate_path + ), + ledger_certificate_path=self.network_certificate_path, + endpoint=self.confidential_ledger_url, + ) + + aad_object_id = self.set_value_to_scrub( + "CONFIDENTIAL_LEDGER_AAD_USER_OBJECT_ID", AAD_USER_OBJECT_ID + ) + + # Since setUp cannot be async + task = asyncio.ensure_future( + client.create_or_update_user(aad_object_id, LedgerUserRole.ADMINISTRATOR) + ) + while not task.done: + time.sleep(0.5) diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/test_confidential_ledger_client_certificate.py b/sdk/confidentialledger/azure-confidentialledger/tests/test_confidential_ledger_client_certificate.py new file mode 100644 index 000000000000..cd3258ff4082 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/test_confidential_ledger_client_certificate.py @@ -0,0 +1,19 @@ +from azure.confidentialledger import ( + ConfidentialLedgerClient, + ConfidentialLedgerCertificateCredential, +) + +from _shared.client_test_common import ConfidentialLedgerClientTestMixin + + +class CertificateCredentialClientTest(ConfidentialLedgerClientTestMixin.BaseTest): + def setUp(self): + super(CertificateCredentialClientTest, self).setUp() + self.client = self.create_client_from_credential( + ConfidentialLedgerClient, + credential=ConfidentialLedgerCertificateCredential( + self.user_certificate_path + ), + ledger_certificate_path=self.network_certificate_path, + endpoint=self.confidential_ledger_url, + ) diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/test_confidential_ledger_client_certificate_async.py b/sdk/confidentialledger/azure-confidentialledger/tests/test_confidential_ledger_client_certificate_async.py new file mode 100644 index 000000000000..80dd5d3e771c --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/test_confidential_ledger_client_certificate_async.py @@ -0,0 +1,21 @@ +from azure.confidentialledger import ( + ConfidentialLedgerCertificateCredential, +) +from azure.confidentialledger.aio import ConfidentialLedgerClient + +from _shared.client_test_common_async import AsyncConfidentialLedgerClientTestMixin + + +class AsyncCertificateCredentialClientTest( + AsyncConfidentialLedgerClientTestMixin.AsyncBaseTest +): + def setUp(self): + super(AsyncCertificateCredentialClientTest, self).setUp() + self.client = self.create_client_from_credential( + ConfidentialLedgerClient, + credential=ConfidentialLedgerCertificateCredential( + self.user_certificate_path + ), + ledger_certificate_path=self.network_certificate_path, + endpoint=self.confidential_ledger_url, + ) diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/test_identity_service_client.py b/sdk/confidentialledger/azure-confidentialledger/tests/test_identity_service_client.py new file mode 100644 index 000000000000..ded88537aa36 --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/test_identity_service_client.py @@ -0,0 +1,38 @@ +import sys + +from azure.confidentialledger.identity_service import ( + ConfidentialLedgerIdentityServiceClient, + LedgerIdentity, +) + +from _shared.constants import NETWORK_CERTIFICATE +from _shared.testcase import ConfidentialLedgerTestCase + +LEDGER_ID = "fake-ledger-id" + + +class ConfidentialLedgerIdentityServiceClientTest(ConfidentialLedgerTestCase): + def setUp(self): + super(ConfidentialLedgerIdentityServiceClientTest, self).setUp() + + self.ledger_id = self.set_value_to_scrub("CONFIDENTIAL_LEDGER_ID", LEDGER_ID) + + def test_get_ledger_identity(self): + client = self.create_client_from_credential( + ConfidentialLedgerIdentityServiceClient, + credential=None, + identity_service_url="https://identity.accledger.azure.com", + ) + + network_identity = client.get_ledger_identity( + ledger_id=self.ledger_id + ) # type: LedgerIdentity + + self.assertEqual(network_identity.ledger_id, self.ledger_id) + + cert_recv = network_identity.ledger_tls_certificate + # Ledger certificate comes back as unicode in Python 2.7. + if sys.version_info < (3, 0): + cert_recv = cert_recv.strip("\n\x00").encode("ascii") + + self.assertEqual(cert_recv, NETWORK_CERTIFICATE) diff --git a/sdk/confidentialledger/azure-confidentialledger/tests/test_identity_service_client_async.py b/sdk/confidentialledger/azure-confidentialledger/tests/test_identity_service_client_async.py new file mode 100644 index 000000000000..305a0b5bc1fc --- /dev/null +++ b/sdk/confidentialledger/azure-confidentialledger/tests/test_identity_service_client_async.py @@ -0,0 +1,37 @@ +from devtools_testutils import AzureTestCase + +from azure.confidentialledger.identity_service import LedgerIdentity +from azure.confidentialledger.identity_service.aio import ( + ConfidentialLedgerIdentityServiceClient, +) + +from _shared.constants import NETWORK_CERTIFICATE +from _shared.testcase_async import AsyncConfidentialLedgerTestCase + +LEDGER_ID = "fake-ledger-id" + + +class ConfidentialLedgerIdentityServiceClientTest(AsyncConfidentialLedgerTestCase): + def setUp(self): + super(ConfidentialLedgerIdentityServiceClientTest, self).setUp() + + self.ledger_id = self.set_value_to_scrub("CONFIDENTIAL_LEDGER_ID", LEDGER_ID) + + @AzureTestCase.await_prepared_test + async def test_get_ledger_identity(self): + client = self.create_client_from_credential( + ConfidentialLedgerIdentityServiceClient, + credential=None, + identity_service_url="https://identity.accledger.azure.com", + ) + + network_identity = await client.get_ledger_identity( + ledger_id=self.ledger_id + ) # type: LedgerIdentity + self.assertEqual(network_identity.ledger_id, self.ledger_id) + self.assertEqual( + network_identity.ledger_tls_certificate, + NETWORK_CERTIFICATE, + ) + + await client.close() diff --git a/sdk/confidentialledger/ci.yml b/sdk/confidentialledger/ci.yml index 4c679189ef0b..5ec4bcb175cc 100644 --- a/sdk/confidentialledger/ci.yml +++ b/sdk/confidentialledger/ci.yml @@ -31,5 +31,7 @@ extends: parameters: ServiceDirectory: confidentialledger Artifacts: + - name: azure-confidentialledger + safeName: azureconfidentialledger - name: azure-mgmt-confidentialledger safeName: azuremgmtconfidentialledger