daml/runtime-components
fayi-da 448c184258
Remove overloaded methods in command client (#15519)
* Remove overloaded methods in CommandClient

* Remove overloaded methods in CommandClient

* Revert destructive changes to command client

* Add config for command client methods

* Add stubs for new submit methods in CommandClient

* Formatting

* create() should be static

* Add sample deprecation

* params on builder methods don't need to be optional. Add some javadoc notes

* Add tests for submitAndWait

* Add tests for submitAndWait

* Add implementation for submitAndWaitFor* methods

* Update tests

* Refactor CommandSubmissionClient

* Deprecate overloaded methods in CommandClient

* Update deprecated method use

* Lint

* Cleanup deprecated use

* Update required params

* CommandClientConfig -> CommandsBuilder

* Formatting

* Rename CommandsBuilder -> CommandsSubmission

* Delete deprecated tests

* Rename withParty(String) -> withActAs(String)

* Formatting

* Refactor SubmitRequest.java

* Refactor SubmitRequest.java

* Refactor SubmitAndWaitRequest and SubmitCommandsRequest

* Move CommandsSubmission to the java-bindings package and refactor dependencies accordingly

* todos for horrible casting

* Update language-support/java/bindings-rxjava/src/test/scala/com/daml/ledger/rxjava/grpc/CommandClientImplTest.scala

Co-authored-by: Stefano Baghino <43749967+stefanobaghino-da@users.noreply.github.com>

* make CommandsSubmission final

* e.t.c -> etc

* Remove use of singleton list for actAs

* Return unmodifiable lists in CommandsSubmission

* Cleanup SubmitCommandsRequest

* Formatting

* Update tests for SubmitCommandsRequest

* PR comments

* Use toCommands() in HasCommands

* Reorder constructor params

* Rename params and commandsSubmission -> submission

* Cleanup docs

* Update docs

* Update docs

* Cleanup test util

Co-authored-by: Stefano Baghino <43749967+stefanobaghino-da@users.noreply.github.com>
2022-11-23 16:10:06 +01:00
..
jdbc-drivers update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
non-repudiation Remove dependencies on compatibility libraries (#12548) 2022-01-24 18:04:07 +00:00
non-repudiation-api Remove dependencies on compatibility libraries (#12548) 2022-01-24 18:04:07 +00:00
non-repudiation-app update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
non-repudiation-client Remove overloaded methods in command client (#15519) 2022-11-23 16:10:06 +01:00
non-repudiation-conformance Removal of sandbox-classic module and binary (#14201) 2022-06-21 11:09:51 +02:00
non-repudiation-core update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
non-repudiation-perf Remove dependencies on compatibility libraries (#12548) 2022-01-24 18:04:07 +00:00
non-repudiation-postgresql Remove dependencies on compatibility libraries (#12548) 2022-01-24 18:04:07 +00:00
non-repudiation-resources update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
non-repudiation-testing Deprecate user identity service [DPP-862] (#12694) 2022-02-04 10:32:09 +01:00