feat: Sync Model Configuration with Tapis App#17
Merged
Conversation
- Introduced new API endpoints to list all TapisApp instances and retrieve a specific TapisApp by its ID and version. - Created response models for TapisApp and a collection of TapisApps, enhancing data structure and validation. - Implemented token-based authentication for secure access to the API endpoints.
…andling - Added TapisComponentLocation API router to the main application for enhanced functionality. - Updated the token retrieval function to return credentials directly, improving clarity and usability.
- Introduced a new OpenAPI specification file to define the API structure and endpoints for the Model Catalog. - Implemented the TapisApp model to represent application details, including properties like tenant, id, version, and runtime options. - Enhanced the Tapis API endpoints to support tenant-specific queries for listing and retrieving TapisApp instances. - Added functionality to remove 'anyOf' keys from the OpenAPI schema for improved compatibility.
Closed
- Added a new endpoint to synchronize ModelConfiguration with Tapis applications, allowing for the retrieval and conversion of inputs and parameters. - Introduced utility functions to handle the conversion of Tapis inputs and parameters into the corresponding DatasetSpecification and Parameter models. - Enhanced the TapisApp model with additional attributes and improved structure for job execution parameters and attributes.
- Introduced a new launch.json file to configure the Python debugger for FastAPI applications using uvicorn. - Set up environment variables for context and query directories, Redis address, and authentication details to streamline the development process. - Updated settings.json for consistent formatting.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds functionality to synchronize Model Configurations with Tapis Apps, enabling seamless integration between the Model Catalog and Tapis applications. The changes include new API endpoints, models, and utility functions to handle the synchronization process.
Key Changes
New Features
/modelconfigurations/{id}/tapis/syncendpoint to sync ModelConfigurations with Tapis AppsAPI Changes
Infrastructure
Technical Details
Testing
Dependencies
Notes