Fixes persistency test_scenarios integration in reference_integration#228
Fixes persistency test_scenarios integration in reference_integration#228rmaddikery wants to merge 5 commits intoeclipse-score:mainfrom
Conversation
License Check Results🚀 The license check job ran with the Bazel command: bazel run //:license-checkStatus: Click to expand output |
f3a9506 to
596a4f2
Compare
|
The created documentation from the pull request is available at: docu-html |
3eb6366 to
43d3910
Compare
73648e6 to
d1ad72d
Compare
0bceb88 to
cdc65a7
Compare
- library targets should depend on the log frontend to limit lib dep footprint. - while test targets need to proivide concrete backends. For unit tests a lightweight console recorder with console logging backend is sufficient. - for a binary target a log target that includes all backends is ideal.
- v2.0.0 is not compatible with bazel v8 and earlier - Issue filed: github.com/aspect-build/rules_lint/issues/759
cdc65a7 to
c26079f
Compare
|
|
||
| # ToDo: implicit dependencies for score_tooling, but needed directly here?? | ||
| bazel_dep(name = "aspect_rules_lint", version = "2.0.0") | ||
| bazel_dep(name = "aspect_rules_lint", version = "1.10.2") |
There was a problem hiding this comment.
why was the version downgraded?
|
|
||
| # Override score_docs_as_code to resolve compatibility level conflicts between dependencies | ||
| bazel_dep(name = "score_docs_as_code", version = "3.0.0", dev_dependency = True) | ||
| single_version_override( |
There was a problem hiding this comment.
why do we need single_version_override here?
There was a problem hiding this comment.
moreover it cannot be used. The only place where it should be used is reference_integration repo
| visibility = ["//visibility:public"], | ||
| deps = [ | ||
| "//src/cpp/src:kvs_cpp", | ||
| "@score_logging//score/mw/log", |
There was a problem hiding this comment.
why is this required for test_scenarios ? I dont see any tests added . It is becuase the kremotelogging=false is removed?
| ) | ||
|
|
||
| # TRLC required transitively via: score_logging -> score_communication -> trlc | ||
| bazel_dep(name = "trlc", version = "0.0.0") |
There was a problem hiding this comment.
dev_dependency? I dont want every repo that uses persistency to be obliged to load trlc especially when it is not using it
Fixes persistency test_scenarios integration in reference_integration as a prerequisite to integrate datarouter to the reference integration platform
Refer: eclipse-score/reference_integration#79
NOTE:
mw/log frontend is part of the https://github.com/eclipse-score/baselibs repo
mw/log recorders and respective concrete backends are part of https://github.com/eclipse-score/logging repo
That said, the mw/log:log target is no longer supported in the baselibs and requires to be fixed.
See: https://github.com/eclipse-score/baselibs/blob/381dd9a9c9c516d87b0840f61618ba9e668dabd5/score/mw/log/BUILD#L25
In order to integrate datarouter to the reference integration platform, the deps in image need to be fixed as a prerequisite.
TRLC dep could be excluded via:
The CI build jobs will be fixed after eclipse-score/communication#143
But it might be useful to retain incase tests or implementations in persistency repo need to refer AoUs and requirements coming from baselibs and logging repo.