feat: STACKIT Workflows Integration#7727
Open
c-thiel wants to merge 4 commits into
Open
Conversation
- Add CHANGELOG.md, VERSION, NOTICE.txt for the v0.1.0 release - Fill LICENSE.md copyright (was Apache boilerplate placeholder) - Add wait/ subpackage with CreateInstanceWaitHandler (20m), UpdateInstanceWaitHandler (15m), DeleteInstanceWaitHandler (15m) - go.mod: pull in go-cmp v0.7.0 as a test dependency
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
Adds the STACKIT Workflows SDK at v0.1.0. Backend for upcoming workflows resources in
terraform-provider-stackit(managed Airflow orchestration).Generated code in
services/workflows/v1alphaapi/produced by the OAS bot fromstackitcloud/stackit-api-specifications(commitd2755fb2bda0e2105f920af64d7176d184b2bcb7). On top of that:CHANGELOG.md,VERSION,NOTICE.txt)LICENSE.mdcopyright fill (generator shipped Apache placeholderCopyright [yyyy] [name of copyright owner])wait/subpackage —CreateInstanceWaitHandler(20m),UpdateInstanceWaitHandler(15m),DeleteInstanceWaitHandler(15m), following the modernWaiterHelperpattern used bydremioandtelemetrylink- Usage example atexamples/workflows/DAG bundle CRUD is synchronous per the OAS contract (201/200/204, no
Operationhandle, nostatusfield onDagBundleResponse), so no bundle waiters ship in v0.1.0. If async semantics are introduced, the OAS should be updated first and bundle waiters added then.Supersedes the auto-generated PR #7723 (and the older #7695, #7709) — those should be closed in favor of this one, matching the dremio v0.1.0 pattern in #7166.
Verified end-to-end against
eu01Both the wait helpers and the canonical example file were exercised against
the live API:
[+28s] Create accepted id=6a634d9f-... status=creating
[+3m8s] Create active endpoint=https://...workflows.eu01.stackit.cloud/
[+3m11s] Update done
[+4m42s] Delete done
Wait timeouts have 7–10× headroom over observed times.
Known caveats for v0.1.0 consumers
STACKIT IdP variant (
StackITIdentityProvider) is not yet supported by the deployed backend; instances need anOAuth2IdentityProviderblock. The Workflows team is actively working on STACKIT IdP support.Checklist
make fmtexamples/directory)make test(will be checked by CI)make lint(will be checked by CI)