allegro-internal/flex-roadmap#687 Added compression properties to nod… #1029
Annotations
9 errors and 4 warnings
MetadataNodeGroupTest.should assign to group with all dependencies when outgoing-permissions is not enabled():
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/MetadataNodeGroupTest.kt#L143
org.opentest4j.AssertionFailedError:
expected:
AllServicesGroup(communicationMode=ADS, serviceName=, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[], rateLimitEndpoints=[], permissionsEnabled=false, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[ServiceDependency(service=a, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=b, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=c, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false)))], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=false, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=true, mergeSlashes=true, pathWithEscapedSlashesAction=KEEP_UNCHANGED), listenersConfig=null, compressionConfig=CompressionConfig(gzip=null, brotli=null))
but was:
AllServicesGroup(communicationMode=ADS, serviceName=, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[], rateLimitEndpoints=[], permissionsEnabled=false, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[ServiceDependency(service=a, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=b, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=c, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false)))], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=false, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=true, mergeSlashes=true, pathWithEscapedSlashesAction=KEEP_UNCHANGED), listenersConfig=null, compressionConfig=CompressionConfig(gzip=Compressor(enabled=false, quality=1), brotli=Compressor(enabled=false, quality=1)))
|
MetadataNodeGroupTest.should include service settings when incoming permissions are enabled for all dependencies():
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/MetadataNodeGroupTest.kt#L230
org.opentest4j.AssertionFailedError:
expected:
AllServicesGroup(communicationMode=XDS, serviceName=app1, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[IncomingEndpoint(path=/endpoint, pathMatchingType=PATH, methods=[], clients=[ClientWithSelector(name=client1, selector=null, negated=false)], unlistedClientsPolicy=BLOCKANDLOG, oauth=null)], rateLimitEndpoints=[], permissionsEnabled=true, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=true, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=true, mergeSlashes=true, pathWithEscapedSlashesAction=KEEP_UNCHANGED), listenersConfig=null, compressionConfig=CompressionConfig(gzip=null, brotli=null))
but was:
AllServicesGroup(communicationMode=XDS, serviceName=app1, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[IncomingEndpoint(path=/endpoint, pathMatchingType=PATH, methods=[], clients=[ClientWithSelector(name=client1, selector=null, negated=false)], unlistedClientsPolicy=BLOCKANDLOG, oauth=null)], rateLimitEndpoints=[], permissionsEnabled=true, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=true, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=true, mergeSlashes=true, pathWithEscapedSlashesAction=KEEP_UNCHANGED), listenersConfig=null, compressionConfig=CompressionConfig(gzip=Compressor(enabled=false, quality=1), brotli=Compressor(enabled=false, quality=1)))
|
MetadataNodeGroupTest.should assign to group with all dependencies on ads():
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/MetadataNodeGroupTest.kt#L105
org.opentest4j.AssertionFailedError:
expected:
AllServicesGroup(communicationMode=ADS, serviceName=, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[], rateLimitEndpoints=[], permissionsEnabled=false, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=true, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=true, mergeSlashes=true, pathWithEscapedSlashesAction=KEEP_UNCHANGED), listenersConfig=null, compressionConfig=CompressionConfig(gzip=null, brotli=null))
but was:
AllServicesGroup(communicationMode=ADS, serviceName=, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[], rateLimitEndpoints=[], permissionsEnabled=false, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=true, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=true, mergeSlashes=true, pathWithEscapedSlashesAction=KEEP_UNCHANGED), listenersConfig=null, compressionConfig=CompressionConfig(gzip=Compressor(enabled=false, quality=1), brotli=Compressor(enabled=false, quality=1)))
|
MetadataNodeGroupTest.should assign to group with all dependencies():
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/MetadataNodeGroupTest.kt#L43
org.opentest4j.AssertionFailedError:
expected:
AllServicesGroup(communicationMode=XDS, serviceName=, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[], rateLimitEndpoints=[], permissionsEnabled=false, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[ServiceDependency(service=a, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=b, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=c, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false)))], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=true, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=true, mergeSlashes=true, pathWithEscapedSlashesAction=KEEP_UNCHANGED), listenersConfig=null, compressionConfig=CompressionConfig(gzip=null, brotli=null))
but was:
AllServicesGroup(communicationMode=XDS, serviceName=, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[], rateLimitEndpoints=[], permissionsEnabled=false, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[ServiceDependency(service=a, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=b, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=c, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false)))], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=true, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=true, mergeSlashes=true, pathWithEscapedSlashesAction=KEEP_UNCHANGED), listenersConfig=null, compressionConfig=CompressionConfig(gzip=Compressor(enabled=false, quality=1), brotli=Compressor(enabled=false, quality=1)))
|
MetadataNodeGroupTest.should not include service settings when incoming permissions are disabled():
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/MetadataNodeGroupTest.kt#L168
org.opentest4j.AssertionFailedError:
expected:
ServicesGroup(communicationMode=XDS, serviceName=app1, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[], rateLimitEndpoints=[], permissionsEnabled=false, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[ServiceDependency(service=a, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=b, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=c, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false)))], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=false, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=true, mergeSlashes=true, pathWithEscapedSlashesAction=KEEP_UNCHANGED), listenersConfig=null, compressionConfig=CompressionConfig(gzip=null, brotli=null))
but was:
ServicesGroup(communicationMode=XDS, serviceName=app1, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[], rateLimitEndpoints=[], permissionsEnabled=false, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[ServiceDependency(service=a, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=b, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=c, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false)))], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=false, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=true, mergeSlashes=true, pathWithEscapedSlashesAction=KEEP_UNCHANGED), listenersConfig=null, compressionConfig=CompressionConfig(gzip=Compressor(enabled=false, quality=1), brotli=Compressor(enabled=false, quality=1)))
|
MetadataNodeGroupTest.should assign to group with no dependencies():
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/MetadataNodeGroupTest.kt#L67
org.opentest4j.AssertionFailedError:
expected:
ServicesGroup(communicationMode=XDS, serviceName=, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[], rateLimitEndpoints=[], permissionsEnabled=false, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=false, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=true, mergeSlashes=true, pathWithEscapedSlashesAction=KEEP_UNCHANGED), listenersConfig=null, compressionConfig=CompressionConfig(gzip=null, brotli=null))
but was:
ServicesGroup(communicationMode=XDS, serviceName=, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[], rateLimitEndpoints=[], permissionsEnabled=false, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=false, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=true, mergeSlashes=true, pathWithEscapedSlashesAction=KEEP_UNCHANGED), listenersConfig=null, compressionConfig=CompressionConfig(gzip=Compressor(enabled=false, quality=1), brotli=Compressor(enabled=false, quality=1)))
|
MetadataNodeGroupTest.should assign to group with listed dependencies on ads():
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/MetadataNodeGroupTest.kt#L124
org.opentest4j.AssertionFailedError:
expected:
ServicesGroup(communicationMode=ADS, serviceName=, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[], rateLimitEndpoints=[], permissionsEnabled=false, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[ServiceDependency(service=a, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=b, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=c, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false)))], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=false, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=true, mergeSlashes=true, pathWithEscapedSlashesAction=KEEP_UNCHANGED), listenersConfig=null, compressionConfig=CompressionConfig(gzip=null, brotli=null))
but was:
ServicesGroup(communicationMode=ADS, serviceName=, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[], rateLimitEndpoints=[], permissionsEnabled=false, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[ServiceDependency(service=a, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=b, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=c, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false)))], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=false, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=true, mergeSlashes=true, pathWithEscapedSlashesAction=KEEP_UNCHANGED), listenersConfig=null, compressionConfig=CompressionConfig(gzip=Compressor(enabled=false, quality=1), brotli=Compressor(enabled=false, quality=1)))
|
MetadataNodeGroupTest.should include service settings when incoming permissions are enabled():
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/MetadataNodeGroupTest.kt#L208
org.opentest4j.AssertionFailedError:
expected:
ServicesGroup(communicationMode=ADS, serviceName=app1, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[IncomingEndpoint(path=/endpoint, pathMatchingType=PATH, methods=[], clients=[ClientWithSelector(name=client1, selector=null, negated=false)], unlistedClientsPolicy=BLOCKANDLOG, oauth=null)], rateLimitEndpoints=[], permissionsEnabled=true, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[ServiceDependency(service=a, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=b, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false)))], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=false, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=true, mergeSlashes=true, pathWithEscapedSlashesAction=KEEP_UNCHANGED), listenersConfig=null, compressionConfig=CompressionConfig(gzip=null, brotli=null))
but was:
ServicesGroup(communicationMode=ADS, serviceName=app1, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[IncomingEndpoint(path=/endpoint, pathMatchingType=PATH, methods=[], clients=[ClientWithSelector(name=client1, selector=null, negated=false)], unlistedClientsPolicy=BLOCKANDLOG, oauth=null)], rateLimitEndpoints=[], permissionsEnabled=true, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[ServiceDependency(service=a, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=b, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false)))], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=false, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=true, mergeSlashes=true, pathWithEscapedSlashesAction=KEEP_UNCHANGED), listenersConfig=null, compressionConfig=CompressionConfig(gzip=Compressor(enabled=false, quality=1), brotli=Compressor(enabled=false, quality=1)))
|
MetadataNodeGroupTest.should assign to group with listed dependencies():
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/MetadataNodeGroupTest.kt#L86
org.opentest4j.AssertionFailedError:
expected:
ServicesGroup(communicationMode=XDS, serviceName=, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[], rateLimitEndpoints=[], permissionsEnabled=false, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[ServiceDependency(service=a, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=b, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=c, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false)))], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=false, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=true, mergeSlashes=true, pathWithEscapedSlashesAction=KEEP_UNCHANGED), listenersConfig=null, compressionConfig=CompressionConfig(gzip=null, brotli=null))
but was:
ServicesGroup(communicationMode=XDS, serviceName=, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[], rateLimitEndpoints=[], permissionsEnabled=false, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[ServiceDependency(service=a, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=b, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=c, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false)))], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=false, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=true, mergeSlashes=true, pathWithEscapedSlashesAction=KEEP_UNCHANGED), listenersConfig=null, compressionConfig=CompressionConfig(gzip=Compressor(enabled=false, quality=1), brotli=Compressor(enabled=false, quality=1)))
|
resilence_test
The following actions uses node12 which is deprecated and will be forced to run on node16: mikepenz/action-junit-report@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
resilence_test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, gradle/wrapper-validation-action@v1, actions/setup-java@v3, actions/cache@v3, mikepenz/action-junit-report@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
resilence_test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
resilence_test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|