{"id":17706180,"url":"https://github.com/fernandomoraes/willdfly-swarm-hello-world","last_synced_at":"2026-04-13T01:40:19.492Z","repository":{"id":70911275,"uuid":"109064125","full_name":"fernandomoraes/willdfly-swarm-hello-world","owner":"fernandomoraes","description":"\"how to\" with widlfly swarm","archived":false,"fork":false,"pushed_at":"2017-11-04T18:12:50.000Z","size":28,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T05:28:30.960Z","etag":null,"topics":["docker","java","liquibase","postgresql","wildfly-swarm"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fernandomoraes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-10-31T23:44:52.000Z","updated_at":"2025-01-04T21:49:09.000Z","dependencies_parsed_at":"2023-02-21T18:30:11.613Z","dependency_job_id":null,"html_url":"https://github.com/fernandomoraes/willdfly-swarm-hello-world","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/fernandomoraes/willdfly-swarm-hello-world","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernandomoraes%2Fwilldfly-swarm-hello-world","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernandomoraes%2Fwilldfly-swarm-hello-world/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernandomoraes%2Fwilldfly-swarm-hello-world/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernandomoraes%2Fwilldfly-swarm-hello-world/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fernandomoraes","download_url":"https://codeload.github.com/fernandomoraes/willdfly-swarm-hello-world/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernandomoraes%2Fwilldfly-swarm-hello-world/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31736723,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T22:19:12.206Z","status":"ssl_error","status_checked_at":"2026-04-12T22:18:33.088Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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","java","liquibase","postgresql","wildfly-swarm"],"created_at":"2024-10-24T23:07:11.173Z","updated_at":"2026-04-13T01:40:19.472Z","avatar_url":"https://github.com/fernandomoraes.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# willdfly-swarm-hello-world\n\n## Changelog (tags)\n\n### 1.0.0\nSimple http servlet support. \n\nto run:\n\n````.sh\nmvn clean install \u0026\u0026 java -jar target/helloworld-swarm.jar \n````\n\nor:\n````.sh\nmvn wildfly-swarm:run\n````\n\ntest:\n````.sh\ncurl http://localhost:8080/status\n````\n\nshould respond:\n```.json\n{\"status\":\"ok\"}\n```\n\n### 1.1.0\nJPA, CDI and JTA support with postgres database.\n\nYou can use Docker to run the postgres database instance:\n```.sh\ndocker run --name some-postgres -p 5432:5432 -e POSTGRES_PASSWORD=12345 -d postgres\n```\n\n### 1.2.0\nJAX-RS and Jackson support.\n\n\u003cb\u003eNote\u003c/b\u003e: when the application is started through ```mvn wildfly-swarm:run```, the following warning is displayed:\n\n```.sh\nWARN  [org.jboss.as.weld] (ServerService Thread Pool -- 2) WFLYWELD0052: Using deployment classloader to load \nproxy classes for module com.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider:main. Package-private \naccess will not work. To fix this the module should declare dependencies on [org.jboss.weld.core, \norg.jboss.weld.spi]\n```\nabout the warning, the following issue exists: https://issues.jboss.org/browse/SWARM-1280\n\n\u003cb\u003eNote 2\u003c/b\u003e: to debug the application, the following ways can be used:\n\n```.sh\njava -jar -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 \\\n  target/helloworld-swarm.jar\n```\n\nor, when running through maven plugin:\n```.sh\n# the swarm process will suspend on start and open a debugger on this port.\nmvn wildfly-swarm:run -Dswarm.debug.port=5005\n```\nor, add to swarm maven plugin:\n```.xml\n\u003cconfiguration\u003e\n  \u003cdebug\u003e5005\u003c/debug\u003e\n\u003c/configuration\u003e\n```\n\ndebug options: http://www.adam-bien.com/roller/abien/entry/what_are_the_options_of\n\nswarm properties: https://wildfly-swarm.gitbooks.io/wildfly-swarm-users-guide/configuration_properties.html\n\n\n### 1.3.0\nLiquibase initial support.\n\nTo bootstrap database configuration, the init.sql was created. If you use Docker, you can run the following:\n```.sh\ndocker run --name some-postgres -e POSTGRES_PASSWORD=123456 -p 5432:5432 \\\n-v $PWD/init.sql:/docker-entrypoint-initdb.d/init.sql -d postgres\n```\n\n### 1.4.0 [WIP]\nRun Liquibase through CDI listener.\n\n\u003cb\u003eNote\u003c/b\u003e: About the warnings on startup:\n* https://liquibase.jira.com/browse/CORE-2472\n* https://liquibase.jira.com/browse/CORE-3046\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffernandomoraes%2Fwilldfly-swarm-hello-world","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffernandomoraes%2Fwilldfly-swarm-hello-world","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffernandomoraes%2Fwilldfly-swarm-hello-world/lists"}