You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/01/06 05:45:50 UTC

[camel-karaf] branch main updated (aa281336 -> f10af43f)

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

davsclaus pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karaf.git


    from aa281336 CAMEL-18496: removed the deprecated component camel-cmis
     new d3baea2a CAMEL-18496: removed the deprecated component camel-cmis
     new f10af43f Regen

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../camel/catalog/karaf/components.properties      |  2 -
 components/camel-cmis-osgi/pom.xml                 | 66 ----------------------
 .../services/org/apache/camel/other.properties     |  7 ---
 .../src/generated/resources/cmis-osgi.json         | 15 -----
 .../camel/component/cmis/osgi/Activator.java       | 45 ---------------
 components/pom.xml                                 |  1 -
 6 files changed, 136 deletions(-)
 delete mode 100644 components/camel-cmis-osgi/pom.xml
 delete mode 100644 components/camel-cmis-osgi/src/generated/resources/META-INF/services/org/apache/camel/other.properties
 delete mode 100644 components/camel-cmis-osgi/src/generated/resources/cmis-osgi.json
 delete mode 100644 components/camel-cmis-osgi/src/main/java/org/apache/camel/component/cmis/osgi/Activator.java


[camel-karaf] 01/02: CAMEL-18496: removed the deprecated component camel-cmis

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karaf.git

commit d3baea2aee20cb98f4b46f3b82eaa0197d48f66d
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Jan 6 06:44:57 2023 +0100

    CAMEL-18496: removed the deprecated component camel-cmis
---
 components/camel-cmis-osgi/pom.xml                 | 66 ----------------------
 .../services/org/apache/camel/other.properties     |  7 ---
 .../src/generated/resources/cmis-osgi.json         | 15 -----
 .../camel/component/cmis/osgi/Activator.java       | 45 ---------------
 components/pom.xml                                 |  1 -
 5 files changed, 134 deletions(-)

diff --git a/components/camel-cmis-osgi/pom.xml b/components/camel-cmis-osgi/pom.xml
deleted file mode 100644
index 9d8688a4..00000000
--- a/components/camel-cmis-osgi/pom.xml
+++ /dev/null
@@ -1,66 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-    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.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-
-    <modelVersion>4.0.0</modelVersion>
-
-    <parent>
-        <groupId>org.apache.camel.karaf</groupId>
-        <artifactId>components</artifactId>
-        <version>3.21.0-SNAPSHOT</version>
-    </parent>
-
-    <artifactId>camel-cmis-osgi</artifactId>
-    <packaging>jar</packaging>
-    <name>Camel Karaf :: CMIS</name>
-    <description>Camel CMIS which is based on Apache Chemistry support</description>
-
-    <properties>
-        <camel.osgi.activator>
-            org.apache.camel.component.cmis.osgi.Activator
-        </camel.osgi.activator>
-        <camel.osgi.import>
-            !org.apache.chemistry.opencmis.client.runtime,*
-        </camel.osgi.import>
-
-        <firstVersion>2.11.0</firstVersion>
-        <label>cms,database</label>
-        <title>CMIS</title>
-    </properties>
-
-    <dependencies>
-
-        <dependency>
-            <groupId>org.apache.camel</groupId>
-            <artifactId>camel-cmis</artifactId>
-        </dependency>
-
-        <!-- osgi support -->
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>osgi.core</artifactId>
-            <scope>provided</scope>
-            <optional>true</optional>
-            <version>6.0.0</version>
-        </dependency>
-
-    </dependencies>
-
-</project>
diff --git a/components/camel-cmis-osgi/src/generated/resources/META-INF/services/org/apache/camel/other.properties b/components/camel-cmis-osgi/src/generated/resources/META-INF/services/org/apache/camel/other.properties
deleted file mode 100644
index 295978f9..00000000
--- a/components/camel-cmis-osgi/src/generated/resources/META-INF/services/org/apache/camel/other.properties
+++ /dev/null
@@ -1,7 +0,0 @@
-# Generated by camel build tools - do NOT edit this file!
-name=cmis-osgi
-groupId=org.apache.camel.karaf
-artifactId=camel-cmis-osgi
-version=3.21.0-SNAPSHOT
-projectName=Camel Karaf :: CMIS
-projectDescription=Camel CMIS which is based on Apache Chemistry support
diff --git a/components/camel-cmis-osgi/src/generated/resources/cmis-osgi.json b/components/camel-cmis-osgi/src/generated/resources/cmis-osgi.json
deleted file mode 100644
index 0f51b8db..00000000
--- a/components/camel-cmis-osgi/src/generated/resources/cmis-osgi.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
-  "other": {
-    "kind": "other",
-    "name": "cmis-osgi",
-    "title": "CMIS",
-    "description": "Camel CMIS which is based on Apache Chemistry support",
-    "deprecated": false,
-    "firstVersion": "2.11.0",
-    "label": "cms,database",
-    "supportLevel": "Stable",
-    "groupId": "org.apache.camel.karaf",
-    "artifactId": "camel-cmis-osgi",
-    "version": "3.21.0-SNAPSHOT"
-  }
-}
diff --git a/components/camel-cmis-osgi/src/main/java/org/apache/camel/component/cmis/osgi/Activator.java b/components/camel-cmis-osgi/src/main/java/org/apache/camel/component/cmis/osgi/Activator.java
deleted file mode 100644
index cc192153..00000000
--- a/components/camel-cmis-osgi/src/main/java/org/apache/camel/component/cmis/osgi/Activator.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * 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.apache.camel.component.cmis.osgi;
-
-import org.apache.camel.component.cmis.SessionFactoryLocator;
-import org.apache.chemistry.opencmis.client.api.SessionFactory;
-import org.osgi.framework.BundleActivator;
-import org.osgi.framework.BundleContext;
-import org.osgi.framework.ServiceReference;
-
-// Locator the SessionFactoryImpl service
-public class Activator implements BundleActivator {
-    private ServiceReference reference;
-
-    @Override
-    public void start(BundleContext context) throws Exception {
-        // get the reference of SessionFactory service
-        reference = context.getServiceReference(SessionFactory.class.getName());
-        SessionFactory sessionFactory = (SessionFactory) context.getService(reference);
-        SessionFactoryLocator.setSessionFactory(sessionFactory);
-    }
-
-    @Override
-    public void stop(BundleContext context) throws Exception {
-        // release the reference
-        if (reference != null) {
-            context.ungetService(reference);
-        }
-    }
-
-}
diff --git a/components/pom.xml b/components/pom.xml
index 8959c90f..6fe7159c 100644
--- a/components/pom.xml
+++ b/components/pom.xml
@@ -37,7 +37,6 @@
         <module>camel-blueprint-main</module>
         <module>camel-test-blueprint</module>
         <module>camel-test-blueprint-junit5</module>
-        <module>camel-cmis-osgi</module>
         <module>camel-cxf-blueprint</module>
         <module>camel-cxf-transport-blueprint</module>
         <module>camel-eventadmin</module>


[camel-karaf] 02/02: Regen

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karaf.git

commit f10af43f06d03bc36c152f68f05138e4e39cee02
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Jan 6 06:45:42 2023 +0100

    Regen
---
 .../main/resources/org/apache/camel/catalog/karaf/components.properties | 2 --
 1 file changed, 2 deletions(-)

diff --git a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components.properties b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components.properties
index fd228bb8..fe6ae191 100644
--- a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components.properties
+++ b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components.properties
@@ -37,7 +37,6 @@ braintree
 browse
 chatscript
 cm-sms
-cmis
 coap
 cometd
 consul
@@ -55,7 +54,6 @@ disruptor
 djl
 dns
 docker
-dozer
 drill
 dropbox
 ehcache