Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: release for version 2.5.0 of the spec #842

Merged
merged 10 commits into from Sep 29, 2022
9 changes: 3 additions & 6 deletions .github/workflows/if-nodejs-release.yml
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
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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
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
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
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
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
@@ -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
@@ -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
@@ -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
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