Skip to content

Commit

Permalink
chore:audit record retention configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
taolx0 committed May 16, 2024
1 parent 82491bc commit dd0179d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions sqle/api/controller/v1/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ type UpdateSystemVariablesReqV1 struct {
WorkflowExpiredHours *int `json:"workflow_expired_hours" form:"workflow_expired_hours" example:"720"`
Url *string `json:"url" form:"url" example:"http://10.186.61.32:8080" validate:"url"`
OperationRecordExpiredHours *int `json:"operation_record_expired_hours" form:"operation_record_expired_hours" example:"2160"`
AuditLogsExpiredHours *int `json:"audit_logs_expired_hours" form:"audit_logs_expired_hours" example:"2160"`
CbOperationLogsExpiredHours *int `json:"cb_operation_logs_expired_hours" form:"cb_operation_logs_expired_hours" example:"2160"`
}

// @Summary 修改系统变量
Expand Down Expand Up @@ -140,7 +140,7 @@ type SystemVariablesResV1 struct {
WorkflowExpiredHours int `json:"workflow_expired_hours"`
Url string `json:"url"`
OperationRecordExpiredHours int `json:"operation_record_expired_hours"`
AuditLogsExpiredHours int `json:"audit_logs_expired_hours"`
CbOperationLogsExpiredHours int `json:"cb_operation_logs_expired_hours"`
}

// @Summary 获取系统变量
Expand Down
4 changes: 2 additions & 2 deletions sqle/docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -12423,7 +12423,7 @@ var doc = `{
"v1.SystemVariablesResV1": {
"type": "object",
"properties": {
"audit_logs_expired_hours": {
"cb_operation_logs_expired_hours": {
"type": "integer"
},
"operation_record_expired_hours": {
Expand Down Expand Up @@ -12911,7 +12911,7 @@ var doc = `{
"v1.UpdateSystemVariablesReqV1": {
"type": "object",
"properties": {
"audit_logs_expired_hours": {
"cb_operation_logs_expired_hours": {
"type": "integer",
"example": 2160
},
Expand Down
4 changes: 2 additions & 2 deletions sqle/docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -12407,7 +12407,7 @@
"v1.SystemVariablesResV1": {
"type": "object",
"properties": {
"audit_logs_expired_hours": {
"cb_operation_logs_expired_hours": {
"type": "integer"
},
"operation_record_expired_hours": {
Expand Down Expand Up @@ -12895,7 +12895,7 @@
"v1.UpdateSystemVariablesReqV1": {
"type": "object",
"properties": {
"audit_logs_expired_hours": {
"cb_operation_logs_expired_hours": {
"type": "integer",
"example": 2160
},
Expand Down
4 changes: 2 additions & 2 deletions sqle/docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2820,7 +2820,7 @@ definitions:
type: object
v1.SystemVariablesResV1:
properties:
audit_logs_expired_hours:
cb_operation_logs_expired_hours:
type: integer
operation_record_expired_hours:
type: integer
Expand Down Expand Up @@ -3149,7 +3149,7 @@ definitions:
type: object
v1.UpdateSystemVariablesReqV1:
properties:
audit_logs_expired_hours:
cb_operation_logs_expired_hours:
example: 2160
type: integer
operation_record_expired_hours:
Expand Down

0 comments on commit dd0179d

Please sign in to comment.