changelog_begin
- A bit of the json api documentation which still used the removed `--ledgerid` flag for starting the sandbox has been updated. This also includes updating the ledgerid to be the participant id which by default is "sandbox".
changelog_end
* TOC update for the Java Bindings tutorial
An adjustment to the TOC to make our Java Bindings tutorial easier to find.
[CHANGELOG_BEGIN]
[CHANGELOG_END]
* Update docs/source/building-applications.rst
Co-authored-by: Stefano Baghino <43749967+stefanobaghino-da@users.noreply.github.com>
Co-authored-by: carrie-laben <91496516+carrie-laben@users.noreply.github.com>
Co-authored-by: Stefano Baghino <43749967+stefanobaghino-da@users.noreply.github.com>
It looks like we have changed the package naming rules such that a lot
of examples in our documentation are now producing warnings. This PR
fixes the `daml new` commands, though I believe we should rather change
the package name constraints back, as it looks like a gratuitous
backwards-compatibility break.
CHANGELOG_BEGIN
CHANGELOG_END
* Add generation of FromInterfaceContractId methods for supporting templates in the java codegen
changelog_begin
- Add generation of `unsafeFrom{InterfaceName}` methods to the `ContractId` class for templates implementing interfaces in the Java codegen. That allows to convert between interface contract IDs and template contract IDs. If a conversion was wrong it will raise an exception at runtime during the execution of a command. The conversion is thus not exception-safe.
changelog_end
* Update language-support/java/codegen/src/ledger-tests/scala/com/digitalasset/InterfacesTest.scala
Co-authored-by: Stephen Compall <stephen.compall@daml.com>
* Fix missing import
* Address https://github.com/digital-asset/daml/pull/13460#discussion_r838522450
Co-authored-by: Stefano Baghino <43749967+stefanobaghino-da@users.noreply.github.com>
Co-authored-by: Stephen Compall <stephen.compall@daml.com>
Co-authored-by: Stefano Baghino <stefano.baghino@digitalasset.com>
* Clarify the correlation between mTLS client certificate and application id.
CHANGELOG_BEGIN
CHANGELOG_END
* Apply suggestions from code review
Co-authored-by: Stefano Baghino <43749967+stefanobaghino-da@users.noreply.github.com>
* Point to the instruction instead of RFC
* Apply suggestions from code review
Co-authored-by: carrielaben-da <91496516+carrielaben-da@users.noreply.github.com>
* new line
Co-authored-by: Stefano Baghino <43749967+stefanobaghino-da@users.noreply.github.com>
Co-authored-by: carrielaben-da <91496516+carrielaben-da@users.noreply.github.com>
Adding text to the previously blank index pages on the Daml side of the documentation (text for the Canton side to follow.)
[CHANGELOG_BEGIN]
[CHANGELOG_END]
Co-authored-by: carrie-laben <91496516+carrie-laben@users.noreply.github.com>
* Added differences between the enterprise & open source editions
Added differences between the enterprise & open source editions & clearer instructions on how to download Canton.
* Empty commit with changelog notation
CHANGELOG_BEGIN
CHANGELOG_END
* Apply suggestions from code review
Typo's spotted by Carrie.
Co-authored-by: carrielaben-da <91496516+carrielaben-da@users.noreply.github.com>
* Updated the enterprise v open source table
Updated the enterprise v open source table with links and making sure all rows are relevant
Co-authored-by: carrielaben-da <91496516+carrielaben-da@users.noreply.github.com>
* Adding section to error codes page and updating descriptions
CHANGELOG_BEGIN
CHANGELOG_END
Added a section in the error codes page and improved description to errors
* Removing the multi-line descriptions
* Changing the added sentence
swapping 'due to security reasons' 'for security reasons'
* Updated formatting
Ran the fmt.sh script to give me the correct formatting.
* Updating the generated error codes
CHANGELOG_BEGIN
CHANGELOG_END
Updating the generated error codes
* WIP
* First working version of java codegen daml interface support
* Update language-support/java/codegen/BUILD.bazel
Co-authored-by: Remy <remy.haemmerle@daml.com>
* Fix compile errors
* Simplify code massivly, enjoy less duplication
changelog_begin
- The Java codegen now has basic support for daml interface definitions. Converting a contract id of a template implementing an interface to a contract id of the interface is possible and both executing interface choices is possible on the contract id of the interface and implementing template.
changelog_end
* Rename the test file to reflect it is a test file & enhance the inner test name & extend it further
* Fix test
* Refactor parts of TemplateClass.scala into multiple files
* Format that files!
* Minimize duplication further
* Remove unused comment
* Simplify code
Co-authored-by: Stephen Compall <stephen.compall@daml.com>
* Update language-support/java/codegen/src/main/scala/com/digitalasset/daml/lf/codegen/CodeGenRunner.scala
Co-authored-by: Stephen Compall <stephen.compall@daml.com>
* Further refactoring and renaming of the TemplateClassSpec to ContractIdClassBuilderSpec
* Fix formatting
* Add interface docs
* Remove unnecessary code generation of the Contract class for interface types
* Use less bool flags and more good function names :)
* Fix build
Co-authored-by: Remy <remy.haemmerle@daml.com>
Co-authored-by: Stephen Compall <stephen.compall@daml.com>
* Document how to connect HTTP JSON API Service to an HA participant
Fixes https://github.com/digital-asset/daml/issues/13369
changelog_begin
changelog_end
* Add dummy Canton docs ref for `high-availability`
This expands the domain of the exercise endpoint to accept interface IDs
instead of template IDs when exercising by contract ID. The argument is
still [compatibly] called templateId; interface IDs are accepted nowhere
else.
CHANGELOG_BEGIN
- [JSON API] Supports interface choices, including exercise by contract
ID accompanied by an interface ID.
See `issue #13301 <https://github.com/digital-asset/daml/pull/13301>`__.
CHANGELOG_END
We recently started to use a project board to prioritize our work.
As such, we will soon remove our milestones and move relevant tickets
to the board after ensuring that all items that belong to us are
tracked by the appropriate team label (`team/app-runtime`).
changelog_begin
changelog_end
* Make no-op metering logging debug
* Address statistic defaulting TODOs
* TODO replaced with ticket
* Switch to using assertLedgerMeteringEnd when ledgering end must be populated
* Note in docs that ledger metering is not affected by participant pruning
* Address review comments leftover from DPP-819
* Switch to using cSQL for options and offsets
changelog_begin
changelog_end
* Replace scenario messages with script
In theory we could try to be clever and print the "right" thing. In
practice, scenarios are almost dead so the complexity for that doesn’t
seem worth it.
fixes#13178
changelog_begin
changelog_end
* .
Process:
- `git ls-files -z | xargs -0 -n 100 sed -i --follow-symlinks 's/DAML/Daml/g'`
- `git add -p`
- `git restore -p`
- Check there is no unstaged change left.
To review:
- Check for false positives by carefully reviewing the diff in this PR.
- Check for false negatives with `git grep DAML`.
- Quicker check for fals positives:
```
git grep DAML | grep -v migration | grep -v DAML_
```
Fixes#13190
Note: This is the "second half" of #13191, which failed to cover all the
remaining DAMLs because of:
```
$ git ls-files | grep "'"
compiler/damlc/tests/daml-test-files/MangledScenario'.daml
```
CHANGELOG_BEGIN
CHANGELOG_END
* Improve docs of auth middleware and trigger service
changelog_begin
changelog_end
Fix#13049Fix#13048
Several improvements to the documentation for these two services. The main aim was
to add, where needed, references to the new user management service. Ultimately,
only the auth middleware really needed to add a note about it, since to the trigger
service this is (so far) completely transparent.
For the rest, I took advantage of the chance to polish the docs a bit and make a few
improvements (that I will describe more in depth in a self-review).
* Prevent copy-pasting drama.
Thanks @S11001001
Co-authored-by: Stephen Compall <stephen.compall@daml.com>
* Address https://github.com/digital-asset/daml/pull/13111#discussion_r816967559
* Address https://github.com/digital-asset/daml/pull/13111#discussion_r816970609
* Address https://github.com/digital-asset/daml/pull/13111#discussion_r816973727
Co-authored-by: Stephen Compall <stephen.compall@daml.com>
* Adding a link to Daml Intro
Adding a link to Daml Intro for Canton to link to. Canton changes being made to link to this in the same docs, rather than the external links.
* Blank commit
CHANGELOG_BEGIN
CHANGELOG_END
* Fix GSG to account for login requirement
You can only follow a user after they logged in so the previous order
did no longer work.
changelog_begin
changelog_end
* Update docs/source/getting-started/index.rst
Co-authored-by: carrielaben-da <91496516+carrielaben-da@users.noreply.github.com>
* Update docs/source/getting-started/index.rst
Co-authored-by: carrielaben-da <91496516+carrielaben-da@users.noreply.github.com>
* Update docs/source/getting-started/index.rst
Co-authored-by: carrielaben-da <91496516+carrielaben-da@users.noreply.github.com>
* fix borked sentence
changelog_begin
changelog_end
* Update docs/source/getting-started/index.rst
Co-authored-by: carrielaben-da <91496516+carrielaben-da@users.noreply.github.com>
* Update docs/source/getting-started/index.rst
Co-authored-by: carrielaben-da <91496516+carrielaben-da@users.noreply.github.com>
Co-authored-by: carrielaben-da <91496516+carrielaben-da@users.noreply.github.com>
* Update app-architecture.rst
Second-iteration changes to the App Architecture page, addressing User Management and the Alias contract.
[CHANGELOG_BEGIN]
[CHANGELOG_END]
* Update app-architecture - edits - 1
Which/ how many additional details about the public party do you want to include here? Or as another option, should it be explained in-depth elsewhere?
[CHANGELOG_BEGIN]
[CHANGELOG_END]
* Update docs/source/getting-started/app-architecture.rst
Adding Moritz's suggested changes
[CHANGELOG_BEGIN]
[CHANGELOG_END]
Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>
* Update docs/source/getting-started/app-architecture.rst
Changed to Moritz's suggested wording.
[CHANGELOG_BEGIN]
[CHANGELOG_END]
Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>
* Update docs/source/getting-started/app-architecture.rst
Adding Moritz's suggestion w/link.
[CHANGELOG_BEGIN]
[CHANGELOG_END]
Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>
Co-authored-by: carrie-laben <91496516+carrie-laben@users.noreply.github.com>
Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>