{"id":19792695,"url":"https://github.com/making/cf-eureka-server","last_synced_at":"2025-05-01T02:30:31.529Z","repository":{"id":136908454,"uuid":"48290947","full_name":"making/cf-eureka-server","owner":"making","description":"Eureka Server on Cloud Foundry","archived":false,"fork":false,"pushed_at":"2015-12-19T17:26:34.000Z","size":49,"stargazers_count":6,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T07:43:11.613Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/making.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-19T17:26:16.000Z","updated_at":"2022-12-11T04:44:18.000Z","dependencies_parsed_at":"2023-05-11T10:15:46.495Z","dependency_job_id":null,"html_url":"https://github.com/making/cf-eureka-server","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/making%2Fcf-eureka-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/making%2Fcf-eureka-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/making%2Fcf-eureka-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/making%2Fcf-eureka-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/making","download_url":"https://codeload.github.com/making/cf-eureka-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251812241,"owners_count":21647870,"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":[],"created_at":"2024-11-12T07:07:42.858Z","updated_at":"2025-05-01T02:30:31.248Z","avatar_url":"https://github.com/making.png","language":"Shell","readme":"## Eureka Service on Cloud Foundry\n\nThis manual shows how to deploy and use Eureka Service on Cloud Foundry.\n\n### Deploy Eureka Service to CF\n\n    $ mvn clean package\n    $ cf push\n    $ cf apps\n    Getting apps in org maki-org / space development as admin...\n    OK\n\n    name            requested state   instances   memory   disk   urls\n    eureka-server   started           1/1         256M     1G     eureka-server.192.168.33.10.xip.io\n\n## Expose Eureka Service as a [User-Provided Service](https://docs.cloudfoundry.org/devguide/services/user-provided.html)\n\n\n    $ cf create-user-provided-service eureka-service -p '{\"uri\":\"http://eureka:changeme@eureka-server.192.168.33.10.xip.io\"}'\n    $ cf services\n    Getting services in org maki-org / space development as admin...\n    OK\n\n    name             service         plan   bound apps   last operation\n    eureka-service   user-provided\n\n## Bind Eureka Service to an application\n\n    $ cf push foo -p target/foo.jar --no-start\n    $ cf bind-service foo eureka-service\n\nDiscovery client services (like `foo`) should have the following property in `application.property`\n\n    eureka.client.service-url.defaultZone=${vcap.services.eureka-service.credentials.uri:http://localhost:8761}/eureka/\n\nand in `application-cloud.properties`\n\n    eureka.instance.hostname=${vcap.application.uris[0]}\n    eureka.instance.non-secure-port=80\n    eureka.instance.metadata-map.instanceId=${vcap.application.instance_id}\n\nA sample application is [here](https://github.com/making/hello-pws/tree/cloud).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaking%2Fcf-eureka-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaking%2Fcf-eureka-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaking%2Fcf-eureka-server/lists"}