Skip to content

Commit

Permalink
chore: add server to server name as postfix in examples (#738)
Browse files Browse the repository at this point in the history
  • Loading branch information
timonback authored May 3, 2024
1 parent 4ab6650 commit e277e3a
Show file tree
Hide file tree
Showing 13 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ springwolf.docket.info.contact.url=https://github.com/springwolf/springwolf-core
springwolf.docket.info.contact.extension-fields.x-phone=+49 123 456789
springwolf.docket.info.license.name=Apache License 2.0
springwolf.docket.info.license.extension-fields.x-desc=some description
springwolf.docket.servers.amqp.protocol=amqp
springwolf.docket.servers.amqp.host=${spring.rabbitmq.host}:${spring.rabbitmq.port}
springwolf.docket.servers.amqp-server.protocol=amqp
springwolf.docket.servers.amqp-server.host=${spring.rabbitmq.host}:${spring.rabbitmq.port}

springwolf.plugin.amqp.publishing.enabled=true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"defaultContentType": "application/json",
"servers": {
"amqp": {
"amqp-server": {
"host": "amqp:5672",
"protocol": "amqp"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ springwolf.docket.info.contact.name=springwolf
springwolf.docket.info.contact.email=[email protected]
springwolf.docket.info.contact.url=https://github.com/springwolf/springwolf-core
springwolf.docket.info.license.name=Apache License 2.0
springwolf.docket.servers.kafka.protocol=kafka
springwolf.docket.servers.kafka.host=${spring.kafka.bootstrap-servers}
springwolf.docket.servers.kafka-server.protocol=kafka
springwolf.docket.servers.kafka-server.host=${spring.kafka.bootstrap-servers}
springwolf.use-fqn=false


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"defaultContentType": "application/json",
"servers": {
"kafka": {
"kafka-server": {
"host": "kafka:29092",
"protocol": "kafka"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ springwolf.docket.info.contact.name=springwolf
springwolf.docket.info.contact.email=[email protected]
springwolf.docket.info.contact.url=https://github.com/springwolf/springwolf-core
springwolf.docket.info.license.name=Apache License 2.0
springwolf.docket.servers.jms.protocol=jms
springwolf.docket.servers.jms.host=${spring.artemis.broker-url}
springwolf.docket.servers.jms-server.protocol=jms
springwolf.docket.servers.jms-server.host=${spring.artemis.broker-url}

springwolf.plugin.jms.publishing.enabled=true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"defaultContentType": "application/json",
"servers": {
"jms": {
"jms-server": {
"host": "tcp://activemq:61616",
"protocol": "jms"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class NestedProducer {
@AsyncOperation(
channelName = "topic-defined-via-asyncPublisher-annotation",
description = "Custom, optional description defined in the AsyncPublisher annotation",
servers = {"kafka"},
servers = {"kafka-server"},
headers =
@AsyncOperation.Headers(
schemaName = "SpringDefaultHeaderAndCloudEvent",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ springwolf.docket.info.license.name=Apache License 2.0
springwolf.payload.extractable-classes.java.util.List=0

# Springwolf kafka configuration
springwolf.docket.servers.kafka.protocol=kafka
springwolf.docket.servers.kafka.host=${spring.kafka.bootstrap-servers}
springwolf.docket.servers.kafka-server.protocol=kafka
springwolf.docket.servers.kafka-server.host=${spring.kafka.bootstrap-servers}
springwolf.plugin.kafka.publishing.enabled=true
springwolf.plugin.kafka.publishing.producer.bootstrap-servers=${BOOTSTRAP_SERVER_SASL:localhost:9093}
springwolf.plugin.kafka.publishing.producer.key-serializer=org.apache.kafka.common.serialization.StringSerializer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"defaultContentType": "application/json",
"servers": {
"kafka": {
"kafka-server": {
"host": "kafka:29092",
"protocol": "kafka"
}
Expand Down Expand Up @@ -108,7 +108,7 @@
},
"servers": [
{
"$ref": "#/servers/kafka"
"$ref": "#/servers/kafka-server"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ springwolf.docket.info.contact.name=springwolf
springwolf.docket.info.contact.email=[email protected]
springwolf.docket.info.contact.url=https://github.com/springwolf/springwolf-core
springwolf.docket.info.license.name=Apache License 2.0
springwolf.docket.servers.sns.protocol=sns
springwolf.docket.servers.sns.host=http://localhost:4566
springwolf.docket.servers.sns-server.protocol=sns
springwolf.docket.servers.sns-server.host=http://localhost:4566

springwolf.plugin.sns.publishing.enabled=true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"defaultContentType": "application/json",
"servers": {
"sns": {
"sns-server": {
"host": "http://localhost:4566",
"protocol": "sns"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ springwolf.docket.info.contact.name=springwolf
springwolf.docket.info.contact.email=[email protected]
springwolf.docket.info.contact.url=https://github.com/springwolf/springwolf-core
springwolf.docket.info.license.name=Apache License 2.0
springwolf.docket.servers.sqs.protocol=sqs
springwolf.docket.servers.sqs.host=http://localhost:4566
springwolf.docket.servers.sqs-server.protocol=sqs
springwolf.docket.servers.sqs-server.host=http://localhost:4566

springwolf.plugin.sqs.publishing.enabled=true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"defaultContentType": "application/json",
"servers": {
"sqs": {
"sqs-server": {
"host": "http://localhost:4566",
"protocol": "sqs"
}
Expand Down

0 comments on commit e277e3a

Please sign in to comment.