instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
spring-cloud__spring-cloud-kubernetes__655
spring-cloud/spring-cloud-kubernetes
655
defect
11601b2d0ba784c1221dbb53b3a3107ed71792db
fcb71925679d375ac09ab2343af40df0a8221a9e
Support Kafka for Spring Cloud Kubernetes Configuration Watcher, Issue 654
Fixes #654 - Adds Kafka Integration for Configuration Watcher. - Adds bus profiles specific to spring cloud bus support for amqp/kafka allowing the user to choose between these implementations. - Updates to Readme. - Adds kind integration tests for Kafka Based Configuration Refresh - Updates to spring-cloud-ku...
diff --git a/docs/src/main/asciidoc/spring-cloud-kubernetes-configuration-watcher.adoc b/docs/src/main/asciidoc/spring-cloud-kubernetes-configuration-watcher.adoc index d1f737d9e5..cdffc83efa 100644 --- a/docs/src/main/asciidoc/spring-cloud-kubernetes-configuration-watcher.adoc +++ b/docs/src/main/asciidoc/spring-cloud...
2
2
2
[{"id": "G0", "claim": "The kafka-deployment.yaml integration-test deployment should pin the kafka container image to a specific tag instead of wurstmeister/kafka:latest, which can change out from under us.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "clai...
null
spring-cloud__spring-cloud-kubernetes__663
spring-cloud/spring-cloud-kubernetes
663
defect
22aa32b1878b24eec12d12af0e354c6c8c7a889b
bfa138f7a43e06865b5fc910f83389fd9ef2745c
fix a bug when there are more than one ports
fix a bug when there are more than one ports in a k8s service. for example, if there are 2 ports in my service, one for the tomcat named default, one for other purpose named other The request can be only send to the default port. so, I have a config 'ribbon.PortName=default' which will be set in the KubernetesSe...
diff --git a/spring-cloud-kubernetes-ribbon/src/main/java/org/springframework/cloud/kubernetes/ribbon/KubernetesServicesServerList.java b/spring-cloud-kubernetes-ribbon/src/main/java/org/springframework/cloud/kubernetes/ribbon/KubernetesServicesServerList.java index 5d0d6a6942..fda5d587be 100644 --- a/spring-cloud-kube...
2
1
1
[{"id": "G0", "claim": "The port filter should read `if (Utils.isNotNullOrEmpty(this.getPortName()) && this.getPortName().endsWith(servicePort.getName()))` instead of the pull request's `isNullOrEmpty || endsWith`.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1",...
null
spring-cloud__spring-cloud-kubernetes__766
spring-cloud/spring-cloud-kubernetes
766
defect
7d91e64ffee3c20ba24f123c30104838ca26e748
76d7454c15fbf4dcb8e085af6e913a4e0e1ac2c8
Initialize DiscoveryClient
Fixes #517
diff --git a/spring-cloud-kubernetes-client-discovery/src/main/java/org/springframework/cloud/kubernetes/client/discovery/KubernetesDiscoveryClientAutoConfiguration.java b/spring-cloud-kubernetes-client-discovery/src/main/java/org/springframework/cloud/kubernetes/client/discovery/KubernetesDiscoveryClientAutoConfigurat...
1
1
0
[{"id": "G0", "claim": "If the KubernetesDiscoveryClientHealthIndicatorInitializer bean implemented InitializingBean, the @Bean method would not need to call initialize() explicitly.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
spring-cloud__spring-cloud-kubernetes__807
spring-cloud/spring-cloud-kubernetes
807
defect
7d40a449fce237381185d7674915fb1ca60b3b5b
83fe26ada3b2a081736dac531e866b5c868f9953
#778 Support property 'spring.config.activate.on-profile'.
Support property 'spring.config.activate.on-profile' introduced with Spring Boot 2.4 Fixes #778
diff --git a/spring-cloud-kubernetes-commons/src/main/java/org/springframework/cloud/kubernetes/commons/config/Constants.java b/spring-cloud-kubernetes-commons/src/main/java/org/springframework/cloud/kubernetes/commons/config/Constants.java index bd98ab3edb..81d57329c7 100644 --- a/spring-cloud-kubernetes-commons/src/m...
1
1
1
[{"id": "G0", "claim": "The pull request should add some unit tests for its change.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
spring-cloud__spring-cloud-kubernetes__845
spring-cloud/spring-cloud-kubernetes
845
defect
5c13b9bd637b71c863471cf27567c2f68494d7c0
229d1917dd827d605ecaca41e07503fbe07458a4
fix duplicate properties coming from different config maps
I have only started the work here, so it will stay as Draft for a while
diff --git a/docs/src/main/asciidoc/property-source-config.adoc b/docs/src/main/asciidoc/property-source-config.adoc index 3c1fb7f0f3..1ccff78cc4 100644 --- a/docs/src/main/asciidoc/property-source-config.adoc +++ b/docs/src/main/asciidoc/property-source-config.adoc @@ -268,6 +268,135 @@ spec: ---- ==== +You could ...
2
2
0
[{"id": "G0", "claim": "The compatibility-retained Source.normalize(String, String) method should be marked deprecated.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The compatibility-retained NormalizedSource(String, String) constructor should...
null
spring-cloud__spring-cloud-kubernetes__95
spring-cloud/spring-cloud-kubernetes
95
defect
34fd794ecdbc25d2a80e6e3f4b47db1d05bbf261
90f9f28acad854fea91768f0cd7cdc2a7ee92c84
Add java test case covering Ribbon where 3 scenario are played.
Add java test case covering Ribbon where 3 scenario are played. - Register a kubernetes endpoint and call using Ribbon Client discovery the mock endpoint - Unregister kubernetes endpoint and can't call the mock endpoint as the ribbon list is empty - Re register again the kubernetes endpoint and call using Ribbon C...
diff --git a/spring-cloud-kubernetes-ribbon/pom.xml b/spring-cloud-kubernetes-ribbon/pom.xml index 456904b09d..b42d5b134c 100644 --- a/spring-cloud-kubernetes-ribbon/pom.xml +++ b/spring-cloud-kubernetes-ribbon/pom.xml @@ -120,6 +120,7 @@ <dependency> <groupId>io.fabric8</groupId> <artifactId>mockwebserver</...
1
1
0
[{"id": "G0", "claim": "The mockwebserver version hardcoded in the ribbon module's pom.xml should be moved to the central place where versions and properties are kept.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
spring-cloud__spring-cloud-netflix__1221
spring-cloud/spring-cloud-netflix
1,221
defect
8b911e6074656252cdcafb85d567dd3f9bf19962
b1ec12af43204622cec6385a764b6e5c6ab6648a
Make Hystrix Thread Pool available while using Zuul
This PR adds a new property in ZuulProperties: ribbonIsolationStrategy to change default isolation (Semaphore) to thread. fixes gh-339
diff --git a/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/zuul/ZuulProxyConfiguration.java b/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/zuul/ZuulProxyConfiguration.java index 4ac23b6d4f..8b8b8c9059 100644 --- a/spring-cloud-netflix-core/src/main/java/org/sprin...
7
4
0
[{"id": "G0", "claim": "M001 questions what the null-guarded Content-Length block in AbstractRibbonCommand.run() is for, and M003 states this whole code is unnecessary since RibbonCommandContext's constructor already has the headers, so content length should probably be retrieved at that point instead.", "category": "d...
null
spring-cloud__spring-cloud-netflix__1349
spring-cloud/spring-cloud-netflix
1,349
defect
85eab87dce2ae0d20b08e677c9b321dfa3f3898a
7f2b9afe90772038b3975c685318cb75d80e6fb5
Use statusPage/healthCheckUrlPath w/ custom management.port
Fixes gh-1348 Take into account the `statusPageUrlPath` and `healthCheckUrlPath` values when building `statusPageUrl` and `healthCheckUrl`.
diff --git a/spring-cloud-netflix-eureka-client/src/main/java/org/springframework/cloud/netflix/eureka/EurekaClientAutoConfiguration.java b/spring-cloud-netflix-eureka-client/src/main/java/org/springframework/cloud/netflix/eureka/EurekaClientAutoConfiguration.java index 8378efc81f..6c65041188 100644 --- a/spring-cloud-...
1
1
1
[{"id": "G0", "claim": "The new eureka.instance.statusPageUrlPath/healthCheckUrlPath properties are read with @Value, which does not take relaxed binding into account, so valid forms such as eureka.instance.status-page-url-path and the uppercase environment variable would not resolve; a RelaxedPropertyResolver should b...
null
spring-cloud__spring-cloud-netflix__1361
spring-cloud/spring-cloud-netflix
1,361
defect
be6f2634b5fe4a0433d610a29e996e05d12cdd56
76fa92cb8fa79080b40f9a48eaf3baee8e477a64
Issue 1360 - Support header map and query map
https://github.com/spring-cloud/spring-cloud-netflix/issues/1360
diff --git a/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/feign/AnnotatedParameterProcessor.java b/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/feign/AnnotatedParameterProcessor.java index acfccef0c3..ee150d072f 100644 --- a/spring-cloud-netflix-core/src/main/ja...
3
2
1
[{"id": "G0", "claim": "Ryan asks whether some documentation of the new header-map and query-map support should be added, or whether support via the standard Spring MVC annotations is obvious enough without it.", "category": "documentation", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "...
null
spring-cloud__spring-cloud-netflix__1384
spring-cloud/spring-cloud-netflix
1,384
defect
ba3923d70608e695aa7a928eb711e4e5da82897e
dd97b6a4b71fc2612feeb07fabd7872b6d91d50b
#1376 Register and cancel event sending fix
#1376 This commit fixes application event publishing when an instance is being registered/canceled.
diff --git a/spring-cloud-netflix-eureka-server/src/main/java/org/springframework/cloud/netflix/eureka/server/InstanceRegistry.java b/spring-cloud-netflix-eureka-server/src/main/java/org/springframework/cloud/netflix/eureka/server/InstanceRegistry.java index 05c5676f78..fe2090f6fc 100644 --- a/spring-cloud-netflix-eure...
3
3
1
[{"id": "G0", "claim": "The spacing/indentation of the newly added code in InstanceRegistry (internalCancel and the log/publish helpers) looks a little off and should be fixed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Tests should be added...
null
spring-cloud__spring-cloud-netflix__1389
spring-cloud/spring-cloud-netflix
1,389
defect
f30e8b7b4630db74b1cccf436fb3f50f94618427
3304543f733b878b0a92ebeb13273f21be9b3997
Prevent double url encoding for secure ribbon urls
Secure ribbon urls were forced to use https scheme via UriComponentsBuilder, that was created from original uri. This transformation url encoded previously encoded url parts that were used to create builder. This was introduced in c883495. This change fixes double url encoding via passing encoded=true to UriComponents...
diff --git a/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/ribbon/RibbonLoadBalancerClient.java b/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/ribbon/RibbonLoadBalancerClient.java index 4d00a9fb85..c069cecbfc 100644 --- a/spring-cloud-netflix-core/src/main/java/o...
1
1
1
[{"id": "G0", "claim": "The secure-URI handling in reconstructURI should use RibbonUtils.updateToHttpsIfNeeded instead of the PR's inline scheme/encoding rebuild.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
spring-cloud__spring-cloud-netflix__1410
spring-cloud/spring-cloud-netflix
1,410
defect
c9704d3c97ddb35e52dc987b35343511523eed69
2bfd4a3a0860811bdc513cba91b63a58efeb1620
Zuul Route Hystrix Fallback
Fixes #250
diff --git a/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/zuul/ZuulProxyConfiguration.java b/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/zuul/ZuulProxyConfiguration.java index 8777cd9287..fa3e2838eb 100644 --- a/spring-cloud-netflix-core/src/main/java/org/sprin...
2
2
0
[{"id": "G0", "claim": "The fallback provider cache should be populated eagerly in the constructor so that getFallbackProvider is just a lookup.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A second newline should be added after the java.util.Set ...
null
spring-cloud__spring-cloud-netflix__1411
spring-cloud/spring-cloud-netflix
1,411
defect
a685a72660858ca07c0c089ee4eefdffc3751225
8bd3bc135b9acb2cc5e71a8f1f771e934177c7a6
Adds Feign Logger factory interface
This PR adds the `FeignLoggerFactory` interface, which is used for creation of Feign `Logger` instances. As a fallback, `Slf4jLogger` is still supported. Refer #1363 for more information. I've signed the CLA. Please review and pull. Thanks, Venil
diff --git a/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/feign/FeignClientFactoryBean.java b/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/feign/FeignClientFactoryBean.java index e5fcffc7b9..c70d08efc2 100644 --- a/spring-cloud-netflix-core/src/main/java/org/spr...
3
3
3
[{"id": "G0", "claim": "The pull request should instead provide a default bean of type FeignLoggerFactory that returns Slf4jLogger and let users provide their own bean if they want to use a different logger.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": ...
null
spring-cloud__spring-cloud-netflix__1743
spring-cloud/spring-cloud-netflix
1,743
defect
de886d6c3d03fa827f98008a4d112b8359059b7e
54c052c5eb9e1ec87428e267ecaac9fdbb5a9388
Disable Hystrix support when using Feign by default
Fixes #1277
diff --git a/docs/src/main/asciidoc/spring-cloud-netflix.adoc b/docs/src/main/asciidoc/spring-cloud-netflix.adoc index 3283faef87..0c4b42d767 100644 --- a/docs/src/main/asciidoc/spring-cloud-netflix.adoc +++ b/docs/src/main/asciidoc/spring-cloud-netflix.adoc @@ -1062,9 +1062,7 @@ NOTE: `PROD-SVC` is the name of the ser...
1
1
1
[{"id": "G0", "claim": "The documentation needs a note or warning that Feign's Hystrix support used to be on by default, plus a note in the release notes.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
spring-cloud__spring-cloud-netflix__1863
spring-cloud/spring-cloud-netflix
1,863
defect
0c7994c5027da35232c7327c3d6a3b6af1cdec19
033322d5601d91ace7d610c4f9713efa5888cdd2
Support for re-writing Location Headers
#8 - Support for modifying Location headers after downstream calls - Modifies Location headers from downstream calls for 3XX status codes with Zuul urls - Adds prefix if it is stripped out by zuul downstream calls
diff --git a/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/zuul/ZuulConfiguration.java b/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/zuul/ZuulConfiguration.java index 06b977da28..f62f896a8a 100644 --- a/spring-cloud-netflix-core/src/main/java/org/springframework...
1
1
0
[{"id": "G0", "claim": "Keep the old Route constructor and delegate to the new one instead of changing the existing constructor's signature.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
spring-cloud__spring-cloud-netflix__1942
spring-cloud/spring-cloud-netflix
1,942
defect
2a9a62d0f66f1803074b634439ac45df7f20ebd8
630ab372696aa769d5fa2356499cdc015ff48e55
FeignClient Configuration Properties
This pull request is improvement for #1931, so we can configure feign client using configuration properties
diff --git a/docs/src/main/asciidoc/spring-cloud-netflix.adoc b/docs/src/main/asciidoc/spring-cloud-netflix.adoc index 64c9c7fc06..fc92bd4807 100644 --- a/docs/src/main/asciidoc/spring-cloud-netflix.adoc +++ b/docs/src/main/asciidoc/spring-cloud-netflix.adoc @@ -1020,8 +1020,41 @@ public class FooConfiguration { Thi...
6
6
3
[{"id": "G0", "claim": "Configuration properties should not override `@Configuration` beans by default; `@Configuration` beans should override properties.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The configuration code in FeignClientFactoryBean sho...
null
spring-cloud__spring-cloud-netflix__2105
spring-cloud/spring-cloud-netflix
2,105
defect
c2c634707e2e8ebe5770a13cc7bbc0b02d49e5e3
eb1b7baf1cbbe296260d88ab55a27142fe8dd382
Provide more Zuul route details in the routes actuator endpoint
Add a query parameter to control the level of details returned with the routes actuator endpoint. If requested, return all available Zuul route details including ID, prefix, sensitive headers, etc. Example: A detailed rendition of the routes endpoint can be requested with `/routes?format=details`. The output look...
diff --git a/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/zuul/RoutesEndpoint.java b/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/zuul/RoutesEndpoint.java index 39b688e868..d10bc9bac6 100644 --- a/spring-cloud-netflix-core/src/main/java/org/springframework/cloud...
2
2
0
[{"id": "G0", "claim": "The new RouteDetails code should avoid using Lombok because the project is slowly phasing it out.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should add documentation for the new routes endpoint detail...
null
spring-cloud__spring-cloud-netflix__2190
spring-cloud/spring-cloud-netflix
2,190
defect
e4e29e131615e7aa141cc386414bb128168dfff5
4ec0d78f981ceb0d72e88568d3ec4c0e06677ad1
Dynamic filtering on Zuul SimpleRouteLocator.getRoutes()?
I have a need for dynamically filtering out zuul routes when `SimpleRouteLocator/DiscoveryClientRouteLocator` assembles its routes in the `getRoutes()` and `getMatchingRoute()` methods. The need is security based in that I don't think all routes should be advertised, if, say, a particular user (Principal) doesn't ha...
diff --git a/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/zuul/filters/RouteLocatorFilter.java b/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/zuul/filters/RouteLocatorFilter.java new file mode 100644 index 0000000000..1058bbe900 --- /dev/null +++ b/spring-cloud-...
3
3
2
[{"id": "G0", "claim": "The `@Override public boolean acceptRoute(...)` declaration in SimpleRouteLocator should be reformatted (annotation on its own line).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Documentation needs to be added for the ...
null
spring-cloud__spring-cloud-netflix__2242
spring-cloud/spring-cloud-netflix
2,242
defect
ebe3800c758c1c3f3bf777783a7d0538bd44bf24
b3660235245bb2799c7179c2347a72d19e329588
Remove @EnableDiscoveryClient and @EnableEurekaClient
Fixes #2241
diff --git a/docs/src/main/asciidoc/spring-cloud-netflix.adoc b/docs/src/main/asciidoc/spring-cloud-netflix.adoc index 96e7288109..e994ed8cf6 100644 --- a/docs/src/main/asciidoc/spring-cloud-netflix.adoc +++ b/docs/src/main/asciidoc/spring-cloud-netflix.adoc @@ -38,7 +38,6 @@ Example eureka client: @Configuration @Co...
2
2
0
[{"id": "G0", "claim": "The documentation should include a note on how to disable the Eureka client, since with the annotations gone, disabling is currently done by removing the annotation.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since the ...
null
spring-cloud__spring-cloud-netflix__2453
spring-cloud/spring-cloud-netflix
2,453
defect
6e3b4fdd7b6fef858f1e3ce05fe1126ff1c2d90c
c507cef4942c0e6d2f69738219295bc6400065b4
Fixed: remove misplaced StringEncoder setting when dealing with protobuf
Ref https://github.com/spring-cloud/spring-cloud-netflix/pull/2446 When using Feign with Protobuf, there is a server deserialization error. The reason is `SpringEncoder` sets UTF-8 by mistake, then in `ApacheHttpClient` it converts a Request Body, which containing the charset, into a String, causing the Request B...
diff --git a/spring-cloud-netflix-core/pom.xml b/spring-cloud-netflix-core/pom.xml index f6c95ea2a2..340d3f0caa 100644 --- a/spring-cloud-netflix-core/pom.xml +++ b/spring-cloud-netflix-core/pom.xml @@ -202,6 +202,18 @@ <artifactId>jackson-dataformat-smile</artifactId> <optional>true</optional> </dependency>...
3
3
1
[{"id": "G0", "claim": "Avoid adding the new protobuf test dependencies (protobuf-java-format and protobuf-java) to spring-cloud-netflix-core/pom.xml if the tests can be supported without them.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new proto...
null
spring-cloud__spring-cloud-netflix__2484
spring-cloud/spring-cloud-netflix
2,484
defect
dde7ff4c45b45afb2cd1f4326f97b47b9bf01cc2
99fd7ba423b25e2a4c43db4174eacffa011124a4
Hystrix Dashboard Cannot display anything for Turbine Stream
Closes #2475
diff --git a/spring-cloud-netflix-hystrix-contract/src/main/java/org/springframework/cloud/netflix/hystrix/contract/HystrixContractUtils.java b/spring-cloud-netflix-hystrix-contract/src/main/java/org/springframework/cloud/netflix/hystrix/contract/HystrixContractUtils.java index 28b00bfff0..d8e5364eb3 100644 --- a/sprin...
1
1
0
[{"id": "G0", "claim": "The extract() helper should loop through the SSE buffer looking for the specific metrics data line and break out instead of making a hard-coded four readLine() calls, making the test less fragile to future changes.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope...
null
spring-cloud__spring-cloud-netflix__2645
spring-cloud/spring-cloud-netflix
2,645
defect
837267fb0a297a6e9a0aaedc03bea2663f0c5f8e
f9e6515fd0fbfe22396291d7b2d64e40f08fa3e2
Improve Zuul Hystrix Timeouts
This PR (#2633) Logic Supplement - If `hystrix.command.commandKey.execution.isolation.thread.timeoutInMilliseconds` is set use that timeout - Else if `hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds` is set use that timeout - Else if `clientName.nameSpace.ReadTimeout` and `clientName.n...
diff --git a/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/zuul/filters/route/support/AbstractRibbonCommand.java b/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/zuul/filters/route/support/AbstractRibbonCommand.java index a21b636aad..38907816e1 100644 --- a/spring-...
5
3
1
[{"id": "G0", "claim": "Simplify the code by putting the logic of retrieving the ribbon and hystrix timeout values into methods, as sketched in the reviewer's follow-up.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use DefaultClientConfigImpl....
null
spring-cloud__spring-cloud-netflix__2685
spring-cloud/spring-cloud-netflix
2,685
defect
7d2a4b155dfefb84244ac8bb3113ddf04dbe906a
7c1451394b57e4334624ab5a6f263f60d276938d
Return content of last request when retrying failed requests
Some code taken from #2592. Fixes #2353.
diff --git a/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/feign/ribbon/RetryableFeignLoadBalancer.java b/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/feign/ribbon/RetryableFeignLoadBalancer.java index adaa868083..d1160141f0 100644 --- a/spring-cloud-netflix-core...
3
3
3
[{"id": "G0", "claim": "The content of the response is not extracted before the connection is closed in HttpClientStatusCodeException and RibbonResponseStatusCodeException, so it cannot be obtained when retrying failed requests.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced...
null
spring-cloud__spring-cloud-netflix__3001
spring-cloud/spring-cloud-netflix
3,001
defect
84084fc36a8ef38e6da0d631c0351fc354cdf902
2b310479d75260324b0eb0999d03086517880718
Add support cluster query param in TurbineStream
### Brief Description Add support `cluster` parameter into Turbine Stream server. ### Background Turbine Stream server doesn't support a `cluster` query parameter, unlike Turbine server until now. It means that we have to receive all Hystrix metrics at the same time from Turbine Stream server. It is not a critica...
diff --git a/docs/src/main/asciidoc/spring-cloud-netflix.adoc b/docs/src/main/asciidoc/spring-cloud-netflix.adoc index 545bdee483..e11ed60430 100644 --- a/docs/src/main/asciidoc/spring-cloud-netflix.adoc +++ b/docs/src/main/asciidoc/spring-cloud-netflix.adoc @@ -726,6 +726,24 @@ You can then point the Hystrix Dashboard...
1
1
1
[{"id": "G0", "claim": "The 1.4.x stream uses Java 1.7, so the Java 8 code in this pull request cannot be used.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
spring-cloud__spring-cloud-netflix__3048
spring-cloud/spring-cloud-netflix
3,048
defect
13c2500d0ea77734223f3bcac4bdf0863a0fd3b5
fb7bf6b61b1105424a012b4f85ad8ceb74d92db7
Don't removed form body param if query param has same name
[this one](https://github.com/dev-priporov/spring-cloud-netflix-issue-2815/tree/master) is to reproduce the issue. I have added some optional logic into _RequestContentDataExtractor.java_ to find parameters that aren't duplicated and to add them into the result. In case when parameters are the same, it skips them. ...
diff --git a/spring-cloud-netflix-zuul/src/main/java/org/springframework/cloud/netflix/zuul/util/RequestContentDataExtractor.java b/spring-cloud-netflix-zuul/src/main/java/org/springframework/cloud/netflix/zuul/util/RequestContentDataExtractor.java index 5ff6d2a6bc..fa0bbe43ed 100644 --- a/spring-cloud-netflix-zuul/src...
5
5
0
[{"id": "G0", "claim": "The hand-rolled query-string parsing in findQueryParamsGroupedByName could be simplified using UriComponentsBuilder to get the query params.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The added imports do not follow the projec...
null
spring-cloud__spring-cloud-netflix__3060
spring-cloud/spring-cloud-netflix
3,060
defect
90c78d4c47489cf4491886004ccca0cf81ccb755
1ba7b305e75b379b4f1365464b441811cdf0a24d
Return HTTP status code 504 for Hystrix timeout in Zuul proxy (issue 2965)
This is an enhancement for [this one](https://github.com/spring-cloud/spring-cloud-netflix/issues/2965) Perhaps will be better to fix that inside _zuul-core_ because my solution isn't what I'm proud, but I tested that and it works.
diff --git a/spring-cloud-netflix-zuul/src/main/java/org/springframework/cloud/netflix/zuul/filters/post/SendErrorFilter.java b/spring-cloud-netflix-zuul/src/main/java/org/springframework/cloud/netflix/zuul/filters/post/SendErrorFilter.java index 7df03ae931..587da679d4 100644 --- a/spring-cloud-netflix-zuul/src/main/ja...
1
1
1
[{"id": "G0", "claim": "The chained getCause() calls added in findZuulException could result in a NullPointerException, and checks should be added to protect against it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
spring-cloud__spring-cloud-netflix__3165
spring-cloud/spring-cloud-netflix
3,165
defect
3bde761e325f582e2841829b2bf6a8c413695398
42700788aee3c2d6474a552e27e9750f454cc295
Adds support for netflix concurrency limits
See https://github.com/Netflix/concurrency-limits/ for explanation of the library. This adds support for spring mvc, webflux and micrometer (needs test). @twicksell @elandau @jkschneider
diff --git a/pom.xml b/pom.xml index 266f4d40f3..cb1cd7335d 100644 --- a/pom.xml +++ b/pom.xml @@ -148,6 +148,7 @@ <!-- Not part of the reactor build: build and deploy separately --> <!--module>spring-cloud-netflix-hystrix-contract</module--> <module>spring-cloud-netflix-core</module> + <module>spring-cloud-n...
1
1
0
[{"id": "G0", "claim": "The filter should keep the code in the functional style (map/orElseGet on the Optional from limiter.acquire) so there is no need to call isPresent()/get() multiple times.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
spring-cloud__spring-cloud-netflix__3224
spring-cloud/spring-cloud-netflix
3,224
defect
8bfc0d514cadde469b7fb274b7b947fc3fc045ce
ad24dc8b371fe705025098e15931785fe7d6d13d
Sidecar: add accept-all-ssl-certificates property in order to be able to use https health checks with self-signed certificates
Hello guys! Adding a new property I think can be interesting :) Actually I had to do a workaround (https://github.com/spring-cloud/spring-cloud-netflix/issues/3175#issuecomment-420276337 thanks @spencergibb ) in a project I'm working on, but I think that [changing the way `RestTemplate` is created](https://www.bael...
diff --git a/docs/src/main/asciidoc/spring-cloud-netflix.adoc b/docs/src/main/asciidoc/spring-cloud-netflix.adoc index 406ef0e12b..3822208253 100644 --- a/docs/src/main/asciidoc/spring-cloud-netflix.adoc +++ b/docs/src/main/asciidoc/spring-cloud-netflix.adoc @@ -2021,6 +2021,17 @@ info: url: https://github.com/sprin...
2
2
1
[{"id": "G0", "claim": "The new accept-all-ssl-certificates sidecar property also needs to be documented.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The docs section should instead say \"To enable the health check request to accept all certifi...
null
spring-cloud__spring-cloud-netflix__3297
spring-cloud/spring-cloud-netflix
3,297
defect
dfdc6c39e965352cce53f2017f6aa4613b13313b
55d4a189126b3334af787b7937039584b092ef72
Submit PR #3276 against the 2.0.x branch
Follow suggestion of #3276 1. Submit PR against 2.0.x. 2. Add ASF license header. 3. Method name `getConcurrencyStrategy` to `detectRegisteredConcurrencyStrategy`
diff --git a/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/hystrix/security/HystrixSecurityAutoConfiguration.java b/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/hystrix/security/HystrixSecurityAutoConfiguration.java index 272f234e4d..f42a25452f 100644 --- a/sprin...
1
1
1
[{"id": "G0", "claim": "When the registered strategy differs from existingConcurrencyStrategy, the code should return existingConcurrencyStrategy instead of throwing an exception.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
spring-cloud__spring-cloud-netflix__3317
spring-cloud/spring-cloud-netflix
3,317
defect
90a514d935fb576b2703b9a1601298843cc9d631
f9d33f5b4c7a4994f633a5df32b2b13c891e4cd5
Inner map metrics with same name are being overwritten on actuator me…
…trics endpoint When getting metrics from actuator's metric endpoint, metrics which are in different inner maps, but have same name, are overwritten. This is happening for example with Hystrix ones: There are two group metrics called "latencyExecute" and "latencyTotal" which have same set of metrics inside the g...
diff --git a/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/hystrix/HystrixCircuitBreakerConfiguration.java b/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/hystrix/HystrixCircuitBreakerConfiguration.java index 8be0d8c6f0..94dec7ff1f 100644 --- a/spring-cloud-netfli...
2
2
1
[{"id": "G0", "claim": "The pull request's fix (propagating the inner map key into the metrics prefix) should come with a test.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new test should not use Lombok (@SneakyThrows); handle the exception in pl...
null
spring-cloud__spring-cloud-netflix__3321
spring-cloud/spring-cloud-netflix
3,321
defect
89ed8219cb6754d168584028cad3f904e435613a
8c754a714315b149fb329f03db5e0df8320e38dd
Decode query params in RequestContentDataExtractor
Fixes #3300
diff --git a/spring-cloud-netflix-zuul/src/main/java/org/springframework/cloud/netflix/zuul/util/RequestContentDataExtractor.java b/spring-cloud-netflix-zuul/src/main/java/org/springframework/cloud/netflix/zuul/util/RequestContentDataExtractor.java index da8e0bcb5d..56921feebf 100644 --- a/spring-cloud-netflix-zuul/src...
2
1
0
[{"id": "G0", "claim": "The new static import should not be a wildcard (`import static org.springframework.util.StringUtils.*;`) but name the classes it uses.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The restructured query-param/form-data ...
null
spring-cloud__spring-cloud-netflix__3356
spring-cloud/spring-cloud-netflix
3,356
defect
5ecd0842cec00914206742c1d95c4b0dcb8fc5a8
8ab651384870588c8b5b87777590d1706d4a6676
Issue-3305. Way to set securePortEnabled option for sidecar
Fixes #3305 Added a way to set _securePortEnabled_ flag by _sidecar.secure-port-enabled_ option. Test is added. Seems like I have some trouble with Eclipse-formatter-plugin, because it changed existing format files.
diff --git a/spring-cloud-netflix-sidecar/src/main/java/org/springframework/cloud/netflix/sidecar/SidecarConfiguration.java b/spring-cloud-netflix-sidecar/src/main/java/org/springframework/cloud/netflix/sidecar/SidecarConfiguration.java index 84661ddd0d..90a6a7750f 100644 --- a/spring-cloud-netflix-sidecar/src/main/jav...
3
3
1
[{"id": "G0", "claim": "The import order in SidecarConfiguration.java should be corrected to match the project's conventions.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new sidecar.secure-port-enabled property needs documentation (in spr...
null
spring-cloud__spring-cloud-netflix__3407
spring-cloud/spring-cloud-netflix
3,407
defect
435e94c3f58cc157a75f8bd4551b986454d7f965
e022051003b961dad9331c7fee8ecafeab97c50b
Re-create connection manager on "zuul.host.*" property change
When changing `zuul.host.*` properties, it makes a sense to re-create `HttpClientConnectionManager` along with `HttpClient` to make `maxTotalConnections` and `maxConnectionsPerRoute` properties dynamically configurable. It also prevents the use of shut down connection pool (fixes gh-3406).
diff --git a/spring-cloud-netflix-zuul/src/main/java/org/springframework/cloud/netflix/zuul/filters/route/SimpleHostRoutingFilter.java b/spring-cloud-netflix-zuul/src/main/java/org/springframework/cloud/netflix/zuul/filters/route/SimpleHostRoutingFilter.java index b24f67cdea..abc0ad4a82 100644 --- a/spring-cloud-netfli...
1
1
1
[{"id": "G0", "claim": "The unguarded connectionManager.shutdown() call added after the httpClient.close() try/catch should be moved into the above try/catch or into its own.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
spring-cloud__spring-cloud-netflix__3728
spring-cloud/spring-cloud-netflix
3,728
defect
02f3bb8bbaa02b5030256ca9f802cc25ad7f6235
58cc6be41925a22094a4ec944aab7c96dcddddb8
fixed #3692 issue
fixed #3692 : Ribbon not getting list of servers from properties with lazy initialization
diff --git a/spring-cloud-netflix-archaius/src/main/java/org/springframework/cloud/netflix/archaius/ArchaiusAutoConfiguration.java b/spring-cloud-netflix-archaius/src/main/java/org/springframework/cloud/netflix/archaius/ArchaiusAutoConfiguration.java index 68da799b9f..9ad0366e65 100644 --- a/spring-cloud-netflix-archai...
2
2
1
[{"id": "G0", "claim": "Please add a test for this fix (could be something similar to what @tvrmsmith added in the issue #3692).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Please add your full name with an `@author` tag in the Javadoc comment in the...
null
spring-cloud__spring-cloud-netflix__3779
spring-cloud/spring-cloud-netflix
3,779
defect
2afba0977f1c320e0cac5850f605cd751c022aa2
dff3b91bef718c321035f45d0f0beb80ef8015e6
Adds opt-in webclient support for eureka client
Eureka HTTP client to use either `RestTemplate` or `WebClient` depending on a new `eureka.client.webclient-support` property. When the value of this prop is `true` then the `WebClient` would be used otherwise the `RestTemplate` would be used. `RestTemplate` would be the default if the property is not set. fixes gh-3...
diff --git a/spring-cloud-netflix-eureka-client/src/main/java/org/springframework/cloud/netflix/eureka/EurekaClientConfigBean.java b/spring-cloud-netflix-eureka-client/src/main/java/org/springframework/cloud/netflix/eureka/EurekaClientConfigBean.java index 34b177bd17..870e0434bd 100644 --- a/spring-cloud-netflix-eureka...
1
1
1
[{"id": "G0", "claim": "The new opt-in property should be named eureka.client.webclient.enabled and its definition moved to additional-spring-configuration-metadata.json rather than being declared in the config bean.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
spring-cloud__spring-cloud-netflix__4002
spring-cloud/spring-cloud-netflix
4,002
defect
89c37a384263d412d209cd418447bbd806b08a9b
236b380d212b1e7365af25fb40146413c445aa00
Fix transfer encoding is set to chunked by settin entity contentLength to 0 for DELETE requests
Fix for #3973 When there is no body in request and content-length is not set, apache http client sets transfer encoding to chunked. This change will set content-length to 0 for DELETE request with no body and as a result transfer encoding wont be set for such requests. See gh-1042, gh-3973
diff --git a/spring-cloud-netflix-ribbon/src/main/java/org/springframework/cloud/netflix/ribbon/apache/RibbonApacheHttpRequest.java b/spring-cloud-netflix-ribbon/src/main/java/org/springframework/cloud/netflix/ribbon/apache/RibbonApacheHttpRequest.java index 90b1042a32..9da68eacef 100644 --- a/spring-cloud-netflix-ribb...
1
1
0
[{"id": "G0", "claim": "Add the PR author's full name with an @author tag to the javadocs of the changed classes before merging.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
spring-cloud__spring-cloud-netflix__4086
spring-cloud/spring-cloud-netflix
4,086
defect
6aafd20d60611403bae5da13ba829897188fc843
0f957bf599b1096a8d68ebcdc3646d62d672d719
Fixed 'eureka datacenter and environment not displayed on the dashboard'
Fixes #4032
diff --git a/.sdkmanrc b/.sdkmanrc index 4db8676754..415f90832f 100644 --- a/.sdkmanrc +++ b/.sdkmanrc @@ -1,3 +1,3 @@ # Enable auto-env through the sdkman_auto_env config # Add key=value pairs of SDKs to use below -java=8.0.292.hs-adpt +java=17.0.1-tem diff --git a/docs/pom.xml b/docs/pom.xml index 172ee236c9..b87d0...
6
6
4
[{"id": "G0", "claim": "Use constructor injection instead of field injection for EurekaDeploymentProperties in EurekaController: add a new constructor and mark the existing one @Deprecated without removing it, to preserve backwards compatibility.", "category": "design", "verdict": "supported", "priority": "P1", "scope"...
null
spring-cloud__spring-cloud-netflix__4267
spring-cloud/spring-cloud-netflix
4,267
defect
ad002b4da2de63e4512d70e9f888a47a3d6d7f07
a4e8f6cdfd042638e5fe469d9c88f45adafef3d9
Improve EurekaConfigServerInstanceProvider
The parameter `regions` in the` client.getApplications()` method represents remoteRegions, which indicates that the registry should not only retrieve and return a list of its own nodes, but also return a list of remoteRegions. But `config.getRegion()` represents the local region, and if this parameter is included, t...
diff --git a/spring-cloud-netflix-eureka-client/src/main/java/org/springframework/cloud/netflix/eureka/config/EurekaConfigServerInstanceProvider.java b/spring-cloud-netflix-eureka-client/src/main/java/org/springframework/cloud/netflix/eureka/config/EurekaConfigServerInstanceProvider.java index 1f0934d030..b3b6ec5262 10...
3
3
1
[{"id": "G0", "claim": "The tests fail and the build does not pass and must be fixed.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The year in the license comment of any file changed by the pull request should be updated to 2013-2024.", "category": "m...
null
spring-cloud__spring-cloud-netflix__4270
spring-cloud/spring-cloud-netflix
4,270
defect
ad002b4da2de63e4512d70e9f888a47a3d6d7f07
3a196b9b9cd5ae4e1673a5d5b9c089f04e5a426b
Collect metrics for application instances
Fixes #3685
diff --git a/spring-cloud-netflix-eureka-server/src/main/java/org/springframework/cloud/netflix/eureka/server/metrics/EurekaInstanceMetricsAutoConfiguration.java b/spring-cloud-netflix-eureka-server/src/main/java/org/springframework/cloud/netflix/eureka/server/metrics/EurekaInstanceMetricsAutoConfiguration.java new fil...
13
13
6
[{"id": "G0", "claim": "The instance-unique `id` tag should probably be removed (and host/port tagging reconsidered, since host+port is also unique per instance) because such tags create one metric series per instance, with user-specific tags better supplied via a `TagsProvider`.", "category": "design", "verdict": "sup...
null
spring-cloud__spring-cloud-netflix__4274
spring-cloud/spring-cloud-netflix
4,274
defect
ad002b4da2de63e4512d70e9f888a47a3d6d7f07
48a69822cbf04df9c5386e01a46f3fe30abdc029
Change the order in which events are issued
The order in which events are issued should be after the desired processing, but they are preceded.
diff --git a/spring-cloud-netflix-eureka-server/src/main/java/org/springframework/cloud/netflix/eureka/server/InstanceRegistry.java b/spring-cloud-netflix-eureka-server/src/main/java/org/springframework/cloud/netflix/eureka/server/InstanceRegistry.java index ff903e50ba..17f53978ae 100644 --- a/spring-cloud-netflix-eure...
2
2
1
[{"id": "G0", "claim": "Since events are now issued after the action, the renewal log message should be reworded from \"renew\" to \"renewed\" so that the sequence of events is clear.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "handleCancelat...
null
spring-cloud__spring-cloud-open-service-broker__104
spring-cloud/spring-cloud-open-service-broker
104
defect
982828fd7792e2909346b658d823ac0f5ff8ac6b
90cbf8c09a586e6f1f2c4158cf9a9e787b5bd42b
Rationalize Context subclassing
This PR contains a few changes to how the `Context` model class and its subclasses are handled. 1. The `CloudFoundryContext` and `KubernetesContext` types now store their parsed values in the `properties` map from their base class instead of in fields in the subclass. This makes it possible to retrieve the values w...
diff --git a/spring-cloud-open-service-broker-core/src/main/java/org/springframework/cloud/servicebroker/controller/BaseController.java b/spring-cloud-open-service-broker-core/src/main/java/org/springframework/cloud/servicebroker/controller/BaseController.java index acb4c73e..eafd779c 100644 --- a/spring-cloud-open-ser...
2
2
0
[{"id": "G0", "claim": "In parseOriginatingIdentity, the CloudFoundry platform check should reference the constant via CloudFoundryContext.CLOUD_FOUNDRY_PLATFORM instead of a static import.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In parse...
null
spring-cloud__spring-cloud-open-service-broker__106
spring-cloud/spring-cloud-open-service-broker
106
defect
74121af2d9e439e3883a6cd7bc2a7837762ac885
c27879ad3bd37b41f5c44f60f367f8a7d2f63cb4
Eliminate use of deprecated HttpMessageNotReadableException constructor
Resolves #105
diff --git a/spring-cloud-open-service-broker-core/src/main/java/org/springframework/cloud/servicebroker/controller/BaseController.java b/spring-cloud-open-service-broker-core/src/main/java/org/springframework/cloud/servicebroker/controller/BaseController.java index 168e1bfe9..38e6534e5 100644 --- a/spring-cloud-open-s...
2
2
0
[{"id": "G0", "claim": "The test method name httpMessageNotReadableException should be changed, since the pull request made it test ServiceBrokerInvalidOriginatingIdentityException instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The MESS...
null
spring-cloud__spring-cloud-open-service-broker__123
spring-cloud/spring-cloud-open-service-broker
123
defect
a58849bc8731d8a13e62c5dea64abaa605ab01ff
166edc9d5033de1a8d138f782f3378f75347b3be
Adding metadata for api version check property
Renaming the property to use the canonical format. Fixes #119
diff --git a/spring-cloud-open-service-broker-autoconfigure/build.gradle b/spring-cloud-open-service-broker-autoconfigure/build.gradle index 359fe0d2a..4509ef932 100644 --- a/spring-cloud-open-service-broker-autoconfigure/build.gradle +++ b/spring-cloud-open-service-broker-autoconfigure/build.gradle @@ -47,3 +47,5 @@ d...
1
1
0
[{"id": "G0", "claim": "The @ConditionalOnProperty for the api version property just below the changed line should also be changed to use the canonical (kebab-case) property name form.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
spring-cloud__spring-cloud-open-service-broker__239
spring-cloud/spring-cloud-open-service-broker
239
defect
17dfd747816db715003ea9840b771e3b46146b2a
c45631a429f1435920230d006ba698ce0444754c
Add `maintenance_info` field to Service Plan object
Resolves #233 OSB 2.15 adds a maintenance_info field to the Service Plan. Service Brokers can specify optional Maintenance information for a Service Instance which is provisioned using the Service Plan. If the value is null, the field will be omitted from the serialized JSON. I used [Java implementation of th...
diff --git a/spring-cloud-open-service-broker-autoconfigure/src/main/java/org/springframework/cloud/servicebroker/autoconfigure/web/MaintenanceInfo.java b/spring-cloud-open-service-broker-autoconfigure/src/main/java/org/springframework/cloud/servicebroker/autoconfigure/web/MaintenanceInfo.java new file mode 100644 inde...
1
1
0
[{"id": "G0", "claim": "The new `java-semver` dependency should be dropped and the version stored as a String validated by a regex (throwing IllegalArgumentException on mismatch, with a convenience setter like setVersion(int major, int minor, int patch, String extension)).", "category": "design", "verdict": "supported"...
null
spring-cloud__spring-cloud-open-service-broker__252
spring-cloud/spring-cloud-open-service-broker
252
defect
f093ccb4a2fbb9a672a5901efa9b431b8f7d0a0b
29e8551be9918376a30886b9c033b9fac74433a6
Add list of endpoints to create Service Binding response body
Resolves #230
diff --git a/spring-cloud-open-service-broker-core/src/main/java/org/springframework/cloud/servicebroker/model/binding/CreateServiceInstanceAppBindingResponse.java b/spring-cloud-open-service-broker-core/src/main/java/org/springframework/cloud/servicebroker/model/binding/CreateServiceInstanceAppBindingResponse.java ind...
1
1
0
[{"id": "G0", "claim": "The endpoints field should also be included in the toString method of CreateServiceInstanceAppBindingResponse, as it was added to equals/hashCode.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
spring-cloud__spring-cloud-open-service-broker__267
spring-cloud/spring-cloud-open-service-broker
267
defect
f0096c4fba80f9916dafceb2c5ccd6fcd2b3255e
e3a16de36b64395009df3a92fe9974b1e9dc4195
Add ServiceBrokerMaintenanceInfoConflictException
Resolves #265
diff --git a/spring-cloud-open-service-broker-autoconfigure/src/test/java/org/springframework/cloud/servicebroker/autoconfigure/web/reactive/ServiceInstanceControllerIntegrationTest.java b/spring-cloud-open-service-broker-autoconfigure/src/test/java/org/springframework/cloud/servicebroker/autoconfigure/web/reactive/Ser...
1
1
0
[{"id": "G0", "claim": "The exception should return the message suggested by the OSB spec (\"The maintenance information for the requested Service Plan has changed.\") rather than the constructed \"Service broker maintenance info conflict: \" + message.", "category": "design", "verdict": "supported", "priority": "P2", ...
null
spring-cloud__spring-cloud-open-service-broker__309
spring-cloud/spring-cloud-open-service-broker
309
defect
e25bca4e97b3d8b6ec6d13ff0de7dbe0a9dc2075
210ca4d5ba21816356b67afd1c88423b9c431c4d
Return HTTP 400 Bad Request for unknown instance in last operation
v2.15 of the OSB API spec is a little unclear about how to handle the scenario where a request is made for the last operation of an instance id that does not exist and never existed. It does specify a 400 Bad Request for "malformed or missing mandatory data". In this case an unknown instance id is provided, so it's...
diff --git a/spring-cloud-open-service-broker-autoconfigure/src/test/java/org/springframework/cloud/servicebroker/autoconfigure/web/AbstractServiceInstanceControllerIntegrationTest.java b/spring-cloud-open-service-broker-autoconfigure/src/test/java/org/springframework/cloud/servicebroker/autoconfigure/web/AbstractServi...
2
1
0
[{"id": "G0", "claim": "On the HTTP 400 Bad Request returned when the instance is unknown during get-last-operation, it would be nice to add a response body explaining the error.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Can the JavaDoc for ServiceI...
null
spring-cloud__spring-cloud-openfeign__1000
spring-cloud/spring-cloud-openfeign
1,000
defect
0d7e0e178cb508559d9395e605ab5fd4bda89343
2abf114c6201a20c21630aa52aa37dc66ab580ac
Make JDK HttpClient customizable
Fixes #999
diff --git a/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/clientconfig/Http2ClientFeignConfiguration.java b/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/clientconfig/Http2ClientFeignConfiguration.java index f61063750..5e1c36c99 100644 --- a/spring-cloud-...
6
6
2
[{"id": "G0", "claim": "Please update the year in the license header to `2013-2024`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Please add an empty line between the two bean methods.", "category": "maintainability", "verdict": "supported", "...
null
spring-cloud__spring-cloud-openfeign__1016
spring-cloud/spring-cloud-openfeign
1,016
defect
6084609de0705f24ba418704769e545a0d820d70
ca111e125b45715b472900e26384ac54ac45537f
SpringMvcContract support parse params
Previously, SpringMvcContract did not support parsing the `params` parameter of `@RequestMapping`. Example: 1. Define a rest interface that uses the `params` parameter: ``` @PutMapping(value = "/user", params = "action=disable") public String disableUser() { return "user"; } ``` 2. Define a FeignClient...
diff --git a/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/support/SpringMvcContract.java b/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/support/SpringMvcContract.java index f4e445342..1cb1c976a 100644 --- a/spring-cloud-openfeign-core/src/main/java/org/s...
5
4
3
[{"id": "G0", "claim": "Documentation for the new params parsing feature should be added to spring-cloud-openfeign.adoc.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The unnecessary `this.` keywords in the NameValueResolver constructor should be...
null
spring-cloud__spring-cloud-openfeign__1047
spring-cloud/spring-cloud-openfeign
1,047
defect
eab1283046eefd0a28c1c85850ee97f1cf66352e
01c74be0526a5300f14cf5a077b6275c2a06f713
Adds ignorecase field to pageable spring
Adds ignorecase field to pageable spring for compatibility with SortHandlerMethodArgumentResolverSupport::parseIgnoreCase
diff --git a/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/support/PageableSpringEncoder.java b/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/support/PageableSpringEncoder.java index 49f69ec69..4cffa72d4 100644 --- a/spring-cloud-openfeign-core/src/main/ja...
3
3
0
[{"id": "G0", "claim": "Rephrase the test assertion descriptions \"isIgnoreCase has not expected value.\" to \"isIgnoreCase does not have expected value\" in the tests added by this pull request (testPageableWithIgnoreCase and testPageableMultipleSortPropertiesWithBodyAndIgnoreCase).", "category": "documentation", "ver...
null
spring-cloud__spring-cloud-openfeign__1050
spring-cloud/spring-cloud-openfeign
1,050
defect
eab1283046eefd0a28c1c85850ee97f1cf66352e
d92f7cdabf33487c6ac276a1cfd6c8b9eaca5700
Authorize with anonymous principal if principal name is null
The authorizedClientManager.authorize method requires a non-null principal name or it will usually throw an exception in practice like "principalName cannot be empty". Using the anonymous principal in this case like for a null principal handles the situation more gracefully. Fixes #1049
diff --git a/docs/modules/ROOT/partials/_configprops.adoc b/docs/modules/ROOT/partials/_configprops.adoc index 0448844a1..0329f2fdf 100644 --- a/docs/modules/ROOT/partials/_configprops.adoc +++ b/docs/modules/ROOT/partials/_configprops.adoc @@ -1,7 +1,7 @@ |=== |Name | Default | Description -|spring.cloud.compatibi...
4
2
0
[{"id": "G0", "claim": "The contributor's name should be added with an `@author` tag to the javadocs of all the files modified by the pull request.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The license comment's copyright year range in the fi...
null
spring-cloud__spring-cloud-openfeign__1071
spring-cloud/spring-cloud-openfeign
1,071
defect
a11a44223bf404b2ca2756621282bb1e78e09af7
4d99120b17062f4c32fe5ba905723b86c32c8781
Make Content-Encoding configurable
A new configuration property was added to make the Content-Encoding configurable when using the feign request compression. The default values are the same as the previous hardcoded values. Fixes gh-1048
diff --git a/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/encoding/FeignClientEncodingProperties.java b/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/encoding/FeignClientEncodingProperties.java index d1669008a..98405d0c8 100644 --- a/spring-cloud-openfeig...
16
16
1
[{"id": "G0", "claim": "Rename the new configuration property `contentEncodings` to `contentEncodingTypes`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename the test class to `FeignContentGzipEncodingInterceptorTests`.", "category": "mainta...
null
spring-cloud__spring-cloud-openfeign__1179
spring-cloud/spring-cloud-openfeign
1,179
defect
c38b20e8f581fd41d011fce82bc80f529ce8b7f1
ba824fac98e91008a310b3eff2d581696a84b856
Replace deprecated URL constructor in getUrl
The constructor 'URL(String)' has been deprecated since Java 20. Although this does not affect the current environment (Java 17), it will cause issues when upgrading to Java 21 or later. This commit updates the URL validation in FeignClientsRegistrar.getUrl by replacing `new URL(url)` with `new URI(url)`, ensuring forw...
diff --git a/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/FeignClientsRegistrar.java b/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/FeignClientsRegistrar.java index 00fe8f195..57983a7ef 100644 --- a/spring-cloud-openfeign-core/src/main/java/org/springfra...
2
2
0
[{"id": "G0", "claim": "The date in the license header comments on top of all the Java classes changed by this PR should be updated to -2025.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "An @author tag with the contributor's full name and surn...
null
spring-cloud__spring-cloud-openfeign__1305
spring-cloud/spring-cloud-openfeign
1,305
defect
4267eac39d9f9cd67170c0fa15d198b87709c947
48be6e1dea4c4cdd8e1227a1f17ef6256ae91db0
Allow Customizer for HttpClientConnectionManager in HttpClient5FeignConfiguration
**Is your feature request related to a problem? Please describe.** The underlying http client (in my case the apache hc5) is already well-customizable via properties and also via supplying my own beans. I'd like a further middle ground by allowing a list of customzer for `HttpClientConnectionManager` in `HttpClient5Fe...
diff --git a/docs/modules/ROOT/pages/spring-cloud-openfeign.adoc b/docs/modules/ROOT/pages/spring-cloud-openfeign.adoc index bd7932fb8..d43b8c1cb 100644 --- a/docs/modules/ROOT/pages/spring-cloud-openfeign.adoc +++ b/docs/modules/ROOT/pages/spring-cloud-openfeign.adoc @@ -144,7 +144,7 @@ When it comes to the Apache Htt...
3
3
2
[{"id": "G0", "claim": "The new HttpClientConnectionManagerBuilderCustomizer feature should be covered by tests and documented.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The documentation should include an example showing how to use the customizer ...
null
spring-cloud__spring-cloud-openfeign__1327
spring-cloud/spring-cloud-openfeign
1,327
defect
81a06b18f6c030ca2527c6c5ef23c9a691d9f115
ed3f41d1467ac02778fd75797c8d5129043fbb23
Do not warn if first parameter of GetMapping is of type URL
Fixes #1326
diff --git a/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/support/SpringMvcContract.java b/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/support/SpringMvcContract.java index 113067bb6..98aec5910 100644 --- a/spring-cloud-openfeign-core/src/main/java/org/s...
2
1
1
[{"id": "G0", "claim": "The PR title (and/or issue reference) says URL while the implementation and tests only special-case java.net.URI, so either the title should be updated to say URI or the implementation should be extended to also treat java.net.URL the same way to avoid user confusion and incomplete coverage.", "...
null
spring-cloud__spring-cloud-openfeign__455
spring-cloud/spring-cloud-openfeign
455
defect
69a03ffdb8e937bb9179804cd3132ff01cdf7b33
be8646adc2a179f70c0fb4f7c3ba62965bf6514b
Lazy openfeign bean registration
without this change we're eagerly resolving placeholder properties in passed URLs / names. Since this happens at bean definition level it's extremely early e.g. Spring Cloud Contract has not yet registered any placeholders that Feign could try to consume. with this change we're changing the bean to become lazy initial...
diff --git a/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/FeignClientFactoryBean.java b/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/FeignClientFactoryBean.java index 50d46d844..d02aebed1 100644 --- a/spring-cloud-openfeign-core/src/main/java/org/springf...
2
1
1
[{"id": "G0", "claim": "The PR should not just @Ignore the test: it should be modified, a new test created, or the existing test (and its class) removed.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The author should consider issue #443: reusing Abstr...
null
spring-cloud__spring-cloud-openfeign__476
spring-cloud/spring-cloud-openfeign
476
defect
a789625a98f0dc23a111d5b36ea5493d5313957c
5225bc12d0b173545fda11c4bc86a84e3418e695
enable feign.autoconfiguration.jackson.enabled by default in the next major release
Fixes https://github.com/spring-cloud/spring-cloud-openfeign/issues/470
diff --git a/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/FeignAutoConfiguration.java b/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/FeignAutoConfiguration.java index a670fd7ed..6a534265e 100644 --- a/spring-cloud-openfeign-core/src/main/java/org/springf...
1
1
1
[{"id": "G0", "claim": "The documentation should also be updated to reflect the change that makes feign.autoconfiguration.jackson.enabled enabled by default.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
spring-cloud__spring-cloud-openfeign__526
spring-cloud/spring-cloud-openfeign
526
defect
9db146761a53cef50644cc562ac07c89eed1d032
c63c60660d92e62bca468d5a65e57c663804e9eb
Make feign.Request.Options as refreshable beans inside Feign clients
Refer: #468 - Created OptionsFactoryBean to create instance of Options bean with applicable configuration properties. - FeignClientRegistrar: - created a private method to populate Bean definition for Options bean. - invoked private method during Feign bean definition registration phase. - FeignClientFac...
diff --git a/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/FeignClientFactoryBean.java b/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/FeignClientFactoryBean.java index 3807e6401..18ea756f6 100644 --- a/spring-cloud-openfeign-core/src/main/java/org/springf...
8
7
3
[{"id": "G0", "claim": "Capitalise 'Meant' in the getOptionsByName javadoc and add a return description.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the unnecessary blank line inside getOptionsByName between the if block and 'return null...
null
spring-cloud__spring-cloud-openfeign__575
spring-cloud/spring-cloud-openfeign
575
defect
769b38c5c16ad0ab7eec057adbc2979c62fae3ab
0db906c5ca9060bdbaf6f7d3b99bf2e1ed3f6ceb
Add CircuitBreakerNameResolver
fixes gh-574 This PR includes an extension point for changing circuit breaker name. `3.0.2` version included some change for a circuit breaker name. And this caused change of circuit breaker metric names. CircuitBreakerNameResolver can be used for a developer to give own circuit breaker name.
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index d514be95e..72afb5ec0 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -5,9 +5,9 @@ name: Build on: push: - branches: [ main ] + branches: [ 3.1.x ] pull_request: - branches: [ main ] + branches...
3
3
0
[{"id": "G0", "claim": "Please add Javadoc for the new CircuitBreakerNameResolver interface and its method, and in the class-level Javadoc include the full name with an @author tag and a @since 2020.0.4 tag.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c...
null
spring-cloud__spring-cloud-openfeign__583
spring-cloud/spring-cloud-openfeign
583
defect
f3f95250815f7fca13210fab9a6b08dfeb54aa96
6b0904fb2ad4decbcf1b15c2dec8f5de21de90e5
Respect SpringDataWebProperties where possible
`PageableSpringQueryMapEncoder` should use parameter names from `SpringDataWebProperties` if customized as well as `PageableSpringEncoder`
diff --git a/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/FeignClientsConfiguration.java b/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/FeignClientsConfiguration.java index c1e378a06..f3a44d405 100644 --- a/spring-cloud-openfeign-core/src/main/java/org/s...
2
2
1
[{"id": "G0", "claim": "The pull request should add a test (no tests were included for the new SpringDataWebProperties behaviour).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "An @author tag with the author's full name should be added to the javadocs ...
null
spring-cloud__spring-cloud-openfeign__610
spring-cloud/spring-cloud-openfeign
610
defect
1ff68c11d241bc2ba7f52553a1b1b60e64b7a8c7
2562f0525ba2c5f2d700ca9dd69e9a3e18f0cb84
allow @CollectionFormat on class level
see #596 Doesn't cover changing the default though. Don't think it's worth the effort, looked in the core feign a little bit and didn't see an obvious solution. This would suffice for me
diff --git a/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/CollectionFormat.java b/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/CollectionFormat.java index d40c4a4b1..9176b15b5 100644 --- a/spring-cloud-openfeign-core/src/main/java/org/springframework/clo...
2
2
0
[{"id": "G0", "claim": "Add the PR author's full name and surname with an @author tag to the javadocs of all the classes changed by this pull request.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add information to the 'Feign CollectionFormat su...
null
spring-cloud__spring-cloud-openfeign__642
spring-cloud/spring-cloud-openfeign
642
defect
26a11826ab0931a2e4398a40323621fd3497cbb5
24c2b6fc79b4aab393e1974a034eb7bad7311b2c
gh-631 - Add support for customizing OAuth2FeignReqeustInterceptor.accessTokenProvider (injecting e.g. LoadBalancerInterceptor)
**1. Added support to customize `OAuth2FeignReqeustInterceptor`'s internal `AccessTokenProvider` through `OAuth2FeignReqeustInterceptorBuilder` and `OAuth2FeignRequestInterceptorConfigurer`**. Before `OAuth2FeignReqeustInterceptor` is created and injected into context, instances of `OAuth2FeignRequestInterceptorCon...
diff --git a/docs/src/main/asciidoc/_configprops.adoc b/docs/src/main/asciidoc/_configprops.adoc index 3bba51388..0c6f6ef09 100644 --- a/docs/src/main/asciidoc/_configprops.adoc +++ b/docs/src/main/asciidoc/_configprops.adoc @@ -30,5 +30,6 @@ |feign.httpclient.time-to-live-unit | | |feign.metrics.enabled | `true` |...
5
5
1
[{"id": "G0", "claim": "Add the new feign.oauth2.* properties to additional-spring-configuration-metadata.json for IDE support.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use AssertableApplicationContext (assertThat(context).hasSingleBean(...)...
null
spring-cloud__spring-cloud-openfeign__653
spring-cloud/spring-cloud-openfeign
653
defect
60b55c7b068f7411996aa215475efd6e853bbcf6
38623a05688d8c222a53ecdc3c887ce4e31b8800
Fix cascading deserialization Spring Data's Page by setting @JsonIgnoreProperties(ignoreUnknown = true)
As discussed here https://github.com/spring-cloud/spring-cloud-openfeign/pull/636#discussion_r773598943 @KENNYSOFT @OlgaMaciaszek Please review.
diff --git a/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/support/PageJacksonModule.java b/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/support/PageJacksonModule.java index 2f11c5234..5bb9219ad 100644 --- a/spring-cloud-openfeign-core/src/main/java/org/s...
2
2
0
[{"id": "G0", "claim": "Since the deserialization no longer fails on unknown properties, roll back getTotalPages(), getNumberOfElements(), isFirst() and isLast() from @JsonIgnore to @JsonProperty so the patch release (3.0.6) carries no breaking changes.", "category": "design", "verdict": "supported", "priority": "P1", ...
null
spring-cloud__spring-cloud-openfeign__687
spring-cloud/spring-cloud-openfeign
687
defect
765431dce1a2812eb035345bf5df571f24129148
0d14cabaa4470231602a90c6158844abf40704e4
Provide an alternate naming convention for CB ids
Configuration properties cannot contain characters like hash, parens, or commas. See https://github.com/spring-cloud/spring-cloud-circuitbreaker/issues/141
diff --git a/docs/src/main/asciidoc/spring-cloud-openfeign.adoc b/docs/src/main/asciidoc/spring-cloud-openfeign.adoc index ddc2595f9..e63cd43e8 100644 --- a/docs/src/main/asciidoc/spring-cloud-openfeign.adoc +++ b/docs/src/main/asciidoc/spring-cloud-openfeign.adoc @@ -372,6 +372,47 @@ public class FooConfiguration { ...
2
2
0
[{"id": "G0", "claim": "The new property name is redundant since 'circuit breaker' is already part of the property prefix, so it should be renamed, e.g. to `feign.circuitbreaker.alphanumericNameResolver.enabled` or `feign.circuitbreaker.alphanumericNames.enabled`.", "category": "design", "verdict": "supported", "priori...
null
spring-cloud__spring-cloud-openfeign__735
spring-cloud/spring-cloud-openfeign
735
defect
e4bdc13c515c6a72508c59656aacc295fd325b53
3775e8120f3f099515ae003440d9d084a45cc030
Customize load balanced requests according to the chosen ServiceInstance
Applications can define their own LoadBalancerFeignRequestTransformer beans which can modify the Request to be executed. These beans can be @Ordered in case of multiple transformers. reference [Transform the load-balanced HTTP request]( https://docs.spring.io/spring-cloud-commons/docs/current/reference/html/#tra...
diff --git a/docs/src/main/asciidoc/spring-cloud-openfeign.adoc b/docs/src/main/asciidoc/spring-cloud-openfeign.adoc index 83884220b..9ef5589b3 100644 --- a/docs/src/main/asciidoc/spring-cloud-openfeign.adoc +++ b/docs/src/main/asciidoc/spring-cloud-openfeign.adoc @@ -815,6 +815,33 @@ Sometimes, when load balancing is ...
3
3
0
[{"id": "G0", "claim": "The transformRequest method should have javadoc, and that javadoc should describe what the method does, e.g. \"Allows transforming load-balanced requests based on the provided {@link ServiceInstance}`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"...
null
spring-cloud__spring-cloud-openfeign__748
spring-cloud/spring-cloud-openfeign
748
defect
666a59df6b2e8ec03004a65ffdf189630bcacdc4
f78a63289466c381fbab70b8d29db6e16387d963
Enable X-Forwarded Headers.
`spring.cloud.loadbalancer.x-forwarded.enabled=true` to Enable X-Forwarded Headers.
diff --git a/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/loadbalancer/FeignLoadBalancerAutoConfiguration.java b/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/loadbalancer/FeignLoadBalancerAutoConfiguration.java index dfd819ce8..142f6ca3a 100644 --- a/spr...
3
2
1
[{"id": "G0", "claim": "spencergibb asks galaxy-sea to explain why X-Forwarded headers support is needed for Feign, which he says is not a proxy.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "OlgaMaciaszek asks to remove the unnecessary `public` modifie...
null
spring-cloud__spring-cloud-openfeign__759
spring-cloud/spring-cloud-openfeign
759
defect
4dc2852ee02ef79aca94e864ce1c3e2049249657
28a55f70add8c20b3bce0a13f3feaa642875f542
Migrate oauth support new
Based on https://github.com/spring-cloud/spring-cloud-openfeign/pull/758. See [comment](https://github.com/spring-cloud/spring-cloud-openfeign/pull/758#pullrequestreview-1121963121) for logic discussion. Fixes gh-644. Fixes gh-756.
diff --git a/docs/src/main/asciidoc/spring-cloud-openfeign.adoc b/docs/src/main/asciidoc/spring-cloud-openfeign.adoc index 994476dd0..bebace63e 100644 --- a/docs/src/main/asciidoc/spring-cloud-openfeign.adoc +++ b/docs/src/main/asciidoc/spring-cloud-openfeign.adoc @@ -809,11 +809,10 @@ OAuth2 support can be enabled by ...
2
2
1
[{"id": "G0", "claim": "The manual block that loads the OAuth2AuthorizedClient and filters on expiry (including notExpired()) is not needed and can be removed, because the OAuth2AuthorizedClientManager already loads the client, checks expiry and re-authorizes when needed.", "category": "maintainability", "verdict": "su...
null
spring-cloud__spring-cloud-openfeign__766
spring-cloud/spring-cloud-openfeign
766
defect
536c53a705a625f287abc1529c6723fbbe82731d
0fdaaa25b1ac1b9a5f42b58f91a3e5ad697fb6c3
Make feign.Target.url refreshable
Refer #710 - Created a model class `RefreshableUrl` to wrap url. - Created `RefreshableUrlFactoryBean` to create instance of `RefreshableUrl` bean with applicable configuration properties. - Created `RefreshableHardCodedTarget` to serve url wrapped under `RefreshableUrl` whenever needed. - `url` property added to...
diff --git a/docs/src/main/asciidoc/spring-cloud-openfeign.adoc b/docs/src/main/asciidoc/spring-cloud-openfeign.adoc index e756a7adf..708c5f56c 100644 --- a/docs/src/main/asciidoc/spring-cloud-openfeign.adoc +++ b/docs/src/main/asciidoc/spring-cloud-openfeign.adoc @@ -795,7 +795,13 @@ spring.cloud.openfeign.autoconfigu...
17
17
1
[{"id": "G0", "claim": "The documentation should always write `Feign` starting with a capital letter.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new `url` field in `FeignClientProperties.FeignClientConfiguration` should have javadoc.", "ca...
null
spring-cloud__spring-cloud-openfeign__773
spring-cloud/spring-cloud-openfeign
773
defect
5b0f9f74aff289ee620ffedb3740f1a497fd4243
d599639011f8ebde3ef051275f812b1f79ebacd5
Disable loadbalancer clients retry when clients retry is disabled (fixed)
Fixed #751
diff --git a/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/loadbalancer/RetryableFeignBlockingLoadBalancerClient.java b/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/loadbalancer/RetryableFeignBlockingLoadBalancerClient.java index c38a75324..b6498b3c6 1006...
1
1
1
[{"id": "G0", "claim": "The build is failing on a checkstyle issue caused by the new retry-policy ternary formatting in RetryableFeignBlockingLoadBalancerClient; please fix it.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
spring-cloud__spring-cloud-openfeign__774
spring-cloud/spring-cloud-openfeign
774
defect
5b0f9f74aff289ee620ffedb3740f1a497fd4243
82d5e976ca8f83eda6bf12d1602379712126240b
Handle byte[] arrays correctly.(Fixes gh-741)
Fixes #741 Make `AbstractFormWriter#isTypeOrCollection()` handle byte[] arrays correctly instead of casting byte[] to object[] directly.
diff --git a/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/support/AbstractFormWriter.java b/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/support/AbstractFormWriter.java index 2fc3395f3..de8a994ae 100644 --- a/spring-cloud-openfeign-core/src/main/java/org...
3
3
1
[{"id": "G0", "claim": "Rename the test class to `AbstractFormWriterTests` and remove the unnecessary `public` keyword from the class and method signatures.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename the test method to something more ...
null
spring-cloud__spring-cloud-openfeign__823
spring-cloud/spring-cloud-openfeign
823
defect
c10b06ec070160c274cada206be1a3a17c2d852c
c3cc9543b4371152c3dd9e6b995e184587a53482
fallback support FacotryBean
fallback is FactoryBean IllegalStateException https://github.com/spring-cloud/spring-cloud-openfeign/issues/822
diff --git a/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/FeignCircuitBreakerTargeter.java b/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/FeignCircuitBreakerTargeter.java index 047ebb0d2..2f937c146 100644 --- a/spring-cloud-openfeign-core/src/main/java/o...
2
2
1
[{"id": "G0", "claim": "The PR author should add their name and surname with the `@author` tag in the Javadoc of any class modified by the pull request.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should add tests for the fallb...
null
spring-cloud__spring-cloud-openfeign__869
spring-cloud/spring-cloud-openfeign
869
defect
235eb6d207843a8eb7d68adc0b32f8b3d7237213
c2766f0396a2f5f727a52c4f9a609d2e1def998f
Support java 11 http2 client gh-689
Support java 11 http2 client [gh-689](https://github.com/spring-cloud/spring-cloud-openfeign/issues/689)
diff --git a/docs/src/main/asciidoc/spring-cloud-openfeign.adoc b/docs/src/main/asciidoc/spring-cloud-openfeign.adoc index 338dcd5d7..e2f6521bf 100644 --- a/docs/src/main/asciidoc/spring-cloud-openfeign.adoc +++ b/docs/src/main/asciidoc/spring-cloud-openfeign.adoc @@ -140,10 +140,10 @@ If none of them is on the classpa...
10
10
1
[{"id": "G0", "claim": "The added documentation sentence introducing the three clients should be rephrased to list them as \"The OkHttpClient, Apache HttpClient 5 and Feign Http2Client\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The second a...
null
spring-cloud__spring-cloud-openfeign__890
spring-cloud/spring-cloud-openfeign
890
defect
3fc733f7ade6219dc8e665757d57401e785cdd08
9701b0a608d762aa4605061477c827a88dbbc1e3
Add HttpClientBuilderCustomizer interface
Hi, Olga. I always thank for your efforts. I would like to provide the ability for a user to customize settings, In addition to leveraging existing Spring Cloud settings. In the previous version, ApacheHttpClientFactory interface existed. So I could customize HttpClientBuilder additionally. But, in the current ...
diff --git a/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/clientconfig/HttpClient5FeignConfiguration.java b/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/clientconfig/HttpClient5FeignConfiguration.java index 36ff6b1d1..59b590540 100644 --- a/spring-cloud-...
4
4
2
[{"id": "G0", "claim": "The customizer hook should support multiple contributing beans, since there is usually a list of this type of bean rather than a single one.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Please add a test for the feature and docu...
null
spring-cloud__spring-cloud-sleuth__1226
spring-cloud/spring-cloud-sleuth
1,226
defect
107b1e3699fc06d5cb5a3044d1a26c979949e82e
8c1074d95bcc75ece96ffe75e963f596760a9831
performance enhancement, newScope and other methods is called too frequently
We are now using `spring-cloud-gateway`, I make two pressure tests on it, one sample with `spring-cloud-sleuth`, another without `spring-cloud-sleuth`, both of these two samples are tested after five minutes of warm up, and I used `jmeter` with 50 threads to test it, both of them run to 1300 qps, my gateway program ru...
diff --git a/spring-cloud-sleuth-core/src/main/java/org/springframework/cloud/sleuth/instrument/reactor/ReactorSleuth.java b/spring-cloud-sleuth-core/src/main/java/org/springframework/cloud/sleuth/instrument/reactor/ReactorSleuth.java index be63caba33..d23e885661 100644 --- a/spring-cloud-sleuth-core/src/main/java/org/...
5
4
2
[{"id": "G0", "claim": "The MDC short-circuit logic added to Slf4jCurrentTraceContext.newScope almost identically replicates brave's maybeScope, so the call site should use maybeScope instead - the scope change may be solving the problem at the wrong place.", "category": "design", "verdict": "supported", "priority": "P...
null
spring-cloud__spring-cloud-sleuth__1424
spring-cloud/spring-cloud-sleuth
1,424
defect
40a5333e562054db716b6a677dba62654a5c3b2f
0bf81995ac69e78655cadc9ab1aba6bdd08fa4e9
Adds "extra fields" but at process scope
You can now use the `spring.sleuth.local-keys` property to pass a list keys that will be propagated locally but will not be propagated over the wire. fixes gh-1421
diff --git a/docs/src/main/asciidoc/spring-cloud-sleuth.adoc b/docs/src/main/asciidoc/spring-cloud-sleuth.adoc index 1c8ddf154a..50df884cba 100644 --- a/docs/src/main/asciidoc/spring-cloud-sleuth.adoc +++ b/docs/src/main/asciidoc/spring-cloud-sleuth.adoc @@ -446,9 +446,10 @@ String countryCode = ExtraFieldPropagation.g...
2
1
0
[{"id": "G0", "claim": "The new `redacted-keys` property should be renamed to `local-keys`, and the wording adjusted (\"will be available locally\" clarified as \"will be propagated locally\", with `propagation-keys` described as keys propagated to remote services), since \"redacted\" is but one use case and implies mo...
null
spring-cloud__spring-cloud-sleuth__1433
spring-cloud/spring-cloud-sleuth
1,433
defect
aa1d0830ba0a744aba2e6b17141cde0302570f11
c6d70b9bb906447fc75a3b8cd81f3d96a21817c0
Add passthrough mode to HystrixConcurrencyStrategy
Draft proposal for #1431. Passthrough is disabled by default which means that the current behaviour will not change with this change. When `spring.sleuth.hystrix.strategy.passthrough` is enabled, the HystrixConcurrencyStrategy will just pass the trace context to the Hystrix execution thread instead of using TraceCa...
diff --git a/docs/src/main/asciidoc/spring-cloud-sleuth.adoc b/docs/src/main/asciidoc/spring-cloud-sleuth.adoc index f7a095efc4..fe256aece5 100644 --- a/docs/src/main/asciidoc/spring-cloud-sleuth.adoc +++ b/docs/src/main/asciidoc/spring-cloud-sleuth.adoc @@ -1028,6 +1028,7 @@ That way, you ensure that a new span is cre...
3
2
0
[{"id": "G0", "claim": "An enum (e.g. spring.sleuth.hystrix.strategy=passthrough/active/disabled) would probably be a better fit for the strategy configuration than boolean flags, though switching would likely involve breaking changes.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduc...
null
spring-cloud__spring-cloud-sleuth__1541
spring-cloud/spring-cloud-sleuth
1,541
defect
c426fa5c63db99313d7d639d80698a02e44d3904
933edb216f2b1dce1aa5721fec62b04591874c28
Refactors some of the reactor code
This starts a process to understand what the reactor code is doing and why.
diff --git a/spring-cloud-sleuth-core/src/main/java/org/springframework/cloud/sleuth/instrument/reactor/LazySpanSubscriber.java b/spring-cloud-sleuth-core/src/main/java/org/springframework/cloud/sleuth/instrument/reactor/LazySpanSubscriber.java index 576c6ffc00..9e2fa57adf 100644 --- a/spring-cloud-sleuth-core/src/main...
5
4
1
[{"id": "G0", "claim": "Add a comment explaining why the AtomicBoolean pattern helps, once its purpose is understood.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "If the subscriber is supposed to perform some callbacks only once, the atomic meth...
null
spring-cloud__spring-cloud-sleuth__1545
spring-cloud/spring-cloud-sleuth
1,545
defect
4acbaf38f320e2c2ec8b57256b9c99c04109942c
d33b1240705d370fdcdaa774c853a713db2cb0b9
Uses ConfigurableApplicationContext consistently in Reactor
Before, we used ConfigurableApplicationContext or BeanFactory eventhough we already had a reference to ConfigurableApplicationContext. This uses the latter consistently, avoiding a state condition that caused more code. This also corrects some misnamed tests and adjusts them to verify only what they are responsi...
diff --git a/spring-cloud-sleuth-core/src/main/java/org/springframework/cloud/sleuth/instrument/reactor/LazySpanSubscriber.java b/spring-cloud-sleuth-core/src/main/java/org/springframework/cloud/sleuth/instrument/reactor/LazySpanSubscriber.java deleted file mode 100644 index 6670802013..0000000000 --- a/spring-cloud-sl...
3
2
1
[{"id": "G0", "claim": "Changing the parameter of ReactorSleuth.scopePassingSpanOperator from BeanFactory to ConfigurableApplicationContext is a breaking API change, so the reviewer suggests deprecating this method and creating a new one.", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "introdu...
null
spring-cloud__spring-cloud-sleuth__1578
spring-cloud/spring-cloud-sleuth
1,578
defect
2024e2893738de5b591d462f262418092c128e64
a628315447b7fe1db226ab219690c2c60b69e2c4
Adds base integration test for reactor clients and adds cancelation tests
in order to test typical concerns common to all reactor based clients, this makes a base type. Afterwards, we can do things like canceled subscriptions and make sure both WebClient and Reactor's HttpClient (both of which are pinned to reactor's types) get tested.
diff --git a/spring-cloud-sleuth-core/src/main/java/org/springframework/cloud/sleuth/instrument/web/client/HttpClientBeanPostProcessor.java b/spring-cloud-sleuth-core/src/main/java/org/springframework/cloud/sleuth/instrument/web/client/HttpClientBeanPostProcessor.java index 45312ffa5a..13381feea0 100644 --- a/spring-cl...
4
2
1
[{"id": "G0", "claim": "The new HttpClientBeanPostProcessorTest dies under Maven while passing in IntelliJ, and the cause is unknown.", "category": "testing", "verdict": "uncertain", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The .log() in the mapConnect tests should be scrubbed before merge.", "c...
null
spring-cloud__spring-cloud-sleuth__1859
spring-cloud/spring-cloud-sleuth
1,859
defect
b9419438eba4acc266663a4bc1c70c1bd6a5e586
2eeed58aef3a5715bc710d58169d309dbdcdec91
Implement mechanism to apply custom api path
This comes in handy when another monitoring tool is being used, for instance new relic, which doesn't not require path in its tracing api. Context as of feb 19, new relic doesn't accept request to its tracing api endpoint with path. Previous it was fine, now it will throw 404 erro.
diff --git a/spring-cloud-sleuth-zipkin/src/main/java/org/springframework/cloud/sleuth/zipkin2/ZipkinProperties.java b/spring-cloud-sleuth-zipkin/src/main/java/org/springframework/cloud/sleuth/zipkin2/ZipkinProperties.java index 555da14ab3..2351487e4b 100644 --- a/spring-cloud-sleuth-zipkin/src/main/java/org/springfram...
6
3
0
[{"id": "G0", "claim": "The null check for customApiPath in buildUrlWithCustomPathIfNecessary could use StringUtils.hasText(...) instead of Objects.nonNull(...).", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "apiPath should default to api/v2/spans...
null
spring-cloud__spring-cloud-sleuth__1964
spring-cloud/spring-cloud-sleuth
1,964
defect
6a094db84e5f8037012a5b2732e40b4562b23376
0ffbac31147f2143181d18c0132c382e5b536c6e
Actuator endpoint with spans
fixes #1879
diff --git a/pom.xml b/pom.xml index 00da89234e..087ddb99a2 100644 --- a/pom.xml +++ b/pom.xml @@ -29,7 +29,7 @@ <parent> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-build</artifactId> - <version>3.0.3-SNAPSHOT</version> + <version>3.1.0-SNAPSHOT</version> <relativePath/> ...
13
9
4
[{"id": "G0", "claim": "The `spring.sleuth.actuator` configuration namespace looks odd because the endpoint lives in the `management` namespace, which already provides a way to enable/disable it via Spring Boot.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "clai...
null
spring-cloud__spring-cloud-sleuth__1969
spring-cloud/spring-cloud-sleuth
1,969
defect
2d627f4d066d0b7a3cf0a014c5f62decabf7faa9
296e07da036460c6f2d78d460c1ca1ed5600609f
simplify ON_EACH reactor instrumentation
remove custom Publisher decorators that were mostly copy of reactor-core Lift Publishers and use new LIFTER Scannable Attribute instead. additional context: Reduces amount of code on Sleuth side as proposed here https://github.com/spring-cloud/spring-cloud-sleuth/pull/1830#issuecomment-774302906
diff --git a/spring-cloud-sleuth-instrumentation/src/main/java/org/springframework/cloud/sleuth/instrument/reactor/ReactorHooksHelper.java b/spring-cloud-sleuth-instrumentation/src/main/java/org/springframework/cloud/sleuth/instrument/reactor/ReactorHooksHelper.java index dd759fbbdc..9d7d0942b3 100644 --- a/spring-clou...
2
2
0
[{"id": "G0", "claim": "The LIFTER_NAME constant in ReactorHooksHelper should be package scope instead of public.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test constant LIFTER_NAME should be marked as a copy of the original in ReactorHooksHelpe...
null
spring-cloud__spring-cloud-sleuth__1976
spring-cloud/spring-cloud-sleuth
1,976
defect
75b40bb88486f4ece11ecea519cf7782b1360c5e
89781977e46596d98973ebbfd15d8cbc92205aa3
Fix not able to override datasource-proxy log-level
Fixes #1973 @marcingrzejszczak @gavlyukovskiy can you please review this PR - Aligned default values of `Query` & `SlowQuery` in `TraceJdbcProperties.DataSourceProxyProperties` and `DataSourceProxyProperties` - Add code to copy properties of `Query` and `SlowQuery` in `DataSourceProxyConfiguration` - Add test ...
diff --git a/spring-cloud-sleuth-autoconfigure/src/main/java/org/springframework/cloud/sleuth/autoconfig/instrument/jdbc/DataSourceProxyConfiguration.java b/spring-cloud-sleuth-autoconfigure/src/main/java/org/springframework/cloud/sleuth/autoconfig/instrument/jdbc/DataSourceProxyConfiguration.java index 876efc38cc..ba8...
1
1
1
[{"id": "G0", "claim": "Defaulting both query and slow-query `enableLogging` to `true` can lead to a gigantic amount of logs, so both should be left as opt-in (default `false`).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
spring-cloud__spring-cloud-sleuth__1977
spring-cloud/spring-cloud-sleuth
1,977
defect
75b40bb88486f4ece11ecea519cf7782b1360c5e
adac81d1b072fd6f24793aa0821a0742d1f65181
Adds support for Kotlin Coroutines
fixes #1737 cc @sdeleuze
diff --git a/.editorconfig b/.editorconfig index ffe385c6de..3240ec9daa 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,28 +1,33 @@ -root = true - -[*] -end_of_line = crlf -insert_final_newline = true - -[*.java] -indent_style = tab -indent_size = 4 -continuation_indent_size = 8 - -[*.groovy] -indent_style = tab -...
1
1
0
[{"id": "G0", "claim": "The pull request rewrites every line of .editorconfig and three .java files that had no content change (apparently line-ending churn), and the reviewer asks the author to check what happened with those files.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "in...
null
spring-cloud__spring-cloud-sleuth__2044
spring-cloud/spring-cloud-sleuth
2,044
defect
5503910d00254526458a46a6b11aa94d582a3120
5ab1892915550595d73a48f28ebccdd35446e616
Reactive mongo
the sample https://github.com/spring-cloud-samples/spring-cloud-sleuth-samples/pull/15
diff --git a/spring-cloud-sleuth-autoconfigure/src/main/java/org/springframework/cloud/sleuth/autoconfig/brave/instrument/mongodb/BraveMongoDbAutoConfiguration.java b/spring-cloud-sleuth-autoconfigure/src/main/java/org/springframework/cloud/sleuth/autoconfig/brave/instrument/mongodb/BraveMongoDbAutoConfiguration.java i...
4
3
1
[{"id": "G0", "claim": "Asks whether the replacement of BDDMockito (and BDDAssertions) with their non-BDD equivalents should be applied consistently wherever they appear in the code.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "A DEBUG log sho...
null
spring-cloud__spring-cloud-task__182
spring-cloud/spring-cloud-task
182
defect
21d4a1759191e5217d610e09b640438e8103a8fc
526dc41af9ca12dc9659354a9f079b61aa0b13e0
Added abstraction for defining environment variables
When launching workers as separate tasks, it can be useful to be able to use additional logic to define environment variables. This commit provides an abstraction to allow for the customization of environment variables on a per worker basis as well as two useful implementations: - A no-op implementation (returns an em...
diff --git a/spring-cloud-task-batch/src/main/java/org/springframework/cloud/task/batch/partition/DeployerPartitionHandler.java b/spring-cloud-task-batch/src/main/java/org/springframework/cloud/task/batch/partition/DeployerPartitionHandler.java index 0119d2c91..9e7649663 100644 --- a/spring-cloud-task-batch/src/main/ja...
4
2
1
[{"id": "G0", "claim": "SimpleEnvironmentVariablesProvider.getEnvironmentVariables should not take an executionContext parameter it never uses.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "NoOpEnvironmentVariablesProvider is unused dead code and should b...
null
spring-cloud__spring-cloud-task__227
spring-cloud/spring-cloud-task
227
defect
8e8a5c927ae5b01299a704ffa2737b4347cc537b
e022b3042d3dedc1aa724192d04d2229560080be
Adding a few more tests.
Added unit tests to classes that had no coverage. Added unit tests to classes bump up coverage.
diff --git a/spring-cloud-task-batch/src/test/java/org/springframework/cloud/task/batch/listener/TaskBatchExecutionListenerTests.java b/spring-cloud-task-batch/src/test/java/org/springframework/cloud/task/batch/listener/TaskBatchExecutionListenerTests.java index dd4520fa6a..e5e0e0e366 100644 --- a/spring-cloud-task-bat...
6
5
1
[{"id": "G0", "claim": "testBeanFactoryReturnsSameInstance only exercises Spring's FactoryBean caching rather than anything specific to SCT, so it adds no real value and should not be kept.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "ResourceLoadingA...
null
spring-cloud__spring-cloud-task__304
spring-cloud/spring-cloud-task
304
defect
a1cffe8bd47cc7c959e4d73ea68b8acd1f1c62ea
ac1440bcb27ef2cb4115743db1a42c0229a52d7d
Upgraded versions and fixed test
This commit upgrades the versions to the latest and greatest as well as removes the custom implementation of a TaskLauncher.
diff --git a/pom.xml b/pom.xml index d1f3405770..7901552c6a 100755 --- a/pom.xml +++ b/pom.xml @@ -137,12 +137,12 @@ </modules> <properties> - <spring-cloud-stream.version>1.2.0.RC1</spring-cloud-stream.version> - <spring-cloud-deployer-spi.version>1.2.0.M3</spring-cloud-deployer-spi.version> - <spring-cloud-d...
3
1
0
[{"id": "G0", "claim": "Move the Spring Cloud Stream artifacts this pull request upgrades (the root pom's spring-cloud-stream.version property and the stream test-support dependencies in the batch-events and tasksink samples) to 1.2.1.RELEASE, released April 12, and test against that instead of 1.2.0.RELEASE.", "catego...
null
spring-cloud__spring-cloud-task__798
spring-cloud/spring-cloud-task
798
defect
8b4352095dcb71b66b60e7336875310ebaef9004
2a60766557bfbd97a3e15f84f33b1df890a639c1
Resolves Circular Dependency issue
Makes sure that dependencies are passed in via parameters in bean declaraction vs. Autowiring refer to https://github.com/spring-projects/spring-batch/issues/3991 resolves #797
diff --git a/spring-cloud-starter-single-step-batch-job/src/main/java/org/springframework/cloud/task/batch/autoconfigure/flatfile/FlatFileItemReaderAutoConfiguration.java b/spring-cloud-starter-single-step-batch-job/src/main/java/org/springframework/cloud/task/batch/autoconfigure/flatfile/FlatFileItemReaderAutoConfigur...
1
1
0
[{"id": "G0", "claim": "The added null-check if statements around the lineTokenizer (and similar) builder calls are unnecessary because the builder already validates the state, and the codebase does not do such null checks elsewhere, so they should be removed.", "category": "design", "verdict": "supported", "priority":...
null
spring-cloud__spring-cloud-vault__1
spring-cloud/spring-cloud-vault
1
defect
69eb7197da6522e457a9b96d3dbf943f2cb141df
7485d863c886ecc59ef15d4a4513868079df0126
Implement app-id authentication
These commits introduce: - Scripts to execute Vault locally/in a docker container - App-Id authentication support - Test infrastructure to configure Vault - Integration tests to load data into vault and verify the outcome
diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 000000000..39f5469cc --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,8 @@ +# Work in Progress +vault: + image: cgswong/vault + volumes: + - ./src/test/resources:/config + ports: + - "8200:8200" + command: server -config /config/...
2
1
1
[{"id": "G0", "claim": "UserIdMechanism should be an interface with multiple implementations activated by a property instead of an enum.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks whether the mechanism also needs to support an unaut...
null
spring-io__start.spring.io__1348
spring-io/start.spring.io
1,348
defect
4e5ec6e5b7d73f803c4a526faece656cee00dabe
043b11579a42ca9df7be4f591860614158f7758d
Add Netflix DGS Codegen plugin support
This commit adds a new dependency to start.spring.io, the "Netflix Data Graph Service Codegen". This will not add a dependency to generated project, but rather configure a Maven or a Gradle plugin in the build. This Codegen plugin parses GraphQL schema files describing remote GraphQL APIs and generates Java classes to...
diff --git a/start-site/src/main/java/io/spring/start/site/extension/dependency/dgs/DgsCodegenBuildCustomizer.java b/start-site/src/main/java/io/spring/start/site/extension/dependency/dgs/DgsCodegenBuildCustomizer.java new file mode 100644 index 00000000000..1a495c74aae --- /dev/null +++ b/start-site/src/main/java/io/s...
5
4
0
[{"id": "G0", "claim": "The dgs-codegen dependency entry may not need a version mapping since the artifact is only a trigger for the build system setup.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The help document tests need not assert the full wordi...
null
spring-io__start.spring.io__2122
spring-io/start.spring.io
2,122
defect
fef90c89134ec7e3a0d3438e02ed4a98084f76dc
7adb94092537f30db4f309311f615dfc568e87f4
Generate Compose file when Milvus and Docker Compose are selected
Milvus Docker Compose Service Connection was added in Spring AI 2.0.0-M3. Signed-off-by: Eddú Meléndez <eddu.melendez@gmail.com>
diff --git a/start-site/src/main/java/io/spring/start/site/container/SimpleDockerServiceResolver.java b/start-site/src/main/java/io/spring/start/site/container/SimpleDockerServiceResolver.java index 8384010f663..a86e2056b41 100644 --- a/start-site/src/main/java/io/spring/start/site/container/SimpleDockerServiceResolver...
3
2
2
[{"id": "G0", "claim": "Asks why port 9091 is needed on the Milvus Docker service, questioning whether the added second port is necessary.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The generated Milvus Compose service has no health check, so the Milvu...
null
spring-io__start.spring.io__2168
spring-io/start.spring.io
2,168
defect
6262fd4118e3edffd908626b88be8ca64fe929fc
d531e1ed7fa418ecd9c3398d4debe4f35b8f1a0a
Add infrastructure for Testcontainers generation code to add annotations
Description This PR enhances the ServiceConnection API to support custom annotations with attributes (parameters). This is a foundational change that enables the upcoming support for the @Ssl annotation required by newer versions of Elasticsearch (v8+), as originally discussed in #2162. Changes * Infrastructure:...
diff --git a/start-site/src/main/java/io/spring/start/site/container/ServiceConnections.java b/start-site/src/main/java/io/spring/start/site/container/ServiceConnections.java index 072bcd4e487..a5e3a21460d 100644 --- a/start-site/src/main/java/io/spring/start/site/container/ServiceConnections.java +++ b/start-site/src/...
1
1
1
[{"id": "G0", "claim": "The AnnotationRequest API works only for String attributes; the reviewer asks what happens with a different type of attribute.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
spring-io__start.spring.io__2169
spring-io/start.spring.io
2,169
defect
2201ec7417cd7def722ca3d088209bf18b7d941a
ce760a2d9fa75960f4e38a85900da4b89de2fe44
Use apache/artemis image with Spring Boot 4.0 and later
Signed-off-by: Eddú Meléndez <eddu.melendez@gmail.com>
diff --git a/start-site/src/main/java/io/spring/start/site/container/SimpleDockerServiceResolver.java b/start-site/src/main/java/io/spring/start/site/container/SimpleDockerServiceResolver.java index 7ea97325183..748a6f00b16 100644 --- a/start-site/src/main/java/io/spring/start/site/container/SimpleDockerServiceResolver...
2
2
1
[{"id": "G0", "claim": "The version gate parses the range as \"4.0.3\", so Boot 4.0.0 requests would still use the legacy \"artemis\" service id; the gate should start at 4.0.0 to match the PR's stated \"Spring Boot 4 and later\" goal.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "int...
null
spring-projects-experimental__spring-boot-migrator__16
spring-projects-experimental/spring-boot-migrator
16
defect
206ab2d66012e39e93c52cfcbf3ceb79e1bfe72d
2bfaa6ad2e6773b63a3fd9785ee0938a650bdc9a
Simplify function parameter class reference
<img width="1770" alt="effect" src="https://user-images.githubusercontent.com/59915704/156420809-b26b6637-4a24-489b-83c7-cb2443312a44.png"> ## Simplify function parameter class reference
diff --git a/applications/spring-shell/src/test/java/org/springframework/sbm/BootifySimpleMuleAppIntegrationTest.java b/applications/spring-shell/src/test/java/org/springframework/sbm/BootifySimpleMuleAppIntegrationTest.java index ca18bc4d7..8a80117ac 100644 --- a/applications/spring-shell/src/test/java/org/springframe...
3
2
1
[{"id": "G0", "claim": "Move the class-simple-name extraction out of the static Helper and into Bean, exposed as cohesive methods on Bean (e.g. getDependentBeanClassName()/getDependentBeanSimpleName()) that the bean rendering in AbstractTopLevelElement calls instead of Helper.getClassFromFullyQualifiedReference(b.getBe...
null
spring-projects-experimental__spring-boot-migrator__333
spring-projects-experimental/spring-boot-migrator
333
defect
3370ea0b618122aec6065e3888c4a5c56fe035b3
99e45ac248ed59366ddd44e68f8dba7baab46437
#329 compilable Boot Integration output
Now the output of integration test: `BootUpgrade_27_30_IntegrationTest` is compilable. To achieve this we have made following changes: * Added a new action called: `AddMavenPluginRepository` which adds plugin milestone repository to existing pom * `AddMavenPluginRepository` is paired with a condition (`NoPluginRepo...
diff --git a/applications/spring-shell/src/test/java/org/springframework/sbm/BootUpgrade_27_30_IntegrationTest.java b/applications/spring-shell/src/test/java/org/springframework/sbm/BootUpgrade_27_30_IntegrationTest.java index 271a7313c..d80567579 100644 --- a/applications/spring-shell/src/test/java/org/springframework...
8
2
1
[{"id": "G0", "claim": "The Spring Boot (plugin) repository hardcoded in the integration-test pom should instead be added by the upgrade recipe.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The author should configure their IDE not to reformat javadoc ...
null
spring-projects-experimental__spring-boot-migrator__369
spring-projects-experimental/spring-boot-migrator
369
defect
1c07d0eede3b52934411fb675656e4174d8b797c
405612b50982110f8ffa89764aae60ffa4995e58
Makes CreateAutoConfigurationAction multi-module aware
Fixes #365
diff --git a/applications/spring-shell/src/test/java/org/springframework/sbm/BootUpgrade_27_30_IntegrationTest.java b/applications/spring-shell/src/test/java/org/springframework/sbm/BootUpgrade_27_30_IntegrationTest.java index 2e8daaecc..a04d070b4 100644 --- a/applications/spring-shell/src/test/java/org/springframework...
2
1
0
[{"id": "G0", "claim": "Remove the else block that throws an IllegalStateException when no module containing the spring.factories resource is found; if the file wasn't found the recipe should do nothing instead of throwing.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id":...
null
spring-projects-experimental__spring-boot-migrator__468
spring-projects-experimental/spring-boot-migrator
468
defect
5a93480514cc02f70889b23b31414b34b9c92a58
2dcba577acb019b7b20cc855ce380f0d1fd22493
Support for `.mvn/maven.config`
Closes #462
diff --git a/components/sbm-core/src/main/java/org/springframework/sbm/build/impl/OpenRewriteMavenBuildFile.java b/components/sbm-core/src/main/java/org/springframework/sbm/build/impl/OpenRewriteMavenBuildFile.java index a2acc89ad..9178d5aed 100644 --- a/components/sbm-core/src/main/java/org/springframework/sbm/build/i...
3
3
1
[{"id": "G0", "claim": "The `.map(k -> Arrays.stream(k.split(\"\\n\")).collect(Collectors.toList())).flatMap(Collection::stream)` chain in MavenConfigParser.parse can be replaced with a single `.flatMap(k -> Arrays.stream(k.split(\"\\n\")))`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "s...
null
spring-projects-experimental__spring-boot-migrator__473
spring-projects-experimental/spring-boot-migrator
473
defect
5a93480514cc02f70889b23b31414b34b9c92a58
a6002fe911502e60c60b28f97b802b3c707a709b
adding the jmx endpoint exposure related files .
Adding 3.0.0-M5: JMX Endpoint Exposure related code for issue #444
diff --git a/components/sbm-recipes-boot-upgrade/src/main/java/org/springframework/sbm/boot/upgrade_27_30/actions/Boot_27_30_JmxEndpointExposureAction.java b/components/sbm-recipes-boot-upgrade/src/main/java/org/springframework/sbm/boot/upgrade_27_30/actions/Boot_27_30_JmxEndpointExposureAction.java new file mode 10064...
1
1
1
[{"id": "G0", "claim": "The Boot_27_30_JmxEndpointExposureAction recipe entry added to boot-2.7-3.0-upgrade-report.yaml needs to go into boot-2.7-3.0-dependency-version-update.yaml instead, since the upgrade-report recipe is meant only for creating the 'Boot 3 Upgrade Report'.", "category": "design", "verdict": "suppor...
null
spring-projects-experimental__spring-boot-migrator__706
spring-projects-experimental/spring-boot-migrator
706
defect
555a0f71a9d0f0bb0d1904075230258b2e692f09
0c57214653ca8e5f5f68136c2802538c1b850001
Fix calculation of base package
This is the fix for the issue https://github.com/spring-projects-experimental/spring-boot-migrator/issues/49. Please let me know if any further changes are required.
diff --git a/components/sbm-core/src/main/java/org/springframework/sbm/java/util/BasePackageCalculator.java b/components/sbm-core/src/main/java/org/springframework/sbm/java/util/BasePackageCalculator.java index 1df380121..d6fb62e6a 100644 --- a/components/sbm-core/src/main/java/org/springframework/sbm/java/util/BasePac...
1
1
1
[{"id": "G0", "claim": "Modify one existing test and add another one as done in commit 89ef372 to cover the PR's new base-package calculation behaviour.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null