File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
bundle/mvn/camunda-saas-bundle/src/main
java/io/camunda/connector/runtime Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 2424import org .slf4j .Logger ;
2525import org .slf4j .LoggerFactory ;
2626import org .springframework .beans .factory .annotation .Autowired ;
27- import org .springframework .boot .autoconfigure . condition . ConditionalOnProperty ;
27+ import org .springframework .boot .context . properties . EnableConfigurationProperties ;
2828import org .springframework .context .annotation .Bean ;
2929import org .springframework .context .annotation .Configuration ;
3030import org .springframework .context .annotation .Primary ;
31+ import org .springframework .context .annotation .Profile ;
3132
3233@ Configuration
3334@ Primary
34- @ ConditionalOnProperty (value = "operate.client.enabled" , havingValue = "true" )
35+ @ Profile ("!dev" )
36+ @ EnableConfigurationProperties (OperateClientConfigurationProperties .class )
3537public class SaaSOperateClientFactory {
3638
3739 private static final Logger LOG = LoggerFactory .getLogger (SaaSOperateClientFactory .class );
Original file line number Diff line number Diff line change @@ -17,5 +17,5 @@ camunda.connector.auth.issuer=https://weblogin.cloud.dev.ultrawombat.com/
1717# Enforce local connection, even if cluster-id set (for Operate Auth)
1818zeebe.client.connection-mode =ADDRESS
1919
20- # Enable operate client and secret provider initialization
21- operate.client.enabled =true
20+ # Enable operate client and secret provider initialization. Must be disabled (set to false) to avoid creating the default operate client bean.
21+ operate.client.enabled =false
You can’t perform that action at this time.
0 commit comments