This is a private bucket which allows us to publish EE artifacts.
We could separate public from private artifacts but keeping everything
in a single location is easier to manage.
changelog_begin
changelog_end
* Add report metering protobuf definition
changelog_begin
Added experimental GRPC endpoint for the reporting of metering
changelog_end
* Update with review comments
* add changes from joint review by Simon and Simon :D
* Update with review comments
* Update with review comments
Co-authored-by: Simon Meier <simon@digitalasset.com>
* ledger api: support Auth0 user names in user management
See the `IdString.UserId` and `IdString.ApplicationId` comments wrt the
character classes being introduced.
Many thanks to @cocreature for helping with deciding on the exact
restrictions of user-ids.
CHANGELOG_BEGIN
CHANGELOG_END
This PR
- allows the tool to extract the program directly from the
export instead.
- make the tool more robust for large export.
Instead of enumerated all the the transaction present in the ledger
export and then selecting the one to be benchmark, this new version
look only for the one choice to be benchmark.
This make the tool more capable to handle large ledger export as
- it has to maintain less data in memory
- it can stop as soon the data is encounter
This should not impact performance of benchmarking as JMH create a
new JVM for each benchmark step, so we cannot anyway cache anything
between run.
CHANGELOG_BEGIN
CHANGELOG_END
* Bump Canton snapshot
This bumps to the latest snapshot which should include support for
port files.
changelog_begin
changelog_end
* .
changelog_begin
changelog_end
* WIP
* Adjust the format of the CreateUserRequest to be a nicer payload & add a simple test
changelog_begin
- [HTTP-JSON] An endpoint user/create has been added to be able to create a user via the json api
changelog_end
* Update ledger-service/http-json/src/main/scala/com/digitalasset/http/Endpoints.scala
Co-authored-by: Stephen Compall <stephen.compall@daml.com>
Co-authored-by: Stephen Compall <stephen.compall@daml.com>
* Add support for get user which recently has been added to the json api
changelog_begin
- [TS-Bindings] You can now call getUser to gain information about
the user that is associated with the currently used JWT.
changelog_end
* Apply review comments
* Changes to add a pureconfig-util module with some shared config readers, and cleanup some code from oauth2-middleware hocon
CHANGELOG_BEGIN
CHANGELOG_END
* Update triggers/service/auth/src/test/scala/com/daml/auth/middleware/oauth2/CliSpec.scala
Co-authored-by: Stephen Compall <stephen.compall@daml.com>
Co-authored-by: Stephen Compall <stephen.compall@daml.com>
* Make daml start integration tests use canton.
(Haven't fixed the hot reload test yet.)
changelog_begin
changelog_end
* remove vestigial message
* re-enable hot reload tests for sandbox-kv
* Implement party allocation validation for transactions conflict checks
CHANGELOG_BEGIN
CHANGELOG_END
* Propagate loggingContext to all processing stages
Changelog entry and commit msg differ here because the bug described in
the changelog was already fixed by adding the user management support
because it caused for the affected endpoints that it will be interpret as
user token while only fetching the ledger id (without actually checking
that it is a user token).
changelog_begin
- [HTTP-JSON] Fixed a bug that caused jwt's without the daml namespace to be rejected for some endpoints (https://github.com/digital-asset/daml/issues/12215)
changelog_end
* Changes to add the option of starting trigger service with typeconf/HOCON config
CHANGELOG_BEGIN
CHANGELOG_END
* add tests for authorization config and fail on both config file and cli args
* refactor and cleanup config loading and tests
* Changes based on code review comments
* Daml doc changes and making sure that we have defaults for most fields to mirror cli args
CHANGELOG_BEGIN
Trigger Service can now be configured with HOCON config file.
- If a config file is provided we will choose to start the service using that, else we will fallback to cli arguments.
- If both config file and cli args are provided we will error out.
CHANGELOG_END
* addressing some more code review comments
* use scalatest inside properly
* Total average item rate service-level objective in the ledger-api-bench-tool.
CHANGELOG_BEGIN
- [Integration Kit] - ledger-api-bench-tool - Support for minimum and maximum average item rate objectives.
CHANGELOG_END
* Updated copyright headers
* Make stream objectives optional
* Add unit tests for optional objectives
* Formatted code changes
We messed that up in the past and lost the hierarchical structure so
adding a test seems reasonable and these change sufficiently rarely
that updating it isn’t an issue.
changelog_begin
changelog_end
* Expose user management service over the HTTP-JSON API
Fixes#12078
Add user & user/rights endpoint which provide the current user id, primary party and the latter the user rights
Fix new endpoints for ledgers without auth and add test coverage for these
changelog_begin
- [HTTP-JSON] Added GET endpoint:
- /user which returns the current user id & primary party
- /user/rights which returns the user rights of the current user
changelog_end
* Update ledger-service/http-json/src/it/scala/http/HttpServiceIntegrationTestUserManagement.scala
Co-authored-by: Stephen Compall <stephen.compall@daml.com>
* Update ledger-service/http-json/src/main/scala/com/digitalasset/http/Endpoints.scala
Co-authored-by: Stephen Compall <stephen.compall@daml.com>
* Apply review comments
* Update ledger-service/http-json/src/main/scala/com/digitalasset/http/domain.scala
Co-authored-by: akshayshirahatti-da <86774832+akshayshirahatti-da@users.noreply.github.com>
Co-authored-by: Stephen Compall <stephen.compall@daml.com>
Co-authored-by: akshayshirahatti-da <86774832+akshayshirahatti-da@users.noreply.github.com>
* devenv: Factor out a function to get the Nix version.
* devenv: On newer versions of Nix, use `NIX_USER_CONF_FILES`.
This stacks, rather than overwrites.
* devenv: Append Nix caches, instead of overwriting them.
The "extra-" prefix tells Nix to append.
We also switch to non-deprecated configuration keys.
CHANGELOG_BEGIN
CHANGELOG_END
* devenv: Just require Nix v2.4 or newer.
* devenv: `NIX_USER_CONF_FILES` may not be set already.
@stefanobaghino-da is taking care of 2.0.0-snapshot.20220104.8767.0.d3101e01 (#12263), so they get pushed back to the end of the line.
Please do not merge this before #12263.
CHANGELOG_BEGIN
CHANGELOG_END
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
This PR has been created by a script, which is not very smart
and does not have all the context. Please do double-check that
the version prefix is correct before merging.
@stefanobaghino-da is in charge of this release.
Commit log:
```
d3101e019d Add Flyway validation log line (#12256)
c673d1fe56 add lf extension to copyright script (#12259)
ea55ea2d14 Further copyright updates (#12249)
93e616475e Update ci nodes for copyright update (#12255)
4b4fbf8c2a [ledger-api-test-tool] - adapt the command deduplication conformance to use participant deduplication feature descriptor [kvl-1218] (#12222)
7c011cfb38 Fix tracking of party references (#12253)
cd9911b066 daml-lf, kvutils: Move Daml-LF `Archive` decoding to `kv-support` [KVL-1168] (#12241)
d31066bd68 Make @garyverhaegen-da skip this week's release rotation (#12252)
d2e2c21684 update copyright headers (#12240)
2546af359c rotate release duty after 2.0.0-snapshot.20211214.8692.0.63940872 (#12148)
0e30d468f9 expand CI cluster back (#12239)
d6d473db67 update NOTICES file (#12247)
a51f75d193 give a break to CI (#12238)
4cc4b3baf4 update compat versions for 1.18.0 (#12068)
2141bfbea5 DPP-769 cap internal state (#12135)
e1b4c30132 daml-lf / kvutils: Move Daml-LF proto conversions into kv-support [KVL-1168] (#12216)
51a1f47b43 update NOTICES file (#12232)
8f43c034ec Add transaction statistics to completion info (#12224)
dc6fdaaca9 revert back to running latest blackduck detect 6.9.0 (#12177)
994b2317a1 Add a test for daml start --sandbox-canton (#12223)
9102b0919a [ledger-api-test-tool] - add participant deduplication feature descriptor [kvl-1218] (#12213)
f847767e36 Avoid nix result-* symlinks on CI (#12220)
830497ae34 Add --sandbox-canton option in daml start (#12192)
d922a562a8 DPP-752 refactor event strategy (#12008)
ba0c6c9841 Set --enable-scenarios to False by default (#12156)
56baf036b7 Rename kv-transaction-support library [KVL-1168] (#12212)
5b142eba63 [ledger-api-test-tool] - use offset support feature descriptor [kvl-1218] (#12211)
0142c6a34e Add forM_ compat definition (#12209)
99f9776dd4 New split release for docs tests (#12186)
e182fc5026 [ledger-api] - Move deduplication duration validation into the KV WriteService (#12151)
53d55784a4 [ledger-api] - Add command deduplication features as a feature descriptor [KVL-1218] (#12181)
040f1a933f Release attempt over 9000 (#12206)
```
Changelog:
```
ledger-api - Remove validation for duration deduplication periods, which was validating that the deduplication duration is smaller than the max deduplication duration. This is now up to the ledger to enforce.
```
CHANGELOG_BEGIN
CHANGELOG_END
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Somewhat error-prone, so please review carefully.
Reasons we need this:
- Some file types are not properly handled by the script.
- The only exclusion mechanism we currently have (`NO_AUTO_COPYRIGHT`)
is overly coarse.
CHANGELOG_BEGIN
CHANGELOG_END