Skip to content
Snippets Groups Projects
Commit 9c4db668 authored by Rostislav Dublin (EPAM)'s avatar Rostislav Dublin (EPAM)
Browse files

OQM partitionPropertiesPrefixes shortened for Mq

parent 25306692
No related branches found
No related tags found
1 merge request!144(GONRG-3831) GCP Notification: OQM mapper
Pipeline #81061 failed
......@@ -115,7 +115,7 @@ Also, the following IAM roles should be assigned to the service's Google service
When using non-Google-Cloud-native technologies, property sets must be defined on the Partition service as part of PartitionInfo for each Tenant.
#### for OQM - RabbitMQ:
**prefix:** `register.oqm.rabbitmq`
**prefix:** `oqm.rabbitmq`
It can be overridden by:
- through the Spring Boot property `oqm.rabbitmq.partitionPropertiesPrefix`
......@@ -125,17 +125,17 @@ It can be overridden by:
| Property | Description |
| --- | --- |
| register.oqm.rabbitmq.amqp.host | messaging hostnameorIP |
| register.oqm.rabbitmq.amqp.port | - port |
| register.oqm.rabbitmq.amqp.path | - path |
| register.oqm.rabbitmq.amqp.username | - username |
| register.oqm.rabbitmq.amqp.password | - password |
| register.oqm.rabbitmq.admin.schema | admin host schema |
| register.oqm.rabbitmq.admin.host | - host name |
| register.oqm.rabbitmq.admin.port | - port |
| register.oqm.rabbitmq.admin.path | - path |
| register.oqm.rabbitmq.admin.username | - username |
| register.oqm.rabbitmq.admin.password | - password |
| oqm.rabbitmq.amqp.host | messaging hostnameorIP |
| oqm.rabbitmq.amqp.port | - port |
| oqm.rabbitmq.amqp.path | - path |
| oqm.rabbitmq.amqp.username | - username |
| oqm.rabbitmq.amqp.password | - password |
| oqm.rabbitmq.admin.schema | admin host schema |
| oqm.rabbitmq.admin.host | - host name |
| oqm.rabbitmq.admin.port | - port |
| oqm.rabbitmq.admin.path | - path |
| oqm.rabbitmq.admin.username | - username |
| oqm.rabbitmq.admin.password | - password |
<details><summary>Example of a single tenant definition</summary>
......@@ -143,48 +143,48 @@ It can be overridden by:
curl -L -X PATCH 'https://dev.osdu.club/api/partition/v1/partitions/opendes' -H 'data-partition-id: opendes' -H 'Authorization: Bearer ...' -H 'Content-Type: application/json' --data-raw '{
"properties": {
"register.oqm.rabbitmq.amqp.host": {
"oqm.rabbitmq.amqp.host": {
"sensitive": false,
"value": "localhost"
},
"register.oqm.rabbitmq.amqp.port": {
"oqm.rabbitmq.amqp.port": {
"sensitive": false,
"value": "5672"
},
"register.oqm.rabbitmq.amqp.path": {
"oqm.rabbitmq.amqp.path": {
"sensitive": false,
"value": ""
},
"register.oqm.rabbitmq.amqp.username": {
"oqm.rabbitmq.amqp.username": {
"sensitive": false,
"value": "guest"
},
"register.oqm.rabbitmq.amqp.password": {
"oqm.rabbitmq.amqp.password": {
"sensitive": true,
"value": "guest"
},
"register.oqm.rabbitmq.admin.schema": {
"oqm.rabbitmq.admin.schema": {
"sensitive": false,
"value": "http"
},
"register.oqm.rabbitmq.admin.host": {
"oqm.rabbitmq.admin.host": {
"sensitive": false,
"value": "localhost"
},
"register.oqm.rabbitmq.admin.port": {
"oqm.rabbitmq.admin.port": {
"sensitive": false,
"value": "9002"
},
"register.oqm.rabbitmq.admin.path": {
"oqm.rabbitmq.admin.path": {
"sensitive": false,
"value": "/api"
},
"register.oqm.rabbitmq.admin.username": {
"oqm.rabbitmq.admin.username": {
"sensitive": false,
"value": "guest"
},
"register.oqm.rabbitmq.admin.password": {
"oqm.rabbitmq.admin.password": {
"sensitive": true,
"value": "guest"
}
......
......@@ -18,6 +18,6 @@ import org.springframework.context.annotation.Configuration;
@Setter
public class MqOqmConfigurationProperties {
private String partitionPropertiesPrefix = "register.oqm.rabbitmq";
private String partitionPropertiesPrefix = "oqm.rabbitmq";
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment