{"id":16179037,"url":"https://github.com/spencergibb/spring-cloud-netflix-eureka-lite","last_synced_at":"2025-03-19T01:30:52.715Z","repository":{"id":140008969,"uuid":"61589616","full_name":"spencergibb/spring-cloud-netflix-eureka-lite","owner":"spencergibb","description":"A proxy for Netflix Eureka that allows clients written in other languages to use Eureka with a simple HTTP API.","archived":false,"fork":false,"pushed_at":"2023-04-28T19:53:25.000Z","size":99,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-28T13:47:25.003Z","etag":null,"topics":["cloud-native","java","microservices","netflix-eureka","spring","spring-boot","spring-cloud","spring-cloud-netflix"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spencergibb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2016-06-21T00:24:56.000Z","updated_at":"2020-06-07T00:01:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"90e03dfc-caee-4264-b88b-433db49a8a4a","html_url":"https://github.com/spencergibb/spring-cloud-netflix-eureka-lite","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spencergibb%2Fspring-cloud-netflix-eureka-lite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spencergibb%2Fspring-cloud-netflix-eureka-lite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spencergibb%2Fspring-cloud-netflix-eureka-lite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spencergibb%2Fspring-cloud-netflix-eureka-lite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spencergibb","download_url":"https://codeload.github.com/spencergibb/spring-cloud-netflix-eureka-lite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243960361,"owners_count":20375102,"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":["cloud-native","java","microservices","netflix-eureka","spring","spring-boot","spring-cloud","spring-cloud-netflix"],"created_at":"2024-10-10T05:25:15.553Z","updated_at":"2025-03-19T01:30:52.710Z","avatar_url":"https://github.com/spencergibb.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Eureka Lite\n\nRun `EurekaLiteApplication` which has the `@EnableEurekaLite` annotation.\n\n```\n$ http --print=b POST :8762/apps name=myapp instance_id=app1 hostname=localhost port=8081 \u003e /tmp/eureka_myapp_app1.json \u0026\u0026 cat /tmp/eureka_myapp_app1.json \n$ http POST :8762/apps name=myapp instance_id=app2 hostname=localhost port=8082\n$ http POST :8762/apps name=anotherapp instance_id=anotherapp1 hostname=localhost port=8181\n\n# in another terminal\n$ watch -n30 http --print=b PUT :8762/apps/myapp/app1 \u003c /tmp/eureka_myapp_app1.json \n\n# eventually anotherapp/anotherapp1 will auto unregister from eureka because it isn't sending heartbeats\n\n$ http DELETE :8762/apps/myapp/app2\n\n$ http GET :8762/apps\nHTTP/1.1 200 OK\nContent-Type: application/json;charset=UTF-8\nDate: Mon, 20 Jun 2016 22:35:59 GMT\nServer: Apache-Coyote/1.1\nTransfer-Encoding: chunked\nX-Application-Context: application:8762\n\n[\n    {\n        \"application\": {\n            \"hostname\": \"localhost\",\n            \"instance_id\": \"app2\",\n            \"name\": \"myapp\",\n            \"port\": 8082\n        },\n        \"status\": \"DOWN\"\n    },\n    {\n        \"application\": {\n            \"hostname\": \"localhost\",\n            \"instance_id\": \"app1\",\n            \"name\": \"myapp\",\n            \"port\": 8081\n        },\n        \"status\": \"UP\"\n    },\n    {\n        \"application\": {\n            \"hostname\": \"localhost\",\n            \"instance_id\": \"anotherapp1\",\n            \"name\": \"anotherapp\",\n            \"port\": 8181\n        },\n        \"status\": \"UP\"\n    }\n]\n\n$ http GET :8762/apps/anotherapp\nHTTP/1.1 200 OK\nContent-Type: application/json;charset=UTF-8\nDate: Mon, 20 Jun 2016 22:41:27 GMT\nServer: Apache-Coyote/1.1\nTransfer-Encoding: chunked\nX-Application-Context: application:8762\n\n[\n    {\n        \"application\": {\n            \"hostname\": \"localhost\",\n            \"instance_id\": \"anotherapp1\",\n            \"name\": \"anotherapp\",\n            \"port\": 8181\n        },\n        \"status\": \"UP\"\n    }\n]\n\n$ http GET :8762/apps/myapp/app1\nHTTP/1.1 200 OK\nContent-Type: application/json;charset=UTF-8\nDate: Mon, 20 Jun 2016 22:44:11 GMT\nServer: Apache-Coyote/1.1\nTransfer-Encoding: chunked\nX-Application-Context: application:8762\n\n{\n    \"application\": {\n        \"hostname\": \"localhost\",\n        \"instance_id\": \"app1\",\n        \"name\": \"myapp\",\n        \"port\": 8081\n    },\n    \"status\": \"UP\"\n}\n\n```\n\n## Todo\n\n- [X] Register\n- [X] Heartbeat\n- [X] Delete\n- [X] List\n- [X] @EnableEurekaLite\n- [ ] Tests\n- [ ] Remove Eureka Client\n- [ ] Move to Spring Cloud project layout\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspencergibb%2Fspring-cloud-netflix-eureka-lite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspencergibb%2Fspring-cloud-netflix-eureka-lite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspencergibb%2Fspring-cloud-netflix-eureka-lite/lists"}