Skip to content

Save BioModel Endpoint #1500

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

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

Conversation

Ezequiel-Valencia
Copy link
Contributor

@Ezequiel-Valencia Ezequiel-Valencia commented May 8, 2025

This branch does the following:

  • Endpoints alongside tests for both saving and deleting BioModel's
  • Make the Java GUI client now use the rest endpoint for saving and deleting a BioModel
  • Set DataAccessException to the HTTP error code 500, such that the GUI client can now recreate the same errors required
  • Improve client error handling, such that now a message is displayed if it's the clients fault for communication, rather than just the server.
  • Improve server errors for the User endpoint
  • Fix User DTO to provide the required information with the proper property names
  • Include a Custom Object Mapper for the client such that XML is now read directly as a string rather than JSON.

Instead of several save variances, allow for only one save endpoint with optional parameters.
Use a custom object mapper for the Java client so that XML strings can be properly read, and further enhancements can be made on mapping relations.
Update the save tests to ensure input validation is occurring, and follow the new single save endpoint.
Update generated client.
@Ezequiel-Valencia Ezequiel-Valencia self-assigned this May 8, 2025
@Ezequiel-Valencia Ezequiel-Valencia linked an issue May 8, 2025 that may be closed by this pull request
3 tasks
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.

Implement BioModel Endpoints
1 participant