diff --git a/quarkus/addons/microprofile-config-service-catalog/deployment/pom.xml b/quarkus/addons/microprofile-config-service-catalog/deployment/pom.xml index c6b8ecdf84f..275247cafab 100644 --- a/quarkus/addons/microprofile-config-service-catalog/deployment/pom.xml +++ b/quarkus/addons/microprofile-config-service-catalog/deployment/pom.xml @@ -33,13 +33,17 @@ Kogito Add-On MicroProfile Config Service Catalog - Deployment + + io.quarkus + quarkus-arc-deployment + org.kie.kogito - kogito-addons-quarkus-microprofile-config-service-catalog + kogito-addons-quarkus-common-deployment - io.quarkus - quarkus-arc-deployment + org.kie.kogito + kogito-addons-quarkus-microprofile-config-service-catalog diff --git a/quarkus/addons/microprofile-config-service-catalog/deployment/src/main/java/org/kie/kogito/addons/quarkus/microprofile/config/service/catalog/MicroProfileConfigServiceCatalogProcessor.java b/quarkus/addons/microprofile-config-service-catalog/deployment/src/main/java/org/kie/kogito/addons/quarkus/microprofile/config/service/catalog/MicroProfileConfigServiceCatalogProcessor.java new file mode 100644 index 00000000000..7397c25dbf0 --- /dev/null +++ b/quarkus/addons/microprofile-config-service-catalog/deployment/src/main/java/org/kie/kogito/addons/quarkus/microprofile/config/service/catalog/MicroProfileConfigServiceCatalogProcessor.java @@ -0,0 +1,36 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.kie.kogito.addons.quarkus.microprofile.config.service.catalog; + +import org.kie.kogito.quarkus.addons.common.deployment.AnyEngineKogitoAddOnProcessor; + +import io.quarkus.deployment.annotations.BuildStep; +import io.quarkus.deployment.builditem.FeatureBuildItem; + +public class MicroProfileConfigServiceCatalogProcessor extends AnyEngineKogitoAddOnProcessor { + + private static final String FEATURE = "kogito-addon-microprofile-config-service-catalog-extension"; + + @BuildStep + public FeatureBuildItem feature() { + return new FeatureBuildItem(FEATURE); + } + +} diff --git a/quarkus/addons/microprofile-config-service-catalog/runtime/src/main/resources/META-INF/kogito.addon b/quarkus/addons/microprofile-config-service-catalog/runtime/src/main/resources/META-INF/kogito.addon new file mode 100644 index 00000000000..b3acaabad74 --- /dev/null +++ b/quarkus/addons/microprofile-config-service-catalog/runtime/src/main/resources/META-INF/kogito.addon @@ -0,0 +1 @@ +microprofile-config-service-catalog \ No newline at end of file diff --git a/quarkus/addons/microprofile-config-service-catalog/runtime/src/main/resources/META-INF/quarkus-extension.yaml b/quarkus/addons/microprofile-config-service-catalog/runtime/src/main/resources/META-INF/quarkus-extension.yaml new file mode 100644 index 00000000000..d3614598409 --- /dev/null +++ b/quarkus/addons/microprofile-config-service-catalog/runtime/src/main/resources/META-INF/quarkus-extension.yaml @@ -0,0 +1,30 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + +name: Kogito Add-On Microprofile Config Service Catalog +description: Kogito Add-On to use the service discovery API at the time the resolved values can be configured as properties +metadata: + keywords: + - kogito + - kubernetes + - service + - discovery + guide: https://quarkus.io/version/2.13/guides/kogito + categories: + - "business-automation"