qiaozp
4b9e071558
Fix: mongodb can not decode runtime.Object ( #4971 )
...
* Fix: mongodb can not decode runtime.Object
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* reuse struct
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix no output when filter
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2022-11-01 17:20:30 +08:00
barnettZQG
fa44776702
Fix: grant the permission to read the ConfigMap in the vela-system namesapce ( #4961 )
...
* Fix: grant the permission to read the ConfigMap in the vela-system namespace
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the test
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-11-01 09:58:18 +08:00
qiaozp
23cbc9c91f
Feat: implement pipeline APIs ( #4908 )
...
* add context when run pipeline
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Feat: implement pipeline API
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Extract get log logic and implement getPipelineRunLog API
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Init and delete pipeline contexts
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix panic
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Allow not specifying context
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* change pipeline to path parameter
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Add permission check filter
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* project -> projects in route
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix route conflict
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Add project alias
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Feat: change the list pipeline API
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: filter the project
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: the error of the run APi
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* fix log pipeline run API
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Fix lint, fix the error of log api
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix error returning
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Fix: change the lable to annotation
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* remove log config not found error
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix pipeline list api return no context info
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Fix: create the namespace
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* get pipeline lastrun info
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* allow query single step output
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* organize code in api layer
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix project filter, add context value when get pp run, extend lastRun
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix get output and implement get input api
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Fix: change the last run
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* if query sub-step outout, return it directly
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Fix: change the run stats
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the output
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* flatten the input/output api
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* more info for i/o vars
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix nested i/o struct
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* add fromStep in input api
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* add e2e test skeleton
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* add more e2e test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* use db to store pipeline
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* keep the last 5k lines of log
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* use stern param to keep last lines of logs
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* filter, nil labels, spec check
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* empty res, index, detail param
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Add e2e test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix e2e test and unit test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* add context e2e test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* goimports
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* add more test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* review
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* remove optional tag in returned value, unify the imports name
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix e2e test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* add stop test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* more coverage
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* single case selct
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* optimize log color
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* add default permission and role
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix permission ut
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* change the log api implementation
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* add color, add container order
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* lint
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix filter nil will cut all log
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* longer timeout and lint
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Co-authored-by: barnettZQG <barnett.zqg@gmail.com >
2022-10-31 23:59:04 +08:00
Tianxin Dong
63c7285b8b
Feat: sync the model of api workflow with core ( #4936 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-10-28 17:43:00 +08:00
nuclearwu
2175bb519e
Feat: createOrUpdateApplication support dryRun operation ( #4860 )
...
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
2022-10-18 17:25:28 +08:00
qiaozp
dc7d791127
Feat: pipeline API for apiserver ( #4840 )
2022-10-17 20:11:06 +08:00
barnettZQG
49ed837f97
Feat: support to manage the configs by the CLI, UI, and workflow. ( #4794 )
...
* Feat: support to manage the integrations by the CLI and the workflow
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: remove the xml
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: add the unit test for the nacos writer
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: add the integration API
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: make the provider commands to be deprecated
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: make the unit test work
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: rename the integration to the config
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: make the unit test cases work
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: refactor the config commands
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: add the distribution status for the config
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: sort the import packages
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: refine the code style
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: refine the code style
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: get the content format before render the content
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: add some examples
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: the command test cases
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: add the definitions of the workflow step
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: add some tests
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: add some tests
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the name
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: retry the CI
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: refine some words
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-10-17 17:15:45 +08:00
Xu Cheng
b8c2b7aa96
Fix: interface updateUser missing read body ( #4802 )
...
Signed-off-by: 1ch0 <github1ch0@163.com >
Signed-off-by: 1ch0 <github1ch0@163.com >
2022-09-28 17:21:37 +08:00
Tianxin Dong
239c5474dd
Chore: refactor workflow from workflow engine ( #4631 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-09-02 12:55:03 +08:00
Zhiyu Wang
f7d3fbaeca
Fix: missing return when token is null ( #4512 )
...
Signed-off-by: Zhiyu Wang <cloudsky.newbis@gmail.com >
2022-08-01 16:02:18 +08:00
barnettZQG
4334c4c195
Fix: failed to assign the default role for the users who log in from dex ( #4491 )
...
* Fix: failed to assign the default role for the users who log in from dex
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: cluster e2e test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: the ensure namespace error is ignored
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-07-29 17:17:43 +08:00
barnettZQG
c6ae772cc1
Fix: CloudShell read-only authorization is not automatically revoked ( #4495 )
...
* Fix: CloudShell read-only authorization is not automatically revoked
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: code style
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: rename the prefix
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-07-29 16:42:24 +08:00
barnettZQG
89037b2123
Feat: support to query the alias of the project member ( #4441 )
...
* Feat: support to query the alias of the project member
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: optimize the e2e test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-07-25 21:28:35 +08:00
barnettZQG
e2031c1a7f
Feat: support to init the roles of the user who login by dex ( #4431 )
...
* Feat: support to init the roles of the user which login by dex
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: add the comment
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: make the sub string to lower
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-07-25 11:13:04 +08:00
barnettZQG
96ece000dc
Feat: support to sync the revision and the workflow status ( #4419 )
...
* Feat: support to sync the revision and the workflow status
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: pass the unit test and e2e test
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: e2e test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: update the component pod view
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: the pod struct does not match
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: optimize the e2e test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-07-22 16:14:38 +08:00
wyike
60129e0f94
Fix: fetch workflowpolicy policy info when request detail policy info ( #4403 )
...
* fix several bugs
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix commentes
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
move test back
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-07-19 10:29:41 +08:00
barnettZQG
a519a6c89d
Feat: optimize the dry run feature ( #4364 )
...
* Feat: optimize the dry run feature
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: e2e test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the bcode
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change some names
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-07-18 14:01:11 +08:00
wyike
203a7dfbda
add two fileds ( #4383 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-07-15 16:00:59 +08:00
wyike
930d866e09
Feat: velaux support override policy ( #4352 )
...
* velaux support override policy
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
add comments
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* in the middle of add test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix
in the middle of work
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
add test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* add comments
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
reverse flacky test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix goling
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* add test for syspend step
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-07-14 11:52:49 +08:00
barnettZQG
b7bf9df55f
Feat: supports multiple difference compare modes ( #4334 )
...
* Feat: supports multiple difference alignment modes
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change field name
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-07-08 09:38:18 +08:00
barnettZQG
09acc8a989
Fix: the target conflict when syncing the application ( #4312 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-07-06 17:54:16 +08:00
Jianbo Sun
eea8570e10
Feat: add the CloudShell feature ( #4280 )
...
* Feat: add the CloudShell feature
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: unit test bug
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: handle the error
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: change the auth package
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the CSR name
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the generate function
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: unit test
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: e2e test
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-07-01 23:31:15 +08:00
Charlie Chiang
370940070b
Feat: filter definitions by which addon installed them ( #4156 )
...
* Feat: filter by source addon in `vela def list`
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Style: change header year to 2022
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Refactor: use generic filters for extensibility
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Refactor: change variable addonFilter to addonName
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: update tests according to code changes
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Refactor: unify SearchDefinition params using filters
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: simplify tests
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Style: remove redundant code
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: add tests with multiple filters
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Feat: show SOURCE-ADDON column in `def list`, if any
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Feat: add addon filter to apiserver definition-lists
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Style: fix lint issues
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Chore: update swagger doc accordingly
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: add tests for filter Applying
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Feat: add a helper function to apply filters to lists
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Style: format imports
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Feat: add OwnerAddon to DefinitionBase
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: add tests for OwnerAddon field
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: add addon util tests
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
2022-06-29 10:55:50 +08:00
barnettZQG
2ec18bd52e
Feat: add the API for querying the image info ( #4209 )
...
* Feat: add the API for querying the image info
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: the code style
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-06-21 15:03:55 +08:00
barnettZQG
2ac3a7562d
Feat: support to manage the CLI-created apps in VelaUX ( #4197 )
...
* Feat: support for automatically hosting CLI-created apps
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: add the comment
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: unit test bug
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: unit test bug
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: e2e error
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-06-20 16:06:48 +08:00
barnettZQG
f5267f7654
Fix: the policies can not be deleted ( #4057 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-05-30 16:21:07 +08:00
barnettZQG
6eb7af9aea
Feat: add the creating and deleting permission APIs ( #4026 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-05-27 17:41:29 +08:00
barnettZQG
f3d4db686d
Fix: add some default permissions about the configuration ( #3998 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-05-26 17:21:23 +08:00
barnettZQG
09ce919b2b
Feat: Refactoring the API Server module for better layering ( #3945 )
...
* Feat: Refactoring the API Server module for better layering
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: code style
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: code style
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: fix the lint errors
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-05-23 12:17:28 +08:00