Commit Graph

200 Commits

Author SHA1 Message Date
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
Sun Jianbo
ef8beacea7 Merge pull request #182 from mosesyou/feature-cap-center-list
add list all capability centers cli
2020-08-20 21:16:42 +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
Sun Jianbo
58d5cc7059 Merge pull request #180 from zzxwill/api-workloaddef
Implement listing WorkloadDefinitions API
2020-08-20 10:12:00 +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
Sun Jianbo
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 Jianbo
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 Jianbo
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 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
Sun Jianbo
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 Jianbo
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 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
Sun Jianbo
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 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
Zheng Xi Zhou
7d6d4f97b8 Merge pull request #154 from hanxie-crypto/master
Initialize Dashboard folder for front-end
2020-08-14 00:36:15 +08:00
hanxie
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 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
Ryan Zhang
ffd7db9029 add integration test for RESTful server 2020-08-12 14:48:52 -07: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
Sun Jianbo
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 Zhou
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 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.
vela-v0.0.2-alpha
2020-08-11 17:38:34 +08:00