fix: docs
This commit is contained in:
BIN
docs/05-5GC OMC restful intefaces v1.01.pdf
Normal file
BIN
docs/05-5GC OMC restful intefaces v1.01.pdf
Normal file
Binary file not shown.
@@ -1769,6 +1769,66 @@ Example:
|
||||
}
|
||||
```
|
||||
|
||||
### 10.6 N3IWF在线用户信息
|
||||
|
||||
#### 10.6.1 查询N3IWF在线用户信息
|
||||
|
||||
说明:为了避免在线用户太多,N3IWF可做限制,如返回不超过100条
|
||||
|
||||
* Uri
|
||||
|
||||
```uri
|
||||
/api/rest/ueManagement/v1/elementType/n3iwf/objectType/ueInfo?imsi={imsi}&msisdn={msisdn}&neId={neId}
|
||||
```
|
||||
* Relations
|
||||
|
||||
OMC -> IMS
|
||||
* Params
|
||||
|
||||
* OMC-FE -> OMC-BE, neId={neId}, 指定IMS的neId
|
||||
* OMC -> IMS, imsi={imsi} ,可选,如果都不指定,则查询全部ueInfo
|
||||
* Method
|
||||
|
||||
GET
|
||||
* Body
|
||||
|
||||
NA
|
||||
* Return
|
||||
|
||||
```json
|
||||
// N3iwfUEInfo N3IWF在线用户信息
|
||||
type N3iwfUEInfo struct {
|
||||
IMSI string `json:"imsi"`
|
||||
|
||||
NAI string `json:"nai"`
|
||||
RegState int `json:"regState"`
|
||||
Activetime string `json:"activeTime"`
|
||||
}
|
||||
|
||||
type N3iwfUEData struct {
|
||||
Data []N3iwfUEInfo `json:"data"`
|
||||
}
|
||||
```
|
||||
|
||||
```json
|
||||
{
|
||||
"data": [
|
||||
{
|
||||
"imsi": "460000100000010",
|
||||
"nai": "",
|
||||
"regState": 1,
|
||||
"activeTime": "2023-07-11 18:26:46"
|
||||
},
|
||||
{
|
||||
"imsi": "460000100000011",
|
||||
"nai": "",
|
||||
"regState": 1,
|
||||
"activeTime": "2023-07-11 18:26:46"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
## 11 系统管理
|
||||
|
||||
### 11.1 OMC系统
|
||||
|
||||
BIN
docs/07-5GC OMC Database Diagrams v0.41.pdf
Normal file
BIN
docs/07-5GC OMC Database Diagrams v0.41.pdf
Normal file
Binary file not shown.
@@ -1,18 +1,7 @@
|
||||
## EMS Database
|
||||
## EMS Database
|
||||
|
||||
---
|
||||
|
||||
### 1. Diagram of OMC database
|
||||
|
||||
|
||||
### 1. Relationship of menu, account, account_menu, title_info
|
||||
|
||||
|
||||

|
||||
|
||||
通过多表联合查询可一次性获取某个账号的目录结果:
|
||||
|
||||
example, acouunt name='manager', lang-key='cn':
|
||||
|
||||
```sql
|
||||
SELECT m.id, json_unquote(json_extract(t.title_json, '$.en')) as title, m.parent_id, m.sort_id FROM title_info t, menu m WHERE m.id IN (SELECT am.menu_id FROM account_menu am WHERE am.account_id = (SELECT id FROM account WHERE name='manager')) AND m.title_id = t.id ORDER BY m.id
|
||||
```
|
||||

|
||||
|
||||
BIN
docs/image/07-5GCOMCDatabaseDiagrams/1700190137798.png
Normal file
BIN
docs/image/07-5GCOMCDatabaseDiagrams/1700190137798.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 965 KiB |
BIN
docs/omc_db.jpg
Normal file
BIN
docs/omc_db.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 965 KiB |
Reference in New Issue
Block a user