Giter VIP home page Giter VIP logo

bar-idam-mock's Introduction

bar-idam-mock

This is a small application to mock idam's /details endpoint. If the GET request has an Authorization header which contains the user email then it tries to give back a user deatil object in the same format as idam would give it.

{
    "defaultService" : "BAR",
    "email" : "[email protected]",
    "forename" : "Chris",
    "id" : 365750,
    "roles" : ["bar-post-clerk"],
    "surname" : "Spencer"
}

The users can be found in /resources/users.json and it should be in sync with the test users in bar-web.
Now it also contains a /fees endpoint to mock fees-register api.

bar-idam-mock's People

Contributors

attila-kiss-hmcts avatar thor-tech-of-metal avatar rtkumar1980 avatar davejones74 avatar

Watchers

Jason Paige avatar Elviani Huseyin avatar James Cloos avatar Eduardo Alberto Magdalena Aguin avatar Sagar Khanna avatar Sho Carter avatar kumar dhanasamy avatar  avatar

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.