Jianbo Sun
9a3ad7ef84
Feat: add readOnly for velaux application which is synced from CR ( #3479 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-03-21 16:33:29 +08:00
Tianxin Dong
3ea2ac6d0f
Feat: add user management apis ( #3458 )
...
* Feat: add user management apis
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* Feat: add e2e test and some nit fix
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* Feat: add password validate
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* Feat: add email modification in update user
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* Fix: fix user detail to user base
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* Fix: fix ut
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* Fix: fix test
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* Fix: fix rebase
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* Fix: add password check in create user
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* Fix: fix bcode confilt
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-03-19 15:51:32 +08:00
Somefive
2d19454a35
Feat: enhance labels & annotations trait ( #3454 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-03-16 17:50:12 +08:00
wyike
c91a7ac273
Feat(apiserver): helm apiserver webservice (list chart, list version, extract helm values) ( #3398 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-03-16 11:42:08 +08:00
barnettZQG
b437cf4310
Feat: support query the policy definitions ( #3445 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-03-16 10:56:53 +08:00
barnettZQG
1e0f329304
Feat: add component definiton in the detail component response body ( #3437 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-03-15 11:57:16 +08:00
Zheng Xi Zhou
b6b81c336e
Fix: add generate JDBC connection workflowDefintion ( #3360 )
...
* Fix: add generate JDBC connection workflowDefintion
Added a WorkflowDefinition
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* format .cue definition
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-03-15 10:53:22 +08:00
Rimond
a5fb09814e
Fix(docs): rollout example error ( #3427 )
...
* modify docs errors
Signed-off-by: liming.jlm <liming.jlm@alibaba-inc.com >
* modify the incorrect file name
Signed-off-by: liming.jlm <liming.jlm@alibaba-inc.com >
Co-authored-by: liming.jlm <liming.jlm@alibaba-inc.com >
2022-03-14 13:13:05 +08:00
qiaozp
96f8e4dc4c
Feat: support preventing component from garbage collection ( #3424 )
...
* Feat: support preventing component from garbage collect
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* reviewable
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* Chore: add doc for changes
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* Chore: add comments
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* Chore: change json tag
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
2022-03-11 17:32:21 +08:00
Somefive
598de21f67
Feat: add support for json-patch and json-merge-patch ( #3406 )
...
* Feat: add support for json-patch and json-merge-patch
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: add e2e test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: refactor json-patch field
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-03-11 14:57:50 +08:00
Diego Pinheiro
04db938ffa
fix - rename docs example dir ( #3408 )
...
Signed-off-by: GitHub <noreply@github.com >
2022-03-10 10:02:46 +08:00
barnettZQG
600b3a7044
Feat: make the component list is in reverse order ( #3350 )
...
* Feat: update api doc
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: make the component list is in reverse order.
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: update swagger config
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-03-08 17:59:22 +08:00
Zhiyu Wang
bed1fb373e
Fix: The generated swagger.json is malformed. ( #3372 ) ( #3373 )
...
Signed-off-by: Zhiyu Wang <zhiyuwang.newbis@gmail.com >
2022-03-08 15:48:05 +08:00
Somefive
6e73c52116
Feat: enhance container related traits ( #3359 )
...
* Feat: enhance env trait
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: enhance container image trait
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: add command trait
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: add test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-03-08 15:40:04 +08:00
Tianxin Dong
408c893cff
Feat: add port name in webservice ( #3110 )
...
* Feat: add port name in webservice
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix port name in container
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* generate port name if not specified
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-01-18 18:59:48 +08:00
Somefive
14b1354a68
Feat: support wild match for env patch ( #3111 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-01-18 12:58:50 +08:00
Basuotian
8be11a7e7e
Feat: Add Lark support for notification ( #3053 ) ( #3059 )
...
Signed-off-by: Shuai Tian <tians1@xiaopeng.com >
Co-authored-by: Shuai Tian <tians1@xiaopeng.com >
2022-01-10 19:42:06 +08:00
Zheng Xi Zhou
96485ea0db
Fix: when a provider is set in ComponentDefinition, it should look for the provider ( #3047 )
...
* Fix: when a provider is set in ComponentDefinition, it should look for the provider
Fixed the issue "The error message is not correct when AWS provider is not available"
Fix #3046
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-01-06 19:02:03 +08:00
Tianxin Dong
251c440453
Feat: add ACR webhook trigger ( #3044 )
...
* Feat: add ACR webhook trigger
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* resolve comments
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* change to interface
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix payload types
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-01-06 17:31:02 +08:00
Jamie
ff4b10f0ee
Fix: op.#Task couldn't work, debug task.cue and fix bugs ( #3005 )
...
Signed-off-by: yunjiazhong <yunjiazhong@tencent.com >
Co-authored-by: yunjiazhong <yunjiazhong@tencent.com >
2021-12-29 19:26:27 +08:00
Jianbo Sun
5648c56cf5
Refactor: align velaux env and CLI env, they both use K8s namespace as ( #2975 )
...
* 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 >
2021-12-25 10:36:54 +08:00
qiaozp
9317bb1cab
Refactor: addon cache mechanism and code architecture ( #2956 )
...
* Refactor: fix addon cache and code
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* basic trim
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* Fix list OSS bucket addon's meta
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* rename listAddonMeta func
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* fix enable
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* rename and trim cache func call
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* remove same source code, use Registry to implement Source interface. Keep the compatibility of DeployTo fields.
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* complete github reader
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* fix read from github, fix test
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* reviewable
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* header
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* rename function, restore test
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* try CI
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* sort out functions name. add detail test
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* fix test
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* fix test
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* filter directory without metadata.yaml in oss
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* add GitHub reader unit test
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* clean up
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* reviewable
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* header
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* add cache arg
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* fix test
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* change field name
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* build swagger
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* some json tag, revert cache logic
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
Co-authored-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2021-12-21 09:31:37 +08:00
barnettZQG
2543b7b510
Fix: can not find target name in pod list ( #2936 )
...
* Fix: can not find target name in pod list
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: set create time for init trait
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2021-12-20 18:51:21 +08:00
Tianxin Dong
6c4b7699b9
Fix: nit fix for workflow ( #2957 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2021-12-20 11:00:07 +08:00
Tianxin Dong
add5d40bfc
Feat: add init secret demo ( #2955 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2021-12-18 14:31:18 +08:00
Tianxin Dong
f5e04a5575
Fix: fix apiserver snake case ( #2944 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2021-12-16 21:14:25 +08:00
yangsoon
3b1f097807
Fix: change catlog helm repo path to https://charts.kubevela.net/example ( #2942 )
...
Signed-off-by: yangsoon <yangsoonlx@gmail.com >
2021-12-16 15:17:00 +08:00
barnettZQG
e17f6b931a
Feat: support specified existing namespace while creating a project ( #2931 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2021-12-15 14:42:18 +08:00
Somefive
a89bb69a62
Fix: add design docs for ResourceTracker ( #2909 )
...
* 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 >
2021-12-13 19:41:42 +08:00
barnettZQG
ad4b44696a
Feat: add the project api ( #2899 )
...
* Feat: add the project api
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: fix e2e test bug
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2021-12-08 19:08:35 +08:00
barnettZQG
1563c582bc
Feat: support additional properties parameter ( #2880 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2021-12-08 17:46:45 +08:00
Tianxin Dong
d1f56743cc
Feat: add core definitions ( #2664 )
...
* Feat: add components and storage api-oriented defs
* add some examples
* change the dir
* resolve comments
* make reviewable
* fix example
* add labels and annotations in component
* add config map ref key in env
* add more traits
* add wfstep defs and rename
* fmt the cue
* re-struct all the definitions
* revert deprecated defs and add webhook def
* delete useless network trait
* fix generated tab
* fix indent
* fix webservice
* add labels
* comment webservice and worker's health check
* fix retainkeys
* fix webservice and worker's health check
* add suspend def which will be replaced by internal def
* fix cli and add labels
* fix script
* add ignore
* fix healthscope example
2021-11-29 15:02:16 +08:00
Zheng Xi Zhou
92335eca17
Fix: support exposing cloud resource identifier and console url ( #2825 )
...
* Fix: support exposing cloud resource identifier and console url
To help users quickly navigate to the instance in the web console, exposing
necessary information in ComponentDefinition and convert them to Configuration
* fix ci
* Check whether wl.FullTemplate.ComponentDefinition is nil before getting annotations
2021-11-28 17:21:12 +08:00
yangsoon
3d2fcacb5a
Feat: built in gc policy to application ( #2575 )
2021-11-24 15:38:13 +08:00
yangsoon
ec5e2b4660
Fix: clean up the view api ( #2779 )
2021-11-24 11:09:50 +08:00
barnettZQG
8c276e226b
Fix: fix update component and list workflow bug ( #2782 )
...
* Fix: fix update component and list workflow bug (#2763 )
* Fix: fix update component and list workflow bug
* Fix: change e2e test case
* Fix: change e2e case
Co-authored-by: barnettZQG <yiyun.pro>
* Fix: fix sync controller revision (#2772 )
Co-authored-by: Tianxin Dong <dongtianxin.tx@alibaba-inc.com >
Co-authored-by: barnettZQG <yiyun.pro>
2021-11-23 19:30:54 +08:00
Hongchao Deng
e5aba94cd1
Merge branch 'apiserver' into merge
2021-11-22 17:25:50 +08:00
yangsoon
99ffe80eb4
Feat: component-pod-view support filter resource by cluster name and cluster namespace ( #2754 )
2021-11-21 14:56:01 +08:00
barnettZQG
8181b4d266
Fix: fix the envbinding can not be deleted bug ( #2756 )
...
* Fix: fix the envbinding can not be deleted bug
* Fix: fix target must be interface or implement error
Co-authored-by: barnettZQG <yiyun.pro>
2021-11-21 10:15:15 +08:00
barnettZQG
adcb7bd65e
Feat: support update component and query app statistics info ( #2746 )
...
* Feat: change swagger config
* Feat: support update component and query app statistics info
* Fix: fix workflow list bug
* Fix: fix test bug
* Fix: fix e2e test bug
* Feat: change workflow api
* Fix: fix app deploy e2e test bug
* Fix: change e2e test
* Fix: fix workflow bug
* Fix: fix deploy bug
* Fix: fix selector bug
* Feat: support recycle env
* Fix: debug e2e
* Fix: fix e2e case bug
Co-authored-by: barnettZQG <yiyun.pro>
2021-11-20 19:50:36 +08:00
Somefive
34aa74ff48
Feat: envbinding support cloud resource deploy and share ( #2734 )
...
* Feat: envbinding support cloud resource deploy and bind
* Fix: change bind-cloud-resource to share-cloud-resource
2021-11-20 13:07:27 +08:00
Tianxin Dong
ff405cd62a
Feat: add workflow record actions ( #2733 )
...
* Feat: add application revision actions
* refactor workflow record and application revision
* generate doc
* fix rebase
* fix rebase
* delete comment
* fix comment
* delete suspend status
* use apply instead of update
* find latest comlete revision if the revision is not specified
* delete name
* fix primary key
2021-11-20 13:05:52 +08:00
yangsoon
530f158795
Feat: velaql support query the resources created by helmrelease ( #2726 )
...
Co-authored-by: yangsoon <songyang.song@alibaba-inc.com >
2021-11-18 11:53:38 +08:00
Tianxin Dong
2fc0f1cd2b
Feat: add app revision list and detail api ( #2722 )
...
* Feat: add app revision list and detail api
* add envName and status filter
* make swagger doc
* revert ui-schema
2021-11-17 15:29:36 +08:00
Somefive
ba4a28fa0d
Feat: cherry-pick #2720 into apiserver: support list runtime cluster ( #2730 )
...
* Feat: support list runtime cluster (#2720 )
* Fix: style
2021-11-17 15:12:06 +08:00
Somefive
55070033eb
Feat: support list runtime cluster ( #2720 )
2021-11-17 09:45:03 +08:00
lowkeyrd
b3423116bf
add alicloud sls resources ( #2701 )
2021-11-16 22:50:18 +08:00
barnettZQG
1465aba177
Fix: fix build bug ( #2724 )
...
* Fix: fix build bug
* Fix: change api spec
Co-authored-by: barnettZQG <yiyun.pro>
2021-11-16 21:31:24 +08:00
barnettZQG
ba1f8e4793
Feat: change the model to support multiple environments ( #2721 )
...
* Feat: change swagger config
* Feat: change the model to support multiple environments.
* Feat: support query targets by namespace
* Fix: fix definition unit test case
Co-authored-by: barnettZQG <yiyun.pro>
2021-11-16 14:45:49 +08:00
qiaozp
15795fbe25
Fix: observability installation ( #2676 )
...
* fix observability installation
* fix nil pointer
* fix nil pointer
* remove asset, build in trait
2021-11-16 13:56:39 +08:00