{"id":22458283,"url":"https://github.com/ksm2/undertowplayground","last_synced_at":"2026-04-30T20:32:51.800Z","repository":{"id":146086653,"uuid":"81840189","full_name":"ksm2/UndertowPlayground","owner":"ksm2","description":"An example project of Undertow using http2 with SSL and Jackson","archived":false,"fork":false,"pushed_at":"2017-02-14T01:18:49.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-06T16:07:09.092Z","etag":null,"topics":["docker","http2","java","json","kotlin","restful","ssl","undertow"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/ksm2.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":"2017-02-13T15:31:23.000Z","updated_at":"2017-02-17T08:39:12.000Z","dependencies_parsed_at":"2023-05-13T09:15:40.503Z","dependency_job_id":null,"html_url":"https://github.com/ksm2/UndertowPlayground","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ksm2/UndertowPlayground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksm2%2FUndertowPlayground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksm2%2FUndertowPlayground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksm2%2FUndertowPlayground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksm2%2FUndertowPlayground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ksm2","download_url":"https://codeload.github.com/ksm2/UndertowPlayground/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksm2%2FUndertowPlayground/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32476682,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["docker","http2","java","json","kotlin","restful","ssl","undertow"],"created_at":"2024-12-06T08:11:54.792Z","updated_at":"2026-04-30T20:32:51.782Z","avatar_url":"https://github.com/ksm2.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UndertowPlayground\nAn example project of Undertow using http2 with SSL and Jackson\n\n## Getting started\n\nTo build the project run\n```bash\nmvn clean package\n```\n\nThen build a container with docker\n```bash\ndocker build -t undertow .\n```\n\nCreate a docker network “undertowtest”\n```bash\ndocker network create undertowtest\n```\n\nStart a MongoDB in “undertowtest”\n```bash\ndocker run -d --name mongo --network-alias mongo --net undertowtest mongo\n```\n\nStart the Undertow server in “undertowtest”\n```bash\ndocker run -d -p 443:8443 --name undertow --network-alias undertow --net undertowtest  undertow\n```\n\nAdd the SSL certificate to your trusted certificates.\nOn Arch Linux you do that by running\n```bash\ncp src/main/resources/server.crt /etc/ca-certificates/trust-source/anchors/undertow.crt\ntrust expose-compat\n```\n\nProceed to [/pet](https://localhost/pet) in your favourite Browser!\n\n## Test RESTful API with cURL\n\n```bash\n# Post a new pet called “herby”\ncurl --cacert src/main/resources/server.crt -X POST -d '{\"name\":\"herby\",\"age\":42}' https://localhost/pet\n# Get Herby\ncurl --cacert src/main/resources/server.crt -X GET https://localhost/pet/herby\n# Update Herby\ncurl --cacert src/main/resources/server.crt -X PUT -d '{\"name\":\"herby\",\"age\":23}' https://localhost/pet/herby\n# Increase Herby's age\ncurl --cacert src/main/resources/server.crt -X POST https://localhost/pet/herby/increaseAge\n# Remove Herby\ncurl --cacert src/main/resources/server.crt -X DELETE https://localhost/pet/herby\n```\n\n## Stop it\n\n```bash\ndocker rm -f undertow\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksm2%2Fundertowplayground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fksm2%2Fundertowplayground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksm2%2Fundertowplayground/lists"}