Skip to content

Commit

Permalink
misc changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaslagoni committed Nov 17, 2023
1 parent 17a6cdc commit 2373a45
Show file tree
Hide file tree
Showing 7 changed files with 3,978 additions and 1,101 deletions.
4 changes: 2 additions & 2 deletions bindings/jms/0.0.1/server.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"properties": {
"type": "array",
"items": {
"$ref": "#/schemas/property"
"$ref": "http://asyncapi.com/bindings/jms/0.0.1/server.json#/definitions/property"
},
"description": "Additional properties to set on the JMS ConnectionFactory implementation for the JMS Provider."
},
Expand All @@ -36,7 +36,7 @@
}

},
"schemas": {
"definitions": {
"property": {
"type": "object",
"required": ["name", "value"],
Expand Down
6 changes: 3 additions & 3 deletions bindings/sns/0.1.0/channel.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"description": "The name of the topic. Can be different from the channel name to allow flexibility around AWS resource naming limitations."
},
"ordering": {
"$ref": "#/definitions/ordering"
"$ref": "http://asyncapi.com/bindings/sns/0.1.0/channel.json#/definitions/ordering"
},
"policy": {
"$ref": "#/definitions/policy"
"$ref": "http://asyncapi.com/bindings/sns/0.1.0/channel.json#/definitions/policy"
},
"tags": {
"type": "object",
Expand Down Expand Up @@ -74,7 +74,7 @@
"type": "array",
"description": "An array of statement objects, each of which controls a permission for this topic",
"items": {
"$ref": "#/definitions/statement"
"$ref": "http://asyncapi.com/bindings/sns/0.1.0/channel.json#/definitions/statement"
}
}
},
Expand Down
16 changes: 8 additions & 8 deletions bindings/sns/0.1.0/operation.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@
},
"properties": {
"topic": {
"$ref": "#/definitions/identifier",
"$ref": "http://asyncapi.com/bindings/sns/0.1.0/operation.json#/definitions/identifier",
"description": "Often we can assume that the SNS Topic is the channel name-we provide this field in case the you need to supply the ARN, or the Topic name is not the channel name in the AsyncAPI document."
},
"consumers": {
"type": "array",
"description": "The protocols that listen to this topic and their endpoints.",
"items": {
"$ref": "#/definitions/consumer"
"$ref": "http://asyncapi.com/bindings/sns/0.1.0/operation.json#/definitions/consumer"
},
"minItems": 1
},
"deliveryPolicy": {
"$ref": "#/definitions/deliveryPolicy",
"$ref": "http://asyncapi.com/bindings/sns/0.1.0/operation.json#/definitions/deliveryPolicy",
"description": "Policy for retries to HTTP. The field is the default for HTTP receivers of the SNS Topic which may be overridden by a specific consumer."
},
"bindingVersion": {
Expand All @@ -51,7 +51,7 @@
},
"email": {
"type": "string",
"description": "The endpoint is an email adress."
"description": "The endpoint is an email address."
},
"phone": {
"type": "string",
Expand Down Expand Up @@ -92,7 +92,7 @@
},
"endpoint": {
"description": "The endpoint messages are delivered to.",
"$ref": "#/definitions/identifier"
"$ref": "http://asyncapi.com/bindings/sns/0.1.0/operation.json#/definitions/identifier"
},
"filterPolicy": {
"type": "object",
Expand Down Expand Up @@ -133,10 +133,10 @@
"description": "If true AWS SNS attributes are removed from the body, and for SQS, SNS message attributes are copied to SQS message attributes. If false the SNS attributes are included in the body."
},
"redrivePolicy": {
"$ref": "#/definitions/redrivePolicy"
"$ref": "http://asyncapi.com/bindings/sns/0.1.0/operation.json#/definitions/redrivePolicy"
},
"deliveryPolicy": {
"$ref": "#/definitions/deliveryPolicy",
"$ref": "http://asyncapi.com/bindings/sns/0.1.0/operation.json#/definitions/deliveryPolicy",
"description": "Policy for retries to HTTP. The parameter is for that SNS Subscription and overrides any policy on the SNS Topic."
},
"displayName": {
Expand Down Expand Up @@ -208,7 +208,7 @@
},
"properties": {
"deadLetterQueue": {
"$ref": "#/definitions/identifier",
"$ref": "http://asyncapi.com/bindings/sns/0.1.0/operation.json#/definitions/identifier",
"description": "The SQS queue to use as a dead letter queue (DLQ)."
},
"maxReceiveCount": {
Expand Down
12 changes: 6 additions & 6 deletions bindings/sqs/0.2.0/channel.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
"properties": {
"queue": {
"description": "A definition of the queue that will be used as the channel.",
"$ref": "#/definitions/queue"
"$ref": "http://asyncapi.com/bindings/sqs/0.2.0/channel.json#/definitions/queue"
},
"deadLetterQueue": {
"description": "A definition of the queue that will be used for un-processable messages.",
"$ref": "#/definitions/queue"
"$ref": "http://asyncapi.com/bindings/sqs/0.2.0/channel.json#/definitions/queue"
},
"bindingVersion": {
"type": "string",
Expand Down Expand Up @@ -90,10 +90,10 @@
"default": 345600
},
"redrivePolicy": {
"$ref": "#/definitions/redrivePolicy"
"$ref": "http://asyncapi.com/bindings/sqs/0.2.0/channel.json#/definitions/redrivePolicy"
},
"policy": {
"$ref": "#/definitions/policy"
"$ref": "http://asyncapi.com/bindings/sqs/0.2.0/channel.json#/definitions/policy"
},
"tags": {
"type": "object",
Expand All @@ -115,7 +115,7 @@
},
"properties": {
"deadLetterQueue": {
"$ref": "#/definitions/identifier"
"$ref": "http://asyncapi.com/bindings/sqs/0.2.0/channel.json#/definitions/identifier"
},
"maxReceiveCount": {
"type": "integer",
Expand Down Expand Up @@ -159,7 +159,7 @@
"type": "array",
"description": "An array of statement objects, each of which controls a permission for this queue.",
"items": {
"$ref": "#/definitions/statement"
"$ref": "http://asyncapi.com/bindings/sqs/0.2.0/channel.json#/definitions/statement"
}
}
},
Expand Down
10 changes: 5 additions & 5 deletions bindings/sqs/0.2.0/operation.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"type": "array",
"description": "Queue objects that are either the endpoint for an SNS Operation Binding Object, or the deadLetterQueue of the SQS Operation Binding Object.",
"items": {
"$ref": "#/definitions/queue"
"$ref": "http://asyncapi.com/bindings/sqs/0.2.0/operation.json#/definitions/queue"
}
},
"bindingVersion": {
Expand Down Expand Up @@ -93,10 +93,10 @@
"default": 345600
},
"redrivePolicy": {
"$ref": "#/definitions/redrivePolicy"
"$ref": "http://asyncapi.com/bindings/sqs/0.2.0/operation.json#/definitions/redrivePolicy"
},
"policy": {
"$ref": "#/definitions/policy"
"$ref": "http://asyncapi.com/bindings/sqs/0.2.0/operation.json#/definitions/policy"
},
"tags": {
"type": "object",
Expand All @@ -117,7 +117,7 @@
},
"properties": {
"deadLetterQueue": {
"$ref": "#/definitions/identifier"
"$ref": "http://asyncapi.com/bindings/sqs/0.2.0/operation.json#/definitions/identifier"
},
"maxReceiveCount": {
"type": "integer",
Expand Down Expand Up @@ -161,7 +161,7 @@
"type": "array",
"description": "An array of statement objects, each of which controls a permission for this queue.",
"items": {
"$ref": "#/definitions/statement"
"$ref": "http://asyncapi.com/bindings/sqs/0.2.0/operation.json#/definitions/statement"
}
}
},
Expand Down
Loading

0 comments on commit 2373a45

Please sign in to comment.