Conversation
- See microservices/csitOasValidationApi/openapi.json - Includes endpoint implementations - Unit tests - Instructions for manual integration tests in local environment
Fixes for Problem Detail Response and OpenAPI json generation Updated to include install instructions in the readme Adding health endpoints Update to use python 3.14 Updates from code review to correct spelling and formatting Fix for generated results class Updated list rulesets endpoint and tests for sorting by directory Completed TODOs in unit tests - Add body to requests Update Readme to fix the 'run test's command Updated API to use a preexisting local cache of the API Governance repository tags
APS-4031 Add OAS Validation endpoints
* Create working dockerfile for validation api * add CI for validation API * use FastAPIOffline to serve docs files locally instead of from CDN * Refactor spectral validation process to handle large outputs and improve error handling
* upgrade docker/build-push-action to v5 * fix tag (slashes) * add set up buildx * update registry to ghcr.io * update master build action
* upg keycloak python library * fix tests * fix namespace use * update poetry.lock for gatewayApi * fix test config * f-string fix for logs * Enhace logging for token.py * constructs the JWK URL directly from the same internal KC_SERVER_URL * Update gatewayJobScheduler for Keycloak 26 * fix version mismatch for proxies arg for python-keycloak and httpx * temp set keycloak ssl verify to false for scheduler * Fix 404 when namespace has no Keycloak group * Set verify back to True * Prevent accidental route deletions on Keycloak errors. abort sync and add logging in NamespaceService * Refactor Keycloak integration in gatewayJobScheduler - don't silence errors in namespace.py - raise error if transform_data_by_ns hits an exception - Use a single Keycloak admin instance. - Added Keycloak connection validation in sync_routes function. - add sanity check before syncing - Updated tests to ensure proper mocking of Keycloak interactions. * Revert changes * Use OIDCDiscovery for jwk again * Fix Keycloak realm base URL by adding slash before /realms * Test for Keycloak realm base URL with or without trailing slash * remove deprecated search_in_subgroups * stop using deprecated dev-dependencies --------- Co-authored-by: ikethecoder <ikethecoder@copeconsulting.ca> Co-authored-by: Russell Vinegar <russell.vinegar@gov.bc.ca>
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.
Description
Changes for Keycloak 26
OAS Validation enpoints and Production Readiness
fix CI workflows
Types of changes
Checklist
Further comments