Skip to content

autodoc: not displaying configuration context correctly #453

@ndr-brt

Description

@ndr-brt

Bug Report

Describe the Bug

The configuration contexts are not handled correctly by the autodoc, see:
https://eclipse-edc.github.io/documentation/autodoc/connector/#class-orgeclipseedcconnectorpolicymonitorpolicymonitorextension

The settings displayed are missing the context set on the config object:
https://github.com/eclipse-edc/Connector/blob/release/0.17.0/core/policy-monitor/policy-monitor-core/src/main/java/org/eclipse/edc/connector/policy/monitor/PolicyMonitorExtension.java#L55-L57

please note that the context can be set either with @Configuration.context and @SettingContext (deprecated). we should support both.

Expected Behavior

A clear and concise description of what you expected to happen.

Observed Behavior

A clear and concise description of what happened instead.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Context Information

Add any other context about the problem here.

  • Used version [e.g. EDC v1.0.0]
  • OS: [e.g. iOS, Windows]
  • ...

Detailed Description

If applicable, add screenshots and logs to help explain your problem.

Possible Implementation

You already know the root cause of the erroneous state and how to fix it? Feel free to share your thoughts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug_reportSuspected bugs, awaiting triagetriageall new issues awaiting classification

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions