Commit Graph

1633 Commits

Author SHA1 Message Date
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
Sun Jianbo
a4aa4f5904 Merge pull request #210 from zzxwill/api-issue
API request parameter check for trait attach
2020-08-27 11:23:05 +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
Sun Jianbo
ea78bedda8 Merge pull request #208 from wonderflow/initkube
add kubebuilder framework back and import oam-k8s-runtime
2020-08-26 16:10:38 +08:00
天元
eb693ed74a fix vela app delete 2020-08-26 16:10:04 +08:00
天元
da1831efef add kubebuilder framework back and import oam-k8s-runtime 2020-08-26 15:38:52 +08:00
Sun Jianbo
3498e5d68a Merge pull request #202 from hanxie-crypto/master
Add trait part and capability part interface
2020-08-25 18:04:28 +08:00
hanxie
1810bad0b7 appdetail bugfix 2020-08-25 17:47:54 +08:00
hanxie
56ae6be4cb restore workspacedropdown 2020-08-25 17:29:48 +08:00
hanxie
5f62f7b8a2 remove workspacedropdown temp 2020-08-25 17:27:39 +08:00
hanxie
e3e3a79205 Add trait part and capability part interface 2020-08-25 17:11:33 +08:00
Sun Jianbo
bc5af86a54 Merge pull request #201 from wonderflow/compls
add vela comp ls
2020-08-25 16:29:30 +08:00
天元
2042de2484 add vela comp ls 2020-08-25 16:13:35 +08:00
Zheng Xi Zhou
8da6e93480 Refine CI build (#196)
* Refine CI build

remove vela binary build during e2e-test, instead
use the binary after make build

* update old command `vela system:init`
2020-08-25 16:08:16 +08:00
Sun Jianbo
62937e1eb0 Merge pull request #194 from zzxwill/cli-documentation
Add Restful API reference
2020-08-25 10:15:12 +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
wenxin
2a25b10874 Complete env page structure 2020-08-25 09:32:59 +08:00
zzxwill
d31bb40701 Add Restful API reference
added Restful API reference for dashboard development
and move cli docs to `documentation/cli`
2020-08-25 08:31:26 +08:00
Sun Jianbo
5942df5de9 Merge pull request #195 from wonderflow/style
use unix command style and refactor to new design
2020-08-24 20:38:19 +08:00
天元
40da5a1961 use unix command style and refactor to new design 2020-08-24 19:04:04 +08:00
Sun Jianbo
9efb1f60c7 Merge pull request #188 from mosesyou/bugfix-center-config
fix `cap:center:config` panic
2020-08-24 11:03:28 +08:00
mosesyou
34c33ceb07 fix cap:center:config panic 2020-08-24 10:22:31 +08:00
Zheng Xi Zhou
e34a7373d2 Merge pull request #185 from hanxie-crypto/master
Remove mock data
2020-08-21 19:28:41 +08:00
hanxie
a0cc32b04b Merge branch 'master' of https://github.com/hanxie-crypto/RudrX 2020-08-21 19:00:09 +08:00
hanxie
ed740a57b7 Update config file remove mock data 2020-08-21 18:59:59 +08:00
Zheng Xi Zhou
0b30c15ef9 Merge pull request #184 from hanxie-crypto/master
Update Capability static page docking with env and workload part of t…
2020-08-21 17:58:50 +08:00
hanxie
74103b3307 Merge branch 'master' into master 2020-08-21 17:56:12 +08:00
hanxie
da2f8a9a81 Update Capability static page docking with env and workload part of the interface 2020-08-21 17:49:26 +08:00
Zheng Xi Zhou
7e374d68fd Merge pull request #168 from hanxie-crypto/master
Update front-end project
2020-08-21 16:28:19 +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
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
hanxie
3146ea74c8 Merge branch 'master' of https://github.com/hanxie-crypto/RudrX 2020-08-18 18:06:07 +08:00
hanxie
22e6160a89 Add interface call 2020-08-18 18:04:53 +08:00