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

Fix domains migration #6076

Merged
merged 1 commit into from
Aug 30, 2023
Merged

Fix domains migration #6076

merged 1 commit into from
Aug 30, 2023

Conversation

stnguyen90
Copy link
Contributor

What does this PR do?

The previous approach tried to migrate the 'rules' collection, but that didn't work because the data was in the 'domains' collection.

Since the 'domains' collection was removed, the migration is now done when migrating the 'projects' collection by fetching the domains and then creating the rule documents.

Test Plan

Manual:

Migration

image

Console after MIgration

image

Related PRs and Issues

None

Checklist

  • Have you read the Contributing Guidelines on issues?
  • If the PR includes a change to an API's metadata (desc, label, params, etc.), does it also include updated API specs and example docs?

@stnguyen90 stnguyen90 marked this pull request as ready for review August 30, 2023 21:19
The previous approach tried to migrate the 'rules' collection, but that
didn't work because the data was in the 'domains' collection.

Since the 'domains' collection was removed, the migration is now done
when migrating the 'projects' collection by fetching the domains and
then creating the rule documents.
@abnegate abnegate merged commit 31bff54 into 1.4.x Aug 30, 2023
2 of 3 checks passed
@stnguyen90 stnguyen90 deleted the fix-domains-migration branch August 30, 2023 22:24
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.

None yet

2 participants