Commit Graph

40 Commits

Author SHA1 Message Date
mziolekda
7e2aa7cece
Adopt the repository to the movement of java bindings (#17913)
* Make java bindings compile in new place

* fix a mysterious grpcurl error
2023-11-30 22:43:35 +01:00
Andreas Triantafyllos
b8eebc6ddd
Convert conformance tests to use java bindings (#17894) 2023-11-29 16:34:06 +00:00
Paul Brauner
9dbb53e97e
introduce lf_version_default_or_latest in bazel and use it everywhere were I had replaced the implicit default version with 'latest' (#17930) 2023-11-29 15:53:53 +01:00
Paul Brauner
2b28e59017
Introduce LF 2.1 (#17865) 2023-11-23 08:59:14 +01:00
mziolekda
8e0b71bb15
clean up test common (#17846)
* move stuff around inside test-common

* move timeout stuff to lapitt, where it is used

* move logging stuff to ledger/error

* move StreamConsumer to libs-scala/grpc-test-utils

* remove dead usages of test-common

* move SimpleHttpServer to a dedicated lib

* format

* final cleanup of the test-common

* add new libraries to maven
2023-11-15 22:36:03 +00:00
mziolekda
94998f87eb
ED: clean up buf exclusions and incorrect wording in tests (#17817)
* clean up buf exclusions and incorrect wording in tests

* revert changes to buf checks
2023-11-14 14:33:27 +01:00
Marton Nagy
6933514df5
Switch from Akka to Pekko (#17814)
* Automated renames by bash script

This commit is exclusively contains changes by the bash script.
For the bash script is present at the pull request.

* Manual pekko migration changes

* adapt fully qualified name references
* adapt pekko package declarations
* adapt bazel files with dependency changes
* adapt canton pekko lib shade_rule
* adapt logger configuration declarations
* pin maven dependencies
* revert incorrect changes by script to compatibility module

Workarounds for further TODOs:
* disable http-json-perf and libs-scala/gatling-utils modules to maintain clean pekko dependencies (without akka)
* disable GraphQLSchemaSpec test (sangria library needs to be upgraded)

* Formatting
2023-11-13 23:22:22 +00:00
mziolekda
255da35e2b
Remove deprecated fields (#17740)
* align canton bazel rule with DACH-NY/canton#15189

* formatting

* modify grpc

* fix LAPITT

* make triggers and java bindings compile

* fix compatibility
run-full-compat: true

---------

Co-authored-by: Remy Haemmerle <Remy.Haemmerle@daml.com>
2023-11-13 13:58:58 +01:00
Marton Nagy
78cc750714
Scala upgrade to 2.13.11 (#17803) 2023-11-13 09:05:39 +01:00
Remy
6ef062dac9
Revert "Nmarton/pekko rebased (#17789)" (#17796)
This reverts commit d310692d1b.

@remyhaemmerle-da messed up and merged the PR too fast.
2023-11-09 21:23:18 +00:00
Marton Nagy
d310692d1b
Nmarton/pekko rebased (#17789)
* Scala upgrade to 2.13.11
* Switch from akka to pekko
* Also disable gatling based libs to start from a clean stage
2023-11-09 18:17:33 +01:00
azure-pipelines[bot]
f768a3348f
update canton to 20231108.11487.0.vf0edabf4/2.8.0-snapshot.20231108.11487.0.vf0edabf4 (#17787)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Remy Haemmerle <Remy.Haemmerle@daml.com>
Co-authored-by: Marcin Ziolek <marcin.ziolek@digitalasset.com>
2023-11-09 17:05:19 +01:00
Paul Brauner
313b789731
Bump netty and grpc-netty (#17770)
* pin dependencies to json and add missing dep

* fix cyclic dep

* remove unused dep

* add missing dep to //ledger-api/testing-utils:testing-utils

* remove unused dep in //ledger/ledger-api-auth:ledger-api-auth

* remove more unused deps

* more dep fixes

* yet more dep fixing

* more fixing..

* more of the same

* hopefully the last deps to fix

* Bump the version of protobuf and fix everything that depends on it. Took shortcuts that I need to fix in a next commit, but would like to run the CI on this now that it compiles

* don't error out in the grpc-haskell patch

* remove obsolete patch

* patch absl to compile on mingw

* Add a patch to recognize the compiler

* Define _DNS_SD_LIBDISPATCH for macOS gRPC

* bump netty_tcnative_version according to https://github.com/grpc/grpc-java/blob/master/SECURITY.md#netty

* pin maven deps

* Fix macos linking errors 'dyld[xxx]: missing symbol called'

* Skip Darwin frameworks in package-app.sh

* pin stackage packages

* pin stackage windows deps

* use the netty version agreed on

* bump the windows global cache to try and debug the upb issue

* restart the CI after timeout

* clean up

* disable failing tests for now

* comment out unused code

* reset the windows machine name to 'default'

---------

Co-authored-by: Moisés Ackerman <6054733+akrmn@users.noreply.github.com>
2023-11-07 19:35:50 +01:00
mziolekda
d5693d3585
Ledger api test tool tests for filters with payloads (#17702)
* Add tests for payloads

* Add test for filter combinations

* rename tests to avoid clashes

* adopt to the renamed fields

* hook to the feature flag

* fixes from code review
2023-11-01 17:45:16 +00:00
tudor-da
717c90d5f3
Update ExplicitDisclosureIT and related utils to latest changes in Ledger API due to ED (#17659)
* Update ExplicitDisclosureIT to use create_event_payload

* Tests passing

* Adapt conformance test exclusion

* Small test fix

* Address review comments and actually fix more tests

* Fix testing.bzl

* Adapted to the create_event_payload -> created_event_blob LAPI change
2023-10-31 16:44:49 +00:00
Paul Brauner
db91552b4a
replace community canton snapshot with our bazel-built canton deploy jar (#17651)
* replace community canton snapshot with our bazel-built canton deploy jar

* add VERSION to the resources of the jar

* fix canton-test-runner-with-dependencies-script

* add resources to community_common

* Update test-common/canton/it-lib/src/main/com/daml/CantonFixture.scala

Co-authored-by: Remy <remy.haemmerle@daml.com>

---------

Co-authored-by: Remy <remy.haemmerle@daml.com>
2023-10-30 10:23:15 +00:00
mziolekda
25ae8d2281
Explicit disclosure based on blobs only (#17606)
* Explicit disclosure based on blobs only

* cosmetic changes

* Changes post-review

* remove buf check suppression

* Silence deprecation warnings

* more silencing of deprecation warnings

* Changes after recent round of reveiews
2023-10-23 13:47:30 +00:00
Andreas Triantafyllos
44c0c51bb3
Refactor ledger/error (#17509) 2023-09-29 17:51:32 +02:00
Remy
623f305e9c
Move canton directory to let place for code drop (#17506) 2023-09-29 14:37:01 +00:00
azure-pipelines[bot]
aceb1fe81e
update compat versions (2023-09-28) (#17504)
* update compat versions (2023-09-28)

* Fix DeeplyNestedIT tests and add exclusions

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Samuel Williams <samuel.williams@digitalasset.com>
2023-09-28 17:01:27 +02:00
Paul Brauner
a5cd445d3b
Introduce LF2 major version (#17348)
- Introduces a new major version, "2", in the daml_lf proto
- Adds new major versions to the compiler and the engine
- Updates all code that assumes only one major version
- Updates all code that assumes only one dev version
2023-09-13 10:01:42 +02:00
mziolekda
80df627b87
Don't compare span ids in the ledger api test tool (#17358)
* Don't compare span ids in the ledger api test tool

* fixes from review
2023-09-06 14:23:49 +00:00
Samuel Williams
9179b2e7d0
Jar licensing (#17299)
* Add _distribute.jar target with correct license
Use it everywhere

* Fixes from review

* Change NOTICES to NOTICES.txt for consistency
2023-08-22 15:56:29 +01:00
Carl Pulley
195795537d
interpretation Error ValueNesting should not be in Dev (#17241) 2023-08-22 09:01:30 +01:00
Samuel Williams
34210007e7
Rename UserError and DevError (#17225)
* Rename UserError and DevError

* Update error docs

* Fix ledger test tool

* re-enable daml3scripttestrunnerdev
2023-08-09 09:09:15 +01:00
azure-pipelines[bot]
2f4b494fa5
bump canton to 2.8.0-snapshot.20230804.10940.0.ve26becd2 (#17236)
bump canton to 2.8.0-snapshot.20230804.10940.0.ve26becd2

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>
2023-08-06 13:32:51 +02:00
Samuel Williams
f82fb77102
Update tests to match canton changes (#17093) 2023-07-12 16:53:32 +01:00
atriantafyllos-da
5f46600a90
Adapted InterfaceSubscriptionsIT to logging changes. (#17013) 2023-06-20 09:17:37 +02:00
pbatko-da
0b75fa2a32
Add test-tool tests for IDP reassignment for user and parties (#16911) 2023-05-31 17:11:23 +02:00
mziolekda
06abd5c649
Clean up ledger dependencies (#16894)
* remove sandbox-on-x project

update bazel readme

update release artifacts

comment out last remaining SoX test

remove ledger-runner-common

remove participant-state-kv-errors

remove recovering-indexer-integration-tests

remove participant-integration-api

update doc pages

cleanup ledger-api-auth usage

remove participant-state

fix build

fix build

clean up ledger-api-common part I

clean up ledger-api-comon part II

clean up ledger-api-common part III

remove ledger/metrics

clean up ledger-api-health and ledger-api-domain

* remove ledger-configuration ad ledger-offset

* remove ledger-grpc and clean up participant-local-store

* reshuffle few more classes

* format
2023-05-23 13:44:17 +00:00
mziolekda
95cc249ddd
Remove sandbox on x (#16890)
* remove sandbox-on-x project

* update bazel readme

* update release artifacts

* comment out last remaining SoX test

* remove ledger-runner-common

* remove participant-state-kv-errors

* remove recovering-indexer-integration-tests

* remove participant-integration-api

* update doc pages

* cleanup ledger-api-auth usage

* remove participant-state

* fix build

* fix build
2023-05-23 09:25:54 +02:00
Remy
d284aff107
Refactor ledger-test-tool (#16848)
* Refactor ledger-test-tool

* address Marcin's review

* fix build-release-artifacts
2023-05-11 17:44:42 +02:00
Remy
a863d69d34
Move CatonFixture in its own bazel module (#16824) 2023-05-10 23:15:26 +00:00
Remy
7149ebdb73
[LF] refactor CantonFixture (#1673)
- force logging when debug is one (overring logbak conf)
- inherit SuiteResourceManagementAroundAll
- minor cleanup
- add default value for CantonFixture parameter
2023-05-05 16:31:26 +00:00
Remy
1a917b781a
Override engine and archive reader in canton jar used for dev testing (#16667) 2023-05-02 11:00:43 +01:00
Simon Maxen
328200fe96
Enable GetEventsByContract tests (#16679) 2023-04-11 15:07:43 +01:00
azure-pipelines[bot]
a54de395f8
bump canton to 20230404 (#16655)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Remy Haemmerle <Remy.Haemmerle@daml.com>
2023-04-05 19:08:15 +00:00
Remy
b26484da11
[Disclosures] Validate hash of disclosed contracts (#16470) 2023-03-16 10:19:54 +00:00
tudor-da
1d9c4270a7
Ensure synchronization in multi-participant ExplicitDisclosureIT tests (#16550) 2023-03-15 16:45:24 +00:00
mziolekda
aebec01884
move ledger-api-test-tool out of ledger (#16445)
* move ledger-api-test-tool out of ledger

* fix canton test tool
2023-03-02 17:04:45 +00:00