profile
viewpoint
Ryan Baxter ryanjbaxter Pivotal Concord, NH, USA http://ryanjbaxter.com

ryanjbaxter/chaos-monkey-spring-boot-demo 31

Demo of Chaos Monkey for Spring Boot

ryanjbaxter/bluegreen 10

Blue Green deployments with Spring Cloud

ryanjbaxter/generator-sb 3

Spring Boot Yeoman Generator

ryanjbaxter/dekorate 1

Java annotation processors for Kubernetes

ryanjbaxter/gs-circuit-breaker 1

Circuit Breaker :: Learn how to degrade gracefully services using Hystrix

push eventspring-cloud/spring-cloud-static

Ryan Baxter

commit sha cc256dce42a30e166784ca2a4e7332f54980b104

updating docs

view details

push time in 11 hours

pull request commentspring-cloud/spring-cloud-gateway

Translate Istio error message to exception to be used in conjunction with CB filter

@spencergibb I agree.

This problem would not be specific to Istio or other service meshes either.

srinivasa-vasu

comment created time in 15 hours

issue commentcdr/code-server

Missing Extension For Spring Boot Dashboard

@cmoog thanks! Is there anything I need to do to make sure code-server uses it?

ryanjbaxter

comment created time in 8 days

issue openedcdr/code-server

Missing Extension For Spring Boot Dashboard

When I start code-server and go to the Spring Boot Dashboard it complains about a missing extension.

This is the extension that is missing, once it is installed everything seems to work. https://dist.springsource.com/release/STS4/vscode/vscode-spring-boot-1.17.0-RC.1.vsix

created time in 8 days

pull request commentspring-cloud/spring-cloud-commons

Extend ServiceInstanceChooser with new choose method

@spencergibb I think that is worth while for sure

Aloren

comment created time in 14 days

push eventspring-cloud/spring-cloud-kubernetes

moudatsos

commit sha 742e418c7ccf46b8bc3d41c8f3664ae310bfa1e1

Fix value data-type & entry-set order of yml properties bound to Map (#556) implementing PR #554 on 1.1.x branch Co-authored-by: Michael Moudatsos <v-mmoudatsos@eurobank.gr>

view details

Ryan Baxter

commit sha c997033885fe218d01304d5a3f3a4c809af2d57c

Merge remote-tracking branch 'origin/1.1.x'

view details

push time in 15 days

push eventspring-cloud/spring-cloud-kubernetes

moudatsos

commit sha 742e418c7ccf46b8bc3d41c8f3664ae310bfa1e1

Fix value data-type & entry-set order of yml properties bound to Map (#556) implementing PR #554 on 1.1.x branch Co-authored-by: Michael Moudatsos <v-mmoudatsos@eurobank.gr>

view details

push time in 15 days

PR merged spring-cloud/spring-cloud-kubernetes

Fix value data-type & entry-set order of yml properties bound to Map bug

implementing PR #554 on 1.1.x branch

Issue: properties bound to a java.util.Map object do not maintain their definition order and their values lose their data-type, since they 're converted to String values. This fix mainly targets org.springframework.cloud.kubernetes.config .PropertySourceUtils.PROPERTIES_TO_MAP implementation: Configuration properties that are bound to a java.util.Map had their value's type affected by the use of .toString() on each entry's value during Map entry processing. Moreover, the use of java.util.stream .Collectors.toMap(java.util.function.Function<? super T,? extends K>, java.util.function.Function<? super T,? extends U>) when processing Map-bound properties, resulted in losing the entry insertion order of the original Map. The fix entails usage of the original entry value and a Collectors.toMap() variant that maintains the behavior of the method previously used, yet uses a java.util.LinkedHashMap as the target data structure for the processed entries. Ramification changes on method signature and return type have been applied where needed.

+31 -19

1 comment

4 changed files

moudatsos

pr closed time in 15 days

pull request commentspring-cloud/spring-cloud-kubernetes

Fix value data-type & entry-set order issues of properties bound to Map

Thanks @moudatsos!

Can you create a PR against the 1.1.x branch and we will merge it forward to master? The 1.0.x branch is no longer being actively maintained so no need to put the fix there.

moudatsos

comment created time in 18 days

issue commentspring-cloud/spring-cloud-kubernetes

ribbon.mode SERVICE doesn't work

What version of Spring Cloud are you using?

DmitryevichD

comment created time in a month

pull request commentspring-cloud/spring-cloud-openfeign

Sort Support for feign pagination

Also be sure to add some documentation that this would now be supported

cbezmen

comment created time in a month

issue commentspring-projects/spring-boot

Hitting Readiness and Liveness endpoints throws NPE

@bclozel thanks I will give snapshots a try again!

ryanjbaxter

comment created time in a month

issue commentspring-projects/spring-boot

Hitting Readiness and Liveness endpoints throws NPE

I noticed that there were two instance of SimpleStatusAggregator being created. That seemed odd to me. One was created early on and like you said SimpleStatusAggregator.DEFAULT_ORDER was not initialized and that was what was used when hitting the endpoints.

I didnt dig further than that though

ryanjbaxter

comment created time in a month

issue commentspring-projects/spring-boot

Hitting Readiness and Liveness endpoints throws NPE

Problem only seems to occur in snapshots right now, it does not occur when using M4

ryanjbaxter

comment created time in a month

issue openedspring-projects/spring-boot

Hitting Readiness and Liveness endpoints throws NPE

Start the attached boot application. Hit http://localhost:8080/actuator/health/readiness and you should see the the NPE below. config-map-demo.zip

java.lang.NullPointerException: null
	at org.springframework.boot.actuate.health.SimpleStatusAggregator.contains(SimpleStatusAggregator.java:76) ~[spring-boot-actuator-2.3.0.BUILD-20200428.104559-600.jar:2.3.0.BUILD-SNAPSHOT]
	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174) ~[na:1.8.0_91]
	at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1540) ~[na:1.8.0_91]
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) ~[na:1.8.0_91]
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) ~[na:1.8.0_91]
	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[na:1.8.0_91]
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[na:1.8.0_91]
	at java.util.stream.ReferencePipeline.reduce(ReferencePipeline.java:479) ~[na:1.8.0_91]
	at java.util.stream.ReferencePipeline.min(ReferencePipeline.java:520) ~[na:1.8.0_91]
	at org.springframework.boot.actuate.health.SimpleStatusAggregator.getAggregateStatus(SimpleStatusAggregator.java:72) ~[spring-boot-actuator-2.3.0.BUILD-20200428.104559-600.jar:2.3.0.BUILD-SNAPSHOT]
	at org.springframework.boot.actuate.health.HealthEndpointSupport.getCompositeHealth(HealthEndpointSupport.java:132) ~[spring-boot-actuator-2.3.0.BUILD-20200428.104559-600.jar:2.3.0.BUILD-SNAPSHOT]
	at org.springframework.boot.actuate.health.HealthEndpointWebExtension.aggregateContributions(HealthEndpointWebExtension.java:91) ~[spring-boot-actuator-2.3.0.BUILD-20200428.104559-600.jar:2.3.0.BUILD-SNAPSHOT]
	at org.springframework.boot.actuate.health.HealthEndpointWebExtension.aggregateContributions(HealthEndpointWebExtension.java:44) ~[spring-boot-actuator-2.3.0.BUILD-20200428.104559-600.jar:2.3.0.BUILD-SNAPSHOT]
	at org.springframework.boot.actuate.health.HealthEndpointSupport.getAggregateHealth(HealthEndpointSupport.java:120) ~[spring-boot-actuator-2.3.0.BUILD-20200428.104559-600.jar:2.3.0.BUILD-SNAPSHOT]
	at org.springframework.boot.actuate.health.HealthEndpointSupport.getContribution(HealthEndpointSupport.java:96) ~[spring-boot-actuator-2.3.0.BUILD-20200428.104559-600.jar:2.3.0.BUILD-SNAPSHOT]
	at org.springframework.boot.actuate.health.HealthEndpointSupport.getHealth(HealthEndpointSupport.java:74) ~[spring-boot-actuator-2.3.0.BUILD-20200428.104559-600.jar:2.3.0.BUILD-SNAPSHOT]
	at org.springframework.boot.actuate.health.HealthEndpointSupport.getHealth(HealthEndpointSupport.java:59) ~[spring-boot-actuator-2.3.0.BUILD-20200428.104559-600.jar:2.3.0.BUILD-SNAPSHOT]
	at org.springframework.boot.actuate.health.HealthEndpointWebExtension.health(HealthEndpointWebExtension.java:71) ~[spring-boot-actuator-2.3.0.BUILD-20200428.104559-600.jar:2.3.0.BUILD-SNAPSHOT]
	at org.springframework.boot.actuate.health.HealthEndpointWebExtension.health(HealthEndpointWebExtension.java:66) ~[spring-boot-actuator-2.3.0.BUILD-20200428.104559-600.jar:2.3.0.BUILD-SNAPSHOT]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_91]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_91]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_91]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_91]
	at org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:282) ~[spring-core-5.2.6.BUILD-20200428.052853-104.jar:5.2.6.BUILD-SNAPSHOT]
	at org.springframework.boot.actuate.endpoint.invoke.reflect.ReflectiveOperationInvoker.invoke(ReflectiveOperationInvoker.java:77) ~[spring-boot-actuator-2.3.0.BUILD-20200428.104559-600.jar:2.3.0.BUILD-SNAPSHOT]
	at org.springframework.boot.actuate.endpoint.annotation.AbstractDiscoveredOperation.invoke(AbstractDiscoveredOperation.java:60) ~[spring-boot-actuator-2.3.0.BUILD-20200428.104559-600.jar:2.3.0.BUILD-SNAPSHOT]
	at org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$ServletWebOperationAdapter.handle(AbstractWebMvcEndpointHandlerMapping.java:305) ~[spring-boot-actuator-2.3.0.BUILD-20200428.104559-600.jar:2.3.0.BUILD-SNAPSHOT]
	at org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(AbstractWebMvcEndpointHandlerMapping.java:388) ~[spring-boot-actuator-2.3.0.BUILD-20200428.104559-600.jar:2.3.0.BUILD-SNAPSHOT]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_91]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_91]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_91]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_91]
	at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) ~[spring-web-5.2.6.BUILD-20200428.052853-101.jar:5.2.6.BUILD-SNAPSHOT]
	at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) ~[spring-web-5.2.6.BUILD-20200428.052853-101.jar:5.2.6.BUILD-SNAPSHOT]
	at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) ~[spring-webmvc-5.2.6.BUILD-20200428.052853-101.jar:5.2.6.BUILD-SNAPSHOT]
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:879) ~[spring-webmvc-5.2.6.BUILD-20200428.052853-101.jar:5.2.6.BUILD-SNAPSHOT]
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793) ~[spring-webmvc-5.2.6.BUILD-20200428.052853-101.jar:5.2.6.BUILD-SNAPSHOT]
	at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.2.6.BUILD-20200428.052853-101.jar:5.2.6.BUILD-SNAPSHOT]
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) ~[spring-webmvc-5.2.6.BUILD-20200428.052853-101.jar:5.2.6.BUILD-SNAPSHOT]
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) ~[spring-webmvc-5.2.6.BUILD-20200428.052853-101.jar:5.2.6.BUILD-SNAPSHOT]
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) ~[spring-webmvc-5.2.6.BUILD-20200428.052853-101.jar:5.2.6.BUILD-SNAPSHOT]
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) ~[spring-webmvc-5.2.6.BUILD-20200428.052853-101.jar:5.2.6.BUILD-SNAPSHOT]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) ~[tomcat-embed-core-9.0.33.jar:9.0.33]
	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) ~[spring-webmvc-5.2.6.BUILD-20200428.052853-101.jar:5.2.6.BUILD-SNAPSHOT]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) ~[tomcat-embed-core-9.0.33.jar:9.0.33]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) ~[tomcat-embed-core-9.0.33.jar:9.0.33]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.33.jar:9.0.33]
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-embed-websocket-9.0.33.jar:9.0.33]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.33.jar:9.0.33]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.33.jar:9.0.33]
	at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-5.2.6.BUILD-20200428.052853-101.jar:5.2.6.BUILD-SNAPSHOT]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.6.BUILD-20200428.052853-101.jar:5.2.6.BUILD-SNAPSHOT]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.33.jar:9.0.33]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.33.jar:9.0.33]
	at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[spring-web-5.2.6.BUILD-20200428.052853-101.jar:5.2.6.BUILD-SNAPSHOT]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.6.BUILD-20200428.052853-101.jar:5.2.6.BUILD-SNAPSHOT]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.33.jar:9.0.33]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.33.jar:9.0.33]
	at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:93) ~[spring-boot-actuator-2.3.0.BUILD-20200428.104559-600.jar:2.3.0.BUILD-SNAPSHOT]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.6.BUILD-20200428.052853-101.jar:5.2.6.BUILD-SNAPSHOT]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.33.jar:9.0.33]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.33.jar:9.0.33]
	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-5.2.6.BUILD-20200428.052853-101.jar:5.2.6.BUILD-SNAPSHOT]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.6.BUILD-20200428.052853-101.jar:5.2.6.BUILD-SNAPSHOT]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.33.jar:9.0.33]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.33.jar:9.0.33]
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) ~[tomcat-embed-core-9.0.33.jar:9.0.33]
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [tomcat-embed-core-9.0.33.jar:9.0.33]
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) [tomcat-embed-core-9.0.33.jar:9.0.33]
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) [tomcat-embed-core-9.0.33.jar:9.0.33]
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.33.jar:9.0.33]
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) [tomcat-embed-core-9.0.33.jar:9.0.33]
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [tomcat-embed-core-9.0.33.jar:9.0.33]
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373) [tomcat-embed-core-9.0.33.jar:9.0.33]
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.33.jar:9.0.33]
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) [tomcat-embed-core-9.0.33.jar:9.0.33]
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1594) [tomcat-embed-core-9.0.33.jar:9.0.33]
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.33.jar:9.0.33]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_91]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_91]
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.33.jar:9.0.33]
	at java.lang.Thread.run(Thread.java:745) [na:1.8.0_91]

created time in a month

issue commentspring-cloud/spring-cloud-openfeign

Compression as stated in your documentation doesn't work for clients where custom configuration is added

So are you saying if you provide some custom configuration via the FeignClient annotation that then the FeignContentGzipEncodingAutoConfiguration doesnt kick in?

StefanFellinger

comment created time in a month

issue commentspring-cloud/spring-cloud-config

Properties are not overridden for specific profiles when spring.cloud.config.label includes non existing branch

Can you provide a complete, minimal, verifiable sample that reproduces the problem? It should be available as a GitHub (or similar) project or attached to this issue as a zip file.

Aloren

comment created time in a month

issue commentspring-cloud/spring-cloud-openfeign

Read timeout from application properties is not used when client is configured.

Can you provide a complete, minimal, verifiable sample that reproduces the problem? It should be available as a GitHub (or similar) project or attached to this issue as a zip file.

stoetti

comment created time in a month

issue commentspring-cloud/spring-cloud-config

Fix NPE when fetch config containing an empty array

Why do we need to use docker compose to reproduce this? Does the JDK version make a difference? Why are you not using the Spring Cloud BOM?

yan-khonski-it

comment created time in a month

issue commentspring-cloud/spring-cloud-config

Spring Cloud Config Server for Spring Batch Application

But it didnt work out.

Is not very helpful. What didn't work? Can you provide a sample?

Gayathri-91

comment created time in a month

push eventspring-cloud/spring-cloud-static

Ryan Baxter

commit sha d562b0e60e27b81465f100437338379472287ac2

Fixing boot version

view details

push time in a month

push eventspring-cloud/spring-cloud-static

Ryan Baxter

commit sha a9f969608d77fbc21208bf7b6a005683c8ab7960

Sync docs from vHoxton.SR4 to gh-pages

view details

push time in a month

push eventspring-cloud/spring-cloud-static

Ryan Baxter

commit sha ed38f81ad7f019dc9b0ea883b25cfc35cc75e53e

Sync docs from vHoxton.SR4 to gh-pages

view details

push time in a month

push eventspring-cloud/spring-cloud-static

Ryan Baxter

commit sha 5841900bf104c63bd000a3c0ea3bc5c4b9113fa7

Sync docs from vHoxton.SR4 to gh-pages

view details

push time in a month

push eventspring-cloud/spring-cloud-static

Ryan Baxter

commit sha 602e900efdcb719786b1a37130a6327fd0e8159c

Sync docs from vHoxton.SR4 to gh-pages

view details

push time in a month

push eventspring-cloud/spring-cloud-release

Ryan Baxter

commit sha c734d6dbfa2295e0f8a5986e59c4ea87590efd85

Create hoxton_sr4.properties

view details

push time in a month

issue closedspring-cloud/spring-cloud-kubernetes

Cant connect to API server to fetch details

Describe the bug I deployed a sample Spring boot application on Kuberntes cluster using spring cloud kubernetes config library and I continuously see exceptions in the pod

10:17:48.034 [PollingServerListUpdater-0] WARN  c.n.l.PollingServerListUpdater - Failed one update cycle                                                   │
│ io.fabric8.kubernetes.client.KubernetesClientException: Operation: [get]  for kind: [Endpoints]  with name: [travel-agency-service]  in namespace: [test]

Caused by: java.net.SocketTimeoutException: connect timed out

Im following the example mentioned here

Sample Below is my kubernetes yaml files

Config.yaml

apiVersion: v1
kind: ConfigMap
metadata:
  name: client-service
data:
  application.yaml: |-
    bean.message=Testing reload ! Message from backend is: %s <br/> Services : %s

Deployment.yaml

kind: Service
apiVersion: v1
metadata:
  name: client-service
spec:
  selector:
    app: client-service
  ports:
  - protocol: TCP
    port: 8080
    nodePort: 30072
  type: NodePort
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: client-service
spec:
  selector:
      matchLabels:
        app: client-service
  replicas: 1
  template:
    metadata:
      labels:
        app: client-service
    spec:
      containers:
        - name: client-service
          image: <dockerhub>/client-service:latest
          imagePullPolicy: IfNotPresent
          ports:
            - containerPort: 8080

closed time in a month

ravening

issue commentspring-cloud/spring-cloud-kubernetes

Cant connect to API server to fetch details

That example is from the original Spring Cloud Kubernetes project which was moved to the Spring Cloud org and has changed significantly since then. I would not use it. You can try some of the examples here if you are looking to get started https://github.com/spring-cloud/spring-cloud-kubernetes/tree/master/spring-cloud-kubernetes-examples

ravening

comment created time in a month

push eventspring-cloud/spring-cloud-kubernetes

yuvarajsanjeevi

commit sha 67783aefb5d5f9ffb9a635c068a497fc25ae728b

Remove extra space (#549) Spring factories failing to load the class because of extra spaces

view details

Yuusaku Taniguchi

commit sha 5a28981faf00f4eabcb93f11a947651ec659808c

Close the connection of ad hoc kubernetes client (#550)

view details

Ryan Baxter

commit sha 26df10e2d13088452395951f7e5a59bf93ad3a75

Merge remote-tracking branch 'origin/1.1.x'

view details

push time in a month

PR merged spring-cloud/spring-cloud-kubernetes

Close the connection of ad hoc kubernetes client bug

This patch closes the connection pool of the ad-hoc kubernetes client for profile detection. This connection pool is unused after running the KubernetsProfileEnvironmentPostProcessor. And also, this PostProcessor may be called multiple times. This patch will prevent unnecessary connection pools from increasing.

+8 -3

6 comments

1 changed file

yuusaku-t

pr closed time in a month

push eventspring-cloud/spring-cloud-kubernetes

Yuusaku Taniguchi

commit sha 5a28981faf00f4eabcb93f11a947651ec659808c

Close the connection of ad hoc kubernetes client (#550)

view details

push time in a month

push eventspring-cloud/spring-cloud-commons

Tim van Baarsen

commit sha 047bca54e21e14625e49a75ea19d88d6efbabcde

#738 (#740) The default value for management.endpoint.env.post.enabled should be false instead of true.

view details

Ryan Baxter

commit sha e7bb7ed3ae19a91c6fa7b3b698dd9788f70df7d4

Merge remote-tracking branch 'origin/2.2.x'

view details

push time in a month

push eventspring-cloud/spring-cloud-commons

Tim van Baarsen

commit sha 047bca54e21e14625e49a75ea19d88d6efbabcde

#738 (#740) The default value for management.endpoint.env.post.enabled should be false instead of true.

view details

push time in a month

push eventspring-cloud/spring-cloud-commons

Ryan Baxter

commit sha 8519d3dd1698246302ee75a4b2aa575df8d5f831

Changing default value to be false. Fixes #738

view details

Ryan Baxter

commit sha bb0fe1af46051226bec7744353c8223ec1ab865f

Merge remote-tracking branch 'origin/2.2.x'

view details

push time in a month

issue closedspring-cloud/spring-cloud-commons

Spring Cloud Configuration metadata for `management.endpoint.env.post.enabled` is true but should be false

Since #681 the default value of management.endpoint.env.post.enabled is false.

But the (additional) Spring Cloud Configuration Metadata describes the default value is true. This is confusing because so my IDEA 'tells' me the default value is true while it is actually false.

additional-spring-configuration-metadata.json:

{
  "name": "management.endpoint.env.post.enabled",
  "type": "java.lang.Boolean",
  "description": "Enable changing the Environment through a POST to /env.",
  "defaultValue": true
}

closed time in a month

j-tim

push eventspring-cloud/spring-cloud-commons

Ryan Baxter

commit sha 8519d3dd1698246302ee75a4b2aa575df8d5f831

Changing default value to be false. Fixes #738

view details

push time in a month

issue commentspring-projects/spring-boot

Investigate shutdown delay option

@philwebb actually pulled that from the boot docs 🤫

philwebb

comment created time in 2 months

issue commentspring-cloud/spring-cloud-circuitbreaker

why circuitbreaker recordexceptions attribute in spring cloud does not work?

The code is there specifically in the reactive case because we are using Project Reactor's timeout api and R4J will not handle a timeout from reactor like it would if we were using an R4J timeout.

luguoji

comment created time in 2 months

push eventspring-cloud/spring-cloud-static

Ryan Baxter

commit sha 5846cebb31c1a7d1ce00e6845d99fcdda12b377d

Wrong version of file got commited

view details

push time in 2 months

push eventspring-cloud/spring-cloud-static

Ryan Baxter

commit sha 53e2ac1cdf37e83f686ff85a93cc0d8b2d538765

Sync docs from v2020-1.M1 to gh-pages

view details

push time in 2 months

push eventspring-cloud-samples/scripts

Ryan Baxter

commit sha f0478419fe598f7bbb5e88e511e960cb2e0e0d08

Adding new configprops doc

view details

push time in 2 months

push eventspring-cloud-samples/scripts

Ryan Baxter

commit sha 6dfa161926b28576d12a05e06dc6ad9664294dcc

Changes for 2020-1 release

view details

push time in 2 months

create barnchspring-cloud-samples/scripts

branch : Hoxton

created branch time in 2 months

push eventspring-cloud/spring-cloud-static

Ryan Baxter

commit sha 2a66e3c9f33bd7a161e9a459847a9ff8f54dfc15

Sync docs from v2020-1.M1 to gh-pages

view details

push time in 2 months

issue closedspring-cloud-samples/spring-cloud-config-vault

issue with using service tokens

HI, i am running with an issue using service tokens to retrieve values from the vault. I already create explain the problem on StackOverflow but the answers is not clear to me. Could you please help me?

closed time in 2 months

Kydybets

push eventspring-cloud/spring-cloud-static

Ryan Baxter

commit sha c0467b1edb79df7a037a6e715d72acf6c588af83

Sync docs from v2020-1.M1 to gh-pages

view details

push time in 2 months

push eventspring-cloud/spring-cloud-static

Ryan Baxter

commit sha 56b85cfdd13a6999989e7190f0b86b1e5806958f

Sync docs from v2020-1.M1 to gh-pages

view details

push time in 2 months

push eventspring-cloud/spring-cloud-cli

Ryan Baxter

commit sha f33dd1b1cbcc687a2188290c84625a073aee9559

3.0.0.M1 version changes

view details

Ryan Baxter

commit sha e3296e7438895b0b93283aeede4b070d71ae5b9b

Revert "3.0.0.M1 version changes" This reverts commit f33dd1b1cbcc687a2188290c84625a073aee9559.

view details

push time in 2 months

created tagspring-cloud/spring-cloud-cli

tagv3.0.0.M1

Spring Cloud CLI features

created time in 2 months

push eventspring-cloud/spring-cloud-openfeign

rvervaek

commit sha dd91dcdf8d7eeeee4446b5a793a391ff7d058352

Use property 'number' in JSON Page representation instead of 'page' (#320) Fixes gh-237 Co-authored-by: rvvaeke <ruben.vervaeke@liantis.be>

view details

Ryan Baxter

commit sha 8f421ced211f4ae474effb1bba68dc3969978829

Merge remote-tracking branch 'origin/2.2.x'

view details

push time in 2 months

issue closedspring-cloud/spring-cloud-openfeign

Page<T> page number not decoded correctly

<!-- Thanks for raising a Spring Cloud issue. What sort of issue are you raising?

Question

Please ask questions about how to use something, or to understand why something isn't working as you expect it to, on Stack Overflow using the spring-cloud tag.

Bug report

Please provide details of the problem, including the version of Spring Cloud that you are using. If possible, please provide a test case or sample application that reproduces the problem. This makes it much easier for us to diagnose the problem and to verify that we have fixed it.

Enhancement

Please start by describing the problem that you are trying to solve. There may already be a solution, or there may be a way to solve it that you hadn't considered. --> Using spring-cloud-openfeign version 2.1.3-RELEASE

It appears that the jackson mixin for Page<T> is not quite correct PageJacksonModule.java#L67 and PageJacksonModule.java#L85

both use "page" as the JsonProperty but I believe it should be "number"

Here is an example of the default output of a Page from a restcontroller ( content removed )

{ "content": [ ], "pageable": { "sort": { "sorted": false, "unsorted": true, "empty": true }, "pageSize": 20, "pageNumber": 1, "offset": 20, "paged": true, "unpaged": false }, "totalElements": 403, "last": false, "totalPages": 21, "sort": { "sorted": false, "unsorted": true, "empty": true }, "first": false, "numberOfElements": 20, "size": 20, "number": 1, "empty": false }

Happy to submit a PR if my theory is correct.

closed time in 2 months

JAMDev49

push eventspring-cloud/spring-cloud-openfeign

rvervaek

commit sha dd91dcdf8d7eeeee4446b5a793a391ff7d058352

Use property 'number' in JSON Page representation instead of 'page' (#320) Fixes gh-237 Co-authored-by: rvvaeke <ruben.vervaeke@liantis.be>

view details

push time in 2 months

pull request commentspring-cloud/spring-cloud-openfeign

Use property 'number' in JSON Page representation instead of 'page'

Can you submit this against the 2.2.x branch?

rvervaek

comment created time in 2 months

pull request commentspring-cloud/spring-cloud-config

Add index regen if config server has force-pull

Also this should be submitted against the 2.2.x branch

nhtzr

comment created time in 2 months

issue commentspring-cloud/spring-cloud-commons

ReactiveLoadBalancer hangs console app

com.playtika.reactivefeign:feign-reactor-cloud is not part of Spring Cloud so I am not sure what we will be able to do about that. Can you reproduce the issue without using that project?

SledgeHammer01

comment created time in 2 months

issue commentspring-cloud/spring-cloud-netflix

Illegal State Exception

Please learn how to format code on GitHub.

Can you provide a complete, minimal, verifiable sample that reproduces the problem? It should be available as a GitHub (or similar) project or attached to this issue as a zip file.

SledgeHammer01

comment created time in 2 months

issue closedspring-cloud/spring-cloud-circuitbreaker

Upgrade resilience4j from 1.1.0 to 1.3.1

resilience4j 1.1.0 was released on 2019-09-30. 1.3.1 was released on 2020-02-06 about 2 months ago and isn't brand-new anymore. Please see:

https://github.com/spring-cloud/spring-cloud-circuitbreaker/blob/master/spring-cloud-circuitbreaker-dependencies/pom.xml#L21

closed time in 2 months

juergenzimmermann

issue commentspring-cloud/spring-cloud-circuitbreaker

Upgrade resilience4j from 1.1.0 to 1.3.1

Fixed via https://github.com/spring-cloud/spring-cloud-circuitbreaker/commit/8aceda2a6312d95360eb99beb28b2840460f2f1c

juergenzimmermann

comment created time in 2 months

push eventspring-cloud/spring-cloud-circuitbreaker

Spencer Gibb

commit sha 5f5457b2f556527c103461028d391e848aa2056e

Updates docs branches

view details

Spencer Gibb

commit sha 1b2cca5e005eeb91c457f602351dc478d769a194

bumps build to 2.2.4.BUILD-SNAPSHOT

view details

Spencer Gibb

commit sha 90f088fda689961e6be0c650b88297733b22ffa0

bumps build to 2.3.0.BUILD-SNAPSHOT

view details

Ryan Baxter

commit sha 8aceda2a6312d95360eb99beb28b2840460f2f1c

Upgrading to Resilience4J 1.3.1

view details

Ryan Baxter

commit sha 6d08d73fad947c3c69c833899558c3875c7d753d

Merge remote-tracking branch 'origin/1.0.x'

view details

push time in 2 months

push eventspring-cloud/spring-cloud-circuitbreaker

Ryan Baxter

commit sha 8aceda2a6312d95360eb99beb28b2840460f2f1c

Upgrading to Resilience4J 1.3.1

view details

push time in 2 months

issue openedspring-projects/spring-boot

Kubernetes Container Lifecycle Documentation Needs More Context

The YAML in Kubernetes Container Lifecycle documentation should provide more context about where the user should place this YAML

https://docs.spring.io/spring-boot/docs/2.3.0.M4/reference/html/deployment.html#cloud-deployment-kubernetes-container-lifecycle

For a novice they might now know that this belongs in the podspec of the deployment yaml

created time in 2 months

issue closedspring-cloud/spring-cloud-circuitbreaker

Wrong dependency reactive resilience4j name in https://spring.io/projects/spring-cloud-circuitbreaker

In documentation https://spring.io/projects/spring-cloud-circuitbreaker, the dependency name for Reactive Resilience4J is misspelled: org.springframework.cloud:spring-cloud-starter-circuitbreaker-reator-resilience4j

closed time in 2 months

aboukleev

pull request commentspring-cloud/spring-cloud-circuitbreaker

update - separate ConditionalOnProperty for blocking and reactive

OK.

I assume this would be more useful in the 1.0.x branch as a release of master will be a ways off.

If we merge this against the 1.0.x branch you will need to keep the existing property name, maybe add an additional reactive one. Then we can remove the old one when I merge it forward in master.

We would also need documentation for the new properties.

srinivasa-vasu

comment created time in 2 months

issue openedspring-cloud/spring-cloud-kubernetes

Documentation Should Specify monitoring-secrets Needs To Be Set To True

The documentation should call out that monitoring secrets is disabled by default and that you need to set spring.cloud.kubernetes.reload.monitoring-secrets=true in order for it to work.

created time in 2 months

issue commentspring-cloud/spring-cloud-kubernetes

Spring cloud gateway is not working in kubernetes

There is no point in using Eureka with Kubernetes. Spring Cloud Kubernetes provides its own DiscoveryClient implementation.

https://cloud.spring.io/spring-cloud-static/spring-cloud-kubernetes/1.1.1.RELEASE/reference/html/#discoveryclient-for-kubernetes

narasimhamurthyk3

comment created time in 2 months

issue openedspring-projects/spring-boot

Properties Files In Subdirectories Not Loaded When One File Is Empty

I have a directory structure like

./config/configmaps/application.yaml ./config/secrets/application.yaml

Currently ./config/configmaps/application.yaml is empty (it does not have any data in it). In this situation the property file in ./config/secrets is never loaded. If I put some data in ./config/configmaps/application.yaml than the property file in ./config/secrets gets loaded as I would expect.

created time in 2 months

push eventspring-cloud/spring-cloud-build

Ryan Baxter

commit sha d2c32c296f130a19a98cbc326a2356c758a6b74c

Version changes for 3.0.0.M1 release

view details

Ryan Baxter

commit sha d27e082b86cec2172c6199d298eb72c02406009e

Revert "Version changes for 3.0.0.M1 release" This reverts commit d2c32c296f130a19a98cbc326a2356c758a6b74c.

view details

push time in 2 months

created tagspring-cloud/spring-cloud-build

tagv3.0.0.M1

Common build concerns, shared plugin configuration, etc. for Spring Cloud modules

created time in 2 months

pull request commentspring-cloud/spring-cloud-kubernetes

Fix scheduled discovery when allNamespaces property is true

Is Spring Boot Admin using HeartBeatEvent in some way to update the list of services?

cc: @Haybu

tzoratto

comment created time in 2 months

issue closedspring-cloud/spring-cloud-openfeign

AsyncFeign builder with Spring Cloud

Hello, in the Open feign repository https://github.com/OpenFeign/feign#async-execution-via-completablefuture it says that from version Feign 10.8 it is possible to use this asynchronous builder in order to perform async queries. Is it possible to use it also with spring cloud? If yes, is there any kind of example? Thanks.

closed time in 2 months

LuigiCerone

issue commentspring-cloud/spring-cloud-openfeign

AsyncFeign builder with Spring Cloud

No we do not have any support for that right now

LuigiCerone

comment created time in 2 months

issue commentspring-cloud/spring-cloud-config

Missing 'logging.file.name' or 'logging.file.path' proper

What does not effective mean?

JoJo-Guo

comment created time in 2 months

issue commentspring-cloud/spring-cloud-commons

Backport #721 into `2.2.x` branch

@elefeint #721 was merged into the 2.2.x branch and then merged forward into master

https://github.com/spring-cloud/spring-cloud-commons/blob/2.2.x/spring-cloud-commons/src/main/java/org/springframework/cloud/commons/util/IdUtils.java

elefeint

comment created time in 2 months

push eventspring-cloud/spring-cloud-bus

Spencer Gibb

commit sha 2749281c8de3a28dea56f399ee3d1bc495529f93

Removes comment

view details

Spencer Gibb

commit sha dd8b788daa50033ed1a62fa6a2c274afacb505b3

Updates to build 2.2.4.BUILD-SNAPSHOT

view details

Spencer Gibb

commit sha 0d2e892c1f85d31a302d52a3d7c07d11b4af6c0e

Updates to build 2.3.0.BUILD-SNAPSHOT

view details

Ryan Baxter

commit sha 837c468e687bbed720df1bb9cd494baf98b454da

Use IdUtils to generate service id

view details

Ryan Baxter

commit sha 6848d7dec67cf22ca6d81da0cca1a21f2f80b75d

Merge pull request #224 from ryanjbaxter/use-idutils-to-create-service-id Use IdUtils To Generate Service Id

view details

Ryan Baxter

commit sha 29fb57bfecb61e253de9390ac9f8b2646739cb27

Merge remote-tracking branch 'origin/2.2.x'

view details

push time in 2 months

push eventspring-cloud/spring-cloud-bus

Ryan Baxter

commit sha 837c468e687bbed720df1bb9cd494baf98b454da

Use IdUtils to generate service id

view details

Ryan Baxter

commit sha 6848d7dec67cf22ca6d81da0cca1a21f2f80b75d

Merge pull request #224 from ryanjbaxter/use-idutils-to-create-service-id Use IdUtils To Generate Service Id

view details

push time in 2 months

PR merged spring-cloud/spring-cloud-bus

Use IdUtils To Generate Service Id

The service id logic has now been moved to Spring Cloud Commons https://github.com/spring-cloud/spring-cloud-commons/pull/721

+2 -8

0 comment

1 changed file

ryanjbaxter

pr closed time in 2 months

PR opened spring-cloud/spring-cloud-bus

Reviewers
Use IdUtils To Generate Service Id

The service id logic has now been moved to Spring Cloud Commons https://github.com/spring-cloud/spring-cloud-commons/pull/721

+2 -8

0 comment

1 changed file

pr created time in 2 months

create barnchryanjbaxter/spring-cloud-bus

branch : use-idutils-to-create-service-id

created branch time in 2 months

push eventryanjbaxter/spring-cloud-commons

Marcin Grzejszczak

commit sha f78a9a8859d9a88dfb2ff17e9b237315500b8918

Updated docs

view details

Ryan Baxter

commit sha bea81f7b51d8dc087f5e9502a23e6f52c2217b68

Cherry picking commit 4119a9c

view details

Ryan Baxter

commit sha 51e8bfbb0c3947598f44ae9b2e443975b93b4864

Merge remote-tracking branch 'origin/2.2.x'

view details

Ryan Baxter

commit sha 5ed5bc9253fedd5e60969a4b4324a5dbfcf57e90

Add utility method to provide a service if to IdUtils (#721)

view details

Ryan Baxter

commit sha bcffbd98d4c97fdb6a15a42d2a7c8f7b2c6a6ba3

Merge remote-tracking branch 'origin/2.2.x'

view details

push time in 2 months

push eventspring-cloud/spring-cloud-commons

Ryan Baxter

commit sha 5ed5bc9253fedd5e60969a4b4324a5dbfcf57e90

Add utility method to provide a service if to IdUtils (#721)

view details

Ryan Baxter

commit sha bcffbd98d4c97fdb6a15a42d2a7c8f7b2c6a6ba3

Merge remote-tracking branch 'origin/2.2.x'

view details

push time in 2 months

push eventspring-cloud/spring-cloud-commons

Ryan Baxter

commit sha 5ed5bc9253fedd5e60969a4b4324a5dbfcf57e90

Add utility method to provide a service if to IdUtils (#721)

view details

push time in 2 months

PR merged spring-cloud/spring-cloud-commons

Add a utility method to provide a default service id enhancement

This is moving a utility method from Spring Cloud Bus to commons for more reuse.

I decided against replacing getDefaultInstanceId with this new method as I think conceptually a instance id is different than a service id.

+59 -0

5 comments

2 changed files

ryanjbaxter

pr closed time in 2 months

pull request commentspring-cloud/spring-cloud-commons

Add a utility method to provide a default service id

@spencergibb back ported everything to the 2.2.x branch, I will merge this there and then merge forward

ryanjbaxter

comment created time in 2 months

push eventryanjbaxter/spring-cloud-commons

Ryan Baxter

commit sha bea81f7b51d8dc087f5e9502a23e6f52c2217b68

Cherry picking commit 4119a9c

view details

Ryan Baxter

commit sha 1d4fbefde36ee11486aaf6fa119a8de379e853c2

Add utility method to provide a service if to IdUtils

view details

push time in 2 months

push eventspring-cloud/spring-cloud-commons

Ryan Baxter

commit sha bea81f7b51d8dc087f5e9502a23e6f52c2217b68

Cherry picking commit 4119a9c

view details

Ryan Baxter

commit sha 51e8bfbb0c3947598f44ae9b2e443975b93b4864

Merge remote-tracking branch 'origin/2.2.x'

view details

push time in 2 months

push eventspring-cloud/spring-cloud-commons

Ryan Baxter

commit sha bea81f7b51d8dc087f5e9502a23e6f52c2217b68

Cherry picking commit 4119a9c

view details

push time in 2 months

issue commentspring-cloud/spring-cloud-commons

Cannot use a non-enumerable PropertySource as a Bootstrap PropertySource

Is that exception coming from https://github.com/spring-cloud/spring-cloud-commons/blob/master/spring-cloud-context/src/main/java/org/springframework/cloud/bootstrap/config/BootstrapPropertySource.java#L51?

dzou

comment created time in 2 months

pull request commentspring-cloud/spring-cloud-commons

Add a utility method to provide a default service id

I dont think so, I will take a look at porting it back tomorrow

ryanjbaxter

comment created time in 2 months

issue openedspring-cloud/spring-cloud-config

Provide a Spring Cloud Config Implementation For Microprofile Config

Opening this issue to see if there is any interest from the community regarding proving a Spring Cloud Config implementation for microprofile-config. If so please upvote.

created time in 2 months

pull request commentspring-cloud/spring-cloud-commons

Add a utility method to provide a default service id

@spencergibb Mostly because all the stuff that depends on this will go in master, not necessarily opposed to putting it in 2.2.x but didnt seem necessary

ryanjbaxter

comment created time in 2 months

pull request commentspring-cloud/spring-cloud-commons

Add a utility method to provide a default service id

ping @spencergibb

ryanjbaxter

comment created time in 2 months

more