-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(cherry picked from commit 17fcadd)
- Loading branch information
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
...a/src/main/java/io/camunda/zeebe/spring/client/properties/ZeebeSelfManagedProperties.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
package io.camunda.zeebe.spring.client.properties; | ||
|
||
import org.springframework.beans.factory.annotation.Value; | ||
import org.springframework.boot.context.properties.ConfigurationProperties; | ||
|
||
@ConfigurationProperties(prefix = "zeebe") | ||
public class ZeebeSelfManagedProperties { | ||
|
||
@Value("${zeebe.authorization.server.url:#{null}}") | ||
private String authServer; | ||
|
||
@Value("${zeebe.client.id:#{null}}") | ||
private String clientId; | ||
|
||
@Value("${zeebe.client.secret:#{null}}") | ||
private String clientSecret; | ||
|
||
@Value("${zeebe.token.audience:#{null}}") | ||
private String audience; | ||
|
||
@Value("${zeebe.client.broker.gatewayAddress:#{null}}") | ||
private String gatewayAddress; | ||
|
||
public String getAuthServer() { | ||
return authServer; | ||
} | ||
|
||
public String getClientId() { | ||
return clientId; | ||
} | ||
|
||
public String getClientSecret() { | ||
return clientSecret; | ||
} | ||
|
||
public String getAudience() { | ||
return audience; | ||
} | ||
|
||
public String getGatewayAddress() { | ||
return gatewayAddress; | ||
} | ||
} |