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

Add vm (id) list filtering feature #1216

Merged
merged 1 commit into from
Oct 19, 2022
Merged

Conversation

seokho-son
Copy link
Member

@seokho-son seokho-son commented Oct 19, 2022

Based on user request :
https://cloud-barista.slack.com/archives/CJQ7575PU/p1666154205390509

입력 예시

curl -X 'GET' \
  'http://localhost:1323/tumblebug/ns/ns01/mcis/mcis01?option=id&filterKey=connectionName&filterVal=aws-ap-northeast-2' \
  -H 'accept: application/json'
Code Details
200 Response body { "output": [ "g1-1", "g1-2" ] }
curl -X 'GET' \
  'http://localhost:1323/tumblebug/ns/ns01/mcis/mcis01?option=id&filterKey=connectionName&filterVal=gcp-asia-northeast3' \
  -H 'accept: application/json'
200 Response body{ "output": [ "g2-1", "g2-2", "g2-3" ] }

참고: option을 id로 한 경우에만 필터링이 적용됩니다.

image

@seokho-son
Copy link
Member Author

/approve

@seokho-son seokho-son merged commit 957273f into cloud-barista:main Oct 19, 2022
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.

1 participant