Skip to content

Minimum viable graphql endpoint for CReSCENT pipeline result post processing

License

Notifications You must be signed in to change notification settings

mdpham/minio-loompy-graphene

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Martin Do Pham
Mar 30, 2020
11bad23 · Mar 30, 2020

History

13 Commits
Mar 26, 2020
Mar 28, 2020
Mar 28, 2020
Mar 27, 2020
Mar 26, 2020
Mar 30, 2020
Mar 28, 2020
Mar 27, 2020

Repository files navigation

minio-loompy-graphene

Minimum viable graphql endpoint for CReSCENT pipeline result post processing running on FastAPI

cp sample.env .env

docker build -t minio-loompy-graphene src

docker build -t mlg-voyager voyager && cd voyager && npm install

docker-compose up

Go to localhost:9000 for minio and localhost:8000 for graphql playground and localhost:3000 for graphql voyager.

Result type has a runId String field and a bucket field of type MinioBucket. MinioBucket type has a bucketName String field and a objects field of type [MinioObject]. MinioObject type has the typical minio properties as well as a field for presignedURLs. LoomFile type has the basic column/row attributes and shape fields.

TODO:

  • LoomFile type definition should implement a MinioObject interface (how to most generally represent MinioObject?)
  • env and proxies for voyager so fastapi doesn't need to serve second endpoint ('/graphql')

About

Minimum viable graphql endpoint for CReSCENT pipeline result post processing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published