* WIP refactor rollout reconcile
add construct func for reconcile
refactor application event
WIP fix failed test
fix event reason
delete useless yaml
fix samll issue
add more test
fix more test
add e2e test and extract rollout plan from appRevision
extract inline appRollout status from appStatus
* fix-plugin-test
* debug e2e
* fix comments and rename app-embed-test
* delete empty line
* fix docs
* update rollout docs
fix appRollout docs
* update docs and delete useless debug info
* fix deployment plugin bug and algin with rollout related workload to deployment
* fix docs comment
* rename package crossplane-runtime v1alpha2
* copy from https://github.com/wangyikewxgm/kubevela/pull/1
* fix some comments issue and add todo
* fix error test
* 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
* OpenAPI: Application creation based on Application object
Implemented Application creation OpenAPI based on new Application object
To #913
* fix e2e problems
* fix import issue
* 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>
- Splitted autoscale docs to be appfile focused,
and add cpu utilization scaling policy for appfile
- Allow user to input parameter with int type, like
10 instead of "10"
- Change cpuRequest/cpu to proper names
To fix#564
* Autoscaler for appfile
completed spec.extension.template to support autoscale in
cli and appfile
* add alias name to cpuRequest in Cli for deploying webservice
* refactor pkg/application to use Appfile
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com>
* fix build
* fix workload
* refactor pkg/application to use Appfile
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com>
* rebase
* fix
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com>
* e2e
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com>
* update design
* add test coverage for appfile
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com>
* comment
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.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>
Signed-off-by: roy wang <seiwy2010@gmail.com>
fix & add unit tests
Signed-off-by: roy wang <seiwy2010@gmail.com>
fix info output & unit test
Signed-off-by: roy wang <seiwy2010@gmail.com>
fix e2e-test
Signed-off-by: roy wang <seiwy2010@gmail.com>
* Optimize env interface and separate responsibilities.
* Supplement E2E test;
Add api reference;
Supplement E2E test;
Add api reference;
* fix the dashboard to fit this API change.
fix the dashboard to fit this API change.
* Merge remote-tracking branch 'upstream/master'
# Conflicts:
# dashboard/src/components/GlobalHeader/WorkSpaceDropDown.css
# dashboard/src/components/GlobalHeader/WorkSpaceDropDown.jsx
# dashboard/src/models/env.js
# dashboard/src/pages/System/Env/index.jsx
Co-authored-by: xiaoyuaiheshui <714545064@qq.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
when hitting issue, the response struct should be the same as
normal response as below.
```
type Response struct {
Code int `json:"code"`
Data interface{} `json:"data"`
}
```
Fix#169
* 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
* 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
* temporary comment BeforeSuite in integration/integration_suite_test.go to fix make issue
* 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
* followed comments to move some basic traits related functions to system.go
* Fix app:status issue
When the ApplicationConfiguration status haven't shown up,
it will hit an issue.
* 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>