|
|
|
@ -7,7 +7,7 @@ export class DecisionApi implements Api {
|
|
|
|
|
isDec = true; |
|
|
|
|
|
|
|
|
|
getConnectionlist(): Promise<{data?: Connection[]}> { |
|
|
|
|
return requestGet('list'); |
|
|
|
|
return requestGet('list', {}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
deleteConnection(connectionName: string) { |
|
|
|
@ -45,7 +45,7 @@ export class DecisionApi implements Api {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
getConnectionPool(name: string): Promise<{data?: ConnectionPoolType}> { |
|
|
|
|
return requestGet(`pool/info?connectionName=${name}`); |
|
|
|
|
return requestGet(`pool/info?connectionName=${BI.encodeURIComponent(name)}`, {}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
getConnectionStatus(name: string): Promise<SocketResult> { |
|
|
|
|