feat: add BlueprintsApi for custom blueprint CRUD#196
Merged
fdelbrayelle merged 8 commits intomainfrom Mar 24, 2026
Merged
Conversation
Add BlueprintsApi with methods to search, get, create, update, and delete custom flow blueprints via the Kestra EE API. Wire it into KestraClient.
… operations" This reverts commit cb5b448.
Add |Blueprints to the openapiNormalizer FILTER in java-config.yml and regenerate the SDK properly via generate-sdks.sh.
fdelbrayelle
commented
Mar 24, 2026
brian-mulier-p
requested changes
Mar 24, 2026
Member
brian-mulier-p
left a comment
There was a problem hiding this comment.
Add tests on all methods of blueprints
Cover CRUD operations on flow blueprints (create, get, get by id, update, delete) and search for both internal and community blueprints.
brian-mulier-p
requested changes
Mar 24, 2026
- updateFlowBlueprintTest: re-fetch via flowBlueprintById after update to verify persistence - searchInternalBlueprintsTest: create an internal blueprint first, then search by title and verify it appears in results - searchBlueprintsTest: create a flow blueprint first, then search by title and verify it appears in results
The searchBlueprints endpoint queries community blueprints which we cannot populate in tests. Remove the isNotEmpty assertion and just verify the API call succeeds and returns a valid response.
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.
Summary
BlueprintsApiclass with methods to search, get, create, update, and delete custom flow blueprintsBlueprintsApiintoKestraClientviablueprints()accessorTenantSyncin plugin-ee-git to sync custom blueprints via the Kestra APIPart-of: https://github.com/kestra-io/kestra-ee/issues/7133
Test plan
BlueprintsApicompiles and methods match the OpenAPI spec endpointsKestraClient.blueprints()returns a validBlueprintsApiinstance