{"id":19656670,"url":"https://github.com/daggerok/java-mp-helidon-example","last_synced_at":"2026-05-13T12:46:11.446Z","repository":{"id":151041752,"uuid":"204087656","full_name":"daggerok/java-mp-helidon-example","owner":"daggerok","description":"Helidon! Yet another MicroProfile implementation!","archived":false,"fork":false,"pushed_at":"2019-08-24T15:26:55.000Z","size":62,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-10T00:44:58.768Z","etag":null,"topics":["helidon","helidon-example","helidon-framework","helidon-microservice","helidon-mp-test","helidon-webserver","jakartaee","maven","micro-profile","microprofile","microprofile-config","microprofile-demo","microprofile-example","microprofile-examples","microprofile-health","mp"],"latest_commit_sha":null,"homepage":"","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/daggerok.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}},"created_at":"2019-08-24T00:25:41.000Z","updated_at":"2019-08-25T01:07:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"b87ec8b3-bf8f-489f-9eb2-23720d23356d","html_url":"https://github.com/daggerok/java-mp-helidon-example","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/daggerok%2Fjava-mp-helidon-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fjava-mp-helidon-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fjava-mp-helidon-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fjava-mp-helidon-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daggerok","download_url":"https://codeload.github.com/daggerok/java-mp-helidon-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240964901,"owners_count":19885827,"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":["helidon","helidon-example","helidon-framework","helidon-microservice","helidon-mp-test","helidon-webserver","jakartaee","maven","micro-profile","microprofile","microprofile-config","microprofile-demo","microprofile-example","microprofile-examples","microprofile-health","mp"],"created_at":"2024-11-11T15:28:34.593Z","updated_at":"2025-10-28T02:45:07.777Z","avatar_url":"https://github.com/daggerok.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Helidon MicroProfile [![Build Status](https://travis-ci.org/daggerok/java-mp-helidon-example.svg?branch=master)](https://travis-ci.org/daggerok/java-mp-helidon-example)\n\nThis example implements a simple Hello World REST service using MicroProfile\n\n## Run using maven\n\n```bash\n./mvnw exec:java\n\nhttp :8080/greet/health\nhttp :8080/greet/metrics\n\nhttp :8080/greet\nhttp :8080/greet/max\nhttp put :8080/greet/greeting greeting=Привед\nhttp :8080/greet/Максимко\n```\n\n## Build and run jar\n\n```bash\n./mvnw package\nava -jar ./target/*.jar\n\nhttp :8080/greet\nhttp :8080/greet/max\nhttp put :8080/greet/greeting greeting=Привед\nhttp :8080/greet/Максимко\n```\n\n## Build and run docker\n\n```bash\ndocker build -t helidon-quickstart-mp .\ndocker run --rm -d -p 8080:8080 helidon-quickstart-mp:latest\n\nhttp :8080/greet\nhttp :8080/greet/max\nhttp put :8080/greet/greeting greeting=Привед\nhttp :8080/greet/Максимко\n```\n\n## Check versions update\n\n```bash\n./mvnw versions:display-property-updates\n```\n\n## Generate maven project\n\n```bash\nmvn archetype:generate -DinteractiveMode=false \\                                24:00 \n    -DarchetypeGroupId=io.helidon.archetypes \\\n    -DarchetypeArtifactId=helidon-quickstart-mp \\\n    -DarchetypeVersion=1.2.0 \\\n    -DgroupId=com.github.daggerok.helidon \\\n    -DartifactId=java-mp-helidon-example \\\n    -Dpackage=com.github.daggerok.helidon\n\ncd java-mp-helidon-example\nmvn -N io.takari:maven:0.7.6:wrapper -Dmaven=3.6.1\n./mvnw \n```\n\n\u003c!--\n\n## Prerequisites\n\n1. Maven 3.5 or newer\n2. Java SE 8 or newer\n3. Docker 17 or newer (if you want to build and run docker images)\n4. Kubernetes minikube v0.24 or newer (if you want to deploy to Kubernetes)\n   or access to a Kubernetes 1.7.4 or newer cluster\n5. Kubectl 1.7.4 or newer for deploying to Kubernetes\n\nVerify prerequisites\n```\njava -version\nmvn --version\ndocker --version\nminikube version\nkubectl version --short\n```\n\n## Build\n\n```\nmvn package\n```\n\n## Start the application\n\n```\njava -jar target/java-mp-helidon-example.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 java-mp-helidon-example .\n```\n\n## Start the application with Docker\n\n```\ndocker run --rm -p 8080:8080 java-mp-helidon-example: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 java-mp-helidon-example  # Verify deployed service\n```\n\n--\u003e\n\nlinks:\n\n* [Helidon MicroProfile](https://helidon.io/docs/latest/#/guides/03_quickstart-mp)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaggerok%2Fjava-mp-helidon-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaggerok%2Fjava-mp-helidon-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaggerok%2Fjava-mp-helidon-example/lists"}