Commit 2ba3d5fecf9b734b24e713a311d3a01102c2860d

Authored by litao
1 parent b27b9a099e

Merge branch 'master' of F:\soft\IntelliJ IDEA 2017.1.1\workspace\regional-platform3 with conflicts.

Showing 74 changed files with 1066 additions and 3 deletions

.idea/artifacts/platform_sync_data_war.xml View file @ 2ba3d5f
  1 +<component name="ArtifactManager">
  2 + <artifact type="war" name="platform-sync-data:war">
  3 + <output-path>$PROJECT_DIR$/platform-sync-data/target</output-path>
  4 + <root id="archive" name="platform-sync-data.war">
  5 + <element id="artifact" artifact-name="platform-sync-data:war exploded" />
  6 + </root>
  7 + </artifact>
  8 +</component>
.idea/libraries/Maven__ch_qos_logback_logback_classic_1_1_11.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: ch.qos.logback:logback-classic:1.1.11">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/ch/qos/logback/logback-classic/1.1.11/logback-classic-1.1.11.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/ch/qos/logback/logback-classic/1.1.11/logback-classic-1.1.11-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/ch/qos/logback/logback-classic/1.1.11/logback-classic-1.1.11-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__ch_qos_logback_logback_core_1_1_11.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: ch.qos.logback:logback-core:1.1.11">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/ch/qos/logback/logback-core/1.1.11/logback-core-1.1.11.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/ch/qos/logback/logback-core/1.1.11/logback-core-1.1.11-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/ch/qos/logback/logback-core/1.1.11/logback-core-1.1.11-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__com_alibaba_druid_1_0_31.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: com.alibaba:druid:1.0.31">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/com/alibaba/druid/1.0.31/druid-1.0.31.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/com/alibaba/druid/1.0.31/druid-1.0.31-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/com/alibaba/druid/1.0.31/druid-1.0.31-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__com_alibaba_fastjson_1_2_8.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: com.alibaba:fastjson:1.2.8">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/com/alibaba/fastjson/1.2.8/fastjson-1.2.8.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/com/alibaba/fastjson/1.2.8/fastjson-1.2.8-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/com/alibaba/fastjson/1.2.8/fastjson-1.2.8-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__com_jayway_jsonpath_json_path_2_2_0.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: com.jayway.jsonpath:json-path:2.2.0">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/com/jayway/jsonpath/json-path/2.2.0/json-path-2.2.0.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/com/jayway/jsonpath/json-path/2.2.0/json-path-2.2.0-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/com/jayway/jsonpath/json-path/2.2.0/json-path-2.2.0-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: com.vaadin.external.google:android-json:0.0.20131108.vaadin1">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/com/vaadin/external/google/android-json/0.0.20131108.vaadin1/android-json-0.0.20131108.vaadin1.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/com/vaadin/external/google/android-json/0.0.20131108.vaadin1/android-json-0.0.20131108.vaadin1-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/com/vaadin/external/google/android-json/0.0.20131108.vaadin1/android-json-0.0.20131108.vaadin1-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__junit_junit_4_12.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: junit:junit:4.12">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.12/junit-4.12.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.12/junit-4.12-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.12/junit-4.12-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__mysql_mysql_connector_java_5_1_41.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: mysql:mysql-connector-java:5.1.41">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/mysql/mysql-connector-java/5.1.41/mysql-connector-java-5.1.41.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/mysql/mysql-connector-java/5.1.41/mysql-connector-java-5.1.41-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/mysql/mysql-connector-java/5.1.41/mysql-connector-java-5.1.41-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__net_minidev_accessors_smart_1_1.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: net.minidev:accessors-smart:1.1">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/net/minidev/accessors-smart/1.1/accessors-smart-1.1.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/net/minidev/accessors-smart/1.1/accessors-smart-1.1-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/net/minidev/accessors-smart/1.1/accessors-smart-1.1-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__net_minidev_json_smart_2_2_1.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: net.minidev:json-smart:2.2.1">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/net/minidev/json-smart/2.2.1/json-smart-2.2.1.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/net/minidev/json-smart/2.2.1/json-smart-2.2.1-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/net/minidev/json-smart/2.2.1/json-smart-2.2.1-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_apache_commons_commons_collections4_4_1.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.apache.commons:commons-collections4:4.1">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-collections4/4.1/commons-collections4-4.1.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-collections4/4.1/commons-collections4-4.1-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-collections4/4.1/commons-collections4-4.1-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_apache_commons_commons_lang3_3_4.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.apache.commons:commons-lang3:3.4">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_apache_commons_commons_lang3_3_5.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.apache.commons:commons-lang3:3.5">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_apache_tomcat_tomcat_jdbc_8_5_14.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.apache.tomcat:tomcat-jdbc:8.5.14">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/apache/tomcat/tomcat-jdbc/8.5.14/tomcat-jdbc-8.5.14.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/apache/tomcat/tomcat-jdbc/8.5.14/tomcat-jdbc-8.5.14-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/apache/tomcat/tomcat-jdbc/8.5.14/tomcat-jdbc-8.5.14-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_apache_tomcat_tomcat_juli_8_5_14.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.apache.tomcat:tomcat-juli:8.5.14">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/apache/tomcat/tomcat-juli/8.5.14/tomcat-juli-8.5.14.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/apache/tomcat/tomcat-juli/8.5.14/tomcat-juli-8.5.14-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/apache/tomcat/tomcat-juli/8.5.14/tomcat-juli-8.5.14-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_aspectj_aspectjweaver_1_8_10.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.aspectj:aspectjweaver:1.8.10">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/aspectj/aspectjweaver/1.8.10/aspectjweaver-1.8.10.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/aspectj/aspectjweaver/1.8.10/aspectjweaver-1.8.10-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/aspectj/aspectjweaver/1.8.10/aspectjweaver-1.8.10-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_assertj_assertj_core_2_6_0.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.assertj:assertj-core:2.6.0">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/assertj/assertj-core/2.6.0/assertj-core-2.6.0.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/assertj/assertj-core/2.6.0/assertj-core-2.6.0-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/assertj/assertj-core/2.6.0/assertj-core-2.6.0-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_eclipse_jetty_jetty_continuation_9_3_8_v20160314.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.eclipse.jetty:jetty-continuation:9.3.8.v20160314">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/jetty/jetty-continuation/9.3.8.v20160314/jetty-continuation-9.3.8.v20160314.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/jetty/jetty-continuation/9.3.8.v20160314/jetty-continuation-9.3.8.v20160314-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/jetty/jetty-continuation/9.3.8.v20160314/jetty-continuation-9.3.8.v20160314-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_eclipse_jetty_jetty_http_9_3_8_v20160314.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.eclipse.jetty:jetty-http:9.3.8.v20160314">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/jetty/jetty-http/9.3.8.v20160314/jetty-http-9.3.8.v20160314.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/jetty/jetty-http/9.3.8.v20160314/jetty-http-9.3.8.v20160314-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/jetty/jetty-http/9.3.8.v20160314/jetty-http-9.3.8.v20160314-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_eclipse_jetty_jetty_io_9_3_8_v20160314.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.eclipse.jetty:jetty-io:9.3.8.v20160314">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/jetty/jetty-io/9.3.8.v20160314/jetty-io-9.3.8.v20160314.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/jetty/jetty-io/9.3.8.v20160314/jetty-io-9.3.8.v20160314-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/jetty/jetty-io/9.3.8.v20160314/jetty-io-9.3.8.v20160314-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_eclipse_jetty_jetty_servlets_9_3_8_v20160314.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.eclipse.jetty:jetty-servlets:9.3.8.v20160314">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/jetty/jetty-servlets/9.3.8.v20160314/jetty-servlets-9.3.8.v20160314.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/jetty/jetty-servlets/9.3.8.v20160314/jetty-servlets-9.3.8.v20160314-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/jetty/jetty-servlets/9.3.8.v20160314/jetty-servlets-9.3.8.v20160314-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_eclipse_jetty_jetty_util_9_3_8_v20160314.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.eclipse.jetty:jetty-util:9.3.8.v20160314">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/jetty/jetty-util/9.3.8.v20160314/jetty-util-9.3.8.v20160314.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/jetty/jetty-util/9.3.8.v20160314/jetty-util-9.3.8.v20160314-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/jetty/jetty-util/9.3.8.v20160314/jetty-util-9.3.8.v20160314-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.hamcrest:hamcrest-core:1.3">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_hamcrest_hamcrest_library_1_3.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.hamcrest:hamcrest-library:1.3">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_mockito_mockito_core_1_10_19.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.mockito:mockito-core:1.10.19">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/mockito/mockito-core/1.10.19/mockito-core-1.10.19.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/mockito/mockito-core/1.10.19/mockito-core-1.10.19-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/mockito/mockito-core/1.10.19/mockito-core-1.10.19-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_mongodb_bson_3_4_2.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.mongodb:bson:3.4.2">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/mongodb/bson/3.4.2/bson-3.4.2.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/mongodb/bson/3.4.2/bson-3.4.2-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/mongodb/bson/3.4.2/bson-3.4.2-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_mongodb_mongodb_driver_3_4_2.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.mongodb:mongodb-driver:3.4.2">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/mongodb/mongodb-driver/3.4.2/mongodb-driver-3.4.2.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/mongodb/mongodb-driver/3.4.2/mongodb-driver-3.4.2-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/mongodb/mongodb-driver/3.4.2/mongodb-driver-3.4.2-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_mongodb_mongodb_driver_core_3_4_2.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.mongodb:mongodb-driver-core:3.4.2">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/mongodb/mongodb-driver-core/3.4.2/mongodb-driver-core-3.4.2.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/mongodb/mongodb-driver-core/3.4.2/mongodb-driver-core-3.4.2-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/mongodb/mongodb-driver-core/3.4.2/mongodb-driver-core-3.4.2-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_mybatis_mybatis_3_4_2.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.mybatis:mybatis:3.4.2">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/mybatis/mybatis/3.4.2/mybatis-3.4.2.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/mybatis/mybatis/3.4.2/mybatis-3.4.2-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/mybatis/mybatis/3.4.2/mybatis-3.4.2-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_mybatis_mybatis_spring_1_3_1.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.mybatis:mybatis-spring:1.3.1">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/mybatis/mybatis-spring/1.3.1/mybatis-spring-1.3.1.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/mybatis/mybatis-spring/1.3.1/mybatis-spring-1.3.1-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/mybatis/mybatis-spring/1.3.1/mybatis-spring-1.3.1-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_mybatis_spring_boot_mybatis_spring_boot_autoconfigure_1_2_0.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-autoconfigure:1.2.0">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/mybatis/spring/boot/mybatis-spring-boot-autoconfigure/1.2.0/mybatis-spring-boot-autoconfigure-1.2.0.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/mybatis/spring/boot/mybatis-spring-boot-autoconfigure/1.2.0/mybatis-spring-boot-autoconfigure-1.2.0-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/mybatis/spring/boot/mybatis-spring-boot-autoconfigure/1.2.0/mybatis-spring-boot-autoconfigure-1.2.0-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_mybatis_spring_boot_mybatis_spring_boot_starter_1_2_0.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-starter:1.2.0">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/mybatis/spring/boot/mybatis-spring-boot-starter/1.2.0/mybatis-spring-boot-starter-1.2.0.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/mybatis/spring/boot/mybatis-spring-boot-starter/1.2.0/mybatis-spring-boot-starter-1.2.0-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/mybatis/spring/boot/mybatis-spring-boot-starter/1.2.0/mybatis-spring-boot-starter-1.2.0-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_objenesis_objenesis_2_1.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.objenesis:objenesis:2.1">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/objenesis/objenesis/2.1/objenesis-2.1.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/objenesis/objenesis/2.1/objenesis-2.1-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/objenesis/objenesis/2.1/objenesis-2.1-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_ow2_asm_asm_5_0_3.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.ow2.asm:asm:5.0.3">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/ow2/asm/asm/5.0.3/asm-5.0.3.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/ow2/asm/asm/5.0.3/asm-5.0.3-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/ow2/asm/asm/5.0.3/asm-5.0.3-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_skyscreamer_jsonassert_1_4_0.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.skyscreamer:jsonassert:1.4.0">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/skyscreamer/jsonassert/1.4.0/jsonassert-1.4.0.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/skyscreamer/jsonassert/1.4.0/jsonassert-1.4.0-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/skyscreamer/jsonassert/1.4.0/jsonassert-1.4.0-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_slf4j_jcl_over_slf4j_1_7_25.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.slf4j:jcl-over-slf4j:1.7.25">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/slf4j/jcl-over-slf4j/1.7.25/jcl-over-slf4j-1.7.25.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/slf4j/jcl-over-slf4j/1.7.25/jcl-over-slf4j-1.7.25-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/slf4j/jcl-over-slf4j/1.7.25/jcl-over-slf4j-1.7.25-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_25.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.slf4j:jul-to-slf4j:1.7.25">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/slf4j/jul-to-slf4j/1.7.25/jul-to-slf4j-1.7.25.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/slf4j/jul-to-slf4j/1.7.25/jul-to-slf4j-1.7.25-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/slf4j/jul-to-slf4j/1.7.25/jul-to-slf4j-1.7.25-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_slf4j_log4j_over_slf4j_1_7_25.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.slf4j:log4j-over-slf4j:1.7.25">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/slf4j/log4j-over-slf4j/1.7.25/log4j-over-slf4j-1.7.25.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/slf4j/log4j-over-slf4j/1.7.25/log4j-over-slf4j-1.7.25-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/slf4j/log4j-over-slf4j/1.7.25/log4j-over-slf4j-1.7.25-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_25.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.slf4j:slf4j-api:1.7.25">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_springframework_boot_spring_boot_1_5_3_RELEASE.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.springframework.boot:spring-boot:1.5.3.RELEASE">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot/1.5.3.RELEASE/spring-boot-1.5.3.RELEASE.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot/1.5.3.RELEASE/spring-boot-1.5.3.RELEASE-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot/1.5.3.RELEASE/spring-boot-1.5.3.RELEASE-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_springframework_boot_spring_boot_autoconfigure_1_5_3_RELEASE.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.springframework.boot:spring-boot-autoconfigure:1.5.3.RELEASE">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-autoconfigure/1.5.3.RELEASE/spring-boot-autoconfigure-1.5.3.RELEASE.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-autoconfigure/1.5.3.RELEASE/spring-boot-autoconfigure-1.5.3.RELEASE-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-autoconfigure/1.5.3.RELEASE/spring-boot-autoconfigure-1.5.3.RELEASE-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_springframework_boot_spring_boot_devtools_1_5_3_RELEASE.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.springframework.boot:spring-boot-devtools:1.5.3.RELEASE">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-devtools/1.5.3.RELEASE/spring-boot-devtools-1.5.3.RELEASE.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-devtools/1.5.3.RELEASE/spring-boot-devtools-1.5.3.RELEASE-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-devtools/1.5.3.RELEASE/spring-boot-devtools-1.5.3.RELEASE-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_1_5_3_RELEASE.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.springframework.boot:spring-boot-starter:1.5.3.RELEASE">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter/1.5.3.RELEASE/spring-boot-starter-1.5.3.RELEASE.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter/1.5.3.RELEASE/spring-boot-starter-1.5.3.RELEASE-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter/1.5.3.RELEASE/spring-boot-starter-1.5.3.RELEASE-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_aop_1_5_3_RELEASE.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.springframework.boot:spring-boot-starter-aop:1.5.3.RELEASE">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-aop/1.5.3.RELEASE/spring-boot-starter-aop-1.5.3.RELEASE.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-aop/1.5.3.RELEASE/spring-boot-starter-aop-1.5.3.RELEASE-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-aop/1.5.3.RELEASE/spring-boot-starter-aop-1.5.3.RELEASE-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_data_mongodb_1_5_2_RELEASE.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.springframework.boot:spring-boot-starter-data-mongodb:1.5.2.RELEASE">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-data-mongodb/1.5.2.RELEASE/spring-boot-starter-data-mongodb-1.5.2.RELEASE.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-data-mongodb/1.5.2.RELEASE/spring-boot-starter-data-mongodb-1.5.2.RELEASE-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-data-mongodb/1.5.2.RELEASE/spring-boot-starter-data-mongodb-1.5.2.RELEASE-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_jdbc_1_5_3_RELEASE.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.springframework.boot:spring-boot-starter-jdbc:1.5.3.RELEASE">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-jdbc/1.5.3.RELEASE/spring-boot-starter-jdbc-1.5.3.RELEASE.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-jdbc/1.5.3.RELEASE/spring-boot-starter-jdbc-1.5.3.RELEASE-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-jdbc/1.5.3.RELEASE/spring-boot-starter-jdbc-1.5.3.RELEASE-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_logging_1_5_3_RELEASE.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.springframework.boot:spring-boot-starter-logging:1.5.3.RELEASE">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-logging/1.5.3.RELEASE/spring-boot-starter-logging-1.5.3.RELEASE.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-logging/1.5.3.RELEASE/spring-boot-starter-logging-1.5.3.RELEASE-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-logging/1.5.3.RELEASE/spring-boot-starter-logging-1.5.3.RELEASE-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_test_1_5_3_RELEASE.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.springframework.boot:spring-boot-starter-test:1.5.3.RELEASE">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-test/1.5.3.RELEASE/spring-boot-starter-test-1.5.3.RELEASE.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-test/1.5.3.RELEASE/spring-boot-starter-test-1.5.3.RELEASE-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-test/1.5.3.RELEASE/spring-boot-starter-test-1.5.3.RELEASE-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_springframework_boot_spring_boot_test_1_5_3_RELEASE.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.springframework.boot:spring-boot-test:1.5.3.RELEASE">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-test/1.5.3.RELEASE/spring-boot-test-1.5.3.RELEASE.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-test/1.5.3.RELEASE/spring-boot-test-1.5.3.RELEASE-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-test/1.5.3.RELEASE/spring-boot-test-1.5.3.RELEASE-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_springframework_boot_spring_boot_test_autoconfigure_1_5_3_RELEASE.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.springframework.boot:spring-boot-test-autoconfigure:1.5.3.RELEASE">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-test-autoconfigure/1.5.3.RELEASE/spring-boot-test-autoconfigure-1.5.3.RELEASE.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-test-autoconfigure/1.5.3.RELEASE/spring-boot-test-autoconfigure-1.5.3.RELEASE-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-test-autoconfigure/1.5.3.RELEASE/spring-boot-test-autoconfigure-1.5.3.RELEASE-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_springframework_data_spring_data_commons_1_13_3_RELEASE.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.springframework.data:spring-data-commons:1.13.3.RELEASE">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/data/spring-data-commons/1.13.3.RELEASE/spring-data-commons-1.13.3.RELEASE.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/data/spring-data-commons/1.13.3.RELEASE/spring-data-commons-1.13.3.RELEASE-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/data/spring-data-commons/1.13.3.RELEASE/spring-data-commons-1.13.3.RELEASE-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_springframework_data_spring_data_mongodb_1_10_3_RELEASE.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.springframework.data:spring-data-mongodb:1.10.3.RELEASE">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/data/spring-data-mongodb/1.10.3.RELEASE/spring-data-mongodb-1.10.3.RELEASE.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/data/spring-data-mongodb/1.10.3.RELEASE/spring-data-mongodb-1.10.3.RELEASE-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/data/spring-data-mongodb/1.10.3.RELEASE/spring-data-mongodb-1.10.3.RELEASE-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_springframework_spring_aop_4_3_8_RELEASE.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.springframework:spring-aop:4.3.8.RELEASE">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-aop/4.3.8.RELEASE/spring-aop-4.3.8.RELEASE.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-aop/4.3.8.RELEASE/spring-aop-4.3.8.RELEASE-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-aop/4.3.8.RELEASE/spring-aop-4.3.8.RELEASE-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_springframework_spring_beans_4_3_8_RELEASE.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.springframework:spring-beans:4.3.8.RELEASE">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-beans/4.3.8.RELEASE/spring-beans-4.3.8.RELEASE.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-beans/4.3.8.RELEASE/spring-beans-4.3.8.RELEASE-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-beans/4.3.8.RELEASE/spring-beans-4.3.8.RELEASE-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_springframework_spring_context_4_3_8_RELEASE.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.springframework:spring-context:4.3.8.RELEASE">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-context/4.3.8.RELEASE/spring-context-4.3.8.RELEASE.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-context/4.3.8.RELEASE/spring-context-4.3.8.RELEASE-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-context/4.3.8.RELEASE/spring-context-4.3.8.RELEASE-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_springframework_spring_core_4_3_8_RELEASE.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.springframework:spring-core:4.3.8.RELEASE">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-core/4.3.8.RELEASE/spring-core-4.3.8.RELEASE.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-core/4.3.8.RELEASE/spring-core-4.3.8.RELEASE-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-core/4.3.8.RELEASE/spring-core-4.3.8.RELEASE-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_springframework_spring_expression_4_3_8_RELEASE.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.springframework:spring-expression:4.3.8.RELEASE">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-expression/4.3.8.RELEASE/spring-expression-4.3.8.RELEASE.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-expression/4.3.8.RELEASE/spring-expression-4.3.8.RELEASE-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-expression/4.3.8.RELEASE/spring-expression-4.3.8.RELEASE-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_springframework_spring_jdbc_4_3_8_RELEASE.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.springframework:spring-jdbc:4.3.8.RELEASE">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-jdbc/4.3.8.RELEASE/spring-jdbc-4.3.8.RELEASE.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-jdbc/4.3.8.RELEASE/spring-jdbc-4.3.8.RELEASE-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-jdbc/4.3.8.RELEASE/spring-jdbc-4.3.8.RELEASE-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_springframework_spring_test_4_3_8_RELEASE.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.springframework:spring-test:4.3.8.RELEASE">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-test/4.3.8.RELEASE/spring-test-4.3.8.RELEASE.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-test/4.3.8.RELEASE/spring-test-4.3.8.RELEASE-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-test/4.3.8.RELEASE/spring-test-4.3.8.RELEASE-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_springframework_spring_tx_4_3_8_RELEASE.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.springframework:spring-tx:4.3.8.RELEASE">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-tx/4.3.8.RELEASE/spring-tx-4.3.8.RELEASE.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-tx/4.3.8.RELEASE/spring-tx-4.3.8.RELEASE-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-tx/4.3.8.RELEASE/spring-tx-4.3.8.RELEASE-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
.idea/libraries/Maven__org_yaml_snakeyaml_1_17.xml View file @ 2ba3d5f
  1 +<component name="libraryTable">
  2 + <library name="Maven: org.yaml:snakeyaml:1.17">
  3 + <CLASSES>
  4 + <root url="jar://$MAVEN_REPOSITORY$/org/yaml/snakeyaml/1.17/snakeyaml-1.17.jar!/" />
  5 + </CLASSES>
  6 + <JAVADOC>
  7 + <root url="jar://$MAVEN_REPOSITORY$/org/yaml/snakeyaml/1.17/snakeyaml-1.17-javadoc.jar!/" />
  8 + </JAVADOC>
  9 + <SOURCES>
  10 + <root url="jar://$MAVEN_REPOSITORY$/org/yaml/snakeyaml/1.17/snakeyaml-1.17-sources.jar!/" />
  11 + </SOURCES>
  12 + </library>
  13 +</component>
platform-operate-api/pom.xml View file @ 2ba3d5f
... ... @@ -138,7 +138,7 @@
138 138 <version>9.3.8.v20160314</version>
139 139 <configuration>
140 140 <httpConnector>
141   - <port>9090</port>
  141 + <port>9091</port>
142 142 </httpConnector>
143 143 <webAppConfig>
144 144 <contextPath>/</contextPath>
platform-operate-api/src/main/webapp/WEB-INF/web.xml View file @ 2ba3d5f
... ... @@ -48,6 +48,30 @@
48 48 </filter-mapping>
49 49  
50 50 -->
  51 +
  52 + <!-- 让jetty支持跨域访问 -->
  53 + <filter>
  54 + <filter-name>cross-origin</filter-name>
  55 + <filter-class>org.eclipse.jetty.servlets.CrossOriginFilter</filter-class>
  56 + <init-param>
  57 + <param-name>allowedOrigins</param-name>
  58 + <param-value>*</param-value>
  59 + </init-param>
  60 + <init-param>
  61 + <param-name>allowedMethods</param-name>
  62 + <param-value>GET,POST,HEAD,OPTIONS,PUT,DELETE</param-value>
  63 + </init-param>
  64 + <init-param>
  65 + <param-name>allowedHeaders</param-name>
  66 + <param-value>Content-Type,X-Requested-With,accept,Origin,Access-Control-Request-Method,Access-Control-Request-Headers,authorization</param-value>
  67 + </init-param>
  68 + </filter>
  69 + <!-- 此处表示jetty中的所有url都可以支持跨域 -->
  70 + <filter-mapping>
  71 + <filter-name>cross-origin</filter-name>
  72 + <url-pattern>/*</url-pattern>
  73 + </filter-mapping>
  74 +
51 75 <servlet-mapping>
52 76 <servlet-name>default</servlet-name>
53 77 <url-pattern>*.xml</url-pattern>
regional-etl/pom.xml View file @ 2ba3d5f
... ... @@ -21,6 +21,11 @@
21 21 <artifactId>spring-boot-starter</artifactId>
22 22 </dependency>
23 23  
  24 + <dependency>
  25 + <groupId>org.springframework.boot</groupId>
  26 + <artifactId>spring-boot-starter-aop</artifactId>
  27 + </dependency>
  28 +
24 29 <dependency>
25 30 <groupId>org.mybatis.spring.boot</groupId>
26 31 <artifactId>mybatis-spring-boot-starter</artifactId>
... ... @@ -47,7 +52,7 @@
47 52 <dependency>
48 53 <groupId>com.alibaba</groupId>
49 54 <artifactId>druid</artifactId>
50   - <version>1.0.28</version>
  55 + <version>RELEASE</version>
51 56 </dependency>
52 57  
53 58 <dependency>
regional-etl/src/main/java/com/lyms/etl/ApplicationRunner.java View file @ 2ba3d5f
1 1 package com.lyms.etl;
2 2  
  3 +import com.lyms.etl.datasource.DynamicDataSourceRegister;
3 4 import com.lyms.etl.service.IInvokeHandler;
4 5 import com.lyms.etl.util.AopTargetUtil;
5 6 import org.mybatis.spring.annotation.MapperScan;
... ... @@ -9,6 +10,7 @@
9 10 import org.springframework.boot.CommandLineRunner;
10 11 import org.springframework.boot.SpringApplication;
11 12 import org.springframework.boot.autoconfigure.SpringBootApplication;
  13 +import org.springframework.context.annotation.Import;
12 14 import org.springframework.transaction.annotation.EnableTransactionManagement;
13 15  
14 16 import java.util.Date;
... ... @@ -21,6 +23,7 @@
21 23 */
22 24 @SpringBootApplication
23 25 @EnableTransactionManagement
  26 +@Import({ DynamicDataSourceRegister.class })
24 27 @MapperScan("com.lyms.etl.dao")
25 28 public class ApplicationRunner implements CommandLineRunner{
26 29  
regional-etl/src/main/java/com/lyms/etl/datasource/DynamicDataSource.java View file @ 2ba3d5f
  1 +package com.lyms.etl.datasource;
  2 +
  3 +import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource;
  4 +
  5 +/**
  6 + * 动态数据源
  7 + * @Author: litao
  8 + * @Date: 2017/5/17 0017 10:25
  9 + * @Version: V1.0
  10 + */
  11 +public class DynamicDataSource extends AbstractRoutingDataSource {
  12 +
  13 + @Override
  14 + protected Object determineCurrentLookupKey() {
  15 + return DynamicDataSourceContextHolder.getDataSourceType();
  16 + }
  17 +}
regional-etl/src/main/java/com/lyms/etl/datasource/DynamicDataSourceAnno.java View file @ 2ba3d5f
  1 +package com.lyms.etl.datasource;
  2 +
  3 +import java.lang.annotation.*;
  4 +
  5 +/**
  6 + * 在方法或类上使用,用于指定使用哪个数据源
  7 + * @Author: litao
  8 + * @Date: 2017/5/17 0017 10:31
  9 + * @Version: V1.0
  10 + */
  11 +@Target({ ElementType.METHOD, ElementType.TYPE })
  12 +@Retention(RetentionPolicy.RUNTIME)
  13 +@Documented
  14 +public @interface DynamicDataSourceAnno {
  15 + String value() default "";
  16 +}
regional-etl/src/main/java/com/lyms/etl/datasource/DynamicDataSourceAspect.java View file @ 2ba3d5f
  1 +package com.lyms.etl.datasource;
  2 +
  3 +import com.lyms.etl.util.ReflectUtil;
  4 +import org.aspectj.lang.JoinPoint;
  5 +import org.aspectj.lang.annotation.Aspect;
  6 +import org.aspectj.lang.annotation.Before;
  7 +import org.aspectj.lang.annotation.Pointcut;
  8 +import org.aspectj.lang.reflect.MethodSignature;
  9 +import org.slf4j.Logger;
  10 +import org.slf4j.LoggerFactory;
  11 +import org.springframework.stereotype.Component;
  12 +
  13 +import java.lang.reflect.Method;
  14 +
  15 +/**
  16 + * 动态切换数据源aop
  17 + * @Author: litao
  18 + * @Date: 2017/5/17 0017 10:48
  19 + * @Version: V1.0
  20 + */
  21 +@Aspect
  22 +@Component
  23 +//@Order(1) /** 保证在方法执行前执行 */
  24 +public class DynamicDataSourceAspect {
  25 + private static final Logger logger = LoggerFactory.getLogger(DynamicDataSourceAspect.class);
  26 +
  27 + @Pointcut("@within(DynamicDataSourceAnno) || @annotation(DynamicDataSourceAnno)")
  28 + private void advice() {
  29 + }
  30 +
  31 + @Before("advice()")
  32 + public void setDataSource(JoinPoint point) {
  33 + try {
  34 + Class<?> clazz = point.getTarget().getClass();
  35 + MethodSignature signature = (MethodSignature) point.getSignature();
  36 + Method method = signature.getMethod();
  37 +
  38 + /** 可能是通过接口调用方法 所以通过反射获取实现类方法上面的注解 */
  39 + DynamicDataSourceAnno anno = ReflectUtil.getMethodAnno(clazz, method.getName(), DynamicDataSourceAnno.class);
  40 + if(anno == null) { /** 方法上沒注解获取类上面的注解 由于只拦截了类和方法上的注解 所以不可能为空 */
  41 + anno = clazz.getAnnotation(DynamicDataSourceAnno.class);
  42 + }
  43 +
  44 + String datasource = anno.value();
  45 + if(DynamicDataSourceContextHolder.containsDataSource(datasource)) {
  46 + DynamicDataSourceContextHolder.setDataSourceType(datasource);
  47 + logger.info("切换到 [{}] 数据源", datasource);
  48 + } else {
  49 + logger.info("数据源 [{}] 未找到,使用默认数据源", datasource);
  50 + }
  51 + } catch (Exception e) {
  52 + logger.error("切换数据源失败: ", e.fillInStackTrace());
  53 + }
  54 + }
  55 +}
regional-etl/src/main/java/com/lyms/etl/datasource/DynamicDataSourceContextHolder.java View file @ 2ba3d5f
  1 +package com.lyms.etl.datasource;
  2 +
  3 +import java.util.ArrayList;
  4 +import java.util.List;
  5 +
  6 +/**
  7 + * 通过ThreadLocal来存储当前所使用数据源对应的key
  8 + * @Author: litao
  9 + * @Date: 2017/5/17 0017 10:25
  10 + * @Version: V1.0
  11 + */
  12 +public class DynamicDataSourceContextHolder {
  13 +
  14 + private static final ThreadLocal<String> contextHolder = new ThreadLocal<String>();
  15 +
  16 + public static List<String> dataSourceIds = new ArrayList<>();
  17 +
  18 + public static void setDataSourceType(String dataSourceType) {
  19 + contextHolder.set(dataSourceType);
  20 + }
  21 +
  22 + public static String getDataSourceType() {
  23 + return contextHolder.get();
  24 + }
  25 +
  26 + public static void clearDataSourceType() {
  27 + contextHolder.remove();
  28 + }
  29 +
  30 + public static boolean containsDataSource(String dataSourceId){
  31 + return dataSourceIds.contains(dataSourceId);
  32 + }
  33 +}
regional-etl/src/main/java/com/lyms/etl/datasource/DynamicDataSourceRegister.java View file @ 2ba3d5f
  1 +package com.lyms.etl.datasource;
  2 +
  3 +import com.alibaba.druid.pool.DruidDataSourceFactory;
  4 +import org.slf4j.Logger;
  5 +import org.slf4j.LoggerFactory;
  6 +import org.springframework.beans.factory.support.BeanDefinitionRegistry;
  7 +import org.springframework.boot.bind.RelaxedPropertyResolver;
  8 +import org.springframework.boot.context.properties.ConfigurationProperties;
  9 +import org.springframework.context.EnvironmentAware;
  10 +import org.springframework.context.annotation.ImportBeanDefinitionRegistrar;
  11 +import org.springframework.core.env.Environment;
  12 +import org.springframework.core.type.AnnotationMetadata;
  13 +
  14 +import javax.sql.DataSource;
  15 +import java.util.HashMap;
  16 +import java.util.List;
  17 +import java.util.Map;
  18 +
  19 +/**
  20 + * @Author: litao
  21 + * @Date: 2017/5/18 0018 20:08
  22 + * @Version: V1.0
  23 + */
  24 +public class DynamicDataSourceRegister
  25 + implements ImportBeanDefinitionRegistrar, EnvironmentAware {
  26 +
  27 + private static final Logger LOG = LoggerFactory.getLogger(DynamicDataSourceRegister.class);
  28 +
  29 + private DataSource defaultDataSource; /** 主数据源 */
  30 + private Map<String, DataSource> customDataSources = new HashMap<>(); /** 其他数据源 */
  31 +
  32 + @Override
  33 + public void setEnvironment(Environment environment) {
  34 + initDefaultDataSource(environment);
  35 + initCustomDataSources(environment);
  36 + }
  37 +
  38 + /**
  39 + * 初始化多数据源
  40 + * @param environment
  41 + */
  42 + private void initCustomDataSources(Environment environment) {
  43 + try {
  44 + RelaxedPropertyResolver propertyResolver = new RelaxedPropertyResolver(environment, "spring.datasource");
  45 +
  46 + Map<String, Object> connProperties = propertyResolver.getSubProperties(".");
  47 + System.err.println("connProperties>>> " + connProperties);
  48 + List<String> customs = (List<String>) connProperties.get("customs");
  49 + } catch (Exception e) {
  50 + LOG.error("初始化多数据源失败:", e.fillInStackTrace());
  51 + }
  52 + }
  53 +
  54 + /**
  55 + * 初始化主数据源(默认数据源)
  56 + * @param environment
  57 + */
  58 + @ConfigurationProperties
  59 + private void initDefaultDataSource(Environment environment) {
  60 + try {
  61 + RelaxedPropertyResolver propertyResolver = new RelaxedPropertyResolver(environment, "spring.datasource");
  62 +
  63 + Map<String, Object> connProperties = propertyResolver.getSubProperties(".");
  64 + defaultDataSource = DruidDataSourceFactory.createDataSource(connProperties);
  65 + } catch (Exception e) {
  66 + LOG.error("初始化主数据源出错:", e.fillInStackTrace());
  67 + }
  68 + }
  69 +
  70 + @Override
  71 + public void registerBeanDefinitions(AnnotationMetadata annotationMetadata, BeanDefinitionRegistry beanDefinitionRegistry) {
  72 + System.err.println("registerBeanDefinitions");
  73 + }
  74 +}
regional-etl/src/main/java/com/lyms/etl/util/ReflectUtil.java View file @ 2ba3d5f
  1 +package com.lyms.etl.util;
  2 +
  3 +import org.slf4j.Logger;
  4 +import org.slf4j.LoggerFactory;
  5 +
  6 +import java.lang.annotation.Annotation;
  7 +
  8 +/**
  9 + * 反射相关工具类
  10 + * @Author: litao
  11 + * @Date: 2017/5/17 0017 17:41
  12 + * @Version: V1.0
  13 + */
  14 +public class ReflectUtil {
  15 +
  16 + private static final Logger log = LoggerFactory.getLogger(ReflectUtil.class);
  17 +
  18 + public static <T extends Annotation> T getMethodAnno(Class<?> clazz, String methodName, Class<T> annoClass) {
  19 + T anno = null;
  20 + try {
  21 + anno = clazz.getMethod(methodName).getAnnotation(annoClass);
  22 + } catch (Exception e) {
  23 + log.error("反射获取注解出错:", e.fillInStackTrace());
  24 + }
  25 + return anno;
  26 + }
  27 +
  28 +}
regional-etl/src/main/resources/application.properties View file @ 2ba3d5f
... ... @@ -21,5 +21,6 @@
21 21 mybatis.typeAliasesPackage=com.lyms.etl.model
22 22 mybatis.mapperLocations=classpath:mappers/*.xml
23 23  
24   -spring.profiles.active=prod, etl
  24 +#spring.profiles.active=prod, etl
  25 +spring.profiles.active=etl
regional-etl/src/main/resources/application.yml View file @ 2ba3d5f
... ... @@ -4,6 +4,12 @@
4 4 username: platform
5 5 password: platform123
6 6 driver-class-name: com.mysql.jdbc.Driver
  7 + # 必须配置为字符类型 @see com.alibaba.druid.pool.DruidDataSourceFactory > value = (String)properties.get("init");
  8 + init: "true"
  9 +
  10 + customs:
  11 + - ds1
  12 + - ds2
7 13  
8 14 data:
9 15 mongodb: