Skip to content

Commit c646d0f

Browse files
authored
Support for asyncapi 3.0.0 (#359)
* Fix Multipart * Fix Multipart * Fix Multipart * Fix tests * Fix tests * Update V3 approach for ref * Update V3 approach for ref * Update dependencies * Update actions * Update JDK Version * Update JDK Version * Update JDK Version * Fix Dependency read file
1 parent 794ce94 commit c646d0f

543 files changed

Lines changed: 15015 additions & 926 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/gradle-portal-push.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
needs: [check-pr-labels]
2222
if: ${{ contains(needs.check-pr-labels.outputs.labels, 'release') || contains(needs.check-pr-labels.outputs.labels, 'gradle') }}
2323
steps:
24-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v4
2525
- name: Check if engine version is updated
2626
uses: avides/actions-project-version-check@v1.3
2727
id: engine-version-check
@@ -50,18 +50,18 @@ jobs:
5050
with:
5151
ref: ${{ github.head_ref }}
5252

53-
- name: Set up JDK 11
53+
- name: Set up JDK 17
5454
uses: actions/setup-java@v2
5555
with:
56-
java-version: "11"
56+
java-version: "17"
5757
distribution: "adopt"
5858
server-id: ossrh
5959
server-username: MAVEN_USERNAME
6060
server-password: MAVEN_CENTRAL_TOKEN
6161
gpg-private-key: ${{ secrets.GPG_SIGNING_KEY }}
6262
gpg-passphrase: MAVEN_GPG_PASSPHRASE
6363
- name: Cache Maven packages
64-
uses: actions/cache@v2
64+
uses: actions/cache@v4
6565
with:
6666
path: ~/.m2
6767
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}

.github/workflows/gradle-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
if: ${{ contains(github.event.pull_request.labels.*.name, 'release') || contains(github.event.pull_request.labels.*.name, 'gradle') }}
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515
- name: Gradle version
1616
id: get-version
1717
run: |

.github/workflows/maven-central-push.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
needs: [check-pr-labels]
2222
if: ${{ contains(needs.check-pr-labels.outputs.labels, 'release') || contains(needs.check-pr-labels.outputs.labels, 'maven') }}
2323
steps:
24-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v4
2525
- name: Check if version is updated
2626
uses: avides/actions-project-version-check@v1.3
2727
id: engine_version_check
@@ -46,18 +46,18 @@ jobs:
4646
with:
4747
ref: ${{ github.head_ref }}
4848

49-
- name: Set up JDK 11
49+
- name: Set up JDK 17
5050
uses: actions/setup-java@v2
5151
with:
52-
java-version: "11"
52+
java-version: "17"
5353
distribution: "adopt"
5454
server-id: ossrh
5555
server-username: MAVEN_USERNAME
5656
server-password: MAVEN_CENTRAL_TOKEN
5757
gpg-private-key: ${{ secrets.GPG_SIGNING_KEY }}
5858
gpg-passphrase: MAVEN_GPG_PASSPHRASE
5959
- name: Cache Maven packages
60-
uses: actions/cache@v2
60+
uses: actions/cache@v4
6161
with:
6262
path: ~/.m2
6363
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}

.github/workflows/maven-pr.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
if: ${{ contains(github.event.pull_request.labels.*.name, 'release') || contains(github.event.pull_request.labels.*.name, 'maven') }}
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515
- name: Check if version is updated
1616
uses: avides/actions-project-version-check@v1.3
1717
id: engine_version_check
@@ -42,14 +42,14 @@ jobs:
4242
build:
4343
runs-on: ubuntu-latest
4444
steps:
45-
- uses: actions/checkout@v3
46-
- name: Set up JDK 11
45+
- uses: actions/checkout@v4
46+
- name: Set up JDK 17
4747
uses: actions/setup-java@v2
4848
with:
49-
java-version: "11"
49+
java-version: "17"
5050
distribution: "adopt"
5151
- name: Cache Maven packages
52-
uses: actions/cache@v2
52+
uses: actions/cache@v4
5353
with:
5454
path: ~/.m2
5555
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
@@ -69,13 +69,13 @@ jobs:
6969
gradle wrapper
7070
chmod +x gradlew
7171
./gradlew build
72-
72+
7373
check-labels:
7474
runs-on: ubuntu-latest
7575
if: github.event.pull_request.mergeable == true
7676
steps:
7777
- name: Warn about missing labels
78-
if: ${{ !contains(github.event.pull_request.labels.*.name, 'release') && !contains(github.event.pull_request.labels.*.name, 'documentation') && !contains(github.event.pull_request.labels.*.name, 'maven') && !contains(github.event.pull_request.labels.*.name, 'gradle')}}}
78+
if: ${{ !contains(github.event.pull_request.labels.*.name, 'release') && !contains(github.event.pull_request.labels.*.name, 'documentation') && !contains(github.event.pull_request.labels.*.name, 'maven') && !contains(github.event.pull_request.labels.*.name, 'gradle')}}
7979
uses: thollander/actions-comment-pull-request@v2
8080
with:
8181
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/pr-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
if: github.event.review.state == 'approved'
1313
steps:
1414
- name: Warn about missing labels
15-
if: ${{ !contains(github.event.pull_request.labels.*.name, 'release') && !contains(github.event.pull_request.labels.*.name, 'documentation') && !contains(github.event.pull_request.labels.*.name, 'maven') && !contains(github.event.pull_request.labels.*.name, 'gradle')}}}
15+
if: ${{ !contains(github.event.pull_request.labels.*.name, 'release') && !contains(github.event.pull_request.labels.*.name, 'documentation') && !contains(github.event.pull_request.labels.*.name, 'maven') && !contains(github.event.pull_request.labels.*.name, 'gradle')}}
1616
uses: thollander/actions-comment-pull-request@v2
1717
with:
1818
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

multiapi-engine/pom.xml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
<groupId>com.sngular</groupId>
66
<artifactId>multiapi-engine</artifactId>
7-
<version>6.0.5</version>
7+
<version>6.1.0</version>
88
<packaging>jar</packaging>
99

1010
<properties>
11-
<maven.compiler.source>11</maven.compiler.source>
12-
<maven.compiler.target>11</maven.compiler.target>
11+
<maven.compiler.source>17</maven.compiler.source>
12+
<maven.compiler.target>17</maven.compiler.target>
1313
<swagger-parser.version>2.1.12</swagger-parser.version>
1414
<commons-lang3.version>3.15.0</commons-lang3.version>
1515
<commons-io.version>2.16.1</commons-io.version>
@@ -170,7 +170,7 @@
170170
<plugin>
171171
<groupId>com.github.ekryd.sortpom</groupId>
172172
<artifactId>sortpom-maven-plugin</artifactId>
173-
<version>3.2.1</version>
173+
<version>4.0.0</version>
174174
<executions>
175175
<execution>
176176
<goals>
@@ -183,7 +183,7 @@
183183
<plugin>
184184
<groupId>org.apache.maven.plugins</groupId>
185185
<artifactId>maven-checkstyle-plugin</artifactId>
186-
<version>3.3.0</version>
186+
<version>3.3.1</version>
187187
<configuration>
188188
<configLocation>../checkstyle.xml</configLocation>
189189
</configuration>
@@ -207,12 +207,18 @@
207207
<plugin>
208208
<groupId>org.apache.maven.plugins</groupId>
209209
<artifactId>maven-compiler-plugin</artifactId>
210-
<version>3.11.0</version>
210+
<version>3.14.0</version>
211+
<configuration>
212+
<source>${maven.compiler.target}</source>
213+
<target>${maven.compiler.target}</target>
214+
<debug>true</debug>
215+
<debuglevel>lines,vars,source</debuglevel>
216+
</configuration>
211217
</plugin>
212218
<plugin>
213219
<groupId>org.apache.maven.plugins</groupId>
214220
<artifactId>maven-resources-plugin</artifactId>
215-
<version>3.3.1</version>
221+
<version>3.3.0</version>
216222
</plugin>
217223
</plugins>
218224
</build>

0 commit comments

Comments
 (0)