Ryan Zhang
d74dbb4fda
refactor application controller
2021-01-21 00:34:04 -08:00
Ryan Zhang
adbe1f9368
add the rollout code framework
2021-01-20 13:08:00 -08:00
zhangrun.zr
f55dd467b9
feature: add healthcheck policy for workload and trait by cue template
...
Signed-off-by: zhangrun.zr <zhangrun.zr@alibaba-inc.com >
2021-01-19 13:03:05 +08:00
Ryan Zhang
7524aeee31
Merge pull request #852 from rain18/task
...
feature: add http task for application cue template
2021-01-18 20:11:59 -08:00
roy wang
580056b209
fix unstable unit test
...
Signed-off-by: roy wang <seiwy2010@gmail.com >
2021-01-18 18:59:58 +09:00
zhangrun.zr
2706e63743
fix: use httptest instead of echo and rename context
...
Signed-off-by: zhangrun.zr <zhangrun.zr@alibaba-inc.com >
2021-01-18 15:52:22 +08:00
Ryan Zhang
df32d4b1ba
update rollout CRD spec
2021-01-15 19:19:32 -08:00
Jianbo Sun
89863b30e8
fix ci and refactor code ( #887 )
...
* 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 >
2021-01-15 19:04:12 +08:00
天元
1f1f3af7b7
refacter and add tests
2021-01-11 20:48:17 +08:00
天元
2761e7afb9
use map[string]string for scope
2021-01-11 10:54:57 +08:00
天元
8410f03eb0
addressing comments
2021-01-11 10:45:13 +08:00
天元
f694d1ad5d
add tests
2021-01-08 18:16:03 +08:00
天元
3dd954541e
add tests
2021-01-07 20:24:25 +08:00
天元
ba614da809
fix ci
2021-01-07 19:40:32 +08:00
天元
b92e2a92fc
try test again
2021-01-07 19:28:19 +08:00
天元
718a4b1999
fix ci
2021-01-07 17:52:15 +08:00
天元
4cfee561b9
refactor and add scope to application
2021-01-07 13:07:12 +08:00
天元
3d3b3239d8
add trait type
2021-01-05 21:18:27 +08:00
天元
b1a97b08ec
add workload type to label
2021-01-05 21:08:41 +08:00
天元
5e06e41477
try fix ci
2021-01-05 17:15:55 +08:00
天元
01bd05d0a5
add test for component revision hook
2020-12-31 16:41:55 +08:00
Jianbo Sun
810cbcaae4
Merge pull request #841 from zzxwill/issue-trait-no-definition
...
Allow trait to work without TraitDefinition
2020-12-31 10:52:01 +08:00
zzxwill
dfdb833abe
Check trait CR is created and update ApplicationConfiguration
2020-12-31 09:16:56 +08:00
天元
02bb9a1dc1
refine error message: trait definition not found
2020-12-30 18:25:30 +08:00
Ryan Zhang
b25e911a74
use the correct cue parse api
2020-12-29 13:24:04 -08:00
zzxwill
d8d891f6c9
Allow trait to work without TraitDefinition
...
Fix the issue of applying trait if its traitdefinition
doesn't exits.
To fix issue #839
2020-12-30 00:14:26 +08:00
天元
3a47d5de73
refactor application object to have more strict schema
2020-12-29 15:48:32 +08:00
Jianbo Sun
32bc74456a
Merge pull request #810 from Cweiping/fix/fix_promethus_typo_error_2
...
fix typo error of promethus
2020-12-25 17:39:22 +08:00
Jianbo Sun
69dcf2fc5a
Merge pull request #807 from wonderflow/datainput
...
support strategy patch datainput merge for slice case
2020-12-25 12:42:13 +08:00
天元
e3b4bcd2ca
support custom component revision
2020-12-25 09:40:54 +08:00
Weiping Cai
ab6a170c1d
fix typo error of promethus
...
Signed-off-by: Weiping Cai <weiping.cai@daocloud.io >
2020-12-24 14:00:17 +08:00
天元
4bed55b400
support strategy patch datainput merge for slice case
2020-12-23 21:53:05 +08:00
天元
7609da212f
fix workload can not be update when revision enable trait is attached
2020-12-21 21:12:19 +08:00
天元
3cb172f7ff
minor fix
2020-12-15 13:55:36 +08:00
Jian.Li
e882a650ae
Extend application's capabilities by trait definition ( #742 )
...
* add dsl pkg
* realize context capabilities for application
* fix golint
* fix check-diff
* upgrade vela server sample
* comment group
* Definition Reference be Optional & fix three-part trait crd apply without namespace
* Improve samples
2020-12-13 20:00:06 -08:00
roywang
d14558a227
fix golint issues
...
Signed-off-by: roywang <seiwy2010@gmail.com >
2020-12-10 12:10:52 +09:00
roywang
a961b002c2
faster refresh capabilities
...
Signed-off-by: roywang <seiwy2010@gmail.com >
2020-12-09 23:51:04 +09:00
Jianbo Sun
1ec07b0198
Merge pull request #722 from wonderflow/doc
...
add some detail for route design
2020-12-07 11:29:13 +08:00
天元
799bcf9cef
add some detail for route design
2020-12-04 17:27:41 +08:00
天元
21cae61f93
build version into vela-core and lock helm version on release
2020-12-04 16:45:37 +08:00
Zheng Xi Zhou
06585fea92
Support disable installation of builtin capabilities ( #687 )
...
* Support disable installation of builtin capabilities
Added vela core bootstrap flag `--enable-caps` to support no
installation for builtin capabiliteis
Feature #658
* revert flag to "disable-cpas"
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com >
* Address comments
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com >
2020-12-04 10:03:25 +08:00
Jian.Li
ee906dbd5a
Using CUE to implement OAM model on Kubernetes server side ( #669 )
...
Init: Using CUE to implement OAM model on Kubernetes server side
* vela server
* fix refator
* lint code
* vela server
* fix refator
* lint code
* rebase upstream
* remove lister
* add vela-server sample
* fix lint error
* fix lint error
* fix check-diff error
* add test case
* add test case for application controller
* add reconciler test with ginkgo
* remove make server
* remove the kustomize scripts
* fix units test bug
* config direct
* suite test
* add application validater
Co-authored-by: lj176172 <lj176172@alibaba-inc.com >
2020-12-03 17:09:55 +08:00
天元
9aae23e163
fix route reconcile too frequency and replace oam-runtime imports
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-12-01 14:05:12 +08:00
roy wang
12a2eb8491
fix minor lint issues
...
add unit tests
Signed-off-by: roy wang <seiwy2010@gmail.com >
2020-11-30 16:11:48 +09:00
天元
6b931d9b32
fix unstable test as workload changed by reconcile
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-27 20:11:26 +08:00
天元
43754e89b6
merge CI and makefile
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-27 12:16:36 +08:00
天元
6480873e81
change import headers
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-27 11:08:54 +08:00
天元
2e975e678c
merge code: apis,pkg all moved
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-27 11:07:50 +08:00
roy wang
bfb0f94b82
fix lint issues in /pkg/controller
...
fix lint issues in /apis
Signed-off-by: roy wang <seiwy2010@gmail.com >
2020-11-26 16:12:03 +09:00
天元
be8403dc0d
standardize project structure: move v1alpha1 into standard.oam.dev group
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-25 21:46:31 +08:00