Commit Graph

111 Commits

Author SHA1 Message Date
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
天元
210cbcc937 support vela comp ls 2020-08-27 11:21:13 +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
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
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
天元
2caf373b53 support app:run 2020-08-13 18:05:49 +08:00
天元
9ea02adf2f implement appfile oriented OAM Application run 2020-08-13 14:13:22 +08:00
Sun Jianbo
30516c98b5 Merge pull request #144 from wonderflow/plugin
support vela cap:remove
2020-08-12 17:16:22 +08:00
Sun Jianbo
93e6e720d1 Merge pull request #142 from sunny0826/fix-ls
fixed some err in print info
2020-08-12 17:11:14 +08:00
天元
1baa6a09d1 support vela cap:remove 2020-08-12 17:08:14 +08:00
guoxudong
f084f81a1d fixed some err in print info
Signed-off-by: guoxudong <sunnydog0826@gmail.com>
2020-08-12 15:05:46 +08:00
天元
df2ad85c9c do some refactor for code as we change addon to capability 2020-08-12 13:37:20 +08:00
天元
a8aa5c6b20 rename addon to capability 2020-08-12 13:31:32 +08:00
天元
09929c0a66 fix vela:ls install status 2020-08-12 13:31:32 +08:00
天元
2f94c17890 support vela addon:install 2020-08-12 13:31:31 +08:00
天元
ae4ae3fff6 instal yaml for plugin 2020-08-12 13:31:31 +08:00
天元
0174305213 fix addon add and list 2020-08-12 13:31:30 +08:00
Zheng Xi Zhou
a5b3ed93dd Fix app:status issue (#140)
* Show trait type in `app:ls`

Use trait type instead of its name in application list.
Fix app:status issue and refactor code
Fix #90

* followed comments to move some basic traits related functions to system.go

* Fix app:status issue

When the ApplicationConfiguration status haven't shown up,
it will hit an issue.
2020-08-11 17:38:34 +08:00
Zheng Xi Zhou
8b7f2e1a6e Show trait type in app:ls (#136)
* Show trait type in `app:ls`

Use trait type instead of its name in application list.
Fix app:status issue and refactor code
Fix #90

* Update pkg/cmd/status.go

Co-authored-by: Sun Jianbo <wonderflow.sun@gmail.com>

* followed comments to move some basic traits related functions to system.go

Co-authored-by: Sun Jianbo <wonderflow.sun@gmail.com>
2020-08-11 15:14:14 +08:00
guoxudong
5c46477523 Fix failure of bash autocomplete script (#135)
* fix auto-completion

Signed-off-by: guoxudong <sunnydog0826@gmail.com>
2020-08-11 12:20:14 +08:00
Sun Jianbo
69c1044d00 Merge pull request #69 from zzxwill/e2e
add e2e framework sample
2020-08-10 17:30:07 +08:00
zzxwill
5ffe9e2ce5 Temporarily fix oam kubernetes runtime CRD issue
after PR https://github.com/crossplane/oam-kubernetes-runtime/pull/162
is merged, this workround should be removed
2020-08-10 10:17:22 +08:00
天元
2a37a6dda7 add addon:update and refactor addon code 2020-08-10 00:08:49 +08:00
天元
6c1ad6c516 fix vela system:init info 2020-08-09 18:34:01 +08:00
erdun
78496b2035 tmp resolve 2020-08-08 01:35:34 +08:00
erdun
28042ed0b9 show command 2020-08-08 01:34:43 +08:00
天元
94a9b9f3c9 update readme and fix admin:init builtin resource 2020-08-07 23:48:51 +08:00
天元
9834ee23e2 pretty help 2020-08-07 23:39:45 +08:00
天元
41536fe2cd add refresh and use local cache instead request cluster every time 2020-08-07 19:56:46 +08:00
guoxudong
5cbd0bef98 add auto-completion command
Signed-off-by: guoxudong <sunnydog0826@gmail.com>
2020-08-07 17:08:24 +08:00
天元
93240b4ae6 make env help pretty 2020-08-07 16:38:23 +08:00
天元
772ea69fa2 remove kube flags 2020-08-07 15:08:35 +08:00