Skip to content

Commit 9ab62c1

Browse files
antonkriFScholPer
andauthored
add logging to igate (#64)
Co-authored-by: Frank Scholter Peres(MBTI) <[email protected]>
1 parent 8a9a38f commit 9ab62c1

File tree

4 files changed

+37
-8
lines changed

4 files changed

+37
-8
lines changed

known_good.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"modules": {
44
"score_baselibs": {
55
"version": "0.2.2",
6-
"hash": "d072b126faa8ce2b6eaad88c6375b210fe42a547",
6+
"hash": "a3557b809406289a3bf0bc6c447a1d646ee67ba0",
77
"repo": "https://github.com/eclipse-score/baselibs.git",
88
"branch": "release_v0_2_2"
99
},
@@ -12,6 +12,12 @@
1212
"repo": "https://github.com/eclipse-score/communication.git",
1313
"hash": "d5414f75bfd4fc116572091ccca305d9e4b39338"
1414
},
15+
"score_logging": {
16+
"version": "0.0.4",
17+
"hash": "d3624d52151fcde9c8351867353a8baf59a269cd",
18+
"repo": "https://github.com/eclipse-score/logging.git",
19+
"branch": "score_05_beta"
20+
},
1521
"score_persistency": {
1622
"version": "0.2.1",
1723
"hash": "7548876ed3e40ec3f3053c57634de68129287e05",

score_modules.MODULE.bazel

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ single_version_override(
2323
version = "0.1.2",
2424
)
2525

26-
# bazel_dep(name = "score_logging", dev_dependency = True)
27-
# single_version_override(
28-
# module_name = "score_logging",
29-
# version = "0.0.3",
30-
# )
26+
bazel_dep(name = "score_logging")
27+
single_version_override(
28+
module_name = "score_logging",
29+
version = "0.0.4",
30+
)
3131

3232
bazel_dep(name = "score_persistency")
3333
git_override(
@@ -91,4 +91,4 @@ single_version_override(
9191
version = "1.0.2",
9292
)
9393

94-
bazel_dep(name = "nlohmann_json", version = "3.11.3")
94+
bazel_dep(name = "nlohmann_json", version = "3.11.3")

scripts/integration_test.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@ declare -A BUILD_TARGET_GROUPS=(
2121
[score_orchestrator]="@score_orchestrator//src/..."
2222
[score_test_scenarios]="@score_test_scenarios//test_scenarios_rust:test_scenarios_rust @score_test_scenarios//test_scenarios_cpp:test_scenarios_cpp"
2323
[score_feo]="-- @score_feo//... -@score_feo//:docs -@score_feo//:ide_support -@score_feo//:needs_json"
24+
[score_logging]="@score_logging//score/... \
25+
--@score_baselibs//score/memory/shared/flags:use_typedshmd=False \
26+
--@score_baselibs//score/json:base_library=nlohmann \
27+
--@score_logging//score/datarouter/build_configuration_flags:persistent_logging=False \
28+
--@score_logging//score/datarouter/build_configuration_flags:persistent_config_feature_enabled=False \
29+
--@score_logging//score/datarouter/build_configuration_flags:enable_nonverbose_dlt=False \
30+
--@score_logging//score/datarouter/build_configuration_flags:enable_dynamic_configuration_in_datarouter=False \
31+
--@score_logging//score/datarouter/build_configuration_flags:dlt_file_transfer_feature=False \
32+
--@score_logging//score/datarouter/build_configuration_flags:use_local_vlan=True "
2433
)
2534

2635
# Parse command line arguments

scripts/run_unit_tests.sh

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,20 @@ declare -A UT_TARGET_GROUPS=(
2323
[orchestrator]="@score_orchestrator//src/..." # ok
2424
[kyron]="@score_kyron//:unit_tests" # ok
2525
[feo]="@score_feo//... --build_tests_only" # ok (flag required or error from docs)
26+
[logging]="@score_logging//score/... \
27+
--@score_baselibs//score/memory/shared/flags:use_typedshmd=False \
28+
--@score_baselibs//score/json:base_library=nlohmann \
29+
--@score_logging//score/datarouter/build_configuration_flags:persistent_logging=False \
30+
--@score_logging//score/datarouter/build_configuration_flags:persistent_config_feature_enabled=False \
31+
--@score_logging//score/datarouter/build_configuration_flags:enable_nonverbose_dlt=False \
32+
--@score_logging//score/datarouter/build_configuration_flags:enable_dynamic_configuration_in_datarouter=False \
33+
--@score_logging//score/datarouter/build_configuration_flags:dlt_file_transfer_feature=False \
34+
--@score_logging//score/datarouter/build_configuration_flags:use_local_vlan=True \
35+
--test_tag_filters=-manual \
36+
-- -@score_logging//score/datarouter/test/ut/ut_logging:dltprotocolUT \
37+
-@score_logging//score/datarouter/test/ut/ut_logging:persistentLogConfigUT \
38+
-@score_logging//score/datarouter/test/ut/ut_logging:socketserverConfigUT \
39+
-@score_logging//score/mw/log/legacy_non_verbose_api:unit_test "
2640
)
2741

2842
# Markdown table header
@@ -69,4 +83,4 @@ column -t -s $'\t' "${SUMMARY_FILE}" > "${SUMMARY_FILE}.tmp" && mv "${SUMMARY_FI
6983
if [[ $any_failed -ne 0 ]]; then
7084
echo "Some unit test groups failed. Exiting with non-zero status."
7185
exit 1
72-
fi
86+
fi

0 commit comments

Comments
 (0)