Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Campaign, Activation and Catalog in nondefault namespaces #194

Merged
merged 11 commits into from
Apr 4, 2024

Conversation

RemindD
Copy link
Contributor

@RemindD RemindD commented Mar 27, 2024

  • enable campaigns, activations and catalogs to be created and workable in non-default namespace.

    • Enable CRUD of these objects in non-default namespace (already supported in b5e9664)
    • Enable reference of symphony objects outside of default namespace. Currently, we only allow reference within the same namespace. For example, if a campaign is created in namespace "n1", then only activations created in namespace "n1" can activate it. Below is a chart of reference of symphony objects.
targets, instances, solutions campaign activations catalogs
targets, instances, solutions (already supported) config reference (already supported)
campaigns stage provider stage provider
activations 1. trigger campaign
2. job report resume campaign
catalogs parent site sync catalog to child
  • Add namespace to in-memory objects

    • heartbeat of a job - job manager
    • success time of instance and target - job manager
    • summary - solution manager
    • record of how many child sites have completed remote jobs - stage manager
  • Run campaign and activation integration tests in both default and nondefault namespaces

Tests:

  1. Unit tests
  2. Integration tests

@RemindD RemindD requested a review from Haishi2016 as a code owner March 27, 2024 06:41
@Haishi2016 Haishi2016 merged commit a40bf21 into eclipse-symphony:main Apr 4, 2024
4 checks passed
@RemindD RemindD deleted the users/xingdong/namespace branch May 30, 2024 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants