Skip to content

Commit e758f23

Browse files
committed
add logging to igate
1 parent f43fcba commit e758f23

File tree

4 files changed

+40
-12
lines changed

4 files changed

+40
-12
lines changed

known_good.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,20 @@
33
"modules": {
44
"score_baselibs": {
55
"version": "0.2.2",
6-
"hash": "3c65b223e9f516f95935bb4cd2e83d6088ca016f",
6+
"hash": "a3557b809406289a3bf0bc6c447a1d646ee67ba0",
77
"repo": "https://github.com/eclipse-score/baselibs.git",
8-
"branch": "s_core_release_v0_5_0"
8+
"branch": "release_v0_2_2"
99
},
1010
"score_communication": {
1111
"version": "0.1.2",
1212
"repo": "https://github.com/eclipse-score/communication.git",
13-
"hash": "d5414f75bfd4fc116572091ccca305d9e4b39338",
14-
"branch": "s_core_release_v0_5_0"
13+
"hash": "d5414f75bfd4fc116572091ccca305d9e4b39338"
14+
},
15+
"score_logging": {
16+
"version": "0.0.4",
17+
"repo": "https://github.com/eclipse-score/logging.git",
18+
"hash": "d3624d52151fcde9c8351867353a8baf59a269cd",
19+
"branch": "score_05_beta"
1520
},
1621
"score_persistency": {
1722
"version": "0.2.1",
@@ -66,4 +71,4 @@
6671
"manifest_sha256": "4c9b7f...",
6772
"suite": "full",
6873
"duration_s": 742
69-
}
74+
}

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)