{"id":22772298,"url":"https://github.com/pactflow/example-consumer-java-junit","last_synced_at":"2025-04-15T06:48:03.056Z","repository":{"id":42369236,"uuid":"319243146","full_name":"pactflow/example-consumer-java-junit","owner":"pactflow","description":"Example Java JUnit consumer","archived":false,"fork":false,"pushed_at":"2025-02-14T01:36:31.000Z","size":138,"stargazers_count":10,"open_issues_count":1,"forks_count":20,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-15T06:47:58.526Z","etag":null,"topics":["example"],"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/pactflow.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}},"created_at":"2020-12-07T07:51:54.000Z","updated_at":"2025-03-11T15:34:06.000Z","dependencies_parsed_at":"2023-02-13T01:31:29.286Z","dependency_job_id":null,"html_url":"https://github.com/pactflow/example-consumer-java-junit","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/pactflow%2Fexample-consumer-java-junit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pactflow%2Fexample-consumer-java-junit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pactflow%2Fexample-consumer-java-junit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pactflow%2Fexample-consumer-java-junit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pactflow","download_url":"https://codeload.github.com/pactflow/example-consumer-java-junit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249023707,"owners_count":21199958,"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":["example"],"created_at":"2024-12-11T17:08:01.211Z","updated_at":"2025-04-15T06:48:03.033Z","avatar_url":"https://github.com/pactflow.png","language":"Java","readme":"# Example Java Junit Consumer\n\n[![Build](https://github.com/pactflow/example-consumer-java-junit/actions/workflows/build.yml/badge.svg)](https://github.com/pactflow/example-consumer-java-junit/actions/workflows/build.yml)\n\n![Can I Deploy](https://testdemo.pactflow.io/pacticipants/pactflow-example-consumer-java-junit/branches/master/latest-version/can-i-deploy/to-environment/production/badge)\n\nThis is an example of a Java consumer that uses Pact with Junit, [PactFlow](https://pactflow.io) and GitHub Actions to ensure that it is compatible with the expectations its consumers have of it.\n\nThe project uses a Makefile to simulate a very simple build pipeline with two stages - test and deploy.\n\nIt is using a public tenant on PactFlow, which you can access [here](https://testdemo.pactflow.io) using the credentials `dXfltyFMgNOFZAxr8io9wJ37iUpY42M`/`O5AIZWxelWbLvqMd8PkAVycBJh2Psyg1`.\n\nSee the canonical consumer example here: https://github.com/pactflow/example-consumer\nSee also the full [PactFlow CI/CD Workshop](https://docs.pactflow.io/docs/workshops/ci-cd) for which this can be substituted in as the \"consumer\".\n\n## Pre-requisites\n\n**Software**:\n\nhttps://docs.pactflow.io/docs/workshops/ci-cd/set-up-ci/prerequisites/\n\n## Usage\n\n```sh\nmake test\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpactflow%2Fexample-consumer-java-junit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpactflow%2Fexample-consumer-java-junit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpactflow%2Fexample-consumer-java-junit/lists"}