{"id":15648777,"url":"https://github.com/timja/dummy-repo-test","last_synced_at":"2025-08-16T16:49:33.549Z","repository":{"id":85474675,"uuid":"294738909","full_name":"timja/dummy-repo-test","owner":"timja","description":null,"archived":false,"fork":false,"pushed_at":"2020-09-11T15:56:56.000Z","size":74,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T23:45:43.874Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timja.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","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":"2020-09-11T15:56:50.000Z","updated_at":"2020-09-11T15:56:59.000Z","dependencies_parsed_at":"2023-11-24T20:00:11.954Z","dependency_job_id":null,"html_url":"https://github.com/timja/dummy-repo-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/timja/dummy-repo-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timja%2Fdummy-repo-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timja%2Fdummy-repo-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timja%2Fdummy-repo-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timja%2Fdummy-repo-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timja","download_url":"https://codeload.github.com/timja/dummy-repo-test/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timja%2Fdummy-repo-test/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263339954,"owners_count":23451521,"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":[],"created_at":"2024-10-03T12:26:22.315Z","updated_at":"2025-07-03T14:09:08.990Z","avatar_url":"https://github.com/timja.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# a\n\n\nThe application exposes health endpoints (http://localhost:4550/health) and metrics endpoint\n(http://localhost:4550/metrics).\n\n## Notes\n\nJUnit 5 is now enabled by default in the project. Please refrain from using JUnit4 and use the next generation\n\n## Building and deploying the application\n\n### Building the application\n\nThe project uses [Gradle](https://gradle.org) as a build tool. It already contains\n`./gradlew` wrapper script, so there's no need to install gradle.\n\nTo build the project execute the following command:\n\n```bash\n  ./gradlew build\n```\n\n### Running the application\n\nCreate the image of the application by executing the following command:\n\n```bash\n  ./gradlew assemble\n```\n\nCreate docker image:\n\n```bash\n  docker-compose build\n```\n\nRun the distribution (created in `build/install/spring-boot-template` directory)\nby executing the following command:\n\n```bash\n  docker-compose up\n```\n\nThis will start the API container exposing the application's port\n(set to `4550` in this template app).\n\nIn order to test if the application is up, you can call its health endpoint:\n\n```bash\n  curl http://localhost:4550/health\n```\n\nYou should get a response similar to this:\n\n```\n  {\"status\":\"UP\",\"diskSpace\":{\"status\":\"UP\",\"total\":249644974080,\"free\":137188298752,\"threshold\":10485760}}\n```\n\n### Alternative script to run application\n\nTo skip all the setting up and building, just execute the following command:\n\n```bash\n./bin/run-in-docker.sh\n```\n\nFor more information:\n\n```bash\n./bin/run-in-docker.sh -h\n```\n\nScript includes bare minimum environment variables necessary to start api instance. Whenever any variable is changed or any other script regarding docker image/container build, the suggested way to ensure all is cleaned up properly is by this command:\n\n```bash\ndocker-compose rm\n```\n\nIt clears stopped containers correctly. Might consider removing clutter of images too, especially the ones fiddled with:\n\n```bash\ndocker images\n\ndocker image rm \u003cimage-id\u003e\n```\n\nThere is no need to remove postgres and java or similar core images.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimja%2Fdummy-repo-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimja%2Fdummy-repo-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimja%2Fdummy-repo-test/lists"}