Browse Source

Configure Continuous Integration ....

master
hypaas 6 months ago
parent
commit
94a6009c72
  1. 8
      modules/test/src/main/resources/domains/BackupCycle.xml
  2. 2
      modules/test/src/main/resources/domains/LogEntity.xml
  3. 9
      modules/test/src/main/resources/views/LogConfig-form.xml
  4. 7
      modules/test/src/main/resources/views/LogConfig-grid.xml
  5. 4
      modules/test/src/main/resources/views/actionGroup.xml
  6. 3
      modules/test/src/main/resources/views/menu.xml
  7. 1
      src/main/resources/application.properties

8
modules/test/src/main/resources/domains/BackupCycle.xml

@ -0,0 +1,8 @@
<?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="com.module.enmus" package="module"/>
<enum name="BackupCycle" numeric="true">
<item name="Six" title="6" value="6"/>
<item name="Twelve" title="12" value="12"/>
</enum>
</domain-models>

2
modules/test/src/main/resources/domains/LogEntity.xml

@ -22,6 +22,8 @@
<string nullable="true" actOverwrite="false" copy="true" column="USERAUTHDESC" massUpdate="false" name="userAuthDesc" isJudg="false"/>
<string actOverwrite="false" copy="true" column="USERID" massUpdate="false" name="userId" isJudg="false"/>
<string actOverwrite="false" title="应用" copy="true" massUpdate="false" name="app" isJudg="false"/>
<integer actOverwrite="false" title="存储阈值" copy="true" massUpdate="false" name="threshold" isJudg="false"/>
<enum title="备份周期" massUpdate="false" ref="module.BackupCycle" name="backupCycle" copy="true"/>
<string actOverwrite="false" copy="true" massUpdate="false" name="address" isJudg="false"/>
</entity>
</domain-models>

9
modules/test/src/main/resources/views/LogConfig-form.xml

@ -0,0 +1,9 @@
<?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">
<form title="日志配置表单" model="Log.LogEntity" name="LogConfig-form" width="large">
<panel title="总览" itemSpan="6" showFrame="true" name="panel_6">
<field canSuggest="true" name="threshold" title="存储阈值(条目数)"/>
<field canSuggest="true" name="backupCycle" title="备份周期(月)"/>
</panel>
</form>
</object-views>

7
modules/test/src/main/resources/views/LogConfig-grid.xml

@ -0,0 +1,7 @@
<?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 title="日志配置" model="Log.LogEntity" edit-icon="true" freeSearch="all" name="LogConfig-grid" width="large">
<field search-field="true" canSuggest="true" name="threshold" title="存储阈值"/>
<field search-field="true" canSuggest="true" name="backupCycle" title="备份周期"/>
</grid>
</object-views>

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

@ -10,6 +10,10 @@
<view name="SecurityUser-form" type="form"/>
<domain>self.userAuth=1</domain>
</action-view>
<action-view name="action.view.Config.Log" model="Log.LogEntity" title="日志配置">
<view name="LogConfig-grid" type="grid"/>
<view name="LogConfig-form" type="form"/>
</action-view>
<action-view name="action.view.SecurityAuditUser.Log" model="Log.LogEntity" title="安全审计员">
<view name="SecurityAuditUser-grid" type="grid"/>
<view name="SecurityAuditUser-form" type="form"/>

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

@ -5,5 +5,6 @@
<menuitem parent="menu-LogManage" title="安全审计员操作日志" left="true" name="menu-SecurityAuditUser-Log" action="action.view.SecurityAuditUser.Log"/>
<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-System-Log"/>
<menuitem parent="menu-LogManage" title="日志配置" left="true" name="menu-Config-Log" action="action.view.Config.Log"/>
</object-views>

1
src/main/resources/application.properties

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

Loading…
Cancel
Save