{"id":21745180,"url":"https://github.com/zuazo/diffy-docker","last_synced_at":"2025-04-13T05:12:25.905Z","repository":{"id":152868876,"uuid":"41959499","full_name":"zuazo/diffy-docker","owner":"zuazo","description":"Docker image with Diffy: A tool to test services without writing tests.","archived":false,"fork":false,"pushed_at":"2015-10-31T13:54:34.000Z","size":152,"stargazers_count":5,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T22:05:21.696Z","etag":null,"topics":["bugs","devops","diffy","docker"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/zuazo/diffy/","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zuazo.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":"2015-09-05T12:09:43.000Z","updated_at":"2022-08-19T07:13:02.000Z","dependencies_parsed_at":"2023-04-13T16:35:48.525Z","dependency_job_id":null,"html_url":"https://github.com/zuazo/diffy-docker","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/zuazo%2Fdiffy-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuazo%2Fdiffy-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuazo%2Fdiffy-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuazo%2Fdiffy-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zuazo","download_url":"https://codeload.github.com/zuazo/diffy-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248665743,"owners_count":21142123,"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":["bugs","devops","diffy","docker"],"created_at":"2024-11-26T07:13:51.804Z","updated_at":"2025-04-13T05:12:25.872Z","avatar_url":"https://github.com/zuazo.png","language":"Ruby","readme":"# Diffy Docker Container\n[![Source Code](https://img.shields.io/badge/source-GitHub-blue.svg?style=flat)](https://github.com/zuazo/diffy-docker) [![Docker Repository on Quay.io](https://quay.io/repository/zuazo/diffy/status \"Docker Repository on Quay.io\")](https://quay.io/repository/zuazo/diffy) [![Build Status](http://img.shields.io/travis/zuazo/diffy-docker.svg?style=flat)](https://travis-ci.org/zuazo/diffy-docker)\n\nA [Docker](https://www.docker.com/) image with [Diffy](https://github.com/twitter/diffy).\n\n## Supported Tags and Respective `Dockerfile` Links\n\n* `latest` ([*/Dockerfile*](https://github.com/zuazo/diffy-docker/tree/master/Dockerfile))\n\n## What Is Diffy?\n\n*Diffy finds potential bugs in your service using running instances of your new code and your old code side by side. Diffy behaves as a proxy and multicasts whatever requests it receives to each of the running instances. It then compares the responses, and reports any regressions that may surface from those comparisons. The premise for Diffy is that if two implementations of the service return “similar” responses for a sufficiently large and diverse set of requests, then the two implementations can be treated as equivalent and the newer implementation is regression-free.*\n\nSee [the official Diffy documentation](https://github.com/twitter/diffy/blob/master/README.md) and [the release blog post](https://blog.twitter.com/2015/diffy-testing-services-without-writing-tests) for more information.\n\n## How to Use This Image\n\n### Download the Image\n\n    $ docker pull zuazo/diffy\n\n### Running Diffy\n\nFor example:\n\n    $ docker run -ti \\\n      -p 31900:31900 \\\n      -p 31149:31149 \\\n      zuazo/diffy \\\n        -candidate=http-candidate.herokuapp.com:9992 \\\n        -master.primary=http-primary.herokuapp.com:9990 \\\n        -master.secondary=http-secondary.herokuapp.com:9991 \\\n        -service.protocol=http \\\n        -serviceName=\"My Service\" \\\n        -proxy.port=:31900 \\\n        -admin.port=:31159 \\\n        -http.port=:31149 \\\n        -rootUrl=localhost:31149\n\nYou need to replace the *Candidate*, the *Primary Master* and the *Secondary Master* values by your own API addresses.\n\nYou can now open `http://localhost:31149` to see the web interface and use the `31900` port to make the API requests:\n\n    $ curl localhost:31900/your_application_route\n\n## Build from Sources\n\nInstead of installing the image from Docker Hub, you can build the image from sources if you prefer:\n\n    $ git clone https://github.com/zuazo/diffy-docker diffy\n    $ cd diffy\n    $ docker build -t zuazo/diffy .\n\n# License and Author\n\n|                      |                                          |\n|:---------------------|:-----------------------------------------|\n| **Author:**          | [Xabier de Zuazo](https://github.com/zuazo) (xabier@zuazo.org)\n| **Copyright:**       | Copyright (c) 2015\n| **License:**         | Apache License, Version 2.0\n\n```\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzuazo%2Fdiffy-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzuazo%2Fdiffy-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzuazo%2Fdiffy-docker/lists"}