{"id":41082042,"url":"https://github.com/neticdk/helidon-demo","last_synced_at":"2026-01-22T13:41:36.833Z","repository":{"id":88675014,"uuid":"335213258","full_name":"neticdk/helidon-demo","owner":"neticdk","description":"Small demo repo showcasing build of Helidon based microprofile service","archived":false,"fork":false,"pushed_at":"2025-12-22T06:39:03.000Z","size":35,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-23T17:59:40.783Z","etag":null,"topics":[],"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/neticdk.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-02-02T08:06:08.000Z","updated_at":"2025-10-10T12:33:40.000Z","dependencies_parsed_at":"2025-06-10T10:21:49.138Z","dependency_job_id":"8f2e3704-bde3-4cc3-a96d-e072b77313b8","html_url":"https://github.com/neticdk/helidon-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/neticdk/helidon-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neticdk%2Fhelidon-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neticdk%2Fhelidon-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neticdk%2Fhelidon-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neticdk%2Fhelidon-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neticdk","download_url":"https://codeload.github.com/neticdk/helidon-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neticdk%2Fhelidon-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28663844,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2026-01-22T13:41:35.386Z","updated_at":"2026-01-22T13:41:36.821Z","avatar_url":"https://github.com/neticdk.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Helidon Quickstart MP Example\n\nThis example implements a simple Hello World REST service using MicroProfile.\n\n## Build and run\n\nWith JDK11+\n```bash\nmvn package\njava -jar target/helidon-quickstart-mp.jar\n```\n\n## Exercise the application\n\n```\ncurl -X GET http://localhost:8080/greet\n{\"message\":\"Hello World!\"}\n\ncurl -X GET http://localhost:8080/greet/Joe\n{\"message\":\"Hello Joe!\"}\n\ncurl -X PUT -H \"Content-Type: application/json\" -d '{\"greeting\" : \"Hola\"}' http://localhost:8080/greet/greeting\n\ncurl -X GET http://localhost:8080/greet/Jose\n{\"message\":\"Hola Jose!\"}\n```\n\n## Try health and metrics\n\n```\ncurl -s -X GET http://localhost:8080/health\n{\"outcome\":\"UP\",...\n. . .\n\n# Prometheus Format\ncurl -s -X GET http://localhost:8080/metrics\n# TYPE base:gc_g1_young_generation_count gauge\n. . .\n\n# JSON Format\ncurl -H 'Accept: application/json' -X GET http://localhost:8080/metrics\n{\"base\":...\n. . .\n\n```\n\n## Build the Docker Image\n\n```\ndocker build -t helidon-quickstart-mp .\n```\n\n## Start the application with Docker\n\n```\ndocker run --rm -p 8080:8080 helidon-quickstart-mp:latest\n```\n\nExercise the application as described above\n\n## Deploy the application to Kubernetes\n\n```\nkubectl cluster-info                         # Verify which cluster\nkubectl get pods                             # Verify connectivity to cluster\nkubectl create -f app.yaml               # Deploy application\nkubectl get service helidon-quickstart-mp  # Verify deployed service\n```\n\n## Build a native image with GraalVM\n\nGraalVM allows you to compile your programs ahead-of-time into a native\n executable. See https://www.graalvm.org/docs/reference-manual/aot-compilation/\n for more information.\n\nYou can build a native executable in 2 different ways:\n* With a local installation of GraalVM\n* Using Docker\n\n### Local build\n\nDownload Graal VM at https://www.graalvm.org/downloads. We recommend\nversion `20.1.0` or later.\n\n```\n# Setup the environment\nexport GRAALVM_HOME=/path\n# build the native executable\nmvn package -Pnative-image\n```\n\nYou can also put the Graal VM `bin` directory in your PATH, or pass\n `-DgraalVMHome=/path` to the Maven command.\n\nSee https://github.com/oracle/helidon-build-tools/tree/master/helidon-maven-plugin#goal-native-image\n for more information.\n\nStart the application:\n\n```\n./target/helidon-quickstart-mp\n```\n\n### Multi-stage Docker build\n\nBuild the \"native\" Docker Image\n\n```\ndocker build -t helidon-quickstart-mp-native -f Dockerfile.native .\n```\n\nStart the application:\n\n```\ndocker run --rm -p 8080:8080 helidon-quickstart-mp-native:latest\n```\n\n\n## Build a Java Runtime Image using jlink\n\nYou can build a custom Java Runtime Image (JRI) containing the application jars and the JDK modules \non which they depend. This image also:\n\n* Enables Class Data Sharing by default to reduce startup time. \n* Contains a customized `start` script to simplify CDS usage and support debug and test modes. \n \nYou can build a custom JRI in two different ways:\n* Local\n* Using Docker\n\n\n### Local build\n\n```\n# build the JRI\nmvn package -Pjlink-image\n```\n\nSee https://github.com/oracle/helidon-build-tools/tree/master/helidon-maven-plugin#goal-jlink-image\n for more information.\n\nStart the application:\n\n```\n./target/helidon-quickstart-mp-jri/bin/start\n```\n\n### Multi-stage Docker build\n\nBuild the JRI as a Docker Image\n\n```\ndocker build -t helidon-quickstart-mp-jri -f Dockerfile.jlink .\n```\n\nStart the application:\n\n```\ndocker run --rm -p 8080:8080 helidon-quickstart-mp-jri:latest\n```\n\nSee the start script help:\n\n```\ndocker run --rm helidon-quickstart-mp-jri:latest --help\n```\n\nTrigger build :construction_worker:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneticdk%2Fhelidon-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneticdk%2Fhelidon-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneticdk%2Fhelidon-demo/lists"}