Skip to content

Commit

Permalink
test(amqp): update asyncapi artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
timonback committed Sep 3, 2024
1 parent 05b074e commit cd1bc81
Show file tree
Hide file tree
Showing 2 changed files with 239 additions and 67 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,30 @@
}
},
"channels": {
"#": {
"address": "#",
"messages": {
"io.github.springwolf.examples.amqp.dtos.ExamplePayloadDto": {
"$ref": "#/components/messages/io.github.springwolf.examples.amqp.dtos.ExamplePayloadDto"
},
"io.github.springwolf.examples.amqp.dtos.GenericPayloadDto": {
"$ref": "#/components/messages/io.github.springwolf.examples.amqp.dtos.GenericPayloadDto"
}
},
"bindings": {
"amqp": {
"is": "routingKey",
"exchange": {
"name": "CRUD-topic-exchange-1",
"type": "topic",
"durable": true,
"autoDelete": false,
"vhost": "/"
},
"bindingVersion": "0.3.0"
}
}
},
"another-queue": {
"address": "another-queue",
"messages": {
Expand Down Expand Up @@ -119,6 +143,48 @@
"bindingVersion": "0.3.0"
}
}
},
"queue-create": {
"address": "queue-create",
"messages": {
"io.github.springwolf.examples.amqp.dtos.GenericPayloadDto": {
"$ref": "#/components/messages/io.github.springwolf.examples.amqp.dtos.GenericPayloadDto"
}
},
"bindings": {
"amqp": {
"is": "queue",
"queue": {
"name": "queue-create",
"durable": true,
"exclusive": false,
"autoDelete": false,
"vhost": "/"
},
"bindingVersion": "0.3.0"
}
}
},
"queue-delete": {
"address": "queue-delete",
"messages": {
"io.github.springwolf.examples.amqp.dtos.GenericPayloadDto": {
"$ref": "#/components/messages/io.github.springwolf.examples.amqp.dtos.GenericPayloadDto"
}
},
"bindings": {
"amqp": {
"is": "queue",
"queue": {
"name": "queue-delete",
"durable": true,
"exclusive": false,
"autoDelete": false,
"vhost": "/"
},
"bindingVersion": "0.3.0"
}
}
}
},
"components": {
Expand Down Expand Up @@ -216,6 +282,25 @@
"someEnum",
"someString"
]
},
"io.github.springwolf.examples.amqp.dtos.GenericPayloadDto": {
"title": "GenericPayloadDto",
"type": "object",
"properties": {
"genericValue": {
"type": "object",
"description": "Generic Payload field"
}
},
"description": "Generic payload model",
"examples": [
{
"genericValue": { }
}
],
"required": [
"genericValue"
]
}
},
"messages": {
Expand Down Expand Up @@ -255,10 +340,68 @@
"bindingVersion": "0.3.0"
}
}
},
"io.github.springwolf.examples.amqp.dtos.GenericPayloadDto": {
"headers": {
"$ref": "#/components/schemas/SpringRabbitListenerDefaultHeaders"
},
"payload": {
"schemaFormat": "application/vnd.aai.asyncapi+json;version=3.0.0",
"schema": {
"$ref": "#/components/schemas/io.github.springwolf.examples.amqp.dtos.GenericPayloadDto"
}
},
"name": "io.github.springwolf.examples.amqp.dtos.GenericPayloadDto",
"title": "GenericPayloadDto",
"bindings": {
"amqp": {
"bindingVersion": "0.3.0"
}
}
}
}
},
"operations": {
"#_receive_bindingsRead": {
"action": "receive",
"channel": {
"$ref": "#/channels/#"
},
"bindings": {
"amqp": {
"expiration": 0,
"cc": [
"#"
],
"bindingVersion": "0.3.0"
}
},
"messages": [
{
"$ref": "#/channels/#/messages/io.github.springwolf.examples.amqp.dtos.ExamplePayloadDto"
}
]
},
"#_receive_bindingsUpdate": {
"action": "receive",
"channel": {
"$ref": "#/channels/#"
},
"bindings": {
"amqp": {
"expiration": 0,
"cc": [
"#"
],
"bindingVersion": "0.3.0"
}
},
"messages": [
{
"$ref": "#/channels/#/messages/io.github.springwolf.examples.amqp.dtos.GenericPayloadDto"
}
]
},
"another-queue_receive_receiveAnotherPayload": {
"action": "receive",
"channel": {
Expand Down Expand Up @@ -366,6 +509,46 @@
"$ref": "#/channels/multi-payload-queue/messages/io.github.springwolf.examples.amqp.dtos.ExamplePayloadDto"
}
]
},
"queue-create_receive_queuesToDeclareCreate": {
"action": "receive",
"channel": {
"$ref": "#/channels/queue-create"
},
"bindings": {
"amqp": {
"expiration": 0,
"cc": [
"queue-create"
],
"bindingVersion": "0.3.0"
}
},
"messages": [
{
"$ref": "#/channels/queue-create/messages/io.github.springwolf.examples.amqp.dtos.GenericPayloadDto"
}
]
},
"queue-delete_receive_queuesToDeclareDelete": {
"action": "receive",
"channel": {
"$ref": "#/channels/queue-delete"
},
"bindings": {
"amqp": {
"expiration": 0,
"cc": [
"queue-delete"
],
"bindingVersion": "0.3.0"
}
},
"messages": [
{
"$ref": "#/channels/queue-delete/messages/io.github.springwolf.examples.amqp.dtos.GenericPayloadDto"
}
]
}
}
}
Loading

0 comments on commit cd1bc81

Please sign in to comment.