daml/ci
Victor Peter Rouven Müller 0dc167fa48
[JSON-API] Remove dependency on user provided tokens for the perf runner & refactor main (#13114)
* Don't error when user tokens are provided for the perf runner

changelog_begin
changelog_end

* Better token parsing error handling & extract user id to allocate the user if so

* make the code prettier

* Fix & simplify token parsing

* fix formatting of bazel file

* Update ledger-service/http-json-perf/src/main/scala/com/daml/http/perf/Main.scala

Co-authored-by: Raymond Roestenburg <98821776+ray-roestenburg-da@users.noreply.github.com>

* correctly handle the response of createUser & don't throw if no LedgerId was found in the token

* Wrap exceptions in Futures

* Refactor Main.scala of the perf runner completely & remove dependency on user provided JWT's

* Minimize diff

* simplify code further

* Update ledger-service/http-json-perf/src/main/scala/com/daml/http/perf/Main.scala

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

* Update ledger-service/http-json-perf/src/main/scala/com/daml/http/perf/Main.scala

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

* Update ledger-service/http-json-perf/src/main/scala/com/daml/http/perf/Main.scala

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

* Fix build

* Don't pass a jwt to the perf runner anymore everywhere it was used & fix ledger id to be right

* Minimize diff

Co-authored-by: Raymond Roestenburg <98821776+ray-roestenburg-da@users.noreply.github.com>
Co-authored-by: Stefano Baghino <43749967+stefanobaghino-da@users.noreply.github.com>
2022-03-03 16:12:40 +00:00
..
cron [JSON-API] Remove dependency on user provided tokens for the perf runner & refactor main (#13114) 2022-03-03 16:12:40 +00:00
da-ghc-lib make interface declaration where optional (#13129) 2022-03-03 11:09:56 +00:00
docker switch dev images to Temurin (#11895) 2021-11-26 14:45:35 +00:00
patch_bazel_windows Revert "Switch to Bazel 5 (#12935)" (#12974) 2022-02-16 18:24:00 +00:00
assembly-split-release-artifacts.sh update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
bash-lib.yml update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
BUILD Introduce dependency on Oracle image version (#10597) 2021-08-17 13:28:26 +00:00
build-unix.yml Fix daml script reference in copy-unix-release-artifacts (#12933) 2022-02-15 09:53:15 +01:00
build-windows.yml split: do not push exe (#12574) 2022-01-25 16:29:57 +01:00
build.yml ci: bump Windows workdirs (#12918) 2022-02-14 18:49:32 +00:00
check-changelog.sh update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
check-for-release-job.yml nightly split releases (#12744) 2022-02-03 19:05:35 +00:00
check-protobuf-stability.sh CI - Remove backwards compatible check for buf config. [KVL-1131] (#12301) 2022-01-07 02:00:02 -08:00
clean-up.yml update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
clear-shared-segments-macos.yml update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
compatibility_ts_libs.yml update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
compatibility-windows.yml update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
compatibility.yml DPP-745 Add Oracle data continuity tests (#12961) 2022-02-16 23:37:50 +01:00
configure-bazel.sh Revert "Switch to Bazel 5 (#12935)" (#12974) 2022-02-16 18:24:00 +00:00
copy-unix-release-artifacts.sh Fix daml script reference in copy-unix-release-artifacts (#12933) 2022-02-15 09:53:15 +01:00
copy-windows-release-artifacts.sh ci: try to fix release process (#12600) 2022-01-26 13:57:39 +00:00
daily-snapshot.yml split: tell slack (#12874) 2022-02-10 15:33:34 +00:00
dev-env-install.sh update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
dev-env-push.py update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
job-variables.yml update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
oracle_image Upgrade to oracle 19.14 image for ci (#12523) 2022-01-21 07:50:55 -05:00
postgresql.conf Fix sandbox database config in script & trigger tests (#11655) 2021-11-12 06:18:12 +00:00
prs.yml Drop dependency on hosted nodes (#12901) 2022-02-14 02:49:38 +01:00
publish-artifactory.sh split: flat(ter) files in Artifactory (#12575) 2022-01-25 16:41:55 +01:00
publish-platform-independence-dar.yml update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
remap-scala-test-short-names.ps1 Further copyright updates (#12249) 2022-01-04 16:32:17 +01:00
report-end.yml update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
report-start.yml update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
slack_user_ids Notify Moisés on slack (#13026) 2022-02-22 17:07:50 +00:00
split-release-job.yml split: tell slack (#12874) 2022-02-10 15:33:34 +00:00
tell-slack-failed.yml update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
upload-bazel-metrics.yml update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
windows-diagnostics.ps1 windows: CI agent diagnostics (#1146) 2019-05-15 11:59:56 +02:00