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.git


The following commit(s) were added to refs/heads/main by this push:
     new f02b49e1a7c3 chore: camel-zendesk - fix the environment variable names 
of the integration test setup (#28988)
f02b49e1a7c3 is described below

commit f02b49e1a7c3f18e01f5f8877ed4937d27f3d740
Author: Claus Ibsen <[email protected]>
AuthorDate: Mon Nov 2 22:33:33 2026 +0100

    chore: camel-zendesk - fix the environment variable names of the 
integration test setup (#28988)
    
    ENV_ZENDESK_USERNAME was "ZENDESK_SERVER_URL", so setting the server URL in 
the
    environment also set it as the username, and the password, token and OAuth
    token constants held property-style names (zendesk.password, ...) that 
cannot be
    used as environment variables. They are now ZENDESK_USERNAME, 
ZENDESK_PASSWORD,
    ZENDESK_TOKEN and ZENDESK_OAUTH_TOKEN.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    Signed-off-by: Claus Ibsen <[email protected]>
---
 .../camel/component/zendesk/AbstractZendeskTestSupport.java       | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/components/camel-zendesk/src/test/java/org/apache/camel/component/zendesk/AbstractZendeskTestSupport.java
 
b/components/camel-zendesk/src/test/java/org/apache/camel/component/zendesk/AbstractZendeskTestSupport.java
index 36347199c12c..f4f40bd52371 100644
--- 
a/components/camel-zendesk/src/test/java/org/apache/camel/component/zendesk/AbstractZendeskTestSupport.java
+++ 
b/components/camel-zendesk/src/test/java/org/apache/camel/component/zendesk/AbstractZendeskTestSupport.java
@@ -43,10 +43,10 @@ public class AbstractZendeskTestSupport extends 
CamelTestSupport {
     public static final String SYSPROP_ZENDESK_TOKEN = "zendesk.token";
     public static final String SYSPROP_ZENDESK_OAUTH_TOKEN = 
"zendesk.oauthToken";
     public static final String ENV_ZENDESK_SERVER_URL = "ZENDESK_SERVER_URL";
-    public static final String ENV_ZENDESK_USERNAME = "ZENDESK_SERVER_URL";
-    public static final String ENV_ZENDESK_PASSWORD = "zendesk.password";
-    public static final String ENV_ZENDESK_TOKEN = "zendesk.token";
-    public static final String ENV_ZENDESK_OAUTH_TOKEN = "zendesk.oauthToken";
+    public static final String ENV_ZENDESK_USERNAME = "ZENDESK_USERNAME";
+    public static final String ENV_ZENDESK_PASSWORD = "ZENDESK_PASSWORD";
+    public static final String ENV_ZENDESK_TOKEN = "ZENDESK_TOKEN";
+    public static final String ENV_ZENDESK_OAUTH_TOKEN = "ZENDESK_OAUTH_TOKEN";
 
     private static Properties loadProperties() {
         return 
TestSupport.loadExternalPropertiesQuietly(AbstractZendeskTestSupport.class, 
TEST_OPTIONS_PROPERTIES);

Reply via email to