Skip to content

feat(telemetryrouter): v1api waiters#7492

Open
ozanichkovsky wants to merge 6 commits into
stackitcloud:mainfrom
ozanichkovsky:telemetryrouter-waiters
Open

feat(telemetryrouter): v1api waiters#7492
ozanichkovsky wants to merge 6 commits into
stackitcloud:mainfrom
ozanichkovsky:telemetryrouter-waiters

Conversation

@ozanichkovsky

Copy link
Copy Markdown
Contributor

Description

v1api with waiters

Checklist

  • Issue was linked above
  • No generated code was adjusted manually (check comments in file header)
  • Changelogs
    • Changelog in the root directory was adjusted (see here)
    • Changelog(s) of the service(s) were adjusted (see e.g. here)
  • VERSION file(s) of the service(s) were adjusted
  • Code format was applied: make fmt
  • Examples were added / adjusted (see examples/ directory)
  • Unit tests got implemented or updated
  • Unit tests are passing: make test (will be checked by CI)
  • No linter issues: make lint (will be checked by CI)

@ozanichkovsky ozanichkovsky requested a review from a team as a code owner May 27, 2026 10:05
@ozanichkovsky ozanichkovsky changed the title Telemetryrouter waiters feat(telemetryrouter): v1api waiters May 27, 2026
@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown

This PR was marked as stale after 7 days of inactivity and will be closed after another 7 days of further inactivity. If this PR should be kept open, just add a comment, remove the stale label or push new commits to it.

@github-actions github-actions Bot added the Stale label Jun 5, 2026
@github-actions

Copy link
Copy Markdown

This PR was closed automatically because it has been stalled for 7 days with no activity. Feel free to re-open it at any time.

@github-actions github-actions Bot closed this Jun 12, 2026
@Fyusel Fyusel reopened this Jun 12, 2026
@Fyusel Fyusel removed the Stale label Jun 12, 2026
ExpirationTime NullableTime `json:"expirationTime,omitempty"`
// An auto generated unique id which identifies the access token.
Id string `json:"id"`
Status string `json:"status"`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We enabled in the meanwhile the generation of inline enums and some of them are missing in this PR. For example the enum for this status field:

Status AccessTokenBaseResponseStatus `json:"status"`

Can you update this PR to the latest version of the generated SDK?

Comment on lines +14 to +16
TELEMETRYROUTER_ACTIVE = "active"
DESTINATION_ACTIVE = "active"
ACCESSTOKEN_ACTIVE = "active"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with the previous comment, this const will be probably obsolete and shouldn't be set here

Comment on lines +29 to +31
ActiveState: []string{TELEMETRYROUTER_ACTIVE},
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please configure here also the ErrorStates. This should be also added for all other waiter

Comment on lines +64 to +65
},
DeleteHttpErrorStatusCodes: []int{http.StatusNotFound},

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extend it here also with the ErrorState

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants