You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/01/10 14:59:21 UTC

[camel] branch master updated (d279aed -> ba2b1f2)

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

acosentino pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git.


    from d279aed  Regen
     new f26827d  CAMEL-13046 - Remove Camel-Openshift
     new ba2b1f2  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:
 bom/camel-bom/pom.xml                              | 10 ---
 .../component/openshift/OpenShiftComponent.java    | 94 ----------------------
 components/readme.adoc                             |  5 +-
 parent/pom.xml                                     | 10 ---
 .../karaf/features/src/main/resources/features.xml |  5 --
 .../camel-spring-boot-dependencies/pom.xml         | 10 ---
 .../camel/itest/karaf/CamelOpenshiftTest.java      | 34 --------
 .../camel/itest/springboot/CamelOpenshiftTest.java | 48 -----------
 8 files changed, 1 insertion(+), 215 deletions(-)
 delete mode 100644 components/camel-openshift/src/main/java/org/apache/camel/component/openshift/OpenShiftComponent.java
 delete mode 100644 tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelOpenshiftTest.java
 delete mode 100644 tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelOpenshiftTest.java


[camel] 02/02: Regen

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

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit ba2b1f2851e44529b74b8372b2ddeaf18ba30fe8
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Jan 10 15:58:50 2019 +0100

    Regen
---
 components/readme.adoc | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/components/readme.adoc b/components/readme.adoc
index f12c82a..4d34507 100644
--- a/components/readme.adoc
+++ b/components/readme.adoc
@@ -2,7 +2,7 @@ Components
 ^^^^^^^^^^
 
 // components: START
-Number of Components: 290 in 192 JAR artifacts (1 deprecated)
+Number of Components: 289 in 191 JAR artifacts (0 deprecated)
 
 [width="100%",cols="4,1,5",options="header"]
 |===
@@ -605,9 +605,6 @@ Number of Components: 290 in 192 JAR artifacts (1 deprecated)
 | link:camel-milo/src/main/docs/milo-server-component.adoc[OPC UA Server] (camel-milo) +
 `milo-server:itemId` | 2.19 | Make telemetry data available as an OPC UA server
 
-| link:camel-openshift/src/main/docs/openshift-component.adoc[OpenShift] (camel-openshift) +
-`openshift:clientId` | 2.14 | *deprecated* To manage your Openshift 2.x applications.
-
 | link:camel-kubernetes/src/main/docs/openshift-build-configs-component.adoc[Openshift Build Config] (camel-kubernetes) +
 `openshift-build-configs:masterUrl` | 2.17 | The Kubernetes Build Config component provides a producer to execute kubernetes build config operations.
 


[camel] 01/02: CAMEL-13046 - Remove Camel-Openshift

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

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit f26827d05f080330fcca35c3428f8c47115d6bf0
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Jan 10 15:24:15 2019 +0100

    CAMEL-13046 - Remove Camel-Openshift
---
 bom/camel-bom/pom.xml                              | 10 ---
 .../component/openshift/OpenShiftComponent.java    | 94 ----------------------
 parent/pom.xml                                     | 10 ---
 .../karaf/features/src/main/resources/features.xml |  5 --
 .../camel-spring-boot-dependencies/pom.xml         | 10 ---
 .../camel/itest/karaf/CamelOpenshiftTest.java      | 34 --------
 .../camel/itest/springboot/CamelOpenshiftTest.java | 48 -----------
 7 files changed, 211 deletions(-)

diff --git a/bom/camel-bom/pom.xml b/bom/camel-bom/pom.xml
index 8d1007c..62192a4 100644
--- a/bom/camel-bom/pom.xml
+++ b/bom/camel-bom/pom.xml
@@ -1896,16 +1896,6 @@
       </dependency>
       <dependency>
         <groupId>org.apache.camel</groupId>
-        <artifactId>camel-openshift</artifactId>
-        <version>${project.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.apache.camel</groupId>
-        <artifactId>camel-openshift-starter</artifactId>
-        <version>${project.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.apache.camel</groupId>
         <artifactId>camel-openstack</artifactId>
         <version>${project.version}</version>
       </dependency>
diff --git a/components/camel-openshift/src/main/java/org/apache/camel/component/openshift/OpenShiftComponent.java b/components/camel-openshift/src/main/java/org/apache/camel/component/openshift/OpenShiftComponent.java
deleted file mode 100644
index c6a0150..0000000
--- a/components/camel-openshift/src/main/java/org/apache/camel/component/openshift/OpenShiftComponent.java
+++ /dev/null
@@ -1,94 +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.openshift;
-
-import java.util.Map;
-
-import org.apache.camel.Endpoint;
-import org.apache.camel.impl.DefaultComponent;
-import org.apache.camel.spi.Metadata;
-
-public class OpenShiftComponent extends DefaultComponent {
-
-    @Metadata(label = "security", secret = true)
-    private String username;
-    @Metadata(label = "security", secret = true)
-    private String password;
-    private String domain;
-    private String server;
-
-    public OpenShiftComponent() {
-    }
-
-    protected Endpoint createEndpoint(String uri, String remaining, Map<String, Object> parameters) throws Exception {
-        String clientId = remaining;
-
-        OpenShiftEndpoint endpoint = new OpenShiftEndpoint(uri, this);
-        endpoint.setClientId(clientId);
-        endpoint.setUsername(getUsername());
-        endpoint.setPassword(getPassword());
-        endpoint.setDomain(getDomain());
-        setProperties(endpoint, parameters);
-        return endpoint;
-    }
-
-    public String getUsername() {
-        return username;
-    }
-
-    /**
-     * The username to login to openshift server.
-     */
-    public void setUsername(String username) {
-        this.username = username;
-    }
-
-    public String getPassword() {
-        return password;
-    }
-
-    /**
-     * The password for login to openshift server.
-     */
-    public void setPassword(String password) {
-        this.password = password;
-    }
-
-    public String getDomain() {
-        return domain;
-    }
-
-    /**
-     * Domain name. If not specified then the default domain is used.
-     */
-    public void setDomain(String domain) {
-        this.domain = domain;
-    }
-
-    public String getServer() {
-        return server;
-    }
-
-    /**
-     * Url to the openshift server.
-     * If not specified then the default value from the local openshift configuration file ~/.openshift/express.conf is used.
-     * And if that fails as well then "openshift.redhat.com" is used.
-     */
-    public void setServer(String server) {
-        this.server = server;
-    }
-}
diff --git a/parent/pom.xml b/parent/pom.xml
index 83535ec..afe13a4 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -1784,11 +1784,6 @@
       </dependency>
       <dependency>
         <groupId>org.apache.camel</groupId>
-        <artifactId>camel-openshift</artifactId>
-        <version>${project.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.apache.camel</groupId>
         <artifactId>camel-openstack</artifactId>
         <version>${project.version}</version>
       </dependency>
@@ -3253,11 +3248,6 @@
       </dependency>
       <dependency>
         <groupId>org.apache.camel</groupId>
-        <artifactId>camel-openshift-starter</artifactId>
-        <version>${project.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.apache.camel</groupId>
         <artifactId>camel-openstack-starter</artifactId>
         <version>${project.version}</version>
       </dependency>
diff --git a/platforms/karaf/features/src/main/resources/features.xml b/platforms/karaf/features/src/main/resources/features.xml
index 0a83572..2541753 100644
--- a/platforms/karaf/features/src/main/resources/features.xml
+++ b/platforms/karaf/features/src/main/resources/features.xml
@@ -1617,11 +1617,6 @@
     <bundle dependency='true'>mvn:org.apache.camel/camel-olingo4-api/${project.version}</bundle>
     <bundle>mvn:org.apache.camel/camel-olingo4/${project.version}</bundle>
   </feature>
-  <feature name='camel-openshift' version='${project.version}' resolver='(obr)' start-level='50'>
-    <feature version='${project.version}'>camel-core</feature>
-    <bundle dependency='true'>wrap:mvn:com.openshift/openshift-java-client/${openshift-java-client-version}</bundle>
-    <bundle>mvn:org.apache.camel/camel-openshift/${project.version}</bundle>
-  </feature>
   <feature name='camel-optaplanner' version='${project.version}' resolver='(obr)' start-level='50'>
     <details>The camel-optaplanner feature can only run on a SUN JVM. You need to add the package com.sun.tools.xjc to the java platform packages in the etc/jre.properties file.</details>
     <feature version='${project.version}'>camel-core</feature>
diff --git a/platforms/spring-boot/spring-boot-dm/camel-spring-boot-dependencies/pom.xml b/platforms/spring-boot/spring-boot-dm/camel-spring-boot-dependencies/pom.xml
index 18b9dec..28169ba 100644
--- a/platforms/spring-boot/spring-boot-dm/camel-spring-boot-dependencies/pom.xml
+++ b/platforms/spring-boot/spring-boot-dm/camel-spring-boot-dependencies/pom.xml
@@ -2121,16 +2121,6 @@
       </dependency>
       <dependency>
         <groupId>org.apache.camel</groupId>
-        <artifactId>camel-openshift</artifactId>
-        <version>${project.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.apache.camel</groupId>
-        <artifactId>camel-openshift-starter</artifactId>
-        <version>${project.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.apache.camel</groupId>
         <artifactId>camel-openstack</artifactId>
         <version>${project.version}</version>
       </dependency>
diff --git a/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelOpenshiftTest.java b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelOpenshiftTest.java
deleted file mode 100644
index a367ac8..0000000
--- a/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelOpenshiftTest.java
+++ /dev/null
@@ -1,34 +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.itest.karaf;
-
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.ops4j.pax.exam.junit.PaxExam;
-
-@RunWith(PaxExam.class)
-public class CamelOpenshiftTest extends BaseKarafTest {
-
-    public static final String COMPONENT = extractName(CamelOpenshiftTest.class);
-
-    @Test
-    public void test() throws Exception {
-        testComponent(COMPONENT);
-    }
-
-
-}
\ No newline at end of file
diff --git a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelOpenshiftTest.java b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelOpenshiftTest.java
deleted file mode 100644
index d414715..0000000
--- a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelOpenshiftTest.java
+++ /dev/null
@@ -1,48 +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.itest.springboot;
-
-import org.apache.camel.itest.springboot.util.ArquillianPackager;
-import org.jboss.arquillian.container.test.api.Deployment;
-import org.jboss.arquillian.junit.Arquillian;
-import org.jboss.shrinkwrap.api.Archive;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-
-
-@RunWith(Arquillian.class)
-public class CamelOpenshiftTest extends AbstractSpringBootTestSupport {
-
-    @Deployment
-    public static Archive<?> createSpringBootPackage() throws Exception {
-        return ArquillianPackager.springBootPackage(createTestConfig());
-    }
-
-    public static ITestConfig createTestConfig() {
-        return new ITestConfigBuilder()
-                .module(inferModuleName(CamelOpenshiftTest.class))
-                .build();
-    }
-
-    @Test
-    public void componentTests() throws Exception {
-        this.runComponentTest(config);
-        this.runModuleUnitTestsIfEnabled(config);
-    }
-
-
-}