Skip to content

SP-143: add staging option to config list#352

Open
Jing Sun (kuvia) wants to merge 5 commits into
mainfrom
SP-143-Provide-the-capability-for-listing-staging-packages
Open

SP-143: add staging option to config list#352
Jing Sun (kuvia) wants to merge 5 commits into
mainfrom
SP-143-Provide-the-capability-for-listing-staging-packages

Conversation

@kuvia
Copy link
Copy Markdown
Contributor

Description

add --staging option to config list

Relevant links

https://celonis.atlassian.net/browse/SP-143

Checklist

  • I have self-reviewed this PR
  • I have tested the change and proved that it works in different scenarios
  • I have updated docs if needed

@kuvia Jing Sun (kuvia) requested review from a team as code owners May 12, 2026 12:07
Comment thread tests/commands/configuration-management/config-list.spec.ts
@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown
Contributor

@Buqeta Buqeta (Buqeta) left a comment

Choose a reason for hiding this comment

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

Let's not forget to add the new endpoint to the OAuth allowlist here, otherwise we won't be able to use this new command in staging. When the endpoint is ready to reach production, we should create a deployment ticket to whitelist the endpoint in the prod overlay too.

Comment thread src/commands/configuration-management/module.ts
queryParams.set("includeBranches", includeBranches.toString());
flavors.forEach(flavor => queryParams.append("flavors", flavor));

return this.httpClient().get(`/package-manager/api/core/staging/packages/export/list?${queryParams.toString()}`).catch(e => {
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.

This should be

Suggested change
return this.httpClient().get(`/package-manager/api/core/staging/packages/export/list?${queryParams.toString()}`).catch(e => {
return this.httpClient().get(`/pacman/api/core/staging/packages/export/list?${queryParams.toString()}`).catch(e => {

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.

3 participants