{"id":13808078,"url":"https://github.com/amdelamar/vertx-cloudfoundry","last_synced_at":"2026-01-16T06:11:21.901Z","repository":{"id":189255979,"uuid":"114156478","full_name":"amdelamar/vertx-cloudfoundry","owner":"amdelamar","description":"A simple Java webapp using Eclipse Vert.x on Cloud Foundry","archived":false,"fork":false,"pushed_at":"2017-12-20T20:27:22.000Z","size":82,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-04T01:09:14.663Z","etag":null,"topics":["cloudfoundry","java","vertx"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/amdelamar.png","metadata":{"files":{"readme":"README.adoc","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,"governance":null}},"created_at":"2017-12-13T18:43:16.000Z","updated_at":"2022-07-03T04:25:13.000Z","dependencies_parsed_at":"2023-08-19T02:52:40.491Z","dependency_job_id":null,"html_url":"https://github.com/amdelamar/vertx-cloudfoundry","commit_stats":null,"previous_names":["amdelamar/vertx-cloudfoundry"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amdelamar%2Fvertx-cloudfoundry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amdelamar%2Fvertx-cloudfoundry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amdelamar%2Fvertx-cloudfoundry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amdelamar%2Fvertx-cloudfoundry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amdelamar","download_url":"https://codeload.github.com/amdelamar/vertx-cloudfoundry/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225273211,"owners_count":17448071,"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":["cloudfoundry","java","vertx"],"created_at":"2024-08-04T01:01:34.666Z","updated_at":"2026-01-16T06:11:21.870Z","avatar_url":"https://github.com/amdelamar.png","language":"Java","readme":"= Vert.x on Cloud Foundry\n\nThis demo shows a very simple hello world Vert.x project for link:https://www.cloudfoundry.org/[Cloud Foundry]. It has a simple HTTP server which simply serves the `/webroot/index.html`.\n\nThis demo uses link:http://vertx.io/[Vert.x] and is packed using the official link:https://github.com/cloudfoundry/java-buildpack[CloudFoundry java-buildpack]. The `manifest.yml` specifies the app's memory to be 768MB because any lower and the java-buildpack throws an error that it can't allocate enough heap space. (See the link:https://www.cloudfoundry.org/certified-platforms/[list of certified platforms]).\n\nThe environment variable `PORT` is normally provided by your CloudFoundry service, and therefore can change when being deployed. Otherwise the default port is `8080`.\n\nThe `webroot` is located under `src/main/java/resources` so it can be packaged into the JAR file. If the `webroot` is not packaged inside the JAR file like this, then we can't deploy it easily to CloudFoundry using the java-buildpack. A custom buildpack would have to be created instead. But that's beyond the scope of this demo.\n\nThis demo also uses Gradle+shadowJar plugin to build the application and all it’s dependencies into a single \"fat\" jar.\n\n== Prerequisites\n\n* link:https://www.java.com/download/[Java 1.8]\n* link:https://docs.cloudfoundry.org/cf-cli/install-go-cli.html[CloudFoundry CLI]\n* A Cloud service provider, such as link:https://www.ibm.com/cloud/[IBM Cloud], link:https://pivotal.io/platform[Pivotal], or link:https://cloudplatform.sap.com[SAP].\n\n== Build fat jar\n\n1. Run build `./gradlew clean build`\n1. Test app `java -jar build/libs/vertx-cloudfoundry-0.1.0-all.jar`\n1. Visit link:http://localhost:8080/[http://localhost:8080/] to see the app running.\n\n== Deploy to Cloud Foundry\n\n1. Deploy `cf push -f manifest.yml myapp`\n1. Run `cf apps` to see the app running. Visit the url provided.\n","funding_links":[],"categories":["Examples"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famdelamar%2Fvertx-cloudfoundry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famdelamar%2Fvertx-cloudfoundry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famdelamar%2Fvertx-cloudfoundry/lists"}