{"id":22772316,"url":"https://github.com/pactflow/injected-provider-states-example","last_synced_at":"2025-04-15T06:48:07.225Z","repository":{"id":105899737,"uuid":"196499499","full_name":"pactflow/injected-provider-states-example","owner":"pactflow","description":"Example of a Stringboot consumer/provider tested with a pact where the provider state data is injected","archived":false,"fork":false,"pushed_at":"2025-04-10T11:05:40.000Z","size":221,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-15T06:48:02.833Z","etag":null,"topics":["example"],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-12T03:05:40.000Z","updated_at":"2025-04-10T11:05:43.000Z","dependencies_parsed_at":"2025-02-19T12:21:52.945Z","dependency_job_id":"ead9b69b-f52d-4352-a009-6a0a78c2ad1c","html_url":"https://github.com/pactflow/injected-provider-states-example","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%2Finjected-provider-states-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pactflow%2Finjected-provider-states-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pactflow%2Finjected-provider-states-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pactflow%2Finjected-provider-states-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pactflow","download_url":"https://codeload.github.com/pactflow/injected-provider-states-example/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:04.036Z","updated_at":"2025-04-15T06:48:07.209Z","avatar_url":"https://github.com/pactflow.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Injected provider states example\n\nThis is an example of a consumer and provider pact test where the provider states values can be injected into the test.\n\nIt has two sub-projects: the consumer and provider. Both are Springboot applications.\n\n## Consumer\n\nFor our example, our consumer is a springboot app that is going to create some kind of transaction for an account.\nWe'll create a `/new-transaction` endpoint to kick this flow off. It will then have to call out to the provider to\nget the account data.\n\n## Provider\n\nThe provider is a springboot app that has an `account` resource. The consumer app will call this to create a new account\nas part of creating a new transaction.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpactflow%2Finjected-provider-states-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpactflow%2Finjected-provider-states-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpactflow%2Finjected-provider-states-example/lists"}