class TimeoutParticipantTestContext extends ParticipantTestContext
- Annotations
- @nowarn()
- Alphabetic
- By Inheritance
- TimeoutParticipantTestContext
- ParticipantTestContext
- UserManagementTestContext
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TimeoutParticipantTestContext(timeoutScaleFactor: Double, delegate: ParticipantTestContext)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def activeContracts(parties: Option[Seq[Party]], activeAtOffsetO: Option[Long], verbose: Boolean = true): Future[Vector[CreatedEvent]]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def activeContracts(request: GetActiveContractsRequest): Future[Vector[CreatedEvent]]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def activeContractsByTemplateId(templateIds: Seq[Identifier], parties: Option[Seq[Party]], activeAtOffsetO: Option[Long], verbose: Boolean = true): Future[Vector[CreatedEvent]]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def activeContractsIds(request: GetActiveContractsRequest): Future[Vector[ContractId[Any]]]
- Definition Classes
- ParticipantTestContext
- def activeContractsRequest(parties: Option[Seq[Party]], activeAtOffset: Long, templateIds: Seq[Identifier], interfaceFilters: Seq[(Identifier, IncludeInterfaceView)] = Seq.empty, verbose: Boolean = true): GetActiveContractsRequest
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def allocateExternalParty(request: AllocateExternalPartyRequest, minSynchronizers: Option[Int] = None): Future[Party]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def allocateExternalPartyRequest(partyIdHint: Option[String] = None, synchronizerId: String = ""): AllocateExternalPartyRequest
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def allocateParties(n: Int, minSynchronizers: Int): Future[Vector[Party]]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def allocateParty(partyIdHint: Option[String] = None, localMetadata: Option[ObjectMeta] = None, identityProviderId: Option[String] = None, minSynchronizers: Option[Int] = None): Future[Party]
Non managed version of party allocation.
Non managed version of party allocation. Use exclusively when testing the party management service.
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def allocateParty(req: AllocatePartyRequest, connectedSynchronizers: Int): Future[(AllocatePartyResponse, Seq[String])]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def allocateParty(): Future[Party]
Managed version of party allocation, should be used anywhere a party has to be allocated unless the party management service itself is under test
Managed version of party allocation, should be used anywhere a party has to be allocated unless the party management service itself is under test
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val begin: Long
- Definition Classes
- ParticipantTestContext
- def checkHealth(): Future[HealthCheckResponse]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def completionStreamRequest(from: Long)(parties: Party*): CompletionStreamRequest
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def completions(within: NonNegativeFiniteDuration, request: CompletionStreamRequest): Future[Vector[CompletionResponse]]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def create[TCid <: ContractId[T], T <: Template](actAs: List[Party], readAs: List[Party], template: T)(implicit companion: ContractCompanion[_, TCid, T]): Future[TCid]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def create[TCid <: ContractId[T], T <: Template](party: Party, template: T)(implicit companion: ContractCompanion[_, TCid, T]): Future[TCid]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def createAndGetTransactionId[TCid <: ContractId[T], T <: Template](party: Party, template: T)(implicit companion: ContractCompanion[_, TCid, T]): Future[(String, TCid)]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def createIdentityProviderConfig(request: CreateIdentityProviderConfigRequest): Future[CreateIdentityProviderConfigResponse]
- Definition Classes
- UserManagementTestContext
- def createIdentityProviderConfig(identityProviderId: String = UUID.randomUUID().toString, isDeactivated: Boolean = false, issuer: String = UUID.randomUUID().toString, jwksUrl: String = "http://daml.com/jwks.json"): Future[CreateIdentityProviderConfigResponse]
- Definition Classes
- UserManagementTestContext
- def createUser(createUserRequest: CreateUserRequest): Future[CreateUserResponse]
Creates a new user.
Creates a new user.
Additionally keeps track of the created users so that they can be cleaned up automatically when the test case ends.
- Definition Classes
- UserManagementTestContext
- def currentEnd(): Future[Long]
Gets the absolute offset of the ledger end at a point in time.
Gets the absolute offset of the ledger end at a point in time.
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def delayMechanism: DelayMechanism
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def deleteCreateIdentityProviders(): Future[Unit]
- Definition Classes
- UserManagementTestContext
- def deleteCreatedUsers(): Future[Unit]
Intended to be called by the infrastructure code after a test case's execution has ended.
Intended to be called by the infrastructure code after a test case's execution has ended.
- Definition Classes
- UserManagementTestContext
- def deleteIdentityProviderConfig(request: DeleteIdentityProviderConfigRequest): Future[DeleteIdentityProviderConfigResponse]
- Definition Classes
- UserManagementTestContext
- def deleteUser(request: DeleteUserRequest): Future[DeleteUserResponse]
Deletes a user.
Deletes a user.
Additionally keeps track of the created users so that they can be cleaned up automatically when the test case ends.
- Definition Classes
- UserManagementTestContext
- val endpointId: String
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def eventFormat(verbose: Boolean, partiesO: Option[Seq[Party]], templateIds: Seq[Identifier] = Seq.empty, interfaceFilters: Seq[(Identifier, IncludeInterfaceView)] = Seq.empty): EventFormat
Create an EventFormat with a set of Party objects.
Create an EventFormat with a set of Party objects.
You should use this only when you need to tweak the request of transactions(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdatesRequest):*, otherwise use the shortcut override that allows you to directly pass a set of Party
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def exercise[T](actAs: List[Party], readAs: List[Party], exercise: Update[T]): Future[TransactionTree]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def exercise[T](party: Party, exercise: Update[T]): Future[TransactionTree]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def exerciseAndGetContract[TCid <: ContractId[T], T](party: Party, exercise: Update[Exercised[TCid]])(implicit companion: ContractCompanion[_, TCid, T]): Future[TCid]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def exerciseAndGetContractNoDisclose[TCid <: ContractId[_]](party: Party, exercise: Update[Exercised[Unit]])(implicit companion: ContractCompanion[_, TCid, _]): Future[TCid]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def exerciseByKey(party: Party, template: Identifier, key: Value, choice: String, argument: Value): Future[TransactionTree]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def exerciseForTransaction[T](party: Party, exercise: Update[T]): Future[Transaction]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def features: Features
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def filters(templateIds: Seq[Identifier], interfaceFilters: Seq[(Identifier, IncludeInterfaceView)]): Filters
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def findCompletion(parties: Party*)(p: (Completion) => Boolean): Future[Option[Completion]]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def findCompletion(request: CompletionStreamRequest)(p: (Completion) => Boolean): Future[Option[Completion]]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def findCompletionAtOffset(offset: Long, p: (Completion) => Boolean)(parties: Party*): Future[Option[Completion]]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def firstCompletions(parties: Party*): Future[Vector[Completion]]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def firstCompletions(request: CompletionStreamRequest): Future[Vector[Completion]]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def flatTransactionByIdLegacy(transactionId: String, parties: Party*): Future[Transaction]
Managed version of flatTransactionByIdLegacy(transactionId:String,parties:com\.daml\.ledger\.api\.testtool\.infrastructure\.Party*):*, use this unless you need to tweak the request (i.e.
Managed version of flatTransactionByIdLegacy(transactionId:String,parties:com\.daml\.ledger\.api\.testtool\.infrastructure\.Party*):*, use this unless you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def flatTransactionByOffsetLegacy(offset: Long, parties: Party*): Future[Transaction]
Managed version of transactionByOffsetLegacy(request:com\.daml\.ledger\.api\.v2\.update_service\.GetTransactionByOffsetRequest):*, use this unless you need to tweak the request (i.e.
Managed version of transactionByOffsetLegacy(request:com\.daml\.ledger\.api\.v2\.update_service\.GetTransactionByOffsetRequest):*, use this unless you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def flatTransactionsByTemplateId(templateId: Identifier, parties: Option[Seq[Party]]): Future[Vector[Transaction]]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def flatTransactionsLegacy(take: Int, parties: Party*): Future[Vector[Transaction]]
Managed version of flatTransactionsLegacy(parties:com\.daml\.ledger\.api\.testtool\.infrastructure\.Party*):*, use this unless you need to tweak the request (i.e.
Managed version of flatTransactionsLegacy(parties:com\.daml\.ledger\.api\.testtool\.infrastructure\.Party*):*, use this unless you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def flatTransactionsLegacy(parties: Party*): Future[Vector[Transaction]]
Managed version of flatTransactionsLegacy(parties:com\.daml\.ledger\.api\.testtool\.infrastructure\.Party*):*, use this unless you need to tweak the request (i.e.
Managed version of flatTransactionsLegacy(parties:com\.daml\.ledger\.api\.testtool\.infrastructure\.Party*):*, use this unless you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getConnectedSynchronizers(party: Option[Party], participantId: Option[String]): Future[Set[String]]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def getEventsByContractId(request: GetEventsByContractIdRequest): Future[GetEventsByContractIdResponse]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def getIdentityProviderConfig(request: GetIdentityProviderConfigRequest): Future[GetIdentityProviderConfigResponse]
- Definition Classes
- UserManagementTestContext
- def getPackage(packageId: String): Future[GetPackageResponse]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def getPackageStatus(packageId: String): Future[PackageStatus]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def getParticipantId(): Future[String]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def getParties(parties: Seq[Party]): Future[Seq[PartyDetails]]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def getParties(req: GetPartiesRequest): Future[GetPartiesResponse]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def getPreferredPackageVersion(parties: Seq[Party], packageName: String, vettingValidAt: Option[Instant] = None, synchronizerIdO: Option[String] = None): Future[GetPreferredPackageVersionResponse]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def getPreferredPackages(vettingRequirements: Map[String, Seq[Party]], vettingValidAt: Option[Instant] = None, synchronizerIdO: Option[String] = None): Future[GetPreferredPackagesResponse]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def getTransactionByIdRequestLegacy(transactionId: String, parties: Seq[Party]): GetTransactionByIdRequest
Create a GetTransactionByIdRequest with an identifier and a set of Party objects.
Create a GetTransactionByIdRequest with an identifier and a set of Party objects. You should use this only when you need to tweak the request of transactionTreeById or flatTransactionByIdLegacy, otherwise use the shortcut override that allows you to directly pass the identifier and parties.
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def getTransactionByOffsetRequestLegacy(offset: Long, parties: Seq[Party]): GetTransactionByOffsetRequest
Create a GetTransactionByOffsetRequest with an identifier and a set of Party objects.
Create a GetTransactionByOffsetRequest with an identifier and a set of Party objects. You should use this only when you need to tweak the request of transactionTreeByOffset(request:com\.daml\.ledger\.api\.v2\.update_service\.GetTransactionByOffsetRequest):* or flatTransactionByOffsetLegacy(offset:Long,parties:com\.daml\.ledger\.api\.testtool\.infrastructure\.Party*):*, otherwise use the shortcut override that allows you to directly pass the identifier and parties.
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def getTransactionsRequest(transactionFilter: TransactionFilter, transactionShape: TransactionShape, begin: Long = referenceOffset): Future[GetUpdatesRequest]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def getTransactionsRequestLegacy(transactionFilter: TransactionFilter, begin: Long): Future[GetUpdatesRequest]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def getTransactionsRequestWithEnd(transactionFilter: TransactionFilter, transactionShape: TransactionShape, begin: Long = referenceOffset, end: Option[Long]): GetUpdatesRequest
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def getTransactionsRequestWithEndLegacy(transactionFilter: TransactionFilter, begin: Long = referenceOffset, end: Option[Long]): GetUpdatesRequest
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def getUpdatesRequestWithEnd(transactionFormatO: Option[(TransactionFilter, TransactionShape)] = None, reassignmentsFilterO: Option[TransactionFilter] = None, topologyFilterO: Option[Seq[Party]] = None, begin: Long = referenceOffset, end: Option[Long] = None): GetUpdatesRequest
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def latestPrunedOffsets(): Future[(Long, Long)]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def ledgerEndpoint: Either[JsonApiEndpoint, ChannelEndpoint]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def legacyActiveContracts(parties: Option[Seq[Party]], activeAtOffsetO: Option[Long]): Future[Vector[CreatedEvent]]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def legacyActiveContractsByTemplateId(templateIds: Seq[Identifier], parties: Option[Seq[Party]], activeAtOffsetO: Option[Long]): Future[Vector[CreatedEvent]]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def legacyActiveContractsRequest(parties: Option[Seq[Party]], activeAtOffset: Long, templateIds: Seq[Identifier], interfaceFilters: Seq[(Identifier, IncludeInterfaceView)] = Seq.empty): GetActiveContractsRequest
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def listIdentityProviderConfig(): Future[ListIdentityProviderConfigsResponse]
- Definition Classes
- UserManagementTestContext
- def listKnownPackages(): Future[Seq[PackageDetails]]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def listKnownParties(): Future[ListKnownPartiesResponse]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def listKnownParties(req: ListKnownPartiesRequest): Future[ListKnownPartiesResponse]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def listKnownPartiesExpanded(): Future[Set[Party]]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def listPackages(): Future[Seq[String]]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def maxOffsetCheckpointEmissionDelay: NonNegativeFiniteDuration
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nextIdentityProviderId: () => String
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def nextKeyId: () => String
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def nextPartyId: () => String
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def nextUserId: () => String
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def offsetBeyondLedgerEnd(): Future[Long]
Returns an absolute offset (positive integer) that is beyond the current ledger end.
Returns an absolute offset (positive integer) that is beyond the current ledger end.
Note: the offset might not be valid for the underlying ledger. This method can therefore only be used for offsets that are only interpreted by the ledger API server and not sent to the ledger.
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def offsets(n: Int, request: CompletionStreamRequest): Future[Vector[Long]]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def participantAuthorizationTransaction(partyIdSubstring: String, begin: Option[Long] = None, end: Option[Long] = None): Future[TopologyTransaction]
- Definition Classes
- ParticipantTestContext
- def prune(pruneUpTo: Long, attempts: Int, pruneAllDivulgedContracts: Boolean): Future[PruneResponse]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def pruneCantonSafe(pruneUpTo: Long, party: Party, dummyCommand: (Party) => List[Command], pruneAllDivulgedContracts: Boolean = false)(implicit ec: ExecutionContext): Future[Unit]
We are retrying a command submission + pruning to get a safe-to-prune offset for Canton.
We are retrying a command submission + pruning to get a safe-to-prune offset for Canton. That's because in Canton pruning will fail unless ACS commitments have been exchanged between participants. To this end, repeatedly submitting commands is prompting Canton to exchange ACS commitments and allows the pruning call to eventually succeed.
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def referenceOffset: Long
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def setTime(currentTime: Instant, newTime: Instant): Future[Unit]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def submit(request: SubmitRequest): Future[Unit]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def submitAndWait(request: SubmitAndWaitRequest): Future[SubmitAndWaitResponse]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def submitAndWaitForTransaction(request: SubmitAndWaitForTransactionRequest): Future[SubmitAndWaitForTransactionResponse]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def submitAndWaitForTransactionRequest(party: Party, commands: List[Command], transactionShape: TransactionShape, filterParties: Option[Seq[Party]], templateIds: Option[Seq[Identifier]]): SubmitAndWaitForTransactionRequest
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def submitAndWaitForTransactionRequest(party: Party, commands: List[Command]): SubmitAndWaitForTransactionRequest
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def submitAndWaitForTransactionRequest(actAs: List[Party], readAs: List[Party], commands: List[Command]): SubmitAndWaitForTransactionRequest
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def submitAndWaitForTransactionTree(request: SubmitAndWaitRequest): Future[SubmitAndWaitForTransactionTreeResponse]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def submitAndWaitRequest(party: Party, commands: List[Command]): SubmitAndWaitRequest
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def submitAndWaitRequest(actAs: List[Party], readAs: List[Party], commands: List[Command]): SubmitAndWaitRequest
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def submitRequest(party: Party, commands: List[Command] = JList.of()): SubmitRequest
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def submitRequest(actAs: List[Party], readAs: List[Party], commands: List[Command]): SubmitRequest
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def submitRequestAndTolerateGrpcError[T](errorToTolerate: ErrorCode, submitAndWaitGeneric: (ParticipantTestContext) => Future[T]): Future[T]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def time(): Future[Instant]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def toString(): String
- Definition Classes
- AnyRef → Any
- def topologyTransactionById(updateId: String, parties: Seq[Party]): Future[TopologyTransaction]
Managed version of updateById(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdateByIdRequest):* for topology transactions, use this unless you need to tweak the request (i.e.
Managed version of updateById(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdateByIdRequest):* for topology transactions, use this unless you need to tweak the request (i.e. to test low-level details). If the parties list is empty then no filtering is applied to the topology transactions.
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def topologyTransactionByOffset(offset: Long, parties: Seq[Party]): Future[TopologyTransaction]
Managed version of updateByOffset(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdateByOffsetRequest):* for topology transactions, use this unless you need to tweak the request (i.e.
Managed version of updateByOffset(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdateByOffsetRequest):* for topology transactions, use this unless you need to tweak the request (i.e. to test low-level details). If the parties list is empty then no filtering is applied to the topology transactions.
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def transactionById(updateId: String, parties: Seq[Party], transactionShape: TransactionShape, templateIds: Seq[Identifier]): Future[Transaction]
Managed version of updateById(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdateByIdRequest):* for transactions, use this unless you need to tweak the request (i.e.
Managed version of updateById(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdateByIdRequest):* for transactions, use this unless you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def transactionByIdLegacy(transactionId: String, parties: Seq[Party], transactionShape: TransactionShape, templateIds: Seq[Identifier]): Future[Transaction]
Managed version of transactionByIdLegacy(request:com\.daml\.ledger\.api\.v2\.update_service\.GetTransactionByIdRequest):*, use this unless you need to tweak the request (i.e.
Managed version of transactionByIdLegacy(request:com\.daml\.ledger\.api\.v2\.update_service\.GetTransactionByIdRequest):*, use this unless you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def transactionByIdLegacy(request: GetTransactionByIdRequest): Future[Transaction]
Non-managed version of transactionByIdLegacy(request:com\.daml\.ledger\.api\.v2\.update_service\.GetTransactionByIdRequest):*, use this only if you need to tweak the request (i.e.
Non-managed version of transactionByIdLegacy(request:com\.daml\.ledger\.api\.v2\.update_service\.GetTransactionByIdRequest):*, use this only if you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def transactionByOffset(offset: Long, parties: Seq[Party], transactionShape: TransactionShape, templateIds: Seq[Identifier]): Future[Transaction]
Managed version of updateByOffset(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdateByOffsetRequest):* for transactions, use this unless you need to tweak the request (i.e.
Managed version of updateByOffset(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdateByOffsetRequest):* for transactions, use this unless you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def transactionByOffsetLegacy(request: GetTransactionByOffsetRequest): Future[Transaction]
Non-managed version of transactionByOffsetLegacy(request:com\.daml\.ledger\.api\.v2\.update_service\.GetTransactionByOffsetRequest):*, use this only if you need to tweak the request (i.e.
Non-managed version of transactionByOffsetLegacy(request:com\.daml\.ledger\.api\.v2\.update_service\.GetTransactionByOffsetRequest):*, use this only if you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def transactionByOffsetLegacy(offset: Long, parties: Seq[Party], transactionShape: TransactionShape, templateIds: Seq[Identifier]): Future[Transaction]
Managed version of transactionByOffsetLegacy(request:com\.daml\.ledger\.api\.v2\.update_service\.GetTransactionByOffsetRequest):*, use this unless you need to tweak the request (i.e.
Managed version of transactionByOffsetLegacy(request:com\.daml\.ledger\.api\.v2\.update_service\.GetTransactionByOffsetRequest):*, use this unless you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def transactionFilter(parties: Option[Seq[Party]], templateIds: Seq[Identifier] = Seq.empty, interfaceFilters: Seq[(Identifier, IncludeInterfaceView)] = Seq.empty): TransactionFilter
Create a TransactionFilter with a set of Party objects.
Create a TransactionFilter with a set of Party objects.
You should use this only when you need to tweak the request of transactions(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdatesRequest):* or transactionTrees(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdatesRequest):*, otherwise use the shortcut override that allows you to directly pass a set of Party
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def transactionTreeById(transactionId: String, parties: Party*): Future[TransactionTree]
Managed version of transactionTrees, use this unless you need to tweak the request (i.e.
Managed version of transactionTrees, use this unless you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def transactionTreeById(request: GetTransactionByIdRequest): Future[TransactionTree]
Non-managed version of transactionTreeById, use this only if you need to tweak the request (i.e.
Non-managed version of transactionTreeById, use this only if you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def transactionTreeByOffset(offset: Long, parties: Party*): Future[TransactionTree]
Managed version of transactionTreeByOffset(request:com\.daml\.ledger\.api\.v2\.update_service\.GetTransactionByOffsetRequest):*, use this unless you need to tweak the request (i.e.
Managed version of transactionTreeByOffset(request:com\.daml\.ledger\.api\.v2\.update_service\.GetTransactionByOffsetRequest):*, use this unless you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def transactionTreeByOffset(request: GetTransactionByOffsetRequest): Future[TransactionTree]
Non-managed version of transactionTreeByOffset(request:com\.daml\.ledger\.api\.v2\.update_service\.GetTransactionByOffsetRequest):*, use this only if you need to tweak the request (i.e.
Non-managed version of transactionTreeByOffset(request:com\.daml\.ledger\.api\.v2\.update_service\.GetTransactionByOffsetRequest):*, use this only if you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def transactionTrees(take: Int, parties: Party*): Future[Vector[TransactionTree]]
Managed version of transactionTrees(parties:com\.daml\.ledger\.api\.testtool\.infrastructure\.Party*):*, use this unless you need to tweak the request (i.e.
Managed version of transactionTrees(parties:com\.daml\.ledger\.api\.testtool\.infrastructure\.Party*):*, use this unless you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def transactionTrees(take: Int, request: GetUpdatesRequest): Future[Vector[TransactionTree]]
Non-managed version of transactionTrees(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdatesRequest):*, use this only if you need to tweak the request (i.e.
Non-managed version of transactionTrees(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdatesRequest):*, use this only if you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def transactionTrees(parties: Party*): Future[Vector[TransactionTree]]
Managed version of transactionTrees(parties:com\.daml\.ledger\.api\.testtool\.infrastructure\.Party*):*, use this unless you need to tweak the request (i.e.
Managed version of transactionTrees(parties:com\.daml\.ledger\.api\.testtool\.infrastructure\.Party*):*, use this unless you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def transactionTrees(request: GetUpdatesRequest): Future[Vector[TransactionTree]]
Non-managed version of transactionTrees(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdatesRequest):*, use this only if you need to tweak the request (i.e.
Non-managed version of transactionTrees(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdatesRequest):*, use this only if you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def transactionTreesByTemplateId(templateId: Identifier, parties: Party*): Future[Vector[TransactionTree]]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def transactions(take: Int, parties: Party*): Future[Vector[Transaction]]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def transactions(take: Int, request: GetUpdatesRequest): Future[Vector[Transaction]]
Non-managed version of transactions(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdatesRequest):*, use this only if you need to tweak the request (i.e.
Non-managed version of transactions(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdatesRequest):*, use this only if you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def transactions(transactionShape: TransactionShape, parties: Party*): Future[Vector[Transaction]]
Managed version of flatTransactionsLegacy(parties:com\.daml\.ledger\.api\.testtool\.infrastructure\.Party*):*, use this unless you need to tweak the request (i.e.
Managed version of flatTransactionsLegacy(parties:com\.daml\.ledger\.api\.testtool\.infrastructure\.Party*):*, use this unless you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def transactions(request: GetUpdatesRequest): Future[Vector[Transaction]]
Non-managed version of transactions(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdatesRequest):*, use this only if you need to tweak the request (i.e.
Non-managed version of transactions(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdatesRequest):*, use this only if you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def updateById(request: GetUpdateByIdRequest): Future[GetUpdateResponse]
Non-managed version of updateById(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdateByIdRequest):*, use this only if you need to tweak the request (i.e.
Non-managed version of updateById(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdateByIdRequest):*, use this only if you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def updateByOffset(request: GetUpdateByOffsetRequest): Future[GetUpdateResponse]
Non-managed version of updateByOffset(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdateByOffsetRequest):*, use this only if you need to tweak the request (i.e.
Non-managed version of updateByOffset(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdateByOffsetRequest):*, use this only if you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def updateIdentityProviderConfig(request: UpdateIdentityProviderConfigRequest): Future[UpdateIdentityProviderConfigResponse]
- Definition Classes
- UserManagementTestContext
- def updateIdentityProviderConfig(identityProviderId: String = UUID.randomUUID().toString, isDeactivated: Boolean = false, issuer: String = UUID.randomUUID().toString, jwksUrl: String = "http://daml.com/jwks.json", updateMask: Option[FieldMask] = None): Future[UpdateIdentityProviderConfigResponse]
- Definition Classes
- UserManagementTestContext
- def updatePartyDetails(req: UpdatePartyDetailsRequest): Future[UpdatePartyDetailsResponse]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def updatePartyIdentityProviderId(request: UpdatePartyIdentityProviderIdRequest): Future[UpdatePartyIdentityProviderIdResponse]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def updateTrees(within: NonNegativeFiniteDuration, request: GetUpdatesRequest): Future[Vector[Update]]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def updateTrees(take: Int, request: GetUpdatesRequest, resultFilter: (GetUpdateTreesResponse) => Boolean): Future[Vector[Update]]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def updateTrees(take: Int, request: GetUpdatesRequest): Future[Vector[Update]]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def updates(within: NonNegativeFiniteDuration, request: GetUpdatesRequest): Future[Vector[Update]]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def updates(take: Int, request: GetUpdatesRequest, resultFilter: (GetUpdatesResponse) => Boolean): Future[Vector[Update]]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def updates(take: Int, request: GetUpdatesRequest): Future[Vector[Update]]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def uploadDarFile(request: UploadDarFileRequest): Future[Unit]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def uploadDarFile(bytes: ByteString): Future[Unit]
- Definition Classes
- ParticipantTestContext
- def uploadDarRequest(bytes: ByteString): UploadDarFileRequest
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- val userId: String
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def userManagement: UserManagementService
- Definition Classes
- UserManagementTestContext
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def waitForPartiesOnOtherParticipants(otherParticipants: Iterable[ParticipantTestContext], expectedParties: Set[Party], connectedSynchronizers: Int): Future[Unit]
- returns
a future that completes when all the participants can list all the expected parties
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext
- def watchHealth(): Future[Seq[HealthCheckResponse]]
- Definition Classes
- TimeoutParticipantTestContext → ParticipantTestContext