{"id":16179204,"url":"https://github.com/jonashackt/cxf-spring-cloud-netflix-docker","last_synced_at":"2025-09-09T18:44:29.881Z","repository":{"id":39492723,"uuid":"84835707","full_name":"jonashackt/cxf-spring-cloud-netflix-docker","owner":"jonashackt","description":"Example project combining Spring Boot apps with Spring Cloud Netflix (Eureka, Zuul, Feign) \u0026 cxf-spring-boot-starter","archived":false,"fork":false,"pushed_at":"2025-01-23T20:36:19.000Z","size":410,"stargazers_count":39,"open_issues_count":16,"forks_count":20,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-02T03:52:45.840Z","etag":null,"topics":["docker","eureka","eureka-server","feign","spring-boot","spring-cloud-netflix","web-services","zuul"],"latest_commit_sha":null,"homepage":"https://blog.codecentric.de/en/2017/05/ansible-docker-windows-containers-scaling-spring-cloud-netflix-docker-compose/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonashackt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-13T14:25:32.000Z","updated_at":"2024-06-27T02:50:56.000Z","dependencies_parsed_at":"2023-11-18T00:09:51.908Z","dependency_job_id":"2e43f221-7e69-4eb2-8e1f-d358f15834b9","html_url":"https://github.com/jonashackt/cxf-spring-cloud-netflix-docker","commit_stats":{"total_commits":181,"total_committers":4,"mean_commits":45.25,"dds":0.5469613259668509,"last_synced_commit":"45bb57d0b4c9f95b0897df701fc09b6a595468b6"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonashackt%2Fcxf-spring-cloud-netflix-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonashackt%2Fcxf-spring-cloud-netflix-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonashackt%2Fcxf-spring-cloud-netflix-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonashackt%2Fcxf-spring-cloud-netflix-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonashackt","download_url":"https://codeload.github.com/jonashackt/cxf-spring-cloud-netflix-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238044093,"owners_count":19407128,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","eureka","eureka-server","feign","spring-boot","spring-cloud-netflix","web-services","zuul"],"created_at":"2024-10-10T05:25:58.557Z","updated_at":"2025-02-10T02:08:59.589Z","avatar_url":"https://github.com/jonashackt.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"cxf-spring-cloud-netflix-docker\n======================================================================================\n[![Build Status](https://github.com/jonashackt/cxf-spring-cloud-netflix-docker/workflows/cxf-spring-cloud-netflix-docker/badge.svg)](https://github.com/jonashackt/cxf-spring-cloud-netflix-docker/actions)\n[![License](http://img.shields.io/:license-mit-blue.svg)](https://github.com/jonashackt/spring-boot-buildpack/blob/master/LICENSE)\n[![renovateenabled](https://img.shields.io/badge/renovate-enabled-yellow)](https://renovatebot.com)\n\nSpring Boot \u0026 Spring Cloud compatibility: https://spring.io/projects/spring-cloud\n\n## Example project combining Spring Boot apps together with Spring Cloud Netflix \u0026amp; Docker\n\nIt was created as a showcase for this blog post: [Scaling Spring Boot Apps on Docker Windows Containers with Ansible: A Complete Guide incl Spring Cloud Netflix and Docker Compose](https://blog.codecentric.de/en/2017/05/ansible-docker-windows-containers-scaling-spring-cloud-netflix-docker-compose/) and is used by this Ansible repository: [ansible-windows-docker-springboot](https://github.com/jonashackt/ansible-windows-docker-springboot)\n\nIt´s roughly structured like shown in this sketch:\n\n![multiple-apps-spring-boot-cloud-netflix](https://blog.codecentric.de/files/2017/05/multiple-apps-spring-boot-cloud-netflix-768x543.png)\n\n### Usage\n\nAs the whole example-application is Dockerized, just do a `docker-compose up -d` and all apps will be started for you. Run a `docker ps` to see what´s going on. Then enter http://localhost:8761/ to see all Services registering in Eureka.\n\nThe zuul-edgeservice proxies weatherservice (by retrieving routes dynamically from eureka-serviceregistry) that itself calls weatherbackend\n\nExample: http://localhost:8080/api/weatherservice/soap\n\nThere´s a Client application inside this project too, so you can fire requests to the weather-service with that one to - and it should be clear, how to implement a consumer :) For that, just fire up the [weatherclient](https://github.com/jonashackt/cxf-spring-cloud-netflix-docker/tree/master/weatherclient) - it should be right there after a `mvn clean package` ran inside the root directoy.\n\n\n### Spring Cloud 2.x Upgrade\n\nRenamed starters: https://github.com/spring-projects/spring-cloud/wiki/Spring-Cloud-Edgware-Release-Notes\n\n##### Errors bean overriding\n\n```\n***************************\nAPPLICATION FAILED TO START\n***************************\n\nDescription:\n\nThe bean 'weatherServiceClient', defined in de.jonashackt.WeatherclientTestApplication, could not be registered. A bean with that name has already been defined in class path resource [de/jonashackt/configuration/WeatherclientConfiguration.class] and overriding is disabled.\n\n```\n\nSee https://stackoverflow.com/questions/51367566/trouble-when-changing-spring-boot-version-from-2-0-3-release-to-2-1-0-build-snap, \nbean overriding (DI) isn't the default behavior anymore and you have to use:\n\n```\nspring.main.allow-bean-definition-overriding: true\n```\n\ninside `src/test/resources/application.yml`.\n\n### Links\n\nhttp://projects.spring.io/spring-cloud/\n\nhttp://cloud.spring.io/spring-cloud-static/Dalston.RELEASE/\n\nhttps://github.com/sqshq/PiggyMetrics\n\nhttps://github.com/kbastani/spring-cloud-microservice-example","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonashackt%2Fcxf-spring-cloud-netflix-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonashackt%2Fcxf-spring-cloud-netflix-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonashackt%2Fcxf-spring-cloud-netflix-docker/lists"}