Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
chillleader committed May 2, 2024
1 parent dd5e308 commit 6b8cca4
Showing 1 changed file with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,16 @@ public CamundaOperateClient camundaOperateClientBundle(
OperateClientConfigurationProperties operateProperties, JsonMapper jsonMapper) {

var jwtConfig = new JwtConfig();
var jwtCredential = new JwtCredential(internalSecretProvider.getSecret(SECRET_NAME_CLIENT_ID),
internalSecretProvider.getSecret(SECRET_NAME_SECRET), operateProperties.getBaseUrl(),
operateProperties.getAuthUrl());
var jwtCredential =
new JwtCredential(
internalSecretProvider.getSecret(SECRET_NAME_CLIENT_ID),
internalSecretProvider.getSecret(SECRET_NAME_SECRET),
operateProperties.getBaseUrl(),
operateProperties.getAuthUrl());
jwtConfig.addProduct(Product.OPERATE, jwtCredential);

var authentication = new SaaSAuthenticationBuilder()
.withJwtConfig(jwtConfig)
.withJsonMapper(jsonMapper)
.build();
var authentication =
new SaaSAuthenticationBuilder().withJwtConfig(jwtConfig).withJsonMapper(jsonMapper).build();

return CamundaOperateClient.builder()
.operateUrl(operateUrl)
Expand Down

0 comments on commit 6b8cca4

Please sign in to comment.