Skip to content

Feature/enumerator file per version #24

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

Merged
merged 2 commits into from
Jul 11, 2025

Conversation

FlatBallFlyer
Copy link
Contributor

No description provided.

Mike Storey added 2 commits July 11, 2025 15:28
…r lock to PATCH, return events instead of messages

- Added PATCH /api/test_data/ endpoint for locking all test data files
- Added PATCH /api/migrations/ endpoint for locking all migration files
- Changed enumerator lock endpoint from POST to PATCH /api/enumerations/
- All lock_all endpoints now return ConfiguratorEvent objects instead of simple messages
- Updated OpenAPI spec to reflect new endpoints and response formats
- Fixed broken lock_all methods in services to properly lock files and save state
- Added missing enumerator YAML files for all test cases
- Updated route tests to match new PATCH methods and event responses
- Maintained consistent API design with PATCH methods and event responses
- Simplified enumerator service by removing legacy support and backward compatibility
- Removed data parameter from Enumerators constructor, relying solely on file-based enumerations
- Fixed broken lock_all methods in enumerators, dictionaries, configurations, and types services
- Added lock_all endpoints for all lockable objects (configurations, dictionaries, types, enumerators)
- Removed lock_all endpoints for non-lockable objects (test_data, migrations)
- Updated all service save() methods to return File objects
- Updated all routes to return File objects from save() operations
- Updated OpenAPI spec to reflect new endpoints and response schemas
- Updated stepCI tests to use trailing slashes and expect 500 status for locked file deletions
- Fixed unit tests to match actual API behavior
- Cleaned up File class by removing unnecessary _locked and save() methods
- All unit tests and stepCI tests now pass
@FlatBallFlyer FlatBallFlyer merged commit de3527a into main Jul 11, 2025
@FlatBallFlyer FlatBallFlyer deleted the feature/enumerator-file-per-version branch July 11, 2025 21:27
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.

1 participant