barnettZQG
738b416ec2
Fix: fix can not create first app env plan bug ( #2665 )
...
* Fix: fix can not create first app env plan bug
* Fix: fix test bug
Co-authored-by: barnettZQG <yiyun.pro>
2021-11-09 09:47:41 +08:00
qiaozp
39e8bc0b98
add addon parameter openAPI schema ( #2666 )
2021-11-08 10:13:04 -05:00
Hongchao Deng
976da6f35a
Feat: add local cache of addons to avoid Github limit ( #2558 )
...
* Feat: add local cache of addons to avoid Github limit
comment
* comment
2021-11-08 20:04:08 +08:00
qiaozp
b98cec127e
add addon template reading ( #2648 )
...
render definition into application
new format
fix cue render
fix one bad registry make all addon unusable
2021-11-08 16:34:03 +08:00
barnettZQG
eb258fae66
Feat: support ui schema ( #2647 )
...
* Docs: change swagger api config
* Docs: change swagger api config
* Docs: change swagger api config
* Feat: support ui schema
* Fix: distinguish between structs and arrays
* Feat: support build swagger config
* Feat: support update ui schema
Co-authored-by: barnettZQG <yiyun.pro>
2021-11-08 14:13:22 +08:00
Tianxin Dong
5590c3d7b5
Fix: fix apiserver definition schema struct ( #2644 )
...
* Fix: fix apiserver definition schema struct
* use open api schema
2021-11-05 21:54:31 +08:00
Hongchao Deng
c821f2a929
Feat: rewrite Addon API to support new format ( #2605 )
...
* Feat: rewrite Addon API to support new format
fix test
fix
fix
add registry query parameter
skip enable test
add Definition meta
fix
fix ext
add cue rendering
return component name
update swagger.json
refactor addon cue/yaml tmpl to addonElementFile
apply app in enable
fix cue parse
comment
swagger
enable test
update
fix bug
fix cue render
fix apply fail, decode object
fix disable addon, todo: fix status api
* avoid to render a whole addon when check status
* fix
* fix
* add label
* remove todo
* fluxcd
* fix args
* add all path to addon component name
* reorder test
* add addon application prefix
* add
* add ns when test
* fix
Co-authored-by: qiaozp <chivalry.pp@gmail.com >
2021-11-05 17:39:31 +08:00
barnettZQG
df5bc2727e
Feat: supports setting environment differences for application plan ( #2624 )
...
* Feat: supports setting environment differences for application plan
* Feat: update swagger config
* Feat: CRUD of application env binding plan
* Style: change code style
Co-authored-by: barnettZQG <yiyun.pro>
2021-11-05 10:42:18 +08:00
Tianxin Dong
cd686fbb24
Fix: fix definition schema struct ( #2632 )
...
* Fix: fix definition schema struct
* add more fields
2021-11-05 10:32:54 +08:00
Somefive
2337c82c3d
Feat: add create ack api ( #2596 )
2021-11-04 16:39:32 +08:00
Tianxin Dong
e8969e4d17
Feat: add definition API ( #2602 )
...
* Feat: add definition API
* fix struct
* fix e2e
* optimize the code
* fix return
* fix const
2021-11-04 16:38:34 +08:00
barnettZQG
8e874bc3a9
Feat: change application to applicationplan ( #2616 )
...
* Feat: change application to applicationplan
* Feat: update swagger config
* Feat: change api spec
* Fix : fix e2e test case
Co-authored-by: barnettZQG <yiyun.pro>
2021-11-03 17:25:37 +08:00
Hongchao Deng
5f09faeff0
Fix: delete addon registry ( #2594 )
...
* Fix: delete addon registry
* add validate Git should not be empty
* fix token could be nil
* GitSource Repo url is a must
2021-11-02 11:30:30 +08:00
Somefive
90e5fd9ed6
Fix: add fixes to cluster api ( #2597 )
2021-11-02 09:49:52 +08:00
barnettZQG
9519d2443a
Feat: add alias field and fix some code bug ( #2589 )
...
* Feat: add alias field and fix some code bug
* Fix: fix alias check rule bug
* Fix: fix addon e2e test bug
Co-authored-by: barnettZQG <yiyun.pro>
2021-10-31 18:23:55 +08:00
Tianxin Dong
6666c3a2bb
Feat: add workflow record api ( #2567 )
...
* Feat: add workflow record api
* resolve comments
* add count function
2021-10-29 10:39:50 +08:00
Jianbo Sun
3edb71891b
Merge pull request #2572 from Somefive/apiserver_merge_master
...
Refactor: merge master
2021-10-28 17:30:54 +08:00
Yin Da
0fedad7cd2
Merge branch 'master' into apiserver
2021-10-28 15:19:03 +08:00
yangsoon
edf42074b9
Feat: add velaql webservice ( #2532 )
2021-10-28 12:05:12 +08:00
Tianxin Dong
828acd95fa
Feat: add email support in webhook notification ( #2535 )
...
* Feat: add email support in webhook notification
* Fix: change sender and receiver to from and to
* fix the variable name
* fix wait return
2021-10-28 10:59:17 +08:00
Tianxin Dong
7e5dac7c98
Fix: fix backport command ( #2557 )
2021-10-27 14:18:37 +08:00
Somefive
9563391952
Fix: add local cluster & fix query parameter default value bug ( #2561 )
2021-10-27 11:37:47 +08:00
Tianxin Dong
b3f60b4b73
Feat: add cluster in read or apply object ( #2551 )
2021-10-27 10:05:57 +08:00
wyike
f48da214e3
Feat: health scope controller support check trait-managing workload ( #2527 )
...
* Feat: health scope controller support trait manage-workload
* Test: add multi-cluster and health policy e2e-test
Fix: e2e-test
lint
Fix: all e2e-test
Fix: modify port back
middle commit
middle pr
Fix: e2e-rollout-test
make reviewable
defet to rollout apply gvk annotation
fix e2e
* Update test/e2e-multicluster-test/multicluster_rollout_test.go
Co-authored-by: Hongchao Deng <hongchaodeng1@gmail.com >
Co-authored-by: Hongchao Deng <hongchaodeng1@gmail.com >
2021-10-26 19:51:53 +08:00
Yu Yicai
4dd18d1fc3
Feat: add nocalhost dev config trait definition ( #2545 )
...
* Feat: add nocalhost dev config trait definition
* Feat: add nocalhost dev config trait example
add nocalhost dev config trait example in `docs/examples/nocalhost`
Signed-off-by: yuyicai <yuyicai@hotmail.com >
2021-10-26 19:28:25 +08:00
Hongchao Deng
3ebc94394c
Feat: addon service impl ( #2515 )
...
* Feat: addon service impl
* get addon from git/configmap
* add ListAddonRegistries
* add GetAddonModel
* add CreateAddonRegistry and bcode/addon.go
* add applyAddonData
* update
* Fix: getAddonFromGit
* Fix: getAddonFromGit, remove trailing .git
* add comment
* add enable/disable/status impl
* add deleteAddonRegistry and check dup addon
* read addon without accessing database
* change to query parameter, add addon detail
* Feat: add addon readme for apiserver
* Make enable/disable/status runnable
* chore: fix bcode
* Fix: refactor parse to util
* Fix: refactor addonutil to pkg
* add addon test for create and delete addon registry
* fix version prefix
* add post func
* add enable/disable test
* add provider aws readme
* done testing
* fix comment and refactor statusAddon
* move enable/disable logic to usecase
* add GITHUB_TOKEN env
* Fix: Add github token support and use it in test
* add license
Co-authored-by: qiaozp <chivalry.pp@gmail.com >
2021-10-26 17:52:34 +08:00
barnettZQG
964a12bb44
Feat: support manage multiple workflows in one application. ( #2533 )
...
* Docs: change swagger json
* Feat: support manage multiple workflows in one application.
* Docs: update swagger doc
* Fix: fix code bug
* Update pkg/apiserver/rest/webservice/workflow.go
Co-authored-by: Tianxin Dong <wuwuglu19@gmail.com >
Co-authored-by: barnettZQG <yiyun.pro>
Co-authored-by: Tianxin Dong <wuwuglu19@gmail.com >
2021-10-26 17:50:30 +08:00
Tianxin Dong
605fb58a3c
Fix: pass on octokit error to make the check consistent ( #2549 )
2021-10-26 12:09:14 +08:00
Zheng Xi Zhou
7482388c84
Fix: CVE-2021-42836 ( #2548 )
...
CVE-2021-42836
GJSON before 1.9.3 allows a ReDoS (regular expression denial of service) attack.
2021-10-26 12:01:20 +08:00
Zheng Xi Zhou
e9ac4bb62f
Fix: add another output CLUSTER_ID for Alibaba Cloud ack ( #2543 )
...
To support sub-path of a git repo which stores HCLs, also update the dependency
of Terraform controller
2021-10-24 10:02:39 +08:00
Zheng Xi Zhou
17dbf6de7e
Fix: enable to allocate public connection string ( #2530 )
...
Also expose the connection string
2021-10-24 10:00:42 +08:00
yuyicai
b2fb9fc618
Fix : #2534 can't exit make when error occurs in curl ( #2540 )
...
- use `curl -sS` to show error
- use `set -eo pipefail` to exit `make` when error occurs in `curl`
2021-10-24 09:59:24 +08:00
Zheng Xi Zhou
cf039e27e5
Fix: format canary rollout manifests ( #2542 )
...
Formated canaray rollout manifests and changed orders for some traits
of a component to make it clear to see the difference between first-deploy.yaml
and rollout-v2.yaml, between rollout-v2.yaml and rollback.yaml
2021-10-24 09:58:32 +08:00
Jian.Li
dfbe65c9c0
Feat: Commit step-generate data without success ( #2539 )
...
* Feat: commit without success
* Feat: add test case
2021-10-23 11:25:50 +08:00
Somefive
accf0138f8
Feat: apiserver cluster api ( #2526 )
...
* Fix: multicluster api
* Feat: add apiserver cluster api & fix codecov
* Feat: add pod capacity and resourceused stat
* Feat: add cloud cluster manage
* Test: add test for cloud cluster
* Test: pending cloud resource api
* Style: refactor
* Fix: apiserver e2e test
* Fix: fix application usecase policy bug
* Style: add returns for cluster api
* Feat: add provider detail info & add cache & add rollback protection
* Style: refactor
* Style: add error code
2021-10-23 00:29:43 +08:00
barnettZQG
f0b91ef8d6
Feat: added environment binding capabilities to the application creation API. ( #2523 )
...
* Feat: add env binding support in app create api
* Feat: add query component types api
Co-authored-by: barnettZQG <yiyun.pro>
2021-10-23 00:29:43 +08:00
barnettZQG
b85dda35f3
Feat: add namesapce create and list api ( #2514 )
...
Co-authored-by: barnettZQG <yiyun.pro>
2021-10-23 00:29:43 +08:00
yangsoon
c7f9cdcbbf
Feat: add the oam application api in apiserver ( #2492 )
...
* Feat: oam application api in apiserver
* Feat: enable unit-test and e2e-test
2021-10-23 00:29:42 +08:00
barnettZQG
d2dc9a8da7
Feat: application operation API implementation ( #2478 )
...
* Feat: application operation API implementation
* Docs: update swagger json
* Docs: update swagger config
* Feat: improve application management API implementation and testing
* Style: change code style
* Style: change some code style
Co-authored-by: barnettZQG <yiyun.pro>
2021-10-23 00:29:42 +08:00
Tianxin Dong
952af10a4b
Fix: check pr title instead of commit msg ( #2541 )
2021-10-23 00:28:59 +08:00
Zheng Xi Zhou
e56a67acf5
Fix: support terraform/provider-aws addon ( #2520 )
...
Also added some componentdefinitions for AWS cloud resource
2021-10-22 00:02:35 +08:00
Tianxin Dong
cc292fe666
Feat: add list and delete kube provider ( #2531 )
2021-10-21 19:50:09 +08:00
Jian.Li
99f1743d25
Not update resource if render hash equal. ( #2522 )
...
* Feat: not apply if render hash not change
* Fix: generateRenderHash panic
2021-10-19 20:34:25 +08:00
qiaozp
f62deca440
Feat: add helm type component definition custom status ( #2499 )
2021-10-19 17:53:54 +08:00
Tianxin Dong
9d33b74278
Fix(cli): use flag instead of env in workflow cli ( #2512 )
2021-10-19 17:34:30 +08:00
Tianxin Dong
cf055a8331
Docs: update webhook example with url in secret ( #2521 )
2021-10-19 17:33:52 +08:00
Jian.Li
9fea82fd7b
Feat: Record workflow execution state ( #2479 )
...
* Feat: workflow status add timestamp
* Feat: add workflow recorder
* Fix: finish state process
* Fix: test cases
* Fix: revert comments history->recorder
* Feat: omitempty execution time
* Fix: workflow_test.go
* Feat: add application test case for record
* Feat: terminate record
* Feat: trigger only by anno
* Feat: remove initializers CRD
2021-10-19 11:43:06 +08:00
Tianxin Dong
dcb677f976
Feat: support secret in webhook notification ( #2509 )
2021-10-19 10:42:40 +08:00
Zheng Xi Zhou
d1e814e7af
Fix: aws/azure Terraform provider are broken ( #2513 )
...
Removed built-in aws/azure Terraform providers, and fix azure
mariadb definition issue.
Fix #2475
2021-10-19 10:15:35 +08:00
Tianxin Dong
d82f8e3cc6
Fix: fix the backport label permission to read ( #2504 )
2021-10-18 11:46:21 +08:00