Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.
/ strider-mock Public archive

testing util for mocking sync and async query operations

Notifications You must be signed in to change notification settings

ranking-agent/strider-mock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ARCHIVED: This is old and unused.

strider-mock

testing util for mocking sync and async query operations

Seeding app with data

wget -O a0_query.json "https://raw.githubusercontent.com/NCATSTranslator/minihackathons/main/2021-12_demo/workflowA/A.0_RHOBTB2_direct_inverse.json"
wget -O c3_query.json "https://raw.githubusercontent.com/NCATSTranslator/minihackathons/main/2021-12_demo/workflowC/C3.json"


curl -X 'POST' \
  'https://strider.renci.org/1.2/query' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d @a.0_query.json > a.0_RHOBTB2_direct_output.json
  

curl -X 'POST' \
  'https://strider.renci.org/1.2/query' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d @c3_query.json > c3_output.json

Running the app

pip install -r requirements.txt
python main.py

About

testing util for mocking sync and async query operations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published