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

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

commit 9e1bcb0d1c77da0e22073406f1d3d0c68023fd34
Author: James Netherton <[email protected]>
AuthorDate: Thu May 21 15:17:32 2026 +0100

    Remove GitHub extension
---
 catalog/pom.xml                                    |  13 ---
 docs/modules/ROOT/examples/components/github.yml   |  13 ---
 .../ROOT/pages/reference/extensions/github.adoc    |  53 ----------
 extensions/github/deployment/pom.xml               |  61 -----------
 .../github/deployment/GithubProcessor.java         |  60 -----------
 extensions/github/pom.xml                          |  37 -------
 extensions/github/runtime/pom.xml                  |  69 ------------
 .../main/resources/META-INF/quarkus-extension.yaml |  32 ------
 extensions/pom.xml                                 |   1 -
 integration-tests/github/README.adoc               |  20 ----
 integration-tests/github/pom.xml                   | 116 ---------------------
 .../component/github/it/GithubResource.java        |  84 ---------------
 .../quarkus/component/github/it/GithubIT.java      |  24 -----
 .../quarkus/component/github/it/GithubTest.java    |  38 -------
 .../component/github/it/GithubTestResource.java    |  34 ------
 .../resources/mappings/githubGetRepository.json    |  38 -------
 .../mappings/githubGetRepositoryFile.json          |  37 -------
 integration-tests/pom.xml                          |   1 -
 poms/bom/pom.xml                                   |  10 --
 tooling/scripts/test-categories.yaml               |   1 -
 20 files changed, 742 deletions(-)

diff --git a/catalog/pom.xml b/catalog/pom.xml
index 23fd15ff0a..ce09f4ca7a 100644
--- a/catalog/pom.xml
+++ b/catalog/pom.xml
@@ -1501,19 +1501,6 @@
                 </exclusion>
             </exclusions>
         </dependency>
-        <dependency>
-            <groupId>org.apache.camel.quarkus</groupId>
-            <artifactId>camel-quarkus-github</artifactId>
-            <version>${project.version}</version>
-            <type>pom</type>
-            <scope>test</scope>
-            <exclusions>
-                <exclusion>
-                    <groupId>*</groupId>
-                    <artifactId>*</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
         <dependency>
             <groupId>org.apache.camel.quarkus</groupId>
             <artifactId>camel-quarkus-google-bigquery</artifactId>
diff --git a/docs/modules/ROOT/examples/components/github.yml 
b/docs/modules/ROOT/examples/components/github.yml
deleted file mode 100644
index 204dd2edf8..0000000000
--- a/docs/modules/ROOT/examples/components/github.yml
+++ /dev/null
@@ -1,13 +0,0 @@
-# Do not edit directly!
-# This file was generated by 
camel-quarkus-maven-plugin:update-extension-doc-page
-cqArtifactId: camel-quarkus-github
-cqArtifactIdBase: github
-cqNativeSupported: true
-cqStatus: Stable
-cqDeprecated: true
-cqJvmSince: 1.0.0
-cqNativeSince: 1.0.0
-cqCamelPartName: github
-cqCamelPartTitle: GitHub
-cqCamelPartDescription: Interact with the GitHub API.
-cqExtensionPageTitle: GitHub
diff --git a/docs/modules/ROOT/pages/reference/extensions/github.adoc 
b/docs/modules/ROOT/pages/reference/extensions/github.adoc
deleted file mode 100644
index 206c19863d..0000000000
--- a/docs/modules/ROOT/pages/reference/extensions/github.adoc
+++ /dev/null
@@ -1,53 +0,0 @@
-// Do not edit directly!
-// This file was generated by 
camel-quarkus-maven-plugin:update-extension-doc-page
-[id="extensions-github"]
-= GitHub
-:page-aliases: extensions/github.adoc
-:linkattrs:
-:cq-artifact-id: camel-quarkus-github
-:cq-native-supported: true
-:cq-status: Stable
-:cq-status-deprecation: Stable Deprecated
-:cq-description: Interact with the GitHub API.
-:cq-deprecated: true
-:cq-jvm-since: 1.0.0
-:cq-native-since: 1.0.0
-
-ifeval::[{doc-show-badges} == true]
-[.badges]
-[.badge-key]##JVM since##[.badge-supported]##1.0.0## [.badge-key]##Native 
since##[.badge-supported]##1.0.0## 
[.badge-key]##⚠️##[.badge-unsupported]##Deprecated##
-endif::[]
-
-Interact with the GitHub API.
-
-[id="extensions-github-whats-inside"]
-== What's inside
-
-* xref:{cq-camel-components}::github-component.adoc[GitHub component], URI 
syntax: `github:type/branchName`
-
-Please refer to the above link for usage and configuration details.
-
-[id="extensions-github-maven-coordinates"]
-== Maven coordinates
-
-https://{link-quarkus-code-generator}/?extension-search=camel-quarkus-github[Create
 a new project with this extension on {link-quarkus-code-generator}, 
window="_blank"]
-
-Or add the coordinates to your existing project:
-
-[source,xml]
-----
-<dependency>
-    <groupId>org.apache.camel.quarkus</groupId>
-    <artifactId>camel-quarkus-github</artifactId>
-</dependency>
-----
-ifeval::[{doc-show-user-guide-link} == true]
-Check the xref:user-guide/index.adoc[User guide] for more information about 
writing Camel Quarkus applications.
-endif::[]
-
-[id="extensions-github-ssl-in-native-mode"]
-== SSL in native mode
-
-This extension auto-enables SSL support in native mode. Hence you do not need 
to add
-`quarkus.ssl.native=true` to your `application.properties` yourself. See also
-https://quarkus.io/guides/native-and-ssl[Quarkus SSL guide].
diff --git a/extensions/github/deployment/pom.xml 
b/extensions/github/deployment/pom.xml
deleted file mode 100644
index 4a1d667d98..0000000000
--- a/extensions/github/deployment/pom.xml
+++ /dev/null
@@ -1,61 +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.quarkus</groupId>
-        <artifactId>camel-quarkus-github-parent</artifactId>
-        <version>3.36.0-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
-    </parent>
-
-    <artifactId>camel-quarkus-github-deployment</artifactId>
-    <name>Camel Quarkus :: GitHub :: Deployment</name>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.camel.quarkus</groupId>
-            <artifactId>camel-quarkus-core-deployment</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.camel.quarkus</groupId>
-            <artifactId>camel-quarkus-github</artifactId>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <annotationProcessorPaths>
-                        <path>
-                            <groupId>io.quarkus</groupId>
-                            
<artifactId>quarkus-extension-processor</artifactId>
-                            <version>${quarkus.version}</version>
-                        </path>
-                    </annotationProcessorPaths>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
-</project>
diff --git 
a/extensions/github/deployment/src/main/java/org/apache/camel/quarkus/component/github/deployment/GithubProcessor.java
 
b/extensions/github/deployment/src/main/java/org/apache/camel/quarkus/component/github/deployment/GithubProcessor.java
deleted file mode 100644
index 8614e7297d..0000000000
--- 
a/extensions/github/deployment/src/main/java/org/apache/camel/quarkus/component/github/deployment/GithubProcessor.java
+++ /dev/null
@@ -1,60 +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.quarkus.component.github.deployment;
-
-import java.io.Serializable;
-
-import io.quarkus.deployment.annotations.BuildProducer;
-import io.quarkus.deployment.annotations.BuildStep;
-import 
io.quarkus.deployment.builditem.AdditionalApplicationArchiveMarkerBuildItem;
-import io.quarkus.deployment.builditem.CombinedIndexBuildItem;
-import io.quarkus.deployment.builditem.ExtensionSslNativeSupportBuildItem;
-import io.quarkus.deployment.builditem.FeatureBuildItem;
-import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem;
-import org.jboss.jandex.DotName;
-import org.jboss.jandex.IndexView;
-
-class GithubProcessor {
-
-    private static final String FEATURE = "camel-github";
-
-    @BuildStep
-    FeatureBuildItem feature() {
-        return new FeatureBuildItem(FEATURE);
-    }
-
-    @BuildStep
-    ExtensionSslNativeSupportBuildItem activateSslNativeSupport() {
-        return new ExtensionSslNativeSupportBuildItem(FEATURE);
-    }
-
-    @BuildStep
-    AdditionalApplicationArchiveMarkerBuildItem egitArchiveMarker() {
-        return new 
AdditionalApplicationArchiveMarkerBuildItem("org/eclipse/egit/github");
-    }
-
-    @BuildStep
-    void registerForReflection(BuildProducer<ReflectiveClassBuildItem> 
reflectiveClass, CombinedIndexBuildItem combinedIndex) {
-        IndexView index = combinedIndex.getIndex();
-        
index.getKnownDirectImplementations(DotName.createSimple(Serializable.class.getName()))
-                .stream()
-                .filter(classInfo -> 
classInfo.name().prefix().toString().equals("org.eclipse.egit.github.core"))
-                .map(className -> 
ReflectiveClassBuildItem.builder(className.name().toString()).fields()
-                        .build())
-                .forEach(reflectiveClass::produce);
-    }
-}
diff --git a/extensions/github/pom.xml b/extensions/github/pom.xml
deleted file mode 100644
index 627f089854..0000000000
--- a/extensions/github/pom.xml
+++ /dev/null
@@ -1,37 +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.quarkus</groupId>
-        <artifactId>camel-quarkus-extensions</artifactId>
-        <version>3.36.0-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
-    </parent>
-
-    <artifactId>camel-quarkus-github-parent</artifactId>
-    <name>Camel Quarkus :: GitHub</name>
-    <packaging>pom</packaging>
-
-    <modules>
-        <module>deployment</module>
-        <module>runtime</module>
-    </modules>
-</project>
diff --git a/extensions/github/runtime/pom.xml 
b/extensions/github/runtime/pom.xml
deleted file mode 100644
index 49b6514ee9..0000000000
--- a/extensions/github/runtime/pom.xml
+++ /dev/null
@@ -1,69 +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.quarkus</groupId>
-        <artifactId>camel-quarkus-github-parent</artifactId>
-        <version>3.36.0-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
-    </parent>
-
-    <artifactId>camel-quarkus-github</artifactId>
-    <name>Camel Quarkus :: GitHub :: Runtime</name>
-
-    <properties>
-        <camel.quarkus.jvmSince>1.0.0</camel.quarkus.jvmSince>
-        <camel.quarkus.nativeSince>1.0.0</camel.quarkus.nativeSince>
-    </properties>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.camel.quarkus</groupId>
-            <artifactId>camel-quarkus-core</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.camel</groupId>
-            <artifactId>camel-github</artifactId>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>io.quarkus</groupId>
-                <artifactId>quarkus-extension-maven-plugin</artifactId>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <annotationProcessorPaths>
-                        <path>
-                            <groupId>io.quarkus</groupId>
-                            
<artifactId>quarkus-extension-processor</artifactId>
-                            <version>${quarkus.version}</version>
-                        </path>
-                    </annotationProcessorPaths>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-</project>
diff --git 
a/extensions/github/runtime/src/main/resources/META-INF/quarkus-extension.yaml 
b/extensions/github/runtime/src/main/resources/META-INF/quarkus-extension.yaml
deleted file mode 100644
index 79cce65c69..0000000000
--- 
a/extensions/github/runtime/src/main/resources/META-INF/quarkus-extension.yaml
+++ /dev/null
@@ -1,32 +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.
-#
-
-# This is a generated file. Do not edit directly!
-# To re-generate, run the following command from the top level directory:
-#
-#   mvn -N cq:update-quarkus-metadata
-#
----
-name: "Camel GitHub"
-description: "Interact with the GitHub API"
-metadata:
-  icon-url: 
"https://raw.githubusercontent.com/apache/camel-website/main/antora-ui-camel/src/img/logo-d.svg";
-  sponsor: "Apache Software Foundation"
-  guide: 
"https://camel.apache.org/camel-quarkus/latest/reference/extensions/github.html";
-  categories:
-  - "integration"
-  status: "deprecated"
diff --git a/extensions/pom.xml b/extensions/pom.xml
index f4d729ff8a..818a23c38c 100644
--- a/extensions/pom.xml
+++ b/extensions/pom.xml
@@ -120,7 +120,6 @@
         <module>ftp</module>
         <module>geocoder</module>
         <module>git</module>
-        <module>github</module>
         <module>google-bigquery</module>
         <module>google-calendar</module>
         <module>google-drive</module>
diff --git a/integration-tests/github/README.adoc 
b/integration-tests/github/README.adoc
deleted file mode 100644
index 1c155277e2..0000000000
--- a/integration-tests/github/README.adoc
+++ /dev/null
@@ -1,20 +0,0 @@
-== Camel Quarkus GitHub Integration Tests
-
-By default the GitHub integration tests use WireMock to stub the API 
interactions.
-
-To run the `camel-quarkus-github` integration tests against the real API, you 
must first create a 
https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token[GitHub
 token].
-
-Set the following environment variable:
-
-[source,shell]
-----
-export GITHUB_TOKEN=your-token
-----
-
-If the WireMock stub recordings need updating, then remove the existing files 
from `src/test/resources/mappings` and run tests with either:
-
-System property `-Dwiremock.record=true`
-
-Or
-
-Set environment variable `WIREMOCK_RECORD=true`
diff --git a/integration-tests/github/pom.xml b/integration-tests/github/pom.xml
deleted file mode 100644
index 33ce6c8d3a..0000000000
--- a/integration-tests/github/pom.xml
+++ /dev/null
@@ -1,116 +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.quarkus</groupId>
-        <artifactId>camel-quarkus-build-parent-it</artifactId>
-        <version>3.36.0-SNAPSHOT</version>
-        <relativePath>../../poms/build-parent-it/pom.xml</relativePath>
-    </parent>
-
-    <artifactId>camel-quarkus-integration-test-github</artifactId>
-    <name>Camel Quarkus :: Integration Tests :: GitHub</name>
-    <description>Integration tests for Camel Quarkus GitHub 
extension</description>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.camel.quarkus</groupId>
-            <artifactId>camel-quarkus-github</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>io.quarkus</groupId>
-            <artifactId>quarkus-resteasy</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.camel.quarkus</groupId>
-            <artifactId>camel-quarkus-integration-wiremock-support</artifactId>
-            <scope>test</scope>
-        </dependency>
-
-        <!-- test dependencies -->
-        <dependency>
-            <groupId>io.quarkus</groupId>
-            <artifactId>quarkus-junit</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>io.rest-assured</groupId>
-            <artifactId>rest-assured</artifactId>
-            <scope>test</scope>
-        </dependency>
-    </dependencies>
-
-
-    <profiles>
-        <profile>
-            <id>native</id>
-            <activation>
-                <property>
-                    <name>native</name>
-                </property>
-            </activation>
-            <properties>
-                <quarkus.native.enabled>true</quarkus.native.enabled>
-            </properties>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-failsafe-plugin</artifactId>
-                        <executions>
-                            <execution>
-                                <goals>
-                                    <goal>integration-test</goal>
-                                    <goal>verify</goal>
-                                </goals>
-                            </execution>
-                        </executions>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-        <profile>
-            <id>virtualDependencies</id>
-            <activation>
-                <property>
-                    <name>!noVirtualDependencies</name>
-                </property>
-            </activation>
-            <dependencies>
-                <!-- The following dependencies guarantee that this module is 
built after them. You can update them by running `mvn process-resources 
-Pformat -N` from the source tree root directory -->
-                <dependency>
-                    <groupId>org.apache.camel.quarkus</groupId>
-                    <artifactId>camel-quarkus-github-deployment</artifactId>
-                    <version>${project.version}</version>
-                    <type>pom</type>
-                    <scope>test</scope>
-                    <exclusions>
-                        <exclusion>
-                            <groupId>*</groupId>
-                            <artifactId>*</artifactId>
-                        </exclusion>
-                    </exclusions>
-                </dependency>
-            </dependencies>
-        </profile>
-    </profiles>
-
-</project>
diff --git 
a/integration-tests/github/src/main/java/org/apache/camel/quarkus/component/github/it/GithubResource.java
 
b/integration-tests/github/src/main/java/org/apache/camel/quarkus/component/github/it/GithubResource.java
deleted file mode 100644
index 19ae173302..0000000000
--- 
a/integration-tests/github/src/main/java/org/apache/camel/quarkus/component/github/it/GithubResource.java
+++ /dev/null
@@ -1,84 +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.quarkus.component.github.it;
-
-import java.net.URI;
-import java.net.URISyntaxException;
-import java.util.Optional;
-
-import jakarta.enterprise.event.Observes;
-import jakarta.inject.Inject;
-import jakarta.ws.rs.GET;
-import jakarta.ws.rs.Path;
-import jakarta.ws.rs.Produces;
-import jakarta.ws.rs.core.MediaType;
-import org.apache.camel.CamelContext;
-import org.apache.camel.ProducerTemplate;
-import org.apache.camel.component.github.GitHubConstants;
-import org.apache.camel.impl.event.CamelContextStartedEvent;
-import org.eclipse.egit.github.core.CommitFile;
-import org.eclipse.egit.github.core.client.GitHubClient;
-import org.eclipse.egit.github.core.service.DataService;
-import org.eclipse.egit.github.core.service.RepositoryService;
-import org.eclipse.microprofile.config.Config;
-import org.eclipse.microprofile.config.ConfigProvider;
-
-@Path("/github")
-public class GithubResource {
-
-    private static final String GITHUB_AUTH_PARAMS = 
"oauthToken={{env:GITHUB_TOKEN:}}";
-
-    @Inject
-    ProducerTemplate producerTemplate;
-
-    public void onContextStart(@Observes CamelContextStartedEvent event) {
-        Config config = ConfigProvider.getConfig();
-        Optional<String> wireMockUrl = config.getOptionalValue("wiremock.url", 
String.class);
-        if (wireMockUrl.isPresent()) {
-            // Force the GH client to use the WireMock proxy
-            try {
-                CamelContext context = event.getContext();
-                URI wireMockUri = new URI(wireMockUrl.get());
-                GitHubClient client = new GitHubClient(wireMockUri.getHost(), 
wireMockUri.getPort(), wireMockUri.getScheme()) {
-                    @Override
-                    protected String configureUri(String uri) {
-                        // Prevent the original impl adding an unwanted /v3 
path prefix
-                        return uri;
-                    }
-                };
-                DataService dataService = new DataService(client);
-                RepositoryService repositoryService = new 
RepositoryService(client);
-                
context.getRegistry().bind(GitHubConstants.GITHUB_DATA_SERVICE, dataService);
-                
context.getRegistry().bind(GitHubConstants.GITHUB_REPOSITORY_SERVICE, 
repositoryService);
-            } catch (URISyntaxException e) {
-                throw new RuntimeException(e);
-            }
-        }
-    }
-
-    @Path("/get")
-    @GET
-    @Produces(MediaType.TEXT_PLAIN)
-    public String getCamelQuarkusReadme() throws Exception {
-        CommitFile commitFile = new CommitFile();
-        commitFile.setSha("6195efafd0a8100795247e35942b5c61fea79267");
-
-        return producerTemplate.requestBody(
-                
"github:GETCOMMITFILE?repoOwner=apache&repoName=camel-quarkus&" + 
GITHUB_AUTH_PARAMS,
-                commitFile, String.class);
-    }
-}
diff --git 
a/integration-tests/github/src/test/java/org/apache/camel/quarkus/component/github/it/GithubIT.java
 
b/integration-tests/github/src/test/java/org/apache/camel/quarkus/component/github/it/GithubIT.java
deleted file mode 100644
index 594a486cd1..0000000000
--- 
a/integration-tests/github/src/test/java/org/apache/camel/quarkus/component/github/it/GithubIT.java
+++ /dev/null
@@ -1,24 +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.quarkus.component.github.it;
-
-import io.quarkus.test.junit.QuarkusIntegrationTest;
-
-@QuarkusIntegrationTest
-class GithubIT extends GithubTest {
-
-}
diff --git 
a/integration-tests/github/src/test/java/org/apache/camel/quarkus/component/github/it/GithubTest.java
 
b/integration-tests/github/src/test/java/org/apache/camel/quarkus/component/github/it/GithubTest.java
deleted file mode 100644
index 3eb2ffedc2..0000000000
--- 
a/integration-tests/github/src/test/java/org/apache/camel/quarkus/component/github/it/GithubTest.java
+++ /dev/null
@@ -1,38 +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.quarkus.component.github.it;
-
-import io.quarkus.test.common.QuarkusTestResource;
-import io.quarkus.test.junit.QuarkusTest;
-import io.restassured.RestAssured;
-import org.junit.jupiter.api.Test;
-
-import static org.hamcrest.Matchers.containsString;
-
-@QuarkusTest
-@QuarkusTestResource(GithubTestResource.class)
-class GithubTest {
-
-    @Test
-    public void test() {
-        RestAssured.get("/github/get")
-                .then()
-                .statusCode(200)
-                .body(containsString("Apache Camel extensions for Quarkus"));
-    }
-
-}
diff --git 
a/integration-tests/github/src/test/java/org/apache/camel/quarkus/component/github/it/GithubTestResource.java
 
b/integration-tests/github/src/test/java/org/apache/camel/quarkus/component/github/it/GithubTestResource.java
deleted file mode 100644
index 0bae719f31..0000000000
--- 
a/integration-tests/github/src/test/java/org/apache/camel/quarkus/component/github/it/GithubTestResource.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.quarkus.component.github.it;
-
-import 
org.apache.camel.quarkus.test.wiremock.WireMockTestResourceLifecycleManager;
-
-public class GithubTestResource extends WireMockTestResourceLifecycleManager {
-
-    private static final String GITHUB_ENV_TOKEN = "GITHUB_TOKEN";
-
-    @Override
-    protected String getRecordTargetBaseUrl() {
-        return "https://api.github.com";;
-    }
-
-    @Override
-    protected boolean isMockingEnabled() {
-        return !envVarsPresent(GITHUB_ENV_TOKEN);
-    }
-}
diff --git 
a/integration-tests/github/src/test/resources/mappings/githubGetRepository.json 
b/integration-tests/github/src/test/resources/mappings/githubGetRepository.json
deleted file mode 100644
index 30df6a2fe0..0000000000
--- 
a/integration-tests/github/src/test/resources/mappings/githubGetRepository.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
-  "id" : "85e3cc39-9d71-45a1-863c-7989052af075",
-  "name" : "repos_apache_camel-quarkus",
-  "request" : {
-    "url" : "/repos/apache/camel-quarkus",
-    "method" : "GET"
-  },
-  "response" : {
-    "status" : 200,
-    "body" : 
"{\"id\":193065376,\"node_id\":\"MDEwOlJlcG9zaXRvcnkxOTMwNjUzNzY=\",\"name\":\"camel-quarkus\",\"full_name\":\"apache/camel-quarkus\",\"private\":false,\"owner\":{\"login\":\"apache\",\"id\":47359,\"node_id\":\"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5\",\"avatar_url\":\"https://avatars.githubusercontent.com/u/47359?v=4\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/apache\",\"html_url\":\"https://github.com/apache\",\"followers_url\":\"https://api.github.com/users/apache/
 [...]
-    "headers" : {
-      "Server" : "GitHub.com",
-      "Date" : "Thu, 20 May 2021 10:38:18 GMT",
-      "Content-Type" : "application/json; charset=utf-8",
-      "Cache-Control" : "public, max-age=60, s-maxage=60",
-      "Vary" : "Accept, Accept-Encoding, Accept, X-Requested-With",
-      "ETag" : 
"W/\"7a87e6c15f634559e9085861786f1e47ae9949c046cd43a5f12af7b3cf813183\"",
-      "Last-Modified" : "Thu, 20 May 2021 03:40:17 GMT",
-      "X-GitHub-Media-Type" : "github.beta; format=json",
-      "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; 
preload",
-      "X-Frame-Options" : "deny",
-      "X-Content-Type-Options" : "nosniff",
-      "X-XSS-Protection" : "0",
-      "Referrer-Policy" : "origin-when-cross-origin, 
strict-origin-when-cross-origin",
-      "Content-Security-Policy" : "default-src 'none'",
-      "X-RateLimit-Limit" : "60",
-      "X-RateLimit-Remaining" : "58",
-      "X-RateLimit-Reset" : "1621510517",
-      "X-RateLimit-Resource" : "core",
-      "X-RateLimit-Used" : "2",
-      "Accept-Ranges" : "bytes",
-      "X-GitHub-Request-Id" : "A086:97B8:1BF790:1E9A3C:60A63C19"
-    }
-  },
-  "uuid" : "85e3cc39-9d71-45a1-863c-7989052af075",
-  "persistent" : true,
-  "insertionIndex" : 1
-}
\ No newline at end of file
diff --git 
a/integration-tests/github/src/test/resources/mappings/githubGetRepositoryFile.json
 
b/integration-tests/github/src/test/resources/mappings/githubGetRepositoryFile.json
deleted file mode 100644
index 7992089913..0000000000
--- 
a/integration-tests/github/src/test/resources/mappings/githubGetRepositoryFile.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
-  "id" : "b61eef33-a160-48e7-95e1-40349b7f5e1e",
-  "name" : 
"repos_apache_camel-quarkus_git_blobs_6195efafd0a8100795247e35942b5c61fea79267",
-  "request" : {
-    "url" : 
"/repos/apache/camel-quarkus/git/blobs/6195efafd0a8100795247e35942b5c61fea79267",
-    "method" : "GET"
-  },
-  "response" : {
-    "status" : 200,
-    "body" : 
"{\"sha\":\"6195efafd0a8100795247e35942b5c61fea79267\",\"node_id\":\"MDQ6QmxvYjE5MzA2NTM3Njo2MTk1ZWZhZmQwYTgxMDA3OTUyNDdlMzU5NDJiNWM2MWZlYTc5MjY3\",\"size\":1614,\"url\":\"https://api.github.com/repos/apache/camel-quarkus/git/blobs/6195efafd0a8100795247e35942b5c61fea79267\",\"content\":\"PSBBcGFjaGUgQ2FtZWwgZXh0ZW5zaW9ucyBmb3IgUXVhcmt1cwoKaW1hZ2U6\\naHR0cHM6Ly9pbWcuc2hpZWxkcy5pby9tYXZlbi1jZW50cmFsL3Yvb3JnLmFw\\nYWNoZS5jYW1lbC5xdWFya3VzL2NhbWVsLXF1YXJrdXMtYm9tLnN2Z1siTWF2\\nZ
 [...]
-    "headers" : {
-      "Server" : "GitHub.com",
-      "Date" : "Thu, 20 May 2021 10:38:31 GMT",
-      "Content-Type" : "application/json; charset=utf-8",
-      "Cache-Control" : "public, max-age=60, s-maxage=60",
-      "Vary" : "Accept, Accept-Encoding, Accept, X-Requested-With",
-      "ETag" : 
"W/\"f7af62dc21539a2acbc6159b8869ab60dccd4da5e92eeead36caddd9281d0ae3\"",
-      "X-GitHub-Media-Type" : "github.beta; format=json",
-      "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; 
preload",
-      "X-Frame-Options" : "deny",
-      "X-Content-Type-Options" : "nosniff",
-      "X-XSS-Protection" : "0",
-      "Referrer-Policy" : "origin-when-cross-origin, 
strict-origin-when-cross-origin",
-      "Content-Security-Policy" : "default-src 'none'",
-      "X-RateLimit-Limit" : "60",
-      "X-RateLimit-Remaining" : "57",
-      "X-RateLimit-Reset" : "1621510517",
-      "X-RateLimit-Resource" : "core",
-      "X-RateLimit-Used" : "3",
-      "Accept-Ranges" : "bytes",
-      "X-GitHub-Request-Id" : "A086:97B8:1BFAA5:1E9D8A:60A63C27"
-    }
-  },
-  "uuid" : "b61eef33-a160-48e7-95e1-40349b7f5e1e",
-  "persistent" : true,
-  "insertionIndex" : 2
-}
\ No newline at end of file
diff --git a/integration-tests/pom.xml b/integration-tests/pom.xml
index 18d8a55613..b63b9feae5 100644
--- a/integration-tests/pom.xml
+++ b/integration-tests/pom.xml
@@ -97,7 +97,6 @@
         <module>ftp</module>
         <module>geocoder</module>
         <module>git</module>
-        <module>github</module>
         <module>google</module>
         <module>google-bigquery</module>
         <module>google-pubsub</module>
diff --git a/poms/bom/pom.xml b/poms/bom/pom.xml
index 8f8c17fd43..7ff3680a03 100644
--- a/poms/bom/pom.xml
+++ b/poms/bom/pom.xml
@@ -4493,16 +4493,6 @@
                 <artifactId>camel-quarkus-git-deployment</artifactId>
                 <version>${camel-quarkus.version}</version>
             </dependency>
-            <dependency>
-                <groupId>org.apache.camel.quarkus</groupId>
-                <artifactId>camel-quarkus-github</artifactId>
-                <version>${camel-quarkus.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.camel.quarkus</groupId>
-                <artifactId>camel-quarkus-github-deployment</artifactId>
-                <version>${camel-quarkus.version}</version>
-            </dependency>
             <dependency>
                 <groupId>org.apache.camel.quarkus</groupId>
                 <artifactId>camel-quarkus-google-bigquery</artifactId>
diff --git a/tooling/scripts/test-categories.yaml 
b/tooling/scripts/test-categories.yaml
index 358a8eb9c2..e9f9f0ca3c 100644
--- a/tooling/scripts/test-categories.yaml
+++ b/tooling/scripts/test-categories.yaml
@@ -62,7 +62,6 @@ group-03:
   - elasticsearch-rest-client
   - foundation-grouped
   - freemarker
-  - github
   - google
   - jolokia
   - json-validator


Reply via email to