Skip to content

Commit

Permalink
fix(rabbitmq): fix auth regex (#2308)
Browse files Browse the repository at this point in the history
  • Loading branch information
igpetrov committed Apr 10, 2024
1 parent 414a076 commit 973a548
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"id" : "io.camunda.connectors.RabbitMQ.v1",
"description" : "Send message to RabbitMQ",
"documentationRef" : "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/rabbitmq/?rabbitmq=outbound",
"version" : 4,
"version" : 5,
"category" : {
"id" : "connectors",
"name" : "Connectors"
Expand Down Expand Up @@ -69,7 +69,7 @@
"constraints" : {
"notEmpty" : true,
"pattern" : {
"value" : "^(amqps?://|secrets|\\{\\{).*$",
"value" : "^(=|amqps?://|secrets|\\{\\{).*$",
"message" : "Must start with amqp(s):// or contain a secret reference"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"id" : "io.camunda.connectors.inbound.RabbitMQ.Boundary.v1",
"description" : "Receive a message from RabbitMQ",
"documentationRef" : "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/rabbitmq/?rabbitmq=inbound",
"version" : 5,
"version" : 6,
"category" : {
"id" : "connectors",
"name" : "Connectors"
Expand Down Expand Up @@ -65,7 +65,7 @@
"constraints" : {
"notEmpty" : true,
"pattern" : {
"value" : "^(amqps?://|secrets|\\{\\{).*$",
"value" : "^(=|amqps?://|secrets|\\{\\{).*$",
"message" : "Must start with amqp(s):// or contain a secret reference"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"id" : "io.camunda.connectors.inbound.RabbitMQ.Intermediate.v1",
"description" : "Receive a message from RabbitMQ",
"documentationRef" : "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/rabbitmq/?rabbitmq=inbound",
"version" : 5,
"version" : 6,
"category" : {
"id" : "connectors",
"name" : "Connectors"
Expand Down Expand Up @@ -65,7 +65,7 @@
"constraints" : {
"notEmpty" : true,
"pattern" : {
"value" : "^(amqps?://|secrets|\\{\\{).*$",
"value" : "^(=|amqps?://|secrets|\\{\\{).*$",
"message" : "Must start with amqp(s):// or contain a secret reference"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"id" : "io.camunda.connectors.inbound.RabbitMQ.MessageStart.v1",
"description" : "Receive a message from RabbitMQ",
"documentationRef" : "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/rabbitmq/?rabbitmq=inbound",
"version" : 5,
"version" : 6,
"category" : {
"id" : "connectors",
"name" : "Connectors"
Expand Down Expand Up @@ -65,7 +65,7 @@
"constraints" : {
"notEmpty" : true,
"pattern" : {
"value" : "^(amqps?://|secrets|\\{\\{).*$",
"value" : "^(=|amqps?://|secrets|\\{\\{).*$",
"message" : "Must start with amqp(s):// or contain a secret reference"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"id" : "io.camunda.connectors.inbound.RabbitMQ.StartEvent.v1",
"description" : "Receive a message from RabbitMQ",
"documentationRef" : "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/rabbitmq/?rabbitmq=inbound",
"version" : 5,
"version" : 6,
"category" : {
"id" : "connectors",
"name" : "Connectors"
Expand Down Expand Up @@ -61,7 +61,7 @@
"constraints" : {
"notEmpty" : true,
"pattern" : {
"value" : "^(amqps?://|secrets|\\{\\{).*$",
"value" : "^(=|amqps?://|secrets|\\{\\{).*$",
"message" : "Must start with amqp(s):// or contain a secret reference"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"id" : "io.camunda.connectors.RabbitMQ.v1",
"description" : "Send message to RabbitMQ",
"documentationRef" : "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/rabbitmq/?rabbitmq=outbound",
"version" : 4,
"version" : 5,
"category" : {
"id" : "connectors",
"name" : "Connectors"
Expand Down Expand Up @@ -64,7 +64,7 @@
"constraints" : {
"notEmpty" : true,
"pattern" : {
"value" : "^(amqps?://|secrets|\\{\\{).*$",
"value" : "^(=|amqps?://|secrets|\\{\\{).*$",
"message" : "Must start with amqp(s):// or contain a secret reference"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
public record UriAuthentication(
@NotBlank
@Pattern(
regexp = "^(amqps?://|secrets|\\{\\{).*$",
regexp = "^(=|amqps?://|secrets|\\{\\{).*$",
message = "Must start with amqp(s):// or contain a secret reference")
@TemplateProperty(
group = "authentication",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
id = "io.camunda.connectors.inbound.RabbitMQ",
name = "RabbitMQ Connector",
icon = "icon.svg",
version = 5,
version = 6,
inputDataClass = RabbitMqInboundProperties.class,
description = "Receive a message from RabbitMQ",
documentationRef =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
name = "RabbitMQ Outbound Connector",
description = "Send message to RabbitMQ",
inputDataClass = RabbitMqRequest.class,
version = 4,
version = 5,
propertyGroups = {
@ElementTemplate.PropertyGroup(id = "authentication", label = "Authentication"),
@ElementTemplate.PropertyGroup(id = "routing", label = "Routing"),
Expand Down

0 comments on commit 973a548

Please sign in to comment.