-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #185 from fjtirado/asymcAPI_v3_fjtirado
[Fix #182] Update to 3.0 version
- Loading branch information
Showing
16 changed files
with
168 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 27 additions & 19 deletions
46
quarkus-asyncapi/integration-tests/simple/src/test/asyncapi/asyncapihttp.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,54 @@ | ||
asyncapi: '2.0.0' | ||
asyncapi: 3.0.0 | ||
id: 'urn:com:http:server' | ||
info: | ||
title: Http Application | ||
version: '1.0.0' | ||
version: 1.0.0 | ||
description: Http Application | ||
license: | ||
name: Apache 2.0 | ||
url: https://www.apache.org/licenses/LICENSE-2.0 | ||
url: 'https://www.apache.org/licenses/LICENSE-2.0' | ||
servers: | ||
production: | ||
url: localhost:8080 | ||
description: Development server | ||
host: 'localhost:8080' | ||
protocol: http | ||
description: Development server | ||
channels: | ||
first: | ||
description: A message channel | ||
subscribe: | ||
summary: Get messages | ||
message: | ||
address: first | ||
messages: | ||
publish.message: | ||
$ref: '#/components/messages/message' | ||
publish: | ||
summary: Send messages | ||
message: | ||
subscribe.message: | ||
$ref: '#/components/messages/message' | ||
traits: | ||
- bindings: | ||
flogo-kafka: | ||
partitions: "0" | ||
offset: 0 | ||
description: A message channel | ||
operations: | ||
first.publish: | ||
action: send | ||
channel: | ||
$ref: '#/channels/first' | ||
summary: Send messages | ||
messages: | ||
- $ref: '#/channels/first/messages/publish.message' | ||
first.subscribe: | ||
action: receive | ||
channel: | ||
$ref: '#/channels/first' | ||
summary: Get messages | ||
messages: | ||
- $ref: '#/channels/first/messages/subscribe.message' | ||
components: | ||
messages: | ||
message: | ||
name: message | ||
summary: A message | ||
contentType: application/json | ||
payload: | ||
$ref: "#/components/schemas/message" | ||
$ref: '#/components/schemas/message' | ||
schemas: | ||
message: | ||
type: object | ||
properties: | ||
name: | ||
name: | ||
type: string | ||
age: | ||
type: integer |
56 changes: 30 additions & 26 deletions
56
quarkus-asyncapi/integration-tests/simple/src/test/asyncapi/asyncapikafka.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,58 @@ | ||
asyncapi: '2.0.0' | ||
asyncapi: 3.0.0 | ||
id: 'urn:com:kafka:server' | ||
info: | ||
title: Kafka Application | ||
version: '1.0.0' | ||
version: 1.0.0 | ||
description: Kafka Application | ||
license: | ||
name: Apache 2.0 | ||
url: https://www.apache.org/licenses/LICENSE-2.0 | ||
url: 'https://www.apache.org/licenses/LICENSE-2.0' | ||
servers: | ||
production: | ||
url: localhost:9092 | ||
description: Development server | ||
host: 'localhost:9092' | ||
protocol: kafka | ||
protocolVersion: '1.0.0' | ||
protocolVersion: 1.0.0 | ||
description: Development server | ||
x-trigger-version: v0.9.1-0.20190603184501-d845e1d612f8 | ||
x-activity-version: v0.9.1-0.20190603184501-d845e1d612f8 | ||
channels: | ||
/message: | ||
description: A message channel | ||
subscribe: | ||
summary: Get messages | ||
message: | ||
message: | ||
address: message | ||
messages: | ||
publish.message: | ||
$ref: '#/components/messages/message' | ||
traits: | ||
- bindings: | ||
flogo-kafka: | ||
partitions: "0" | ||
offset: 0 | ||
publish: | ||
summary: Send messages | ||
message: | ||
subscribe.message: | ||
$ref: '#/components/messages/message' | ||
traits: | ||
- bindings: | ||
flogo-kafka: | ||
partitions: "0" | ||
offset: 0 | ||
description: A message channel | ||
operations: | ||
/message.publish: | ||
action: receive | ||
channel: | ||
$ref: '#/channels/message' | ||
summary: Send messages | ||
|
||
messages: | ||
- $ref: '#/channels/message/messages/publish.message' | ||
/message.subscribe: | ||
action: send | ||
channel: | ||
$ref: '#/channels/message' | ||
summary: Get messages | ||
messages: | ||
- $ref: '#/channels/~1message/messages/subscribe.message' | ||
components: | ||
messages: | ||
message: | ||
name: message | ||
summary: A message | ||
contentType: application/json | ||
payload: | ||
$ref: "#/components/schemas/message" | ||
$ref: '#/components/schemas/message' | ||
schemas: | ||
message: | ||
type: object | ||
properties: | ||
name: | ||
name: | ||
type: string | ||
age: | ||
type: integer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
quarkus-asyncapi/runtime/src/main/java/io/quarkiverse/asyncapi/config/AsyncAPISupplier.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.