Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ jobs:
- name: Build with Bazel
run: |
bazel build --lockfile_mode=error --config ${{ matrix.config }} //src/... //examples/...
bazel build --lockfile_mode=error --config ${{ matrix.config }} //score/mw/... //examples/...
2 changes: 1 addition & 1 deletion .github/workflows/build_qnx8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
matrix:
config: ['arm64-qnx', 'x86_64-qnx']
with:
bazel-target: '//src/... //examples/...'
bazel-target: '//score/mw/... //examples/...'
bazel-config: ${{ matrix.config }}
credential-helper: 'scripts/internal/qnx_creds.py'
environment-name: 'workflow-approval'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/code_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
cpp:
uses: eclipse-score/cicd-workflows/.github/workflows/cpp-coverage.yml@c1c90b1a82a1fab0fc202979dde6686b2162d5a8 # v0.0.0
with:
bazel-target: "//src/..."
bazel-target: "//score/mw/..."
bazel-config: "x86_64-linux"
extra-bazel-flags: "--test_output=errors --nocache_test_results --lockfile_mode=error"
artifact-name-suffix: "_cpp"
Expand All @@ -35,7 +35,7 @@ jobs:
rust:
uses: eclipse-score/cicd-workflows/.github/workflows/rust-coverage.yml@c1c90b1a82a1fab0fc202979dde6686b2162d5a8 # v0.0.0
with:
bazel-test-targets: "//src/..."
bazel-test-targets: "//score/mw/..."
bazel-test-config-flags: "--config=x86_64-linux --config=ferrocene-coverage --lockfile_mode=error"
bazel-test-args: "--test_output=errors --nocache_test_results"
coverage-target: "//:rust_coverage"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_and_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
contents: read
pull-requests: read
with:
bazel-target: 'test --lockfile_mode=error //src/... //tests/... --config=x86_64-linux'
bazel-target: 'test --lockfile_mode=error //score/mw/... //tests/... --config=x86_64-linux'
upload-name: 'bazel-testlogs'
packages: 'fakechroot'
build-docs:
Expand Down
6 changes: 3 additions & 3 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ copyright_checker(
name = "copyright",
srcs = [
"examples",
"src",
"score",
"//:BUILD",
"//:MODULE.bazel",
],
Expand Down Expand Up @@ -81,7 +81,7 @@ rust_coverage_report(
"x86_64-linux",
"ferrocene-coverage",
],
query = 'kind("rust_test", //src/...) except attr("tags", "loom", //src/...)',
query = 'kind("rust_test", //score/mw/...) except attr("tags", "loom", //score/mw/...)',
visibility = ["//visibility:public"],
)

Expand All @@ -94,7 +94,7 @@ alias(
# Docs
docs(
data = [
"//src/launch_manager_daemon/config/config_schema:config_schema_files",
"//score/mw/launch_manager/configuration/config_schema:config_schema_files",
"@score_platform//:needs_json", # This allows linking to feature requirements.
"@score_process//:needs_json", # This allows linking to requirements (wp__requirements_comp, etc.) from the process_description repository.
],
Expand Down
91 changes: 51 additions & 40 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[workspace]
resolver = "2"
members = [
"src/launch_manager_daemon/lifecycle_client_lib/rust_bindings",
"src/launch_manager_daemon/health_monitor_lib/rust_bindings",
"src/health_monitoring_lib",
"score/mw/lifecycle/lifecycle_client/rust",
"score/mw/launch_manager/alive_monitor/rust",
"score/mw/health/health_monitoring_lib",
"examples/rust_supervised_app",
]
default-members = ["src/health_monitoring_lib"]
default-members = ["score/mw/health/health_monitoring_lib"]

[workspace.package]
edition = "2021"
Expand All @@ -19,8 +19,8 @@ libc = "0.2.177"
clap = { version = "4.5.49", features = ["derive"] }
signal-hook = "0.3.18"

monitor_rs = { path = "src/launch_manager_daemon/health_monitor_lib/rust_bindings" } # Temporary API
health_monitoring_lib = { path = "src/health_monitoring_lib" }
monitor_rs = { path = "score/mw/launch_manager/alive_monitor/rust" } # Temporary API
health_monitoring_lib = { path = "score/mw/health/health_monitoring_lib" }
score_log = { git = "https://github.com/eclipse-score/baselibs_rust.git", tag = "v0.1.1" }
score_testing_macros = { git = "https://github.com/eclipse-score/baselibs_rust.git", tag = "v0.1.1" }
stdout_logger = { git = "https://github.com/eclipse-score/baselibs_rust.git", tag = "v0.1.1" }
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ def setup(app):
srcdir = Path(app.srcdir)
workspace_root = Path(os.getcwd())
src_json_dir = (
workspace_root / "src" / "launch_manager_daemon" / "config" / "config_schema"
workspace_root / "src" / "launch_manager" / "config" / "config_schema"
)
dest_json_dir = (
srcdir.parent / "src" / "launch_manager_daemon" / "config" / "config_schema"
srcdir.parent / "src" / "launch_manager" / "config" / "config_schema"
)
if src_json_dir.exists() and not dest_json_dir.exists():
dest_json_dir.parent.mkdir(parents=True, exist_ok=True)
Expand Down
10 changes: 5 additions & 5 deletions docs/module/launch_manager_deamon/user_guide/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ alive_supervision

.. dropdown:: alive_supervision_defaults.json

.. literalinclude:: ../../../../src/launch_manager_daemon/config/config_schema/default_values/alive_supervision_defaults.json
.. literalinclude:: ../../../../score/mw/launch_manager/configuration/config_schema/default_values/alive_supervision_defaults.json
:language: json

watchdog
Expand All @@ -438,31 +438,31 @@ watchdog

.. dropdown:: watchdog_defaults.json

.. literalinclude:: ../../../../src/launch_manager_daemon/config/config_schema/default_values/watchdog_defaults.json
.. literalinclude:: ../../../../score/mw/launch_manager/configuration/config_schema/default_values/watchdog_defaults.json
:language: json

run_target
Defines default values for ``run_target`` properties, including the basic structure, behavior, and recovery actions for a **Run Target**.

.. dropdown:: run_target_defaults.json

.. literalinclude:: ../../../../src/launch_manager_daemon/config/config_schema/default_values/run_target_defaults.json
.. literalinclude:: ../../../../score/mw/launch_manager/configuration/config_schema/default_values/run_target_defaults.json
:language: json

component_properties
Defines default values for ``component_properties``, which specify fundamental characteristics and operational parameters for individual components.

.. dropdown:: component_properties_defaults.json

.. literalinclude:: ../../../../src/launch_manager_daemon/config/config_schema/default_values/component_properties_defaults.json
.. literalinclude:: ../../../../score/mw/launch_manager/configuration/config_schema/default_values/component_properties_defaults.json
:language: json

deployment_config
Defines default values for ``deployment_config``, covering aspects of how a component is deployed and managed, such as resource limits and recovery.

.. dropdown:: deployment_config_defaults.json

.. literalinclude:: ../../../../src/launch_manager_daemon/config/config_schema/default_values/deployment_config_defaults.json
.. literalinclude:: ../../../../score/mw/launch_manager/configuration/config_schema/default_values/deployment_config_defaults.json
:language: json

fallback_run_target
Expand Down
Loading
Loading