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

Add Patch migration step type #153

Merged
merged 6 commits into from
May 16, 2023
Merged

Add Patch migration step type #153

merged 6 commits into from
May 16, 2023

Commits on Mar 10, 2023

  1. Include references to patch sets in the set of patches for migration …

    …targets if they conform to the target's schema
    
    - Remove patches from targets if the patch target/source field does not exist or is of a different type in the target
    - Include patches in targets if the patch target/source field exists and is of the same type in the target
    
    Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
    ulucinar committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    dffb7c0 View commit details
    Browse the repository at this point in the history
  2. Add Patch migration step type

    - Convert migration plan steps
      pause-managed, pause-composites, edit-composites, edit-claims,
      deletion-policy-orphan, start-managed, start-composites
      to this Patch type
    
    Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
    ulucinar committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    2e6b473 View commit details
    Browse the repository at this point in the history
  3. Add Composition-wide migration PatchSet converters

    Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
    ulucinar committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    4620fb0 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2023

  1. ComposedTemplate converters no longer receive PatchSets as

    PatchSet conversion is handled by PatchSet converters with global context
    
    Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
    ulucinar committed Mar 11, 2023
    Configuration menu
    Copy the full SHA
    27663ce View commit details
    Browse the repository at this point in the history
  2. Decompose migration.Converter into migration.ResourceConverter & migr…

    …ation.ComposedTemplateConverter
    
    for decoupling and modularizing converters.
    
    Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
    ulucinar committed Mar 11, 2023
    Configuration menu
    Copy the full SHA
    ca7be7d View commit details
    Browse the repository at this point in the history
  3. Add Registry.RegisterConversionFunctions back for backward-compatibility

    Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
    ulucinar committed Mar 11, 2023
    Configuration menu
    Copy the full SHA
    33f3576 View commit details
    Browse the repository at this point in the history