Skip to content

Move component instantiation advertisement to _metadata.multi_instance#411

Merged
simu merged 2 commits into
masterfrom
feat/multi-instance-in-metadata
Feb 8, 2022
Merged

Move component instantiation advertisement to _metadata.multi_instance#411
simu merged 2 commits into
masterfrom
feat/multi-instance-in-metadata

Conversation

@simu

@simu simu commented Feb 8, 2022

Copy link
Copy Markdown
Member

This PR moves the preferred location for components to advertise multi-instance support to parameters.<component_name>._metadata.multi_instance.

The old parameter parameters.<component_name>.multi_instance is still supported, but Commodore emits a deprecation notice for each component which still uses the old parameter.

Fixes #317

Checklist

  • Keep pull requests small so they can be easily reviewed.
  • Update the documentation.
  • Update tests.
  • Categorize the PR by setting a good title and adding one of the labels:
    bug, enhancement, documentation, change, breaking, dependency
    as they show up in the changelog
  • Link this PR to related issues.

@simu simu added the change PR with a minor change which affects users label Feb 8, 2022
@simu simu force-pushed the feat/multi-instance-in-metadata branch from bc8ad22 to 49583b6 Compare February 8, 2022 10:13
@simu simu requested a review from glrf February 8, 2022 11:09
This commit moves the preferred location for components to advertise
multi-instance support to `parameters.<component_name>._metadata.multi_instance`.

The old parameter `parameters.<component_name>.multi_instance` is still
supported, but Commodore emits a deprecation notice for each component
which still uses the old parameter.

Fixes #317
@simu simu force-pushed the feat/multi-instance-in-metadata branch from 49583b6 to 18fe5f6 Compare February 8, 2022 12:03
@simu simu merged commit e41954f into master Feb 8, 2022
@simu simu deleted the feat/multi-instance-in-metadata branch February 8, 2022 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

change PR with a minor change which affects users

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate component multi_instance support flag to _metadata parameter

2 participants