Commit Graph
193 Commits
Author SHA1 Message Date
Sun JianboandGitHub 58d5cc7059 Merge pull request #180 from zzxwill/api-workloaddef
Implement listing WorkloadDefinitions API
2020-08-20 10:12:00 +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
Sun JianboandGitHub 1cf7e8cab9 Merge pull request #178 from zzxwill/api-app
Implement Workload Run API
2020-08-19 21:36:46 +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
Sun JianboandGitHub ae17dd3ffa Merge pull request #177 from mosesyou/dev-app
add flag `--app` for `app:ls`
2020-08-19 16:44:50 +08:00
mosesyou 579d5c667d add flag --app for app:ls 2020-08-19 15:48:23 +08:00
Sun JianboandGitHub 1a222658a5 Merge pull request #170 from zzxwill/api-error-response
Fix api response for error cases
2020-08-18 21:12:10 +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 ZhouandGitHub 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
Sun JianboandGitHub 978dd05cce Merge pull request #167 from cloud-native-application/wonderflow-patch-1
Update README.md
2020-08-18 17:13:42 +08:00
Sun Jianbo 442cb11415 Update README.md 2020-08-18 16:54:31 +08:00
Sun JianboandGitHub eb38931b02 Merge pull request #162 from zzxwill/cli-documentation
Add vela cli documentation
2020-08-17 13:28:31 +08:00
zzxwill 5e69557bca renaming file names to fix github README display 2020-08-17 13:12:43 +08:00
zzxwill 2f6fc442c3 Add vela cli documentation
This is use for 1) a first glance of vela command
and all sub commands 2) dashboard developers to look
function and parameters details
2020-08-17 11:32:37 +08:00
Zheng Xi ZhouandGitHub 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
Sun JianboandGitHub d5d94c5cc5 Merge pull request #156 from wonderflow/fix
minor fixes
2020-08-14 15:58:19 +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 ZhouandGitHub 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
Zheng Xi ZhouandGitHub 7d6d4f97b8 Merge pull request #154 from hanxie-crypto/master
Initialize Dashboard folder for front-end
2020-08-14 00:36:15 +08:00
hanxieandGitHub 7921acad32 Merge branch 'master' into master 2020-08-13 19:47:25 +08:00
hanxie cdde7b0ebc Initialize Dashboard folder for front-end 2020-08-13 19:25:12 +08:00
Sun JianboandGitHub 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 JianboandGitHub 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
Ryan Zhang ffd7db9029 add integration test for RESTful server 2020-08-12 14:48:52 -07:00
Sun JianboandGitHub 30516c98b5 Merge pull request #144 from wonderflow/plugin
support vela cap:remove
2020-08-12 17:16:22 +08:00
Sun JianboandGitHub 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
Sun JianboandGitHub 714727d9a1 Merge pull request #141 from wonderflow/plugin
fix addon add and list
2020-08-12 13:47:50 +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 ZhouandGitHub 85c0f93bb3 Merge pull request #137 from cloud-native-application/gin-route
RESTful framework
2020-08-12 12:10:02 +08:00
Ryan Zhang b8ef48f728 working version of the RESTful server with samples 2020-08-11 20:45:02 -07:00
Zheng Xi ZhouandGitHub 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.
vela-v0.0.2-alpha
2020-08-11 17:38:34 +08:00
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
Ryan Zhang 06ed5e4cc1 RESTful framework 2020-08-10 22:53:44 -07:00
guoxudongandGitHub 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 JianboandGitHub 69c1044d00 Merge pull request #69 from zzxwill/e2e
add e2e framework sample
2020-08-10 17:30:07 +08:00
Sun JianboandGitHub da38ff11eb Merge pull request #130 from zzxwill/fix-overriden-help
Fix help message overridden issue
2020-08-10 17:21:49 +08:00
zzxwill 7d3d6c02eb Fix help message overridden issue
Help message of all subcommands are overridden by
root command. Fix issue #124, #127
2020-08-10 16:23:07 +08:00
Sun JianboandGitHub 18b5d274e8 Merge pull request #123 from zzxwill/refine-docs
Fix typo
2020-08-10 14:11:42 +08:00