-
Notifications
You must be signed in to change notification settings - Fork 642
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* fix checkstyle and license * more admin * more admin * more admin * fix license and checkstyle * fix checkstyle * fix region sql type
- Loading branch information
Showing
77 changed files
with
1,770 additions
and
667 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 24 additions & 20 deletions
44
eventmesh-admin-server/conf/mapper/EventMeshDataSourceMapper.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,43 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Licensed to the Apache Software Foundation (ASF) under one or more | ||
contributor license agreements. See the NOTICE file distributed with | ||
this work for additional information regarding copyright ownership. | ||
The ASF licenses this file to You under the Apache License, Version 2.0 | ||
(the "License"); you may not use this file except in compliance with | ||
the License. You may obtain a copy of the License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
<!-- | ||
* Licensed to the Apache Software Foundation (ASF) under one or more | ||
* contributor license agreements. See the NOTICE file distributed with | ||
* this work for additional information regarding copyright ownership. | ||
* The ASF licenses this file to You under the Apache License, Version 2.0 | ||
* (the "License"); you may not use this file except in compliance with | ||
* the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
--> | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
<!DOCTYPE mapper | ||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | ||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | ||
<mapper namespace="org.apache.eventmesh.admin.server.web.db.mapper.EventMeshDataSourceMapper"> | ||
|
||
<resultMap id="BaseResultMap" type="org.apache.eventmesh.admin.server.web.db.entity.EventMeshDataSource"> | ||
<id property="id" column="id" jdbcType="INTEGER"/> | ||
<result property="dataType" column="dataType" jdbcType="INTEGER"/> | ||
<result property="dataType" column="dataType" jdbcType="VARCHAR"/> | ||
<result property="description" column="description" jdbcType="VARCHAR"/> | ||
<result property="configuration" column="configuration" jdbcType="VARCHAR"/> | ||
<result property="createUid" column="createUid" jdbcType="INTEGER"/> | ||
<result property="updateUid" column="updateUid" jdbcType="INTEGER"/> | ||
<result property="region" column="region" jdbcType="VARCHAR"/> | ||
<result property="createUid" column="createUid" jdbcType="VARCHAR"/> | ||
<result property="updateUid" column="updateUid" jdbcType="VARCHAR"/> | ||
<result property="createTime" column="createTime" jdbcType="TIMESTAMP"/> | ||
<result property="updateTime" column="updateTime" jdbcType="TIMESTAMP"/> | ||
</resultMap> | ||
|
||
<sql id="Base_Column_List"> | ||
id,dataType,address, | ||
description,configuration,createUid, | ||
updateUid,createTime,updateTime | ||
id,dataType,description, | ||
configuration,region,createUid,updateUid, | ||
createTime,updateTime | ||
</sql> | ||
</mapper> |
56 changes: 31 additions & 25 deletions
56
eventmesh-admin-server/conf/mapper/EventMeshJobInfoMapper.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,49 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Licensed to the Apache Software Foundation (ASF) under one or more | ||
contributor license agreements. See the NOTICE file distributed with | ||
this work for additional information regarding copyright ownership. | ||
The ASF licenses this file to You under the Apache License, Version 2.0 | ||
(the "License"); you may not use this file except in compliance with | ||
the License. You may obtain a copy of the License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
<!-- | ||
* Licensed to the Apache Software Foundation (ASF) under one or more | ||
* contributor license agreements. See the NOTICE file distributed with | ||
* this work for additional information regarding copyright ownership. | ||
* The ASF licenses this file to You under the Apache License, Version 2.0 | ||
* (the "License"); you may not use this file except in compliance with | ||
* the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
--> | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
<!DOCTYPE mapper | ||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | ||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | ||
<mapper namespace="org.apache.eventmesh.admin.server.web.db.mapper.EventMeshJobInfoMapper"> | ||
|
||
<resultMap id="BaseResultMap" type="org.apache.eventmesh.admin.server.web.db.entity.EventMeshJobInfo"> | ||
<id property="jobID" column="jobID" jdbcType="INTEGER"/> | ||
<result property="name" column="name" jdbcType="VARCHAR"/> | ||
<result property="transportType" column="transportType" jdbcType="INTEGER"/> | ||
<id property="id" column="id" jdbcType="INTEGER"/> | ||
<result property="jobID" column="jobID" jdbcType="VARCHAR"/> | ||
<result property="desc" column="desc" jdbcType="VARCHAR"/> | ||
<result property="taskID" column="taskID" jdbcType="VARCHAR"/> | ||
<result property="transportType" column="transportType" jdbcType="VARCHAR"/> | ||
<result property="sourceData" column="sourceData" jdbcType="INTEGER"/> | ||
<result property="targetData" column="targetData" jdbcType="INTEGER"/> | ||
<result property="state" column="state" jdbcType="TINYINT"/> | ||
<result property="jobType" column="jobType" jdbcType="TINYINT"/> | ||
<result property="createUid" column="createUid" jdbcType="INTEGER"/> | ||
<result property="updateUid" column="updateUid" jdbcType="INTEGER"/> | ||
<result property="state" column="state" jdbcType="VARCHAR"/> | ||
<result property="jobType" column="jobType" jdbcType="VARCHAR"/> | ||
<result property="fromRegion" column="fromRegion" jdbcType="VARCHAR"/> | ||
<result property="createUid" column="createUid" jdbcType="VARCHAR"/> | ||
<result property="updateUid" column="updateUid" jdbcType="VARCHAR"/> | ||
<result property="createTime" column="createTime" jdbcType="TIMESTAMP"/> | ||
<result property="updateTime" column="updateTime" jdbcType="TIMESTAMP"/> | ||
</resultMap> | ||
|
||
<sql id="Base_Column_List"> | ||
jobID,name,transportType, | ||
sourceData,targetData,state, | ||
runtimeType,createUid, | ||
updateUid,createTime,updateTime | ||
id,jobID,desc, | ||
taskID,transportType,sourceData, | ||
targetData,state,jobType, | ||
fromRegion,createTime,updateTime | ||
</sql> | ||
</mapper> |
63 changes: 33 additions & 30 deletions
63
eventmesh-admin-server/conf/mapper/EventMeshMysqlPositionMapper.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,46 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Licensed to the Apache Software Foundation (ASF) under one or more | ||
contributor license agreements. See the NOTICE file distributed with | ||
this work for additional information regarding copyright ownership. | ||
The ASF licenses this file to You under the Apache License, Version 2.0 | ||
(the "License"); you may not use this file except in compliance with | ||
the License. You may obtain a copy of the License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
<!-- | ||
* Licensed to the Apache Software Foundation (ASF) under one or more | ||
* contributor license agreements. See the NOTICE file distributed with | ||
* this work for additional information regarding copyright ownership. | ||
* The ASF licenses this file to You under the Apache License, Version 2.0 | ||
* (the "License"); you may not use this file except in compliance with | ||
* the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
--> | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
<!DOCTYPE mapper | ||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | ||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | ||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | ||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | ||
<mapper namespace="org.apache.eventmesh.admin.server.web.db.mapper.EventMeshMysqlPositionMapper"> | ||
|
||
<resultMap id="BaseResultMap" type="org.apache.eventmesh.admin.server.web.db.entity.EventMeshMysqlPosition"> | ||
<id property="id" column="id" jdbcType="INTEGER"/> | ||
<result property="jobID" column="jobID" jdbcType="INTEGER"/> | ||
<result property="serverUUID" column="serverUUID" jdbcType="VARCHAR"/> | ||
<result property="address" column="address" jdbcType="VARCHAR"/> | ||
<result property="position" column="position" jdbcType="BIGINT"/> | ||
<result property="gtid" column="gtid" jdbcType="VARCHAR"/> | ||
<result property="currentGtid" column="currentGtid" jdbcType="VARCHAR"/> | ||
<result property="timestamp" column="timestamp" jdbcType="BIGINT"/> | ||
<result property="journalName" column="journalName" jdbcType="VARCHAR"/> | ||
<result property="createTime" column="createTime" jdbcType="TIMESTAMP"/> | ||
<result property="updateTime" column="updateTime" jdbcType="TIMESTAMP"/> | ||
<id property="id" column="id" jdbcType="INTEGER"/> | ||
<result property="jobID" column="jobID" jdbcType="VARCHAR"/> | ||
<result property="serverUUID" column="serverUUID" jdbcType="VARCHAR"/> | ||
<result property="address" column="address" jdbcType="VARCHAR"/> | ||
<result property="position" column="position" jdbcType="BIGINT"/> | ||
<result property="gtid" column="gtid" jdbcType="VARCHAR"/> | ||
<result property="currentGtid" column="currentGtid" jdbcType="VARCHAR"/> | ||
<result property="timestamp" column="timestamp" jdbcType="BIGINT"/> | ||
<result property="journalName" column="journalName" jdbcType="VARCHAR"/> | ||
<result property="createTime" column="createTime" jdbcType="TIMESTAMP"/> | ||
<result property="updateTime" column="updateTime" jdbcType="TIMESTAMP"/> | ||
</resultMap> | ||
|
||
<sql id="Base_Column_List"> | ||
id | ||
,jobID,serverUUID,address, | ||
position,gtid,currentGtid,timestamp,journalName, | ||
id,jobID,serverUUID, | ||
address,position,gtid, | ||
currentGtid,timestamp,journalName, | ||
createTime,updateTime | ||
</sql> | ||
</mapper> |
Oops, something went wrong.