Browse Source

Configure Continuous Integration ....

master
hypaas 1 year ago
parent
commit
096b349a68
  1. 12
      modules/test/src/main/resources/domains/LogEntity.xml
  2. 18
      modules/test/src/main/resources/views/Log-ServiceUser-form.xml
  3. 11
      src/main/resources/application.properties

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

@ -2,17 +2,17 @@
<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"> <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"/> <module name="Log" package="Log"/>
<entity hashAll="false" logUpdates="true" persistable="true" name="LogEntity" cacheable="false" lang="java" strategy="SINGLE" table="LogManage"> <entity hashAll="false" logUpdates="true" persistable="true" name="LogEntity" cacheable="false" lang="java" strategy="SINGLE" table="LogManage">
<many-to-one column="ADDRESS" massUpdate="false" ref="Log.LogEntity" name="address" copy="true"/> <string actOverwrite="false" copy="true" column="ADDRESS" massUpdate="false" name="address" isJudg="false"/>
<many-to-one column="CONTENT" massUpdate="false" ref="Log.LogEntity" name="content" copy="true"/> <string actOverwrite="false" copy="true" column="CONTENT" massUpdate="false" name="content" isJudg="false"/>
<string nullable="true" actOverwrite="false" copy="true" column="DEPT" massUpdate="false" name="dept" isJudg="false"/> <string nullable="true" actOverwrite="false" copy="true" column="DEPT" massUpdate="false" name="dept" isJudg="false"/>
<string nullable="true" actOverwrite="false" copy="true" column="EXMSG" massUpdate="false" name="exceptionMessage" isJudg="false"/> <string nullable="true" actOverwrite="false" copy="true" column="EXMSG" massUpdate="false" name="exceptionMessage" isJudg="false"/>
<string nullable="true" actOverwrite="false" copy="true" column="EXSTACK" massUpdate="false" name="exceptionStackTrace" isJudg="false"/> <string nullable="true" actOverwrite="false" copy="true" column="EXSTACK" massUpdate="false" name="exceptionStackTrace" isJudg="false"/>
<string nullable="true" actOverwrite="false" copy="true" column="EXTYPE" massUpdate="false" name="exceptionType" isJudg="false"/> <string nullable="true" actOverwrite="false" copy="true" column="EXTYPE" massUpdate="false" name="exceptionType" isJudg="false"/>
<long nullable="true" column="HASHVALUE" actOverwrite="false" massUpdate="false" name="hashValue" copy="true" isJudg="false"/> <long nullable="true" column="HASHVALUE" actOverwrite="false" massUpdate="false" name="hashValue" copy="true" isJudg="false"/>
<string nullable="true" actOverwrite="false" copy="true" column="LEVELDESC" massUpdate="false" name="levelDesc" isJudg="false"/> <string nullable="true" actOverwrite="false" copy="true" column="LEVELDESC" massUpdate="false" name="levelDesc" isJudg="false"/>
<many-to-one column="LEVELNUM" massUpdate="false" ref="Log.LogEntity" name="levelNum" copy="true"/> <integer actOverwrite="false" copy="true" column="LEVELNUM" massUpdate="false" name="levelNum" isJudg="false"/>
<many-to-one column="MODULE" massUpdate="false" ref="Log.LogEntity" name="module" copy="true"/> <string actOverwrite="false" copy="true" column="MODULE" massUpdate="false" name="module" isJudg="false"/>
<many-to-one column="OBJECTNAME" massUpdate="false" ref="Log.LogEntity" name="objectName" copy="true"/> <string actOverwrite="false" copy="true" column="OBJECTNAME" massUpdate="false" name="objectName" isJudg="false"/>
<string nullable="true" actOverwrite="false" copy="true" column="OPTYPE" massUpdate="false" name="opType" isJudg="false"/> <string nullable="true" actOverwrite="false" copy="true" column="OPTYPE" massUpdate="false" name="opType" isJudg="false"/>
<string nullable="true" actOverwrite="false" copy="true" column="PROGRAM" massUpdate="false" name="program" isJudg="false"/> <string nullable="true" actOverwrite="false" copy="true" column="PROGRAM" massUpdate="false" name="program" isJudg="false"/>
<integer nullable="true" column="RESULT" actOverwrite="false" massUpdate="false" name="result" copy="true" isJudg="false"/> <integer nullable="true" column="RESULT" actOverwrite="false" massUpdate="false" name="result" copy="true" isJudg="false"/>
@ -21,6 +21,6 @@
<datetime nullable="true" column="TIME" actOverwrite="false" massUpdate="false" name="time" copy="true" isJudg="false"/> <datetime nullable="true" column="TIME" actOverwrite="false" massUpdate="false" name="time" copy="true" isJudg="false"/>
<integer nullable="true" column="USERAUTH" actOverwrite="false" required="false" massUpdate="false" name="userAuth" copy="true" isJudg="false"/> <integer nullable="true" column="USERAUTH" actOverwrite="false" required="false" massUpdate="false" name="userAuth" copy="true" isJudg="false"/>
<string nullable="true" actOverwrite="false" copy="true" column="USERAUTHDESC" massUpdate="false" name="userAuthDesc" isJudg="false"/> <string nullable="true" actOverwrite="false" copy="true" column="USERAUTHDESC" massUpdate="false" name="userAuthDesc" isJudg="false"/>
<many-to-one column="USERID" massUpdate="false" ref="Log.LogEntity" name="userId" copy="true"/> <string actOverwrite="false" copy="true" column="USERID" massUpdate="false" name="userId" isJudg="false"/>
</entity> </entity>
</domain-models> </domain-models>

18
modules/test/src/main/resources/views/Log-ServiceUser-form.xml

@ -1,15 +1,15 @@
<?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">
<form canNew="true" title="业务用户操作日志(表单)" model="Log.LogEntity" name="Log-ServiceUser-form" width="large"> <form canNew="true" title="业务用户操作日志(表单)" model="Log.LogEntity" name="Log-ServiceUser-form" width="large">
<panel title="搜索日志" itemSpan="6" onTabSelect="action.view.LogManage.Log" showFrame="true" colSpan="12" showTitle="false" name="查找记录"> <panel hidden="false" title="搜索日志" itemSpan="6" onTabSelect="action.view.LogManage.Log" showFrame="true" depends="address" colSpan="12" showTitle="true" name="查找记录" attached="false">
<field type="datetime" form-view="Log-ServiceUser-form" depends="time" canSuggest="true" showTitle="true" domain="self.time=:time" name="time" title="操作时间" canView="false" grid-view="Log-ServiceUser-grid" colSpan="3"/> <field form-view="Log-ServiceUser-form" depends="time" canSuggest="true" showTitle="true" domain="self.time=:time" name="time" title="操作时间" canView="false" grid-view="Log-ServiceUser-grid" colSpan="3"/>
<field type="many-to-one" form-view="Log-ServiceUser-form" depends="userId" canSuggest="true" showTitle="true" domain="self.userId=:userId" name="userId" title="用户Id" grid-view="Log-ServiceUser-grid" colSpan="3"/> <field form-view="Log-ServiceUser-form" depends="userId" canSuggest="true" showTitle="true" domain="self.userId=:userId" name="userId" title="用户Id" grid-view="Log-ServiceUser-grid" colSpan="3"/>
<field type="many-to-one" form-view="Log-ServiceUser-form" depends="objectName" canSuggest="true" showTitle="true" domain="self.objectName=:objectName" name="objectName" title="客体" grid-view="Log-ServiceUser-grid" colSpan="3"/> <field form-view="Log-ServiceUser-form" depends="objectName" canSuggest="true" showTitle="true" domain="self.objectName=:objectName" name="objectName" title="客体" grid-view="Log-ServiceUser-grid" colSpan="3"/>
<field type="many-to-one" form-view="Log-ServiceUser-form" depends="content" canSuggest="true" showTitle="true" domain="self.content=:content" name="content" title="操作内容" grid-view="Log-ServiceUser-grid" colSpan="3"/> <field form-view="Log-ServiceUser-form" depends="content" canSuggest="true" showTitle="true" domain="self.content=:content" name="content" title="操作内容" grid-view="Log-ServiceUser-grid" colSpan="3"/>
<field type="many-to-one" form-view="Log-ServiceUser-form" depends="address" canSuggest="true" showTitle="true" domain="self.address=:address" name="address" canNew="false" title="IP地址" canView="false" grid-view="Log-ServiceUser-grid" colSpan="3" canSelect="false"/> <field form-view="Log-ServiceUser-form" depends="address" canSuggest="true" showTitle="true" domain="self.address=:address" name="address" canNew="false" title="IP地址" canView="false" grid-view="Log-ServiceUser-grid" colSpan="3" canSelect="false"/>
<field type="many-to-one" form-view="Log-ServiceUser-form" depends="levelNum" canSuggest="true" showTitle="true" domain="self. levelNum=: levelNum" name="levelNum" title="告警级别" onSelect="action.view.LogManage.Log" grid-view="Log-ServiceUser-grid" colSpan="3"/> <field form-view="Log-ServiceUser-form" depends="levelNum" canSuggest="true" showTitle="true" domain="self. levelNum=: levelNum" name="levelNum" title="告警级别" onSelect="action.view.LogManage.Log" grid-view="Log-ServiceUser-grid" colSpan="3"/>
<field type="many-to-one" form-view="Log-ServiceUser-form" depends="module" canSuggest="true" showTitle="true" domain="self.module=:module" name="module" title="操作模块" grid-view="Log-ServiceUser-grid" colSpan="3"/> <field form-view="Log-ServiceUser-form" depends="module" canSuggest="true" showTitle="true" domain="self.module=:module" name="module" title="操作模块" grid-view="Log-ServiceUser-grid" colSpan="3"/>
<field type="many-to-one" form-view="Log-ServiceUser-form" depends="opType" canSuggest="true" showTitle="true" domain="self.opType=:opType" name="opType" title="操作类型" grid-view="Log-ServiceUser-grid" colSpan="3"/> <field form-view="Log-ServiceUser-form" depends="opType" canSuggest="true" showTitle="true" domain="self.opType=:opType" name="opType" title="操作类型" grid-view="Log-ServiceUser-grid" colSpan="3"/>
</panel> </panel>
</form> </form>
</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=8f5762ae-e23b-47b5-802d-f39704bb4960 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=
@ -64,11 +64,11 @@ auth.logout.local=true
# MySQL # MySQL
#db.default.driver = com.mysql.jdbc.Driver #db.default.driver = com.mysql.jdbc.Driver
#db.default.visible=false #db.default.visible=false
db.default.driver=com.mysql.cj.jdbc.Driver db.default.driver=
db.default.ddl=update db.default.ddl=update
db.default.url=jdbc:mysql://117.78.10.170:3006/app_331617a15c45392328b161de78a9aa81_master_pre?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=app_zhangqiyang db.default.user=
db.default.password=Asdf123!@# db.default.password=
db.company1.name=Company 1 db.company1.name=Company 1
db.company1.driver=com.mysql.cj.jdbc.Driver db.company1.driver=com.mysql.cj.jdbc.Driver
@ -339,5 +339,6 @@ logging.level.com.hypaas=INFO

Loading…
Cancel
Save