* Feat: refactor CLI commands related to resources
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: remove the old test case.
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: e2e test
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: optimize test cases
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Feat: rename 'vela pods' to 'vela status --pod'
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Feat: optimize the e2e test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: sort the objects
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: optimize the e2e test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: list the pod by the labels
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: order the tree resource
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: set multicluster config
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Refactor: use createOrUpdateNamespace as a common util function
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
* Feat: add ENV webservice handelr
* Fix: fix Env usecase logic
* Feat: Add Delete Env API
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
* Fix: filter empty addon data
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
* Feat: split makefiels and make it clear
* Feat: add k8s utils test
* Feat: Add env update interface
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
* Feat: change env implementation
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: minor fix
* Revert "Fix: minor fix"
This reverts commit 9cafefa65a.
* Fix: use appusecase as parameter
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
* Refactor: align CLI vela env with new env design
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
* Fix: minor fix
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
* Feat: add page index and alias of env
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
* Fix: fix tests and licence header
* Fix: fix makefile and add default target
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
* Fix: update build swagger.json
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
* Fix: change update env api
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Feat: list env with alias
* Feat: add log to env delete
* Fix: can not get app status
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Feat: support update workflow and refactor code
* Fix: lint
* Fix: remove swagger check
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
* Fix: fix cli vela delete
* Fix: update test
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
* Fix: update test
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
* Fix: app deploy unit test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: SortOrderDescending is not effective
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: e2e test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Feat: support default project/target/env
* Fix: make test and add swagger
* Fix: use separated datasource for unit test
* Fix: app rollback bug
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: fix e2e test
* Fix: kubeapi driver sort bug
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: e2e test
* Fix: api e2e test
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: e2e test fix
* Fix: try fix e2e test
* Fix: api e2e test
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
Co-authored-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: enhance rt logic and add docs
Signed-off-by: Yin Da <yd219913@alibaba-inc.com>
* Fix: test conflict
Signed-off-by: Yin Da <yd219913@alibaba-inc.com>
* Fix: vela status from app.status.services
* Feat: refine cli and support terraform logs
* Feat: support remote exec
* Feat: port-forward support multicluster
* Fix: vela status+port-forward test
Co-authored-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
* refine assemble and dispatch
Signed-off-by: roy wang <seiwy2010@gmail.com>
* remove app context in app controller
modify clean up app revision
remove old resource tracker related logic
fix unit tests
Signed-off-by: roy wang <seiwy2010@gmail.com>
* fix e2e-test
- get rid of appCtx in test cases
- fix test cases according other logic changes in app controller
remove whole appcontext_test.go file
disable rollout related e2e test provisionally
disable resource tracker related e2e test provisionally
Signed-off-by: roy wang <seiwy2010@gmail.com>
* add finalizer logic for app controller
Signed-off-by: roywang <seiwy2010@gmail.com>
* add new apply option MustBeControllableByAny
make dispatch idempotent
Signed-off-by: roywang <seiwy2010@gmail.com>
* refactor rollout
* fix rollout finalize succeed
Signed-off-by: roywang <seiwy2010@gmail.com>
* add update trait and gc test
fix lint
* fix flaky e2e test
Signed-off-by: roywang <seiwy2010@gmail.com>
* fix comment
* fix comments and add sourceRevision dispatch
delete useless
Signed-off-by: Yue Wang <seiwy2010@gmail.com>
* fix app finalizer backward compatible
Signed-off-by: roywang <seiwy2010@gmail.com>
* fix backward compatability for deprecation of appContext
add unit test for apply option
add e2e test
Signed-off-by: Yue Wang <seiwy2010@gmail.com>
* fix app controller unit test
Signed-off-by: Yue Wang <seiwy2010@gmail.com>
* refine app controller apply logic
Signed-off-by: Yue Wang <seiwy2010@gmail.com>
* fix e2e test of resource tracker
fix e2e test of rollout plan
fix flaky e2e tests
Signed-off-by: Yue Wang <seiwy2010@gmail.com>
* refine comments and remove useless codes
Signed-off-by: Yue Wang <seiwy2010@gmail.com>
* disable appCtx controller
add Component handler into app controller
Signed-off-by: Yue Wang <seiwy2010@gmail.com>
Co-authored-by: wangyike <wangyike.wyk@alibaba-inc.com>
* add probe to worker and webservice, add memory limit to webservice
* add interacitve answer
* make generate
* move Probe def outside the parameter.
* make all PodSpec alternative param done
* add doc, gen yaml
* fix docs
* 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>
* generate appRevision and create AC with the same name
* Update pkg/controller/core.oam.dev/v1alpha2/application/application_controller_test.go
* fix ci
Co-authored-by: Ryan Zhang <yangzhangrice@hotmail.com>
* add webhooks
* app controller change
* add component revision and appconfig revision and test
* solidify the component revision logic and fix component revisoin bugs
* fix command cli e2e failure
* fix the bug caused by rawExtention
* fix UT test
* retry on component not found
* lint
* revert component revision create order
* adjust CI scripts
* fix go ci order
* try fix
* use appfile to update trait
* fix vela status
* use assert.ObjectAreEqual to check diff for map case
* remove application controller own AC and Components
* tune place
* fix lint
* update
* remove error check of vela init test
Co-authored-by: Ryan Zhang <yangzhangrice@hotmail.com>
modify e2e setup to wait oam-runtime pod running
add k8sclient in e2e test
refine tracking status of vela init
Signed-off-by: roy wang <seiwy2010@gmail.com>