Skip to content

3.0.0-M5: Cassandra Properties #442

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
Tracked by #440
fabapp2 opened this issue Sep 27, 2022 · 3 comments · Fixed by #491
Closed
Tracked by #440

3.0.0-M5: Cassandra Properties #442

fabapp2 opened this issue Sep 27, 2022 · 3 comments · Fixed by #491
Assignees
Labels
3.0.0 Spring Boot 3.0.0 good first issue Good for newcomers type: enhancement New feature or request
Milestone

Comments

@fabapp2
Copy link
Contributor

fabapp2 commented Sep 27, 2022

from the Release Notes

Configuration Properties for Cassandra have moved from spring.data.cassandra. to spring.cassandra..

What needs to be done

Find all properties with prefix spring.data.cassandra. and change the prefix to spring.cassandra.

This should be done as (integrated) declarative plain OpenRewrite recipe

See:

- type: org.springframework.sbm.engine.recipe.OpenRewriteDeclarativeRecipeAdapter
condition:
type: org.springframework.sbm.boot.common.conditions.IsSpringBootProject
versionPattern: "3\\.0\\..*"
description: Migrate SAML configuration to Spring Boot 3.0 in yaml format
openRewriteRecipe: |-
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.java.spring.boot2.SpringBootPropertiesManual_2_7
displayName: Migrate SAML configuration to Spring Boot 3.0 in yaml format
description: Renames spring.security.saml2.relyingparty.registration.(any).identityprovider to spring.security.saml2.relyingparty.registration.(any).assertingparty.
recipeList:
- org.openrewrite.yaml.ChangeKey:
oldKeyPath: $.spring.security.saml2.relyingparty.registration.*[?(@.identityprovider)]
newKey: assertingparty

@fabapp2 fabapp2 changed the title Cassandra Properties 3.0.0-M5: Cassandra Properties Sep 27, 2022
@fabapp2 fabapp2 added type: enhancement New feature or request upgrade-boot:migration 3.0.0 Spring Boot 3.0.0 labels Sep 27, 2022
@fabapp2 fabapp2 added this to the v0.13.0 milestone Sep 27, 2022
@fabapp2 fabapp2 added the good first issue Good for newcomers label Sep 27, 2022
@kuldeepsidhu88
Copy link

kuldeepsidhu88 commented Oct 9, 2022

@fabapp2 I would like to contribute for this, can you please assign it to me.
May need your help along the way as it would be my first contribution.

@fabapp2
Copy link
Contributor Author

fabapp2 commented Oct 10, 2022

Hi @kuldeepsidhu88 !
Thanks for your interest 🚀
Happily assigned to you.

Just post a new message in case you have any questions and I will try to help.
Please also see #446

@kuldeepsidhu88
Copy link

@fabapp2 I have created draft PR with the changes. Please review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.0.0 Spring Boot 3.0.0 good first issue Good for newcomers type: enhancement New feature or request
Projects
None yet
2 participants