Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: SJIP-964 add export endpoints for transcriptomics #219

Merged
merged 3 commits into from
Nov 13, 2024

Conversation

celinepelletier
Copy link
Member

@celinepelletier celinepelletier commented Nov 12, 2024

Add export endpoints for transcriptomics:

  • GET /transcriptomics/diffGeneExp/export
  • GET /transcriptomics/sampleGeneExp/export

They return

{ url: "pre-signed-url"}

Remove awaitjs/express (use only express)
Refactor to extract all transcriptomics endpoints to a separate router
Fix sampleGeneExp to return Bad Request if no ensembl_gene_id is provided

This pull request needs https://github.com/d3b-center/d3b-deployment-config/pull/383 to be merged first

async (_req, res, next) => {
try {
const data = await fetchDiffGeneExp();
updateCache(TRANSCRIPTOMICS_DIFF_GENE_EXP_CACHE_ID, data);
Copy link
Collaborator

Choose a reason for hiding this comment

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

je me demande si tu ne pourrais pas envoyer la réponse et par la suite faire un update de la cache?

@celinepelletier celinepelletier merged commit 48c4330 into master Nov 13, 2024
3 of 4 checks passed
@celinepelletier celinepelletier deleted the feat/SJIP-964 branch November 13, 2024 15:14
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.

3 participants