feat:CN-1522 插件管理界面与接口调试
This commit is contained in:
@@ -44,10 +44,10 @@ export const api = {
|
||||
updateKnowledgeUrl: apiVersion + '/knowledgeBase/items/batch',
|
||||
knowledgeBaseLog: apiVersion + '/knowledgeBase/audit/log',
|
||||
knowledgeBaseTimedistribution: apiVersion + '/knowledgeBase/{{knowledgeId}}/{{type}}/timedistribution',
|
||||
//插件
|
||||
// 插件
|
||||
pluginList: apiVersion + '/plugin/intelligence-learning/list',
|
||||
pluginStatusEnable: apiVersion + '/plugin/intelligence-learning/{id}/start',
|
||||
pluginStatusDisable: apiVersion + '/plugin/intelligence-learning/{id}/stop',
|
||||
pluginStatusEnable: apiVersion + '/plugin/intelligence-learning/{{id}}/start',
|
||||
pluginStatusDisable: apiVersion + '/plugin/intelligence-learning/{{id}}/stop',
|
||||
|
||||
// 报告相关
|
||||
reportJob: '/report/job',
|
||||
|
||||
@@ -465,6 +465,10 @@ export const knowledgeSourceValue = {
|
||||
appTag: 'cn_app_tag_user_defined'
|
||||
}
|
||||
|
||||
export const pluginSchedule = {
|
||||
always: 'plugin.always'
|
||||
}
|
||||
|
||||
export const knowledgeBaseSource = [
|
||||
{
|
||||
name: 'FQDN Category',
|
||||
@@ -1881,6 +1885,23 @@ export const performanceMetricMapping = {
|
||||
'high dns response time': 'DNS Response Latency'
|
||||
}
|
||||
|
||||
export const pluginBasicInfo = [
|
||||
{
|
||||
id: 108,
|
||||
name: '',
|
||||
type: '',
|
||||
desc: '',
|
||||
iconUrl: ''
|
||||
},
|
||||
{
|
||||
id: 109,
|
||||
name: 'Psiphon3 VPN',
|
||||
type: 'ip',
|
||||
desc: 'knowledgeBase.desc.psiphon3',
|
||||
iconUrl: 'images/knowledge-base-logo/psiphon3-vpn.png'
|
||||
}
|
||||
]
|
||||
|
||||
export const builtInKnowledgeBaseBasicInfo = [
|
||||
{
|
||||
knowledgeId: 10,
|
||||
|
||||
Reference in New Issue
Block a user