Skip to content

Commit

Permalink
test(sqs): update asyncapi.json (temporary output)
Browse files Browse the repository at this point in the history
  • Loading branch information
timonback committed Oct 13, 2023
1 parent e461bad commit 1317a3d
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import java.lang.annotation.Target;
import java.util.HashMap;

@Order(BindingProcessorPriority.MANUAL_DEFINED)
@Order(value = BindingProcessorPriority.MANUAL_DEFINED)
public class TestAbstractOperationBindingProcessor
extends AbstractOperationBindingProcessor<TestAbstractOperationBindingProcessor.TestOperationBinding> {
public static final String TYPE = "testType";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import java.util.Arrays;
import java.util.Optional;

@Order(BindingProcessorPriority.MANUAL_DEFINED)
@Order(value = BindingProcessorPriority.MANUAL_DEFINED)
public class TestMessageBindingProcessor implements MessageBindingProcessor {

public static final String TYPE = "testType";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import java.util.HashMap;
import java.util.Optional;

@Order(BindingProcessorPriority.MANUAL_DEFINED)
@Order(value = BindingProcessorPriority.MANUAL_DEFINED)
public class TestOperationBindingProcessor implements OperationBindingProcessor {
public static final String TYPE = "testType";
public static final OperationBinding BINDING = new TestOperationBindingBinding();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,7 @@
"operationId": "another-queue_subscribe",
"description": "Custom, optional description defined in the AsyncPublisher annotation",
"bindings": {
"sqs": {
"internal-field": "customValue",
"nested": {
"key": "nestedValue"
}
}
"sqs": { }
},
"message": {
"schemaFormat": "application/vnd.oai.openapi+json;version=3.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ public MethodLevelRabbitListenerScanner methodLevelRabbitListenerScanner(
}

@Bean
@Order(BindingProcessorPriority.PROTOCOL_BINDING)
@Order(value = BindingProcessorPriority.PROTOCOL_BINDING)
public AmqpMessageBindingProcessor amqpMessageBindingProcessor() {
return new AmqpMessageBindingProcessor();
}

@Bean
@Order(BindingProcessorPriority.PROTOCOL_BINDING)
@Order(value = BindingProcessorPriority.PROTOCOL_BINDING)
public AmqpOperationBindingProcessor amqpOperationBindingProcessor() {
return new AmqpOperationBindingProcessor();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ public MethodLevelKafkaListenerScanner methodLevelKafkaListenerScanner(
}

@Bean
@Order(BindingProcessorPriority.PROTOCOL_BINDING)
@Order(value = BindingProcessorPriority.PROTOCOL_BINDING)
public KafkaMessageBindingProcessor kafkaMessageBindingProcessor() {
return new KafkaMessageBindingProcessor();
}

@Bean
@Order(BindingProcessorPriority.PROTOCOL_BINDING)
@Order(value = BindingProcessorPriority.PROTOCOL_BINDING)
public KafkaOperationBindingProcessor kafkaOperationBindingProcessor() {
return new KafkaOperationBindingProcessor();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
public class SpringwolfSnsScannerConfiguration {

@Bean
@Order(BindingProcessorPriority.PROTOCOL_BINDING)
@Order(value = BindingProcessorPriority.PROTOCOL_BINDING)
public SnsMessageBindingProcessor snsMessageBindingProcessor() {
return new SnsMessageBindingProcessor();
}

@Bean
@Order(BindingProcessorPriority.PROTOCOL_BINDING)
@Order(value = BindingProcessorPriority.PROTOCOL_BINDING)
public SnsOperationBindingProcessor snsOperationBindingProcessor() {
return new SnsOperationBindingProcessor();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ public MethodLevelSqsListenerScanner methodLevelSqsListenerScanner(
}

@Bean
@Order(BindingProcessorPriority.PROTOCOL_BINDING)
@Order(value = BindingProcessorPriority.PROTOCOL_BINDING)
public SqsMessageBindingProcessor sqsMessageBindingProcessor() {
return new SqsMessageBindingProcessor();
}

@Bean
@Order(BindingProcessorPriority.PROTOCOL_BINDING)
@Order(value = BindingProcessorPriority.PROTOCOL_BINDING)
public SqsOperationBindingProcessor sqsOperationBindingProcessor() {
return new SqsOperationBindingProcessor();
}
Expand Down

0 comments on commit 1317a3d

Please sign in to comment.