Skip to content

Change default components in SdcProvider #329

@a-kleinf

Description

@a-kleinf

Is there an existing issue for this?

  • I have searched the existing issues

Feature idea

During "default" instantiation of class SdcProvider - "default_sdc_provider_components" including several role-providers are used.
This behaviour should be changed since a loaded Mdib is modified in a way, that Descriptors are added.
Current implementation forces an application to explicitly deactivate the loaded role providers by setting/implementing the parameter "default_components".

If such default components/roles are needed during e.g. unittests in sdc11073, the mechanism of "specific_components" should be used instead of loading them by default.

-> it must be investigated if the implementation of role provider is affected by and suitable with multi mds Mdibs?
-> descriptions of the behaviour is not document, e.g. docstring for the parameter "default_components"

Alternatives

Implementation idea

No response

Participation

  • I am willing to submit a pull request to implement this feature.

Link to the idea discussion

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestv2Version 2 is affected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions