Browse Source

Configure Continuous Integration ....

master
hypaas 8 months ago
parent
commit
df33c76042
  1. 6
      modules/test/src/main/resources/views/LogConfig-grid.xml
  2. 15
      modules/test/src/main/resources/views/actionGroup.xml
  3. 2
      modules/test/src/main/resources/views/menu.xml
  4. 11
      src/main/resources/application.properties

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

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

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

@ -3,7 +3,7 @@
<action-view name="action.view.ServiceUser.Log" model="Log.LogEntity" title="业务用户"> <action-view name="action.view.ServiceUser.Log" model="Log.LogEntity" title="业务用户">
<view name="ServiceUser-grid" type="grid"/> <view name="ServiceUser-grid" type="grid"/>
<view name="ServiceUser-form" type="form"/> <view name="ServiceUser-form" type="form"/>
<domain>self.userAuth=2</domain> <domain>self.userAuth=16</domain>
</action-view> </action-view>
<action-view name="action.view.SecurityUser.Log" model="Log.LogEntity" title="安全保密员"> <action-view name="action.view.SecurityUser.Log" model="Log.LogEntity" title="安全保密员">
<view name="SecurityUser-grid" type="grid"/> <view name="SecurityUser-grid" type="grid"/>
@ -23,23 +23,14 @@
<action-view name="action.view.SecurityAuditUser.Log" model="Log.LogEntity" title="安全审计员"> <action-view name="action.view.SecurityAuditUser.Log" model="Log.LogEntity" title="安全审计员">
<view name="SecurityAuditUser-grid" type="grid"/> <view name="SecurityAuditUser-grid" type="grid"/>
<view name="SecurityAuditUser-form" type="form"/> <view name="SecurityAuditUser-form" type="form"/>
<domain>self.userAuth=3</domain> <domain>self.userAuth=2</domain>
</action-view> </action-view>
<action-view name="action.view.SystemManageUser.Log" model="Log.LogEntity" title="系统管理员"> <action-view name="action.view.SystemManageUser.Log" model="Log.LogEntity" title="系统管理员">
<view name="SystemManageUser-grid" type="grid"/> <view name="SystemManageUser-grid" type="grid"/>
<view name="SystemManageUser-form" type="form"/> <view name="SystemManageUser-form" type="form"/>
<domain>self.userAuth=16</domain> <domain>self.userAuth=4</domain>
</action-view> </action-view>
<action-view name="action.view.System.Log" title="查询系统日志"> <action-view name="action.view.System.Log" title="查询系统日志">
<view name="SystemManageUser-grid" type="grid"/> <view name="SystemManageUser-grid" type="grid"/>
</action-view> </action-view>
<action-method name="action.method.system.logManage.systemLog" model="Log.LogEntity">
<call method="getFileZip" class="com.system.log.controller.LogController"/>
</action-method>
<action-view name="action.view.selectSystemLog.Log" model="Log.LogEntity" title="系统运行日志查询">
<view name="LogWeb/index.html" type="html"/>
</action-view>
</object-views> </object-views>

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

@ -5,6 +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-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-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-SecurityUser-Log" action="action.view.SecurityUser.Log"/>
<menuitem parent="menu-LogManage" title="系统运行日志" left="true" name="menu-System-Log" action="action.view.selectSystemLog.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" action="action.view.Config.Log"/>
</object-views> </object-views>

11
src/main/resources/application.properties

@ -1,7 +1,7 @@
# Application Information # Application Information
# ~~~~~ # ~~~~~
application.name=\u004c\u006f\u0067\u004d\u0061\u006e\u0061\u0067\u0065 application.name=\u004c\u006f\u0067\u004d\u0061\u006e\u0061\u0067\u0065
application.id=21e159a3-04fc-4e03-b1d7-8e04434d0594 application.id=
application.sid=1719173642480254976 application.sid=1719173642480254976
application.callback.url=http://117.78.10.170:3000/api/v1/message/preview/ application.callback.url=http://117.78.10.170:3000/api/v1/message/preview/
application.description= application.description=
@ -62,11 +62,11 @@ auth.logout.local=true
#db.default.password = hypaas #db.default.password = hypaas
# MySQL # MySQL
db.default.driver=com.mysql.cj.jdbc.Driver db.default.driver=
db.default.ddl=update db.default.ddl=update
db.default.url=jdbc:mysql://139.9.112.197:3308/portal-gateway?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false&nullCatalogMeansCurrent=true db.default.url=jdbc:://?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false&nullCatalogMeansCurrent=true
db.default.user=portal db.default.user=
db.default.password=Sun@qc2023 db.default.password=
system.operate.log.switch=true system.operate.log.switch=true
@ -450,5 +450,6 @@ application.gatewaycontext=/lowcode-portal-logmanage/

Loading…
Cancel
Save