Skip to content

Fixed namespace provisioning #512

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

Merged
merged 2 commits into from
Jul 21, 2025
Merged

Fixed namespace provisioning #512

merged 2 commits into from
Jul 21, 2025

Conversation

cdavernas
Copy link
Member

Many thanks for submitting your Pull Request ❤️!

What this PR does / why we need it:

  • Fixes namespace provisioning

…serialize `Namespaces` to `NamespaceDefinitions`

Fixes #509

Signed-off-by: Charles d'Avernas <charles.davernas@neuroglia.io>
…sioner`

Signed-off-by: Charles d'Avernas <charles.davernas@neuroglia.io>
@cdavernas cdavernas requested a review from Copilot July 21, 2025 09:02
@cdavernas cdavernas self-assigned this Jul 21, 2025
@cdavernas cdavernas linked an issue Jul 21, 2025 that may be closed by this pull request
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes namespace provisioning by updating the database initialization service to properly handle namespace resources. The changes rename the database initializer service for clarity and correct the deserialization type for namespace resources.

  • Renamed WorkflowDatabaseInitializer to DatabaseProvisioner to better reflect its broader responsibilities
  • Fixed namespace deserialization from NamespaceDefinition to Namespace type

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
Program.cs Updates service registration to use the renamed DatabaseProvisioner
DatabaseProvisioner.cs Renames class and fixes namespace deserialization type

@cdavernas cdavernas merged commit edb666c into main Jul 21, 2025
2 checks passed
@cdavernas cdavernas deleted the fix-namespace-provisioning branch July 21, 2025 09:07
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.

Namespace seeding does not work
1 participant