This is an automated email from the ASF dual-hosted git repository.

ricardozanini pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-runtimes.git


The following commit(s) were added to refs/heads/main by this push:
     new 3db59dc627 kie-issues-3314: Add the missing extension information to 
the kogito-addons-quarkus-microprofile-config-service-catalog (#3315)
3db59dc627 is described below

commit 3db59dc62770360304a0e06e4efeeb44bda705bc
Author: Walter Medvedeo <[email protected]>
AuthorDate: Tue Dec 12 16:29:08 2023 +0100

    kie-issues-3314: Add the missing extension information to the 
kogito-addons-quarkus-microprofile-config-service-catalog (#3315)
---
 .../deployment/pom.xml                             | 10 ++++--
 .../MicroProfileConfigServiceCatalogProcessor.java | 36 ++++++++++++++++++++++
 .../src/main/resources/META-INF/kogito.addon       |  1 +
 .../main/resources/META-INF/quarkus-extension.yaml | 30 ++++++++++++++++++
 4 files changed, 74 insertions(+), 3 deletions(-)

diff --git 
a/quarkus/addons/microprofile-config-service-catalog/deployment/pom.xml 
b/quarkus/addons/microprofile-config-service-catalog/deployment/pom.xml
index c6b8ecdf84..275247cafa 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 @@
     <name>Kogito Add-On MicroProfile Config Service Catalog - Deployment</name>
 
     <dependencies>
+        <dependency>
+            <groupId>io.quarkus</groupId>
+            <artifactId>quarkus-arc-deployment</artifactId>
+        </dependency>
         <dependency>
             <groupId>org.kie.kogito</groupId>
-            
<artifactId>kogito-addons-quarkus-microprofile-config-service-catalog</artifactId>
+            <artifactId>kogito-addons-quarkus-common-deployment</artifactId>
         </dependency>
         <dependency>
-            <groupId>io.quarkus</groupId>
-            <artifactId>quarkus-arc-deployment</artifactId>
+            <groupId>org.kie.kogito</groupId>
+            
<artifactId>kogito-addons-quarkus-microprofile-config-service-catalog</artifactId>
         </dependency>
     </dependencies>
 
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 0000000000..7397c25dbf
--- /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 0000000000..b3acaabad7
--- /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 0000000000..d361459840
--- /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"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to