Ryan Zhang
d74dbb4fda
refactor application controller
2021-01-21 00:34:04 -08:00
Jianbo Sun and GitHub
4661297ca5
Merge pull request #902 from ryanzhang-oss/rollout-structure
...
Rollout code framework
2021-01-21 10:02:37 +08:00
Ryan Zhang
adbe1f9368
add the rollout code framework
2021-01-20 13:08:00 -08:00
Jianbo Sun and GitHub
721ca9ff92
Merge pull request #886 from zzxwill/ref-docs
...
Generate the reference doc for a workload type or trait in the local host website and in a table style on Cli console
2021-01-20 10:34:03 +08:00
zzxwill
a674174cda
add more unittest
2021-01-19 21:56:26 +08:00
zzxwill
48f3ed94b7
convert configuration files to variables
...
open the exact reference doc link for a capability
add option `--no-website` to support display reference docs on console
2021-01-19 15:16:40 +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 and GitHub
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
zzxwill
3546001bf6
Generate a local site to host all reference docs
...
By Cli `vela reference` to generate reference docs for all workload
types and traits, and host them in a local website.
To fix #880
2021-01-18 12:18:15 +08:00
Ryan Zhang
df32d4b1ba
update rollout CRD spec
2021-01-15 19:19:32 -08:00
zhangrun.zr
732d8f76d3
feature: add http task for application cue template
...
Signed-off-by: zhangrun.zr <zhangrun.zr@alibaba-inc.com >
2021-01-15 19:20:39 +08:00
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
Ryan Zhang and GitHub
d38c08af56
Merge pull request #846 from leejanee/vela-up
...
vela up generate application object instead of AC and Component
2021-01-10 22:10:39 -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
zzxwill
674408784b
address comments and add one more testcase
2021-01-08 15:46:30 +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
天元
de83320306
remove unused code
2021-01-07 13:07:28 +08:00
天元
4cfee561b9
refactor and add scope to application
2021-01-07 13:07:12 +08:00
zzxwill
2243632d0c
Add unit-test for generateOpenAPISchema
...
Added title for all fields and added unit-test for generateOpenAPISchema FixOpenSchema,
2021-01-06 14:36:36 +08:00
Jianbo Sun and GitHub
775991cfaa
Merge pull request #784 from zzxwill/form-render
...
Implement API for generating OpenAPI schema for definition
2021-01-06 11:58:20 +08:00
da097989f8
Update pkg/appfile/service.go
...
Co-authored-by: Hongchao Deng <hongchaodeng1@gmail.com >
2021-01-06 11:05:37 +08:00
zzxwill
53164a4d2f
Implement API for generating OpenAPI schema for definition
...
Fetched cue parameters from workloaddefinition/traitdefinition, generated
OpenAPI v3 schema, fixed problems of tainted `description` filed, added filed
"title" required by form-render component, added it in API server router
To fix #680
2021-01-05 21:57:38 +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
天元
6e658d1ea8
Merge branch 'master' into vela-up
2021-01-05 17:15:03 +08:00
lj176172
cb68136f93
remove
2021-01-04 17:26:34 +08:00
天元
01bd05d0a5
add test for component revision hook
2020-12-31 16:41:55 +08:00
lj176172
76d585795b
fix ls command
2020-12-31 16:18:37 +08:00
lj176172
4088a20252
ApplyApp
2020-12-31 12:26:05 +08:00
Jianbo Sun and GitHub
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
lj176172
a88d0a5660
lint code
2020-12-30 18:26:31 +08:00
天元
02bb9a1dc1
refine error message: trait definition not found
2020-12-30 18:25:30 +08:00
lj176172
950238aa11
export scopes
2020-12-30 18:19:38 +08:00
lj176172
b52fc09fd6
lint code
2020-12-30 14:13:27 +08:00
lj176172
062c906e95
rebase master
2020-12-30 14:08:54 +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
Jianbo Sun and GitHub
a7f823940c
Merge pull request #832 from wonderflow/application
...
refactor application object to have basic schema
2020-12-29 17:11:35 +08:00
天元
3a47d5de73
refactor application object to have more strict schema
2020-12-29 15:48:32 +08:00
zzxwill
509895511b
Expend column width for "vela workloads/traits"
...
Expended column width for `vela workloads/traits` and also
shortened the description for all workloads and traits.
Fixed a tiny issue in hack/reference/generate.go
To fix issue #827
2020-12-28 20:57:22 +08:00