Skip to content

Commit

Permalink
GH2883 rename and inverse default value of feature flag
Browse files Browse the repository at this point in the history
Signed-off-by: alexandr cumarav <[email protected]>
  • Loading branch information
cumarav committed Aug 31, 2023
1 parent 9a13429 commit c19e2c4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@
* maxSimultaneousRequests: - default value 20
* clientKeystore: - default value null
* clientKeystorePassword: - default value null
* enableServiceRegistry: - default value false
* serviceRegistryEnabled: - default value false
* </pre>
*/
@EnableScheduling
@Slf4j
@Component
@ConditionalOnExpression("${apiml.cloudGateway.enableServiceRegistry:false}")
@ConditionalOnExpression("${apiml.cloudGateway.serviceRegistryEnabled:false}")
@RequiredArgsConstructor
public class GatewayScanJob {
public static final String GATEWAY_SERVICE_ID = "GATEWAY";
Expand Down
2 changes: 1 addition & 1 deletion cloud-gateway-service/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ apiml:
ssl:
nonStrictVerifySslCertificatesOfServices: true
cloudGateway:
enableServiceRegistry:
serviceRegistryEnabled: false

server:
port: ${apiml.service.port}
Expand Down
2 changes: 1 addition & 1 deletion cloud-gateway-service/src/test/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ apiml:
corsEnabled: true
ignoredHeadersWhenCorsEnabled: Access-Control-Request-Method,Access-Control-Request-Headers,Access-Control-Allow-Origin,Access-Control-Allow-Methods,Access-Control-Allow-Headers,Access-Control-Allow-Credentials,Origin
cloudGateway:
enableServiceRegistry: false
serviceRegistryEnabled: false
server:
port: ${apiml.service.port}
ssl:
Expand Down

0 comments on commit c19e2c4

Please sign in to comment.