{"id":21873585,"url":"https://github.com/xpinjection/test-driven-spring-boot","last_synced_at":"2025-03-17T15:12:35.610Z","repository":{"id":39639230,"uuid":"96929679","full_name":"xpinjection/test-driven-spring-boot","owner":"xpinjection","description":"Sample project for \"Test-driven Spring Boot applications\" training.","archived":false,"fork":false,"pushed_at":"2024-04-26T15:53:08.000Z","size":258,"stargazers_count":109,"open_issues_count":1,"forks_count":85,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-02T13:08:39.007Z","etag":null,"topics":["database","dbunit","java","mocking","mockito","spring","spring-boot","tdd","web"],"latest_commit_sha":null,"homepage":"http://xpinjection.com/trainings/test-driven-spring-boot-applications/","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/xpinjection.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-07-11T19:37:56.000Z","updated_at":"2024-11-12T09:45:47.000Z","dependencies_parsed_at":"2024-04-16T10:24:57.924Z","dependency_job_id":"c873d758-610f-4ab5-b7dc-4e66bfb28d90","html_url":"https://github.com/xpinjection/test-driven-spring-boot","commit_stats":{"total_commits":122,"total_committers":3,"mean_commits":"40.666666666666664","dds":0.1311475409836066,"last_synced_commit":"c6ab0afe98b0ff2fe295711a1526217fa9378460"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpinjection%2Ftest-driven-spring-boot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpinjection%2Ftest-driven-spring-boot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpinjection%2Ftest-driven-spring-boot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpinjection%2Ftest-driven-spring-boot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xpinjection","download_url":"https://codeload.github.com/xpinjection/test-driven-spring-boot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244056425,"owners_count":20390719,"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":["database","dbunit","java","mocking","mockito","spring","spring-boot","tdd","web"],"created_at":"2024-11-28T07:08:41.282Z","updated_at":"2025-03-17T15:12:35.588Z","avatar_url":"https://github.com/xpinjection.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Library application\n\n![CI status](https://github.com/xpinjection/test-driven-spring-boot/actions/workflows/maven.yml/badge.svg)\n\nSample Spring Boot cloud-native application written in TDD style.\n\n## Local run\n\nThe easiest way to run application locally is to use _LocalLibraryApplication_ class. It will run all needed dependencies in the Docker containers and configure application to use them automatically.\n\n## Configuration\n\nTo enable Actuator endpoints admin profile has to be activated with proper secrets provided via system properties or other suitable external configuration option:\n\n\u003e _-Dspring.security.user.name=admin -Dspring.security.user.password=xpinjection -Dspring.profiles.active=dev,admin_\n\n## Consumer-driven contracts\n\n[Pact](https://docs.pact.io/) is used to describe and manage REST API contracts.\n\nSample instance of the Pact Broker in Docker could be started with `/pact/docker-compose.yaml`. It starts the Pact Broker and the PostgreSQL database as dependency. Data is not stored on volumes, so will be cleaned after restart.\n\nPact integration could be enabled during tests execution with `pactbroker.enabled` system property.\n\nUse system variable `pact.verifier.publishResults` to control pact verification results publishing to the Pact Broker. Pact Broker configuration is located in `pom.xml` and could be overridden with system properties as well.\n\nSystem properties `pact.provider.version` and `pact.provider.branch` should be used to pass correct version of the application and git branch for tracking in the Pact Broker.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxpinjection%2Ftest-driven-spring-boot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxpinjection%2Ftest-driven-spring-boot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxpinjection%2Ftest-driven-spring-boot/lists"}