No description, website, or topics provided.
Python Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
resolver
tests
.gitignore
.travis.yml [auto deploy][s]: push docker image and trigger deploy repo May 16, 2018
Dockerfile
LICENSE Initial commit Jul 31, 2017
MANIFEST.in Initial commit Jul 31, 2017
Makefile
README.md [readme-api][s]: added API section in README.md - refs #3 (#4) Aug 2, 2017
pylama.ini Initial commit Jul 31, 2017
requirements.dev.txt
requirements.txt Initial commit Jul 31, 2017
server.py Initial commit Jul 31, 2017
setup.py
tox.ini [controller][s]: integrated controller with auth/resolve - refs #2 Aug 1, 2017

README.md

Resolver is a DataHub microservice for resolving datapackage URLs into more human readable ones

Build Status

Quick Start

Clone the repo and install

make install

Run tests

make test

Run server

python server.py

API

Resolves username to userid

/resolver/resolve

Method: GET

Query Parameters:

  • path - takes {username/pkgname}

Returns: If user found in the system:

{
    "packageid": "<packageid>",
    "userid": "<userid>"
}

If user not found:

{
    "packageid": "<packageid>",
    "userid": null
}