Skip to content

Commit

Permalink
Change openrewrite.org/v1beta/ to specs.openrewrite.org/v1beta/, like…
Browse files Browse the repository at this point in the history
… it should have been from the start
  • Loading branch information
sambsnyd committed Aug 18, 2020
1 parent 3226408 commit 59a466c
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 18 deletions.
8 changes: 4 additions & 4 deletions src/main/resources/META-INF/rewrite/mockito.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
# limitations under the License.
#
---
type: openrewrite.org/v1beta/visitor
type: specs.openrewrite.org/v1beta/visitor
name: org.openrewrite.mockito.MockAsOuterClass
visitors:
- org.openrewrite.java.ChangeType:
type: org.mockito.MockitoAnnotations.Mock
targetType: org.mockito.Mock
---
type: openrewrite.org/v1beta/visitor
type: specs.openrewrite.org/v1beta/visitor
name: org.openrewrite.mockito.ArgumentMatchersAny
visitors:
- org.openrewrite.java.ChangeMethodName:
Expand All @@ -31,14 +31,14 @@ visitors:
type: org.mockito.Matchers
targetType: org.mockito.ArgumentMatchers
---
type: openrewrite.org/v1beta/visitor
type: specs.openrewrite.org/v1beta/visitor
name: org.openrewrite.mockito.InvocationOnMockGetArgument
visitors:
- org.openrewrite.java.ChangeMethodName:
method: org.mockito.invocation.InvocationOnMock getArgumentAt(int, java.lang.Class)
name: getArgument
---
type: openrewrite.org/v1beta/recipe
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.mockito
include:
- 'org.openrewrite.mockito.*'
4 changes: 2 additions & 2 deletions src/main/resources/META-INF/rewrite/rewrite-spring-boot2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# limitations under the License.
#
---
type: openrewrite.org/v1beta/visitor
type: specs.openrewrite.org/v1beta/visitor
name: org.openrewrite.spring.boot.UpgradeDependencies
visitors:
- org.openrewrite.maven.UpgradeVersion:
Expand All @@ -28,7 +28,7 @@ visitors:
groupId: org.mockito
toVersion: 3.x
---
type: openrewrite.org/v1beta/recipe
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.spring-boot2-migration
include:
- org.openrewrite.spring.boot.*
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/META-INF/rewrite/rewrite-spring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
# limitations under the License.
#
---
type: openrewrite.org/v1beta/visitor
type: specs.openrewrite.org/v1beta/visitor
name: org.openrewrite.spring.SpringBootServletInitializerPackage

visitors:
- org.openrewrite.java.ChangeType:
type: org.springframework.boot.web.support.SpringBootServletInitializer
targetType: org.springframework.boot.web.servlet.support.SpringBootServletInitializer
---
type: openrewrite.org/v1beta/recipe
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.spring
include:
- 'org.openrewrite.spring.*'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# limitations under the License.
#
---
type: openrewrite.org/v1beta/visitor
type: specs.openrewrite.org/v1beta/visitor
name: org.openrewrite.spring.boot.config.SpringBootConfigurationProperties.2_0

visitors:
Expand Down Expand Up @@ -524,7 +524,7 @@ visitors:
toProperty: spring.thymeleaf.servlet.content-type

---
type: openrewrite.org/v1beta/visitor
type: specs.openrewrite.org/v1beta/visitor
name: org.openrewrite.spring.boot.config.SpringBootConfigurationYaml.2_0

visitors:
Expand Down Expand Up @@ -1034,7 +1034,7 @@ visitors:
toProperty: spring.thymeleaf.servlet.content-type

---
type: openrewrite.org/v1beta/visitor
type: specs.openrewrite.org/v1beta/visitor
name: org.openrewrite.spring.boot.config.SpringBootConfigurationProperties.2_1
extends: org.openrewrite.spring.boot.config.SpringBootConfigurationProperties.2_0
visitors:
Expand Down Expand Up @@ -1112,7 +1112,7 @@ visitors:
toProperty: spring.resources.chain.compressed

---
type: openrewrite.org/v1beta/visitor
type: specs.openrewrite.org/v1beta/visitor
name: org.openrewrite.spring.boot.config.SpringBootConfigurationYaml.2_1
extends: org.openrewrite.spring.boot.config.SpringBootConfigurationYaml.2_0
visitors:
Expand Down Expand Up @@ -1190,7 +1190,7 @@ visitors:
toProperty: spring.resources.chain.compressed

---
type: openrewrite.org/v1beta/visitor
type: specs.openrewrite.org/v1beta/visitor
name: org.openrewrite.spring.boot.config.SpringBootConfigurationProperties.2_2
extends: org.openrewrite.spring.boot.config.SpringBootConfigurationProperties.2_1
visitors:
Expand Down Expand Up @@ -1241,7 +1241,7 @@ visitors:
toProperty: spring.reactor.debug-agent.enabled

---
type: openrewrite.org/v1beta/visitor
type: specs.openrewrite.org/v1beta/visitor
name: org.openrewrite.spring.boot.config.SpringBootConfigurationYaml.2_2
extends: org.openrewrite.spring.boot.config.SpringBootConfigurationYaml.2_1
visitors:
Expand Down Expand Up @@ -1292,7 +1292,7 @@ visitors:
toProperty: spring.reactor.debug-agent.enabled

---
type: openrewrite.org/v1beta/visitor
type: specs.openrewrite.org/v1beta/visitor
name: org.openrewrite.spring.boot.config.SpringBootConfigurationProperties.2_3
extends: org.openrewrite.spring.boot.config.SpringBootConfigurationProperties.2_2
visitors:
Expand Down Expand Up @@ -1358,7 +1358,7 @@ visitors:
toProperty: spring.mvc.log-request-details

---
type: openrewrite.org/v1beta/visitor
type: specs.openrewrite.org/v1beta/visitor
name: org.openrewrite.spring.boot.config.SpringBootConfigurationYaml.2_3
extends: org.openrewrite.spring.boot.config.SpringBootConfigurationYaml.2_2
visitors:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ object GeneratePropertiesMigratorConfiguration {
config.appendText("""
---
type: openrewrite.org/v1beta/visitor
type: specs.openrewrite.org/v1beta/visitor
name: org.openrewrite.spring.boot.config.SpringBootConfigurationProperties.$majorMinor
${previousVersion?.let { "extends: org.openrewrite.spring.boot.config.SpringBootConfigurationProperties.$previousVersion" } ?: ""}
visitors:
Expand All @@ -104,7 +104,7 @@ object GeneratePropertiesMigratorConfiguration {
config.appendText("""
---
type: openrewrite.org/v1beta/visitor
type: specs.openrewrite.org/v1beta/visitor
name: org.openrewrite.spring.boot.config.SpringBootConfigurationYaml.$majorMinor
${previousVersion?.let { "extends: org.openrewrite.spring.boot.config.SpringBootConfigurationYaml.$previousVersion" } ?: ""}
visitors:
Expand Down

0 comments on commit 59a466c

Please sign in to comment.