* Enable "vela show" to support namespaced capability
Provide option `-namespace`, if not set, the default namespace
is default. If not found, as by default, capabilities are located in
vela-system, it will continue to retrieve the capability in
vela-system directory.
Fix#1520
* add e2e tests
* Address comments: Revert env context back
Get namespace from env, instead of adding option "-namespace"
* fix unittest issue
* Address comments
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com>
* fix e2e
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com>
* implemented trait attach, get application
* implemented API for trait detach and fix trait detach issue
* implemeted API add/sync/list capability center
* implemented API capability add/remove/list
* update test-cases according to new cli style
* merge two ginkgo describe to one as in github environment ginkgo does NOT follow the order of describes
* merge two ginkgo describe to one as in github environment ginkgo does NOT follow the order of describes
* Implement API `api/envs/default/apps/
implement API `api/envs/default/apps/ and refactor code
* address comments from @wonderflow and @ryan
* fix code rebase issue
* Implement env APIs
implemented APIs for env and make api-test
and e2e-setup
* fix ci issues
* address comments
* Show trait type in `app:ls`
Use trait type instead of its name in application list.
Fix app:status issue and refactor code
Fix#90
* Update pkg/cmd/status.go
Co-authored-by: Sun Jianbo <wonderflow.sun@gmail.com>
* followed comments to move some basic traits related functions to system.go
Co-authored-by: Sun Jianbo <wonderflow.sun@gmail.com>