Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D Document
  • Project information
    • Project information
    • Activity
    • Members
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Wiki
    • Wiki
  • Activity
Collapse sidebar
  • SRP_MobileAPP_FrameworkSRP_MobileAPP_Framework
  • Document
  • Wiki
  • Manual
  • sampleAPM

sampleAPM · Changes

Page history
add new sample authored Aug 20, 2019 by Yuying.Lo's avatar Yuying.Lo
Show whitespace changes
Inline Side-by-side
manual/sampleAPM.md 0 → 100644
View page @ b525c704
```javascript
{
"language": [
"en",
"zh_cn",
"zh_tw"
],
"login": {
"type": "SSO",
"SSO": {
"serverDomainTitle": "APM IP",
"serverDomainTransform": [{
"type": "replace",
"oldString": "portal-",
"newString": "api-",
"at": 1
}],
"signIn": {
"title": "Sign in to APM",
"type": "api",
"api": {
"type": "http",
"method": "post",
"header": [
{
"field": "Content-Type",
"value": "application/json"
},
{
"field": "tenantId",
"value": "12"
}
],
"base": "$serverDomain",
"url": "/auth/login"
}
},
"forgetPassword": {
"type": "api",
"api": {
"type": "http",
"method": "get",
"base": "$serverDomain",
"url": "/auth/forgetpwd"
}
},
"signUp": {
"type": "api",
"api": {
"type": "http",
"method": "post",
"base": "$serverDomain",
"url": "/auth/register"
}
}
}
},
"mainPage": {
"type": "tab",
"tab": [
{
"type": "event",
"config": {
"type": "event",
"event": {
"type": "api",
"title": {
"en": "Event",
"zh_cn": "事件",
"zh_tw": "事件"
},
"api": {
"type": "http",
"method": "get",
"base": "$serverDomain",
"url": "/all/hist/event"
},
"filter": {
"level": [
{
"title": "Critical",
"value": "Critical",
"color": "red"
},
{
"title": "Warning",
"value": "Warning",
"color": "orange"
}
]
}
}
}
},
{
"type": "dashboard",
"config": {
"type": "dashboard",
"dashboard": {
"dashboardDomain": {
"type": "groupApi",
"groupApi": {
"type": "http",
"method": "get",
"base": "$serverDomain",
"url": "/all/topo/dashboard"
}
},
"dashboardMenu": {
"type": "srpFrame",
"srpFrame": {
"org": true,
"frame": true,
"menu": false
}
}
}
}
},
{
"type": "setting",
"config": {
"type": "setting",
"setting": {
"type": "static",
"account": {
"type": "api",
"api": {
"type": "http",
"method": "get",
"url": "/auth/user/myself",
"base": "$serverDomain"
}
},
"about": {
"privatePolicy": {
"type": "url",
"url": "https://www.advantech.tw/legal/privacy"
}
},
"logout": {
"type": "api",
"api": {
"type": "http",
"method": "delete",
"url": "/auth/loginout",
"base": "$serverDomain"
}
}
}
}
}
]
}
}
```
\ No newline at end of file
Clone repository
  • SDS
    • SDS
    • tab
      • dashboard
        • api
          • changeDashboard
          • changeDashboardControllerStatus
          • closeDialog
          • getDashboardDomain
          • getDashboardMenu
          • openDialog
        • dashboard
  • Home
  • manual
    • Home
    • image
      • icon
        • ios
          • appIconIos
      • launch
        • ios
          • appLaunchIos
    • jsInterfaceSetting
    • sample
    • sampleAPM
View All Pages