Skip to content

Commit e2e45b8

Browse files
committed
Fix property names
1 parent 48b40d4 commit e2e45b8

4 files changed

Lines changed: 5 additions & 6 deletions

File tree

src/main/java/eu/openanalytics/containerproxy/backend/strategy/impl/DefaultProxyLogoutStrategy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* Default logout behaviour: stop all proxies owned by the user.
3434
*/
3535
@Component
36-
@ConditionalOnProperty(name = "proxy.stop_proxies_on_logout", havingValue = "true", matchIfMissing = true)
36+
@ConditionalOnProperty(name = "proxy.stop-proxies-on-logout", havingValue = "true", matchIfMissing = true)
3737
public class DefaultProxyLogoutStrategy implements IProxyLogoutStrategy {
3838

3939
@Inject

src/main/java/eu/openanalytics/containerproxy/backend/strategy/impl/NoOpProxyLogoutStrategy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* No-op logout behaviour : do nothing on logout of user
2929
*/
3030
@Component
31-
@ConditionalOnProperty(name = "proxy.stop_proxies_on_logout", havingValue = "false")
31+
@ConditionalOnProperty(name = "proxy.stop-proxies-on-logout", havingValue = "false")
3232
public class NoOpProxyLogoutStrategy implements IProxyLogoutStrategy {
3333

3434
@Override

src/main/java/eu/openanalytics/containerproxy/service/AppRecoveryService.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
import org.springframework.stereotype.Service;
4343

4444
import javax.inject.Inject;
45-
import javax.ws.rs.HEAD;
4645
import java.util.HashMap;
4746
import java.util.Map;
4847

@@ -54,8 +53,8 @@
5453
@Service
5554
public class AppRecoveryService {
5655

57-
protected static final String PROPERTY_RECOVER_RUNNING_PROXIES = "proxy.recover_running_proxies";
58-
protected static final String PROPERTY_RECOVER_RUNNING_PROXIES_FROM_DIFFERENT_CONFIG = "proxy.recover_running_proxies_from_different_config";
56+
protected static final String PROPERTY_RECOVER_RUNNING_PROXIES = "proxy.recover-running-proxies";
57+
protected static final String PROPERTY_RECOVER_RUNNING_PROXIES_FROM_DIFFERENT_CONFIG = "proxy.recover-running-proxies-from-different-config";
5958

6059
private final Logger log = LogManager.getLogger(AppRecoveryService.class);
6160

src/main/java/eu/openanalytics/containerproxy/service/ProxyService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public class ProxyService {
106106

107107
private boolean stopAppsOnShutdown;
108108

109-
private static final String PROPERTY_STOP_PROXIES_ON_SHUTDOWN = "proxy.stop_proxies_on_shutdown";
109+
private static final String PROPERTY_STOP_PROXIES_ON_SHUTDOWN = "proxy.stop-proxies-on-shutdown";
110110

111111
@PostConstruct
112112
public void init() {

0 commit comments

Comments
 (0)