Coder Social home page Coder Social logo

findmypast-oss / jackal Goto Github PK

View Code? Open in Web Editor NEW
25.0 3.0 5.0 1.23 MB

Consumer Driven Contracts Microservice

License: Apache License 2.0

JavaScript 99.03% Shell 0.94% Dockerfile 0.02%
consumer-driven-contracts consumer contracts consumer-contracts joi docker

jackal's Issues

API to delete contracts by provider, consumer or both

Implement calls along the lines of:

  • Delete by provider - DELETE .../api/contracts?provider=name
  • Delete by consumer - DELETE .../api/contracts?consumer=name
  • Delete by both - DELETE .../api/contracts?consumer=name&provider=name

The above should result in the removal of contracts for the respective providers and consumers.

TeamCity formatter is broken

  • The TeamCity format does not correctly format error to be expandable, the TC markup doesn't seem to get parsed
  • The output shows all the tests ran against the same provider, probably the first one in the contracts file

UI for jackal

Some sort of front end, communicating with the HTTP API, initially just to display the state of the database.

Documentation site

Building a simple static site hosted in github will help adoption and make everything look a bit more professional

Jackal to take variables from command line

Allow jackal to take key/value pairs from the command line to use in contract interpolation, for example:

jackal run URL variable=value will be used in the contract:

{...
"something": "something_<%=variable%>"
...}

The variables assignments will have to override anything setting them in the contracts themselves.

Contractor scaffolding tool

Build a client command which can read json and generate a best guess at a contract - something like the example below would be good or piping from curl onto the scaffolding tool.

jackal run scaffold --file ./resonse.json --url http://some.endpoint.com

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.