Browse Source

Configure Continuous Integration ....

master
hypaas 8 months ago
parent
commit
969eaa2838
  1. 5
      modules/test/src/main/resources/domains/LogConfig.xml
  2. 12
      modules/test/src/main/resources/views/ServiceUserLogBackup-grid.xml
  3. 9
      modules/test/src/main/resources/views/actionGroup.xml
  4. 3
      modules/test/src/main/resources/views/menu.xml
  5. 5
      src/main/resources/application.properties

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

@ -1,15 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<domain-models xmlns="http://hypaas.com/xml/ns/domain-models" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hypaas.com/xml/ns/domain-models http://hypaas.com/xml/ns/domain-models/domain-models_5.2.xsd">
<module name="Log" package="Log" table-prefix="" repo-package=""/>
<entity hashAll="false" logUpdates="true" persistable="true" name="LogConfig" cacheable="false" lang="java" strategy="SINGLE">
<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="size" isJudg="false"/>
<string actOverwrite="false" title="备份大小" copy="true" massUpdate="false" name="thresholdSize" 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"/>
<integer actOverwrite="false" title="存储阈值" copy="true" massUpdate="false" name="threshold" isJudg="false"/>
<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"/>
</entity>
</domain-models>

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

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<object-views xmlns="http://hypaas.com/xml/ns/object-views" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hypaas.com/xml/ns/object-views http://hypaas.com/xml/ns/object-views/object-views_5.3.xsd">
<grid canEdit="false" canNew="false" title="业务用户日志备份" model="Log.LogConfig" canDelete="false" edit-icon="false" canArchive="false" freeSearch="all" name="ServiceUserLogBackup-grid" width="large">
<field name="logStartTime" title="日志起始时间"/>
<field name="logEndTime" title="日志结束时间"/>
<field name="thresholdSize" title="备份大小"/>
<field name="status" title="日志状态"/>
<field name="backupTime" title="备份时间"/>
<button onClick="action.method.system.logBackup" title="备份" name="备份"/>
<button onClick="action.method.system.logDeleteBackup" title="删除备份" name="删除备份"/>
</grid>
</object-views>

9
modules/test/src/main/resources/views/actionGroup.xml

@ -14,9 +14,15 @@
<view name="LogConfig-grid" type="grid"/>
<view name="LogConfig-form" type="form"/>
</action-view>
<action-method name="action.method.system.logBackup" model="Log.LogConfig">
<call method="secondBackup" class="com.system.log.controller.LogController"/>
</action-method>
<action-view name="action.view.Export.Log" model="Log.LogEntity" title="日志导出">
<view name="export-form" type="form"/>
</action-view>
<action-method name="action.method.system.logDeleteBackup" model="Log.LogConfig">
<call method="deleteBackup" class="com.system.log.controller.LogController"/>
</action-method>
<action-method name="action.method.system.logExport" model="Log.LogEntity">
<call method="exportLog" class="com.system.log.controller.LogController"/>
</action-method>
@ -33,4 +39,7 @@
<action-view name="action.view.System.Log" title="查询系统日志">
<view name="SystemManageUser-grid" type="grid"/>
</action-view>
<action-view name="action.view.ServiceUser.LogBackup" title="业务用户日志备份">
<view name="ServiceUserLogBackup-grid" type="grid"/>
</action-view>
</object-views>

3
modules/test/src/main/resources/views/menu.xml

@ -6,5 +6,6 @@
<menuitem parent="menu-LogManage" title="系统管理员操作日志" left="true" name="menu-SystemManageUser-Log" action="action.view.SystemManageUser.Log"/>
<menuitem parent="menu-LogManage" title="安全保密员操作日志" left="true" name="menu-SecurityUser-Log" action="action.view.SecurityUser.Log"/>
<menuitem parent="menu-LogManage" title="系统运行日志" left="true" name="menu-System-Log"/>
<menuitem parent="menu-LogManage" title="日志配置" left="true" name="menu-Config-Log" action="action.view.Config.Log"/>
<menuitem parent="menu-LogManage" title="日志配置" left="true" name="menu-Config-Log"/>
<menuitem parent="menu-ServiceUser-Log" title="日志备份" left="true" name="menu-ServiceUser-LogBackup" action="action.view.ServiceUser.LogBackup"/>
</object-views>

5
src/main/resources/application.properties

@ -13,9 +13,9 @@ application.copyright=Copyright (c) {year} Sunwise. All Rights Reserved.
# Header Logo
# ~~~~~
# width 237.07mm height 35.28mm
application.logo =img/logo.png
application.logo =img/portal/logo.png
# width 334.43mm height 163.69mm
application.login.logo =img/login.png
application.login.logo =img/portal/loginbg.jpeg
# Home Website
# ~~~~~
# Link to be used with header logo
@ -455,5 +455,6 @@ application.gatewaycontext=/lowcode-portal-logmanage/

Loading…
Cancel
Save