Showing
13 changed files
with
1409 additions
and
0 deletions
elpSync.iml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4"> | |
3 | + <component name="FacetManager"> | |
4 | + <facet type="web" name="Web"> | |
5 | + <configuration> | |
6 | + <descriptors> | |
7 | + <deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/web/WEB-INF/web.xml" /> | |
8 | + </descriptors> | |
9 | + <webroots> | |
10 | + <root url="file://$MODULE_DIR$/web" relative="/" /> | |
11 | + </webroots> | |
12 | + <sourceRoots> | |
13 | + <root url="file://$MODULE_DIR$/src/main/java" /> | |
14 | + <root url="file://$MODULE_DIR$/src/main/resources" /> | |
15 | + </sourceRoots> | |
16 | + </configuration> | |
17 | + <facet type="webservices" name="WebServices"> | |
18 | + <configuration ws.engine="Glassfish / JAX-WS 2.2 RI / Metro 1.X / JWSDP 2.2" /> | |
19 | + </facet> | |
20 | + </facet> | |
21 | + <facet type="jpa" name="JPA"> | |
22 | + <configuration> | |
23 | + <setting name="validation-enabled" value="true" /> | |
24 | + <setting name="provider-name" value="Hibernate" /> | |
25 | + <datasource-mapping> | |
26 | + <factory-entry name="Entities" /> | |
27 | + <factory-entry name="elpSync" /> | |
28 | + <factory-entry name="entityManagerFactory" /> | |
29 | + </datasource-mapping> | |
30 | + <naming-strategy-map /> | |
31 | + </configuration> | |
32 | + </facet> | |
33 | + <facet type="Spring" name="Spring"> | |
34 | + <configuration /> | |
35 | + </facet> | |
36 | + </component> | |
37 | + <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8"> | |
38 | + <output url="file://$MODULE_DIR$/target/classes" /> | |
39 | + <output-test url="file://$MODULE_DIR$/target/test-classes" /> | |
40 | + <content url="file://$MODULE_DIR$"> | |
41 | + <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" /> | |
42 | + <sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" /> | |
43 | + <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" /> | |
44 | + <excludeFolder url="file://$MODULE_DIR$/target" /> | |
45 | + </content> | |
46 | + <orderEntry type="inheritedJdk" /> | |
47 | + <orderEntry type="sourceFolder" forTests="false" /> | |
48 | + <orderEntry type="library" name="JAX-WS-Glassfish / JAX-WS 2.2 RI / Metro 1.X / JWSDP 2.2" level="project" /> | |
49 | + <orderEntry type="library" name="Maven: com.tbc.paas.open:open-sdk:4.0.0-SNAPSHOT" level="project" /> | |
50 | + <orderEntry type="library" name="Maven: com.tbc.paas.open:open-api:4.0.0-SNAPSHOT" level="project" /> | |
51 | + <orderEntry type="library" name="Maven: com.tbc.paas.tbcs:tbcs-api:4.0.0-SNAPSHOT" level="project" /> | |
52 | + <orderEntry type="library" name="Maven: com.tbc.framework.md:mdl:4.3.1-SNAPSHOT" level="project" /> | |
53 | + <orderEntry type="library" name="Maven: c3p0:c3p0:0.9.1.2" level="project" /> | |
54 | + <orderEntry type="library" name="Maven: org.codehaus.jackson:jackson-core-lgpl:1.7.1" level="project" /> | |
55 | + <orderEntry type="library" name="Maven: org.codehaus.jackson:jackson-mapper-lgpl:1.7.1" level="project" /> | |
56 | + <orderEntry type="library" name="Maven: org.springframework:spring-jdbc:5.2.1.RELEASE" level="project" /> | |
57 | + <orderEntry type="library" name="Maven: org.springframework:spring-tx:5.2.1.RELEASE" level="project" /> | |
58 | + <orderEntry type="library" name="Maven: org.springframework:spring-jms:5.2.1.RELEASE" level="project" /> | |
59 | + <orderEntry type="library" name="Maven: org.springframework:spring-messaging:5.2.1.RELEASE" level="project" /> | |
60 | + <orderEntry type="library" name="Maven: org.apache.activemq:activemq-core:5.4.2" level="project" /> | |
61 | + <orderEntry type="library" name="Maven: commons-logging:commons-logging-api:1.1" level="project" /> | |
62 | + <orderEntry type="library" name="Maven: org.apache.geronimo.specs:geronimo-jms_1.1_spec:1.1.1" level="project" /> | |
63 | + <orderEntry type="library" name="Maven: org.apache.activemq:activeio-core:3.1.2" level="project" /> | |
64 | + <orderEntry type="library" name="Maven: org.apache.activemq:kahadb:5.4.2" level="project" /> | |
65 | + <orderEntry type="library" name="Maven: org.apache.activemq.protobuf:activemq-protobuf:1.1" level="project" /> | |
66 | + <orderEntry type="library" name="Maven: org.osgi:org.osgi.core:4.1.0" level="project" /> | |
67 | + <orderEntry type="library" name="Maven: org.apache.geronimo.specs:geronimo-j2ee-management_1.1_spec:1.0.1" level="project" /> | |
68 | + <orderEntry type="library" name="Maven: org.jasypt:jasypt:1.6" level="project" /> | |
69 | + <orderEntry type="library" name="Maven: com.ibm.icu:icu4j:4.0.1" level="project" /> | |
70 | + <orderEntry type="library" name="Maven: org.apache.activemq:activemq-pool:5.15.10" level="project" /> | |
71 | + <orderEntry type="library" name="Maven: org.apache.activemq:activemq-jms-pool:5.15.10" level="project" /> | |
72 | + <orderEntry type="library" name="Maven: org.apache.activemq:activemq-client:5.15.10" level="project" /> | |
73 | + <orderEntry type="library" name="Maven: org.fusesource.hawtbuf:hawtbuf:1.11" level="project" /> | |
74 | + <orderEntry type="library" name="Maven: org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:1.0.1" level="project" /> | |
75 | + <orderEntry type="library" name="Maven: org.springframework:spring-aspects:5.2.1.RELEASE" level="project" /> | |
76 | + <orderEntry type="library" name="Maven: org.springframework:spring-orm:5.2.1.RELEASE" level="project" /> | |
77 | + <orderEntry type="library" name="Maven: org.aspectj:aspectjrt:1.9.4" level="project" /> | |
78 | + <orderEntry type="library" name="Maven: org.aspectj:aspectjweaver:1.9.4" level="project" /> | |
79 | + <orderEntry type="library" name="Maven: com.tbc.framework.framework-util:framework-util:4.0.0-SNAPSHOT" level="project" /> | |
80 | + <orderEntry type="library" name="Maven: org.freemarker:freemarker:2.3.29" level="project" /> | |
81 | + <orderEntry type="library" name="Maven: com.tbc.paas.eagleeye:eagleeye-collector:4.0.0-SNAPSHOT" level="project" /> | |
82 | + <orderEntry type="library" name="Maven: javax.servlet:jstl:1.2" level="project" /> | |
83 | + <orderEntry type="library" name="Maven: commons-httpclient:commons-httpclient:3.1" level="project" /> | |
84 | + <orderEntry type="library" name="Maven: org.apache.kafka:kafka_2.10:0.8.1" level="project" /> | |
85 | + <orderEntry type="library" name="Maven: com.yammer.metrics:metrics-annotation:2.2.0" level="project" /> | |
86 | + <orderEntry type="library" name="Maven: com.yammer.metrics:metrics-core:2.2.0" level="project" /> | |
87 | + <orderEntry type="library" name="Maven: org.xerial.snappy:snappy-java:1.0.5" level="project" /> | |
88 | + <orderEntry type="library" name="Maven: net.sf.jopt-simple:jopt-simple:3.2" level="project" /> | |
89 | + <orderEntry type="library" name="Maven: org.scala-lang:scala-library:2.10.1" level="project" /> | |
90 | + <orderEntry type="library" name="Maven: com.101tec:zkclient:0.3" level="project" /> | |
91 | + <orderEntry type="library" name="Maven: com.tbc.paas.eagleeye:eagleeye-common:4.0.0-SNAPSHOT" level="project" /> | |
92 | + <orderEntry type="library" name="Maven: com.tbc.paas.uc:uc-api:4.0.0-SNAPSHOT" level="project" /> | |
93 | + <orderEntry type="library" name="Maven: com.tbc.app.bol:bol-api:4.0.0-SNAPSHOT" level="project" /> | |
94 | + <orderEntry type="library" name="Maven: com.tbc.framework.sfm:sfm-common:4.0.0-SNAPSHOT" level="project" /> | |
95 | + <orderEntry type="library" name="Maven: com.tbc.framework.sfm:sfm-api:4.0.0-SNAPSHOT" level="project" /> | |
96 | + <orderEntry type="library" name="Maven: com.tbc.framework.autogen:autogen-common:4.0.0-SNAPSHOT" level="project" /> | |
97 | + <orderEntry type="library" name="Maven: postgresql:postgresql:42.2.14" level="project" /> | |
98 | + <orderEntry type="library" name="Maven: commons-dbcp:commons-dbcp:1.4" level="project" /> | |
99 | + <orderEntry type="library" name="Maven: commons-pool:commons-pool:1.6" level="project" /> | |
100 | + <orderEntry type="library" name="Maven: javassist:javassist:3.12.1.GA" level="project" /> | |
101 | + <orderEntry type="library" name="Maven: org.mongodb:mongo-java-driver:3.11.2" level="project" /> | |
102 | + <orderEntry type="library" name="Maven: com.tbc.paas.common:paas-common-api:4.1.0-SNAPSHOT" level="project" /> | |
103 | + <orderEntry type="library" name="Maven: com.tbc.paas.oms:oms-api:4.0.0-SNAPSHOT" level="project" /> | |
104 | + <orderEntry type="library" name="Maven: com.tbc.framework.soa:soa-remote-impl:4.1.0-SNAPSHOT" level="project" /> | |
105 | + <orderEntry type="library" name="Maven: javax.servlet:servlet-api:2.5" level="project" /> | |
106 | + <orderEntry type="library" name="Maven: com.tbc.app.tam:tam-api:4.0.0-SNAPSHOT" level="project" /> | |
107 | + <orderEntry type="library" name="Maven: com.tbc.app.erm:erm-api:4.0.0-SNAPSHOT" level="project" /> | |
108 | + <orderEntry type="library" name="Maven: org.mortbay.jetty:jetty-util:6.1.26" level="project" /> | |
109 | + <orderEntry type="library" name="Maven: com.tbc.app.dc:dc-api:4.0.0-SNAPSHOT" level="project" /> | |
110 | + <orderEntry type="library" name="Maven: com.tbc.app.mto:mto-api:4.0.0-SNAPSHOT" level="project" /> | |
111 | + <orderEntry type="library" name="Maven: com.tbc.paas.is:is-api:4.0.0-SNAPSHOT" level="project" /> | |
112 | + <orderEntry type="library" name="Maven: com.tbc.app.imall:imall-api:4.0.0-SNAPSHOT" level="project" /> | |
113 | + <orderEntry type="library" name="Maven: com.tbc.sc:sc-common:6.0.0-SNAPSHOT" level="project" /> | |
114 | + <orderEntry type="library" name="Maven: com.tbc.sc:sc-api:6.0.0-SNAPSHOT" level="project" /> | |
115 | + <orderEntry type="library" name="Maven: com.tbc.app.rfs:rfs-api:6.0.0-SNAPSHOT" level="project" /> | |
116 | + <orderEntry type="library" name="Maven: com.tbc.app.link:link-api:4.0.0-SNAPSHOT" level="project" /> | |
117 | + <orderEntry type="library" name="Maven: net.sf.json-lib:json-lib:2.2.3" level="project" /> | |
118 | + <orderEntry type="library" name="Maven: net.sf.ezmorph:ezmorph:1.0.6" level="project" /> | |
119 | + <orderEntry type="library" name="Maven: org.json:json:20180130" level="project" /> | |
120 | + <orderEntry type="library" name="Maven: com.tbc.app.els:els-api:6.0.0-SNAPSHOT" level="project" /> | |
121 | + <orderEntry type="library" name="Maven: com.tbc:tbc-base:6.2.0-SNAPSHOT" level="project" /> | |
122 | + <orderEntry type="library" name="Maven: org.javassist:javassist:3.28.0-GA" level="project" /> | |
123 | + <orderEntry type="library" name="Maven: net.sf.dozer:dozer:5.5.1" level="project" /> | |
124 | + <orderEntry type="library" name="Maven: org.apache.commons:commons-lang3:3.9" level="project" /> | |
125 | + <orderEntry type="library" name="Maven: org.slf4j:jcl-over-slf4j:1.7.29" level="project" /> | |
126 | + <orderEntry type="library" name="Maven: com.tbc.framework.soa:soa-context:6.2.0-SNAPSHOT" level="project" /> | |
127 | + <orderEntry type="library" name="Maven: com.tbc.framework.soa:soa-primeinfo-client:6.2.0-SNAPSHOT" level="project" /> | |
128 | + <orderEntry type="library" name="Maven: com.tbc.framework.soa:soa-registry-client:6.2.0-SNAPSHOT" level="project" /> | |
129 | + <orderEntry type="library" name="Maven: com.tbc.framework.soa:soa-registry-api:6.2.0-SNAPSHOT" level="project" /> | |
130 | + <orderEntry type="library" name="Maven: com.tbc.framework.soa:soa-core-api:6.2.0-SNAPSHOT" level="project" /> | |
131 | + <orderEntry type="library" name="Maven: com.tbc.framework.soa:soa-core-impl:6.2.0-SNAPSHOT" level="project" /> | |
132 | + <orderEntry type="library" name="Maven: com.tbc.framework.soa:soa-remote-api:6.2.0-SNAPSHOT" level="project" /> | |
133 | + <orderEntry type="library" name="Maven: com.tbc.framework.fts:fts-api:4.0.0-SNAPSHOT" level="project" /> | |
134 | + <orderEntry type="library" name="Maven: com.tbc.paas.i18n:i18n-client:6.0.0-SNAPSHOT" level="project" /> | |
135 | + <orderEntry type="library" name="Maven: org.springframework:spring-test:5.2.1.RELEASE" level="project" /> | |
136 | + <orderEntry type="library" name="Maven: com.tbc.paas.common:paas-common-impl:6.0.0-SNAPSHOT" level="project" /> | |
137 | + <orderEntry type="library" name="Maven: org.hibernate:hibernate-core:5.4.8.Final" level="project" /> | |
138 | + <orderEntry type="library" name="Maven: javax.persistence:javax.persistence-api:2.2" level="project" /> | |
139 | + <orderEntry type="library" name="Maven: antlr:antlr:2.7.7" level="project" /> | |
140 | + <orderEntry type="library" name="Maven: org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:1.1.1.Final" level="project" /> | |
141 | + <orderEntry type="library" name="Maven: org.jboss:jandex:2.0.5.Final" level="project" /> | |
142 | + <orderEntry type="library" name="Maven: javax.activation:javax.activation-api:1.2.0" level="project" /> | |
143 | + <orderEntry type="library" name="Maven: org.dom4j:dom4j:2.1.1" level="project" /> | |
144 | + <orderEntry type="library" name="Maven: org.hibernate.common:hibernate-commons-annotations:5.1.0.Final" level="project" /> | |
145 | + <orderEntry type="library" name="Maven: javax.xml.bind:jaxb-api:2.3.1" level="project" /> | |
146 | + <orderEntry type="library" name="Maven: org.glassfish.jaxb:jaxb-runtime:2.3.2" level="project" /> | |
147 | + <orderEntry type="library" name="Maven: jakarta.xml.bind:jakarta.xml.bind-api:2.3.2" level="project" /> | |
148 | + <orderEntry type="library" name="Maven: org.glassfish.jaxb:txw2:2.3.2" level="project" /> | |
149 | + <orderEntry type="library" name="Maven: com.sun.istack:istack-commons-runtime:3.0.8" level="project" /> | |
150 | + <orderEntry type="library" name="Maven: org.jvnet.staxex:stax-ex:1.8.1" level="project" /> | |
151 | + <orderEntry type="library" name="Maven: com.sun.xml.fastinfoset:FastInfoset:1.2.16" level="project" /> | |
152 | + <orderEntry type="library" name="Maven: jakarta.activation:jakarta.activation-api:1.2.1" level="project" /> | |
153 | + <orderEntry type="library" name="Maven: org.springframework.security:spring-security-core:5.2.1.RELEASE" level="project" /> | |
154 | + <orderEntry type="library" name="Maven: org.springframework.security:spring-security-web:5.2.1.RELEASE" level="project" /> | |
155 | + <orderEntry type="library" name="Maven: com.tbc.paas.i18n:i18n-api:6.0.0-SNAPSHOT" level="project" /> | |
156 | + <orderEntry type="library" name="Maven: org.apache.zookeeper:zookeeper:3.7.0" level="project" /> | |
157 | + <orderEntry type="library" name="Maven: org.apache.zookeeper:zookeeper-jute:3.7.0" level="project" /> | |
158 | + <orderEntry type="library" name="Maven: org.apache.yetus:audience-annotations:0.12.0" level="project" /> | |
159 | + <orderEntry type="library" name="Maven: io.netty:netty-handler:4.1.43.Final" level="project" /> | |
160 | + <orderEntry type="library" name="Maven: io.netty:netty-transport-native-epoll:4.1.43.Final" level="project" /> | |
161 | + <orderEntry type="library" name="Maven: io.netty:netty-transport-native-unix-common:4.1.43.Final" level="project" /> | |
162 | + <orderEntry type="library" name="Maven: org.quartz-scheduler:quartz:2.3.2" level="project" /> | |
163 | + <orderEntry type="library" name="Maven: com.mchange:mchange-commons-java:0.2.15" level="project" /> | |
164 | + <orderEntry type="library" name="Maven: org.redisson:redisson:3.15.5" level="project" /> | |
165 | + <orderEntry type="library" name="Maven: io.netty:netty-common:4.1.43.Final" level="project" /> | |
166 | + <orderEntry type="library" name="Maven: io.netty:netty-codec:4.1.43.Final" level="project" /> | |
167 | + <orderEntry type="library" name="Maven: io.netty:netty-buffer:4.1.43.Final" level="project" /> | |
168 | + <orderEntry type="library" name="Maven: io.netty:netty-transport:4.1.43.Final" level="project" /> | |
169 | + <orderEntry type="library" name="Maven: io.netty:netty-resolver:4.1.43.Final" level="project" /> | |
170 | + <orderEntry type="library" name="Maven: io.netty:netty-resolver-dns:4.1.43.Final" level="project" /> | |
171 | + <orderEntry type="library" name="Maven: io.netty:netty-codec-dns:4.1.43.Final" level="project" /> | |
172 | + <orderEntry type="library" name="Maven: javax.cache:cache-api:1.1.1" level="project" /> | |
173 | + <orderEntry type="library" name="Maven: io.projectreactor:reactor-core:3.3.0.RELEASE" level="project" /> | |
174 | + <orderEntry type="library" name="Maven: org.reactivestreams:reactive-streams:1.0.3" level="project" /> | |
175 | + <orderEntry type="library" name="Maven: io.reactivex.rxjava3:rxjava:3.0.12" level="project" /> | |
176 | + <orderEntry type="library" name="Maven: org.jboss.marshalling:jboss-marshalling-river:2.0.11.Final" level="project" /> | |
177 | + <orderEntry type="library" name="Maven: org.jboss.marshalling:jboss-marshalling:2.0.11.Final" level="project" /> | |
178 | + <orderEntry type="library" name="Maven: com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.10.0" level="project" /> | |
179 | + <orderEntry type="library" name="Maven: net.bytebuddy:byte-buddy:1.10.2" level="project" /> | |
180 | + <orderEntry type="library" name="Maven: org.jodd:jodd-bean:5.1.6" level="project" /> | |
181 | + <orderEntry type="library" name="Maven: org.jodd:jodd-core:5.1.6" level="project" /> | |
182 | + <orderEntry type="library" name="Maven: net.sf.ehcache:ehcache:2.10.6" level="project" /> | |
183 | + <orderEntry type="library" name="Maven: nl.basjes.parse.useragent:yauaa:5.23" level="project" /> | |
184 | + <orderEntry type="library" name="Maven: org.apache.httpcomponents.client5:httpclient5:5.0.3" level="project" /> | |
185 | + <orderEntry type="library" name="Maven: org.apache.httpcomponents.core5:httpcore5:5.0.2" level="project" /> | |
186 | + <orderEntry type="library" name="Maven: org.apache.httpcomponents.core5:httpcore5-h2:5.0.2" level="project" /> | |
187 | + <orderEntry type="library" name="Maven: org.apache.commons:commons-text:1.9" level="project" /> | |
188 | + <orderEntry type="library" name="Maven: nl.basjes.collections:prefixmap:2.0" level="project" /> | |
189 | + <orderEntry type="library" name="Maven: com.google.guava:guava:30.1.1-jre" level="project" /> | |
190 | + <orderEntry type="library" name="Maven: com.google.guava:failureaccess:1.0.1" level="project" /> | |
191 | + <orderEntry type="library" name="Maven: com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava" level="project" /> | |
192 | + <orderEntry type="library" name="Maven: com.google.code.findbugs:jsr305:3.0.2" level="project" /> | |
193 | + <orderEntry type="library" name="Maven: org.checkerframework:checker-qual:3.8.0" level="project" /> | |
194 | + <orderEntry type="library" name="Maven: com.google.errorprone:error_prone_annotations:2.5.1" level="project" /> | |
195 | + <orderEntry type="library" name="Maven: com.google.j2objc:j2objc-annotations:1.3" level="project" /> | |
196 | + <orderEntry type="library" name="Maven: commons-net:commons-net:3.6" level="project" /> | |
197 | + <orderEntry type="library" name="Maven: org.mybatis.generator:mybatis-generator-core:1.4.0" level="project" /> | |
198 | + <orderEntry type="library" name="Maven: javax.annotation:javax.annotation-api:1.3.2" level="project" /> | |
199 | + <orderEntry type="library" name="Maven: mysql:mysql-connector-java:8.0.18" level="project" /> | |
200 | + <orderEntry type="library" name="Maven: org.jsoup:jsoup:1.13.1" level="project" /> | |
201 | + <orderEntry type="library" name="Maven: net.sf.json-lib:json-lib:jdk15:2.4" level="project" /> | |
202 | + <orderEntry type="library" name="Maven: io.netty:netty-all:4.1.43.Final" level="project" /> | |
203 | + <orderEntry type="library" name="Maven: org.postgresql:postgresql:42.2.8" level="project" /> | |
204 | + <orderEntry type="library" name="Maven: javax.mail:javax.mail-api:1.6.2" level="project" /> | |
205 | + <orderEntry type="library" name="Maven: com.esotericsoftware:kryo:4.0.2" level="project" /> | |
206 | + <orderEntry type="library" name="Maven: com.esotericsoftware:reflectasm:1.11.3" level="project" /> | |
207 | + <orderEntry type="library" name="Maven: org.ow2.asm:asm:5.0.4" level="project" /> | |
208 | + <orderEntry type="library" name="Maven: com.esotericsoftware:minlog:1.3.0" level="project" /> | |
209 | + <orderEntry type="library" name="Maven: org.objenesis:objenesis:2.5.1" level="project" /> | |
210 | + <orderEntry type="library" name="Maven: de.javakaffee:kryo-serializers:0.43" level="project" /> | |
211 | + <orderEntry type="library" name="Maven: de.ruedigermoeller:fst:3.0.1" level="project" /> | |
212 | + <orderEntry type="library" name="Maven: com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-discovery:2.2.6.RELEASE" level="project" /> | |
213 | + <orderEntry type="library" name="Maven: com.alibaba.cloud:spring-cloud-alibaba-commons:2.2.6.RELEASE" level="project" /> | |
214 | + <orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-commons:2.2.6.RELEASE" level="project" /> | |
215 | + <orderEntry type="library" name="Maven: org.springframework.security:spring-security-crypto:5.2.1.RELEASE" level="project" /> | |
216 | + <orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-context:2.2.6.RELEASE" level="project" /> | |
217 | + <orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-starter-netflix-ribbon:2.2.6.RELEASE" level="project" /> | |
218 | + <orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-starter:2.2.6.RELEASE" level="project" /> | |
219 | + <orderEntry type="library" name="Maven: org.springframework.security:spring-security-rsa:1.0.9.RELEASE" level="project" /> | |
220 | + <orderEntry type="library" name="Maven: org.bouncycastle:bcpkix-jdk15on:1.64" level="project" /> | |
221 | + <orderEntry type="library" name="Maven: org.bouncycastle:bcprov-jdk15on:1.64" level="project" /> | |
222 | + <orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-netflix-ribbon:2.2.6.RELEASE" level="project" /> | |
223 | + <orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-netflix-archaius:2.2.6.RELEASE" level="project" /> | |
224 | + <orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-starter-netflix-archaius:2.2.6.RELEASE" level="project" /> | |
225 | + <orderEntry type="library" name="Maven: com.netflix.archaius:archaius-core:0.7.6" level="project" /> | |
226 | + <orderEntry type="library" name="Maven: commons-configuration:commons-configuration:1.8" level="project" /> | |
227 | + <orderEntry type="library" name="Maven: com.netflix.ribbon:ribbon:2.3.0" level="project" /> | |
228 | + <orderEntry type="library" scope="RUNTIME" name="Maven: com.netflix.ribbon:ribbon-transport:2.3.0" level="project" /> | |
229 | + <orderEntry type="library" scope="RUNTIME" name="Maven: io.reactivex:rxnetty-contexts:0.4.9" level="project" /> | |
230 | + <orderEntry type="library" scope="RUNTIME" name="Maven: io.reactivex:rxnetty-servo:0.4.9" level="project" /> | |
231 | + <orderEntry type="library" scope="RUNTIME" name="Maven: com.netflix.hystrix:hystrix-core:1.4.3" level="project" /> | |
232 | + <orderEntry type="library" scope="RUNTIME" name="Maven: javax.inject:javax.inject:1" level="project" /> | |
233 | + <orderEntry type="library" scope="RUNTIME" name="Maven: io.reactivex:rxnetty:0.4.9" level="project" /> | |
234 | + <orderEntry type="library" name="Maven: com.netflix.ribbon:ribbon-core:2.3.0" level="project" /> | |
235 | + <orderEntry type="library" name="Maven: com.netflix.ribbon:ribbon-httpclient:2.3.0" level="project" /> | |
236 | + <orderEntry type="library" scope="RUNTIME" name="Maven: com.sun.jersey:jersey-client:1.19.1" level="project" /> | |
237 | + <orderEntry type="library" scope="RUNTIME" name="Maven: com.sun.jersey:jersey-core:1.19.1" level="project" /> | |
238 | + <orderEntry type="library" scope="RUNTIME" name="Maven: javax.ws.rs:jsr311-api:1.1.1" level="project" /> | |
239 | + <orderEntry type="library" scope="RUNTIME" name="Maven: com.sun.jersey.contribs:jersey-apache-client4:1.19.1" level="project" /> | |
240 | + <orderEntry type="library" scope="RUNTIME" name="Maven: com.netflix.servo:servo-core:0.10.1" level="project" /> | |
241 | + <orderEntry type="library" scope="RUNTIME" name="Maven: com.netflix.servo:servo-internal:0.10.1" level="project" /> | |
242 | + <orderEntry type="library" scope="RUNTIME" name="Maven: com.netflix.netflix-commons:netflix-commons-util:0.1.1" level="project" /> | |
243 | + <orderEntry type="library" name="Maven: com.netflix.ribbon:ribbon-loadbalancer:2.3.0" level="project" /> | |
244 | + <orderEntry type="library" scope="RUNTIME" name="Maven: com.netflix.netflix-commons:netflix-statistics:0.1.1" level="project" /> | |
245 | + <orderEntry type="library" name="Maven: io.reactivex:rxjava:1.3.8" level="project" /> | |
246 | + <orderEntry type="library" name="Maven: com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-config:2.2.6.RELEASE" level="project" /> | |
247 | + <orderEntry type="library" name="Maven: org.apache.dubbo:dubbo-spring-boot-starter:2.7.14" level="project" /> | |
248 | + <orderEntry type="library" name="Maven: org.apache.dubbo:dubbo-spring-boot-autoconfigure:2.7.14" level="project" /> | |
249 | + <orderEntry type="library" name="Maven: org.apache.dubbo:dubbo-spring-boot-autoconfigure-compatible:2.7.14" level="project" /> | |
250 | + <orderEntry type="library" name="Maven: org.apache.dubbo:dubbo-spring-boot-actuator:2.7.14" level="project" /> | |
251 | + <orderEntry type="library" name="Maven: org.apache.dubbo:dubbo-spring-boot-actuator-compatible:2.7.14" level="project" /> | |
252 | + <orderEntry type="library" name="Maven: org.apache.dubbo:dubbo:2.7.14" level="project" /> | |
253 | + <orderEntry type="library" name="Maven: com.alibaba.nacos:nacos-client:1.4.2" level="project" /> | |
254 | + <orderEntry type="library" name="Maven: com.alibaba.nacos:nacos-common:1.4.2" level="project" /> | |
255 | + <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpasyncclient:4.1.4" level="project" /> | |
256 | + <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore-nio:4.4.12" level="project" /> | |
257 | + <orderEntry type="library" name="Maven: com.alibaba.nacos:nacos-api:1.4.2" level="project" /> | |
258 | + <orderEntry type="library" name="Maven: io.prometheus:simpleclient:0.5.0" level="project" /> | |
259 | + <orderEntry type="library" name="Maven: org.apache.rocketmq:rocketmq-spring-boot-starter:2.2.0" level="project" /> | |
260 | + <orderEntry type="library" name="Maven: org.apache.rocketmq:rocketmq-spring-boot:2.2.0" level="project" /> | |
261 | + <orderEntry type="library" name="Maven: org.apache.rocketmq:rocketmq-client:4.8.0" level="project" /> | |
262 | + <orderEntry type="library" name="Maven: org.apache.rocketmq:rocketmq-common:4.8.0" level="project" /> | |
263 | + <orderEntry type="library" name="Maven: org.apache.rocketmq:rocketmq-acl:4.8.0" level="project" /> | |
264 | + <orderEntry type="library" name="Maven: org.apache.rocketmq:rocketmq-remoting:4.8.0" level="project" /> | |
265 | + <orderEntry type="library" name="Maven: io.netty:netty-tcnative-boringssl-static:2.0.26.Final" level="project" /> | |
266 | + <orderEntry type="library" name="Maven: org.apache.rocketmq:rocketmq-logging:4.8.0" level="project" /> | |
267 | + <orderEntry type="library" name="Maven: org.apache.rocketmq:rocketmq-srvutil:4.8.0" level="project" /> | |
268 | + <orderEntry type="library" name="Maven: commons-cli:commons-cli:1.2" level="project" /> | |
269 | + <orderEntry type="library" name="Maven: commons-validator:commons-validator:1.6" level="project" /> | |
270 | + <orderEntry type="library" name="Maven: io.micrometer:micrometer-registry-prometheus:1.3.1" level="project" /> | |
271 | + <orderEntry type="library" name="Maven: io.prometheus:simpleclient_common:0.7.0" level="project" /> | |
272 | + <orderEntry type="library" name="Maven: io.micrometer:micrometer-core:1.3.1" level="project" /> | |
273 | + <orderEntry type="library" name="Maven: org.hdrhistogram:HdrHistogram:2.1.11" level="project" /> | |
274 | + <orderEntry type="library" name="Maven: org.latencyutils:LatencyUtils:2.0.3" level="project" /> | |
275 | + <orderEntry type="library" name="Maven: org.apache.skywalking:apm-toolkit-trace:8.1.0" level="project" /> | |
276 | + <orderEntry type="library" name="Maven: com.tbc.app.km:km-api:6.0.0-SNAPSHOT" level="project" /> | |
277 | + <orderEntry type="library" name="Maven: org.apache.commons:commons-collections4:4.4" level="project" /> | |
278 | + <orderEntry type="library" name="Maven: com.tbc.paas.mc:mc-api:6.0.0-SNAPSHOT" level="project" /> | |
279 | + <orderEntry type="library" name="Maven: com.tbc.app.qa:qa-api:6.0.0-SNAPSHOT" level="project" /> | |
280 | + <orderEntry type="library" name="Maven: com.tbc.app.tms:tms-api:6.0.0-SNAPSHOT" level="project" /> | |
281 | + <orderEntry type="library" name="Maven: com.tbc.app.wb:wb-api:6.0.0-SNAPSHOT" level="project" /> | |
282 | + <orderEntry type="library" name="Maven: junit:junit:4.12" level="project" /> | |
283 | + <orderEntry type="library" name="Maven: org.hamcrest:hamcrest-core:2.1" level="project" /> | |
284 | + <orderEntry type="library" name="Maven: org.hamcrest:hamcrest:2.1" level="project" /> | |
285 | + <orderEntry type="library" name="Maven: com.tbc.paas.im:im-api:6.0.0-SNAPSHOT" level="project" /> | |
286 | + <orderEntry type="library" name="Maven: com.tbc.app.qsm:qsm-api:6.0.0-SNAPSHOT" level="project" /> | |
287 | + <orderEntry type="library" name="Maven: com.tbc.app.dsc:dsc-api:4.0.0-SNAPSHOT" level="project" /> | |
288 | + <orderEntry type="library" name="Maven: com.tbc.paas.paas-webutils:paas-webutils:6.1.0-SNAPSHOT" level="project" /> | |
289 | + <orderEntry type="library" name="Maven: com.tbc.paas.oms:oms-client:6.0.0-SNAPSHOT" level="project" /> | |
290 | + <orderEntry type="library" name="Maven: org.lockss:josql:2.2-p1" level="project" /> | |
291 | + <orderEntry type="library" name="Maven: jasperreports:jasperreports:0.6.6" level="project" /> | |
292 | + <orderEntry type="library" name="Maven: jdom:jdom:1.0" level="project" /> | |
293 | + <orderEntry type="library" name="Maven: jfree:jfreechart:1.0.0" level="project" /> | |
294 | + <orderEntry type="library" name="Maven: jfree:jcommon:1.0.0" level="project" /> | |
295 | + <orderEntry type="library" name="Maven: javax.servlet.jsp:jsp-api:2.0" level="project" /> | |
296 | + <orderEntry type="library" name="Maven: commons-fileupload:commons-fileupload:1.4" level="project" /> | |
297 | + <orderEntry type="library" name="Maven: com.tbc.paas.tag:tag-api:6.0.0-SNAPSHOT" level="project" /> | |
298 | + <orderEntry type="library" name="Maven: com.tbc.app.btm:btm-api:4.0.0-SNAPSHOT" level="project" /> | |
299 | + <orderEntry type="library" name="Maven: org.apache.ant:ant:1.10.5" level="project" /> | |
300 | + <orderEntry type="library" name="Maven: org.apache.ant:ant-launcher:1.10.5" level="project" /> | |
301 | + <orderEntry type="library" name="Maven: commons-io:commons-io:2.6" level="project" /> | |
302 | + <orderEntry type="library" name="Maven: com.tbc.app.xuemall:xuemall-api:4.0.0-SNAPSHOT" level="project" /> | |
303 | + <orderEntry type="library" name="Maven: com.tbc.paas.af:af-api:6.0.0-SNAPSHOT" level="project" /> | |
304 | + <orderEntry type="library" name="Maven: com.tbc.app.rms:tbc-rms-api:6.0.0-SNAPSHOT" level="project" /> | |
305 | + <orderEntry type="library" name="Maven: com.tbc.app.xfs:xfs-api:6.0.0-SNAPSHOT" level="project" /> | |
306 | + <orderEntry type="library" name="Maven: com.xuxueli:xxl-job-core:2.2.0" level="project" /> | |
307 | + <orderEntry type="library" name="Maven: org.codehaus.groovy:groovy:2.5.8" level="project" /> | |
308 | + <orderEntry type="library" name="Maven: com.tbc.app.tmtask:tmtask-api:6.0.0-SNAPSHOT" level="project" /> | |
309 | + <orderEntry type="library" name="Maven: com.tbc.app.ems:ems-api:4.0.0-SNAPSHOT" level="project" /> | |
310 | + <orderEntry type="library" name="Maven: net.sf.ehcache:ehcache-core:2.3.1" level="project" /> | |
311 | + <orderEntry type="library" name="Maven: ant:ant:1.6.5" level="project" /> | |
312 | + <orderEntry type="library" name="Maven: josql:josql:2.2" level="project" /> | |
313 | + <orderEntry type="library" name="Maven: javax.persistence:persistence-api:1.0.2" level="project" /> | |
314 | + <orderEntry type="library" name="Maven: commons-lang:commons-lang:2.5" level="project" /> | |
315 | + <orderEntry type="library" name="Maven: redis.clients:jedis:3.1.0" level="project" /> | |
316 | + <orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.29" level="project" /> | |
317 | + <orderEntry type="library" name="Maven: org.apache.commons:commons-pool2:2.7.0" level="project" /> | |
318 | + <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpclient:4.5.10" level="project" /> | |
319 | + <orderEntry type="library" name="Maven: commons-codec:commons-codec:1.13" level="project" /> | |
320 | + <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore:4.4.12" level="project" /> | |
321 | + <orderEntry type="library" name="Maven: com.tbc.framework.soa:soa-json:4.1.0-SNAPSHOT" level="project" /> | |
322 | + <orderEntry type="library" name="Maven: log4j:log4j:1.2.17" level="project" /> | |
323 | + <orderEntry type="library" name="Maven: net.sourceforge.jexcelapi:jxl:2.6" level="project" /> | |
324 | + <orderEntry type="library" name="Maven: net.sf.jxls:jxls-core:1.0-RC-2" level="project" /> | |
325 | + <orderEntry type="library" name="Maven: commons-logging:commons-logging:1.1.1" level="project" /> | |
326 | + <orderEntry type="library" name="Maven: commons-beanutils:commons-beanutils:1.8.2" level="project" /> | |
327 | + <orderEntry type="library" name="Maven: commons-collections:commons-collections:3.2.1" level="project" /> | |
328 | + <orderEntry type="library" name="Maven: commons-digester:commons-digester:2.0" level="project" /> | |
329 | + <orderEntry type="library" name="Maven: org.apache.commons:commons-jexl:2.0.1" level="project" /> | |
330 | + <orderEntry type="library" name="Maven: org.apache.poi:poi:3.6" level="project" /> | |
331 | + <orderEntry type="library" name="Maven: org.apache.poi:poi-ooxml:3.6" level="project" /> | |
332 | + <orderEntry type="library" name="Maven: org.apache.poi:poi-ooxml-schemas:3.6" level="project" /> | |
333 | + <orderEntry type="library" name="Maven: org.apache.xmlbeans:xmlbeans:2.3.0" level="project" /> | |
334 | + <orderEntry type="library" name="Maven: stax:stax-api:1.0.1" level="project" /> | |
335 | + <orderEntry type="library" name="Maven: org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:1.0" level="project" /> | |
336 | + <orderEntry type="library" name="Maven: dom4j:dom4j:1.6.1" level="project" /> | |
337 | + <orderEntry type="library" name="Maven: xml-apis:xml-apis:1.0.b2" level="project" /> | |
338 | + <orderEntry type="library" name="Maven: com.google.code.gson:gson:2.8.6" level="project" /> | |
339 | + <orderEntry type="library" name="Maven: com.swetake.util:qrcode:4.0.1" level="project" /> | |
340 | + <orderEntry type="library" name="Maven: com.alibaba.spring:spring-context-support:1.0.2" level="project" /> | |
341 | + <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter:2.2.1.RELEASE" level="project" /> | |
342 | + <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot:2.2.1.RELEASE" level="project" /> | |
343 | + <orderEntry type="library" name="Maven: org.springframework:spring-context:5.2.1.RELEASE" level="project" /> | |
344 | + <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-autoconfigure:2.2.1.RELEASE" level="project" /> | |
345 | + <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-logging:2.2.1.RELEASE" level="project" /> | |
346 | + <orderEntry type="library" name="Maven: ch.qos.logback:logback-classic:1.2.3" level="project" /> | |
347 | + <orderEntry type="library" name="Maven: ch.qos.logback:logback-core:1.2.3" level="project" /> | |
348 | + <orderEntry type="library" name="Maven: org.apache.logging.log4j:log4j-to-slf4j:2.12.1" level="project" /> | |
349 | + <orderEntry type="library" name="Maven: org.apache.logging.log4j:log4j-api:2.12.1" level="project" /> | |
350 | + <orderEntry type="library" name="Maven: org.slf4j:jul-to-slf4j:1.7.29" level="project" /> | |
351 | + <orderEntry type="library" name="Maven: jakarta.annotation:jakarta.annotation-api:1.3.5" level="project" /> | |
352 | + <orderEntry type="library" name="Maven: org.springframework:spring-core:5.2.1.RELEASE" level="project" /> | |
353 | + <orderEntry type="library" name="Maven: org.springframework:spring-jcl:5.2.1.RELEASE" level="project" /> | |
354 | + <orderEntry type="library" scope="RUNTIME" name="Maven: org.yaml:snakeyaml:1.25" level="project" /> | |
355 | + <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-web:2.2.1.RELEASE" level="project" /> | |
356 | + <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-json:2.2.1.RELEASE" level="project" /> | |
357 | + <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.10.0" level="project" /> | |
358 | + <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.10.0" level="project" /> | |
359 | + <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-core:2.10.0" level="project" /> | |
360 | + <orderEntry type="library" name="Maven: com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.10.0" level="project" /> | |
361 | + <orderEntry type="library" name="Maven: com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.10.0" level="project" /> | |
362 | + <orderEntry type="library" name="Maven: com.fasterxml.jackson.module:jackson-module-parameter-names:2.10.0" level="project" /> | |
363 | + <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-tomcat:2.2.1.RELEASE" level="project" /> | |
364 | + <orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-core:9.0.27" level="project" /> | |
365 | + <orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-el:9.0.27" level="project" /> | |
366 | + <orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-websocket:9.0.27" level="project" /> | |
367 | + <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-validation:2.2.1.RELEASE" level="project" /> | |
368 | + <orderEntry type="library" name="Maven: jakarta.validation:jakarta.validation-api:2.0.1" level="project" /> | |
369 | + <orderEntry type="library" name="Maven: org.hibernate.validator:hibernate-validator:6.0.18.Final" level="project" /> | |
370 | + <orderEntry type="library" name="Maven: org.jboss.logging:jboss-logging:3.4.1.Final" level="project" /> | |
371 | + <orderEntry type="library" name="Maven: com.fasterxml:classmate:1.5.1" level="project" /> | |
372 | + <orderEntry type="library" name="Maven: org.springframework:spring-web:5.2.1.RELEASE" level="project" /> | |
373 | + <orderEntry type="library" name="Maven: org.springframework:spring-beans:5.2.1.RELEASE" level="project" /> | |
374 | + <orderEntry type="library" name="Maven: org.springframework:spring-webmvc:5.2.1.RELEASE" level="project" /> | |
375 | + <orderEntry type="library" name="Maven: org.springframework:spring-aop:5.2.1.RELEASE" level="project" /> | |
376 | + <orderEntry type="library" name="Maven: org.springframework:spring-expression:5.2.1.RELEASE" level="project" /> | |
377 | + <orderEntry type="library" scope="RUNTIME" name="Maven: org.springframework.boot:spring-boot-devtools:2.2.1.RELEASE" level="project" /> | |
378 | + <orderEntry type="library" name="Maven: org.projectlombok:lombok:1.18.10" level="project" /> | |
379 | + </component> | |
380 | +</module> | |
\ No newline at end of file | ... | ... |
pom.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" | |
3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
5 | + <modelVersion>4.0.0</modelVersion> | |
6 | + <parent> | |
7 | + <groupId>org.springframework.boot</groupId> | |
8 | + <artifactId>spring-boot-starter-parent</artifactId> | |
9 | + <version>2.2.1.RELEASE</version> | |
10 | + <relativePath/> <!-- lookup parent from repository --> | |
11 | + </parent> | |
12 | + <groupId>groupId</groupId> | |
13 | + <artifactId>elpSync</artifactId> | |
14 | + <version>1.0-SNAPSHOT</version> | |
15 | + | |
16 | + | |
17 | + | |
18 | + <dependencies> | |
19 | + | |
20 | + <dependency> | |
21 | + <groupId>com.tbc.paas.open</groupId> | |
22 | + <artifactId>open-sdk</artifactId> | |
23 | + <version>4.0.0-SNAPSHOT</version> | |
24 | + <exclusions> | |
25 | + <exclusion> | |
26 | + <artifactId>spring-context-support</artifactId> | |
27 | + <groupId>com.alibaba.spring</groupId> | |
28 | + </exclusion> | |
29 | + <exclusion> | |
30 | + <artifactId>fastjson</artifactId> | |
31 | + <groupId>com.alibaba</groupId> | |
32 | + </exclusion> | |
33 | + </exclusions> | |
34 | + </dependency> | |
35 | + <dependency> | |
36 | + <groupId>com.alibaba.spring</groupId> | |
37 | + <artifactId>spring-context-support</artifactId> | |
38 | + <version>1.0.2</version> | |
39 | + </dependency> | |
40 | + | |
41 | + <dependency> | |
42 | + <groupId>org.springframework.boot</groupId> | |
43 | + <artifactId>spring-boot-starter</artifactId> | |
44 | + </dependency> | |
45 | + <dependency> | |
46 | + <groupId>org.springframework.boot</groupId> | |
47 | + <artifactId>spring-boot-starter-web</artifactId> | |
48 | + </dependency> | |
49 | + <dependency> | |
50 | + <groupId>org.springframework.boot</groupId> | |
51 | + <artifactId>spring-boot-devtools</artifactId> | |
52 | + <scope>runtime</scope> | |
53 | + <optional>true</optional> | |
54 | + </dependency> | |
55 | + <dependency> | |
56 | + <groupId>org.projectlombok</groupId> | |
57 | + <artifactId>lombok</artifactId> | |
58 | + <optional>true</optional> | |
59 | + </dependency> | |
60 | + <!-- <dependency> | |
61 | + <groupId>org.springframework.boot</groupId> | |
62 | + <artifactId>spring-boot-starter-test</artifactId> | |
63 | + <scope>test</scope> | |
64 | + </dependency>--> | |
65 | + </dependencies> | |
66 | + <build> | |
67 | + <plugins> | |
68 | + <!-- <plugin> | |
69 | + <groupId>org.apache.maven.plugins</groupId> | |
70 | + <artifactId>maven-compiler-plugin</artifactId> | |
71 | + </plugin>--> | |
72 | + <plugin> | |
73 | + <groupId>org.springframework.boot</groupId> | |
74 | + <artifactId>spring-boot-maven-plugin</artifactId> | |
75 | + </plugin> | |
76 | + </plugins> | |
77 | + | |
78 | + </build> | |
79 | + | |
80 | +</project> | |
\ No newline at end of file | ... | ... |
src/main/java/com/ElpSyncApplication.java
0 → 100644
1 | +package com; | |
2 | + | |
3 | +import com.example.ElpSync; | |
4 | +import org.springframework.boot.SpringApplication; | |
5 | +import org.springframework.boot.autoconfigure.SpringBootApplication; | |
6 | + | |
7 | +import javax.xml.ws.Endpoint; | |
8 | + | |
9 | +/** | |
10 | + * @author wangkang | |
11 | + */ | |
12 | +@SpringBootApplication | |
13 | +public class ElpSyncApplication { | |
14 | + | |
15 | + public static void main(String[] args) { | |
16 | + try { | |
17 | + Object implementor = new ElpSync(); | |
18 | + String address = "http://10.7.11.162:8090/ElpSync"; | |
19 | + //String address = "http://localhost:8090/ElpSync"; | |
20 | + Endpoint.publish(address, implementor); | |
21 | + } catch (Exception e) { | |
22 | + /* e.printStackTrace();*/ | |
23 | + } | |
24 | + SpringApplication.run(ElpSyncApplication.class, args); | |
25 | + } | |
26 | + | |
27 | +} | ... | ... |
src/main/java/com/example/ElpSync.java
0 → 100644
1 | +package com.example; | |
2 | + | |
3 | +import com.model.UserInfo; | |
4 | + | |
5 | +import javax.jws.WebMethod; | |
6 | +import javax.jws.WebService; | |
7 | +import javax.xml.ws.Endpoint; | |
8 | + | |
9 | +/** | |
10 | + * Created by wangkang | |
11 | + * Date :2021/10/27 | |
12 | + * Version :1.0 | |
13 | + * @author wangkang | |
14 | + */ | |
15 | +@WebService() | |
16 | +public class ElpSync { | |
17 | + SyncService syncService = new SyncServiceImpl(); | |
18 | + | |
19 | + @WebMethod | |
20 | + public String syncOrganize(UserInfo userInfo) { | |
21 | + String result = "Hello, syncOrganize, from " + userInfo.toString(); | |
22 | + System.out.println(result); | |
23 | +// String s = syncService.syncOrganize(data); | |
24 | + // System.out.println("s" + s); | |
25 | + return result; | |
26 | + } | |
27 | + @WebMethod | |
28 | + public String sysUser(UserInfo userInfo) { | |
29 | + String result = "Hello, sysUser, from " + userInfo.toString(); | |
30 | + System.out.println(result); | |
31 | + String s = syncService.syncUser(userInfo.toString()); | |
32 | + // System.out.println("s" + s); | |
33 | + return result; | |
34 | + } | |
35 | + public static void main(String[] argv) { | |
36 | + Object implementor = new ElpSync(); | |
37 | + String address = "http://localhost:9990/ElpSync"; | |
38 | + Endpoint.publish(address, implementor); | |
39 | + } | |
40 | +} | ... | ... |
src/main/java/com/example/SyncService.java
0 → 100644
1 | +/** | |
2 | + * Copyright (C) 2004-2018 ALL Rights Reserved | |
3 | + */ | |
4 | +package com.example; | |
5 | + | |
6 | +import com.model.UserInfo; | |
7 | + | |
8 | +import javax.jws.WebMethod; | |
9 | +import javax.jws.WebService; | |
10 | + | |
11 | + | |
12 | +/** | |
13 | + * | |
14 | + * @author chenchao@HF | |
15 | + * @since 2018-04-03 17:59:40 | |
16 | + * | |
17 | + */ | |
18 | +@WebService( | |
19 | + name = "SyncService", | |
20 | + targetNamespace = "http://webService.project.machinery.ctcemti.com") | |
21 | +public interface SyncService { | |
22 | + | |
23 | + /** | |
24 | + * 同步组织接口 | |
25 | + * @param userInfo 传递过来的组织数据 | |
26 | + */ | |
27 | + | |
28 | + @WebMethod | |
29 | + String syncOrganize(UserInfo userInfo); | |
30 | + | |
31 | + | |
32 | + /** | |
33 | + * 同步岗位接口 | |
34 | + * @param positionData 传递过来的岗位数据 | |
35 | + */ | |
36 | + | |
37 | + @WebMethod | |
38 | + String syncPosition(String positionData); | |
39 | + | |
40 | + /** | |
41 | + * 同步人员接口 | |
42 | + * @param userInfo 传递过来的人员数据 | |
43 | + */ | |
44 | + @WebMethod | |
45 | + String syncUser(String userInfo); | |
46 | + | |
47 | + | |
48 | + | |
49 | + | |
50 | +} | |
51 | + | ... | ... |
1 | +/** | |
2 | + * Copyright (C) 2004-2018 ALL Rights Reserved | |
3 | + */ | |
4 | +package com.example; | |
5 | + | |
6 | +import com.model.UserInfo; | |
7 | +import com.tbc.paas.open.domain.uc.OpenOrganize; | |
8 | +import com.tbc.paas.open.domain.uc.OpenPosition; | |
9 | +import com.tbc.paas.open.domain.uc.OpenUser; | |
10 | +import com.tbc.paas.open.service.uc.OpenOrganizeService; | |
11 | +import com.tbc.paas.open.service.uc.OpenPositionService; | |
12 | +import com.tbc.paas.open.service.uc.OpenUserService; | |
13 | +import com.tbc.paas.sdk.core.ServiceManager; | |
14 | +import com.tbc.paas.sdk.util.SdkContext; | |
15 | +import org.apache.commons.collections.CollectionUtils; | |
16 | +import org.apache.commons.collections.MapUtils; | |
17 | +import org.apache.commons.lang.StringUtils; | |
18 | +import org.apache.commons.logging.Log; | |
19 | +import org.apache.commons.logging.LogFactory; | |
20 | +import org.dom4j.*; | |
21 | + | |
22 | +import javax.jws.WebService; | |
23 | +import java.io.BufferedWriter; | |
24 | +import java.io.File; | |
25 | +import java.io.FileWriter; | |
26 | +import java.io.IOException; | |
27 | +import java.text.DateFormat; | |
28 | +import java.text.SimpleDateFormat; | |
29 | +import java.util.*; | |
30 | + | |
31 | +/** | |
32 | + * @author ChenChao | |
33 | + * @since 2018-04-16 10:11:26 | |
34 | + */ | |
35 | +@WebService | |
36 | +public class SyncServiceImpl implements SyncService { | |
37 | + private static String corp_code = "tbea.com"; | |
38 | + private static Log logger = LogFactory.getLog(SyncServiceImpl.class); | |
39 | + | |
40 | + private static void initSdk() { | |
41 | + | |
42 | + SdkContext.serverName = "v4.21tb.com"; | |
43 | + SdkContext.appKey = "A10808C03FD84ED8ACBE1D31E03AF25F"; | |
44 | + SdkContext.appSecret = "281B7CB1AF6C4AAC9F693434B6920699"; | |
45 | + } | |
46 | + | |
47 | + @Override | |
48 | + public String syncOrganize(UserInfo userInfo) { | |
49 | + logger.info("********************************sync organize began *************************"); | |
50 | + logger.info("userInfo : " + userInfo.toString()); | |
51 | + | |
52 | + logger.info("--------start writer org xml to file"); | |
53 | + //writerXmlResultToFile(userInfo, "org"); | |
54 | + logger.info("--------writer org xml to file end"); | |
55 | + return "123"; | |
56 | + /* initSdk(); | |
57 | + *//* return null;*//* | |
58 | + Document document = null; | |
59 | + HashMap<String, Map<String,String>> dataMap = new HashMap<String, Map<String,String>>(); | |
60 | + Map<String, String> uuidMap = new HashMap<String, String>(); | |
61 | + try { | |
62 | + document = DocumentHelper.parseText(organizeDate); | |
63 | + Element rootElt = document.getRootElement(); | |
64 | + getOrganizeNodes(rootElt, dataMap); | |
65 | + getDataInfosUUId(rootElt, uuidMap); | |
66 | + } catch (DocumentException e) { | |
67 | + logger.error("analysis organize xml Data false!",e); | |
68 | + e.printStackTrace(); | |
69 | + } | |
70 | + | |
71 | + String uuid = uuidMap.get("UUID"); | |
72 | + logger.info("+++++++++++++++++++++++datainfos uuid = :" + uuid); | |
73 | + | |
74 | + if (MapUtils.isEmpty(dataMap)) { | |
75 | + logger.info("dataMap is null when syncOrganize"); | |
76 | + return getReturnData("E",uuid); | |
77 | + } | |
78 | + | |
79 | + List<OpenOrganize> organizes = new ArrayList<OpenOrganize>(); | |
80 | + Map<String, String> uuidAndOrganizeCodeMap = new HashMap<String, String>(dataMap.size()); | |
81 | + StringBuilder stringBuilder = new StringBuilder(); | |
82 | + for (String keyString : dataMap.keySet()) { | |
83 | + OpenOrganize openOrganize = new OpenOrganize(); | |
84 | + Map<String, String> organizeDateMap = dataMap.get(keyString); | |
85 | + String organizeName = dealString(organizeDateMap.get("DESC1"),50); | |
86 | + String organizeCode = dealString(organizeDateMap.get("CODE"),50); | |
87 | + String parentCode = dealString(organizeDateMap.get("PARENTCODE"),50); | |
88 | + uuidAndOrganizeCodeMap.put(organizeCode, keyString); | |
89 | + | |
90 | + if (StringUtils.isBlank(organizeName) || StringUtils.isBlank(organizeCode)) { | |
91 | + logger.info("necessary data is null when organizeName = " + organizeName + " ;organizeCode = " + organizeCode); | |
92 | + continue; | |
93 | + } | |
94 | + | |
95 | + if (StringUtils.isBlank(parentCode) || parentCode.equals(organizeCode)) { | |
96 | + logger.info("root organize is organizeName = " + organizeName + " ;organizeCode = " + organizeCode + " ;parentCode = " + parentCode); | |
97 | + parentCode = "*"; | |
98 | + } | |
99 | + | |
100 | + openOrganize.setCorpCode(corp_code); | |
101 | + openOrganize.setOrganizeCode(organizeCode); | |
102 | + openOrganize.setOrganizeName(organizeName); | |
103 | + openOrganize.setParentCode(parentCode); | |
104 | + stringBuilder.append(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>> organizeCode:"+organizeCode+" ; organizeName:"+organizeName+" ; parentCode:"+parentCode); | |
105 | + organizes.add(openOrganize); | |
106 | + } | |
107 | + try { | |
108 | + logger.info("--------start writer org xml to file"); | |
109 | + writerXmlResultToFile(stringBuilder.toString(), "orgSync"); | |
110 | + logger.info("--------writer org xml to file end"); | |
111 | + } catch (IOException e) { | |
112 | + logger.error("--------writer org xml to file exception", e); | |
113 | + } | |
114 | + if (CollectionUtils.isEmpty(organizes)) { | |
115 | + logger.info("******************************** need sync organizes num is null"); | |
116 | + return getReturnData("E",uuid); | |
117 | + } | |
118 | + | |
119 | + logger.info("******************************** need sync organizes num is " + organizes.size()); | |
120 | + | |
121 | +// Map<String, String> dateMap = syncOrganizePort(organizes); | |
122 | + OpenOrganizeService openOrganizeService = ServiceManager.getService(OpenOrganizeService.class); | |
123 | + Map<String, String> dateMap = openOrganizeService.syncOrganizes(organizes); | |
124 | + | |
125 | + int successNum = 0; | |
126 | + Map<String, String> uuidAndStatus = new HashMap<String, String>(uuidAndOrganizeCodeMap.size()); | |
127 | + for (String organizeCode : uuidAndOrganizeCodeMap.keySet()) { | |
128 | + String value = dateMap.get(organizeCode); | |
129 | + if (StringUtils.isBlank(value)) { | |
130 | + uuidAndStatus.put(uuidAndOrganizeCodeMap.get(organizeCode), "ERROR"); | |
131 | + | |
132 | + } else if (value.toLowerCase().contains("error")) { | |
133 | + uuidAndStatus.put(uuidAndOrganizeCodeMap.get(organizeCode), value); | |
134 | + | |
135 | + } else { | |
136 | + uuidAndStatus.put(uuidAndOrganizeCodeMap.get(organizeCode), "SUCCESS"); | |
137 | + successNum++; | |
138 | + } | |
139 | + } | |
140 | + | |
141 | + logger.info("******************************** sync organizes success num is " + successNum); | |
142 | + logger.info("******************************** organize sync end *****************************"); | |
143 | + if (successNum > 0) { | |
144 | + return getReturnData("S",uuidAndStatus,uuid); | |
145 | + } | |
146 | + | |
147 | + return getReturnData("E",uuidAndStatus,uuid);*/ | |
148 | + } | |
149 | + | |
150 | + @Override | |
151 | + public String syncPosition(String positionData) { | |
152 | + logger.info("********************************sync position began *************************"); | |
153 | + logger.info("positionDate : " + positionData); | |
154 | + try { | |
155 | + logger.info("--------start writer position xml to file"); | |
156 | + writerXmlResultToFile(positionData, "position"); | |
157 | + logger.info("--------writer position xml to file end"); | |
158 | + } catch (IOException e) { | |
159 | + logger.error("--------writer position xml to file exception", e); | |
160 | + } | |
161 | + initSdk(); | |
162 | + Document document = null; | |
163 | + HashMap<String, Map<String, String>> dataMap = new HashMap<String, Map<String, String>>(); | |
164 | + Map<String, String> uuidMap = new HashMap<String, String>(); | |
165 | + try { | |
166 | + document = DocumentHelper.parseText(positionData); | |
167 | + Element rootElt = document.getRootElement(); | |
168 | + getPositionNodes(rootElt, dataMap); | |
169 | + getDataInfosUUId(rootElt, uuidMap); | |
170 | + } catch (DocumentException e) { | |
171 | + logger.error("analysis position xml Data false!", e); | |
172 | + e.printStackTrace(); | |
173 | + } | |
174 | + | |
175 | + String uuid = uuidMap.get("UUID"); | |
176 | + logger.info("+++++++++++++++++++++++ uuid = :" + uuid); | |
177 | + | |
178 | + if (MapUtils.isEmpty(dataMap)) { | |
179 | + logger.info("dataMap is null when syncPosition"); | |
180 | + return getReturnData("E", uuid); | |
181 | + } | |
182 | + | |
183 | + ArrayList<OpenPosition> openPositions = new ArrayList<OpenPosition>(); | |
184 | + Map<String, String> uuidAndPositionCodeMap = new HashMap<String, String>(dataMap.size()); | |
185 | + StringBuilder stringBuilder = new StringBuilder(); | |
186 | + for (String keyString : dataMap.keySet()) { | |
187 | + OpenPosition openPosition = new OpenPosition(); | |
188 | + Map<String, String> positionDateMap = dataMap.get(keyString); | |
189 | + String positionName = dealString(positionDateMap.get("DESC1"), 50); | |
190 | + String positionCode = dealString(positionDateMap.get("CODE"), 50); | |
191 | + String categoryName = dealString(positionDateMap.get("DESC11"), 50); | |
192 | + String categoryCode = dealString(positionDateMap.get("DESC10"), 50); | |
193 | + uuidAndPositionCodeMap.put(positionCode, keyString); | |
194 | + if (StringUtils.isBlank(positionName) || StringUtils.isBlank(positionCode)) { | |
195 | + logger.info("necessary data is null when positionName = " + positionName + " ;positionCode = " + positionCode | |
196 | + + " ;categoryName = " + categoryName + " ;categoryCode = " + categoryCode); | |
197 | + continue; | |
198 | + } | |
199 | + | |
200 | + if (StringUtils.isBlank(categoryName) || StringUtils.isBlank(categoryCode)) { | |
201 | + categoryName = "特变电工岗位类别"; | |
202 | + categoryCode = "特变电工岗位类别编码"; | |
203 | + } | |
204 | + | |
205 | + openPosition.setCorpCode(corp_code); | |
206 | + openPosition.setPositionName(positionName); | |
207 | + openPosition.setPositionCode(positionCode); | |
208 | + openPosition.setCategoryName(categoryName); | |
209 | + openPosition.setCategoryCode(categoryCode); | |
210 | + stringBuilder.append("+++++++++++++++++++++++++++ positionName:" + positionName + " ; positionCode:" + positionCode + " ; categoryName:" + categoryName + " ; categoryCode:" + categoryCode); | |
211 | + openPositions.add(openPosition); | |
212 | + } | |
213 | + try { | |
214 | + logger.info("--------start writer position xml to file"); | |
215 | + writerXmlResultToFile(stringBuilder.toString(), "positionSync"); | |
216 | + logger.info("--------writer position xml to file end"); | |
217 | + } catch (IOException e) { | |
218 | + logger.error("--------writer position xml to file exception", e); | |
219 | + } | |
220 | + if (CollectionUtils.isEmpty(openPositions)) { | |
221 | + logger.info("******************************** need sync position num is null"); | |
222 | + return getReturnData("E", uuid); | |
223 | + } | |
224 | + | |
225 | + logger.info("******************************** need sync position num is " + openPositions.size()); | |
226 | + | |
227 | +// Map<String, String> positionCodeAndIdMap = syncPositionPort(openPositions); | |
228 | + OpenPositionService openPositionService = ServiceManager.getService(OpenPositionService.class); | |
229 | + Map<String, String> positionCodeAndIdMap = openPositionService.syncPositions(openPositions); | |
230 | + | |
231 | + int successNum = 0; | |
232 | + Map<String, String> uuidAndStatus = new HashMap<String, String>(uuidAndPositionCodeMap.size()); | |
233 | + for (String positionCode : uuidAndPositionCodeMap.keySet()) { | |
234 | + String value = positionCodeAndIdMap.get(positionCode); | |
235 | + if (StringUtils.isBlank(value)) { | |
236 | + uuidAndStatus.put(uuidAndPositionCodeMap.get(positionCode), "ERROR"); | |
237 | + | |
238 | + } else if (value.toLowerCase().contains("error")) { | |
239 | + uuidAndStatus.put(uuidAndPositionCodeMap.get(positionCode), value); | |
240 | + | |
241 | + } else { | |
242 | + uuidAndStatus.put(uuidAndPositionCodeMap.get(positionCode), "SUCCESS"); | |
243 | + successNum++; | |
244 | + } | |
245 | + } | |
246 | + | |
247 | + logger.info("******************************** position sync success num is " + successNum); | |
248 | + logger.info("******************************** position sync end *****************************"); | |
249 | + | |
250 | + if (successNum > 0) { | |
251 | + return getReturnData("S", uuidAndStatus, uuid); | |
252 | + } | |
253 | + return getReturnData("E", uuidAndStatus, uuid); | |
254 | + } | |
255 | + | |
256 | + | |
257 | + @Override | |
258 | + public String syncUser(String userData) { | |
259 | + logger.info("********************************sync user began *************************"); | |
260 | + logger.info("userData : " + userData); | |
261 | + userData = userData.replaceAll("<", "<").replaceAll(">", ">"); | |
262 | + try { | |
263 | + logger.info("--------start writer user xml to file"); | |
264 | + writerXmlResultToFile(userData, "user"); | |
265 | + logger.info("--------writer user xml to file end"); | |
266 | + } catch (IOException e) { | |
267 | + logger.error("--------writer user xml to file exception", e); | |
268 | + } | |
269 | + return "2222"; | |
270 | + /*initSdk(); | |
271 | + | |
272 | + Document document = null; | |
273 | + HashMap<String, Map<String, String>> dataMap = new HashMap<String, Map<String, String>>(); | |
274 | + Map<String, String> uuidMap = new HashMap<String, String>(); | |
275 | + try { | |
276 | + document = DocumentHelper.parseText(userData); | |
277 | + Element rootElt = document.getRootElement(); | |
278 | + getUserNodes(rootElt, dataMap); | |
279 | + getDataInfosUUId(rootElt, uuidMap); | |
280 | + } catch (DocumentException e) { | |
281 | + logger.error("analysis user xml Data false!", e); | |
282 | + e.printStackTrace(); | |
283 | + } | |
284 | + | |
285 | + String uuid = uuidMap.get("UUID"); | |
286 | + logger.info("+++++++++++++++++++++++ uuid = :" + uuid); | |
287 | + | |
288 | + if (MapUtils.isEmpty(dataMap)) { | |
289 | + logger.info("dataMap is null when syncUser"); | |
290 | + return getReturnData("E", uuid); | |
291 | + } | |
292 | + | |
293 | + ArrayList<OpenUser> openUsers = new ArrayList<OpenUser>(); | |
294 | + Map<String, String> uuidAndEmployeeCodeMap = new HashMap<String, String>(dataMap.size()); | |
295 | + StringBuilder stringBuilder = new StringBuilder(""); | |
296 | + for (String keyString : dataMap.keySet()) { | |
297 | + OpenUser openUser = new OpenUser(); | |
298 | + Map<String, String> userDateMap = dataMap.get(keyString); | |
299 | + String employeeCode = dealString(userDateMap.get("DESC1"), 32); | |
300 | + String username = dealString(userDateMap.get("DESC2"), 50); | |
301 | + String organizeCode = dealString(userDateMap.get("DESC8"), 50); | |
302 | + String loginName = dealString(userDateMap.get("CODE"), 50); | |
303 | + uuidAndEmployeeCodeMap.put(employeeCode, keyString); | |
304 | + | |
305 | + if (StringUtils.isBlank(employeeCode) || StringUtils.isBlank(username) || StringUtils.isBlank(organizeCode) || StringUtils.isBlank(loginName)) { | |
306 | + logger.warn("user can not sync because missing necessary data!"); | |
307 | + logger.warn("user employeeCode =" + employeeCode + "; username =" + username + "; organizeCode =" + organizeCode + "; loginName =" + loginName); | |
308 | + continue; | |
309 | + } | |
310 | + | |
311 | + openUser.setCorpCode(corp_code); | |
312 | + openUser.setEmployeeCode(employeeCode); | |
313 | + openUser.setLoginName(loginName); | |
314 | + openUser.setUserName(username); | |
315 | + openUser.setOrganizeCode(organizeCode); | |
316 | + | |
317 | + String accountStatus = dealString(userDateMap.get("DESC21"), 10); | |
318 | + if (StringUtils.isNotBlank(accountStatus) && "Y".equals(accountStatus.toUpperCase())) { | |
319 | + openUser.setAccountStatus("ENABLE"); | |
320 | + } else { | |
321 | + openUser.setAccountStatus("FORBIDDEN"); | |
322 | + } | |
323 | + | |
324 | + String sexString = dealString(userDateMap.get("DESC4"), 32); | |
325 | + if ("男".equals(sexString)) { | |
326 | + openUser.setSex("MAN"); | |
327 | + } else if ("女".equals(sexString)) { | |
328 | + openUser.setSex("WOMAN"); | |
329 | + } else { | |
330 | + openUser.setSex("OTHER"); | |
331 | + } | |
332 | + | |
333 | + | |
334 | + String idCard = dealString(userDateMap.get("DESC11"), 20); | |
335 | + String mobile = dealString(userDateMap.get("DESC12"), 32); | |
336 | + String email = dealString(userDateMap.get("DESC14"), 50); | |
337 | + String dutyLevel = dealString(userDateMap.get("DESC17"), 10); | |
338 | + String positionCode = dealString(userDateMap.get("DESC15"), 40); | |
339 | + | |
340 | + openUser.setIdCard(idCard); | |
341 | + openUser.setMobile(mobile); | |
342 | + openUser.setEmail(email); | |
343 | + openUser.setRank(dutyLevel); | |
344 | + openUser.setPositionCode(positionCode); | |
345 | + | |
346 | + String onBoadingString = dealString(userDateMap.get("DESC18"), 10); | |
347 | + Date onBoading = parseStringToDate(onBoadingString); | |
348 | + openUser.setOnBoarding(onBoading); | |
349 | + stringBuilder.append("----------------------->>>>>> employeeCode:" + employeeCode + " ; loginName:" + loginName + " ; username:" + username + " ; organizeCode:" + organizeCode + | |
350 | + " ; accountStatus:" + accountStatus + " ; organizeCode:" + organizeCode + " ; idCard:" + idCard + " ; positionCode:" + positionCode + " ; mobile:" + mobile); | |
351 | + openUsers.add(openUser); | |
352 | + } | |
353 | + try { | |
354 | + logger.info("--------start writer user xml to file"); | |
355 | + writerXmlResultToFile(stringBuilder.toString(), "userSync"); | |
356 | + logger.info("--------writer user xml to file end"); | |
357 | + } catch (IOException e) { | |
358 | + logger.error("--------writer user xml to file exception", e); | |
359 | + } | |
360 | + if (CollectionUtils.isEmpty(openUsers)) { | |
361 | + logger.info("******************************** need sync openUsers num is null"); | |
362 | + return getReturnData("E", uuid); | |
363 | + } | |
364 | + | |
365 | + logger.info("******************************** need sync openUsers num is " + openUsers.size()); | |
366 | + | |
367 | + Map<String, String> employeeCodeAndUserIdMap = syncUserPort(openUsers); | |
368 | + logger.info("******************************** openUsers sync success num is " + employeeCodeAndUserIdMap.size()); | |
369 | + Set<String> successEmployeeCode = employeeCodeAndUserIdMap.keySet(); | |
370 | + | |
371 | + Map<String, String> uuidAndStatus = new HashMap<String, String>(uuidAndEmployeeCodeMap.size()); | |
372 | + for (String employeeCode : uuidAndEmployeeCodeMap.keySet()) { | |
373 | + if (successEmployeeCode.contains(employeeCode)) { | |
374 | + uuidAndStatus.put(uuidAndEmployeeCodeMap.get(employeeCode), "SUCCESS"); | |
375 | + } else { | |
376 | + uuidAndStatus.put(uuidAndEmployeeCodeMap.get(employeeCode), "ERROR"); | |
377 | + } | |
378 | + } | |
379 | + | |
380 | + logger.info("******************************** openUsers sync end *****************************"); | |
381 | + | |
382 | + if (employeeCodeAndUserIdMap.size() > 0) { | |
383 | + return getReturnData("S", uuidAndStatus, uuid); | |
384 | + } | |
385 | + | |
386 | + return getReturnData("E", uuidAndStatus, uuid);*/ | |
387 | + } | |
388 | + | |
389 | + private static void getUserNodes(Element element, Map<String, Map<String, String>> dateMap) { | |
390 | + List<Element> listElement = element.elements(); | |
391 | + for (Element e : listElement) { | |
392 | + if ("DATAINFO".equals(e.getName())) { | |
393 | + List<Element> elements = e.elements(); | |
394 | + HashMap<String, String> userDataMap = new HashMap<String, String>(); | |
395 | + for (Element el : elements) { | |
396 | + String name = el.getName(); | |
397 | + if ("DESC1".equals(name)) { | |
398 | + //员工工号 | |
399 | + userDataMap.put("DESC1", el.getText()); | |
400 | + } | |
401 | + | |
402 | + if ("DESC2".equals(name)) { | |
403 | + //姓名 | |
404 | + userDataMap.put("DESC2", el.getText()); | |
405 | + } | |
406 | + | |
407 | + if ("DESC4".equals(name)) { | |
408 | + //性别 | |
409 | + userDataMap.put("DESC4", el.getText()); | |
410 | + } | |
411 | + | |
412 | + if ("DESC8".equals(name)) { | |
413 | + //所属部门编码 | |
414 | + userDataMap.put("DESC8", el.getText()); | |
415 | + } | |
416 | + | |
417 | + if ("DESC11".equals(name)) { | |
418 | + //证件号码 | |
419 | + userDataMap.put("DESC11", el.getText()); | |
420 | + } | |
421 | + | |
422 | + if ("DESC12".equals(name)) { | |
423 | + //手机 | |
424 | + userDataMap.put("DESC12", el.getText()); | |
425 | + } | |
426 | + | |
427 | + if ("DESC13".equals(name)) { | |
428 | + //电话号码 | |
429 | + userDataMap.put("DESC13", el.getText()); | |
430 | + } | |
431 | + | |
432 | + if ("DESC14".equals(name)) { | |
433 | + //电子邮箱 | |
434 | + userDataMap.put("DESC14", el.getText()); | |
435 | + } | |
436 | + | |
437 | + if ("DESC15".equals(name)) { | |
438 | + //岗位编码 | |
439 | + userDataMap.put("DESC15", el.getText()); | |
440 | + } | |
441 | + | |
442 | + if ("DESC17".equals(name)) { | |
443 | + //职务级别 | |
444 | + userDataMap.put("DESC17", el.getText()); | |
445 | + } | |
446 | + | |
447 | + if ("DESC18".equals(name)) { | |
448 | + //入职日期 | |
449 | + userDataMap.put("DESC18", el.getText()); | |
450 | + } | |
451 | + | |
452 | + if ("DESC21".equals(name)) { | |
453 | + //是否在岗 | |
454 | + userDataMap.put("DESC21", el.getText()); | |
455 | + } | |
456 | + | |
457 | + if ("CODE".equals(name)) { | |
458 | + //主编码 | |
459 | + userDataMap.put("CODE", el.getText()); | |
460 | + } | |
461 | + | |
462 | + if ("UUID".equals(name)) { | |
463 | + dateMap.put(el.getText(), userDataMap); | |
464 | + } | |
465 | + } | |
466 | + } | |
467 | + getUserNodes(e, dateMap); | |
468 | + | |
469 | + } | |
470 | + } | |
471 | + | |
472 | + private static void getOrganizeNodes(Element element, Map<String, Map<String, String>> dateMap) { | |
473 | + List<Element> listElement = element.elements(); | |
474 | + for (Element e : listElement) { | |
475 | + if ("DATAINFO".equals(e.getName())) { | |
476 | + List<Element> elements = e.elements(); | |
477 | + HashMap<String, String> organizeDataMap = new HashMap<String, String>(); | |
478 | + for (Element el : elements) { | |
479 | + String name = el.getName(); | |
480 | + if ("DESC1".equals(name)) { | |
481 | + organizeDataMap.put("DESC1", el.getText()); | |
482 | + } | |
483 | + if ("PARENTCODE".equals(name)) { | |
484 | + organizeDataMap.put("PARENTCODE", el.getText()); | |
485 | + } | |
486 | + | |
487 | + if ("CODE".equals(name)) { | |
488 | + organizeDataMap.put("CODE", el.getText()); | |
489 | + } | |
490 | + | |
491 | + if ("UUID".equals(name)) { | |
492 | + dateMap.put(el.getText(), organizeDataMap); | |
493 | + } | |
494 | + } | |
495 | + } | |
496 | + getOrganizeNodes(e, dateMap); | |
497 | + } | |
498 | + } | |
499 | + | |
500 | + private static void getPositionNodes(Element element, Map<String, Map<String, String>> dateMap) { | |
501 | + List<Element> listElement = element.elements(); | |
502 | + for (Element e : listElement) { | |
503 | + if ("DATAINFO".equals(e.getName())) { | |
504 | + List<Element> elements = e.elements(); | |
505 | + HashMap<String, String> positionDataMap = new HashMap<String, String>(); | |
506 | + for (Element el : elements) { | |
507 | + String name = el.getName(); | |
508 | + if ("DESC1".equals(name)) { | |
509 | + positionDataMap.put("DESC1", el.getText()); | |
510 | + } | |
511 | + if ("DESC10".equals(name)) { | |
512 | + positionDataMap.put("DESC10", el.getText()); | |
513 | + } | |
514 | + | |
515 | + if ("DESC11".equals(name)) { | |
516 | + positionDataMap.put("DESC11", el.getText()); | |
517 | + } | |
518 | + | |
519 | + if ("CODE".equals(name)) { | |
520 | + positionDataMap.put("CODE", el.getText()); | |
521 | + } | |
522 | + | |
523 | + if ("UUID".equals(name)) { | |
524 | + dateMap.put(el.getText(), positionDataMap); | |
525 | + } | |
526 | + } | |
527 | + } | |
528 | + getPositionNodes(e, dateMap); | |
529 | + } | |
530 | + } | |
531 | + | |
532 | + private static void getDataInfosUUId(Element element, Map<String, String> uuidMap) { | |
533 | + if ("DATAINFOS".equals(element.getName().toUpperCase())) { | |
534 | + Attribute uuid = element.attribute("uuid"); | |
535 | + if (uuid == null) { | |
536 | + uuid = element.attribute("UUID"); | |
537 | + } | |
538 | + | |
539 | + if (null != uuid) { | |
540 | + uuidMap.put("UUID", uuid.getText()); | |
541 | + } | |
542 | + | |
543 | + return; | |
544 | + } | |
545 | + | |
546 | + List<Element> listElement = element.elements(); | |
547 | + for (Element e : listElement) { | |
548 | + if ("DATAINFOS".equals(e.getName().toUpperCase())) { | |
549 | + Attribute uuid = e.attribute("uuid"); | |
550 | + if (uuid == null) { | |
551 | + uuid = e.attribute("UUID"); | |
552 | + } | |
553 | + | |
554 | + if (null != uuid) { | |
555 | + uuidMap.put("UUID", uuid.getText()); | |
556 | + } | |
557 | + } | |
558 | + getDataInfosUUId(e, uuidMap); | |
559 | + } | |
560 | + } | |
561 | + | |
562 | + | |
563 | + private static Map<String, String> syncOrganizePort(List<OpenOrganize> openOrganize) { | |
564 | + | |
565 | + OpenOrganizeService openOrganizeService = ServiceManager.getService(OpenOrganizeService.class); | |
566 | + int pageSize = 500; | |
567 | + int i = 1; | |
568 | + Map<String, String> result = new HashMap<String, String>(openOrganize.size()); | |
569 | + List<List<OpenOrganize>> organizeLists = separateIntoPieces(openOrganize, pageSize); | |
570 | + logger.info(" totalRound :" + organizeLists.size()); | |
571 | + | |
572 | + for (List<OpenOrganize> sub : organizeLists) { | |
573 | + logger.info("this is :" + i + " round"); | |
574 | + i++; | |
575 | + try { | |
576 | + Map<String, String> resultMap = openOrganizeService.syncOrganizes(sub); | |
577 | + if (MapUtils.isNotEmpty(resultMap)) { | |
578 | + result.putAll(resultMap); | |
579 | + } | |
580 | + } catch (Exception e) { | |
581 | + e.printStackTrace(); | |
582 | + } | |
583 | + } | |
584 | + return result; | |
585 | + } | |
586 | + | |
587 | + private static Map<String, String> syncUserPort(List<OpenUser> openUserList) { | |
588 | + OpenUserService openUserService = ServiceManager.getService(OpenUserService.class); | |
589 | + int pageSize = 200; | |
590 | + int i = 1; | |
591 | + Map<String, String> result = new HashMap<String, String>(openUserList.size()); | |
592 | + List<List<OpenUser>> userList = separateIntoPieces(openUserList, pageSize); | |
593 | + logger.info(" totalRound :" + userList.size()); | |
594 | + logger.info("========syn_start============"); | |
595 | + for (List<OpenUser> openUsers : userList) { | |
596 | + logger.info("this is :" + i + " round"); | |
597 | + i++; | |
598 | + try { | |
599 | + if (CollectionUtils.isEmpty(openUsers)) { | |
600 | + continue; | |
601 | + } | |
602 | + Map<String, String> dataResult = openUserService.syncUsers(openUsers, true); | |
603 | + if (MapUtils.isNotEmpty(dataResult)) { | |
604 | + result.putAll(dataResult); | |
605 | + } | |
606 | + } catch (Exception e) { | |
607 | + e.printStackTrace(); | |
608 | + } | |
609 | + } | |
610 | + return result; | |
611 | + } | |
612 | + | |
613 | + private static Map<String, String> syncPositionPort(List<OpenPosition> openPosition) { | |
614 | + OpenPositionService openPositionService = ServiceManager.getService(OpenPositionService.class); | |
615 | + int pageSize = 500; | |
616 | + int i = 1; | |
617 | + Map<String, String> result = new HashMap<String, String>(openPosition.size()); | |
618 | + List<List<OpenPosition>> positionLists = separateIntoPieces(openPosition, pageSize); | |
619 | + logger.info(" totalRound :" + positionLists.size()); | |
620 | + | |
621 | + for (List<OpenPosition> sub : positionLists) { | |
622 | + logger.info("this is :" + i + " round"); | |
623 | + i++; | |
624 | + try { | |
625 | + Map<String, String> resultMap = openPositionService.syncPositions(sub); | |
626 | + if (MapUtils.isNotEmpty(resultMap)) { | |
627 | + result.putAll(resultMap); | |
628 | + } | |
629 | + } catch (Exception e) { | |
630 | + e.printStackTrace(); | |
631 | + } | |
632 | + } | |
633 | + return result; | |
634 | + } | |
635 | + | |
636 | + private static <T> List<List<T>> separateIntoPieces(List<T> source, int pieceSize) { | |
637 | + List<List<T>> result = new ArrayList<List<T>>(); | |
638 | + int sourceSize = source.size(); | |
639 | + if (sourceSize <= pieceSize) { | |
640 | + result.add(source); | |
641 | + } else { | |
642 | + int piece = sourceSize / pieceSize; | |
643 | + int fromIndex = 0; | |
644 | + for (int i = 0; i < piece; i++) { | |
645 | + result.add(source.subList(fromIndex, fromIndex + pieceSize)); | |
646 | + fromIndex += pieceSize; | |
647 | + } | |
648 | + result.add(source.subList(fromIndex, sourceSize)); | |
649 | + } | |
650 | + return result; | |
651 | + } | |
652 | + | |
653 | + private static String dealString(String string, int num) { | |
654 | + if (null == string) { | |
655 | + return null; | |
656 | + } | |
657 | + if ("null".equals(string.toLowerCase())) { | |
658 | + return null; | |
659 | + } | |
660 | + | |
661 | + if (string.length() > num) { | |
662 | + logger.info("this data is too long : " + string); | |
663 | + return string.substring(0, num); | |
664 | + } | |
665 | + | |
666 | + return string; | |
667 | + } | |
668 | + | |
669 | + private static Date parseStringToDate(String string) { | |
670 | + if ("null".equals(string) || StringUtils.isBlank(string)) { | |
671 | + return null; | |
672 | + } | |
673 | + | |
674 | + Date date = null; | |
675 | + SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd"); | |
676 | + try { | |
677 | + date = simpleDateFormat.parse(string); | |
678 | + } catch (Exception e) { | |
679 | + e.printStackTrace(); | |
680 | + } | |
681 | + return date; | |
682 | + } | |
683 | + | |
684 | + private static String getReturnData(String code, String uuid) { | |
685 | + String returnData = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"; | |
686 | + return returnData + "<ESB>" + "<CODE>" + code + "</CODE>" + "<DESC>没有获取需要同步的数据<DESC>" + "<DATAINFOS UUID=\"" + uuid + "\">" + "</DATAINFOS></ESB>"; | |
687 | + } | |
688 | + | |
689 | + private static String getReturnData(String code, Map<String, String> uuidAndStatusMap, String uuid) { | |
690 | + String returnData = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"; | |
691 | + returnData += "<ESB>" + "<CODE>" + code + "</CODE>" + "<DATAINFOS UUID=\"" + uuid + "\">"; | |
692 | + for (String dataInfoUUID : uuidAndStatusMap.keySet()) { | |
693 | + String status = uuidAndStatusMap.get(dataInfoUUID); | |
694 | + if ("SUCCESS".equals(status)) { | |
695 | + returnData += "<DATAINFO uuid=\"" + dataInfoUUID + "\" status=\"0\" errorText=\"\"></DATAINFO>"; | |
696 | + } else if ("ERROR".equals(status)) { | |
697 | + returnData += "<DATAINFO uuid=\"" + dataInfoUUID + "\" status=\"1\" errorText=\"缺失必填数据或同步出错\"></DATAINFO>"; | |
698 | + } else { | |
699 | + returnData += "<DATAINFO uuid=\"" + dataInfoUUID + "\" status=\"1\" errorText=\"" + status + "\"></DATAINFO>"; | |
700 | + } | |
701 | + } | |
702 | + | |
703 | + returnData += "</DATAINFOS></ESB >"; | |
704 | + logger.info("-------------------------> returnData:" + returnData); | |
705 | + return returnData; | |
706 | + } | |
707 | + | |
708 | + private void writerXmlResultToFile(String xmlResult, String type) throws IOException { | |
709 | + BufferedWriter writer = null; | |
710 | + try { | |
711 | + writer = new BufferedWriter(new FileWriter(getFile(type), true)); | |
712 | + writer.write(xmlResult); | |
713 | + writer.flush(); | |
714 | + } catch (IOException e) { | |
715 | + e.printStackTrace(); | |
716 | + } finally { | |
717 | + if (writer != null) { | |
718 | + try { | |
719 | + writer.close(); | |
720 | + } catch (IOException e) { | |
721 | + e.printStackTrace(); | |
722 | + } | |
723 | + } | |
724 | + } | |
725 | + } | |
726 | + | |
727 | + private static final DateFormat dateFormat = new SimpleDateFormat("yyyyMMdd"); | |
728 | + | |
729 | + private File getFile(String type) throws IOException { | |
730 | + String today = dateFormat.format(new Date()); | |
731 | + String path = "xmlResult" + File.separator + today + File.separator + type + ".txt"; | |
732 | + File file = new File(path); | |
733 | + if (!file.exists()) { | |
734 | + File parentFile = file.getParentFile(); | |
735 | + if (!parentFile.exists()) { | |
736 | + parentFile.mkdirs(); | |
737 | + } | |
738 | + | |
739 | + file.createNewFile(); | |
740 | + } | |
741 | + | |
742 | + return file; | |
743 | + } | |
744 | + | |
745 | +} | ... | ... |
src/main/java/com/model/UserInfo.java
0 → 100644
1 | +package com.model; | |
2 | + | |
3 | +import lombok.Data; | |
4 | + | |
5 | +/** | |
6 | + * Created by wangkang | |
7 | + * Date :2021/10/28 | |
8 | + * Version :1.0 | |
9 | + * @author wangkang | |
10 | + */ | |
11 | +@Data | |
12 | +public class UserInfo { | |
13 | + /** | |
14 | + * 主数据系统中数据模型的编码 | |
15 | + */ | |
16 | + private String modelCode; | |
17 | + /** | |
18 | + * 数据 | |
19 | + */ | |
20 | + private String dataStr; | |
21 | + /** | |
22 | + * JSON | |
23 | + */ | |
24 | + private String dataType; | |
25 | + /** | |
26 | + * 1:生效,2:编辑中, 3:审核中 | |
27 | + */ | |
28 | + private String dataStatus; | |
29 | + /** | |
30 | + * 用户 | |
31 | + */ | |
32 | + private String userName; | |
33 | + /** | |
34 | + * 密码 | |
35 | + */ | |
36 | + private String password; | |
37 | +} | ... | ... |
src/main/resources/application.properties
0 → 100644
web/WEB-INF/sun-jaxws.xml
0 → 100644
web/WEB-INF/web.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" | |
3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
4 | + xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd" | |
5 | + version="4.0"> | |
6 | + <listener> | |
7 | + <listener-class>com.sun.xml.ws.transport.http.servlet.WSServletContextListener</listener-class> | |
8 | + </listener> | |
9 | + <servlet> | |
10 | + <description>JAX-WS endpoint</description> | |
11 | + <display-name>WSServlet</display-name> | |
12 | + <servlet-name>WSServlet</servlet-name> | |
13 | + <servlet-class>com.sun.xml.ws.transport.http.servlet.WSServlet</servlet-class> | |
14 | + <load-on-startup>1</load-on-startup> | |
15 | + </servlet> | |
16 | + <servlet-mapping> | |
17 | + <servlet-name>WSServlet</servlet-name> | |
18 | + <url-pattern>/services/*</url-pattern> | |
19 | + </servlet-mapping> | |
20 | +</web-app> | |
\ No newline at end of file | ... | ... |
web/index.jsp
0 → 100644
1 | +<%-- | |
2 | + Created by IntelliJ IDEA. | |
3 | + User: wangkang | |
4 | + Date: 2021/10/27 | |
5 | + Time: 10:53 | |
6 | + To change this template use File | Settings | File Templates. | |
7 | +--%> | |
8 | +<%@ page contentType="text/html;charset=UTF-8" language="java" %> | |
9 | +<html> | |
10 | + <head> | |
11 | + <title>$Title$</title> | |
12 | + </head> | |
13 | + <body> | |
14 | + $END$ | |
15 | + </body> | |
16 | +</html> | ... | ... |
xmlResult/20211027/org.txt
0 → 100644
1 | +123456123456123456123456123456123456 | |
\ No newline at end of file | ... | ... |
xmlResult/20211028/org.txt
0 → 100644
1 | +123456123456123456123456 | |
\ No newline at end of file | ... | ... |