Add tumblebug obj delete feature and update obj api #418
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.
기존 텀블벅은 텀블벅에 등록된 오브젝트(특히 문제가 있는 오브젝트)를 개발자가 확인하는 데 어려움이 있었음.
텀블벅의 오브젝트를 조회하고 데이터를 강제 삭제할 수 있는 기능 제공. (관리자 및 개발자를 위한 기능)
GET
http://localhost:1323/tumblebug/
objects?key=/ns/ns-01/
는/ns/ns-01/
가 포함된 모든 TB 오브젝트의 ID 리스트를 반환함.GET
http://localhost:1323/tumblebug/
object?key=/ns/ns-01/mcis/aws-ap-southeast-1-shson/vmgroup/aws-ap-southeast-1-shson
는/ns/ns-01/mcis/aws-ap-southeast-1-shson/vmgroup/aws-ap-southeast-1-shson
오브젝트의 값을 반환함.DELETE
http://localhost:1323/tumblebug/
object?key=/ns/ns-01/mcis/aws-ap-southeast-1-shson/vmgroup/aws-ap-southeast-1-shson
는/ns/ns-01/mcis/aws-ap-southeast-1-shson/vmgroup/aws-ap-southeast-1-shson
를 강제 삭제함.DELETE
http://localhost:1323/tumblebug/
objects?key=/ns/ns-01/mcis/
는/ns/ns-01/mcis/
이하 모든 자식 오브젝트를 강제 삭제함.테스트 스크립트
1) list-object.sh
2) get-object.sh
3) delete-object
4) delete-objects