refactor(web): 关闭debug
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
# @host = 132.126.207.130
|
||||||
@host = 132.122.116.142
|
@host = 132.122.116.142
|
||||||
@port = 35690
|
@port = 35690
|
||||||
@username = AxhEbscwsJDbYMH2
|
@username = AxhEbscwsJDbYMH2
|
||||||
@@ -6,6 +7,7 @@
|
|||||||
@queue-url = {{url}}/hudi_services/queue
|
@queue-url = {{url}}/hudi_services/queue
|
||||||
@scheduler-url = {{url}}/hudi_services/service_scheduler
|
@scheduler-url = {{url}}/hudi_services/service_scheduler
|
||||||
@web-url = {{url}}/hudi_services/service_web
|
@web-url = {{url}}/hudi_services/service_web
|
||||||
|
@services-url = {{url}}/hudi_services/service_cloud_query
|
||||||
|
|
||||||
### 队列名称
|
### 队列名称
|
||||||
GET {{queue-url}}/queue/names
|
GET {{queue-url}}/queue/names
|
||||||
@@ -49,7 +51,7 @@ GET http://{{username}}:{{password}}@132.122.116.146:18166/info/compaction_metri
|
|||||||
GET http://{{username}}:{{password}}@132.122.116.150:27510/table/list_compaction_metrics?search_flink_job_id=1542097996099055616&search_alias=acct_acct_item_fs
|
GET http://{{username}}:{{password}}@132.122.116.150:27510/table/list_compaction_metrics?search_flink_job_id=1542097996099055616&search_alias=acct_acct_item_fs
|
||||||
|
|
||||||
### Query Scheduler
|
### Query Scheduler
|
||||||
GET {{scheduler-url}}/schedule/all_focus
|
GET {{scheduler-url}}/schedule/all_un_scheduled
|
||||||
|
|
||||||
### schedule table
|
### schedule table
|
||||||
GET {{scheduler-url}}/schedule/table?flink_job_id=1542097993246928896&alias=crm_order_ord_prod_inst_attr_his_b
|
GET {{scheduler-url}}/schedule/table?flink_job_id=1542097993246928896&alias=crm_order_ord_prod_inst_attr_his_b
|
||||||
@@ -68,3 +70,6 @@ GET http://132.122.116.149:35680/api/message_id?flink_job_id=1542097984132706304
|
|||||||
|
|
||||||
### Deploy plan
|
### Deploy plan
|
||||||
GET {{web-url}}/cloud/deploy_plan
|
GET {{web-url}}/cloud/deploy_plan
|
||||||
|
|
||||||
|
### Get info query services
|
||||||
|
GET {{services-url}}/cloud/services?service_name=center-gateway-new
|
||||||
|
|||||||
@@ -2,6 +2,60 @@ function toolTab() {
|
|||||||
return {
|
return {
|
||||||
title: `小工具`,
|
title: `小工具`,
|
||||||
tab: [
|
tab: [
|
||||||
|
{
|
||||||
|
type: 'panel',
|
||||||
|
title: '乱七八糟小工具',
|
||||||
|
body: [
|
||||||
|
{
|
||||||
|
type: 'action',
|
||||||
|
label: 'SQL日志',
|
||||||
|
actionType: 'dialog',
|
||||||
|
dialog: {
|
||||||
|
title: '日志',
|
||||||
|
...readOnlyDialogOptions(),
|
||||||
|
size: 'lg',
|
||||||
|
body: {
|
||||||
|
type: 'crud',
|
||||||
|
api: '${base}/log/query_sql_log',
|
||||||
|
...crudCommonOptions(),
|
||||||
|
loadDataOnce: true,
|
||||||
|
perPage: 50,
|
||||||
|
headerToolbar: [
|
||||||
|
"reload",
|
||||||
|
paginationCommonOptions(undefined, 10),
|
||||||
|
],
|
||||||
|
footerToolbar: [
|
||||||
|
paginationCommonOptions(undefined, 10),
|
||||||
|
],
|
||||||
|
columns: [
|
||||||
|
{
|
||||||
|
name: 'sql',
|
||||||
|
label: 'SQL',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'createTime',
|
||||||
|
label: '执行时间',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: 'action',
|
||||||
|
label: 'ZK节点',
|
||||||
|
className: 'ml-2',
|
||||||
|
actionType: 'dialog',
|
||||||
|
dialog: {
|
||||||
|
title: '日志',
|
||||||
|
...readOnlyDialogOptions(),
|
||||||
|
size: 'lg',
|
||||||
|
body: {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
type: 'form',
|
type: 'form',
|
||||||
title: '查询时间线',
|
title: '查询时间线',
|
||||||
@@ -158,46 +212,6 @@ function toolTab() {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
type: 'panel',
|
|
||||||
title: 'SQL日志',
|
|
||||||
body: [
|
|
||||||
{
|
|
||||||
type: 'action',
|
|
||||||
label: '查看',
|
|
||||||
actionType: 'dialog',
|
|
||||||
dialog: {
|
|
||||||
title: '日志',
|
|
||||||
...readOnlyDialogOptions(),
|
|
||||||
size: 'lg',
|
|
||||||
body: {
|
|
||||||
type: 'crud',
|
|
||||||
api: '${base}/log/query_sql_log',
|
|
||||||
...crudCommonOptions(),
|
|
||||||
loadDataOnce: true,
|
|
||||||
perPage: 50,
|
|
||||||
headerToolbar: [
|
|
||||||
"reload",
|
|
||||||
paginationCommonOptions(undefined, 10),
|
|
||||||
],
|
|
||||||
footerToolbar: [
|
|
||||||
paginationCommonOptions(undefined, 10),
|
|
||||||
],
|
|
||||||
columns: [
|
|
||||||
{
|
|
||||||
name: 'sql',
|
|
||||||
label: 'SQL',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'createTime',
|
|
||||||
label: '执行时间',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
let debug = true
|
let debug = false
|
||||||
let server = amis.embed(
|
let server = amis.embed(
|
||||||
'#root',
|
'#root',
|
||||||
amisJSON,
|
amisJSON,
|
||||||
|
|||||||
Reference in New Issue
Block a user