Skip to content

Use case overview (ISO 17978-2) #39

Open
0 of 2 issues completed
Open

Description

@FScholPer

Epic Description

Use cases of S-CORE diagnostics. They are the 17 use cases of ISO 17978-2:2026 (SOVD, Part 2: Use cases definition), Clause 5, with their ISO numbers and titles. ISO 17978-3:2026 §5.1 Table 1 maps each one to API clauses.

Scope and work are tracked in two sub-issues:

v1.0 follows the reduced OpenSOVD MVP scope (eclipse-opensovd/opensovd#110): an SOVD client reaches classic UDS ECUs through the OpenSOVD Gateway and the Classic Diagnostic Adapter (CDA). The application side (Diagnostic Library, Service App, Fault Library, Diagnostic Fault Manager) is v1.0+.

Use cases

ISO Use Case Title (ISO 17978-2) v1.0 v1.0+
UC01 Discover SOVD server(s) 🟡 mDNS/DNS-SD discovery; /version-info from the Gateway and the CDA —
UC02 Discover entities 🟡 Classic ECUs through the Gateway Applications (in-process and separate processes)
UC03 Authenticate and authorize SOVD clients 🟡 Reject requests without a token Security and IAM integration with S-CORE Security & Cryptography
UC04 Read fault(s) and/or its details from an entity 🟡 Classic ECUs through the Gateway (✅ on the CDA directly) Applications (fault-lib), fault environment data, vehicle-wide summary
UC05 Delete fault(s) of an entity 🟡 Classic ECUs through the Gateway (✅ on the CDA directly) Applications
UC06 Read data resources 🟡 ECU metadata of classic ECUs through the Gateway (✅ on the CDA directly) Applications (data-lists deferred)
UC07 Write data items — Classic ECUs through the Gateway; Applications
UC08 Control operations 🟡 Classic ECUs through the Gateway (✅ on the CDA directly) Applications (self-test, actuator test, calibration)
UC09 Read and write configurations — Classic ECUs through the Gateway; Applications
UC10 Control software updates — Applications and ECUs
UC11 Handle bulk data — Applications
UC12 Control logging and retrieve logs — Applications
UC13 Control communication logging — Core and CDA
UC14 Manage and execute scripts — Core
UC15 Manage triggers and subscriptions — Applications
UC16 Query an online capability description — Core and CDA
UC17 Provide an offline capability description — Core and CDA

🟡 partly there · ✅ done · — not in this release

ISO 17978-3 also defines resources that ISO 17978-2 maps to no use case. Entity status and restart (§7.19) are v1.0+; classic ECUs restart through the CDA as a UC08 operation.

Acceptance Criteria (DoD)

Usecases defined; both sub-issues closed.

Sub-issues

Sub-issues

0 of 2 Issues completed
Loading 2 sub-issues

Activity

  1. added theissue type on Oct 6, 2026
  2. stmuench commented on Oct 7, 2026

    @stmuench
    Contributor

    Is there terminology Tester in the UC titles/descriptions really appropriate here? Since Tester usually creates the impression that we are dealing with UDS, or am I mistaken here? From my POV, we should better use a term like offboard client instead in order to clearly delimit that we are talking only about SOVD use cases here (for now). @FScholPer what do you think?

  3. stmuench commented on Oct 7, 2026

    @stmuench
    Contributor

    Furthermore, I see plenty of use cases which are marked as Planned. Are really all of them planned for S-CORE's v1.0 release? Maybe we should write more precise, such as Planned (v1.0) vs. Planned (v1.0+) for example?

  4. FScholPer commented on Oct 7, 2026

    @FScholPer
    ContributorAuthor

    Updated according to the norm and the comments

  5. EP1991 commented on Oct 16, 2026

    @EP1991

    Hi @FScholPer and maintainers I would like to implement UC11: reading current and stored faults through SOVD, specifically the DfmQueryApi → OpenSOVD Core fault-provider integration.
    Is this work already being handled? Could you confirm the intended query/provider contracts and readiness of the UC04/UC10 dependencies?
    I propose covering fault-field mapping, empty versus unavailable responses, and automated integration tests. If agreed, I can create a linked implementation issue, take assignment, and maintain this integration afterward.Thank you Eclipse ID : puru1991

  6. EP1991 commented on Oct 16, 2026

    @EP1991

    Hi @FScholPer , maintainers,

    Building on my work in PR #40, I would like to take responsibility for a scoped UC09–UC11 integration, starting with UC11: exposing current and stored DFM faults through OpenSOVD Core.

    PR #40 connects diag_api::DataResource to Core’s DataProvider. The proposed work would address the separate DFM-to-Core fault-provider integration, reusing the existing fault-lib reporter and DFM implementations.

    Current understanding
    From reviewing inc_diagnostics and eclipse-opensovd/fault-lib:
    fault-lib already provides reporter/catalog infrastructure, diagnostic fault processing, query interfaces and persistence-related functionality.
    DfmQueryApi provides fault-list and individual-fault queries, alongside clear operations.
    v1.0_scope declares a score_fault_lib dependency. The capabilities available at its pinned revision still need verification.
    The remaining integration should connect the authoritative DFM fault state to Core’s fault-provider contract, rather than introduce another fault-state engine.

    The intended flow is:
    Application monitor → fault-lib Reporter → existing transport → DFM → DfmQueryApi → Core fault-provider adapter → SOVD client

    My proposal
    UC09 | Connect a sample application to the existing reporter/catalog/transport path; verify Failed/Passed reporting, source identity and delivery-error handling.
    UC10 | Reuse existing DFM processing and verify the selected configuration’s state transitions, debouncing and operation-cycle behaviour. Track missing functionality separately.
    UC11 | Implement the query-to-Core fault-provider adapter, representation/error mapping and HTTP integration tests.

    Proposed acceptance criteria

    A sample application reports a configured failure without an off-board client initiating the report.
    The DFM processes it using the agreed configuration.
    The resulting fault is retrievable through the intended SOVD fault endpoint.
    Returned fields match the authoritative DFM representation.
    A subsequent Passed result follows the agreed diagnostic state transition; it does not unconditionally delete stored evidence.
    Successful empty results are distinguishable from unknown entities, unavailable services, timeouts and internal query failures.
    Backend failures map to agreed Core/SOVD errors instead of successful empty collections.
    Automated tests cover field mapping, query failures and the application-to-HTTP flow.
    Documentation includes configuration, execution commands, dependency versions and known limitations.

    Here is my Suggested delivery sequence
    Agree on contracts, baseline and ownership.
    Add the UC11 adapter with focused tests and a controlled query test double.
    Connect the actual DFM query implementation.
    Add the UC09 → UC10 → UC11 integration scenario.
    Document the result and maintain the integration tests.

    Is anyone already handling this scope? If it aligns with the plan, could we create a linked implementation issue and assign it to me? I would be happy to maintain the adapter and its tests afterward.Thank you

  7. changed the title [-]Usecase overview(what to ship for in v1.0)[/-] [+]Use case overview (ISO 17978-2)[/+] on Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions