Skip to content

Commit

Permalink
merge: #13748
Browse files Browse the repository at this point in the history
13748: [Backport stable/8.2] refactor(gateway): remove responsiveness indicator r=github-actions[bot] a=backport-action

# Description
Backport of #13685 to `stable/8.2`.

relates to #13431 #11799
original author: `@megglos`

Co-authored-by: Meggle (Sebastian Bathke) <[email protected]>
  • Loading branch information
zeebe-bors-camunda[bot] and megglos authored Aug 1, 2023
2 parents d84c398 + cba181c commit 4a565ad
Show file tree
Hide file tree
Showing 14 changed files with 8 additions and 1,050 deletions.
4 changes: 2 additions & 2 deletions dist/src/main/resources/application-gateway.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ management.endpoint.health.group.startup.include=gatewayStarted
management.endpoint.health.group.startup.show-details=never
management.endpoint.health.group.readiness.include=gatewayStarted
management.endpoint.health.group.readiness.show-details=never
management.endpoint.health.group.liveness.include=livenessGatewayResponsive,\
livenessGatewayClusterAwareness,livenessGatewayPartitionLeaderAwareness,livenessMemory
management.endpoint.health.group.liveness.include=livenessGatewayClusterAwareness,\
livenessGatewayPartitionLeaderAwareness,livenessMemory
management.endpoint.health.group.liveness.show-details=always
11 changes: 6 additions & 5 deletions gateway/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,12 @@
<scope>test</scope>
</dependency>

<dependency>
<groupId>io.camunda</groupId>
<artifactId>zeebe-client-java</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down Expand Up @@ -263,11 +269,6 @@
<artifactId>spring-boot-actuator-autoconfigure</artifactId>
</dependency>

<dependency>
<groupId>io.camunda</groupId>
<artifactId>zeebe-client-java</artifactId>
</dependency>

<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-transport</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,13 @@ public class GatewayCfg {
private SecurityCfg security = new SecurityCfg();
private LongPollingCfg longPolling = new LongPollingCfg();
private List<InterceptorCfg> interceptors = new ArrayList<>();
private boolean initialized = false;

public void init() {
init(ConfigurationDefaults.DEFAULT_HOST);
}

public void init(final String defaultHost) {
network.init(defaultHost);
initialized = true;
}

public boolean isInitialized() {
return initialized;
}

public NetworkCfg getNetwork() {
Expand Down

This file was deleted.

Loading

0 comments on commit 4a565ad

Please sign in to comment.