@daocloud-proto/skoala 0.35.1-8 → 0.35.2-10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,6 +15,13 @@ type OneOf<T> =
15
15
  : never)
16
16
  : never);
17
17
 
18
+ export enum LogType {
19
+ ALL_LOG = "ALL_LOG",
20
+ ACCESS_LOG = "ACCESS_LOG",
21
+ DEBUG_LOG = "DEBUG_LOG",
22
+ }
23
+
24
+
18
25
  type BaseSearchLogReq = {
19
26
  workspaceId?: string
20
27
  gatewayName?: string
@@ -27,6 +34,8 @@ type BaseSearchLogReq = {
27
34
  startTime?: string
28
35
  endTime?: string
29
36
  sortOrder?: SortOrder
37
+ apiName?: string
38
+ logType?: LogType
30
39
  page?: number
31
40
  pageSize?: number
32
41
  }
@@ -74,4 +83,6 @@ export type LogResult = {
74
83
  gatewayNamespaceName?: string
75
84
  responseEndTime?: string
76
85
  json?: string
86
+ apiName?: string
87
+ logType?: LogType
77
88
  }
@@ -111,6 +111,7 @@ export type Nacos = {
111
111
  certificationEnabled?: boolean
112
112
  volume?: Volume
113
113
  createAt?: string
114
+ jvmPercentage?: number
114
115
  insight?: SkoalaApiGeneralV1alpha1Insight.NacosInsightMetrics
115
116
  clusterPhase?: SkoalaApiGeneralV1alpha1Common.ClusterPhase
116
117
  workloadState?: SkoalaApiGeneralV1alpha1Common.WorkloadState
@@ -194,6 +195,7 @@ export type NacosConfig = {
194
195
  volume?: Volume
195
196
  insightEnabled?: boolean
196
197
  certificationEnabled?: boolean
198
+ jvmPercentage?: number
197
199
  }
198
200
 
199
201
  export type Volume = {
@@ -119,4 +119,26 @@ export type Lock = {
119
119
  rowKey?: string
120
120
  gmtCreate?: string
121
121
  gmtModified?: string
122
+ }
123
+
124
+ export type ExceptionItem = {
125
+ name?: string
126
+ cluster?: string
127
+ namespace?: string
128
+ reason?: string
129
+ }
130
+
131
+ export type Exception = {
132
+ items?: ExceptionItem[]
133
+ pagination?: SkoalaApiGeneralV1alpha1Common.Pagination
134
+ }
135
+
136
+ export type ListStatsSeataReq = {
137
+ workspaceId?: string
138
+ page?: number
139
+ pageSize?: number
140
+ }
141
+
142
+ export type ListStatsSeataRes = {
143
+ exception?: Exception
122
144
  }
@@ -442,6 +442,9 @@ export class Statics {
442
442
  static GetStaticsRegistry(req: SkoalaApiHostedV1alpha1Sentinel.GetStaticsRegistryReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Sentinel.GetStaticsRegistryRes> {
443
443
  return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.GetStaticsRegistryReq, SkoalaApiHostedV1alpha1Sentinel.GetStaticsRegistryRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/statics/registries?${fm.renderURLSearchParams(req, ["workspaceId"])}`, {...initReq, method: "GET"})
444
444
  }
445
+ static ListStatsSeata(req: SkoalaApiHostedV1alpha1Seata.ListStatsSeataReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Seata.ListStatsSeataRes> {
446
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Seata.ListStatsSeataReq, SkoalaApiHostedV1alpha1Seata.ListStatsSeataRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/stats/seatas?${fm.renderURLSearchParams(req, ["workspaceId"])}`, {...initReq, method: "GET"})
447
+ }
445
448
  static ListTop10RegSrv(req: SkoalaApiHostedV1alpha1Sentinel.ListTop10RegSrvReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Sentinel.ListTop10RegSrvRes> {
446
449
  return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.ListTop10RegSrvReq, SkoalaApiHostedV1alpha1Sentinel.ListTop10RegSrvRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/statics/registries/services?${fm.renderURLSearchParams(req, ["workspaceId"])}`, {...initReq, method: "GET"})
447
450
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/skoala",
3
- "version": "0.35.1-8",
3
+ "version": "0.35.2-10",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {