Skip to content

Modify the Spring Boot 3 Upgrade YAML to take Condition as alternative to Helper #591

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

Closed
fabapp2 opened this issue Dec 12, 2022 · 0 comments · Fixed by #592
Closed

Modify the Spring Boot 3 Upgrade YAML to take Condition as alternative to Helper #591

fabapp2 opened this issue Dec 12, 2022 · 0 comments · Fixed by #592

Comments

@fabapp2
Copy link
Contributor

fabapp2 commented Dec 12, 2022

What needs to be done

The sections in the Spring Boot 3 Upgrade Report YAML should allow to declare a Condition as alternative to the current Helper.

With Helper

        - title: Actuator Endpoints Sanitization
          helper: org.springframework.sbm.boot.upgrade_27_30.report.helper.ActuatorEndpointsSanitizationHelper
          change: |-

With Condition

        - title: Actuator Endpoints Sanitization
          helper:
            type: org.springframework.sbm.boot.upgrade_27_30.report.helper.ConditionOnlyHelper
            condition:
              type: org.springframework.sbm.java.migration.conditions.HasImportStartingWith
              value: "a.b"
          change: |-

Why it needs to be done

Acceptance Criteria

/info panel
Given precondition
When action
Then result

Additional Information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant