Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
86a66e34
Commit
86a66e34
authored
Oct 16, 2018
by
neo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[dev] add active pom and config datasource
parent
1a935a47
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
78 additions
and
0 deletions
+78
-0
pom.xml
atms-api/pom.xml
+19
-0
applicationContext-activiti.xml
atms-api/src/main/resources/applicationContext-activiti.xml
+48
-0
conf.properties
atms-api/src/main/resources/conf/conf.properties
+5
-0
conf_profile_dev.properties
atms-api/src/main/resources/conf/conf_profile_dev.properties
+5
-0
pom.xml
pom.xml
+1
-0
No files found.
atms-api/pom.xml
View file @
86a66e34
...
...
@@ -23,6 +23,7 @@
<version>
0.0.1
</version>
</dependency>
<dependency>
<groupId>
pwc.taxtech.atms
</groupId>
<artifactId>
atms-dao
</artifactId>
...
...
@@ -339,6 +340,24 @@
<artifactId>
spring-data-commons
</artifactId>
<version>
2.1.0.RELEASE
</version>
</dependency>
<dependency>
<groupId>
org.activiti
</groupId>
<artifactId>
activiti-engine
</artifactId>
<version>
${activiti.version}
</version>
</dependency>
<dependency>
<groupId>
org.activiti
</groupId>
<artifactId>
activiti-spring
</artifactId>
<version>
${activiti.version}
</version>
</dependency>
<dependency>
<groupId>
org.activiti
</groupId>
<artifactId>
activiti-rest
</artifactId>
<version>
${activiti.version}
</version>
</dependency>
</dependencies>
<profiles>
...
...
atms-api/src/main/resources/applicationContext-activiti.xml
0 → 100644
View file @
86a66e34
<?xml version="1.0" encoding="UTF-8"?>
<beans
xmlns=
"http://www.springframework.org/schema/beans"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:context=
"http://www.springframework.org/schema/context"
xmlns:aop=
"http://www.springframework.org/schema/aop"
xmlns:tx=
"http://www.springframework.org/schema/tx"
xsi:schemaLocation=
"http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.1.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.1.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.1.xsd"
>
<bean
id=
"datasourceWorkflow"
class=
"com.alibaba.druid.pool.DruidDataSource"
>
<property
name=
"url"
value=
"${workfow_jdbc_url}"
/>
<property
name=
"username"
value=
"${workflow_jdbc_user}"
/>
<property
name=
"password"
value=
"${workflow_jdbc_password}"
/>
</bean>
<bean
id=
"transactionManagerWorkflow"
class=
"org.springframework.jdbc.datasource.DataSourceTransactionManager"
>
<property
name=
"dataSource"
ref=
"datasourceWorkflow"
/>
</bean>
<bean
id=
"processEngineConfiguration"
class=
"org.activiti.spring.SpringProcessEngineConfiguration"
>
<property
name=
"dataSource"
ref=
"dataSource"
/>
<property
name=
"transactionManager"
ref=
"transactionManagerWorkflow"
/>
<property
name=
"databaseSchemaUpdate"
value=
"true"
/>
<property
name=
"jobExecutorActivate"
value=
"true"
/>
<!-- 以下2个是为了防止生成流程图片时出现乱码 -->
<property
name=
"activityFontName"
value=
"宋体"
/>
<property
name=
"labelFontName"
value=
"宋体"
/>
</bean>
<!-- 流程引擎 -->
<bean
id=
"processEngine"
class=
"org.activiti.spring.ProcessEngineFactoryBean"
>
<property
name=
"processEngineConfiguration"
ref=
"processEngineConfiguration"
/>
</bean>
<!-- 流程服务 -->
<bean
id=
"repositoryService"
factory-bean=
"processEngine"
factory-method=
"getRepositoryService"
/>
<bean
id=
"runtimeService"
factory-bean=
"processEngine"
factory-method=
"getRuntimeService"
/>
<bean
id=
"taskService"
factory-bean=
"processEngine"
factory-method=
"getTaskService"
/>
<bean
id=
"historyService"
factory-bean=
"processEngine"
factory-method=
"getHistoryService"
/>
<bean
id=
"managementService"
factory-bean=
"processEngine"
factory-method=
"getManagementService"
/>
<bean
id=
"IdentityService"
factory-bean=
"processEngine"
factory-method=
"getIdentityService"
/>
</beans>
\ No newline at end of file
atms-api/src/main/resources/conf/conf.properties
View file @
86a66e34
...
...
@@ -8,6 +8,11 @@ jdbc2_user=${jdbc2_user}
jdbc2_password
=
${jdbc2_password}
jdbc2_admin_db
=
${jdbc2_admin_db}
workflow_jdbc_url
=
${workflow_jdbc_url}
workflow_jdbc_user
=
${workflow_jdbc_user}
workflow_jdbc_password
=
${workflow_jdbc_password}
workflow_jdbc_admin_db
=
${workflow_jdbc_admin_db}
jdbc_url_demo
=
${jdbc_url_demo}
mail_jdbc_url
=
${mail_jdbc_url}
...
...
atms-api/src/main/resources/conf/conf_profile_dev.properties
View file @
86a66e34
...
...
@@ -9,6 +9,11 @@ jdbc2_user=pwc_invoice
jdbc2_password
=
pwc_invoice
jdbc2_admin_db
=
pwc_invoice
workflow_jdbc_url
=
jdbc:oracle:thin:@10.158.230.144:11521:XE
workflow_jdbc_user
=
TAX_ADMIN
workflow_jdbc_password
=
taxadmin2018
workflow_jdbc_admin_db
=
tax_project
jdbc_url_demo
=
jdbc:mysql://10.158.230.144:3306/demo_db_name?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false
mail_jdbc_url
=
jdbc:sqlserver://192.168.1.102:1434;DatabaseName=MAILMaster
...
...
pom.xml
View file @
86a66e34
...
...
@@ -30,6 +30,7 @@
<sonar.exclusions>
**/*Mapper.*,**/*Example.*,**/*Test.java,**/*IT.java,**/*Dto.java,**/atms/entitiy/**/*.java,**/atms/thirdparty/**/*.java,**/atms/common/message/**/*.java,**/atms/dto/**/*.java,**/atms/constant/**/*.java
</sonar.exclusions>
<activiti.version>
5.21.0
</activiti.version>
</properties>
<dependencyManagement>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment