Skip to content

Commit

Permalink
feat: update controller retry configuration (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrejpetras authored Oct 16, 2024
1 parent 5545d3e commit f44b6c0
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ include::onecx-product-store-ms-operator-attributes.adoc[opts=optional]
====
[source,properties,subs=attributes+]
----
quarkus.operator-sdk.controllers.microservice.retry.max-attempts=10
quarkus.operator-sdk.controllers.microservice.retry.interval.initial=5000
quarkus.operator-sdk.controllers.microservice.retry.interval.multiplier=3
quarkus.operator-sdk.controllers.microservice.retry.interval.max=300000
%prod.quarkus.rest-client.product_store_client.url=http://onecx-product-store-svc:8080
%prod.quarkus.rest-client.product_store_client.providers=io.quarkus.oidc.client.reactive.filter.OidcClientRequestReactiveFilter
%prod.quarkus.oidc-client.client-id=${quarkus.application.name}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@ h| Version
| tkit-quarkus-log-cdi

| https://1000kit.github.io/tkit-quarkus/current/tkit-quarkus/tkit-quarkus-log-cdi.html[Link]
| https://github.com/1000kit/tkit-quarkus/blob/2.33.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-log-cdi.adoc[Link]
| 2.33.0
| https://github.com/1000kit/tkit-quarkus/blob/2.36.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-log-cdi.adoc[Link]
| 2.36.0

| tkit-quarkus-log-rs

| https://1000kit.github.io/tkit-quarkus/current/tkit-quarkus/tkit-quarkus-log-rs.html[Link]
| https://github.com/1000kit/tkit-quarkus/blob/2.33.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-log-rs.adoc[Link]
| 2.33.0
| https://github.com/1000kit/tkit-quarkus/blob/2.36.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-log-rs.adoc[Link]
| 2.36.0

| tkit-quarkus-log-json

| https://1000kit.github.io/tkit-quarkus/current/tkit-quarkus/tkit-quarkus-log-json.html[Link]
| https://github.com/1000kit/tkit-quarkus/blob/2.33.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-log-json.adoc[Link]
| 2.33.0
| https://github.com/1000kit/tkit-quarkus/blob/2.36.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-log-json.adoc[Link]
| 2.36.0

| quarkus-arc

Expand Down Expand Up @@ -65,14 +65,14 @@ h| Version
| tkit-quarkus-security
| https://1000kit.github.io/tkit-quarkus/current/tkit-quarkus/tkit-quarkus-security.html[Link]
| https://github.com/1000kit/tkit-quarkus/blob/2.33.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-security.adoc[Link]
| 2.33.0
| https://github.com/1000kit/tkit-quarkus/blob/2.36.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-security.adoc[Link]
| 2.36.0
| onecx-core
| https://onecx.github.io/docs/onecx-quarkus/current/onecx-quarkus/onecx-core.html[Link]
|
| 0.31.0
| 0.32.0
| quarkus-smallrye-health
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Environment variable: `+++ONECX_PRODUCT_STORE_OPERATOR_MS_LEADER_ELECTION_LEASE_
endif::add-copy-button-to-env-var[]
--
|string
|`onecx-permission-operator-lease`
|`onecx-product-store-ms-operator-lease`

|===

Expand Down
5 changes: 5 additions & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
quarkus.operator-sdk.controllers.microservice.retry.max-attempts=10
quarkus.operator-sdk.controllers.microservice.retry.interval.initial=5000
quarkus.operator-sdk.controllers.microservice.retry.interval.multiplier=3
quarkus.operator-sdk.controllers.microservice.retry.interval.max=300000

# PROD
%prod.quarkus.rest-client.product_store_client.url=http://onecx-product-store-svc:8080

Expand Down

0 comments on commit f44b6c0

Please sign in to comment.