Skip to content

Conversation

jmigueprieto
Copy link
Contributor

@jmigueprieto jmigueprieto commented Jan 4, 2025

Pull Request type

  • Bugfix
  • Feature
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • WHOSUSING.md
  • Other (please describe):

Changes in this PR

Added support for:

  • CONDUCTOR_SERVER_URL
  • CONDUCTOR_AUTH_KEY
  • CONDUCTOR_AUTH_SECRET

Same env variables used in Python and Go SDK. Env variables are used when:

(1) Creating a new instance of ApiClient (Orkes Client) with its no-args constructor. E.g.:

var client = new ApiClient();

(2) Creating a new instance of ConductorClient or ApiClient with useEnvVariables(true). E.g.:

var client = ConductorClient.builder()
            .useEnvVariables(true)
            .build()

@jmigueprieto jmigueprieto self-assigned this Jan 4, 2025
@jmigueprieto jmigueprieto force-pushed the feature/java-orkes-client-uses-env-vars branch from 0f5807a to e89d2a2 Compare January 6, 2025 18:50
- Make ApiClient env variable support backwards compatible
@jmigueprieto jmigueprieto changed the title (WIP) Unify environment variable usage Unify environment variable usage Jan 6, 2025
@jmigueprieto jmigueprieto marked this pull request as ready for review January 6, 2025 20:05
@jmigueprieto jmigueprieto merged commit 12b483c into main Jan 6, 2025
10 checks passed
@jmigueprieto jmigueprieto deleted the feature/java-orkes-client-uses-env-vars branch January 6, 2025 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants