Commit Graph

145 Commits

Author SHA1 Message Date
Sun Jianbo
7232509f26 Merge pull request #238 from cloud-native-application/add-helm-chart
Add Vela core helm chart
2020-09-03 18:42:38 +08:00
guoxudong
659f65cfb4 fix app ls example 2020-09-03 15:04:13 +08:00
boris
dc417f53d2 add remove cap center cli and api (#237)
* add remove cap center cli

* add delete cap center api

* doc: capability center delete api

* test: capability center delete e2e
2020-09-03 14:52:09 +08:00
Ryan Zhang
8597a122fb add manual test for containerized and metricsTrait 2020-09-02 21:16:44 -07:00
wenxin
4e887d0b04 sort application list in inverse order of created time. 2020-09-02 14:20:07 +08:00
Ryan Zhang
fe05ee22de manually verified 2020-09-01 22:11:16 -07:00
85589661@qq.com
522feef5b9 Delete an application 2020-08-31 18:37:34 +08:00
Vec
a31a7f204f add a line break for 'vela xxx show' commands 2020-08-30 16:37:56 +08:00
Ryan Zhang
92f112fd66 add definition files 2020-08-28 23:43:34 -07:00
Ryan Zhang
7867d3c258 add webhooks 2020-08-28 19:37:23 -07:00
Ryan Zhang
0103ca1d35 containerized controler 2020-08-28 11:43:43 -07:00
Ryan Zhang
f87b88d8b2 add containerized workload 2020-08-28 11:43:42 -07:00
zzxwill
af227117ab add help group setting 2020-08-28 11:16:25 +08:00
zzxwill
1845f70c3d Implement vela logs
Based on modifed `stern` project, tail logs of pods
of an application
2020-08-28 11:16:25 +08:00
天元
2cd27b4196 support scopes in appfile and make health scope as default 2020-08-27 19:32:00 +08:00
Sun Jianbo
4e86f0d916 Merge pull request #213 from cloud-native-application/import-controllers
bootstrap vela core
2020-08-27 16:01:20 +08:00
Ryan Zhang
c1e18f1b40 fix the test 2020-08-27 00:09:22 -07:00
天元
c23b61b2b2 update readme and beautiful help 2020-08-27 13:27:45 +08:00
Ryan Zhang
b5f34b17b7 fix build break 2020-08-26 22:05:08 -07:00
Ryan Zhang
291a9e628e add all the controllers 2020-08-26 21:52:51 -07:00
Ryan Zhang
2478c1a9ae add the metrics trait 2020-08-26 21:52:26 -07:00
Sun Jianbo
ef0d974c16 Merge pull request #209 from wonderflow/status
fix vela app delete
2020-08-27 11:35:00 +08:00
天元
210cbcc937 support vela comp ls 2020-08-27 11:21:13 +08:00
zzxwill
98dcf286ff API request parameter check for trait attach
check parameter `staging` before converting it
to bool and add logs
2020-08-26 16:17:12 +08:00
天元
eb693ed74a fix vela app delete 2020-08-26 16:10:04 +08:00
天元
2042de2484 add vela comp ls 2020-08-25 16:13:35 +08:00
Zheng Xi Zhou
4fea3e9cf9 Implement API trait attach/detach, application get, capability center add/sync/list and fix detach issue (#187)
* implemented trait attach, get application

* implemented API for trait detach and fix trait detach issue

* implemeted API add/sync/list capability center

* implemented API capability add/remove/list

* update test-cases according to new cli style

* merge two ginkgo describe to one as in github environment ginkgo does NOT follow the order of describes

* merge two ginkgo describe to one as in github environment ginkgo does NOT follow the order of describes
2020-08-25 10:14:18 +08:00
天元
40da5a1961 use unix command style and refactor to new design 2020-08-24 19:04:04 +08:00
mosesyou
34c33ceb07 fix cap:center:config panic 2020-08-24 10:22:31 +08:00
Zheng Xi Zhou
0f9b5d2ecb Merge pull request #183 from zzxwill/api-trait
Implement API for listing/getting workloads/traits
2020-08-21 13:57:09 +08:00
zzxwill
f5de722768 add Get single capability instead of changing the arguments of listing capabilities 2020-08-21 11:30:51 +08:00
mosesyou
6c892b4cf8 add list all capability centers cli 2020-08-20 19:42:55 +08:00
zzxwill
5cb3528045 Implment API for listing/getting workloads/traits
implemented getting and listing traitsdefinition,
getting a workloaddefinitions
2020-08-20 18:10:58 +08:00
Sun Jianbo
6370ecdc8d Merge pull request #179 from mosesyou/bugfix-env
fix not existed env successfully deleted
2020-08-20 10:31:21 +08:00
mosesyou
ed0141d65c fix not existed env successfully deleted 2020-08-20 10:11:29 +08:00
zzxwill
9e13078334 Implement listing WorkloadDefinitions API
implemented the API to list workloaddefinitions with
the workloadtype name and all its parameters
2020-08-19 22:39:53 +08:00
zzxwill
59a7a96cae fix build issue and check err 2020-08-19 18:23:53 +08:00
zzxwill
657cb91db3 Implement Workload Run API
implemented workload run api and write e2e test
cases for workload run cli and API
2020-08-19 18:17:47 +08:00
mosesyou
579d5c667d add flag --app for app:ls 2020-08-19 15:48:23 +08:00
zzxwill
27cd1908ef Fix api response for error cases
when hitting issue, the response struct should be the same as
normal response as below.
```
type Response struct {
	Code int         `json:"code"`
	Data interface{} `json:"data"`
}
```
Fix #169
2020-08-18 19:48:31 +08:00
Zheng Xi Zhou
79d3d3c446 Implement env APIs (#164)
* Implement API `api/envs/default/apps/

implement API `api/envs/default/apps/ and refactor code

* address comments from @wonderflow and @ryan

* fix code rebase issue

* Implement env APIs

implemented APIs for env and make api-test
and e2e-setup

* fix ci issues

* address comments
2020-08-18 18:15:28 +08:00
Zheng Xi Zhou
3916d2d83f Implement API `api/envs/default/apps/ (#147)
* Implement API `api/envs/default/apps/

implement API `api/envs/default/apps/ and refactor code

* address comments from @wonderflow and @ryan

* fix code rebase issue

* temporary comment BeforeSuite in integration/integration_suite_test.go to fix make issue
2020-08-17 11:01:31 +08:00
天元
fb73e27de3 fix e2e test 2020-08-14 15:51:51 +08:00
天元
0b6fd6a981 fix appfile update 2020-08-14 15:21:32 +08:00
天元
8910384946 minor fixes 2020-08-14 12:47:14 +08:00
Zheng Xi Zhou
9cbb3b4abe Apply builtin definition in system:init (#132)
* Apply builtin definition in system:init

Fix builtin definitions not installed issue

* install builtin definitions

* fix OAM runtime installation issue and refactor e2e

* fix e2e build issue

* manually install oam runtime and builtin capabilities

* remove system:init from e2e test
2020-08-14 09:50:16 +08:00
Sun Jianbo
1993c94666 Merge pull request #145 from wonderflow/stage
implement appfile oriented multiple OAM Application orchestration
2020-08-13 18:12:52 +08:00
天元
2caf373b53 support app:run 2020-08-13 18:05:49 +08:00
Sun Jianbo
6c9d4ce4a0 Merge pull request #148 from cloud-native-application/server-integration-test
add integration test for RESTful server
2020-08-13 17:10:38 +08:00
天元
9ea02adf2f implement appfile oriented OAM Application run 2020-08-13 14:13:22 +08:00