mirror of
https://github.com/qiurunze123/miaosha.git
synced 2023-11-19 22:41:03 +08:00
Merge branch 'master' of https://github.com/qiurunze123/miaosha into github-master
# Conflicts: # .gitignore # README.md # pom.xml # src/main/java/com/geekq/miaosha/GeekQMainApplication.java # src/main/java/com/geekq/miaosha/access/AccessInterceptor.java # src/main/java/com/geekq/miaosha/access/AccessKey.java # src/main/java/com/geekq/miaosha/access/AccessLimit.java # src/main/java/com/geekq/miaosha/access/UserContext.java # src/main/java/com/geekq/miaosha/config/UserArgumentResolver.java # src/main/java/com/geekq/miaosha/config/WebConfig.java # src/main/java/com/geekq/miaosha/controller/DemoController.java # src/main/java/com/geekq/miaosha/controller/MiaoshaController.java # src/main/java/com/geekq/miaosha/controller/OrderController.java # src/main/java/com/geekq/miaosha/dao/DruidConfig.java # src/main/java/com/geekq/miaosha/dao/GoodsDao.java # src/main/java/com/geekq/miaosha/dao/OrderDao.java # src/main/java/com/geekq/miaosha/dao/UserDao.java # src/main/java/com/geekq/miaosha/domain/Goods.java # src/main/java/com/geekq/miaosha/domain/MiaoshaGoods.java # src/main/java/com/geekq/miaosha/domain/MiaoshaOrder.java # src/main/java/com/geekq/miaosha/domain/MiaoshaUser.java # src/main/java/com/geekq/miaosha/domain/OrderInfo.java # src/main/java/com/geekq/miaosha/domain/User.java # src/main/java/com/geekq/miaosha/mybatis/README.md # src/main/java/com/geekq/miaosha/rabbitmq/MQConfig.java # src/main/java/com/geekq/miaosha/rabbitmq/MQReceiver.java # src/main/java/com/geekq/miaosha/rabbitmq/MQSender.java # src/main/java/com/geekq/miaosha/rabbitmq/MiaoshaMessage.java # src/main/java/com/geekq/miaosha/redis/GoodsKey.java # src/main/java/com/geekq/miaosha/redis/MiaoshaKey.java # src/main/java/com/geekq/miaosha/redis/RedisPoolFactory.java # src/main/java/com/geekq/miaosha/redis/RedisService.java # src/main/java/com/geekq/miaosha/redis/RedissonAutoConfiguration.java # src/main/java/com/geekq/miaosha/redis/RedissonDistributedLocker.java # src/main/java/com/geekq/miaosha/redis/RedissonProperties.java # src/main/java/com/geekq/miaosha/redis/RedissonService.java # src/main/java/com/geekq/miaosha/result/CodeMsg.java # src/main/java/com/geekq/miaosha/service/GoodsService.java # src/main/java/com/geekq/miaosha/service/MiaoShaUserService.java # src/main/java/com/geekq/miaosha/service/MiaoshaService.java # src/main/java/com/geekq/miaosha/service/OrderService.java # src/main/java/com/geekq/miaosha/service/UserService.java # src/main/java/com/geekq/miaosha/timeTask/OrderCloseTask.java # src/main/java/com/geekq/miaosha/utils/ValidatorUtil.java # src/main/java/com/geekq/miaosha/vo/GoodsDetailVo.java # src/main/java/com/geekq/miaosha/vo/GoodsVo.java # src/main/java/com/geekq/miaosha/vo/OrderDetailVo.java # src/main/resources/application-dev.properties # src/main/resources/application-prod.properties # src/main/resources/application-test.properties # src/main/resources/application.properties # src/main/resources/config/application-test.properties # src/main/resources/dubbo/springmvc.xml # src/main/resources/static/goods_detail.htm # src/main/resources/static/js/common.js # src/main/resources/static/js/jquery.min.js # src/main/resources/static/order_detail.htm # src/main/resources/templates/goods_detail.html # src/main/resources/templates/goods_list.html # src/main/resources/templates/hello.html # src/main/resources/templates/login.html # src/main/resources/templates/miaosha_fail.html # src/main/resources/templates/order_detail.html
This commit is contained in:
commit
0f55bf5c45
248
.gitignore
vendored
248
.gitignore
vendored
|
@ -1,96 +1,69 @@
|
||||||
# Created by .ignore support plugin (hsz.mobi)
|
# Created by .ignore support plugin (hsz.mobi)
|
||||||
### Example user template template
|
|
||||||
### Example user template
|
|
||||||
|
|
||||||
# IntelliJ project files
|
|
||||||
.idea
|
|
||||||
*.iml
|
|
||||||
out
|
|
||||||
gen### JetBrains template
|
|
||||||
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
|
|
||||||
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
|
||||||
|
|
||||||
# User-specific stuff
|
|
||||||
.idea/**/workspace.xml
|
|
||||||
.idea/**/tasks.xml
|
|
||||||
.idea/**/usage.statistics.xml
|
|
||||||
.idea/**/dictionaries
|
|
||||||
.idea/**/shelf
|
|
||||||
|
|
||||||
# Sensitive or high-churn files
|
|
||||||
.idea/**/dataSources/
|
|
||||||
.idea/**/dataSources.ids
|
|
||||||
.idea/**/dataSources.local.xml
|
|
||||||
.idea/**/sqlDataSources.xml
|
|
||||||
.idea/**/dynamic.xml
|
|
||||||
.idea/**/uiDesigner.xml
|
|
||||||
.idea/**/dbnavigator.xml
|
|
||||||
|
|
||||||
# Gradle
|
|
||||||
.idea/**/gradle.xml
|
|
||||||
.idea/**/libraries
|
|
||||||
|
|
||||||
# Gradle and Maven with auto-import
|
|
||||||
# When using Gradle or Maven with auto-import, you should exclude module files,
|
|
||||||
# since they will be recreated, and may cause churn. Uncomment if using
|
|
||||||
# auto-import.
|
|
||||||
# .idea/modules.xml
|
|
||||||
# .idea/*.iml
|
|
||||||
# .idea/modules
|
|
||||||
|
|
||||||
# CMake
|
|
||||||
cmake-build-*/
|
|
||||||
|
|
||||||
# Mongo Explorer plugin
|
|
||||||
.idea/**/mongoSettings.xml
|
|
||||||
|
|
||||||
# File-based project format
|
|
||||||
*.iws
|
|
||||||
|
|
||||||
# IntelliJ
|
|
||||||
out/
|
|
||||||
|
|
||||||
# mpeltonen/sbt-idea plugin
|
|
||||||
.idea_modules/
|
|
||||||
|
|
||||||
# JIRA plugin
|
|
||||||
atlassian-ide-plugin.xml
|
|
||||||
|
|
||||||
# Cursive Clojure plugin
|
|
||||||
.idea/replstate.xml
|
|
||||||
|
|
||||||
# Crashlytics plugin (for Android Studio and IntelliJ)
|
|
||||||
com_crashlytics_export_strings.xml
|
|
||||||
crashlytics.properties
|
|
||||||
crashlytics-build.properties
|
|
||||||
fabric.properties
|
|
||||||
|
|
||||||
# Editor-based Rest Client
|
|
||||||
.idea/httpRequests
|
|
||||||
### Java template
|
### Java template
|
||||||
# Compiled class file
|
|
||||||
*.class
|
*.class
|
||||||
|
|
||||||
# Log file
|
|
||||||
*.log
|
|
||||||
|
|
||||||
# BlueJ files
|
|
||||||
*.ctxt
|
|
||||||
|
|
||||||
# Mobile Tools for Java (J2ME)
|
# Mobile Tools for Java (J2ME)
|
||||||
.mtj.tmp/
|
.mtj.tmp/
|
||||||
|
|
||||||
# Package Files #
|
# Package Files #
|
||||||
*.jar
|
*.jar
|
||||||
*.war
|
*.war
|
||||||
*.nar
|
|
||||||
*.ear
|
*.ear
|
||||||
*.zip
|
|
||||||
*.tar.gz
|
|
||||||
*.rar
|
|
||||||
|
|
||||||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
|
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
|
||||||
hs_err_pid*
|
hs_err_pid*
|
||||||
|
### Eclipse template
|
||||||
|
|
||||||
|
.metadata
|
||||||
|
bin/
|
||||||
|
tmp/
|
||||||
|
*.tmp
|
||||||
|
*.bak
|
||||||
|
*.swp
|
||||||
|
*~.nib
|
||||||
|
local.properties
|
||||||
|
.settings/
|
||||||
|
.loadpath
|
||||||
|
.recommenders
|
||||||
|
|
||||||
|
# Eclipse Core
|
||||||
|
.project
|
||||||
|
|
||||||
|
# External tool builders
|
||||||
|
.externalToolBuilders/
|
||||||
|
|
||||||
|
# Locally stored "Eclipse launch configurations"
|
||||||
|
*.launch
|
||||||
|
|
||||||
|
# PyDev specific (Python IDE for Eclipse)
|
||||||
|
*.pydevproject
|
||||||
|
|
||||||
|
# CDT-specific (C/C++ Development Tooling)
|
||||||
|
.cproject
|
||||||
|
|
||||||
|
# JDT-specific (Eclipse Java Development Tools)
|
||||||
|
.classpath
|
||||||
|
|
||||||
|
# Java annotation processor (APT)
|
||||||
|
.factorypath
|
||||||
|
|
||||||
|
# PDT-specific (PHP Development Tools)
|
||||||
|
.buildpath
|
||||||
|
|
||||||
|
# sbteclipse plugin
|
||||||
|
.target
|
||||||
|
|
||||||
|
# Tern plugin
|
||||||
|
.tern-project
|
||||||
|
|
||||||
|
# TeXlipse plugin
|
||||||
|
.texlipse
|
||||||
|
|
||||||
|
# STS (Spring Tool Suite)
|
||||||
|
.springBeans
|
||||||
|
|
||||||
|
# Code Recommenders
|
||||||
|
.recommenders/
|
||||||
### Maven template
|
### Maven template
|
||||||
target/
|
target/
|
||||||
pom.xml.tag
|
pom.xml.tag
|
||||||
|
@ -101,5 +74,120 @@ release.properties
|
||||||
dependency-reduced-pom.xml
|
dependency-reduced-pom.xml
|
||||||
buildNumber.properties
|
buildNumber.properties
|
||||||
.mvn/timing.properties
|
.mvn/timing.properties
|
||||||
.mvn/wrapper/maven-wrapper.jar
|
### Archives template
|
||||||
|
# It's better to unpack these files and commit the raw source because
|
||||||
|
# git has its own built in compression methods.
|
||||||
|
*.7z
|
||||||
|
*.jar
|
||||||
|
*.rar
|
||||||
|
*.zip
|
||||||
|
*.gz
|
||||||
|
*.bzip
|
||||||
|
*.bz2
|
||||||
|
*.xz
|
||||||
|
*.lzma
|
||||||
|
*.cab
|
||||||
|
|
||||||
|
#packing-only formats
|
||||||
|
*.iso
|
||||||
|
*.tar
|
||||||
|
|
||||||
|
#package management formats
|
||||||
|
*.dmg
|
||||||
|
*.xpi
|
||||||
|
*.gem
|
||||||
|
*.egg
|
||||||
|
*.deb
|
||||||
|
*.rpm
|
||||||
|
*.msi
|
||||||
|
*.msm
|
||||||
|
*.msp
|
||||||
|
### Vim template
|
||||||
|
# swap
|
||||||
|
[._]*.s[a-w][a-z]
|
||||||
|
[._]s[a-w][a-z]
|
||||||
|
# session
|
||||||
|
Session.vim
|
||||||
|
# temporary
|
||||||
|
.netrwhist
|
||||||
|
*~
|
||||||
|
# auto-generated tag files
|
||||||
|
tags
|
||||||
|
### Example user template template
|
||||||
|
### Example user template
|
||||||
|
|
||||||
|
# IntelliJ project files
|
||||||
|
.idea
|
||||||
|
*.iml
|
||||||
|
out
|
||||||
|
gen### JetBrains template
|
||||||
|
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
|
||||||
|
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
||||||
|
|
||||||
|
# User-specific stuff:
|
||||||
|
.idea/workspace.xml
|
||||||
|
.idea/tasks.xml
|
||||||
|
.idea/dictionaries
|
||||||
|
.idea/vcs.xml
|
||||||
|
.idea/jsLibraryMappings.xml
|
||||||
|
|
||||||
|
# Sensitive or high-churn files:
|
||||||
|
.idea/dataSources.ids
|
||||||
|
.idea/dataSources.xml
|
||||||
|
.idea/dataSources.local.xml
|
||||||
|
.idea/sqlDataSources.xml
|
||||||
|
.idea/dynamic.xml
|
||||||
|
.idea/uiDesigner.xml
|
||||||
|
|
||||||
|
# Gradle:
|
||||||
|
.idea/gradle.xml
|
||||||
|
.idea/libraries
|
||||||
|
|
||||||
|
# Mongo Explorer plugin:
|
||||||
|
.idea/mongoSettings.xml
|
||||||
|
|
||||||
|
## File-based project format:
|
||||||
|
*.iws
|
||||||
|
|
||||||
|
## Plugin-specific files:
|
||||||
|
|
||||||
|
# IntelliJ
|
||||||
|
/out/
|
||||||
|
|
||||||
|
# mpeltonen/sbt-idea plugin
|
||||||
|
.idea_modules/
|
||||||
|
|
||||||
|
# JIRA plugin
|
||||||
|
atlassian-ide-plugin.xml
|
||||||
|
|
||||||
|
# Crashlytics plugin (for Android Studio and IntelliJ)
|
||||||
|
com_crashlytics_export_strings.xml
|
||||||
|
crashlytics.properties
|
||||||
|
crashlytics-build.properties
|
||||||
|
fabric.properties
|
||||||
|
### OSX template
|
||||||
|
.DS_Store
|
||||||
|
.AppleDouble
|
||||||
|
.LSOverride
|
||||||
|
|
||||||
|
# Icon must end with two \r
|
||||||
|
Icon
|
||||||
|
|
||||||
|
# Thumbnails
|
||||||
|
._*
|
||||||
|
|
||||||
|
# Files that might appear in the root of a volume
|
||||||
|
.DocumentRevisions-V100
|
||||||
|
.fseventsd
|
||||||
|
.Spotlight-V100
|
||||||
|
.TemporaryItems
|
||||||
|
.Trashes
|
||||||
|
.VolumeIcon.icns
|
||||||
|
|
||||||
|
# Directories potentially created on remote AFP share
|
||||||
|
.AppleDB
|
||||||
|
.AppleDesktop
|
||||||
|
Network Trash Folder
|
||||||
|
Temporary Items
|
||||||
|
.apdisk
|
||||||
|
|
||||||
|
|
17
.idea/compiler.xml
Normal file
17
.idea/compiler.xml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="CompilerConfiguration">
|
||||||
|
<annotationProcessing>
|
||||||
|
<profile name="Maven default annotation processors profile" enabled="true">
|
||||||
|
<sourceOutputDir name="target/generated-sources/annotations" />
|
||||||
|
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
||||||
|
<outputRelativeToContentRoot value="true" />
|
||||||
|
<module name="miaosha" />
|
||||||
|
</profile>
|
||||||
|
</annotationProcessing>
|
||||||
|
<bytecodeTargetLevel>
|
||||||
|
<module name="miaosha" target="1.6" />
|
||||||
|
<module name="springcloud-server" target="1.8" />
|
||||||
|
</bytecodeTargetLevel>
|
||||||
|
</component>
|
||||||
|
</project>
|
7
.idea/encodings.xml
Normal file
7
.idea/encodings.xml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="Encoding">
|
||||||
|
<file url="file://$PROJECT_DIR$" charset="UTF-8" />
|
||||||
|
<file url="file://$PROJECT_DIR$/springcloud-server" charset="UTF-8" />
|
||||||
|
</component>
|
||||||
|
</project>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: ch.qos.logback:logback-classic:1.1.11">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/ch/qos/logback/logback-classic/1.1.11/logback-classic-1.1.11.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/ch/qos/logback/logback-classic/1.1.11/logback-classic-1.1.11-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/ch/qos/logback/logback-classic/1.1.11/logback-classic-1.1.11-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: ch.qos.logback:logback-core:1.1.11">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/ch/qos/logback/logback-core/1.1.11/logback-core-1.1.11.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/ch/qos/logback/logback-core/1.1.11/logback-core-1.1.11-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/ch/qos/logback/logback-core/1.1.11/logback-core-1.1.11-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
13
.idea/libraries/Maven__com_alibaba_druid_1_0_5.xml
Normal file
13
.idea/libraries/Maven__com_alibaba_druid_1_0_5.xml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: com.alibaba:druid:1.0.5">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/alibaba/druid/1.0.5/druid-1.0.5.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/alibaba/druid/1.0.5/druid-1.0.5-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/alibaba/druid/1.0.5/druid-1.0.5-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
13
.idea/libraries/Maven__com_alibaba_dubbo_2_5_3.xml
Normal file
13
.idea/libraries/Maven__com_alibaba_dubbo_2_5_3.xml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: com.alibaba:dubbo:2.5.3">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/alibaba/dubbo/2.5.3/dubbo-2.5.3.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/alibaba/dubbo/2.5.3/dubbo-2.5.3-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/alibaba/dubbo/2.5.3/dubbo-2.5.3-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
13
.idea/libraries/Maven__com_alibaba_fastjson_1_2_38.xml
Normal file
13
.idea/libraries/Maven__com_alibaba_fastjson_1_2_38.xml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: com.alibaba:fastjson:1.2.38">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/alibaba/fastjson/1.2.38/fastjson-1.2.38.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/alibaba/fastjson/1.2.38/fastjson-1.2.38-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/alibaba/fastjson/1.2.38/fastjson-1.2.38-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
13
.idea/libraries/Maven__com_fasterxml_classmate_1_3_4.xml
Normal file
13
.idea/libraries/Maven__com_fasterxml_classmate_1_3_4.xml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: com.fasterxml:classmate:1.3.4">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/classmate/1.3.4/classmate-1.3.4.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/classmate/1.3.4/classmate-1.3.4-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/classmate/1.3.4/classmate-1.3.4-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.8.0">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-annotations/2.8.0/jackson-annotations-2.8.0.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-annotations/2.8.0/jackson-annotations-2.8.0-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-annotations/2.8.0/jackson-annotations-2.8.0-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: com.fasterxml.jackson.core:jackson-core:2.8.10">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-core/2.8.10/jackson-core-2.8.10.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-core/2.8.10/jackson-core-2.8.10-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-core/2.8.10/jackson-core-2.8.10-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: com.fasterxml.jackson.core:jackson-databind:2.8.10">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-databind/2.8.10/jackson-databind-2.8.10.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-databind/2.8.10/jackson-databind-2.8.10-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-databind/2.8.10/jackson-databind-2.8.10-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
13
.idea/libraries/Maven__com_google_guava_guava_18_0.xml
Normal file
13
.idea/libraries/Maven__com_google_guava_guava_18_0.xml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: com.google.guava:guava:18.0">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/google/guava/guava/18.0/guava-18.0.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/google/guava/guava/18.0/guava-18.0-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/google/guava/guava/18.0/guava-18.0-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
13
.idea/libraries/Maven__com_rabbitmq_amqp_client_4_0_3.xml
Normal file
13
.idea/libraries/Maven__com_rabbitmq_amqp_client_4_0_3.xml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: com.rabbitmq:amqp-client:4.0.3">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/rabbitmq/amqp-client/4.0.3/amqp-client-4.0.3.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/rabbitmq/amqp-client/4.0.3/amqp-client-4.0.3-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/rabbitmq/amqp-client/4.0.3/amqp-client-4.0.3-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: com.rabbitmq:http-client:1.1.1.RELEASE">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/rabbitmq/http-client/1.1.1.RELEASE/http-client-1.1.1.RELEASE.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/rabbitmq/http-client/1.1.1.RELEASE/http-client-1.1.1.RELEASE-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/com/rabbitmq/http-client/1.1.1.RELEASE/http-client-1.1.1.RELEASE-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
13
.idea/libraries/Maven__commons_codec_commons_codec_1_10.xml
Normal file
13
.idea/libraries/Maven__commons_codec_commons_codec_1_10.xml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: commons-codec:commons-codec:1.10">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/commons-codec/commons-codec/1.10/commons-codec-1.10.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/commons-codec/commons-codec/1.10/commons-codec-1.10-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/commons-codec/commons-codec/1.10/commons-codec-1.10-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
13
.idea/libraries/Maven__io_netty_netty_3_7_0_Final.xml
Normal file
13
.idea/libraries/Maven__io_netty_netty_3_7_0_Final.xml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: io.netty:netty:3.7.0.Final">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/io/netty/netty/3.7.0.Final/netty-3.7.0.Final.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/io/netty/netty/3.7.0.Final/netty-3.7.0.Final-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/io/netty/netty/3.7.0.Final/netty-3.7.0.Final-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: javax.validation:validation-api:1.1.0.Final">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
13
.idea/libraries/Maven__jline_jline_0_9_94.xml
Normal file
13
.idea/libraries/Maven__jline_jline_0_9_94.xml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: jline:jline:0.9.94">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/jline/jline/0.9.94/jline-0.9.94.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/jline/jline/0.9.94/jline-0.9.94-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/jline/jline/0.9.94/jline-0.9.94-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
13
.idea/libraries/Maven__junit_junit_4_12.xml
Normal file
13
.idea/libraries/Maven__junit_junit_4_12.xml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: junit:junit:4.12">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.12/junit-4.12.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.12/junit-4.12-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.12/junit-4.12-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
13
.idea/libraries/Maven__mysql_mysql_connector_java_5_1_44.xml
Normal file
13
.idea/libraries/Maven__mysql_mysql_connector_java_5_1_44.xml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: mysql:mysql-connector-java:5.1.44">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/mysql/mysql-connector-java/5.1.44/mysql-connector-java-5.1.44.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/mysql/mysql-connector-java/5.1.44/mysql-connector-java-5.1.44-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/mysql/mysql-connector-java/5.1.44/mysql-connector-java-5.1.44-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:1.4.0">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/nz/net/ultraq/thymeleaf/thymeleaf-layout-dialect/1.4.0/thymeleaf-layout-dialect-1.4.0.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/nz/net/ultraq/thymeleaf/thymeleaf-layout-dialect/1.4.0/thymeleaf-layout-dialect-1.4.0-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/nz/net/ultraq/thymeleaf/thymeleaf-layout-dialect/1.4.0/thymeleaf-layout-dialect-1.4.0-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
13
.idea/libraries/Maven__ognl_ognl_3_0_8.xml
Normal file
13
.idea/libraries/Maven__ognl_ognl_3_0_8.xml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: ognl:ognl:3.0.8">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/ognl/ognl/3.0.8/ognl-3.0.8.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/ognl/ognl/3.0.8/ognl-3.0.8-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/ognl/ognl/3.0.8/ognl-3.0.8-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.apache.commons:commons-lang3:3.6">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-lang3/3.6/commons-lang3-3.6.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-lang3/3.6/commons-lang3-3.6-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-lang3/3.6/commons-lang3-3.6-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.apache.commons:commons-pool2:2.4.2">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-pool2/2.4.2/commons-pool2-2.4.2.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-pool2/2.4.2/commons-pool2-2.4.2-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-pool2/2.4.2/commons-pool2-2.4.2-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.apache.httpcomponents:httpclient:4.5.3">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache/httpcomponents/httpclient/4.5.3/httpclient-4.5.3.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache/httpcomponents/httpclient/4.5.3/httpclient-4.5.3-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache/httpcomponents/httpclient/4.5.3/httpclient-4.5.3-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.apache.httpcomponents:httpcore:4.4.8">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache/httpcomponents/httpcore/4.4.8/httpcore-4.4.8.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache/httpcomponents/httpcore/4.4.8/httpcore-4.4.8-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache/httpcomponents/httpcore/4.4.8/httpcore-4.4.8-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.apache.tomcat.embed:tomcat-embed-el:8.5.23">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache/tomcat/embed/tomcat-embed-el/8.5.23/tomcat-embed-el-8.5.23.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache/tomcat/embed/tomcat-embed-el/8.5.23/tomcat-embed-el-8.5.23-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache/tomcat/embed/tomcat-embed-el/8.5.23/tomcat-embed-el-8.5.23-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.apache.tomcat:tomcat-jdbc:8.5.23">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache/tomcat/tomcat-jdbc/8.5.23/tomcat-jdbc-8.5.23.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache/tomcat/tomcat-jdbc/8.5.23/tomcat-jdbc-8.5.23-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache/tomcat/tomcat-jdbc/8.5.23/tomcat-jdbc-8.5.23-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.apache.tomcat:tomcat-juli:8.5.23">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache/tomcat/tomcat-juli/8.5.23/tomcat-juli-8.5.23.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache/tomcat/tomcat-juli/8.5.23/tomcat-juli-8.5.23-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache/tomcat/tomcat-juli/8.5.23/tomcat-juli-8.5.23-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.apache.zookeeper:zookeeper:3.4.6">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache/zookeeper/zookeeper/3.4.6/zookeeper-3.4.6.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache/zookeeper/zookeeper/3.4.6/zookeeper-3.4.6-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/apache/zookeeper/zookeeper/3.4.6/zookeeper-3.4.6-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
13
.idea/libraries/Maven__org_codehaus_groovy_groovy_2_4_12.xml
Normal file
13
.idea/libraries/Maven__org_codehaus_groovy_groovy_2_4_12.xml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.codehaus.groovy:groovy:2.4.12">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/codehaus/groovy/groovy/2.4.12/groovy-2.4.12.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/codehaus/groovy/groovy/2.4.12/groovy-2.4.12-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/codehaus/groovy/groovy/2.4.12/groovy-2.4.12-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
13
.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml
Normal file
13
.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.hamcrest:hamcrest-core:1.3">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.hibernate:hibernate-validator:5.3.5.Final">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/hibernate/hibernate-validator/5.3.5.Final/hibernate-validator-5.3.5.Final.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/hibernate/hibernate-validator/5.3.5.Final/hibernate-validator-5.3.5.Final-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/hibernate/hibernate-validator/5.3.5.Final/hibernate-validator-5.3.5.Final-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
13
.idea/libraries/Maven__org_javassist_javassist_3_21_0_GA.xml
Normal file
13
.idea/libraries/Maven__org_javassist_javassist_3_21_0_GA.xml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.javassist:javassist:3.21.0-GA">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/javassist/javassist/3.21.0-GA/javassist-3.21.0-GA.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/javassist/javassist/3.21.0-GA/javassist-3.21.0-GA-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/javassist/javassist/3.21.0-GA/javassist-3.21.0-GA-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.jboss.logging:jboss-logging:3.3.1.Final">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/jboss/logging/jboss-logging/3.3.1.Final/jboss-logging-3.3.1.Final.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/jboss/logging/jboss-logging/3.3.1.Final/jboss-logging-3.3.1.Final-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/jboss/logging/jboss-logging/3.3.1.Final/jboss-logging-3.3.1.Final-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
13
.idea/libraries/Maven__org_jboss_netty_netty_3_2_5_Final.xml
Normal file
13
.idea/libraries/Maven__org_jboss_netty_netty_3_2_5_Final.xml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.jboss.netty:netty:3.2.5.Final">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/jboss/netty/netty/3.2.5.Final/netty-3.2.5.Final.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/jboss/netty/netty/3.2.5.Final/netty-3.2.5.Final-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/jboss/netty/netty/3.2.5.Final/netty-3.2.5.Final-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
13
.idea/libraries/Maven__org_mybatis_mybatis_3_4_5.xml
Normal file
13
.idea/libraries/Maven__org_mybatis_mybatis_3_4_5.xml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.mybatis:mybatis:3.4.5">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/mybatis/mybatis/3.4.5/mybatis-3.4.5.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/mybatis/mybatis/3.4.5/mybatis-3.4.5-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/mybatis/mybatis/3.4.5/mybatis-3.4.5-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
13
.idea/libraries/Maven__org_mybatis_mybatis_spring_1_3_1.xml
Normal file
13
.idea/libraries/Maven__org_mybatis_mybatis_spring_1_3_1.xml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.mybatis:mybatis-spring:1.3.1">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/mybatis/mybatis-spring/1.3.1/mybatis-spring-1.3.1.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/mybatis/mybatis-spring/1.3.1/mybatis-spring-1.3.1-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/mybatis/mybatis-spring/1.3.1/mybatis-spring-1.3.1-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-autoconfigure:1.3.1">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/mybatis/spring/boot/mybatis-spring-boot-autoconfigure/1.3.1/mybatis-spring-boot-autoconfigure-1.3.1.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/mybatis/spring/boot/mybatis-spring-boot-autoconfigure/1.3.1/mybatis-spring-boot-autoconfigure-1.3.1-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/mybatis/spring/boot/mybatis-spring-boot-autoconfigure/1.3.1/mybatis-spring-boot-autoconfigure-1.3.1-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-starter:1.3.1">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/mybatis/spring/boot/mybatis-spring-boot-starter/1.3.1/mybatis-spring-boot-starter-1.3.1.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/mybatis/spring/boot/mybatis-spring-boot-starter/1.3.1/mybatis-spring-boot-starter-1.3.1-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/mybatis/spring/boot/mybatis-spring-boot-starter/1.3.1/mybatis-spring-boot-starter-1.3.1-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
13
.idea/libraries/Maven__org_projectlombok_lombok_1_18_2.xml
Normal file
13
.idea/libraries/Maven__org_projectlombok_lombok_1_18_2.xml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.projectlombok:lombok:1.18.2">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/projectlombok/lombok/1.18.2/lombok-1.18.2.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/projectlombok/lombok/1.18.2/lombok-1.18.2-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/projectlombok/lombok/1.18.2/lombok-1.18.2-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
13
.idea/libraries/Maven__org_slf4j_jcl_over_slf4j_1_7_25.xml
Normal file
13
.idea/libraries/Maven__org_slf4j_jcl_over_slf4j_1_7_25.xml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.slf4j:jcl-over-slf4j:1.7.25">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/jcl-over-slf4j/1.7.25/jcl-over-slf4j-1.7.25.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/jcl-over-slf4j/1.7.25/jcl-over-slf4j-1.7.25-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/jcl-over-slf4j/1.7.25/jcl-over-slf4j-1.7.25-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
13
.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_25.xml
Normal file
13
.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_25.xml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.slf4j:jul-to-slf4j:1.7.25">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/jul-to-slf4j/1.7.25/jul-to-slf4j-1.7.25.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/jul-to-slf4j/1.7.25/jul-to-slf4j-1.7.25-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/jul-to-slf4j/1.7.25/jul-to-slf4j-1.7.25-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
13
.idea/libraries/Maven__org_slf4j_log4j_over_slf4j_1_7_25.xml
Normal file
13
.idea/libraries/Maven__org_slf4j_log4j_over_slf4j_1_7_25.xml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.slf4j:log4j-over-slf4j:1.7.25">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/log4j-over-slf4j/1.7.25/log4j-over-slf4j-1.7.25.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/log4j-over-slf4j/1.7.25/log4j-over-slf4j-1.7.25-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/log4j-over-slf4j/1.7.25/log4j-over-slf4j-1.7.25-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
13
.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_25.xml
Normal file
13
.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_25.xml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.slf4j:slf4j-api:1.7.25">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.springframework.amqp:spring-amqp:1.7.4.RELEASE">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/amqp/spring-amqp/1.7.4.RELEASE/spring-amqp-1.7.4.RELEASE.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/amqp/spring-amqp/1.7.4.RELEASE/spring-amqp-1.7.4.RELEASE-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/amqp/spring-amqp/1.7.4.RELEASE/spring-amqp-1.7.4.RELEASE-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.springframework.amqp:spring-rabbit:1.7.4.RELEASE">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/amqp/spring-rabbit/1.7.4.RELEASE/spring-rabbit-1.7.4.RELEASE.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/amqp/spring-rabbit/1.7.4.RELEASE/spring-rabbit-1.7.4.RELEASE-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/amqp/spring-rabbit/1.7.4.RELEASE/spring-rabbit-1.7.4.RELEASE-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.springframework.boot:spring-boot:1.5.8.RELEASE">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot/1.5.8.RELEASE/spring-boot-1.5.8.RELEASE.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot/1.5.8.RELEASE/spring-boot-1.5.8.RELEASE-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot/1.5.8.RELEASE/spring-boot-1.5.8.RELEASE-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.springframework.boot:spring-boot-autoconfigure:1.5.8.RELEASE">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-autoconfigure/1.5.8.RELEASE/spring-boot-autoconfigure-1.5.8.RELEASE.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-autoconfigure/1.5.8.RELEASE/spring-boot-autoconfigure-1.5.8.RELEASE-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-autoconfigure/1.5.8.RELEASE/spring-boot-autoconfigure-1.5.8.RELEASE-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.springframework.boot:spring-boot-starter:1.5.8.RELEASE">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter/1.5.8.RELEASE/spring-boot-starter-1.5.8.RELEASE.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter/1.5.8.RELEASE/spring-boot-starter-1.5.8.RELEASE-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter/1.5.8.RELEASE/spring-boot-starter-1.5.8.RELEASE-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.springframework.boot:spring-boot-starter-amqp:1.5.8.RELEASE">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-amqp/1.5.8.RELEASE/spring-boot-starter-amqp-1.5.8.RELEASE.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-amqp/1.5.8.RELEASE/spring-boot-starter-amqp-1.5.8.RELEASE-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-amqp/1.5.8.RELEASE/spring-boot-starter-amqp-1.5.8.RELEASE-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.springframework.boot:spring-boot-starter-jdbc:1.5.8.RELEASE">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-jdbc/1.5.8.RELEASE/spring-boot-starter-jdbc-1.5.8.RELEASE.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-jdbc/1.5.8.RELEASE/spring-boot-starter-jdbc-1.5.8.RELEASE-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-jdbc/1.5.8.RELEASE/spring-boot-starter-jdbc-1.5.8.RELEASE-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.springframework.boot:spring-boot-starter-logging:1.5.8.RELEASE">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-logging/1.5.8.RELEASE/spring-boot-starter-logging-1.5.8.RELEASE.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-logging/1.5.8.RELEASE/spring-boot-starter-logging-1.5.8.RELEASE-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-logging/1.5.8.RELEASE/spring-boot-starter-logging-1.5.8.RELEASE-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.springframework.boot:spring-boot-starter-thymeleaf:1.5.8.RELEASE">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-thymeleaf/1.5.8.RELEASE/spring-boot-starter-thymeleaf-1.5.8.RELEASE.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-thymeleaf/1.5.8.RELEASE/spring-boot-starter-thymeleaf-1.5.8.RELEASE-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-thymeleaf/1.5.8.RELEASE/spring-boot-starter-thymeleaf-1.5.8.RELEASE-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.springframework.boot:spring-boot-starter-validation:1.5.8.RELEASE">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-validation/1.5.8.RELEASE/spring-boot-starter-validation-1.5.8.RELEASE.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-validation/1.5.8.RELEASE/spring-boot-starter-validation-1.5.8.RELEASE-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-validation/1.5.8.RELEASE/spring-boot-starter-validation-1.5.8.RELEASE-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.springframework.boot:spring-boot-starter-web:1.5.8.RELEASE">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-web/1.5.8.RELEASE/spring-boot-starter-web-1.5.8.RELEASE.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-web/1.5.8.RELEASE/spring-boot-starter-web-1.5.8.RELEASE-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-web/1.5.8.RELEASE/spring-boot-starter-web-1.5.8.RELEASE-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.springframework.retry:spring-retry:1.2.1.RELEASE">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/retry/spring-retry/1.2.1.RELEASE/spring-retry-1.2.1.RELEASE.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/retry/spring-retry/1.2.1.RELEASE/spring-retry-1.2.1.RELEASE-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/retry/spring-retry/1.2.1.RELEASE/spring-retry-1.2.1.RELEASE-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.springframework:spring-aop:4.3.12.RELEASE">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-aop/4.3.12.RELEASE/spring-aop-4.3.12.RELEASE.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-aop/4.3.12.RELEASE/spring-aop-4.3.12.RELEASE-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-aop/4.3.12.RELEASE/spring-aop-4.3.12.RELEASE-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.springframework:spring-beans:4.3.12.RELEASE">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-beans/4.3.12.RELEASE/spring-beans-4.3.12.RELEASE.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-beans/4.3.12.RELEASE/spring-beans-4.3.12.RELEASE-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-beans/4.3.12.RELEASE/spring-beans-4.3.12.RELEASE-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.springframework:spring-context:4.3.12.RELEASE">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-context/4.3.12.RELEASE/spring-context-4.3.12.RELEASE.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-context/4.3.12.RELEASE/spring-context-4.3.12.RELEASE-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-context/4.3.12.RELEASE/spring-context-4.3.12.RELEASE-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.springframework:spring-core:4.3.12.RELEASE">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-core/4.3.12.RELEASE/spring-core-4.3.12.RELEASE.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-core/4.3.12.RELEASE/spring-core-4.3.12.RELEASE-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-core/4.3.12.RELEASE/spring-core-4.3.12.RELEASE-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.springframework:spring-expression:4.3.12.RELEASE">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-expression/4.3.12.RELEASE/spring-expression-4.3.12.RELEASE.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-expression/4.3.12.RELEASE/spring-expression-4.3.12.RELEASE-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-expression/4.3.12.RELEASE/spring-expression-4.3.12.RELEASE-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.springframework:spring-jdbc:4.3.12.RELEASE">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-jdbc/4.3.12.RELEASE/spring-jdbc-4.3.12.RELEASE.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-jdbc/4.3.12.RELEASE/spring-jdbc-4.3.12.RELEASE-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-jdbc/4.3.12.RELEASE/spring-jdbc-4.3.12.RELEASE-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.springframework:spring-messaging:4.3.12.RELEASE">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-messaging/4.3.12.RELEASE/spring-messaging-4.3.12.RELEASE.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-messaging/4.3.12.RELEASE/spring-messaging-4.3.12.RELEASE-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-messaging/4.3.12.RELEASE/spring-messaging-4.3.12.RELEASE-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.springframework:spring-tx:4.3.12.RELEASE">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-tx/4.3.12.RELEASE/spring-tx-4.3.12.RELEASE.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-tx/4.3.12.RELEASE/spring-tx-4.3.12.RELEASE-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-tx/4.3.12.RELEASE/spring-tx-4.3.12.RELEASE-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.springframework:spring-web:4.3.12.RELEASE">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-web/4.3.12.RELEASE/spring-web-4.3.12.RELEASE.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-web/4.3.12.RELEASE/spring-web-4.3.12.RELEASE-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-web/4.3.12.RELEASE/spring-web-4.3.12.RELEASE-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.springframework:spring-webmvc:4.3.12.RELEASE">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-webmvc/4.3.12.RELEASE/spring-webmvc-4.3.12.RELEASE.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-webmvc/4.3.12.RELEASE/spring-webmvc-4.3.12.RELEASE-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-webmvc/4.3.12.RELEASE/spring-webmvc-4.3.12.RELEASE-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.thymeleaf:thymeleaf:2.1.5.RELEASE">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/thymeleaf/thymeleaf/2.1.5.RELEASE/thymeleaf-2.1.5.RELEASE.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/thymeleaf/thymeleaf/2.1.5.RELEASE/thymeleaf-2.1.5.RELEASE-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/thymeleaf/thymeleaf/2.1.5.RELEASE/thymeleaf-2.1.5.RELEASE-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.thymeleaf:thymeleaf-spring4:2.1.5.RELEASE">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/thymeleaf/thymeleaf-spring4/2.1.5.RELEASE/thymeleaf-spring4-2.1.5.RELEASE.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/thymeleaf/thymeleaf-spring4/2.1.5.RELEASE/thymeleaf-spring4-2.1.5.RELEASE-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/thymeleaf/thymeleaf-spring4/2.1.5.RELEASE/thymeleaf-spring4-2.1.5.RELEASE-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.unbescape:unbescape:1.1.0.RELEASE">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/unbescape/unbescape/1.1.0.RELEASE/unbescape-1.1.0.RELEASE.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/unbescape/unbescape/1.1.0.RELEASE/unbescape-1.1.0.RELEASE-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/unbescape/unbescape/1.1.0.RELEASE/unbescape-1.1.0.RELEASE-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
13
.idea/libraries/Maven__org_yaml_snakeyaml_1_17.xml
Normal file
13
.idea/libraries/Maven__org_yaml_snakeyaml_1_17.xml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: org.yaml:snakeyaml:1.17">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/yaml/snakeyaml/1.17/snakeyaml-1.17.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/yaml/snakeyaml/1.17/snakeyaml-1.17-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/yaml/snakeyaml/1.17/snakeyaml-1.17-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
13
.idea/libraries/Maven__redis_clients_jedis_2_9_0.xml
Normal file
13
.idea/libraries/Maven__redis_clients_jedis_2_9_0.xml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<component name="libraryTable">
|
||||||
|
<library name="Maven: redis.clients:jedis:2.9.0">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/redis/clients/jedis/2.9.0/jedis-2.9.0.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/redis/clients/jedis/2.9.0/jedis-2.9.0-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
|
<SOURCES>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/redis/clients/jedis/2.9.0/jedis-2.9.0-sources.jar!/" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
13
.idea/misc.xml
Normal file
13
.idea/misc.xml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="MavenProjectsManager">
|
||||||
|
<option name="originalFiles">
|
||||||
|
<list>
|
||||||
|
<option value="$PROJECT_DIR$/pom.xml" />
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.7" project-jdk-type="JavaSDK">
|
||||||
|
<output url="file://$PROJECT_DIR$/classes" />
|
||||||
|
</component>
|
||||||
|
</project>
|
8
.idea/modules.xml
Normal file
8
.idea/modules.xml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectModuleManager">
|
||||||
|
<modules>
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/miaosha.iml" filepath="$PROJECT_DIR$/miaosha.iml" />
|
||||||
|
</modules>
|
||||||
|
</component>
|
||||||
|
</project>
|
124
.idea/uiDesigner.xml
Normal file
124
.idea/uiDesigner.xml
Normal file
|
@ -0,0 +1,124 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="Palette2">
|
||||||
|
<group name="Swing">
|
||||||
|
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
|
||||||
|
</item>
|
||||||
|
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
|
||||||
|
<initial-values>
|
||||||
|
<property name="text" value="Button" />
|
||||||
|
</initial-values>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
||||||
|
<initial-values>
|
||||||
|
<property name="text" value="RadioButton" />
|
||||||
|
</initial-values>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
||||||
|
<initial-values>
|
||||||
|
<property name="text" value="CheckBox" />
|
||||||
|
</initial-values>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
|
||||||
|
<initial-values>
|
||||||
|
<property name="text" value="Label" />
|
||||||
|
</initial-values>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||||
|
<preferred-size width="150" height="-1" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||||
|
<preferred-size width="150" height="-1" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||||
|
<preferred-size width="150" height="-1" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||||
|
<preferred-size width="150" height="50" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||||
|
<preferred-size width="150" height="50" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||||
|
<preferred-size width="150" height="50" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||||
|
<preferred-size width="150" height="50" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
|
||||||
|
<preferred-size width="150" height="50" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||||
|
<preferred-size width="150" height="50" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
||||||
|
<preferred-size width="200" height="200" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
||||||
|
<preferred-size width="200" height="200" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
|
||||||
|
<preferred-size width="-1" height="20" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
|
||||||
|
</item>
|
||||||
|
</group>
|
||||||
|
</component>
|
||||||
|
</project>
|
6
.idea/vcs.xml
Normal file
6
.idea/vcs.xml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
1723
.idea/workspace.xml
Normal file
1723
.idea/workspace.xml
Normal file
File diff suppressed because it is too large
Load Diff
|
@ -52,7 +52,7 @@
|
||||||
监控工具:1.nginx_status并发统计,Ngxtop缓存统计
|
监控工具:1.nginx_status并发统计,Ngxtop缓存统计
|
||||||
### nginx负载均衡
|
### nginx负载均衡
|
||||||
|
|
||||||
![整体流程](http://i2.bvimg.com/601558/23f54a389b2b23e8.png)
|
![整体流程](https://raw.githubusercontent.com/qiurunze123/imageall/master/miaosha2.png)
|
||||||
|
|
||||||
|
|
||||||
### <font color=#0099ff size=3 >8.服务降级--服务熔断(过载保护)</font><br>
|
### <font color=#0099ff size=3 >8.服务降级--服务熔断(过载保护)</font><br>
|
||||||
|
@ -97,7 +97,7 @@ redis的数量不是库存,他的作用仅仅只是为了阻挡多余的请求
|
||||||
|
|
||||||
### <font color=#0099ff size=3 >15.为什么threadlocal存储user对象,原理??</font><br>
|
### <font color=#0099ff size=3 >15.为什么threadlocal存储user对象,原理??</font><br>
|
||||||
|
|
||||||
![整体流程](http://i2.bvimg.com/601558/3293e36cc2c7e303.png)
|
![整体流程](https://raw.githubusercontent.com/qiurunze123/imageall/master/miaosha1.png)
|
||||||
|
|
||||||
1.并发编程中重要的问题就是数据共享,当你在一个线程中改变任意属性时,所有的线程都会因此受到影响,同时会看到第一个线程修改后的值<br>
|
1.并发编程中重要的问题就是数据共享,当你在一个线程中改变任意属性时,所有的线程都会因此受到影响,同时会看到第一个线程修改后的值<br>
|
||||||
有时我们希望如此,比如:多个线程增大或减小同一个计数器变量<br>
|
有时我们希望如此,比如:多个线程增大或减小同一个计数器变量<br>
|
||||||
|
|
99
miaosha.iml
Normal file
99
miaosha.iml
Normal file
|
@ -0,0 +1,99 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
|
||||||
|
<component name="FacetManager">
|
||||||
|
<facet type="Spring" name="Spring">
|
||||||
|
<configuration />
|
||||||
|
</facet>
|
||||||
|
<facet type="web" name="Web">
|
||||||
|
<configuration>
|
||||||
|
<webroots />
|
||||||
|
</configuration>
|
||||||
|
</facet>
|
||||||
|
</component>
|
||||||
|
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_6">
|
||||||
|
<output url="file://$MODULE_DIR$/target/classes" />
|
||||||
|
<output-test url="file://$MODULE_DIR$/target/test-classes" />
|
||||||
|
<content url="file://$MODULE_DIR$">
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/target" />
|
||||||
|
</content>
|
||||||
|
<orderEntry type="inheritedJdk" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
<orderEntry type="library" name="Maven: com.alibaba:dubbo:2.5.3" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.javassist:javassist:3.21.0-GA" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.jboss.netty:netty:3.2.5.Final" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.apache.zookeeper:zookeeper:3.4.6" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.25" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: jline:jline:0.9.94" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: junit:junit:4.12" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: io.netty:netty:3.7.0.Final" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-web:1.5.8.RELEASE" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter:1.5.8.RELEASE" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot:1.5.8.RELEASE" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-autoconfigure:1.5.8.RELEASE" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-logging:1.5.8.RELEASE" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: ch.qos.logback:logback-classic:1.1.11" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: ch.qos.logback:logback-core:1.1.11" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.slf4j:jcl-over-slf4j:1.7.25" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.slf4j:jul-to-slf4j:1.7.25" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.slf4j:log4j-over-slf4j:1.7.25" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework:spring-core:4.3.12.RELEASE" level="project" />
|
||||||
|
<orderEntry type="library" scope="RUNTIME" name="Maven: org.yaml:snakeyaml:1.17" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.hibernate:hibernate-validator:5.3.5.Final" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: javax.validation:validation-api:1.1.0.Final" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.jboss.logging:jboss-logging:3.3.1.Final" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: com.fasterxml:classmate:1.3.4" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.8.10" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.8.0" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-core:2.8.10" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework:spring-web:4.3.12.RELEASE" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework:spring-aop:4.3.12.RELEASE" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework:spring-beans:4.3.12.RELEASE" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework:spring-context:4.3.12.RELEASE" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework:spring-webmvc:4.3.12.RELEASE" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework:spring-expression:4.3.12.RELEASE" level="project" />
|
||||||
|
<orderEntry type="library" scope="PROVIDED" name="Maven: org.springframework.boot:spring-boot-starter-tomcat:1.5.8.RELEASE" level="project" />
|
||||||
|
<orderEntry type="library" scope="PROVIDED" name="Maven: org.apache.tomcat.embed:tomcat-embed-core:8.5.23" level="project" />
|
||||||
|
<orderEntry type="library" scope="PROVIDED" name="Maven: org.apache.tomcat:tomcat-annotations-api:8.5.23" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-el:8.5.23" level="project" />
|
||||||
|
<orderEntry type="library" scope="PROVIDED" name="Maven: org.apache.tomcat.embed:tomcat-embed-websocket:8.5.23" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: com.google.guava:guava:18.0" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-thymeleaf:1.5.8.RELEASE" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.thymeleaf:thymeleaf-spring4:2.1.5.RELEASE" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.thymeleaf:thymeleaf:2.1.5.RELEASE" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: ognl:ognl:3.0.8" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.unbescape:unbescape:1.1.0.RELEASE" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:1.4.0" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.codehaus.groovy:groovy:2.4.12" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-starter:1.3.1" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-jdbc:1.5.8.RELEASE" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.apache.tomcat:tomcat-jdbc:8.5.23" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.apache.tomcat:tomcat-juli:8.5.23" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework:spring-jdbc:4.3.12.RELEASE" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-autoconfigure:1.3.1" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.mybatis:mybatis:3.4.5" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.mybatis:mybatis-spring:1.3.1" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: mysql:mysql-connector-java:5.1.44" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: com.alibaba:druid:1.0.5" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: redis.clients:jedis:2.9.0" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.apache.commons:commons-pool2:2.4.2" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: com.alibaba:fastjson:1.2.38" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: commons-codec:commons-codec:1.10" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.apache.commons:commons-lang3:3.6" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-validation:1.5.8.RELEASE" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-amqp:1.5.8.RELEASE" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework:spring-messaging:4.3.12.RELEASE" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework.amqp:spring-rabbit:1.7.4.RELEASE" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: com.rabbitmq:http-client:1.1.1.RELEASE" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpclient:4.5.3" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore:4.4.8" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: com.rabbitmq:amqp-client:4.0.3" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework.retry:spring-retry:1.2.1.RELEASE" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework.amqp:spring-amqp:1.7.4.RELEASE" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework:spring-tx:4.3.12.RELEASE" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: joda-time:joda-time:2.3" level="project" />
|
||||||
|
<orderEntry type="library" scope="PROVIDED" name="Maven: org.projectlombok:lombok:1.18.2" level="project" />
|
||||||
|
</component>
|
||||||
|
</module>
|
26
pom.xml
26
pom.xml
|
@ -46,10 +46,26 @@
|
||||||
</exclusions>
|
</exclusions>
|
||||||
|
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-web</artifactId>
|
<artifactId>spring-boot-starter-web</artifactId>
|
||||||
|
<exclusions>
|
||||||
|
<exclusion>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
||||||
|
</exclusion>
|
||||||
|
</exclusions>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
||||||
|
<!--打包的时候可以不用包进去,别的设施会提供。事实上该依赖理论上可以参与编译,测试,运行等周期。
|
||||||
|
相当于compile,但是打包阶段做了exclude操作-->
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.google.guava</groupId>
|
<groupId>com.google.guava</groupId>
|
||||||
<artifactId>guava</artifactId>
|
<artifactId>guava</artifactId>
|
||||||
|
@ -123,11 +139,11 @@
|
||||||
<version>2.3</version>
|
<version>2.3</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- https://mvnrepository.com/artifact/org.redisson/redisson -->
|
<!-- https://mvnrepository.com/artifact/org.redisson/redisson -->
|
||||||
<dependency>
|
<!--<dependency>-->
|
||||||
<groupId>org.redisson</groupId>
|
<!--<groupId>org.redisson</groupId>-->
|
||||||
<artifactId>redisson</artifactId>
|
<!--<artifactId>redisson</artifactId>-->
|
||||||
<version>2.14.0</version>
|
<!--<version>2.14.0</version>-->
|
||||||
</dependency>
|
<!--</dependency>-->
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
|
|
@ -30,13 +30,13 @@ public class AccessInterceptor extends HandlerInterceptorAdapter{
|
||||||
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler)
|
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler)
|
||||||
throws Exception {
|
throws Exception {
|
||||||
if(handler instanceof HandlerMethod) {
|
if(handler instanceof HandlerMethod) {
|
||||||
|
MiaoshaUser user = getUser(request, response);
|
||||||
|
UserContext.setUser(user);
|
||||||
HandlerMethod hm = (HandlerMethod)handler;
|
HandlerMethod hm = (HandlerMethod)handler;
|
||||||
AccessLimit accessLimit = hm.getMethodAnnotation(AccessLimit.class);
|
AccessLimit accessLimit = hm.getMethodAnnotation(AccessLimit.class);
|
||||||
if(accessLimit == null) {
|
if(accessLimit == null) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
MiaoshaUser user = getUser(request, response);
|
|
||||||
UserContext.setUser(user);
|
|
||||||
int seconds = accessLimit.seconds();
|
int seconds = accessLimit.seconds();
|
||||||
int maxCount = accessLimit.maxCount();
|
int maxCount = accessLimit.maxCount();
|
||||||
boolean needLogin = accessLimit.needLogin();
|
boolean needLogin = accessLimit.needLogin();
|
||||||
|
|
|
@ -11,9 +11,6 @@ import org.springframework.web.context.request.NativeWebRequest;
|
||||||
import org.springframework.web.method.support.HandlerMethodArgumentResolver;
|
import org.springframework.web.method.support.HandlerMethodArgumentResolver;
|
||||||
import org.springframework.web.method.support.ModelAndViewContainer;
|
import org.springframework.web.method.support.ModelAndViewContainer;
|
||||||
|
|
||||||
import javax.servlet.http.Cookie;
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
|
||||||
|
|
||||||
@Service
|
@Service
|
||||||
public class UserArgumentResolver implements HandlerMethodArgumentResolver {
|
public class UserArgumentResolver implements HandlerMethodArgumentResolver {
|
||||||
|
|
||||||
|
@ -41,13 +38,4 @@ public class UserArgumentResolver implements HandlerMethodArgumentResolver {
|
||||||
return UserContext.getUser();
|
return UserContext.getUser();
|
||||||
}
|
}
|
||||||
|
|
||||||
private String getCookieValue(HttpServletRequest request, String cookiName) {
|
|
||||||
Cookie[] cookies = request.getCookies();
|
|
||||||
for(Cookie cookie : cookies) {
|
|
||||||
if(cookie.getName().equals(cookiName)) {
|
|
||||||
return cookie.getValue();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
package com.geekq.miaosha.config;
|
package com.geekq.miaosha.config;
|
||||||
|
|
||||||
import com.geekq.miaosha.access.AccessInterceptor;
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
||||||
import org.springframework.web.method.support.HandlerMethodArgumentResolver;
|
import org.springframework.web.method.support.HandlerMethodArgumentResolver;
|
||||||
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
|
|
||||||
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
|
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
@ -15,18 +13,8 @@ public class WebConfig extends WebMvcConfigurerAdapter {
|
||||||
@Autowired
|
@Autowired
|
||||||
UserArgumentResolver userArgumentResolver;
|
UserArgumentResolver userArgumentResolver;
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private AccessInterceptor accessInterceptor;
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void addInterceptors(InterceptorRegistry registry) {
|
|
||||||
super.addInterceptors(registry);
|
|
||||||
registry.addInterceptor(accessInterceptor);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void addArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers) {
|
public void addArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers) {
|
||||||
argumentResolvers.add(userArgumentResolver);
|
argumentResolvers.add(userArgumentResolver);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -93,7 +93,7 @@ public class MiaoshaController implements InitializingBean {
|
||||||
return Result.error(CodeMsg.MIAO_SHA_OVER);
|
return Result.error(CodeMsg.MIAO_SHA_OVER);
|
||||||
}
|
}
|
||||||
//预见库存
|
//预见库存
|
||||||
long stock = redisService.decr(GoodsKey.getMiaoshaGoodsStock,""+goodsId) ;
|
Long stock = redisService.decr(GoodsKey.getMiaoshaGoodsStock,""+goodsId) ;
|
||||||
if(stock <0){
|
if(stock <0){
|
||||||
localOverMap.put(goodsId, true);
|
localOverMap.put(goodsId, true);
|
||||||
return Result.error(CodeMsg.MIAO_SHA_OVER);
|
return Result.error(CodeMsg.MIAO_SHA_OVER);
|
||||||
|
@ -162,6 +162,10 @@ public class MiaoshaController implements InitializingBean {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 系统初始化
|
||||||
|
* @throws Exception
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void afterPropertiesSet() throws Exception {
|
public void afterPropertiesSet() throws Exception {
|
||||||
List<GoodsVo> goodsList= goodsService.listGoodsVo();
|
List<GoodsVo> goodsList= goodsService.listGoodsVo();
|
||||||
|
|
|
@ -20,7 +20,7 @@ public class RedisPoolFactory {
|
||||||
poolConfig.setMaxTotal(redisConfig.getPoolMaxTotal());
|
poolConfig.setMaxTotal(redisConfig.getPoolMaxTotal());
|
||||||
poolConfig.setMaxWaitMillis(redisConfig.getPoolMaxWait() * 1000);
|
poolConfig.setMaxWaitMillis(redisConfig.getPoolMaxWait() * 1000);
|
||||||
JedisPool jp = new JedisPool(poolConfig, redisConfig.getHost(), redisConfig.getPort(),
|
JedisPool jp = new JedisPool(poolConfig, redisConfig.getHost(), redisConfig.getPort(),
|
||||||
redisConfig.getTimeout()*1000, redisConfig.getPassword(), 8);
|
redisConfig.getTimeout()*1000, redisConfig.getPassword(), 0);
|
||||||
return jp;
|
return jp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,77 +1,76 @@
|
||||||
package com.geekq.miaosha.redis;
|
//package com.geekq.miaosha.redis;
|
||||||
|
//
|
||||||
import org.apache.commons.lang3.StringUtils;
|
//import org.apache.commons.lang3.StringUtils;
|
||||||
import org.redisson.Redisson;
|
//import org.redisson.Redisson;
|
||||||
import org.redisson.api.RedissonClient;
|
//import org.redisson.api.RedissonClient;
|
||||||
import org.redisson.config.Config;
|
//import org.redisson.config.Config;
|
||||||
import org.redisson.config.SentinelServersConfig;
|
//import org.redisson.config.SentinelServersConfig;
|
||||||
import org.redisson.config.SingleServerConfig;
|
//import org.redisson.config.SingleServerConfig;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
//import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
|
//import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
|
||||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
//import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
||||||
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
//import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
||||||
import org.springframework.context.annotation.Bean;
|
//import org.springframework.context.annotation.Bean;
|
||||||
import org.springframework.context.annotation.Configuration;
|
//import org.springframework.context.annotation.Configuration;
|
||||||
|
//
|
||||||
@Configuration
|
//@Configuration
|
||||||
@ConditionalOnClass(Config.class)
|
//@ConditionalOnClass(Config.class)
|
||||||
@EnableConfigurationProperties(RedissonProperties.class)
|
//@EnableConfigurationProperties(RedissonProperties.class)
|
||||||
public class RedissonAutoConfiguration {
|
//public class RedissonAutoConfiguration {
|
||||||
|
//
|
||||||
@Autowired
|
// @Autowired
|
||||||
private RedissonProperties redssionProperties;
|
// private RedissonProperties redssionProperties;
|
||||||
|
//
|
||||||
/**
|
// /**
|
||||||
* 哨兵模式自动装配
|
// * 哨兵模式自动装配
|
||||||
* @return
|
// * @return
|
||||||
*/
|
// */
|
||||||
@Bean
|
// @Bean
|
||||||
@ConditionalOnProperty(name="redisson.master-name")
|
// @ConditionalOnProperty(name="redisson.master-name")
|
||||||
RedissonClient redissonSentinel() {
|
// RedissonClient redissonSentinel() {
|
||||||
Config config = new Config();
|
// Config config = new Config();
|
||||||
SentinelServersConfig serverConfig = config.useSentinelServers().addSentinelAddress(redssionProperties.getSentinelAddresses())
|
// SentinelServersConfig serverConfig = config.useSentinelServers().addSentinelAddress(redssionProperties.getSentinelAddresses())
|
||||||
.setMasterName(redssionProperties.getMasterName())
|
// .setMasterName(redssionProperties.getMasterName())
|
||||||
.setTimeout(redssionProperties.getTimeout())
|
// .setTimeout(redssionProperties.getTimeout())
|
||||||
.setMasterConnectionPoolSize(redssionProperties.getMasterConnectionPoolSize())
|
// .setMasterConnectionPoolSize(redssionProperties.getMasterConnectionPoolSize())
|
||||||
.setSlaveConnectionPoolSize(redssionProperties.getSlaveConnectionPoolSize());
|
// .setSlaveConnectionPoolSize(redssionProperties.getSlaveConnectionPoolSize());
|
||||||
|
//
|
||||||
if(StringUtils.isNotBlank(redssionProperties.getPassword())) {
|
// if(StringUtils.isNotBlank(redssionProperties.getPassword())) {
|
||||||
serverConfig.setPassword(redssionProperties.getPassword());
|
// serverConfig.setPassword(redssionProperties.getPassword());
|
||||||
}
|
// }
|
||||||
return Redisson.create(config);
|
// return Redisson.create(config);
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
/**
|
// /**
|
||||||
* 单机模式自动装配
|
// * 单机模式自动装配
|
||||||
* @return
|
// * @return
|
||||||
*/
|
// */
|
||||||
@Bean
|
// @Bean
|
||||||
@ConditionalOnProperty(name="redisson.address")
|
// @ConditionalOnProperty(name="redisson.address")
|
||||||
RedissonClient redissonSingle() {
|
// RedissonClient redissonSingle() {
|
||||||
Config config = new Config();
|
// Config config = new Config();
|
||||||
SingleServerConfig serverConfig = config.useSingleServer()
|
// SingleServerConfig serverConfig = config.useSingleServer()
|
||||||
.setDatabase(9)
|
// .setAddress(redssionProperties.getAddress())
|
||||||
.setAddress(redssionProperties.getAddress())
|
// .setTimeout(redssionProperties.getTimeout())
|
||||||
.setTimeout(redssionProperties.getTimeout())
|
// .setConnectionPoolSize(redssionProperties.getConnectionPoolSize())
|
||||||
.setConnectionPoolSize(redssionProperties.getConnectionPoolSize())
|
// .setConnectionMinimumIdleSize(redssionProperties.getConnectionMinimumIdleSize());
|
||||||
.setConnectionMinimumIdleSize(redssionProperties.getConnectionMinimumIdleSize());
|
//
|
||||||
|
// if(StringUtils.isNotBlank(redssionProperties.getPassword())) {
|
||||||
if(StringUtils.isNotBlank(redssionProperties.getPassword())) {
|
// serverConfig.setPassword(redssionProperties.getPassword());
|
||||||
serverConfig.setPassword(redssionProperties.getPassword());
|
// }
|
||||||
}
|
//
|
||||||
|
// return Redisson.create(config);
|
||||||
return Redisson.create(config);
|
// }
|
||||||
}
|
//
|
||||||
|
// /**
|
||||||
/**
|
// * 装配locker类,并将实例注入到RedissLockUtil中
|
||||||
* 装配locker类,并将实例注入到RedissLockUtil中
|
// * @return
|
||||||
* @return
|
// */
|
||||||
*/
|
// @Bean
|
||||||
@Bean
|
// DistributedLocker distributedLocker(RedissonClient redissonSingle) {
|
||||||
DistributedLocker distributedLocker(RedissonClient redissonSingle) {
|
// RedissonDistributedLocker locker = new RedissonDistributedLocker();
|
||||||
RedissonDistributedLocker locker = new RedissonDistributedLocker();
|
// locker.setRedissonClient(redissonSingle);
|
||||||
locker.setRedissonClient(redissonSingle);
|
// RedissLockUtil.setLocker(locker);
|
||||||
RedissLockUtil.setLocker(locker);
|
// return locker;
|
||||||
return locker;
|
// }
|
||||||
}
|
//}
|
||||||
}
|
|
||||||
|
|
|
@ -1,39 +1,39 @@
|
||||||
package com.geekq.miaosha.redis;
|
//package com.geekq.miaosha.redis;
|
||||||
|
//
|
||||||
import org.redisson.api.RLock;
|
//import org.redisson.api.RLock;
|
||||||
import org.redisson.api.RedissonClient;
|
//import org.redisson.api.RedissonClient;
|
||||||
|
//
|
||||||
import java.util.concurrent.TimeUnit;
|
//import java.util.concurrent.TimeUnit;
|
||||||
|
//
|
||||||
public class RedissonDistributedLocker implements DistributedLocker {
|
//public class RedissonDistributedLocker implements DistributedLocker {
|
||||||
|
//
|
||||||
private RedissonClient redissonClient;
|
// private RedissonClient redissonClient;
|
||||||
|
//
|
||||||
@Override
|
// @Override
|
||||||
public void lock(String lockKey) {
|
// public void lock(String lockKey) {
|
||||||
RLock lock = redissonClient.getLock(lockKey);
|
// RLock lock = redissonClient.getLock(lockKey);
|
||||||
lock.lock();
|
// lock.lock();
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
@Override
|
// @Override
|
||||||
public void unlock(String lockKey) {
|
// public void unlock(String lockKey) {
|
||||||
RLock lock = redissonClient.getLock(lockKey);
|
// RLock lock = redissonClient.getLock(lockKey);
|
||||||
lock.unlock();
|
// lock.unlock();
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
@Override
|
// @Override
|
||||||
public void lock(String lockKey, int leaseTime) {
|
// public void lock(String lockKey, int leaseTime) {
|
||||||
RLock lock = redissonClient.getLock(lockKey);
|
// RLock lock = redissonClient.getLock(lockKey);
|
||||||
lock.lock(leaseTime, TimeUnit.SECONDS);
|
// lock.lock(leaseTime, TimeUnit.SECONDS);
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
@Override
|
// @Override
|
||||||
public void lock(String lockKey, TimeUnit unit ,int timeout) {
|
// public void lock(String lockKey, TimeUnit unit ,int timeout) {
|
||||||
RLock lock = redissonClient.getLock(lockKey);
|
// RLock lock = redissonClient.getLock(lockKey);
|
||||||
lock.lock(timeout, unit);
|
// lock.lock(timeout, unit);
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
public void setRedissonClient(RedissonClient redissonClient) {
|
// public void setRedissonClient(RedissonClient redissonClient) {
|
||||||
this.redissonClient = redissonClient;
|
// this.redissonClient = redissonClient;
|
||||||
}
|
// }
|
||||||
}
|
//}
|
|
@ -1,98 +1,98 @@
|
||||||
package com.geekq.miaosha.redis;
|
//package com.geekq.miaosha.redis;
|
||||||
|
//
|
||||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
//import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||||
|
//
|
||||||
@ConfigurationProperties(prefix = "redisson")
|
//@ConfigurationProperties(prefix = "redisson")
|
||||||
public class RedissonProperties {
|
//public class RedissonProperties {
|
||||||
|
//
|
||||||
private int timeout = 3000;
|
// private int timeout = 3000;
|
||||||
|
//
|
||||||
private String address;
|
// private String address;
|
||||||
|
//
|
||||||
private String password;
|
// private String password;
|
||||||
|
//
|
||||||
private int connectionPoolSize = 64;
|
// private int connectionPoolSize = 64;
|
||||||
|
//
|
||||||
private int connectionMinimumIdleSize=10;
|
// private int connectionMinimumIdleSize=10;
|
||||||
|
//
|
||||||
private int slaveConnectionPoolSize = 250;
|
// private int slaveConnectionPoolSize = 250;
|
||||||
|
//
|
||||||
private int masterConnectionPoolSize = 250;
|
// private int masterConnectionPoolSize = 250;
|
||||||
|
//
|
||||||
private String[] sentinelAddresses;
|
// private String[] sentinelAddresses;
|
||||||
|
//
|
||||||
private String masterName;
|
// private String masterName;
|
||||||
|
//
|
||||||
public int getTimeout() {
|
// public int getTimeout() {
|
||||||
return timeout;
|
// return timeout;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
public void setTimeout(int timeout) {
|
// public void setTimeout(int timeout) {
|
||||||
this.timeout = timeout;
|
// this.timeout = timeout;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
public int getSlaveConnectionPoolSize() {
|
// public int getSlaveConnectionPoolSize() {
|
||||||
return slaveConnectionPoolSize;
|
// return slaveConnectionPoolSize;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
public void setSlaveConnectionPoolSize(int slaveConnectionPoolSize) {
|
// public void setSlaveConnectionPoolSize(int slaveConnectionPoolSize) {
|
||||||
this.slaveConnectionPoolSize = slaveConnectionPoolSize;
|
// this.slaveConnectionPoolSize = slaveConnectionPoolSize;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
public int getMasterConnectionPoolSize() {
|
// public int getMasterConnectionPoolSize() {
|
||||||
return masterConnectionPoolSize;
|
// return masterConnectionPoolSize;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
public void setMasterConnectionPoolSize(int masterConnectionPoolSize) {
|
// public void setMasterConnectionPoolSize(int masterConnectionPoolSize) {
|
||||||
this.masterConnectionPoolSize = masterConnectionPoolSize;
|
// this.masterConnectionPoolSize = masterConnectionPoolSize;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
public String[] getSentinelAddresses() {
|
// public String[] getSentinelAddresses() {
|
||||||
return sentinelAddresses;
|
// return sentinelAddresses;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
public void setSentinelAddresses(String sentinelAddresses) {
|
// public void setSentinelAddresses(String sentinelAddresses) {
|
||||||
this.sentinelAddresses = sentinelAddresses.split(",");
|
// this.sentinelAddresses = sentinelAddresses.split(",");
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
public String getMasterName() {
|
// public String getMasterName() {
|
||||||
return masterName;
|
// return masterName;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
public void setMasterName(String masterName) {
|
// public void setMasterName(String masterName) {
|
||||||
this.masterName = masterName;
|
// this.masterName = masterName;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
public String getPassword() {
|
// public String getPassword() {
|
||||||
return password;
|
// return password;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
public void setPassword(String password) {
|
// public void setPassword(String password) {
|
||||||
this.password = password;
|
// this.password = password;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
public String getAddress() {
|
// public String getAddress() {
|
||||||
return address;
|
// return address;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
public void setAddress(String address) {
|
// public void setAddress(String address) {
|
||||||
this.address = address;
|
// this.address = address;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
public int getConnectionPoolSize() {
|
// public int getConnectionPoolSize() {
|
||||||
return connectionPoolSize;
|
// return connectionPoolSize;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
public void setConnectionPoolSize(int connectionPoolSize) {
|
// public void setConnectionPoolSize(int connectionPoolSize) {
|
||||||
this.connectionPoolSize = connectionPoolSize;
|
// this.connectionPoolSize = connectionPoolSize;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
public int getConnectionMinimumIdleSize() {
|
// public int getConnectionMinimumIdleSize() {
|
||||||
return connectionMinimumIdleSize;
|
// return connectionMinimumIdleSize;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
public void setConnectionMinimumIdleSize(int connectionMinimumIdleSize) {
|
// public void setConnectionMinimumIdleSize(int connectionMinimumIdleSize) {
|
||||||
this.connectionMinimumIdleSize = connectionMinimumIdleSize;
|
// this.connectionMinimumIdleSize = connectionMinimumIdleSize;
|
||||||
}
|
// }
|
||||||
}
|
//}
|
||||||
|
//
|
||||||
|
|
|
@ -1,146 +1,146 @@
|
||||||
package com.geekq.miaosha.redis;
|
//package com.geekq.miaosha.redis;
|
||||||
|
//
|
||||||
import org.redisson.api.*;
|
//import org.redisson.api.*;
|
||||||
import org.redisson.config.Config;
|
//import org.redisson.config.Config;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
//import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
//import org.springframework.stereotype.Service;
|
||||||
|
//
|
||||||
import java.io.IOException;
|
//import java.io.IOException;
|
||||||
|
//
|
||||||
/**
|
///**
|
||||||
* redisson操作类
|
// * redisson操作类
|
||||||
*/
|
// */
|
||||||
@Service("redissonService")
|
//@Service("redissonService")
|
||||||
public class RedissonService {
|
//public class RedissonService {
|
||||||
|
//
|
||||||
@Autowired
|
// @Autowired
|
||||||
private RedissonClient redissonClient;
|
// private RedissonClient redissonClient;
|
||||||
|
//
|
||||||
public void getRedissonClient() throws IOException {
|
// public void getRedissonClient() throws IOException {
|
||||||
Config config = redissonClient.getConfig();
|
// Config config = redissonClient.getConfig();
|
||||||
System.out.println(config.toJSON().toString());
|
// System.out.println(config.toJSON().toString());
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
/**`
|
// /**`
|
||||||
* 获取字符串对象
|
// * 获取字符串对象
|
||||||
*
|
// *
|
||||||
* @param objectName
|
// * @param objectName
|
||||||
* @return
|
// * @return
|
||||||
*/
|
// */
|
||||||
public <T> RBucket<T> getRBucket(String objectName) {
|
// public <T> RBucket<T> getRBucket(String objectName) {
|
||||||
RBucket<T> bucket = redissonClient.getBucket(objectName);
|
// RBucket<T> bucket = redissonClient.getBucket(objectName);
|
||||||
return bucket;
|
// return bucket;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
/**
|
// /**
|
||||||
* 获取Map对象
|
// * 获取Map对象
|
||||||
*
|
// *
|
||||||
* @param objectName
|
// * @param objectName
|
||||||
* @return
|
// * @return
|
||||||
*/
|
// */
|
||||||
public <K, V> RMap<K, V> getRMap(String objectName) {
|
// public <K, V> RMap<K, V> getRMap(String objectName) {
|
||||||
RMap<K, V> map = redissonClient.getMap(objectName);
|
// RMap<K, V> map = redissonClient.getMap(objectName);
|
||||||
return map;
|
// return map;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
/**
|
// /**
|
||||||
* 获取有序集合
|
// * 获取有序集合
|
||||||
*
|
// *
|
||||||
* @param objectName
|
// * @param objectName
|
||||||
* @return
|
// * @return
|
||||||
*/
|
// */
|
||||||
public <V> RSortedSet<V> getRSortedSet(String objectName) {
|
// public <V> RSortedSet<V> getRSortedSet(String objectName) {
|
||||||
RSortedSet<V> sortedSet = redissonClient.getSortedSet(objectName);
|
// RSortedSet<V> sortedSet = redissonClient.getSortedSet(objectName);
|
||||||
return sortedSet;
|
// return sortedSet;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
/**
|
// /**
|
||||||
* 获取集合
|
// * 获取集合
|
||||||
*
|
// *
|
||||||
* @param objectName
|
// * @param objectName
|
||||||
* @return
|
// * @return
|
||||||
*/
|
// */
|
||||||
public <V> RSet<V> getRSet(String objectName) {
|
// public <V> RSet<V> getRSet(String objectName) {
|
||||||
RSet<V> rSet = redissonClient.getSet(objectName);
|
// RSet<V> rSet = redissonClient.getSet(objectName);
|
||||||
return rSet;
|
// return rSet;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
/**
|
// /**
|
||||||
* 获取列表
|
// * 获取列表
|
||||||
*
|
// *
|
||||||
* @param objectName
|
// * @param objectName
|
||||||
* @return
|
// * @return
|
||||||
*/
|
// */
|
||||||
public <V> RList<V> getRList(String objectName) {
|
// public <V> RList<V> getRList(String objectName) {
|
||||||
RList<V> rList = redissonClient.getList(objectName);
|
// RList<V> rList = redissonClient.getList(objectName);
|
||||||
return rList;
|
// return rList;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
/**
|
// /**
|
||||||
* 获取队列
|
// * 获取队列
|
||||||
*
|
// *
|
||||||
* @param objectName
|
// * @param objectName
|
||||||
* @return
|
// * @return
|
||||||
*/
|
// */
|
||||||
public <V> RQueue<V> getRQueue(String objectName) {
|
// public <V> RQueue<V> getRQueue(String objectName) {
|
||||||
RQueue<V> rQueue = redissonClient.getQueue(objectName);
|
// RQueue<V> rQueue = redissonClient.getQueue(objectName);
|
||||||
return rQueue;
|
// return rQueue;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
/**
|
// /**
|
||||||
* 获取双端队列
|
// * 获取双端队列
|
||||||
*
|
// *
|
||||||
* @param objectName
|
// * @param objectName
|
||||||
* @return
|
// * @return
|
||||||
*/
|
// */
|
||||||
public <V> RDeque<V> getRDeque(String objectName) {
|
// public <V> RDeque<V> getRDeque(String objectName) {
|
||||||
RDeque<V> rDeque = redissonClient.getDeque(objectName);
|
// RDeque<V> rDeque = redissonClient.getDeque(objectName);
|
||||||
return rDeque;
|
// return rDeque;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
|
//
|
||||||
/**
|
// /**
|
||||||
* 获取锁
|
// * 获取锁
|
||||||
*
|
// *
|
||||||
* @param objectName
|
// * @param objectName
|
||||||
* @return
|
// * @return
|
||||||
*/
|
// */
|
||||||
public RLock getRLock(String objectName) {
|
// public RLock getRLock(String objectName) {
|
||||||
RLock rLock = redissonClient.getLock(objectName);
|
// RLock rLock = redissonClient.getLock(objectName);
|
||||||
return rLock;
|
// return rLock;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
/**
|
// /**
|
||||||
* 获取读取锁
|
// * 获取读取锁
|
||||||
*
|
// *
|
||||||
* @param objectName
|
// * @param objectName
|
||||||
* @return
|
// * @return
|
||||||
*/
|
// */
|
||||||
public RReadWriteLock getRWLock(String objectName) {
|
// public RReadWriteLock getRWLock(String objectName) {
|
||||||
RReadWriteLock rwlock = redissonClient.getReadWriteLock(objectName);
|
// RReadWriteLock rwlock = redissonClient.getReadWriteLock(objectName);
|
||||||
return rwlock;
|
// return rwlock;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
/**
|
// /**
|
||||||
* 获取原子数
|
// * 获取原子数
|
||||||
*
|
// *
|
||||||
* @param objectName
|
// * @param objectName
|
||||||
* @return
|
// * @return
|
||||||
*/
|
// */
|
||||||
public RAtomicLong getRAtomicLong(String objectName) {
|
// public RAtomicLong getRAtomicLong(String objectName) {
|
||||||
RAtomicLong rAtomicLong = redissonClient.getAtomicLong(objectName);
|
// RAtomicLong rAtomicLong = redissonClient.getAtomicLong(objectName);
|
||||||
return rAtomicLong;
|
// return rAtomicLong;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
/**
|
// /**
|
||||||
* 获取记数锁
|
// * 获取记数锁
|
||||||
*
|
// *
|
||||||
* @param objectName
|
// * @param objectName
|
||||||
* @return
|
// * @return
|
||||||
*/
|
// */
|
||||||
public RCountDownLatch getRCountDownLatch(String objectName) {
|
// public RCountDownLatch getRCountDownLatch(String objectName) {
|
||||||
RCountDownLatch rCountDownLatch = redissonClient.getCountDownLatch(objectName);
|
// RCountDownLatch rCountDownLatch = redissonClient.getCountDownLatch(objectName);
|
||||||
return rCountDownLatch;
|
// return rCountDownLatch;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
}
|
//}
|
|
@ -37,7 +37,7 @@ public class MiaoShaUserService {
|
||||||
}
|
}
|
||||||
MiaoshaUser user =redisService.get(MiaoShaUserKey.token,token,MiaoshaUser.class) ;
|
MiaoshaUser user =redisService.get(MiaoShaUserKey.token,token,MiaoshaUser.class) ;
|
||||||
if(user!=null) {
|
if(user!=null) {
|
||||||
addCookie(response, user);
|
addCookie(response, token, user);
|
||||||
}
|
}
|
||||||
return user ;
|
return user ;
|
||||||
|
|
||||||
|
@ -106,16 +106,24 @@ public class MiaoShaUserService {
|
||||||
throw new GlobleException(CodeMsg.PASSWORD_ERROR);
|
throw new GlobleException(CodeMsg.PASSWORD_ERROR);
|
||||||
}
|
}
|
||||||
//生成cookie
|
//生成cookie
|
||||||
addCookie(response,user);
|
String token= UUIDUtil.uuid();
|
||||||
|
addCookie(response, token, user);
|
||||||
return true ;
|
return true ;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void addCookie(HttpServletResponse response ,MiaoshaUser user){
|
private void addCookie(HttpServletResponse response, String token, MiaoshaUser user) {
|
||||||
String token = UUIDUtil.uuid();
|
redisService.set(MiaoShaUserKey.token, token, user);
|
||||||
redisService.set(MiaoShaUserKey.token,token,user) ;
|
Cookie cookie = new Cookie(COOKIE_NAME_TOKEN, token);
|
||||||
Cookie cookie = new Cookie(COOKIE_NAME_TOKEN , token) ;
|
|
||||||
cookie.setMaxAge(MiaoShaUserKey.token.expireSeconds());
|
cookie.setMaxAge(MiaoShaUserKey.token.expireSeconds());
|
||||||
cookie.setPath("/");
|
cookie.setPath("/");
|
||||||
response.addCookie(cookie);
|
response.addCookie(cookie);
|
||||||
}
|
}
|
||||||
|
// private void addCookie(HttpServletResponse response ,MiaoshaUser user){
|
||||||
|
// String token = UUIDUtil.uuid();
|
||||||
|
// redisService.set(MiaoShaUserKey.token,token,user) ;
|
||||||
|
// Cookie cookie = new Cookie(COOKIE_NAME_TOKEN , token) ;
|
||||||
|
// cookie.setMaxAge(MiaoShaUserKey.token.expireSeconds());
|
||||||
|
// cookie.setPath("/");
|
||||||
|
// response.addCookie(cookie);
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,114 +1,114 @@
|
||||||
package com.geekq.miaosha.timeTask;
|
//package com.geekq.miaosha.timeTask;
|
||||||
|
|
||||||
import com.geekq.miaosha.dao.OrderDao;
|
|
||||||
import com.geekq.miaosha.redis.RedisService;
|
|
||||||
import com.geekq.miaosha.redis.RedissonService;
|
|
||||||
import com.geekq.miaosha.service.OrderService;
|
|
||||||
import jodd.util.PropertiesUtil;
|
|
||||||
import lombok.extern.slf4j.Slf4j;
|
|
||||||
import org.apache.commons.lang3.StringUtils;
|
|
||||||
import org.redisson.api.RLock;
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
|
||||||
import org.springframework.scheduling.annotation.Scheduled;
|
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
|
|
||||||
import java.util.concurrent.TimeUnit;
|
|
||||||
|
|
||||||
import static com.geekq.miaosha.common.Constanst.CLOSE_ORDER_INFO_TASK_LOCK;
|
|
||||||
|
|
||||||
@Component
|
|
||||||
@Slf4j
|
|
||||||
public class OrderCloseTask {
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private OrderDao orderDao ;
|
|
||||||
@Autowired
|
|
||||||
private RedisService redisService;
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private OrderService orderService;
|
|
||||||
@Autowired
|
|
||||||
private RedissonService redissonService;
|
|
||||||
|
|
||||||
|
|
||||||
// @Scheduled(cron = "0/1 * * * * ?")
|
|
||||||
private void closeOrderTaskv1(){
|
|
||||||
int hour = 2;
|
|
||||||
orderService.closeOrder(hour);
|
|
||||||
log.info("关闭订单定时任务结束");
|
|
||||||
}
|
|
||||||
// @Scheduled(cron = "0/1 * * * * ?")
|
|
||||||
// public void closeOrderTaskV2(){
|
|
||||||
// log.info("关闭订单定时任务启动");
|
|
||||||
// long lockTime = 5000;
|
|
||||||
// Long setnxResult = redisService.setnx(CLOSE_ORDER_INFO_TASK_LOCK,String.valueOf(System.currentTimeMillis()+lockTime));
|
|
||||||
// //代表获取了锁
|
|
||||||
// if(setnxResult !=null && setnxResult ==1){
|
|
||||||
// closeOrder(CLOSE_ORDER_INFO_TASK_LOCK);
|
|
||||||
// }else {
|
|
||||||
// log.info("没有获得分布式锁:{}",CLOSE_ORDER_INFO_TASK_LOCK);
|
|
||||||
// }
|
|
||||||
// log.info("关闭订单定时任务结束");
|
|
||||||
// }
|
|
||||||
|
|
||||||
// @Scheduled(cron = "0/1 * * * * ?")
|
|
||||||
// public void closeOrderTaskV3(){
|
|
||||||
// log.info("关闭订单定时任务启动");
|
|
||||||
// long lockTime = 5000;
|
|
||||||
// Long setnxResult = redisService.setnx(CLOSE_ORDER_INFO_TASK_LOCK,String.valueOf(System.currentTimeMillis()+lockTime));
|
|
||||||
// //代表获取了锁
|
|
||||||
// if(setnxResult !=null && setnxResult ==1){
|
|
||||||
// closeOrder(CLOSE_ORDER_INFO_TASK_LOCK);
|
|
||||||
// }else {
|
|
||||||
// log.info("没有获得分布式锁:{}",CLOSE_ORDER_INFO_TASK_LOCK);
|
|
||||||
// String lockValueStr = redisService.get(CLOSE_ORDER_INFO_TASK_LOCK);
|
|
||||||
// if(lockValueStr!=null&&System.currentTimeMillis() > Long.parseLong(lockValueStr)){
|
|
||||||
// //把之前的释放在新加入锁
|
|
||||||
// String getSetResult = redisService.getset(CLOSE_ORDER_INFO_TASK_LOCK,String.valueOf(System.currentTimeMillis()+lockTime));
|
|
||||||
//
|
//
|
||||||
// if(getSetResult == null || (getSetResult != null && StringUtils.equals(lockValueStr,getSetResult))){
|
//import com.geekq.miaosha.dao.OrderDao;
|
||||||
// closeOrder(CLOSE_ORDER_INFO_TASK_LOCK);
|
//import com.geekq.miaosha.redis.RedisService;
|
||||||
// }else {
|
//import com.geekq.miaosha.redis.RedissonService;
|
||||||
// log.info("没有获取到分布式锁:{}",CLOSE_ORDER_INFO_TASK_LOCK);
|
//import com.geekq.miaosha.service.OrderService;
|
||||||
// }
|
//import jodd.util.PropertiesUtil;
|
||||||
// }else {
|
//import lombok.extern.slf4j.Slf4j;
|
||||||
// log.info("没有获取到分布式锁:{}",CLOSE_ORDER_INFO_TASK_LOCK);
|
//import org.apache.commons.lang3.StringUtils;
|
||||||
// }
|
//import org.redisson.api.RLock;
|
||||||
// }
|
//import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
//import org.springframework.scheduling.annotation.Scheduled;
|
||||||
|
//import org.springframework.stereotype.Component;
|
||||||
|
//
|
||||||
|
//import java.util.concurrent.TimeUnit;
|
||||||
|
//
|
||||||
|
//import static com.geekq.miaosha.common.Constanst.CLOSE_ORDER_INFO_TASK_LOCK;
|
||||||
|
//
|
||||||
|
//@Component
|
||||||
|
//@Slf4j
|
||||||
|
//public class OrderCloseTask {
|
||||||
|
//
|
||||||
|
// @Autowired
|
||||||
|
// private OrderDao orderDao ;
|
||||||
|
// @Autowired
|
||||||
|
// private RedisService redisService;
|
||||||
|
//
|
||||||
|
// @Autowired
|
||||||
|
// private OrderService orderService;
|
||||||
|
// @Autowired
|
||||||
|
// private RedissonService redissonService;
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//// @Scheduled(cron = "0/1 * * * * ?")
|
||||||
|
// private void closeOrderTaskv1(){
|
||||||
|
// int hour = 2;
|
||||||
|
// orderService.closeOrder(hour);
|
||||||
// log.info("关闭订单定时任务结束");
|
// log.info("关闭订单定时任务结束");
|
||||||
// }
|
// }
|
||||||
@Scheduled(cron="0 */1 * * * ?")
|
//// @Scheduled(cron = "0/1 * * * * ?")
|
||||||
public void closeOrderTaskV4(){
|
//// public void closeOrderTaskV2(){
|
||||||
RLock lock = redissonService.getRLock(CLOSE_ORDER_INFO_TASK_LOCK);
|
//// log.info("关闭订单定时任务启动");
|
||||||
boolean getLock = false;
|
//// long lockTime = 5000;
|
||||||
try {
|
//// Long setnxResult = redisService.setnx(CLOSE_ORDER_INFO_TASK_LOCK,String.valueOf(System.currentTimeMillis()+lockTime));
|
||||||
if(getLock = lock.tryLock(0,50, TimeUnit.SECONDS)){
|
//// //代表获取了锁
|
||||||
log.info("Redisson获取到分布式锁:{},ThreadName:{}",CLOSE_ORDER_INFO_TASK_LOCK,Thread.currentThread().getName());
|
//// if(setnxResult !=null && setnxResult ==1){
|
||||||
int hour = 2;
|
//// closeOrder(CLOSE_ORDER_INFO_TASK_LOCK);
|
||||||
// iOrderService.closeOrder(hour);
|
//// }else {
|
||||||
}else{
|
//// log.info("没有获得分布式锁:{}",CLOSE_ORDER_INFO_TASK_LOCK);
|
||||||
log.info("Redisson没有获取到分布式锁:{},ThreadName:{}",CLOSE_ORDER_INFO_TASK_LOCK,Thread.currentThread().getName());
|
//// }
|
||||||
}
|
//// log.info("关闭订单定时任务结束");
|
||||||
} catch (InterruptedException e) {
|
//// }
|
||||||
log.error("Redisson分布式锁获取异常",e);
|
//
|
||||||
} finally {
|
//// @Scheduled(cron = "0/1 * * * * ?")
|
||||||
if(!getLock){
|
//// public void closeOrderTaskV3(){
|
||||||
return;
|
//// log.info("关闭订单定时任务启动");
|
||||||
}
|
//// long lockTime = 5000;
|
||||||
lock.unlock();
|
//// Long setnxResult = redisService.setnx(CLOSE_ORDER_INFO_TASK_LOCK,String.valueOf(System.currentTimeMillis()+lockTime));
|
||||||
log.info("Redisson分布式锁释放锁");
|
//// //代表获取了锁
|
||||||
}
|
//// if(setnxResult !=null && setnxResult ==1){
|
||||||
}
|
//// closeOrder(CLOSE_ORDER_INFO_TASK_LOCK);
|
||||||
|
//// }else {
|
||||||
|
//// log.info("没有获得分布式锁:{}",CLOSE_ORDER_INFO_TASK_LOCK);
|
||||||
|
//// String lockValueStr = redisService.get(CLOSE_ORDER_INFO_TASK_LOCK);
|
||||||
private void closeOrder(String lockName){
|
//// if(lockValueStr!=null&&System.currentTimeMillis() > Long.parseLong(lockValueStr)){
|
||||||
redisService.expire(lockName,5);
|
//// //把之前的释放在新加入锁
|
||||||
log.info("获取{},当前线程名称!" ,lockName,Thread.currentThread().getName());
|
//// String getSetResult = redisService.getset(CLOSE_ORDER_INFO_TASK_LOCK,String.valueOf(System.currentTimeMillis()+lockTime));
|
||||||
int hour = 2;
|
////
|
||||||
orderService.closeOrder(hour);
|
//// if(getSetResult == null || (getSetResult != null && StringUtils.equals(lockValueStr,getSetResult))){
|
||||||
redisService.del(CLOSE_ORDER_INFO_TASK_LOCK);
|
//// closeOrder(CLOSE_ORDER_INFO_TASK_LOCK);
|
||||||
log.info("===============================");
|
//// }else {
|
||||||
|
//// log.info("没有获取到分布式锁:{}",CLOSE_ORDER_INFO_TASK_LOCK);
|
||||||
}
|
//// }
|
||||||
}
|
//// }else {
|
||||||
|
//// log.info("没有获取到分布式锁:{}",CLOSE_ORDER_INFO_TASK_LOCK);
|
||||||
|
//// }
|
||||||
|
//// }
|
||||||
|
//// log.info("关闭订单定时任务结束");
|
||||||
|
//// }
|
||||||
|
//// @Scheduled(cron="0 */1 * * * ?")
|
||||||
|
//// public void closeOrderTaskV4(){
|
||||||
|
//// RLock lock = redissonService.getRLock(CLOSE_ORDER_INFO_TASK_LOCK);
|
||||||
|
//// boolean getLock = false;
|
||||||
|
//// try {
|
||||||
|
//// if(getLock = lock.tryLock(0,50, TimeUnit.SECONDS)){
|
||||||
|
//// log.info("Redisson获取到分布式锁:{},ThreadName:{}",CLOSE_ORDER_INFO_TASK_LOCK,Thread.currentThread().getName());
|
||||||
|
//// int hour = 2;
|
||||||
|
////// iOrderService.closeOrder(hour);
|
||||||
|
//// }else{
|
||||||
|
//// log.info("Redisson没有获取到分布式锁:{},ThreadName:{}",CLOSE_ORDER_INFO_TASK_LOCK,Thread.currentThread().getName());
|
||||||
|
//// }
|
||||||
|
//// } catch (InterruptedException e) {
|
||||||
|
//// log.error("Redisson分布式锁获取异常",e);
|
||||||
|
//// } finally {
|
||||||
|
//// if(!getLock){
|
||||||
|
//// return;
|
||||||
|
//// }
|
||||||
|
//// lock.unlock();
|
||||||
|
//// log.info("Redisson分布式锁释放锁");
|
||||||
|
//// }
|
||||||
|
//// }
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
// private void closeOrder(String lockName){
|
||||||
|
// redisService.expire(lockName,5);
|
||||||
|
// log.info("获取{},当前线程名称!" ,lockName,Thread.currentThread().getName());
|
||||||
|
// int hour = 2;
|
||||||
|
// orderService.closeOrder(hour);
|
||||||
|
// redisService.del(CLOSE_ORDER_INFO_TASK_LOCK);
|
||||||
|
// log.info("===============================");
|
||||||
|
//
|
||||||
|
// }
|
||||||
|
//}
|
||||||
|
|
|
@ -53,8 +53,8 @@ redis.poolMaxIdle=500
|
||||||
redis.poolMaxWait=500
|
redis.poolMaxWait=500
|
||||||
|
|
||||||
# redisson lock
|
# redisson lock
|
||||||
redisson.address=redis://10.4.34.24:30009
|
redisson.address=redis://localhost:6379
|
||||||
redisson.password=qazwsx.com
|
redisson.password=123456
|
||||||
#rabbitmq
|
#rabbitmq
|
||||||
spring.rabbitmq.host=localhost
|
spring.rabbitmq.host=localhost
|
||||||
spring.rabbitmq.port=5672
|
spring.rabbitmq.port=5672
|
||||||
|
|
|
@ -16,9 +16,9 @@ mybatis.mapperLocations=classpath:mybatis/mapper/*.xml
|
||||||
#add mybatis
|
#add mybatis
|
||||||
mybatis.config-locations=classpath:mybatis/config.xml
|
mybatis.config-locations=classpath:mybatis/config.xml
|
||||||
#datasource
|
#datasource
|
||||||
spring.datasource.url=jdbc:mysql://10.4.34.24:30006/miaosha?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false
|
spring.datasource.url=jdbc:mysql://39.107.245.253:3306/miaosha?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false
|
||||||
spring.datasource.username=root
|
spring.datasource.username=root
|
||||||
spring.datasource.password=123qwe!@#
|
spring.datasource.password=root
|
||||||
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
|
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
|
||||||
#druid
|
#druid
|
||||||
spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
|
spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
|
||||||
|
@ -44,23 +44,20 @@ spring.resources.chain.gzipped=true
|
||||||
spring.resources.chain.html-application-cache=true
|
spring.resources.chain.html-application-cache=true
|
||||||
spring.resources.static-locations=classpath:/static/
|
spring.resources.static-locations=classpath:/static/
|
||||||
#redis
|
#redis
|
||||||
redis.host=10.4.34.24
|
redis.host=39.107.245.253
|
||||||
redis.port=30009
|
redis.port=6379
|
||||||
redis.timeout=100
|
redis.timeout=100
|
||||||
redis.password=qazwsx.com
|
redis.password=123456
|
||||||
redis.poolMaxTotal=1000
|
redis.poolMaxTotal=1000
|
||||||
redis.poolMaxIdle=500
|
redis.poolMaxIdle=500
|
||||||
redis.poolMaxWait=500
|
redis.poolMaxWait=500
|
||||||
#server.port=8003
|
#server.port=8003
|
||||||
|
|
||||||
redisson.address=redis://10.4.34.24:30009
|
|
||||||
redisson.password=qazwsx.com
|
|
||||||
|
|
||||||
#rabbitmq
|
#rabbitmq
|
||||||
spring.rabbitmq.host=10.4.34.24
|
spring.rabbitmq.host=39.107.245.253
|
||||||
spring.rabbitmq.port=30672
|
spring.rabbitmq.port=5672
|
||||||
spring.rabbitmq.username=liudz
|
spring.rabbitmq.username=mqadmin
|
||||||
spring.rabbitmq.password=qazwsx.c0m
|
spring.rabbitmq.password=mqadmin
|
||||||
spring.rabbitmq.virtual-host=/
|
spring.rabbitmq.virtual-host=/
|
||||||
spring.rabbitmq.listener.simple.concurrency= 10
|
spring.rabbitmq.listener.simple.concurrency= 10
|
||||||
spring.rabbitmq.listener.simple.max-concurrency= 10
|
spring.rabbitmq.listener.simple.max-concurrency= 10
|
||||||
|
@ -74,4 +71,4 @@ spring.rabbitmq.template.retry.max-interval=10000
|
||||||
spring.rabbitmq.template.retry.multiplier=1.0
|
spring.rabbitmq.template.retry.multiplier=1.0
|
||||||
|
|
||||||
## maven隔离
|
## maven隔离
|
||||||
spring.profiles.active=dev
|
#spring.profiles.active=dev
|
|
@ -27,6 +27,6 @@
|
||||||
|
|
||||||
<context:component-scan base-package="com.geekq.miaosha" />
|
<context:component-scan base-package="com.geekq.miaosha" />
|
||||||
|
|
||||||
<!--<import resource="classpath:/dubbo_consumer.xml" />-->
|
<import resource="classpath:/dubbo_consumer.xml" />
|
||||||
|
|
||||||
</beans>
|
</beans>
|
||||||
|
|
76
target/classes/application-dev.properties
Normal file
76
target/classes/application-dev.properties
Normal file
|
@ -0,0 +1,76 @@
|
||||||
|
#thymeleaf
|
||||||
|
spring.thymeleaf.prefix=classpath:/templates/
|
||||||
|
spring.thymeleaf.suffix=.html
|
||||||
|
spring.thymeleaf.cache=false
|
||||||
|
spring.thymeleaf.content-type=text/html
|
||||||
|
spring.thymeleaf.enabled=true
|
||||||
|
spring.thymeleaf.encoding=UTF-8
|
||||||
|
spring.thymeleaf.mode=HTML5
|
||||||
|
|
||||||
|
#mybatis
|
||||||
|
mybatis.type-aliases-package=com.geekq.miaosha.domain
|
||||||
|
#开启驼峰转换
|
||||||
|
mybatis.configuration.map-underscore-to-camel-case=true
|
||||||
|
#mybatis.mapperLocations = classpath:com/geekq/miaosha/dao/*.xml
|
||||||
|
mybatis.mapperLocations=classpath:mybatis/mapper/*.xml
|
||||||
|
#add mybatis
|
||||||
|
mybatis.config-locations=classpath:mybatis/config.xml
|
||||||
|
#datasource
|
||||||
|
spring.datasource.url=jdbc:mysql://localhost:3306/miaosha?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false
|
||||||
|
spring.datasource.username=root
|
||||||
|
spring.datasource.password=aixiyue11
|
||||||
|
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
|
||||||
|
#druid
|
||||||
|
spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
|
||||||
|
spring.datasource.filters=stat
|
||||||
|
spring.datasource.maxActive=1000
|
||||||
|
spring.datasource.initialSize=100
|
||||||
|
spring.datasource.maxWait=60000
|
||||||
|
spring.datasource.minIdle=500
|
||||||
|
spring.datasource.timeBetweenEvictionRunsMillis=60000
|
||||||
|
spring.datasource.minEvictableIdleTimeMillis=300000
|
||||||
|
spring.datasource.validationQuery=select 'x'
|
||||||
|
spring.datasource.testWhileIdle=true
|
||||||
|
spring.datasource.testOnBorrow=false
|
||||||
|
spring.datasource.testOnReturn=false
|
||||||
|
spring.datasource.poolPreparedStatements=true
|
||||||
|
spring.datasource.maxOpenPreparedStatements=20
|
||||||
|
#static
|
||||||
|
spring.resources.add-mappings=true
|
||||||
|
spring.resources.cache-period= 3600
|
||||||
|
spring.resources.chain.cache=true
|
||||||
|
spring.resources.chain.enabled=true
|
||||||
|
spring.resources.chain.gzipped=true
|
||||||
|
spring.resources.chain.html-application-cache=true
|
||||||
|
spring.resources.static-locations=classpath:/static/
|
||||||
|
#redis
|
||||||
|
redis.host=localhost
|
||||||
|
redis.port=6379
|
||||||
|
redis.timeout=100
|
||||||
|
redis.password=123456
|
||||||
|
redis.poolMaxTotal=1000
|
||||||
|
redis.poolMaxIdle=500
|
||||||
|
redis.poolMaxWait=500
|
||||||
|
|
||||||
|
# redisson lock
|
||||||
|
redisson.address=redis://localhost:6379
|
||||||
|
redisson.password=123456
|
||||||
|
#rabbitmq
|
||||||
|
spring.rabbitmq.host=localhost
|
||||||
|
spring.rabbitmq.port=5672
|
||||||
|
spring.rabbitmq.username=guest
|
||||||
|
spring.rabbitmq.password=guest
|
||||||
|
spring.rabbitmq.virtual-host=/
|
||||||
|
spring.rabbitmq.listener.simple.concurrency= 10
|
||||||
|
spring.rabbitmq.listener.simple.max-concurrency= 10
|
||||||
|
spring.rabbitmq.listener.simple.prefetch= 1
|
||||||
|
spring.rabbitmq.listener.simple.auto-startup=true
|
||||||
|
spring.rabbitmq.listener.simple.default-requeue-rejected= true
|
||||||
|
spring.rabbitmq.template.retry.enabled=true
|
||||||
|
spring.rabbitmq.template.retry.initial-interval=1000
|
||||||
|
spring.rabbitmq.template.retry.max-attempts=3
|
||||||
|
spring.rabbitmq.template.retry.max-interval=10000
|
||||||
|
spring.rabbitmq.template.retry.multiplier=1.0
|
||||||
|
server.port=8003
|
||||||
|
## maven隔离
|
||||||
|
spring.profiles.active=dev
|
74
target/classes/application.properties
Normal file
74
target/classes/application.properties
Normal file
|
@ -0,0 +1,74 @@
|
||||||
|
#thymeleaf
|
||||||
|
spring.thymeleaf.prefix=classpath:/templates/
|
||||||
|
spring.thymeleaf.suffix=.html
|
||||||
|
spring.thymeleaf.cache=false
|
||||||
|
spring.thymeleaf.content-type=text/html
|
||||||
|
spring.thymeleaf.enabled=true
|
||||||
|
spring.thymeleaf.encoding=UTF-8
|
||||||
|
spring.thymeleaf.mode=HTML5
|
||||||
|
|
||||||
|
#mybatis
|
||||||
|
mybatis.type-aliases-package=com.geekq.miaosha.domain
|
||||||
|
#开启驼峰转换
|
||||||
|
mybatis.configuration.map-underscore-to-camel-case=true
|
||||||
|
#mybatis.mapperLocations = classpath:com/geekq/miaosha/dao/*.xml
|
||||||
|
mybatis.mapperLocations=classpath:mybatis/mapper/*.xml
|
||||||
|
#add mybatis
|
||||||
|
mybatis.config-locations=classpath:mybatis/config.xml
|
||||||
|
#datasource
|
||||||
|
spring.datasource.url=jdbc:mysql://39.107.245.253:3306/miaosha?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false
|
||||||
|
spring.datasource.username=root
|
||||||
|
spring.datasource.password=root
|
||||||
|
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
|
||||||
|
#druid
|
||||||
|
spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
|
||||||
|
spring.datasource.filters=stat
|
||||||
|
spring.datasource.maxActive=1000
|
||||||
|
spring.datasource.initialSize=100
|
||||||
|
spring.datasource.maxWait=60000
|
||||||
|
spring.datasource.minIdle=500
|
||||||
|
spring.datasource.timeBetweenEvictionRunsMillis=60000
|
||||||
|
spring.datasource.minEvictableIdleTimeMillis=300000
|
||||||
|
spring.datasource.validationQuery=select 'x'
|
||||||
|
spring.datasource.testWhileIdle=true
|
||||||
|
spring.datasource.testOnBorrow=false
|
||||||
|
spring.datasource.testOnReturn=false
|
||||||
|
spring.datasource.poolPreparedStatements=true
|
||||||
|
spring.datasource.maxOpenPreparedStatements=20
|
||||||
|
#static
|
||||||
|
spring.resources.add-mappings=true
|
||||||
|
spring.resources.cache-period= 3600
|
||||||
|
spring.resources.chain.cache=true
|
||||||
|
spring.resources.chain.enabled=true
|
||||||
|
spring.resources.chain.gzipped=true
|
||||||
|
spring.resources.chain.html-application-cache=true
|
||||||
|
spring.resources.static-locations=classpath:/static/
|
||||||
|
#redis
|
||||||
|
redis.host=39.107.245.253
|
||||||
|
redis.port=6379
|
||||||
|
redis.timeout=100
|
||||||
|
redis.password=123456
|
||||||
|
redis.poolMaxTotal=1000
|
||||||
|
redis.poolMaxIdle=500
|
||||||
|
redis.poolMaxWait=500
|
||||||
|
#server.port=8003
|
||||||
|
|
||||||
|
#rabbitmq
|
||||||
|
spring.rabbitmq.host=39.107.245.253
|
||||||
|
spring.rabbitmq.port=5672
|
||||||
|
spring.rabbitmq.username=mqadmin
|
||||||
|
spring.rabbitmq.password=mqadmin
|
||||||
|
spring.rabbitmq.virtual-host=/
|
||||||
|
spring.rabbitmq.listener.simple.concurrency= 10
|
||||||
|
spring.rabbitmq.listener.simple.max-concurrency= 10
|
||||||
|
spring.rabbitmq.listener.simple.prefetch= 1
|
||||||
|
spring.rabbitmq.listener.simple.auto-startup=true
|
||||||
|
spring.rabbitmq.listener.simple.default-requeue-rejected= true
|
||||||
|
spring.rabbitmq.template.retry.enabled=true
|
||||||
|
spring.rabbitmq.template.retry.initial-interval=1000
|
||||||
|
spring.rabbitmq.template.retry.max-attempts=3
|
||||||
|
spring.rabbitmq.template.retry.max-interval=10000
|
||||||
|
spring.rabbitmq.template.retry.multiplier=1.0
|
||||||
|
|
||||||
|
## maven隔离
|
||||||
|
#spring.profiles.active=dev
|
BIN
target/classes/com/geekq/miaosha/DemoTask$1.class
Normal file
BIN
target/classes/com/geekq/miaosha/DemoTask$1.class
Normal file
Binary file not shown.
BIN
target/classes/com/geekq/miaosha/DemoTask$2.class
Normal file
BIN
target/classes/com/geekq/miaosha/DemoTask$2.class
Normal file
Binary file not shown.
BIN
target/classes/com/geekq/miaosha/DemoTask.class
Normal file
BIN
target/classes/com/geekq/miaosha/DemoTask.class
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user