You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2020/11/18 11:20:49 UTC
[camel-quarkus] branch master updated: Fix github itest to use
oauth token instead username/password
This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/master by this push:
new b80e1a0 Fix github itest to use oauth token instead username/password
b80e1a0 is described below
commit b80e1a0854324807a3e24ef5e6709b7e91aee875
Author: Lukas Lowinger <ll...@redhat.com>
AuthorDate: Mon Nov 16 18:55:14 2020 +0100
Fix github itest to use oauth token instead username/password
---
.../org/apache/camel/quarkus/component/github/it/GithubResource.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
index 6c510a5..0d9f50a 100644
--- 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
@@ -28,7 +28,7 @@ import org.eclipse.egit.github.core.CommitFile;
@Path("/github")
public class GithubResource {
- private static final String GITHUB_AUTH_PARAMS = "username={{env:GITHUB_USERNAME:}}&password={{env:GITHUB_PASSWORD:}}";
+ private static final String GITHUB_AUTH_PARAMS = "oauthToken={{env:GITHUB_TOKEN:}}";
@Inject
ProducerTemplate producerTemplate;