Skip to content

Commit

Permalink
Merge branch 'main' into ilozano/spring-boot-3_0/pom-maven-compiler-p…
Browse files Browse the repository at this point in the history
…roperties
  • Loading branch information
timtebeek authored Feb 25, 2024
2 parents 263f4a4 + 9366e4b commit f290b9f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/properties.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
jobs:
update-migrations:
runs-on: ubuntu-latest
if: github.event_name != 'schedule' || github.repository_owner == 'openrewrite'
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public class ConfigurationOverEnableSecurity extends Recipe {

private static final List<String> EXCLUSIONS = singletonList("org.springframework.security.config.annotation.rsocket.EnableRSocketSecurity");

private static final String ENABLE_SECURITY_ANNOTATION_PATTERN = "@org.springframework.security.config.annotation..*.Enable.*Security";
private static final String ENABLE_SECURITY_ANNOTATION_PATTERN = "@org.springframework.security.config.annotation..*.Enable*Security";

private static final AnnotationMatcher SECURITY_ANNOTATION_MATCHER = new AnnotationMatcher(ENABLE_SECURITY_ANNOTATION_PATTERN, true);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ recipeList:
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: management.otlp.metrics.export.resource-attributes
newPropertyKey: management.opentelemetry.resource-attributes
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: micrometer.observations.annotations.enabled
newPropertyKey: management.observations.annotations.enabled
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: server.max-http-header-size
newPropertyKey: server.max-http-request-header-size
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/META-INF/rewrite/spring-security-58.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ recipeList:
---
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.java.spring.security5.RenameNimbusdsJsonObjectPackageName
displayName: Rename the package name from `com.nimbusds.jose.shaded.json.JSONObject` to `net.minidev.json.JSONObject`
description: Rename the package name from `com.nimbusds.jose.shaded.json.JSONObject` to `net.minidev.json.JSONObject`.
displayName: Rename the package name from `com.nimbusds.jose.shaded.json` to `net.minidev.json`
description: Rename the package name from `com.nimbusds.jose.shaded.json` to `net.minidev.json`.
tags:
- spring
- security
Expand Down

0 comments on commit f290b9f

Please sign in to comment.