Skip to content

Conversation

acashmoney
Copy link
Contributor

@acashmoney acashmoney commented Sep 11, 2023

Curl command to initialize a job through gateway:

curl -X POST -H "Content-Type: application/json" -d '{
    "toolPath": "QmZWYpZXsrbtzvBCHngh4YEgME5djnV5EedyTpc8DrK7k2",
    "scatteringMethod": "dotProduct",
    "inputVectors": {
        "protein": ["QmeTreLhxMmBaRqHemJcStvdyHZThdzi4gTmvTyY1igeCk/6d08_protein_processed.pdb"],
        "small_molecule": ["QmPErdymxLwpXcEHnWXYqEVHvRBVnh7kr3Uu5DNt2Y8wMR/6d08_ligand.sdf"]
    }
}' http://localhost:8080/init-job

Curl command to get jobs

curl -X GET http://localhost:8080/get-jobs

@acashmoney acashmoney linked an issue Sep 11, 2023 that may be closed by this pull request
@linear
Copy link

linear bot commented Sep 11, 2023

@acashmoney acashmoney temporarily deployed to ci September 11, 2023 16:22 — with GitHub Actions Inactive
@vercel
Copy link

vercel bot commented Sep 11, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
docs ⬜️ Ignored (Inspect) Visit Preview Sep 11, 2023 4:25pm

@acashmoney acashmoney changed the title job initialization works through curl gateway job initialization works through curl Sep 11, 2023
@acashmoney acashmoney temporarily deployed to ci September 11, 2023 16:24 — with GitHub Actions Inactive
@acashmoney acashmoney temporarily deployed to ci September 11, 2023 16:25 — with GitHub Actions Inactive
Copy link
Contributor

@thetechnocrat-dev thetechnocrat-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@thetechnocrat-dev thetechnocrat-dev merged commit 3823d5d into main Sep 11, 2023
@thetechnocrat-dev thetechnocrat-dev deleted the 625-lab-576-gateway-initialize-job branch September 11, 2023 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[LAB-576] gateway initialize job
2 participants