Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update env list filter logic #3230

Merged

Conversation

AllenShen
Copy link
Contributor

@AllenShen AllenShen commented Dec 5, 2023

What this PR does / Why we need it:

🤖[deprecated] Generated by Copilot at c401d8b

Removed the excludeSharedNS parameter from the ListProductionEnvs API and added a new SharedNS field to the response type. Moved the shared namespace logic from the handler to the service layer.

What is changed and how it works?

🤖[deprecated] Generated by Copilot at c401d8b

  • Remove excludeSharedNS parameter from ListProductionEnvs API and move the logic of determining shared namespace status to the service layer (link, link, link)
  • Add SharedNS field to EnvResp type to indicate whether the environment shares the same namespace with other environments in the same cluster (link)

Does this PR introduce a user-facing change?

  • API change
  • database schema change
  • upgrade assistant change
  • change in non-functional attributes such as efficiency or availability
  • fix of a previous issue

Signed-off-by: allenshen <shendongdong@koderover.com>
@AllenShen AllenShen changed the title optimize code update env list filter logic Dec 5, 2023
@AllenShen AllenShen merged commit a0ba865 into koderover:main Dec 5, 2023
4 checks passed
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.

1 participant