@asyncapi/cli 1.2.5 → 1.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/create-glee-app/templates/default/package-lock.json +7 -7
- package/assets/create-glee-app/templates/default/package.json +1 -1
- package/assets/examples/default-example.yaml +13 -5
- package/assets/examples/examples.json +1 -1
- package/assets/examples/tutorial.yml +18 -14
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"version": "0.1.0",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@asyncapi/glee": "^0.32.
|
|
12
|
+
"@asyncapi/glee": "^0.32.4"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@types/node": "^20.5.9"
|
|
@@ -280,9 +280,9 @@
|
|
|
280
280
|
"integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug=="
|
|
281
281
|
},
|
|
282
282
|
"node_modules/@asyncapi/glee": {
|
|
283
|
-
"version": "0.32.
|
|
284
|
-
"resolved": "https://registry.npmjs.org/@asyncapi/glee/-/glee-0.32.
|
|
285
|
-
"integrity": "sha512-
|
|
283
|
+
"version": "0.32.4",
|
|
284
|
+
"resolved": "https://registry.npmjs.org/@asyncapi/glee/-/glee-0.32.4.tgz",
|
|
285
|
+
"integrity": "sha512-WrSEVNJfSmp/ZVzubTxeS8MSoKo0fB2ObsCDdUTSKshdMXnZ9A564Tq5AOiUlLkuefoGZDZoY6Jb0/Hz8Zvevw==",
|
|
286
286
|
"dependencies": {
|
|
287
287
|
"@asyncapi/generator": "^1.15.3",
|
|
288
288
|
"@asyncapi/html-template": "^2.0.0",
|
|
@@ -12489,9 +12489,9 @@
|
|
|
12489
12489
|
}
|
|
12490
12490
|
},
|
|
12491
12491
|
"@asyncapi/glee": {
|
|
12492
|
-
"version": "0.32.
|
|
12493
|
-
"resolved": "https://registry.npmjs.org/@asyncapi/glee/-/glee-0.32.
|
|
12494
|
-
"integrity": "sha512-
|
|
12492
|
+
"version": "0.32.4",
|
|
12493
|
+
"resolved": "https://registry.npmjs.org/@asyncapi/glee/-/glee-0.32.4.tgz",
|
|
12494
|
+
"integrity": "sha512-WrSEVNJfSmp/ZVzubTxeS8MSoKo0fB2ObsCDdUTSKshdMXnZ9A564Tq5AOiUlLkuefoGZDZoY6Jb0/Hz8Zvevw==",
|
|
12495
12495
|
"requires": {
|
|
12496
12496
|
"@asyncapi/generator": "^1.15.3",
|
|
12497
12497
|
"@asyncapi/html-template": "^2.0.0",
|
|
@@ -1,13 +1,21 @@
|
|
|
1
|
-
asyncapi:
|
|
1
|
+
asyncapi: 3.0.0
|
|
2
2
|
info:
|
|
3
3
|
title: Account Service
|
|
4
4
|
version: 1.0.0
|
|
5
5
|
description: This service is in charge of processing user signups
|
|
6
6
|
channels:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
userSignedUp:
|
|
8
|
+
address: user/signedup
|
|
9
|
+
messages:
|
|
10
|
+
UserSignedUp:
|
|
10
11
|
$ref: '#/components/messages/UserSignedUp'
|
|
12
|
+
operations:
|
|
13
|
+
onUserSignUp:
|
|
14
|
+
action: receive
|
|
15
|
+
channel:
|
|
16
|
+
$ref: '#/channels/userSignedUp'
|
|
17
|
+
messages:
|
|
18
|
+
- $ref: '#/channels/userSignedUp/messages/UserSignedUp'
|
|
11
19
|
components:
|
|
12
20
|
messages:
|
|
13
21
|
UserSignedUp:
|
|
@@ -20,4 +28,4 @@ components:
|
|
|
20
28
|
email:
|
|
21
29
|
type: string
|
|
22
30
|
format: email
|
|
23
|
-
description: Email of the user
|
|
31
|
+
description: Email of the user
|
|
@@ -1,24 +1,22 @@
|
|
|
1
|
-
asyncapi:
|
|
1
|
+
asyncapi: 3.0.0
|
|
2
2
|
info:
|
|
3
|
-
title: Streetlights
|
|
4
|
-
version: 1.0.0
|
|
3
|
+
title: Streetlights App
|
|
4
|
+
version: '1.0.0'
|
|
5
5
|
description: |
|
|
6
|
-
The Smartylighting Streetlights
|
|
7
|
-
|
|
8
|
-
This is a simplified version of the Streetlights API from other examples. This version is used in AsyncAPI documentation.
|
|
6
|
+
The Smartylighting Streetlights application allows you
|
|
7
|
+
to remotely manage the city lights.
|
|
9
8
|
license:
|
|
10
9
|
name: Apache 2.0
|
|
11
|
-
url: https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
url: 'https://www.apache.org/licenses/LICENSE-2.0'
|
|
12
11
|
servers:
|
|
13
12
|
mosquitto:
|
|
14
|
-
|
|
13
|
+
host: test.mosquitto.org
|
|
15
14
|
protocol: mqtt
|
|
16
15
|
channels:
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
message:
|
|
16
|
+
lightMeasured:
|
|
17
|
+
address: 'light/measured'
|
|
18
|
+
messages:
|
|
19
|
+
lightMeasuredMessage:
|
|
22
20
|
name: LightMeasured
|
|
23
21
|
payload:
|
|
24
22
|
type: object
|
|
@@ -34,4 +32,10 @@ channels:
|
|
|
34
32
|
sentAt:
|
|
35
33
|
type: string
|
|
36
34
|
format: date-time
|
|
37
|
-
description: Date and time when the message was sent.
|
|
35
|
+
description: Date and time when the message was sent.
|
|
36
|
+
operations:
|
|
37
|
+
onLightMeasured:
|
|
38
|
+
action: receive
|
|
39
|
+
summary: Information about environmental lighting conditions for a particular streetlight.
|
|
40
|
+
channel:
|
|
41
|
+
$ref: '#/channels/lightMeasured'
|
package/oclif.manifest.json
CHANGED