Skip to content

Commit

Permalink
[SELC-5887] Fix: added properties for eventhub in user-ms (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
flaminiaScarciofolo authored Oct 31, 2024
1 parent 970687e commit 88e98e6
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 3 deletions.
8 changes: 6 additions & 2 deletions apps/user-group-cdc/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ user-group-cdc.retry.min-backoff=${USER_GROUP_CDC-RETRY-MIN-BACKOFF:10}
user-group-cdc.retry.max-backoff=${USER_GROUP_CDC-RETRY-MAX-BACKOFF:12}
user-group-cdc.retry=${USER_GROUP_CDC-RETRY:3}

quarkus.rest-client.event-hub.url=${EVENT_HUB_BASE_PATH:test}
quarkus.rest-client.event-hub.url=${EVENT_HUB_BASE_PATH:test}${EVENT_HUB_SC_USERS_TOPIC:sc-users}
eventhub.rest-client.keyName=${SHARED_ACCESS_KEY_NAME:test}
eventhub.rest-client.key=${EVENTHUB-SC-USER-GROUPS-SELFCARE-WO-KEY-LC:test}
eventhub.rest-client.key=${EVENTHUB-SC-USERS-SELFCARE-WO-KEY-LC:test}

quarkus.rest-client.event-hub-fd.url=${EVENT_HUB_BASE_PATH:test}${EVENT_HUB_SELFCARE_FD_TOPIC:selfcare-fd}
eventhubfd.rest-client.keyName=${FD_SHARED_ACCESS_KEY_NAME:test}
eventhubfd.rest-client.key=${EVENTHUB_SELFCARE_FD_EXTERNAL_KEY_LC:test}
6 changes: 6 additions & 0 deletions apps/user-ms/src/main/docs/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1873,6 +1873,12 @@
"productRole" : {
"type" : "string"
},
"roles" : {
"type" : "array",
"items" : {
"type" : "string"
}
},
"relationshipStatus" : {
"$ref" : "#/components/schemas/OnboardedProductState"
}
Expand Down
4 changes: 4 additions & 0 deletions apps/user-ms/src/main/docs/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1356,6 +1356,10 @@ components:
type: string
productRole:
type: string
roles:
type: array
items:
type: string
relationshipStatus:
$ref: "#/components/schemas/OnboardedProductState"
UsersNotificationResponse:
Expand Down
7 changes: 6 additions & 1 deletion apps/user-ms/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,14 @@ quarkus.smallrye-openapi.info-title=User API
quarkus.smallrye-openapi.info-version=1.0.0

## Eventhub ##
quarkus.rest-client.event-hub.url=${EVENT_HUB_BASE_PATH:test}
quarkus.rest-client.event-hub.url=${EVENT_HUB_BASE_PATH:test}${EVENT_HUB_SC_USERS_TOPIC:sc-users}
eventhub.rest-client.keyName=${SHARED_ACCESS_KEY_NAME:test}
eventhub.rest-client.key=${EVENTHUB-SC-USERS-SELFCARE-WO-KEY-LC:test}

quarkus.rest-client.event-hub-fd.url=${EVENT_HUB_BASE_PATH:test}${EVENT_HUB_SELFCARE_FD_TOPIC:selfcare-fd}
eventhubfd.rest-client.keyName=${FD_SHARED_ACCESS_KEY_NAME:test}
eventhubfd.rest-client.key=${EVENTHUB_SELFCARE_FD_EXTERNAL_KEY_LC:test}

user-ms.eventhub.users.enabled=${USER_MS_EVENTHUB_USERS_ENABLED:false}
user-ms.eventhub.users.concurrency-level=${USER_MS_EVENTHUB_USERS_CONCURRENCY_LEVEL:1}
user-ms.eventhub.users.page-size=${USER_MS_EVENTHUB_USERS_PAGE_SIZE:50}
Expand Down

0 comments on commit 88e98e6

Please sign in to comment.