update
This commit is contained in:
parent
b708252681
commit
8cb0de8ab9
2
devcloud/audit/README.md
Normal file
2
devcloud/audit/README.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 操作审计
|
||||
|
2
devcloud/cmdb/README.md
Normal file
2
devcloud/cmdb/README.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 资源管理
|
||||
|
@ -22,6 +22,29 @@
|
||||
定义业务
|
||||
|
||||
|
||||
## 交付
|
||||
|
||||
1. API(可以把 其他API补充完成)
|
||||
2. 权限验证中间件(认证和鉴权)
|
||||
|
||||
```go
|
||||
ws.Route(ws.GET("").To(h.QueryUser).
|
||||
Doc("用户列表查询").
|
||||
Metadata(restfulspec.KeyOpenAPITags, tags).
|
||||
// 这个开关怎么生效
|
||||
// 中间件需求读取接口的描述信息,来决定是否需要认证
|
||||
Metadata(permission.Auth(true)).
|
||||
Metadata(permission.Permission(true)).
|
||||
Metadata(permission.Resource("user")).
|
||||
Metadata(permission.Action("list")).
|
||||
Param(restful.QueryParameter("page_size", "分页大小").DataType("integer")).
|
||||
Param(restful.QueryParameter("page_number", "页码").DataType("integer")).
|
||||
Writes(Set{}).
|
||||
Returns(200, "OK", Set{}))
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
5
devcloud/mpaas/README.md
Normal file
5
devcloud/mpaas/README.md
Normal file
@ -0,0 +1,5 @@
|
||||
# 应用发布系统
|
||||
|
||||
管理应用集群的状态和维护
|
||||
|
||||
基本概念 就是应用
|
1
devcloud/mpaas/apps/application/model.go
Normal file
1
devcloud/mpaas/apps/application/model.go
Normal file
@ -0,0 +1 @@
|
||||
package application
|
1
devcloud/mpaas/apps/registry.go
Normal file
1
devcloud/mpaas/apps/registry.go
Normal file
@ -0,0 +1 @@
|
||||
package apps
|
@ -1,21 +1,24 @@
|
||||
<mxfile host="65bd71144e">
|
||||
<diagram id="poUq6wZcfCQim5LskJLo" name="第 1 页">
|
||||
<mxGraphModel dx="830" dy="442" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
|
||||
<mxGraphModel dx="888" dy="339" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0"/>
|
||||
<mxCell id="1" parent="0"/>
|
||||
<mxCell id="2" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxCell id="2" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="60" y="40" width="690" height="390" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="3" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxCell id="3" value="项目管理" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="130" y="60" width="120" height="40" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="4" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxCell id="4" value="研发交付(Dev/Test/Pro)" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="280" y="60" width="120" height="40" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxCell id="5" value="应用维护<div>登录,更新, 告警处理</div>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="430" y="60" width="120" height="40" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="6" value="资源管理" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="570" y="60" width="120" height="40" as="geometry"/>
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
|
Loading…
x
Reference in New Issue
Block a user