Change Quarkus configuration property key

Apache 2.0

Change the key of a property in Quarkus configuration files.

org.openrewrite.quarkus.ChangeQuarkusPropertyKey

Required

The property key to rename. Supports regex.

The new name for the property key. Supports regex.

Optional

The profile where the property is defined. If not specified, the property will be changed on all profiles by default.

changeAllProfilesBoolean

If set to true, the property will be changed on all available profiles. Defaults to true if a profile is not defined.

Each value in this list represents a glob expression that is used to match which files will be modified. If this value is not present, this recipe will query the execution context for reasonable defaults. ("**/application.yml", "**/application.yaml", "**/application.properties" and "**/META-INF/microprofile-config.properties". Separate values with commas.

mod run . --recipe=org.openrewrite.quarkus.ChangeQuarkusPropertyKey \ -P oldPropertyKey=quarkus.hibernate-search-orm.automatic-indexing.synchronization.strategy \ -P newPropertyKey=quarkus.hibernate-search-orm.indexing.plan.synchronization.strategy

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.