Skip to content

Commit

Permalink
Merge master into next-major-spec
Browse files Browse the repository at this point in the history
  • Loading branch information
asyncapi-bot-eve committed Sep 29, 2022
2 parents 05d5d7a + 4ed4055 commit c830851
Show file tree
Hide file tree
Showing 23 changed files with 114 additions and 34 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/if-nodejs-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,9 @@ on:
branches:
- master
# below lines are not enough to have release supported for these branches
# make sure configuration of `semantic-release` package mentiones these branches
- next
- next-major
- beta
- alpha
- '**-release' # custom
# make sure configuration of `semantic-release` package mentions these branches
- next-spec
- next-major-spec

jobs:

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
The latest draft specification can be found at [spec/asyncapi.md](./spec/asyncapi.md) which tracks the latest commit to the master branch in this repository.
The human-readable markdown file is the source of truth for the specification.

- [Version 2.4.0](https://github.com/asyncapi/spec/blob/v2.4.0/spec/asyncapi.md) (latest)
- [Version 2.5.0](https://github.com/asyncapi/spec/blob/v2.5.0/spec/asyncapi.md) (latest)
- [Version 2.4.0](https://github.com/asyncapi/spec/blob/v2.4.0/spec/asyncapi.md)
- [Version 2.3.0](https://github.com/asyncapi/spec/blob/v2.3.0/spec/asyncapi.md)
- [Version 2.2.0](https://github.com/asyncapi/spec/blob/v2.2.0/spec/asyncapi.md)
- [Version 2.1.0](https://github.com/asyncapi/spec/blob/v2.1.0/spec/asyncapi.md)
Expand Down
2 changes: 1 addition & 1 deletion examples/anyof.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.4.0'
asyncapi: '2.5.0'
info:
title: AnyOf example
version: '1.0.0'
Expand Down
2 changes: 1 addition & 1 deletion examples/application-headers.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.4.0'
asyncapi: '2.5.0'
info:
title: Application Headers example
version: '1.0.0'
Expand Down
2 changes: 1 addition & 1 deletion examples/correlation-id.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.4.0'
asyncapi: '2.5.0'
info:
title: Correlation ID Example
version: '1.0.0'
Expand Down
2 changes: 1 addition & 1 deletion examples/gitter-streaming.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.4.0'
asyncapi: '2.5.0'
id: 'tag:stream.gitter.im,2022:api'
info:
title: Gitter Streaming API
Expand Down
2 changes: 1 addition & 1 deletion examples/mercure.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.4.0'
asyncapi: '2.5.0'
info:
title: Mercure Hub Example
version: '1.0.0'
Expand Down
2 changes: 1 addition & 1 deletion examples/not.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.4.0'
asyncapi: '2.5.0'
info:
title: Not example
version: '1.0.0'
Expand Down
2 changes: 1 addition & 1 deletion examples/oneof.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.4.0'
asyncapi: '2.5.0'
info:
title: OneOf example
version: '1.0.0'
Expand Down
2 changes: 1 addition & 1 deletion examples/operation-security.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: 2.4.0
asyncapi: 2.5.0
info:
title: Notifications
version: 1.0.0
Expand Down
2 changes: 1 addition & 1 deletion examples/rpc-client.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.4.0'
asyncapi: '2.5.0'
id: 'urn:example:rpcclient'
defaultContentType: application/json

Expand Down
2 changes: 1 addition & 1 deletion examples/rpc-server.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.4.0'
asyncapi: '2.5.0'
id: 'urn:example:rpcserver'
defaultContentType: application/json

Expand Down
2 changes: 1 addition & 1 deletion examples/simple.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.4.0'
asyncapi: '2.5.0'
info:
title: Account Service
version: 1.0.0
Expand Down
2 changes: 1 addition & 1 deletion examples/slack-rtm.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.4.0'
asyncapi: '2.5.0'
id: 'wss://wss-primary.slack.com/websocket'
info:
title: Slack Real Time Messaging API
Expand Down
7 changes: 7 additions & 0 deletions examples/social-media/backend/asyncapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ servers:
bindings:
mqtt:
clientId: websocketServer
tags:
- name: "env:production"
description: "This environment is meant for production use case"
- name: "kind:remote"
description: "This server is a remote server. Not exposed by the application"
- name: "visibility:public"
description: "This resource is public and available to everyone"

channels:
comment/liked:
Expand Down
7 changes: 7 additions & 0 deletions examples/social-media/comments-service/asyncapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ servers:
bindings:
mqtt:
clientId: comment-service
tags:
- name: "env:production"
description: "This environment is meant for production use case"
- name: "kind:remote"
description: "This server is a remote server. Not exposed by the application"
- name: "visibility:public"
description: "This resource is public and available to everyone"

channels:
comment/liked:
Expand Down
7 changes: 7 additions & 0 deletions examples/social-media/notification-service/asyncapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ servers:
bindings:
mqtt:
clientId: notification-service
tags:
- name: "env:production"
description: "This environment is meant for production use case"
- name: "kind:remote"
description: "This server is a remote server. Not exposed by the application"
- name: "visibility:public"
description: "This resource is public and available to everyone"

channels:
comment/liked:
Expand Down
7 changes: 7 additions & 0 deletions examples/social-media/public-api/asyncapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ servers:
bindings:
mqtt:
clientId: public-api
tags:
- name: "env:production"
description: "This environment is meant for production use case"
- name: "kind:remote"
description: "This server is a remote server. Not exposed by the application"
- name: "visibility:public"
description: "This resource is public and available to everyone"

channels:
comment/liked:
Expand Down
16 changes: 15 additions & 1 deletion examples/streetlights-kafka.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.4.0'
asyncapi: '2.5.0'
info:
title: Streetlights Kafka API
version: '1.0.0'
Expand All @@ -21,12 +21,26 @@ servers:
description: Test broker secured with scramSha256
security:
- saslScram: []
tags:
- name: "env:test-scram"
description: "This environment is meant for running internal tests through scramSha256"
- name: "kind:remote"
description: "This server is a remote server. Not exposed by the application"
- name: "visibility:private"
description: "This resource is private and only available to certain users"
mtls-connections:
url: test.mykafkacluster.org:28092
protocol: kafka-secure
description: Test broker secured with X509
security:
- certs: []
tags:
- name: "env:test-mtls"
description: "This environment is meant for running internal tests through mtls"
- name: "kind:remote"
description: "This server is a remote server. Not exposed by the application"
- name: "visibility:private"
description: "This resource is private and only available to certain users"

defaultContentType: application/json

Expand Down
9 changes: 8 additions & 1 deletion examples/streetlights-mqtt.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.4.0'
asyncapi: '2.5.0'
info:
title: Streetlights MQTT API
version: '1.0.0'
Expand Down Expand Up @@ -33,6 +33,13 @@ servers:
- streetlights:off
- streetlights:dim
- openIdConnectWellKnown: []
tags:
- name: "env:production"
description: "This environment is meant for production use case"
- name: "kind:remote"
description: "This server is a remote server. Not exposed by the application"
- name: "visibility:public"
description: "This resource is public and available to everyone"

defaultContentType: application/json

Expand Down
2 changes: 1 addition & 1 deletion examples/streetlights-operation-security.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.4.0'
asyncapi: '2.5.0'
info:
title: Streetlights Kafka API
version: '1.0.0'
Expand Down
2 changes: 1 addition & 1 deletion examples/websocket-gemini.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# - Live stream about topics mentioned in part 1 and 2 articles: https://www.youtube.com/watch?v=8tFBcf31e_c
#

asyncapi: '2.4.0'
asyncapi: '2.5.0'

#
# Overal information for users of the application
Expand Down

0 comments on commit c830851

Please sign in to comment.