Skip to content

Commit

Permalink
feat: trust the amqp message orginiator
Browse files Browse the repository at this point in the history
  • Loading branch information
Dima Denysenko committed Oct 25, 2023
1 parent f97902f commit adf3ad2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .drone/pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ steps :
path : /root/.m2
environment :
RABBITMQ_HOST : rabbitmq
SPRING_AMQP_DESERIALIZATION_TRUST_ALL : true
DEPLOYER_USERNAME :
from_secret : DEPLOYER_USERNAME
DEPLOYER_PASSWORD :
Expand Down
4 changes: 4 additions & 0 deletions src/test/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ spring :
port : ${RABBITMQ_PORT:${embedded.rabbitmq.port:5672}}
username : ${RABBITMQ_USERNAME:${embedded.rabbitmq.user:svc_testing}}
password : ${RABBITMQ_PASSWORD:${embedded.rabbitmq.password:svc_testing}}
amqp :
deserialization :
trust :
all : true
devtools :
add-properties : false
restart :
Expand Down

0 comments on commit adf3ad2

Please sign in to comment.