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

basic integration tests for the API's endpoints #44

Merged
merged 4 commits into from
Aug 31, 2023

Conversation

waterflow80
Copy link
Collaborator

@waterflow80 waterflow80 commented Aug 25, 2023

Did some integration tests for all 5 endpoints:

  • GET - /eva/webservices/seqcol/collection/{digest}
  • PUT - /eva/webservices/seqcol/admin/seqcols/{asm_accession}
  • GET - /eva/webservices/seqcol/comparison/{digest1}/{digest2}
  • POST - /eva/webservices/seqcol/comparison/{digest1} + body = {....}
  • GET - /eva/webservices/seqcol/service-info (Still waiting for service-info branch rebase)

private static RestTemplate restTemplate;

@Container
static PostgreSQLContainer<?> postgreSQLContainer = new PostgreSQLContainer<>("postgres:15.2");
Copy link
Member

Choose a reason for hiding this comment

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

Suggest changing this to 14.0 which is the EBI supported version at this time...

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done

@waterflow80 waterflow80 merged commit 3484340 into EBIvariation:main Aug 31, 2023
1 check passed
@waterflow80 waterflow80 deleted the integration-tests branch October 20, 2023 21:26
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