Browse Source

Configure Continuous Integration ....

master
hypaas 10 months ago
parent
commit
3b750edc77
  1. 12
      modules/test/src/main/resources/domains/LogEntity.xml
  2. 4
      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">
<module name="Log" package="Log"/>
<entity hashAll="false" logUpdates="true" persistable="true" name="LogEntity" cacheable="false" lang="java" strategy="SINGLE" table="LogManage">
<string nullable="true" actOverwrite="false" copy="true" column="ADDRESS" massUpdate="false" name="address" isJudg="false"/>
<string nullable="true" actOverwrite="false" copy="true" column="CONTENT" massUpdate="false" name="content" isJudg="false"/>
<many-to-one column="ADDRESS" massUpdate="false" ref="Log.LogEntity" name="address" copy="true"/>
<many-to-one column="CONTENT" massUpdate="false" ref="Log.LogEntity" name="content" copy="true"/>
<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="EXSTACK" massUpdate="false" name="exceptionStackTrace" 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"/>
<string nullable="true" actOverwrite="false" copy="true" column="LEVELDESC" massUpdate="false" name="levelDesc" isJudg="false"/>
<integer nullable="true" column="LEVELNUM" actOverwrite="false" massUpdate="false" name="levelNum" copy="true" isJudg="false"/>
<string nullable="true" actOverwrite="false" copy="true" column="MODULE" massUpdate="false" name="module" isJudg="false"/>
<string nullable="true" actOverwrite="false" copy="true" column="OBJECTNAME" massUpdate="false" name="objectName" isJudg="false"/>
<many-to-one column="LEVELNUM" massUpdate="false" ref="Log.LogEntity" name="levelNum" copy="true"/>
<many-to-one column="MODULE" massUpdate="false" ref="Log.LogEntity" name="module" copy="true"/>
<many-to-one column="OBJECTNAME" massUpdate="false" ref="Log.LogEntity" name="objectName" copy="true"/>
<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"/>
<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"/>
<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="USERID" massUpdate="false" name="userId" isJudg="false"/>
<many-to-one column="USERID" massUpdate="false" ref="Log.LogEntity" name="userId" copy="true"/>
</entity>
</domain-models>

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

@ -6,8 +6,8 @@
<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 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="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="address" canSuggest="true" showTitle="true" domain="self.address=:address" name="address" title="IP地址" 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="告警级别" grid-view="Log-ServiceUser-grid" colSpan="3"/>
<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 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="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="opType" canSuggest="true" showTitle="true" domain="self.opType=:opType" name="opType" title="操作类型" grid-view="Log-ServiceUser-grid" colSpan="3"/>
</panel>

11
src/main/resources/application.properties

@ -1,7 +1,7 @@
# Application Information
# ~~~~~
application.name=\u004c\u006f\u0067\u004d\u0061\u006e\u0061\u0067\u0065
application.id=8f5762ae-e23b-47b5-802d-f39704bb4960
application.id=
application.sid=1719173642480254976
application.callback.url=http://117.78.10.170:3000/api/v1/message/preview/
application.description=
@ -64,11 +64,11 @@ auth.logout.local=true
# MySQL
#db.default.driver = com.mysql.jdbc.Driver
#db.default.visible=false
db.default.driver=com.mysql.cj.jdbc.Driver
db.default.driver=
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.user=app_zhangqiyang
db.default.password=Asdf123!@#
db.default.url=jdbc:://?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false&nullCatalogMeansCurrent=true
db.default.user=
db.default.password=
db.company1.name=Company 1
db.company1.driver=com.mysql.cj.jdbc.Driver
@ -337,3 +337,4 @@ logging.level.com.hypaas=INFO

Loading…
Cancel
Save