From 141abd77b937ddf70f590efaa36c8e32a124ca31 Mon Sep 17 00:00:00 2001 From: Andrej Petras Date: Wed, 16 Oct 2024 10:32:44 +0200 Subject: [PATCH] feat: remove spec default value. --- .../onecx-product-store-mfe-operator-docs.adoc | 12 ++++++++++++ ...-product-store-mfe-operator-extensions.adoc | 18 +++++++++--------- .../onecx-product-store-mfe-operator.adoc | 2 +- .../store/mfe/operator/MicrofrontendSpec.java | 2 +- 4 files changed, 23 insertions(+), 11 deletions(-) diff --git a/docs/modules/onecx-product-store-mfe-operator/pages/onecx-product-store-mfe-operator-docs.adoc b/docs/modules/onecx-product-store-mfe-operator/pages/onecx-product-store-mfe-operator-docs.adoc index d646f72..11ef8cb 100644 --- a/docs/modules/onecx-product-store-mfe-operator/pages/onecx-product-store-mfe-operator-docs.adoc +++ b/docs/modules/onecx-product-store-mfe-operator/pages/onecx-product-store-mfe-operator-docs.adoc @@ -61,3 +61,15 @@ app: ---- +x-ps-mfe:write ] + +---- + +: + enabled: true + spec: + kcConfig: + defaultClientScopes: [ ocx-ps-mfe:write ] + +---- + diff --git a/docs/modules/onecx-product-store-mfe-operator/pages/onecx-product-store-mfe-operator-extensions.adoc b/docs/modules/onecx-product-store-mfe-operator/pages/onecx-product-store-mfe-operator-extensions.adoc index 2713443..6839c71 100644 --- a/docs/modules/onecx-product-store-mfe-operator/pages/onecx-product-store-mfe-operator-extensions.adoc +++ b/docs/modules/onecx-product-store-mfe-operator/pages/onecx-product-store-mfe-operator-extensions.adoc @@ -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 @@ -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 diff --git a/docs/modules/onecx-product-store-mfe-operator/pages/onecx-product-store-mfe-operator.adoc b/docs/modules/onecx-product-store-mfe-operator/pages/onecx-product-store-mfe-operator.adoc index 9a7136c..0e5cfcb 100644 --- a/docs/modules/onecx-product-store-mfe-operator/pages/onecx-product-store-mfe-operator.adoc +++ b/docs/modules/onecx-product-store-mfe-operator/pages/onecx-product-store-mfe-operator.adoc @@ -23,7 +23,7 @@ Environment variable: `+++ONECX_PRODUCT_STORE_OPERATOR_MFE_LEADER_ELECTION_LEASE endif::add-copy-button-to-env-var[] -- |string -|`onecx-product-store-ms-operator-lease` +|`onecx-product-store-mfe-operator-lease` |=== diff --git a/src/main/java/org/tkit/onecx/product/store/mfe/operator/MicrofrontendSpec.java b/src/main/java/org/tkit/onecx/product/store/mfe/operator/MicrofrontendSpec.java index 948d217..a4792b5 100644 --- a/src/main/java/org/tkit/onecx/product/store/mfe/operator/MicrofrontendSpec.java +++ b/src/main/java/org/tkit/onecx/product/store/mfe/operator/MicrofrontendSpec.java @@ -57,7 +57,7 @@ public class MicrofrontendSpec { @JsonProperty("type") private Microfrontend type; - @JsonProperty(value = "deprecated", defaultValue = "false") + @JsonProperty(value = "deprecated") private boolean deprecated = false; @JsonProperty("endpoints")