|
1 | 1 | # |
2 | | -# Copyright 2021 the original author or authors. |
| 2 | +# Copyright 2022 the original author or authors. |
3 | 3 | # <p> |
4 | 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
5 | 5 | # you may not use this file except in compliance with the License. |
|
12 | 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
13 | 13 | # See the License for the specific language governing permissions and |
14 | 14 | # limitations under the License. |
| 15 | +# |
15 | 16 | # --- |
16 | 17 | type: specs.openrewrite.org/v1beta/recipe |
17 | 18 | name: org.openrewrite.java.spring.boot2.SpringBootProperties_2_0 |
@@ -1482,3 +1483,165 @@ recipeList: |
1482 | 1483 | - org.openrewrite.yaml.ChangePropertyKey: |
1483 | 1484 | oldPropertyKey: spring.sql.init.enabled |
1484 | 1485 | newPropertyKey: spring.sql.init.mode |
| 1486 | +--- |
| 1487 | +type: specs.openrewrite.org/v1beta/recipe |
| 1488 | +name: org.openrewrite.java.spring.boot2.SpringBootProperties_2_6 |
| 1489 | +displayName: Migrate Spring Boot properties to 2.6 |
| 1490 | +description: Migrate properties found in `application.properties` and `application.yml`. |
| 1491 | +recipeList: |
| 1492 | + - org.openrewrite.properties.ChangePropertyKey: |
| 1493 | + oldPropertyKey: management.server.servlet.context-path |
| 1494 | + newPropertyKey: management.server.base-path |
| 1495 | + - org.openrewrite.yaml.ChangePropertyKey: |
| 1496 | + oldPropertyKey: management.server.servlet.context-path |
| 1497 | + newPropertyKey: management.server.base-path |
| 1498 | + - org.openrewrite.properties.ChangePropertyKey: |
| 1499 | + oldPropertyKey: spring.mvc.locale |
| 1500 | + newPropertyKey: spring.web.locale |
| 1501 | + - org.openrewrite.yaml.ChangePropertyKey: |
| 1502 | + oldPropertyKey: spring.mvc.locale |
| 1503 | + newPropertyKey: spring.web.locale |
| 1504 | + - org.openrewrite.properties.ChangePropertyKey: |
| 1505 | + oldPropertyKey: spring.mvc.locale-resolver |
| 1506 | + newPropertyKey: spring.web.locale-resolver |
| 1507 | + - org.openrewrite.yaml.ChangePropertyKey: |
| 1508 | + oldPropertyKey: spring.mvc.locale-resolver |
| 1509 | + newPropertyKey: spring.web.locale-resolver |
| 1510 | + - org.openrewrite.properties.ChangePropertyKey: |
| 1511 | + oldPropertyKey: spring.resources.add-mappings |
| 1512 | + newPropertyKey: spring.web.resources.add-mappings |
| 1513 | + - org.openrewrite.yaml.ChangePropertyKey: |
| 1514 | + oldPropertyKey: spring.resources.add-mappings |
| 1515 | + newPropertyKey: spring.web.resources.add-mappings |
| 1516 | + - org.openrewrite.properties.ChangePropertyKey: |
| 1517 | + oldPropertyKey: spring.resources.cache.cachecontrol.cache-private |
| 1518 | + newPropertyKey: spring.web.resources.cache.cachecontrol.cache-private |
| 1519 | + - org.openrewrite.yaml.ChangePropertyKey: |
| 1520 | + oldPropertyKey: spring.resources.cache.cachecontrol.cache-private |
| 1521 | + newPropertyKey: spring.web.resources.cache.cachecontrol.cache-private |
| 1522 | + - org.openrewrite.properties.ChangePropertyKey: |
| 1523 | + oldPropertyKey: spring.resources.cache.cachecontrol.cache-public |
| 1524 | + newPropertyKey: spring.web.resources.cache.cachecontrol.cache-public |
| 1525 | + - org.openrewrite.yaml.ChangePropertyKey: |
| 1526 | + oldPropertyKey: spring.resources.cache.cachecontrol.cache-public |
| 1527 | + newPropertyKey: spring.web.resources.cache.cachecontrol.cache-public |
| 1528 | + - org.openrewrite.properties.ChangePropertyKey: |
| 1529 | + oldPropertyKey: spring.resources.cache.cachecontrol.max-age |
| 1530 | + newPropertyKey: spring.web.resources.cache.cachecontrol.max-age |
| 1531 | + - org.openrewrite.yaml.ChangePropertyKey: |
| 1532 | + oldPropertyKey: spring.resources.cache.cachecontrol.max-age |
| 1533 | + newPropertyKey: spring.web.resources.cache.cachecontrol.max-age |
| 1534 | + - org.openrewrite.properties.ChangePropertyKey: |
| 1535 | + oldPropertyKey: spring.resources.cache.cachecontrol.must-revalidate |
| 1536 | + newPropertyKey: spring.web.resources.cache.cachecontrol.must-revalidate |
| 1537 | + - org.openrewrite.yaml.ChangePropertyKey: |
| 1538 | + oldPropertyKey: spring.resources.cache.cachecontrol.must-revalidate |
| 1539 | + newPropertyKey: spring.web.resources.cache.cachecontrol.must-revalidate |
| 1540 | + - org.openrewrite.properties.ChangePropertyKey: |
| 1541 | + oldPropertyKey: spring.resources.cache.cachecontrol.no-cache |
| 1542 | + newPropertyKey: spring.web.resources.cache.cachecontrol.no-cache |
| 1543 | + - org.openrewrite.yaml.ChangePropertyKey: |
| 1544 | + oldPropertyKey: spring.resources.cache.cachecontrol.no-cache |
| 1545 | + newPropertyKey: spring.web.resources.cache.cachecontrol.no-cache |
| 1546 | + - org.openrewrite.properties.ChangePropertyKey: |
| 1547 | + oldPropertyKey: spring.resources.cache.cachecontrol.no-store |
| 1548 | + newPropertyKey: spring.web.resources.cache.cachecontrol.no-store |
| 1549 | + - org.openrewrite.yaml.ChangePropertyKey: |
| 1550 | + oldPropertyKey: spring.resources.cache.cachecontrol.no-store |
| 1551 | + newPropertyKey: spring.web.resources.cache.cachecontrol.no-store |
| 1552 | + - org.openrewrite.properties.ChangePropertyKey: |
| 1553 | + oldPropertyKey: spring.resources.cache.cachecontrol.no-transform |
| 1554 | + newPropertyKey: spring.web.resources.cache.cachecontrol.no-transform |
| 1555 | + - org.openrewrite.yaml.ChangePropertyKey: |
| 1556 | + oldPropertyKey: spring.resources.cache.cachecontrol.no-transform |
| 1557 | + newPropertyKey: spring.web.resources.cache.cachecontrol.no-transform |
| 1558 | + - org.openrewrite.properties.ChangePropertyKey: |
| 1559 | + oldPropertyKey: spring.resources.cache.cachecontrol.proxy-revalidate |
| 1560 | + newPropertyKey: spring.web.resources.cache.cachecontrol.proxy-revalidate |
| 1561 | + - org.openrewrite.yaml.ChangePropertyKey: |
| 1562 | + oldPropertyKey: spring.resources.cache.cachecontrol.proxy-revalidate |
| 1563 | + newPropertyKey: spring.web.resources.cache.cachecontrol.proxy-revalidate |
| 1564 | + - org.openrewrite.properties.ChangePropertyKey: |
| 1565 | + oldPropertyKey: spring.resources.cache.cachecontrol.s-max-age |
| 1566 | + newPropertyKey: spring.web.resources.cache.cachecontrol.s-max-age |
| 1567 | + - org.openrewrite.yaml.ChangePropertyKey: |
| 1568 | + oldPropertyKey: spring.resources.cache.cachecontrol.s-max-age |
| 1569 | + newPropertyKey: spring.web.resources.cache.cachecontrol.s-max-age |
| 1570 | + - org.openrewrite.properties.ChangePropertyKey: |
| 1571 | + oldPropertyKey: spring.resources.cache.cachecontrol.stale-if-error |
| 1572 | + newPropertyKey: spring.web.resources.cache.cachecontrol.stale-if-error |
| 1573 | + - org.openrewrite.yaml.ChangePropertyKey: |
| 1574 | + oldPropertyKey: spring.resources.cache.cachecontrol.stale-if-error |
| 1575 | + newPropertyKey: spring.web.resources.cache.cachecontrol.stale-if-error |
| 1576 | + - org.openrewrite.properties.ChangePropertyKey: |
| 1577 | + oldPropertyKey: spring.resources.cache.cachecontrol.stale-while-revalidate |
| 1578 | + newPropertyKey: spring.web.resources.cache.cachecontrol.stale-while-revalidate |
| 1579 | + - org.openrewrite.yaml.ChangePropertyKey: |
| 1580 | + oldPropertyKey: spring.resources.cache.cachecontrol.stale-while-revalidate |
| 1581 | + newPropertyKey: spring.web.resources.cache.cachecontrol.stale-while-revalidate |
| 1582 | + - org.openrewrite.properties.ChangePropertyKey: |
| 1583 | + oldPropertyKey: spring.resources.cache.period |
| 1584 | + newPropertyKey: spring.web.resources.cache.period |
| 1585 | + - org.openrewrite.yaml.ChangePropertyKey: |
| 1586 | + oldPropertyKey: spring.resources.cache.period |
| 1587 | + newPropertyKey: spring.web.resources.cache.period |
| 1588 | + - org.openrewrite.properties.ChangePropertyKey: |
| 1589 | + oldPropertyKey: spring.resources.cache.use-last-modified |
| 1590 | + newPropertyKey: spring.web.resources.cache.use-last-modified |
| 1591 | + - org.openrewrite.yaml.ChangePropertyKey: |
| 1592 | + oldPropertyKey: spring.resources.cache.use-last-modified |
| 1593 | + newPropertyKey: spring.web.resources.cache.use-last-modified |
| 1594 | + - org.openrewrite.properties.ChangePropertyKey: |
| 1595 | + oldPropertyKey: spring.resources.chain.cache |
| 1596 | + newPropertyKey: spring.web.resources.chain.cache |
| 1597 | + - org.openrewrite.yaml.ChangePropertyKey: |
| 1598 | + oldPropertyKey: spring.resources.chain.cache |
| 1599 | + newPropertyKey: spring.web.resources.chain.cache |
| 1600 | + - org.openrewrite.properties.ChangePropertyKey: |
| 1601 | + oldPropertyKey: spring.resources.chain.compressed |
| 1602 | + newPropertyKey: spring.web.resources.chain.compressed |
| 1603 | + - org.openrewrite.yaml.ChangePropertyKey: |
| 1604 | + oldPropertyKey: spring.resources.chain.compressed |
| 1605 | + newPropertyKey: spring.web.resources.chain.compressed |
| 1606 | + - org.openrewrite.properties.ChangePropertyKey: |
| 1607 | + oldPropertyKey: spring.resources.chain.enabled |
| 1608 | + newPropertyKey: spring.web.resources.chain.enabled |
| 1609 | + - org.openrewrite.yaml.ChangePropertyKey: |
| 1610 | + oldPropertyKey: spring.resources.chain.enabled |
| 1611 | + newPropertyKey: spring.web.resources.chain.enabled |
| 1612 | + - org.openrewrite.properties.ChangePropertyKey: |
| 1613 | + oldPropertyKey: spring.resources.chain.strategy.content.enabled |
| 1614 | + newPropertyKey: spring.web.resources.chain.strategy.content.enabled |
| 1615 | + - org.openrewrite.yaml.ChangePropertyKey: |
| 1616 | + oldPropertyKey: spring.resources.chain.strategy.content.enabled |
| 1617 | + newPropertyKey: spring.web.resources.chain.strategy.content.enabled |
| 1618 | + - org.openrewrite.properties.ChangePropertyKey: |
| 1619 | + oldPropertyKey: spring.resources.chain.strategy.content.paths |
| 1620 | + newPropertyKey: spring.web.resources.chain.strategy.content.paths |
| 1621 | + - org.openrewrite.yaml.ChangePropertyKey: |
| 1622 | + oldPropertyKey: spring.resources.chain.strategy.content.paths |
| 1623 | + newPropertyKey: spring.web.resources.chain.strategy.content.paths |
| 1624 | + - org.openrewrite.properties.ChangePropertyKey: |
| 1625 | + oldPropertyKey: spring.resources.chain.strategy.fixed.enabled |
| 1626 | + newPropertyKey: spring.web.resources.chain.strategy.fixed.enabled |
| 1627 | + - org.openrewrite.yaml.ChangePropertyKey: |
| 1628 | + oldPropertyKey: spring.resources.chain.strategy.fixed.enabled |
| 1629 | + newPropertyKey: spring.web.resources.chain.strategy.fixed.enabled |
| 1630 | + - org.openrewrite.properties.ChangePropertyKey: |
| 1631 | + oldPropertyKey: spring.resources.chain.strategy.fixed.paths |
| 1632 | + newPropertyKey: spring.web.resources.chain.strategy.fixed.paths |
| 1633 | + - org.openrewrite.yaml.ChangePropertyKey: |
| 1634 | + oldPropertyKey: spring.resources.chain.strategy.fixed.paths |
| 1635 | + newPropertyKey: spring.web.resources.chain.strategy.fixed.paths |
| 1636 | + - org.openrewrite.properties.ChangePropertyKey: |
| 1637 | + oldPropertyKey: spring.resources.chain.strategy.fixed.version |
| 1638 | + newPropertyKey: spring.web.resources.chain.strategy.fixed.version |
| 1639 | + - org.openrewrite.yaml.ChangePropertyKey: |
| 1640 | + oldPropertyKey: spring.resources.chain.strategy.fixed.version |
| 1641 | + newPropertyKey: spring.web.resources.chain.strategy.fixed.version |
| 1642 | + - org.openrewrite.properties.ChangePropertyKey: |
| 1643 | + oldPropertyKey: spring.resources.static-locations |
| 1644 | + newPropertyKey: spring.web.resources.static-locations |
| 1645 | + - org.openrewrite.yaml.ChangePropertyKey: |
| 1646 | + oldPropertyKey: spring.resources.static-locations |
| 1647 | + newPropertyKey: spring.web.resources.static-locations |
0 commit comments