Skip to content

Instantly share code, notes, and snippets.

View dlhaines's full-sized avatar

David Haines dlhaines

  • University of Michigan
  • Ann Arbor Michigan
View GitHub Profile
@dlhaines
dlhaines / Caliper Basic Example.ipynb
Created May 29, 2018 19:08 — forked from lsloan/Caliper Basic Example.ipynb
"Caliper: Basic Example" uses Jupyter Notebook to demonstrate IMS Global's Caliper for Python.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dlhaines
dlhaines / README.md
Last active February 7, 2018 20:42
Name that Gist!

It's a gist name!

@dlhaines
dlhaines / README.md
Last active February 7, 2018 21:40
Bash scripts to run API get requests with IBM Api manager and WSO2 ESB.

Scripts to make it easy to ask authenticated GET queries of an ESB with the IBM api manager and WSO2 backend.

These scripts assume input is a GET request and output is in json format. It uses jq to format the output.

authentication - The scripts expect to find credentials in the file credentials in the current directory. Use symbolic links to keep multiple different credential files in the same directory. See the file credentials.TEMPLATE for more information.

  • getApiToken.sh - Use the credentials to get an up-to-date access token. Just append it to the credentials file to make the token available to the run script. E.g.
             ./getApiToken.sh >> credentials