Browse Source

Configure Continuous Integration ....

master
hypaas 7 months ago
parent
commit
a09b694132
  1. 5
      modules/test/src/main/resources/domains/LogConfig.xml
  2. 2
      modules/test/src/main/resources/views/ServiceUserLogBackup-grid.xml
  3. 2
      modules/test/src/main/resources/views/SystemManageUserBackup-grid.xml
  4. 1
      src/main/resources/application.properties

5
modules/test/src/main/resources/domains/LogConfig.xml

@ -4,7 +4,7 @@
<entity hashAll="false" logUpdates="true" persistable="true" name="LogConfig" cacheable="false" lang="java" strategy="SINGLE" table="sys_log_config">
<string actOverwrite="false" title="日志起始时间" copy="true" massUpdate="false" name="logStartTime" isJudg="false"/>
<string actOverwrite="false" title="日志结束时间" copy="true" massUpdate="false" name="logEndTime" isJudg="false"/>
<string actOverwrite="false" title="备份大小" copy="true" massUpdate="false" name="thresholdSize" isJudg="false"/>
<string actOverwrite="false" title="系统管理员备份大小" copy="true" massUpdate="false" name="thresholdSystemManageUserSize" isJudg="false"/>
<enum title="日志状态" massUpdate="false" ref="module.LogStatus" name="status" copy="true"/>
<string actOverwrite="false" title="备份时间" copy="true" massUpdate="false" name="backupTime" isJudg="false"/>
<string actOverwrite="false" title="记录类型" copy="true" massUpdate="false" name="recordType" isJudg="false"/>
@ -12,5 +12,8 @@
<integer actOverwrite="false" title="备份周期" copy="true" massUpdate="false" name="backupCycle" isJudg="false"/>
<string actOverwrite="false" title="备份开始日期" copy="true" massUpdate="false" name="backupStartTime" isJudg="false"/>
<string actOverwrite="false" title="文件路径" copy="true" massUpdate="false" name="filePath" isJudg="false"/>
<string actOverwrite="false" title="安全保密员备份大小" copy="true" massUpdate="false" name="thresholdSecurityUserSize" isJudg="false"/>
<string actOverwrite="false" title="安全审计员备份大小" copy="true" massUpdate="false" name="thresholdSecurityAuditUserSize" isJudg="false"/>
<string actOverwrite="false" title="业务用户备份大小" copy="true" massUpdate="false" name="thresholdServiceUserSize" isJudg="false"/>
</entity>
</domain-models>

2
modules/test/src/main/resources/views/ServiceUserLogBackup-grid.xml

@ -3,7 +3,7 @@
<grid canEdit="false" canNew="false" title="业务用户日志备份" model="Log.LogConfig" canDelete="false" edit-icon="false" canArchive="false" freeSearch="all" name="ServiceUserLogBackup-grid" width="large">
<field search-field="true" canSuggest="true" name="logStartTime" title="日志起始时间"/>
<field search-field="true" canSuggest="true" name="logEndTime" title="日志结束时间"/>
<field name="thresholdSize" title="备份大小"/>
<field search-field="true" canSuggest="true" name="thresholdServiceUserSize" title="备份大小"/>
<field search-field="true" canSuggest="true" name="status" title="日志状态"/>
<field search-field="true" canSuggest="true" name="backupTime" title="备份时间"/>
<button onClick="action.method.system.logBackup" icon="fa-edit" title="备份" showIf="status=='backupFail'" name="备份"/>

2
modules/test/src/main/resources/views/SystemManageUserBackup-grid.xml

@ -3,8 +3,8 @@
<grid canEdit="false" canNew="false" title="系统管理员日志备份" model="Log.LogConfig" canDelete="false" edit-icon="false" canArchive="false" freeSearch="all" name="SystemManageUserBackup-grid" width="large">
<field name="logStartTime" title="日志起始时间"/>
<field name="logEndTime" title="日志结束时间"/>
<field name="thresholdSize" title="备份大小"/>
<field name="status" title="日志状态"/>
<field search-field="true" canSuggest="true" name="thresholdSystemManageUserSize" title="备份大小"/>
<field search-field="true" canSuggest="true" name="backupTime" title="备份时间"/>
<button onClick="action.method.system.logBackup" icon="fa-edit" title="备份" showIf="status=='backupFail'" name="备份"/>
<button onClick="action.method.system.logDeleteBackup" icon="fa-edit" title="删除备份" showIf="status=='alreadyBackup'" name="删除备份" prompt="您确定要删除吗?备份文件删除之后,无法恢复,请谨慎操作"/>

1
src/main/resources/application.properties

@ -468,5 +468,6 @@ application.gatewaycontext=/lowcode-portal-logmanage/

Loading…
Cancel
Save