diff --git a/dashboard-service/src/main/resources/application.yml b/dashboard-service/src/main/resources/application.yml index f60460d..573b0f1 100644 --- a/dashboard-service/src/main/resources/application.yml +++ b/dashboard-service/src/main/resources/application.yml @@ -48,10 +48,6 @@ spring : port : ${RABBITMQ_PORT:5672} username : ${RABBITMQ_USERNAME:svc_testing} password : ${RABBITMQ_PASSWORD:svc_testing} - amqp : - deserialization : - trust : - all : true devtools : add-properties : false restart : diff --git a/dashboard-service/src/test/resources/application.yml b/dashboard-service/src/test/resources/application.yml index 611a123..37273ce 100644 --- a/dashboard-service/src/test/resources/application.yml +++ b/dashboard-service/src/test/resources/application.yml @@ -35,10 +35,6 @@ 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 embedded : mysql : enabled : true diff --git a/importer-service/src/main/resources/application.yml b/importer-service/src/main/resources/application.yml index 158e1eb..d9d1deb 100644 --- a/importer-service/src/main/resources/application.yml +++ b/importer-service/src/main/resources/application.yml @@ -48,10 +48,6 @@ spring : port : ${RABBITMQ_PORT:5672} username : ${RABBITMQ_USERNAME:svc_testing} password : ${RABBITMQ_PASSWORD:svc_testing} - amqp : - deserialization : - trust : - all : true devtools : add-properties : false restart : diff --git a/importer-service/src/test/resources/application.yml b/importer-service/src/test/resources/application.yml index 7de072a..ccd2ba3 100644 --- a/importer-service/src/test/resources/application.yml +++ b/importer-service/src/test/resources/application.yml @@ -35,10 +35,6 @@ 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 embedded : mysql : enabled : true diff --git a/src/main/kubernetes-minikube-samples/manifests/dashboard/deployment.yaml b/src/main/kubernetes-minikube-samples/manifests/dashboard/deployment.yaml index a4e442d..87c7a36 100644 --- a/src/main/kubernetes-minikube-samples/manifests/dashboard/deployment.yaml +++ b/src/main/kubernetes-minikube-samples/manifests/dashboard/deployment.yaml @@ -63,6 +63,8 @@ spec : secretKeyRef : name : dashboard-service key : rabbitmq-password + - name : SPRING_AMQP_DESERIALIZATION_TRUST_ALL + value: "true" resources : requests : cpu : "0.2" diff --git a/src/main/kubernetes-minikube-samples/manifests/importer/deployment.yaml b/src/main/kubernetes-minikube-samples/manifests/importer/deployment.yaml index c1f882c..245a0c8 100644 --- a/src/main/kubernetes-minikube-samples/manifests/importer/deployment.yaml +++ b/src/main/kubernetes-minikube-samples/manifests/importer/deployment.yaml @@ -63,6 +63,8 @@ spec : secretKeyRef : name : importer-service key : rabbitmq-password + - name : SPRING_AMQP_DESERIALIZATION_TRUST_ALL + value: "true" resources : requests : cpu : "0.2"