Skip to content

Commit

Permalink
feat: add zeebe self managed props
Browse files Browse the repository at this point in the history
(cherry picked from commit 17fcadd)
  • Loading branch information
1nb0und committed Dec 25, 2023
1 parent 803fbd6 commit f8060d6
Showing 1 changed file with 43 additions and 0 deletions.
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;
}
}

0 comments on commit f8060d6

Please sign in to comment.