From e562938caf56a09981242acdefbe70df96a5e065 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E5=91=98=E5=86=85=E7=82=B9=E4=BA=8B?= <515361725@qq.com> Date: Mon, 29 Jun 2020 10:34:59 +0800 Subject: [PATCH 01/35] Initial commit --- README.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 00000000..7f1f7d72 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# Springboot-Notebook \ No newline at end of file From c1d9d4334a1d0e77ff806e0368da819a7a6df9c1 Mon Sep 17 00:00:00 2001 From: xin <515361725@qq.com> Date: Wed, 1 Jul 2020 09:52:14 +0800 Subject: [PATCH 02/35] =?UTF-8?q?springboot=20=E7=B3=BB=E5=88=97=E5=AE=9E?= =?UTF-8?q?=E8=B7=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...jectreactor_reactor_core_3_1_9_RELEASE.xml | 13 + ...o_org_eclipse_paho_client_mqttv3_1_2_0.xml | 13 + ...reactivestreams_reactive_streams_1_0_2.xml | 13 + ..._spring_integration_core_5_0_8_RELEASE.xml | 13 + ..._spring_integration_mqtt_5_0_8_RELEASE.xml | 13 + .idea/vcs.xml | 6 + springboot-aop-redis-lua | 1 + springboot-rabbitmq-confirm/.gitignore | 31 ++ .../.mvn/wrapper/MavenWrapperDownloader.java | 114 +++++++ .../.mvn/wrapper/maven-wrapper.jar | Bin 0 -> 50710 bytes .../.mvn/wrapper/maven-wrapper.properties | 2 + springboot-rabbitmq-confirm/mvnw | 310 ++++++++++++++++++ springboot-rabbitmq-confirm/mvnw.cmd | 182 ++++++++++ springboot-rabbitmq-confirm/pom.xml | 74 +++++ .../SpringbootRabbitmqConfirmApplication.java | 13 + .../callback/ConfirmCallbackService.java | 21 ++ .../callback/ReturnCallbackService.java | 20 ++ .../xiaofu/confirm/config/QueueConfig.java | 33 ++ .../confirm/controller/TestController.java | 35 ++ .../confirm/receiver/ReceiverMessage.java | 48 +++ .../confirm/receiver/ReceiverMessage1.java | 63 ++++ .../xiaofu/confirm/sender/SendMessage.java | 67 ++++ .../src/main/resources/application.properties | 21 ++ springboot-rabbitmq-mqtt | 1 + 24 files changed, 1107 insertions(+) create mode 100644 .idea/libraries/Maven__io_projectreactor_reactor_core_3_1_9_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_eclipse_paho_org_eclipse_paho_client_mqttv3_1_2_0.xml create mode 100644 .idea/libraries/Maven__org_reactivestreams_reactive_streams_1_0_2.xml create mode 100644 .idea/libraries/Maven__org_springframework_integration_spring_integration_core_5_0_8_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_springframework_integration_spring_integration_mqtt_5_0_8_RELEASE.xml create mode 100644 .idea/vcs.xml create mode 160000 springboot-aop-redis-lua create mode 100644 springboot-rabbitmq-confirm/.gitignore create mode 100644 springboot-rabbitmq-confirm/.mvn/wrapper/MavenWrapperDownloader.java create mode 100644 springboot-rabbitmq-confirm/.mvn/wrapper/maven-wrapper.jar create mode 100644 springboot-rabbitmq-confirm/.mvn/wrapper/maven-wrapper.properties create mode 100644 springboot-rabbitmq-confirm/mvnw create mode 100644 springboot-rabbitmq-confirm/mvnw.cmd create mode 100644 springboot-rabbitmq-confirm/pom.xml create mode 100644 springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/SpringbootRabbitmqConfirmApplication.java create mode 100644 springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/callback/ConfirmCallbackService.java create mode 100644 springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/callback/ReturnCallbackService.java create mode 100644 springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/config/QueueConfig.java create mode 100644 springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/controller/TestController.java create mode 100644 springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/receiver/ReceiverMessage.java create mode 100644 springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/receiver/ReceiverMessage1.java create mode 100644 springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/sender/SendMessage.java create mode 100644 springboot-rabbitmq-confirm/src/main/resources/application.properties create mode 160000 springboot-rabbitmq-mqtt diff --git a/.idea/libraries/Maven__io_projectreactor_reactor_core_3_1_9_RELEASE.xml b/.idea/libraries/Maven__io_projectreactor_reactor_core_3_1_9_RELEASE.xml new file mode 100644 index 00000000..2087ee6a --- /dev/null +++ b/.idea/libraries/Maven__io_projectreactor_reactor_core_3_1_9_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_eclipse_paho_org_eclipse_paho_client_mqttv3_1_2_0.xml b/.idea/libraries/Maven__org_eclipse_paho_org_eclipse_paho_client_mqttv3_1_2_0.xml new file mode 100644 index 00000000..4c81ce41 --- /dev/null +++ b/.idea/libraries/Maven__org_eclipse_paho_org_eclipse_paho_client_mqttv3_1_2_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_reactivestreams_reactive_streams_1_0_2.xml b/.idea/libraries/Maven__org_reactivestreams_reactive_streams_1_0_2.xml new file mode 100644 index 00000000..457c7b78 --- /dev/null +++ b/.idea/libraries/Maven__org_reactivestreams_reactive_streams_1_0_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_integration_spring_integration_core_5_0_8_RELEASE.xml b/.idea/libraries/Maven__org_springframework_integration_spring_integration_core_5_0_8_RELEASE.xml new file mode 100644 index 00000000..b886b2cd --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_integration_spring_integration_core_5_0_8_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_integration_spring_integration_mqtt_5_0_8_RELEASE.xml b/.idea/libraries/Maven__org_springframework_integration_spring_integration_mqtt_5_0_8_RELEASE.xml new file mode 100644 index 00000000..621253c7 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_integration_spring_integration_mqtt_5_0_8_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 00000000..35eb1ddf --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/springboot-aop-redis-lua b/springboot-aop-redis-lua new file mode 160000 index 00000000..ac603952 --- /dev/null +++ b/springboot-aop-redis-lua @@ -0,0 +1 @@ +Subproject commit ac603952c13bf135b6494bbed20755fd307a9abe diff --git a/springboot-rabbitmq-confirm/.gitignore b/springboot-rabbitmq-confirm/.gitignore new file mode 100644 index 00000000..a2a3040a --- /dev/null +++ b/springboot-rabbitmq-confirm/.gitignore @@ -0,0 +1,31 @@ +HELP.md +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/** +!**/src/test/** + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ + +### VS Code ### +.vscode/ diff --git a/springboot-rabbitmq-confirm/.mvn/wrapper/MavenWrapperDownloader.java b/springboot-rabbitmq-confirm/.mvn/wrapper/MavenWrapperDownloader.java new file mode 100644 index 00000000..1d45a896 --- /dev/null +++ b/springboot-rabbitmq-confirm/.mvn/wrapper/MavenWrapperDownloader.java @@ -0,0 +1,114 @@ +/* + * Copyright 2007-present the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import java.util.Properties; + +public class MavenWrapperDownloader { + + private static final String WRAPPER_VERSION = "0.5.6"; + /** + * Default URL to download the maven-wrapper.jar from, if no 'downloadUrl' is provided. + */ + private static final String DEFAULT_DOWNLOAD_URL = "https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/" + + WRAPPER_VERSION + "/maven-wrapper-" + WRAPPER_VERSION + ".jar"; + + /** + * Path to the maven-wrapper.properties file, which might contain a downloadUrl property to + * use instead of the default one. + */ + private static final String MAVEN_WRAPPER_PROPERTIES_PATH = + ".mvn/wrapper/maven-wrapper.properties"; + + /** + * Path where the maven-wrapper.jar will be saved to. + */ + private static final String MAVEN_WRAPPER_JAR_PATH = + ".mvn/wrapper/maven-wrapper.jar"; + + /** + * Name of the property which should be used to override the default download url for the wrapper. + */ + private static final String PROPERTY_NAME_WRAPPER_URL = "wrapperUrl"; + + public static void main(String args[]) { + System.out.println("- Downloader started"); + File baseDirectory = new File(args[0]); + System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath()); + + // If the maven-wrapper.properties exists, read it and check if it contains a custom + // wrapperUrl parameter. + File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH); + String url = DEFAULT_DOWNLOAD_URL; + if(mavenWrapperPropertyFile.exists()) { + FileInputStream mavenWrapperPropertyFileInputStream = null; + try { + mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile); + Properties mavenWrapperProperties = new Properties(); + mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream); + url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url); + } catch (IOException e) { + System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'"); + } finally { + try { + if(mavenWrapperPropertyFileInputStream != null) { + mavenWrapperPropertyFileInputStream.close(); + } + } catch (IOException e) { + // Ignore ... + } + } + } + System.out.println("- Downloading from: " + url); + + File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH); + if(!outputFile.getParentFile().exists()) { + if(!outputFile.getParentFile().mkdirs()) { + System.out.println( + "- ERROR creating output directory '" + outputFile.getParentFile().getAbsolutePath() + "'"); + } + } + System.out.println("- Downloading to: " + outputFile.getAbsolutePath()); + try { + downloadFileFromURL(url, outputFile); + System.out.println("Done"); + System.exit(0); + } catch (Throwable e) { + System.out.println("- Error downloading"); + e.printStackTrace(); + System.exit(1); + } + } + + private static void downloadFileFromURL(String urlString, File destination) throws Exception { + if (System.getenv("MVNW_USERNAME") != null && System.getenv("MVNW_PASSWORD") != null) { + String username = System.getenv("MVNW_USERNAME"); + char[] password = System.getenv("MVNW_PASSWORD").toCharArray(); + Authenticator.setDefault(new Authenticator() { + @Override + protected PasswordAuthentication getPasswordAuthentication() { + return new PasswordAuthentication(username, password); + } + }); + } + URL website = new URL(urlString); + ReadableByteChannel rbc; + rbc = Channels.newChannel(website.openStream()); + FileOutputStream fos = new FileOutputStream(destination); + fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE); + fos.close(); + rbc.close(); + } + +} diff --git a/springboot-rabbitmq-confirm/.mvn/wrapper/maven-wrapper.jar b/springboot-rabbitmq-confirm/.mvn/wrapper/maven-wrapper.jar new file mode 100644 index 0000000000000000000000000000000000000000..2cc7d4a55c0cd0092912bf49ae38b3a9e3fd0054 GIT binary patch literal 50710 zcmbTd1CVCTmM+|7+wQV$+qP}n>auOywyU~q+qUhh+uxis_~*a##hm*_WW?9E7Pb7N%LRFiwbEGCJ0XP=%-6oeT$XZcYgtzC2~q zk(K08IQL8oTl}>>+hE5YRgXTB@fZ4TH9>7=79e`%%tw*SQUa9~$xKD5rS!;ZG@ocK zQdcH}JX?W|0_Afv?y`-NgLum62B&WSD$-w;O6G0Sm;SMX65z)l%m1e-g8Q$QTI;(Q z+x$xth4KFvH@Bs6(zn!iF#nenk^Y^ce;XIItAoCsow38eq?Y-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T3{2k2c;NWc^`4@P&Z?BjxXJ@;x1qhn)9Mn*IFdt_J-dIqx5#d`NfyfX~m( zIS~5)MfZ2Uy?_4W`47i}u0ZgPh<{D|w_d#;D}Q&U$Q-G}xM1A@1f{#%A$jh6Qp&0hQ<0bPOM z-{1Wm&p%%#eb_?x7i;bol EfAhh=DF6Tf literal 0 HcmV?d00001 diff --git a/springboot-rabbitmq-confirm/.mvn/wrapper/maven-wrapper.properties b/springboot-rabbitmq-confirm/.mvn/wrapper/maven-wrapper.properties new file mode 100644 index 00000000..642d572c --- /dev/null +++ b/springboot-rabbitmq-confirm/.mvn/wrapper/maven-wrapper.properties @@ -0,0 +1,2 @@ +distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip +wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar diff --git a/springboot-rabbitmq-confirm/mvnw b/springboot-rabbitmq-confirm/mvnw new file mode 100644 index 00000000..a16b5431 --- /dev/null +++ b/springboot-rabbitmq-confirm/mvnw @@ -0,0 +1,310 @@ +#!/bin/sh +# ---------------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ---------------------------------------------------------------------------- + +# ---------------------------------------------------------------------------- +# Maven Start Up Batch script +# +# Required ENV vars: +# ------------------ +# JAVA_HOME - location of a JDK home dir +# +# Optional ENV vars +# ----------------- +# M2_HOME - location of maven2's installed home dir +# MAVEN_OPTS - parameters passed to the Java VM when running Maven +# e.g. to debug Maven itself, use +# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +# MAVEN_SKIP_RC - flag to disable loading of mavenrc files +# ---------------------------------------------------------------------------- + +if [ -z "$MAVEN_SKIP_RC" ] ; then + + if [ -f /etc/mavenrc ] ; then + . /etc/mavenrc + fi + + if [ -f "$HOME/.mavenrc" ] ; then + . "$HOME/.mavenrc" + fi + +fi + +# OS specific support. $var _must_ be set to either true or false. +cygwin=false; +darwin=false; +mingw=false +case "`uname`" in + CYGWIN*) cygwin=true ;; + MINGW*) mingw=true;; + Darwin*) darwin=true + # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home + # See https://developer.apple.com/library/mac/qa/qa1170/_index.html + if [ -z "$JAVA_HOME" ]; then + if [ -x "/usr/libexec/java_home" ]; then + export JAVA_HOME="`/usr/libexec/java_home`" + else + export JAVA_HOME="/Library/Java/Home" + fi + fi + ;; +esac + +if [ -z "$JAVA_HOME" ] ; then + if [ -r /etc/gentoo-release ] ; then + JAVA_HOME=`java-config --jre-home` + fi +fi + +if [ -z "$M2_HOME" ] ; then + ## resolve links - $0 may be a link to maven's home + PRG="$0" + + # need this for relative symlinks + while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG="`dirname "$PRG"`/$link" + fi + done + + saveddir=`pwd` + + M2_HOME=`dirname "$PRG"`/.. + + # make it fully qualified + M2_HOME=`cd "$M2_HOME" && pwd` + + cd "$saveddir" + # echo Using m2 at $M2_HOME +fi + +# For Cygwin, ensure paths are in UNIX format before anything is touched +if $cygwin ; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --unix "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --unix "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --unix "$CLASSPATH"` +fi + +# For Mingw, ensure paths are in UNIX format before anything is touched +if $mingw ; then + [ -n "$M2_HOME" ] && + M2_HOME="`(cd "$M2_HOME"; pwd)`" + [ -n "$JAVA_HOME" ] && + JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`" +fi + +if [ -z "$JAVA_HOME" ]; then + javaExecutable="`which javac`" + if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then + # readlink(1) is not available as standard on Solaris 10. + readLink=`which readlink` + if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then + if $darwin ; then + javaHome="`dirname \"$javaExecutable\"`" + javaExecutable="`cd \"$javaHome\" && pwd -P`/javac" + else + javaExecutable="`readlink -f \"$javaExecutable\"`" + fi + javaHome="`dirname \"$javaExecutable\"`" + javaHome=`expr "$javaHome" : '\(.*\)/bin'` + JAVA_HOME="$javaHome" + export JAVA_HOME + fi + fi +fi + +if [ -z "$JAVACMD" ] ; then + if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + else + JAVACMD="`which java`" + fi +fi + +if [ ! -x "$JAVACMD" ] ; then + echo "Error: JAVA_HOME is not defined correctly." >&2 + echo " We cannot execute $JAVACMD" >&2 + exit 1 +fi + +if [ -z "$JAVA_HOME" ] ; then + echo "Warning: JAVA_HOME environment variable is not set." +fi + +CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher + +# traverses directory structure from process work directory to filesystem root +# first directory with .mvn subdirectory is considered project base directory +find_maven_basedir() { + + if [ -z "$1" ] + then + echo "Path not specified to find_maven_basedir" + return 1 + fi + + basedir="$1" + wdir="$1" + while [ "$wdir" != '/' ] ; do + if [ -d "$wdir"/.mvn ] ; then + basedir=$wdir + break + fi + # workaround for JBEAP-8937 (on Solaris 10/Sparc) + if [ -d "${wdir}" ]; then + wdir=`cd "$wdir/.."; pwd` + fi + # end of workaround + done + echo "${basedir}" +} + +# concatenates all lines of a file +concat_lines() { + if [ -f "$1" ]; then + echo "$(tr -s '\n' ' ' < "$1")" + fi +} + +BASE_DIR=`find_maven_basedir "$(pwd)"` +if [ -z "$BASE_DIR" ]; then + exit 1; +fi + +########################################################################################## +# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central +# This allows using the maven wrapper in projects that prohibit checking in binary data. +########################################################################################## +if [ -r "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" ]; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found .mvn/wrapper/maven-wrapper.jar" + fi +else + if [ "$MVNW_VERBOSE" = true ]; then + echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..." + fi + if [ -n "$MVNW_REPOURL" ]; then + jarUrl="$MVNW_REPOURL/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + else + jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + fi + while IFS="=" read key value; do + case "$key" in (wrapperUrl) jarUrl="$value"; break ;; + esac + done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties" + if [ "$MVNW_VERBOSE" = true ]; then + echo "Downloading from: $jarUrl" + fi + wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" + if $cygwin; then + wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"` + fi + + if command -v wget > /dev/null; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found wget ... using wget" + fi + if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then + wget "$jarUrl" -O "$wrapperJarPath" + else + wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath" + fi + elif command -v curl > /dev/null; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found curl ... using curl" + fi + if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then + curl -o "$wrapperJarPath" "$jarUrl" -f + else + curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o "$wrapperJarPath" "$jarUrl" -f + fi + + else + if [ "$MVNW_VERBOSE" = true ]; then + echo "Falling back to using Java to download" + fi + javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java" + # For Cygwin, switch paths to Windows format before running javac + if $cygwin; then + javaClass=`cygpath --path --windows "$javaClass"` + fi + if [ -e "$javaClass" ]; then + if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then + if [ "$MVNW_VERBOSE" = true ]; then + echo " - Compiling MavenWrapperDownloader.java ..." + fi + # Compiling the Java class + ("$JAVA_HOME/bin/javac" "$javaClass") + fi + if [ -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then + # Running the downloader + if [ "$MVNW_VERBOSE" = true ]; then + echo " - Running MavenWrapperDownloader.java ..." + fi + ("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$MAVEN_PROJECTBASEDIR") + fi + fi + fi +fi +########################################################################################## +# End of extension +########################################################################################## + +export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"} +if [ "$MVNW_VERBOSE" = true ]; then + echo $MAVEN_PROJECTBASEDIR +fi +MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS" + +# For Cygwin, switch paths to Windows format before running java +if $cygwin; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --path --windows "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --windows "$CLASSPATH"` + [ -n "$MAVEN_PROJECTBASEDIR" ] && + MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"` +fi + +# Provide a "standardized" way to retrieve the CLI args that will +# work with both Windows and non-Windows executions. +MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@" +export MAVEN_CMD_LINE_ARGS + +WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +exec "$JAVACMD" \ + $MAVEN_OPTS \ + -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \ + "-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \ + ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@" diff --git a/springboot-rabbitmq-confirm/mvnw.cmd b/springboot-rabbitmq-confirm/mvnw.cmd new file mode 100644 index 00000000..c8d43372 --- /dev/null +++ b/springboot-rabbitmq-confirm/mvnw.cmd @@ -0,0 +1,182 @@ +@REM ---------------------------------------------------------------------------- +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at +@REM +@REM https://www.apache.org/licenses/LICENSE-2.0 +@REM +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. +@REM ---------------------------------------------------------------------------- + +@REM ---------------------------------------------------------------------------- +@REM Maven Start Up Batch script +@REM +@REM Required ENV vars: +@REM JAVA_HOME - location of a JDK home dir +@REM +@REM Optional ENV vars +@REM M2_HOME - location of maven2's installed home dir +@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands +@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending +@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven +@REM e.g. to debug Maven itself, use +@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files +@REM ---------------------------------------------------------------------------- + +@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on' +@echo off +@REM set title of command window +title %0 +@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on' +@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO% + +@REM set %HOME% to equivalent of $HOME +if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%") + +@REM Execute a user defined script before this one +if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre +@REM check for pre script, once with legacy .bat ending and once with .cmd ending +if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat" +if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd" +:skipRcPre + +@setlocal + +set ERROR_CODE=0 + +@REM To isolate internal variables from possible post scripts, we use another setlocal +@setlocal + +@REM ==== START VALIDATION ==== +if not "%JAVA_HOME%" == "" goto OkJHome + +echo. +echo Error: JAVA_HOME not found in your environment. >&2 +echo Please set the JAVA_HOME variable in your environment to match the >&2 +echo location of your Java installation. >&2 +echo. +goto error + +:OkJHome +if exist "%JAVA_HOME%\bin\java.exe" goto init + +echo. +echo Error: JAVA_HOME is set to an invalid directory. >&2 +echo JAVA_HOME = "%JAVA_HOME%" >&2 +echo Please set the JAVA_HOME variable in your environment to match the >&2 +echo location of your Java installation. >&2 +echo. +goto error + +@REM ==== END VALIDATION ==== + +:init + +@REM Find the project base dir, i.e. the directory that contains the folder ".mvn". +@REM Fallback to current working directory if not found. + +set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR% +IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir + +set EXEC_DIR=%CD% +set WDIR=%EXEC_DIR% +:findBaseDir +IF EXIST "%WDIR%"\.mvn goto baseDirFound +cd .. +IF "%WDIR%"=="%CD%" goto baseDirNotFound +set WDIR=%CD% +goto findBaseDir + +:baseDirFound +set MAVEN_PROJECTBASEDIR=%WDIR% +cd "%EXEC_DIR%" +goto endDetectBaseDir + +:baseDirNotFound +set MAVEN_PROJECTBASEDIR=%EXEC_DIR% +cd "%EXEC_DIR%" + +:endDetectBaseDir + +IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig + +@setlocal EnableExtensions EnableDelayedExpansion +for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a +@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS% + +:endReadAdditionalConfig + +SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe" +set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar" +set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + +FOR /F "tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO ( + IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B +) + +@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central +@REM This allows using the maven wrapper in projects that prohibit checking in binary data. +if exist %WRAPPER_JAR% ( + if "%MVNW_VERBOSE%" == "true" ( + echo Found %WRAPPER_JAR% + ) +) else ( + if not "%MVNW_REPOURL%" == "" ( + SET DOWNLOAD_URL="%MVNW_REPOURL%/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + ) + if "%MVNW_VERBOSE%" == "true" ( + echo Couldn't find %WRAPPER_JAR%, downloading it ... + echo Downloading from: %DOWNLOAD_URL% + ) + + powershell -Command "&{"^ + "$webclient = new-object System.Net.WebClient;"^ + "if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^ + "$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^ + "}"^ + "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^ + "}" + if "%MVNW_VERBOSE%" == "true" ( + echo Finished downloading %WRAPPER_JAR% + ) +) +@REM End of extension + +@REM Provide a "standardized" way to retrieve the CLI args that will +@REM work with both Windows and non-Windows executions. +set MAVEN_CMD_LINE_ARGS=%* + +%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %* +if ERRORLEVEL 1 goto error +goto end + +:error +set ERROR_CODE=1 + +:end +@endlocal & set ERROR_CODE=%ERROR_CODE% + +if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost +@REM check for post script, once with legacy .bat ending and once with .cmd ending +if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat" +if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd" +:skipRcPost + +@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on' +if "%MAVEN_BATCH_PAUSE%" == "on" pause + +if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE% + +exit /B %ERROR_CODE% diff --git a/springboot-rabbitmq-confirm/pom.xml b/springboot-rabbitmq-confirm/pom.xml new file mode 100644 index 00000000..ac1a9f86 --- /dev/null +++ b/springboot-rabbitmq-confirm/pom.xml @@ -0,0 +1,74 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.0.5.RELEASE + + + com.xiaofu + springboot-rabbitmq-confirm + 0.0.1-SNAPSHOT + springboot-rabbitmq-confirm + Demo project for Spring Boot + + + 1.8 + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + org.junit.vintage + junit-vintage-engine + + + + + + org.springframework.boot + spring-boot-starter-amqp + + + + com.alibaba + fastjson + 1.2.49 + + + + + org.projectlombok + lombok + 1.16.18 + provided + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/SpringbootRabbitmqConfirmApplication.java b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/SpringbootRabbitmqConfirmApplication.java new file mode 100644 index 00000000..7900dc70 --- /dev/null +++ b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/SpringbootRabbitmqConfirmApplication.java @@ -0,0 +1,13 @@ +package com.xiaofu.confirm; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class SpringbootRabbitmqConfirmApplication { + + public static void main(String[] args) { + SpringApplication.run(SpringbootRabbitmqConfirmApplication.class, args); + } + +} diff --git a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/callback/ConfirmCallbackService.java b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/callback/ConfirmCallbackService.java new file mode 100644 index 00000000..2897489f --- /dev/null +++ b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/callback/ConfirmCallbackService.java @@ -0,0 +1,21 @@ +package com.xiaofu.confirm.callback; + +import lombok.extern.slf4j.Slf4j; +import org.springframework.amqp.rabbit.core.RabbitTemplate; +import org.springframework.amqp.rabbit.support.CorrelationData; +import org.springframework.stereotype.Component; + +@Slf4j +@Component +public class ConfirmCallbackService implements RabbitTemplate.ConfirmCallback { + + @Override + public void confirm(CorrelationData correlationData, boolean ack, String cause) { + + if (!ack) { + log.error("消息发送异常!"); + } else { + log.info("发送者爸爸已经收到确认,correlationData={} ,ack={}, cause={}", correlationData.getId(), ack, cause); + } + } +} diff --git a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/callback/ReturnCallbackService.java b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/callback/ReturnCallbackService.java new file mode 100644 index 00000000..b63f67b7 --- /dev/null +++ b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/callback/ReturnCallbackService.java @@ -0,0 +1,20 @@ +package com.xiaofu.confirm.callback; + +import lombok.extern.slf4j.Slf4j; +import org.springframework.amqp.core.Message; +import org.springframework.amqp.rabbit.core.RabbitTemplate; +import org.springframework.stereotype.Component; + +/** + * @Author: xinzhifu + * @Description: + */ +@Slf4j +@Component +public class ReturnCallbackService implements RabbitTemplate.ReturnCallback { + + @Override + public void returnedMessage(Message message, int replyCode, String replyText, String exchange, String routingKey) { + log.info("returnedMessage ===> replyCode={} ,replyText={} ,exchange={} ,routingKey={}", replyCode, replyText, exchange, routingKey); + } +} diff --git a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/config/QueueConfig.java b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/config/QueueConfig.java new file mode 100644 index 00000000..f5ab8c8f --- /dev/null +++ b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/config/QueueConfig.java @@ -0,0 +1,33 @@ +package com.xiaofu.confirm.config; + +import org.springframework.amqp.core.Binding; +import org.springframework.amqp.core.BindingBuilder; +import org.springframework.amqp.core.FanoutExchange; +import org.springframework.amqp.core.Queue; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + + +@Configuration +public class QueueConfig { + + @Bean(name = "confirmTestQueue") + public Queue confirmTestQueue() { + return new Queue("confirm_test_queue", true, false, false); + } + + @Bean(name = "confirmTestExchange") + public FanoutExchange confirmTestExchange() { + return new FanoutExchange("confirmTestExchange"); + } + + @Bean + public Binding confirmTestFanoutExchangeAndQueue( + @Qualifier("confirmTestExchange") FanoutExchange confirmTestExchange, + @Qualifier("confirmTestQueue") Queue confirmTestQueue) { + return BindingBuilder.bind(confirmTestQueue).to(confirmTestExchange); + } +} + + diff --git a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/controller/TestController.java b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/controller/TestController.java new file mode 100644 index 00000000..81a4faff --- /dev/null +++ b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/controller/TestController.java @@ -0,0 +1,35 @@ +package com.xiaofu.confirm.controller; + +import com.xiaofu.confirm.sender.SendMessage; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; +import org.springframework.web.bind.annotation.ResponseBody; + +/** + * @Author: xinzhifu + * @Description: + */ +@Controller +@RequestMapping +public class TestController { + + @Autowired + private SendMessage sendMessage; + + @RequestMapping(value = "/hello", method = RequestMethod.GET) + @ResponseBody + public String test() { + + //sendMessage.sendMessage("", "confirm_test_queue", "0" ); + + + for (int i = 0; i < 5; i++) { + + sendMessage.sendMessage("", "confirm_test_queue", "发送者消息"); + } + + return "success"; + } +} diff --git a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/receiver/ReceiverMessage.java b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/receiver/ReceiverMessage.java new file mode 100644 index 00000000..1796bb19 --- /dev/null +++ b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/receiver/ReceiverMessage.java @@ -0,0 +1,48 @@ +package com.xiaofu.confirm.receiver; + +import com.rabbitmq.client.Channel; +import lombok.extern.slf4j.Slf4j; +import org.springframework.amqp.core.Message; +import org.springframework.amqp.rabbit.annotation.RabbitHandler; +import org.springframework.amqp.rabbit.annotation.RabbitListener; +import org.springframework.stereotype.Component; + +import java.io.IOException; + +/** + * @author xiaofu + * @description 消息消费 + * @date 2020/6/29 16:31 + */ +@Slf4j +@Component +@RabbitListener(queues = "confirm_test_queue") +public class ReceiverMessage { + + @RabbitHandler + public void processHandler1(String msg, Channel channel, Message message) throws IOException { + + try { + log.info("消费者 1 号收到:{}", msg); + + //TODO 具体业务 + + channel.basicAck(message.getMessageProperties().getDeliveryTag(), false); + + } catch (Exception e) { + + if (message.getMessageProperties().getRedelivered()) { + + log.error("消息已重复处理失败,拒绝再次接收..."); + + channel.basicReject(message.getMessageProperties().getDeliveryTag(), false); // 拒绝消息 + } else { + + log.error("消息即将再次返回队列处理..."); + + channel.basicNack(message.getMessageProperties().getDeliveryTag(), false, true); + } + } + } + +} \ No newline at end of file diff --git a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/receiver/ReceiverMessage1.java b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/receiver/ReceiverMessage1.java new file mode 100644 index 00000000..0090569e --- /dev/null +++ b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/receiver/ReceiverMessage1.java @@ -0,0 +1,63 @@ +package com.xiaofu.confirm.receiver; + +import com.rabbitmq.client.Channel; +import lombok.extern.slf4j.Slf4j; +import org.springframework.amqp.core.Message; +import org.springframework.amqp.rabbit.annotation.RabbitHandler; +import org.springframework.amqp.rabbit.annotation.RabbitListener; +import org.springframework.amqp.rabbit.support.CorrelationData; +import org.springframework.stereotype.Component; + +import java.io.IOException; + +/** + * @Author: xinzhifu + * @Description: + */ +@Slf4j +@Component +@RabbitListener(queues = "confirm_test_queue") +public class ReceiverMessage1 { + + private int retryNum = 5; + + private int currentNum = 0; + + +// @RabbitHandler +// public void processHandler(String msg, Channel channel, Message message) throws IOException { +// +// try { +// log.info("消费者 2 号收到:{}", msg); +// +// int a = 1 / 0; +// +// channel.basicAck(message.getMessageProperties().getDeliveryTag(), false); +// +// } catch (Exception e) { +// +// if (currentNum <= 1000) { +// +// channel.basicNack(message.getMessageProperties().getDeliveryTag(), false, true); +// } +// currentNum++; +// } +// } + + @RabbitHandler + public void processHandler(CorrelationData correlationData , String msg, Channel channel, Message message) throws IOException { + + try { + log.info("消费者 2 号收到:{}", msg); + + String correlationId = (String) message.getMessageProperties().getHeaders().get("spring_returned_message_correlation"); + + System.out.println(correlationId); + + channel.basicAck(message.getMessageProperties().getDeliveryTag(), false); + + } catch (Exception e) { + + } + } +} \ No newline at end of file diff --git a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/sender/SendMessage.java b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/sender/SendMessage.java new file mode 100644 index 00000000..21d0eb8c --- /dev/null +++ b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/sender/SendMessage.java @@ -0,0 +1,67 @@ +package com.xiaofu.confirm.sender; + +import com.xiaofu.confirm.callback.ConfirmCallbackService; +import com.xiaofu.confirm.callback.ReturnCallbackService; +import lombok.extern.slf4j.Slf4j; +import org.springframework.amqp.core.MessageDeliveryMode; +import org.springframework.amqp.rabbit.core.RabbitTemplate; +import org.springframework.amqp.rabbit.support.CorrelationData; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Component; + +import java.util.UUID; + +/** + * @Author: xinzhifu + * @Description: + */ +@Slf4j +@Component +public class SendMessage { + + @Autowired + private RabbitTemplate rabbitTemplate; + + @Autowired + private ConfirmCallbackService confirmCallbackService; + + @Autowired + private ReturnCallbackService returnCallbackService; + + /** + * @param exchange 交换机 + * @param routingKey 队列 + * @param msg 消息体 + * @author xiaofu + * @description 发送消息 + * @date 2020/6/29 16:22 + */ + public void sendMessage(String exchange, String routingKey, Object msg) { + + /** + * 确保消息发送失败后可以重新返回到队列中 + * 注意:yml需要配置 publisher-returns: true + */ + rabbitTemplate.setMandatory(true); + + /** + * 消费者确认收到消息后,手动ack回执回调处理 + */ + rabbitTemplate.setConfirmCallback(confirmCallbackService); + + /** + * 消息投递到队列失败回调处理 + */ + rabbitTemplate.setReturnCallback(returnCallbackService); + + /** + * 发送消息 + */ + rabbitTemplate.convertAndSend(exchange, routingKey, msg, + message -> { + message.getMessageProperties().setDeliveryMode(MessageDeliveryMode.PERSISTENT); + return message; + }, + new CorrelationData(UUID.randomUUID().toString())); + } +} diff --git a/springboot-rabbitmq-confirm/src/main/resources/application.properties b/springboot-rabbitmq-confirm/src/main/resources/application.properties new file mode 100644 index 00000000..adfc09f8 --- /dev/null +++ b/springboot-rabbitmq-confirm/src/main/resources/application.properties @@ -0,0 +1,21 @@ +spring.rabbitmq.host=127.0.0.1 +spring.rabbitmq.port=5672 +spring.rabbitmq.username=guest +spring.rabbitmq.password=guest + +# ߿ confirm ȷϻ +spring.rabbitmq.publisher-confirms=true +# return ȷϻ +spring.rabbitmq.publisher-returns=true + +#################################################### + +# Ѷ˿ack ֶӦ +spring.rabbitmq.listener.simple.acknowledge-mode=manual +# Ƿ֧ +spring.rabbitmq.listener.simple.retry.enabled=true +# ָС +#spring.rabbitmq.listener.simple.concurrency=1 +#ָ +#spring.rabbitmq.listener.simple.max-concurrency=1 + diff --git a/springboot-rabbitmq-mqtt b/springboot-rabbitmq-mqtt new file mode 160000 index 00000000..7e8d75fe --- /dev/null +++ b/springboot-rabbitmq-mqtt @@ -0,0 +1 @@ +Subproject commit 7e8d75fedc001d461bf95351af23edb0ea2c7de2 From 51c7ca0b5b9bb34f81274410542a3d104059e793 Mon Sep 17 00:00:00 2001 From: xin <515361725@qq.com> Date: Tue, 14 Jul 2020 17:54:52 +0800 Subject: [PATCH 03/35] springboot + redis + lua --- springboot-aop-redis-lua | 1 - springboot-aop-redis-lua-/HELP.md | 16 ++ springboot-aop-redis-lua-/README.md | 4 + .../mvnw | 0 .../mvnw.cmd | 0 springboot-aop-redis-lua-/pom.xml | 83 ++++++++++ .../springboot-aop-redis-lua.iml | 112 ++++++++++++++ .../com/xiaofu/limit/DemoApplication.java | 6 +- .../main/java/com/xiaofu/limit/api/Limit.java | 47 ++++++ .../limit/controller/LimiterController.java | 57 +++++++ .../limit/controller/TimeController.java | 63 ++++++++ .../java/com/xiaofu/limit/enmu/LimitType.java | 20 +++ .../java/com/xiaofu/limit/enmu/OrderInfo.java | 30 ++++ .../xiaofu/limit/impl/RedisLimiterHelper.java | 23 +++ .../limit/interceptor/LimitInterceptor.java | 145 ++++++++++++++++++ .../LocalDateTimeSerializerConfig.java | 32 ++++ .../src/main/resources/application.properties | 3 + .../src/main/resources/templates/index.html | 11 ++ .../xiaofu/limit/DemoApplicationTests.java | 13 ++ springboot-rabbitmq-confirm/.gitignore | 31 ---- .../.mvn/wrapper/MavenWrapperDownloader.java | 114 -------------- .../.mvn/wrapper/maven-wrapper.jar | Bin 50710 -> 0 bytes .../.mvn/wrapper/maven-wrapper.properties | 2 - springboot-rabbitmq-confirm/pom.xml | 74 --------- .../callback/ConfirmCallbackService.java | 21 --- .../callback/ReturnCallbackService.java | 20 --- .../xiaofu/confirm/config/QueueConfig.java | 33 ---- .../confirm/controller/TestController.java | 35 ----- .../confirm/receiver/ReceiverMessage.java | 48 ------ .../confirm/receiver/ReceiverMessage1.java | 63 -------- .../xiaofu/confirm/sender/SendMessage.java | 67 -------- .../src/main/resources/application.properties | 21 --- springboot-rabbitmq-mqtt | 1 - 33 files changed, 662 insertions(+), 534 deletions(-) delete mode 160000 springboot-aop-redis-lua create mode 100644 springboot-aop-redis-lua-/HELP.md create mode 100644 springboot-aop-redis-lua-/README.md rename {springboot-rabbitmq-confirm => springboot-aop-redis-lua-}/mvnw (100%) rename {springboot-rabbitmq-confirm => springboot-aop-redis-lua-}/mvnw.cmd (100%) create mode 100644 springboot-aop-redis-lua-/pom.xml create mode 100644 springboot-aop-redis-lua-/springboot-aop-redis-lua.iml rename springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/SpringbootRabbitmqConfirmApplication.java => springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/DemoApplication.java (55%) create mode 100644 springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/api/Limit.java create mode 100644 springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/controller/LimiterController.java create mode 100644 springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/controller/TimeController.java create mode 100644 springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/enmu/LimitType.java create mode 100644 springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/enmu/OrderInfo.java create mode 100644 springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/impl/RedisLimiterHelper.java create mode 100644 springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/interceptor/LimitInterceptor.java create mode 100644 springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/interceptor/LocalDateTimeSerializerConfig.java create mode 100644 springboot-aop-redis-lua-/src/main/resources/application.properties create mode 100644 springboot-aop-redis-lua-/src/main/resources/templates/index.html create mode 100644 springboot-aop-redis-lua-/src/test/java/com/xiaofu/limit/DemoApplicationTests.java delete mode 100644 springboot-rabbitmq-confirm/.gitignore delete mode 100644 springboot-rabbitmq-confirm/.mvn/wrapper/MavenWrapperDownloader.java delete mode 100644 springboot-rabbitmq-confirm/.mvn/wrapper/maven-wrapper.jar delete mode 100644 springboot-rabbitmq-confirm/.mvn/wrapper/maven-wrapper.properties delete mode 100644 springboot-rabbitmq-confirm/pom.xml delete mode 100644 springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/callback/ConfirmCallbackService.java delete mode 100644 springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/callback/ReturnCallbackService.java delete mode 100644 springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/config/QueueConfig.java delete mode 100644 springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/controller/TestController.java delete mode 100644 springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/receiver/ReceiverMessage.java delete mode 100644 springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/receiver/ReceiverMessage1.java delete mode 100644 springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/sender/SendMessage.java delete mode 100644 springboot-rabbitmq-confirm/src/main/resources/application.properties delete mode 160000 springboot-rabbitmq-mqtt diff --git a/springboot-aop-redis-lua b/springboot-aop-redis-lua deleted file mode 160000 index ac603952..00000000 --- a/springboot-aop-redis-lua +++ /dev/null @@ -1 +0,0 @@ -Subproject commit ac603952c13bf135b6494bbed20755fd307a9abe diff --git a/springboot-aop-redis-lua-/HELP.md b/springboot-aop-redis-lua-/HELP.md new file mode 100644 index 00000000..3d634661 --- /dev/null +++ b/springboot-aop-redis-lua-/HELP.md @@ -0,0 +1,16 @@ +# Getting Started + +### Reference Documentation +For further reference, please consider the following sections: + +* [Official Apache Maven documentation](https://maven.apache.org/guides/index.html) +* [Spring Boot Maven Plugin Reference Guide](https://docs.spring.io/spring-boot/docs/2.2.6.RELEASE/maven-plugin/) +* [Spring Web](https://docs.spring.io/spring-boot/docs/2.2.6.RELEASE/reference/htmlsingle/#boot-features-developing-web-applications) + +### Guides +The following guides illustrate how to use some features concretely: + +* [Building a RESTful Web Service](https://spring.io/guides/gs/rest-service/) +* [Serving Web Content with Spring MVC](https://spring.io/guides/gs/serving-web-content/) +* [Building REST services with Spring](https://spring.io/guides/tutorials/bookmarks/) + diff --git a/springboot-aop-redis-lua-/README.md b/springboot-aop-redis-lua-/README.md new file mode 100644 index 00000000..d4cad3e6 --- /dev/null +++ b/springboot-aop-redis-lua-/README.md @@ -0,0 +1,4 @@ +# springboot-aop-redis-lua +springboot-aop-redis-lua 实现的分布式限流方案 + +# 关注公众号【程序员内点事】,获取 2000G 面试题、电子书、架构技术学习资料 diff --git a/springboot-rabbitmq-confirm/mvnw b/springboot-aop-redis-lua-/mvnw similarity index 100% rename from springboot-rabbitmq-confirm/mvnw rename to springboot-aop-redis-lua-/mvnw diff --git a/springboot-rabbitmq-confirm/mvnw.cmd b/springboot-aop-redis-lua-/mvnw.cmd similarity index 100% rename from springboot-rabbitmq-confirm/mvnw.cmd rename to springboot-aop-redis-lua-/mvnw.cmd diff --git a/springboot-aop-redis-lua-/pom.xml b/springboot-aop-redis-lua-/pom.xml new file mode 100644 index 00000000..123a0555 --- /dev/null +++ b/springboot-aop-redis-lua-/pom.xml @@ -0,0 +1,83 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.2.6.RELEASE + + + com.xiaofu + springboot-aop-redis-lua + 0.0.1-SNAPSHOT + springboot-aop-redis-lua + Demo project for Spring Boot + + + 1.8 + + + + + + org.springframework.boot + spring-boot-starter-web + + + org.springframework.boot + spring-boot-starter-data-redis + + + org.springframework.boot + spring-boot-starter-aop + + + com.google.guava + guava + 21.0 + + + org.springframework.boot + spring-boot-starter-test + + + org.apache.commons + commons-lang3 + + + + org.springframework.boot + spring-boot-starter-thymeleaf + 2.1.3.RELEASE + + + + com.alibaba + fastjson + 1.2.49 + + + + org.springframework.boot + spring-boot-starter-test + test + + + org.junit.vintage + junit-vintage-engine + + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/springboot-aop-redis-lua-/springboot-aop-redis-lua.iml b/springboot-aop-redis-lua-/springboot-aop-redis-lua.iml new file mode 100644 index 00000000..697b33b6 --- /dev/null +++ b/springboot-aop-redis-lua-/springboot-aop-redis-lua.iml @@ -0,0 +1,112 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/SpringbootRabbitmqConfirmApplication.java b/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/DemoApplication.java similarity index 55% rename from springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/SpringbootRabbitmqConfirmApplication.java rename to springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/DemoApplication.java index 7900dc70..456f8225 100644 --- a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/SpringbootRabbitmqConfirmApplication.java +++ b/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/DemoApplication.java @@ -1,13 +1,13 @@ -package com.xiaofu.confirm; +package com.xiaofu.limit; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication -public class SpringbootRabbitmqConfirmApplication { +public class DemoApplication { public static void main(String[] args) { - SpringApplication.run(SpringbootRabbitmqConfirmApplication.class, args); + SpringApplication.run(DemoApplication.class, args); } } diff --git a/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/api/Limit.java b/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/api/Limit.java new file mode 100644 index 00000000..1898c540 --- /dev/null +++ b/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/api/Limit.java @@ -0,0 +1,47 @@ +package com.xiaofu.limit.api; + +import com.xiaofu.limit.enmu.LimitType; + +import java.lang.annotation.*; + +/** + * @author xinzhifu + * @description 自定义限流注解 + * @date 2020/4/8 13:15 + */ +@Target({ElementType.METHOD, ElementType.TYPE}) +@Retention(RetentionPolicy.RUNTIME) +@Inherited +@Documented +public @interface Limit { + + /** + * 名字 + */ + String name() default ""; + + /** + * key + */ + String key() default ""; + + /** + * Key的前缀 + */ + String prefix() default ""; + + /** + * 给定的时间范围 单位(秒) + */ + int period(); + + /** + * 一定时间内最多访问次数 + */ + int count(); + + /** + * 限流的类型(用户自定义key 或者 请求ip) + */ + LimitType limitType() default LimitType.CUSTOMER; +} diff --git a/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/controller/LimiterController.java b/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/controller/LimiterController.java new file mode 100644 index 00000000..c3de44a7 --- /dev/null +++ b/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/controller/LimiterController.java @@ -0,0 +1,57 @@ +package com.xiaofu.limit.controller; + +import com.xiaofu.limit.api.Limit; +import com.xiaofu.limit.enmu.LimitType; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RestController; + +import java.util.concurrent.atomic.AtomicInteger; + +/** + * @Author: xinzhifu + * @Description: + */ +@RestController +public class LimiterController { + + private static final AtomicInteger ATOMIC_INTEGER_1 = new AtomicInteger(); + private static final AtomicInteger ATOMIC_INTEGER_2 = new AtomicInteger(); + private static final AtomicInteger ATOMIC_INTEGER_3 = new AtomicInteger(); + + /** + * @author xinzhifu + * @description + * @date 2020/4/8 13:42 + */ + @Limit(key = "limitTest", period = 10, count = 3) + @GetMapping("/limitTest1") + public int testLimiter1() { + + return ATOMIC_INTEGER_1.incrementAndGet(); + } + + /** + * @author xinzhifu + * @description + * @date 2020/4/8 13:42 + */ + @Limit(key = "customer_limit_test", period = 10, count = 3, limitType = LimitType.CUSTOMER) + @GetMapping("/limitTest2") + public int testLimiter2() { + + return ATOMIC_INTEGER_2.incrementAndGet(); + } + + /** + * @author xinzhifu + * @description + * @date 2020/4/8 13:42 + */ + @Limit(key = "ip_limit_test", period = 10, count = 3, limitType = LimitType.IP) + @GetMapping("/limitTest3") + public int testLimiter3() { + + return ATOMIC_INTEGER_3.incrementAndGet(); + } + +} \ No newline at end of file diff --git a/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/controller/TimeController.java b/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/controller/TimeController.java new file mode 100644 index 00000000..1054030e --- /dev/null +++ b/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/controller/TimeController.java @@ -0,0 +1,63 @@ +package com.xiaofu.limit.controller; + +import com.alibaba.fastjson.JSON; +import org.springframework.stereotype.Controller; +import org.springframework.ui.Model; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.ResponseBody; + +import java.io.Serializable; +import java.time.LocalDateTime; +import java.util.Date; + +/** + * @Author: xiaofu + * @Description: + */ +@Controller +public class TimeController { + + @GetMapping("/timeTest") + public String timeTest(Model model) { + OrderInfo order = new OrderInfo(); + order.setCreateTime(LocalDateTime.now()); + order.setUpdateTime(new Date()); + model.addAttribute("order",order); + System.out.println(JSON.toJSONString(order)); + return "index"; + } + + @GetMapping("/timeTest1") + @ResponseBody + public OrderInfo timeTest1() { + OrderInfo order = new OrderInfo(); + order.setCreateTime(LocalDateTime.now()); + order.setUpdateTime(new Date()); + return order; + } + + public class OrderInfo implements Serializable{ + + //@JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd") + private LocalDateTime createTime; + + //@JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") + private Date updateTime; + + public LocalDateTime getCreateTime() { + return createTime; + } + + public void setCreateTime(LocalDateTime createTime) { + this.createTime = createTime; + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + } +} \ No newline at end of file diff --git a/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/enmu/LimitType.java b/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/enmu/LimitType.java new file mode 100644 index 00000000..ef8ede5f --- /dev/null +++ b/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/enmu/LimitType.java @@ -0,0 +1,20 @@ +package com.xiaofu.limit.enmu; + + +/** + * @author xinzhifu + * @description 限流类型 + * @date 2020/4/8 13:47 + */ +public enum LimitType { + + /** + * 自定义key + */ + CUSTOMER, + + /** + * 请求者IP + */ + IP; +} \ No newline at end of file diff --git a/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/enmu/OrderInfo.java b/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/enmu/OrderInfo.java new file mode 100644 index 00000000..912ae1d5 --- /dev/null +++ b/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/enmu/OrderInfo.java @@ -0,0 +1,30 @@ +package com.xiaofu.limit.enmu; + +///** +// * @Author: xiaofu +// * @Description: +// */ +//public class OrderInfo { +// +// //@JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") +// private LocalDateTime createTime; +// +// //@JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") +// private Date updateTime; +// +// public LocalDateTime getCreateTime() { +// return createTime; +// } +// +// public void setCreateTime(LocalDateTime createTime) { +// this.createTime = createTime; +// } +// +// public Date getUpdateTime() { +// return updateTime; +// } +// +// public void setUpdateTime(Date updateTime) { +// this.updateTime = updateTime; +// } +//} diff --git a/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/impl/RedisLimiterHelper.java b/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/impl/RedisLimiterHelper.java new file mode 100644 index 00000000..e61c07a8 --- /dev/null +++ b/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/impl/RedisLimiterHelper.java @@ -0,0 +1,23 @@ +package com.xiaofu.limit.impl; + +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory; +import org.springframework.data.redis.core.RedisTemplate; +import org.springframework.data.redis.serializer.GenericJackson2JsonRedisSerializer; +import org.springframework.data.redis.serializer.StringRedisSerializer; + +import java.io.Serializable; + +@Configuration +public class RedisLimiterHelper { + + @Bean + public RedisTemplate limitRedisTemplate(LettuceConnectionFactory redisConnectionFactory) { + RedisTemplate template = new RedisTemplate<>(); + template.setKeySerializer(new StringRedisSerializer()); + template.setValueSerializer(new GenericJackson2JsonRedisSerializer()); + template.setConnectionFactory(redisConnectionFactory); + return template; + } +} \ No newline at end of file diff --git a/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/interceptor/LimitInterceptor.java b/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/interceptor/LimitInterceptor.java new file mode 100644 index 00000000..28ed8e3d --- /dev/null +++ b/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/interceptor/LimitInterceptor.java @@ -0,0 +1,145 @@ +package com.xiaofu.limit.interceptor; + +/** + * @Author: xinzhifu + * @Description: + */ + + +import com.google.common.collect.ImmutableList; +import com.xiaofu.limit.api.Limit; +import com.xiaofu.limit.enmu.LimitType; +import org.apache.commons.lang3.StringUtils; +import org.aspectj.lang.ProceedingJoinPoint; +import org.aspectj.lang.annotation.Around; +import org.aspectj.lang.annotation.Aspect; +import org.aspectj.lang.reflect.MethodSignature; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.context.annotation.Configuration; +import org.springframework.data.redis.core.RedisTemplate; +import org.springframework.data.redis.core.script.DefaultRedisScript; +import org.springframework.data.redis.core.script.RedisScript; +import org.springframework.web.context.request.RequestContextHolder; +import org.springframework.web.context.request.ServletRequestAttributes; + +import javax.servlet.http.HttpServletRequest; +import java.io.Serializable; +import java.lang.reflect.Method; + + +/** + * @author xinzhifu + * @description 限流切面实现 + * @date 2020/4/8 13:04 + */ +@Aspect +@Configuration +public class LimitInterceptor { + + private static final Logger logger = LoggerFactory.getLogger(LimitInterceptor.class); + + private static final String UNKNOWN = "unknown"; + + private final RedisTemplate limitRedisTemplate; + + @Autowired + public LimitInterceptor(RedisTemplate limitRedisTemplate) { + this.limitRedisTemplate = limitRedisTemplate; + } + + /** + * @param pjp + * @author xinzhifu + * @description 切面 + * @date 2020/4/8 13:04 + */ + @Around("execution(public * *(..)) && @annotation(com.xiaofu.limit.api.Limit)") + public Object interceptor(ProceedingJoinPoint pjp) { + MethodSignature signature = (MethodSignature) pjp.getSignature(); + Method method = signature.getMethod(); + Limit limitAnnotation = method.getAnnotation(Limit.class); + LimitType limitType = limitAnnotation.limitType(); + String name = limitAnnotation.name(); + String key; + int limitPeriod = limitAnnotation.period(); + int limitCount = limitAnnotation.count(); + + /** + * 根据限流类型获取不同的key ,如果不传我们会以方法名作为key + */ + switch (limitType) { + case IP: + key = getIpAddress(); + break; + case CUSTOMER: + key = limitAnnotation.key(); + break; + default: + key = StringUtils.upperCase(method.getName()); + } + + ImmutableList keys = ImmutableList.of(StringUtils.join(limitAnnotation.prefix(), key)); + try { + String luaScript = buildLuaScript(); + RedisScript redisScript = new DefaultRedisScript<>(luaScript, Number.class); + Number count = limitRedisTemplate.execute(redisScript, keys, limitCount, limitPeriod); + logger.info("Access try count is {} for name={} and key = {}", count, name, key); + if (count != null && count.intValue() <= limitCount) { + return pjp.proceed(); + } else { + throw new RuntimeException("You have been dragged into the blacklist"); + } + } catch (Throwable e) { + if (e instanceof RuntimeException) { + throw new RuntimeException(e.getLocalizedMessage()); + } + throw new RuntimeException("server exception"); + } + } + + /** + * @author xinzhifu + * @description 编写 redis Lua 限流脚本 + * @date 2020/4/8 13:24 + */ + public String buildLuaScript() { + StringBuilder lua = new StringBuilder(); + lua.append("local c"); + lua.append("\nc = redis.call('get',KEYS[1])"); + // 调用不超过最大值,则直接返回 + lua.append("\nif c and tonumber(c) > tonumber(ARGV[1]) then"); + lua.append("\nreturn c;"); + lua.append("\nend"); + // 执行计算器自加 + lua.append("\nc = redis.call('incr',KEYS[1])"); + lua.append("\nif tonumber(c) == 1 then"); + // 从第一次调用开始限流,设置对应键值的过期 + lua.append("\nredis.call('expire',KEYS[1],ARGV[2])"); + lua.append("\nend"); + lua.append("\nreturn c;"); + return lua.toString(); + } + + + /** + * @author xinzhifu + * @description 获取id地址 + * @date 2020/4/8 13:24 + */ + public String getIpAddress() { + HttpServletRequest request = ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest(); + String ip = request.getHeader("x-forwarded-for"); + if (ip == null || ip.length() == 0 || UNKNOWN.equalsIgnoreCase(ip)) { + ip = request.getHeader("Proxy-Client-IP"); + } + if (ip == null || ip.length() == 0 || UNKNOWN.equalsIgnoreCase(ip)) { + ip = request.getHeader("WL-Proxy-Client-IP"); + } + if (ip == null || ip.length() == 0 || UNKNOWN.equalsIgnoreCase(ip)) { + ip = request.getRemoteAddr(); + } + return ip; + } +} \ No newline at end of file diff --git a/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/interceptor/LocalDateTimeSerializerConfig.java b/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/interceptor/LocalDateTimeSerializerConfig.java new file mode 100644 index 00000000..dae5befe --- /dev/null +++ b/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/interceptor/LocalDateTimeSerializerConfig.java @@ -0,0 +1,32 @@ +package com.xiaofu.limit.interceptor; + +import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizer; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +import java.time.LocalDateTime; +import java.time.format.DateTimeFormatter; + +/** + * @Author: xiaofu + * @Description: + */ +@Configuration +public class LocalDateTimeSerializerConfig { + + @Value("${spring.jackson.date-format:yyyy-MM-dd HH:mm:ss}") + private String pattern; + + @Bean + public LocalDateTimeSerializer localDateTimeDeserializer() { + return new LocalDateTimeSerializer(DateTimeFormatter.ofPattern(pattern)); + } + + @Bean + public Jackson2ObjectMapperBuilderCustomizer jackson2ObjectMapperBuilderCustomizer() { + return builder -> builder.serializerByType(LocalDateTime.class, localDateTimeDeserializer()); + } + +} \ No newline at end of file diff --git a/springboot-aop-redis-lua-/src/main/resources/application.properties b/springboot-aop-redis-lua-/src/main/resources/application.properties new file mode 100644 index 00000000..af1c802f --- /dev/null +++ b/springboot-aop-redis-lua-/src/main/resources/application.properties @@ -0,0 +1,3 @@ + +spring.redis.host=127.0.0.1 +spring.redis.port=6379 diff --git a/springboot-aop-redis-lua-/src/main/resources/templates/index.html b/springboot-aop-redis-lua-/src/main/resources/templates/index.html new file mode 100644 index 00000000..8b430d2c --- /dev/null +++ b/springboot-aop-redis-lua-/src/main/resources/templates/index.html @@ -0,0 +1,11 @@ + + + + SpringBoot模版渲染 + + + +

+

+ + \ No newline at end of file diff --git a/springboot-aop-redis-lua-/src/test/java/com/xiaofu/limit/DemoApplicationTests.java b/springboot-aop-redis-lua-/src/test/java/com/xiaofu/limit/DemoApplicationTests.java new file mode 100644 index 00000000..b4a9dfb3 --- /dev/null +++ b/springboot-aop-redis-lua-/src/test/java/com/xiaofu/limit/DemoApplicationTests.java @@ -0,0 +1,13 @@ +package com.xiaofu.limit; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class DemoApplicationTests { + + @Test + void contextLoads() { + } + +} diff --git a/springboot-rabbitmq-confirm/.gitignore b/springboot-rabbitmq-confirm/.gitignore deleted file mode 100644 index a2a3040a..00000000 --- a/springboot-rabbitmq-confirm/.gitignore +++ /dev/null @@ -1,31 +0,0 @@ -HELP.md -target/ -!.mvn/wrapper/maven-wrapper.jar -!**/src/main/** -!**/src/test/** - -### STS ### -.apt_generated -.classpath -.factorypath -.project -.settings -.springBeans -.sts4-cache - -### IntelliJ IDEA ### -.idea -*.iws -*.iml -*.ipr - -### NetBeans ### -/nbproject/private/ -/nbbuild/ -/dist/ -/nbdist/ -/.nb-gradle/ -build/ - -### VS Code ### -.vscode/ diff --git a/springboot-rabbitmq-confirm/.mvn/wrapper/MavenWrapperDownloader.java b/springboot-rabbitmq-confirm/.mvn/wrapper/MavenWrapperDownloader.java deleted file mode 100644 index 1d45a896..00000000 --- a/springboot-rabbitmq-confirm/.mvn/wrapper/MavenWrapperDownloader.java +++ /dev/null @@ -1,114 +0,0 @@ -/* - * Copyright 2007-present the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import java.util.Properties; - -public class MavenWrapperDownloader { - - private static final String WRAPPER_VERSION = "0.5.6"; - /** - * Default URL to download the maven-wrapper.jar from, if no 'downloadUrl' is provided. - */ - private static final String DEFAULT_DOWNLOAD_URL = "https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/" - + WRAPPER_VERSION + "/maven-wrapper-" + WRAPPER_VERSION + ".jar"; - - /** - * Path to the maven-wrapper.properties file, which might contain a downloadUrl property to - * use instead of the default one. - */ - private static final String MAVEN_WRAPPER_PROPERTIES_PATH = - ".mvn/wrapper/maven-wrapper.properties"; - - /** - * Path where the maven-wrapper.jar will be saved to. - */ - private static final String MAVEN_WRAPPER_JAR_PATH = - ".mvn/wrapper/maven-wrapper.jar"; - - /** - * Name of the property which should be used to override the default download url for the wrapper. - */ - private static final String PROPERTY_NAME_WRAPPER_URL = "wrapperUrl"; - - public static void main(String args[]) { - System.out.println("- Downloader started"); - File baseDirectory = new File(args[0]); - System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath()); - - // If the maven-wrapper.properties exists, read it and check if it contains a custom - // wrapperUrl parameter. - File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH); - String url = DEFAULT_DOWNLOAD_URL; - if(mavenWrapperPropertyFile.exists()) { - FileInputStream mavenWrapperPropertyFileInputStream = null; - try { - mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile); - Properties mavenWrapperProperties = new Properties(); - mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream); - url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url); - } catch (IOException e) { - System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'"); - } finally { - try { - if(mavenWrapperPropertyFileInputStream != null) { - mavenWrapperPropertyFileInputStream.close(); - } - } catch (IOException e) { - // Ignore ... - } - } - } - System.out.println("- Downloading from: " + url); - - File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH); - if(!outputFile.getParentFile().exists()) { - if(!outputFile.getParentFile().mkdirs()) { - System.out.println( - "- ERROR creating output directory '" + outputFile.getParentFile().getAbsolutePath() + "'"); - } - } - System.out.println("- Downloading to: " + outputFile.getAbsolutePath()); - try { - downloadFileFromURL(url, outputFile); - System.out.println("Done"); - System.exit(0); - } catch (Throwable e) { - System.out.println("- Error downloading"); - e.printStackTrace(); - System.exit(1); - } - } - - private static void downloadFileFromURL(String urlString, File destination) throws Exception { - if (System.getenv("MVNW_USERNAME") != null && System.getenv("MVNW_PASSWORD") != null) { - String username = System.getenv("MVNW_USERNAME"); - char[] password = System.getenv("MVNW_PASSWORD").toCharArray(); - Authenticator.setDefault(new Authenticator() { - @Override - protected PasswordAuthentication getPasswordAuthentication() { - return new PasswordAuthentication(username, password); - } - }); - } - URL website = new URL(urlString); - ReadableByteChannel rbc; - rbc = Channels.newChannel(website.openStream()); - FileOutputStream fos = new FileOutputStream(destination); - fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE); - fos.close(); - rbc.close(); - } - -} diff --git a/springboot-rabbitmq-confirm/.mvn/wrapper/maven-wrapper.jar b/springboot-rabbitmq-confirm/.mvn/wrapper/maven-wrapper.jar deleted file mode 100644 index 2cc7d4a55c0cd0092912bf49ae38b3a9e3fd0054..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 50710 zcmbTd1CVCTmM+|7+wQV$+qP}n>auOywyU~q+qUhh+uxis_~*a##hm*_WW?9E7Pb7N%LRFiwbEGCJ0XP=%-6oeT$XZcYgtzC2~q zk(K08IQL8oTl}>>+hE5YRgXTB@fZ4TH9>7=79e`%%tw*SQUa9~$xKD5rS!;ZG@ocK zQdcH}JX?W|0_Afv?y`-NgLum62B&WSD$-w;O6G0Sm;SMX65z)l%m1e-g8Q$QTI;(Q z+x$xth4KFvH@Bs6(zn!iF#nenk^Y^ce;XIItAoCsow38eq?Y-Auh!1in#Rt-_D>H^ z=EjbclGGGa6VnaMGmMLj`x3NcwA43Jb(0gzl;RUIRAUDcR1~99l2SAPkVhoRMMtN} zXvC<tOmX83grD8GSo_Lo?%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Q&U$Q-G}xM1A@1f{#%A$jh6Qp&0hQ<0bPOM z-{1Wm&p%%#eb_?x7i;bol EfAhh=DF6Tf diff --git a/springboot-rabbitmq-confirm/.mvn/wrapper/maven-wrapper.properties b/springboot-rabbitmq-confirm/.mvn/wrapper/maven-wrapper.properties deleted file mode 100644 index 642d572c..00000000 --- a/springboot-rabbitmq-confirm/.mvn/wrapper/maven-wrapper.properties +++ /dev/null @@ -1,2 +0,0 @@ -distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip -wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar diff --git a/springboot-rabbitmq-confirm/pom.xml b/springboot-rabbitmq-confirm/pom.xml deleted file mode 100644 index ac1a9f86..00000000 --- a/springboot-rabbitmq-confirm/pom.xml +++ /dev/null @@ -1,74 +0,0 @@ - - - 4.0.0 - - org.springframework.boot - spring-boot-starter-parent - 2.0.5.RELEASE - - - com.xiaofu - springboot-rabbitmq-confirm - 0.0.1-SNAPSHOT - springboot-rabbitmq-confirm - Demo project for Spring Boot - - - 1.8 - - - - - - org.springframework.boot - spring-boot-starter-thymeleaf - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-starter-test - test - - - org.junit.vintage - junit-vintage-engine - - - - - - org.springframework.boot - spring-boot-starter-amqp - - - - com.alibaba - fastjson - 1.2.49 - - - - - org.projectlombok - lombok - 1.16.18 - provided - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/callback/ConfirmCallbackService.java b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/callback/ConfirmCallbackService.java deleted file mode 100644 index 2897489f..00000000 --- a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/callback/ConfirmCallbackService.java +++ /dev/null @@ -1,21 +0,0 @@ -package com.xiaofu.confirm.callback; - -import lombok.extern.slf4j.Slf4j; -import org.springframework.amqp.rabbit.core.RabbitTemplate; -import org.springframework.amqp.rabbit.support.CorrelationData; -import org.springframework.stereotype.Component; - -@Slf4j -@Component -public class ConfirmCallbackService implements RabbitTemplate.ConfirmCallback { - - @Override - public void confirm(CorrelationData correlationData, boolean ack, String cause) { - - if (!ack) { - log.error("消息发送异常!"); - } else { - log.info("发送者爸爸已经收到确认,correlationData={} ,ack={}, cause={}", correlationData.getId(), ack, cause); - } - } -} diff --git a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/callback/ReturnCallbackService.java b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/callback/ReturnCallbackService.java deleted file mode 100644 index b63f67b7..00000000 --- a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/callback/ReturnCallbackService.java +++ /dev/null @@ -1,20 +0,0 @@ -package com.xiaofu.confirm.callback; - -import lombok.extern.slf4j.Slf4j; -import org.springframework.amqp.core.Message; -import org.springframework.amqp.rabbit.core.RabbitTemplate; -import org.springframework.stereotype.Component; - -/** - * @Author: xinzhifu - * @Description: - */ -@Slf4j -@Component -public class ReturnCallbackService implements RabbitTemplate.ReturnCallback { - - @Override - public void returnedMessage(Message message, int replyCode, String replyText, String exchange, String routingKey) { - log.info("returnedMessage ===> replyCode={} ,replyText={} ,exchange={} ,routingKey={}", replyCode, replyText, exchange, routingKey); - } -} diff --git a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/config/QueueConfig.java b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/config/QueueConfig.java deleted file mode 100644 index f5ab8c8f..00000000 --- a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/config/QueueConfig.java +++ /dev/null @@ -1,33 +0,0 @@ -package com.xiaofu.confirm.config; - -import org.springframework.amqp.core.Binding; -import org.springframework.amqp.core.BindingBuilder; -import org.springframework.amqp.core.FanoutExchange; -import org.springframework.amqp.core.Queue; -import org.springframework.beans.factory.annotation.Qualifier; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; - - -@Configuration -public class QueueConfig { - - @Bean(name = "confirmTestQueue") - public Queue confirmTestQueue() { - return new Queue("confirm_test_queue", true, false, false); - } - - @Bean(name = "confirmTestExchange") - public FanoutExchange confirmTestExchange() { - return new FanoutExchange("confirmTestExchange"); - } - - @Bean - public Binding confirmTestFanoutExchangeAndQueue( - @Qualifier("confirmTestExchange") FanoutExchange confirmTestExchange, - @Qualifier("confirmTestQueue") Queue confirmTestQueue) { - return BindingBuilder.bind(confirmTestQueue).to(confirmTestExchange); - } -} - - diff --git a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/controller/TestController.java b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/controller/TestController.java deleted file mode 100644 index 81a4faff..00000000 --- a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/controller/TestController.java +++ /dev/null @@ -1,35 +0,0 @@ -package com.xiaofu.confirm.controller; - -import com.xiaofu.confirm.sender.SendMessage; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Controller; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestMethod; -import org.springframework.web.bind.annotation.ResponseBody; - -/** - * @Author: xinzhifu - * @Description: - */ -@Controller -@RequestMapping -public class TestController { - - @Autowired - private SendMessage sendMessage; - - @RequestMapping(value = "/hello", method = RequestMethod.GET) - @ResponseBody - public String test() { - - //sendMessage.sendMessage("", "confirm_test_queue", "0" ); - - - for (int i = 0; i < 5; i++) { - - sendMessage.sendMessage("", "confirm_test_queue", "发送者消息"); - } - - return "success"; - } -} diff --git a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/receiver/ReceiverMessage.java b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/receiver/ReceiverMessage.java deleted file mode 100644 index 1796bb19..00000000 --- a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/receiver/ReceiverMessage.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.xiaofu.confirm.receiver; - -import com.rabbitmq.client.Channel; -import lombok.extern.slf4j.Slf4j; -import org.springframework.amqp.core.Message; -import org.springframework.amqp.rabbit.annotation.RabbitHandler; -import org.springframework.amqp.rabbit.annotation.RabbitListener; -import org.springframework.stereotype.Component; - -import java.io.IOException; - -/** - * @author xiaofu - * @description 消息消费 - * @date 2020/6/29 16:31 - */ -@Slf4j -@Component -@RabbitListener(queues = "confirm_test_queue") -public class ReceiverMessage { - - @RabbitHandler - public void processHandler1(String msg, Channel channel, Message message) throws IOException { - - try { - log.info("消费者 1 号收到:{}", msg); - - //TODO 具体业务 - - channel.basicAck(message.getMessageProperties().getDeliveryTag(), false); - - } catch (Exception e) { - - if (message.getMessageProperties().getRedelivered()) { - - log.error("消息已重复处理失败,拒绝再次接收..."); - - channel.basicReject(message.getMessageProperties().getDeliveryTag(), false); // 拒绝消息 - } else { - - log.error("消息即将再次返回队列处理..."); - - channel.basicNack(message.getMessageProperties().getDeliveryTag(), false, true); - } - } - } - -} \ No newline at end of file diff --git a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/receiver/ReceiverMessage1.java b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/receiver/ReceiverMessage1.java deleted file mode 100644 index 0090569e..00000000 --- a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/receiver/ReceiverMessage1.java +++ /dev/null @@ -1,63 +0,0 @@ -package com.xiaofu.confirm.receiver; - -import com.rabbitmq.client.Channel; -import lombok.extern.slf4j.Slf4j; -import org.springframework.amqp.core.Message; -import org.springframework.amqp.rabbit.annotation.RabbitHandler; -import org.springframework.amqp.rabbit.annotation.RabbitListener; -import org.springframework.amqp.rabbit.support.CorrelationData; -import org.springframework.stereotype.Component; - -import java.io.IOException; - -/** - * @Author: xinzhifu - * @Description: - */ -@Slf4j -@Component -@RabbitListener(queues = "confirm_test_queue") -public class ReceiverMessage1 { - - private int retryNum = 5; - - private int currentNum = 0; - - -// @RabbitHandler -// public void processHandler(String msg, Channel channel, Message message) throws IOException { -// -// try { -// log.info("消费者 2 号收到:{}", msg); -// -// int a = 1 / 0; -// -// channel.basicAck(message.getMessageProperties().getDeliveryTag(), false); -// -// } catch (Exception e) { -// -// if (currentNum <= 1000) { -// -// channel.basicNack(message.getMessageProperties().getDeliveryTag(), false, true); -// } -// currentNum++; -// } -// } - - @RabbitHandler - public void processHandler(CorrelationData correlationData , String msg, Channel channel, Message message) throws IOException { - - try { - log.info("消费者 2 号收到:{}", msg); - - String correlationId = (String) message.getMessageProperties().getHeaders().get("spring_returned_message_correlation"); - - System.out.println(correlationId); - - channel.basicAck(message.getMessageProperties().getDeliveryTag(), false); - - } catch (Exception e) { - - } - } -} \ No newline at end of file diff --git a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/sender/SendMessage.java b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/sender/SendMessage.java deleted file mode 100644 index 21d0eb8c..00000000 --- a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/sender/SendMessage.java +++ /dev/null @@ -1,67 +0,0 @@ -package com.xiaofu.confirm.sender; - -import com.xiaofu.confirm.callback.ConfirmCallbackService; -import com.xiaofu.confirm.callback.ReturnCallbackService; -import lombok.extern.slf4j.Slf4j; -import org.springframework.amqp.core.MessageDeliveryMode; -import org.springframework.amqp.rabbit.core.RabbitTemplate; -import org.springframework.amqp.rabbit.support.CorrelationData; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Component; - -import java.util.UUID; - -/** - * @Author: xinzhifu - * @Description: - */ -@Slf4j -@Component -public class SendMessage { - - @Autowired - private RabbitTemplate rabbitTemplate; - - @Autowired - private ConfirmCallbackService confirmCallbackService; - - @Autowired - private ReturnCallbackService returnCallbackService; - - /** - * @param exchange 交换机 - * @param routingKey 队列 - * @param msg 消息体 - * @author xiaofu - * @description 发送消息 - * @date 2020/6/29 16:22 - */ - public void sendMessage(String exchange, String routingKey, Object msg) { - - /** - * 确保消息发送失败后可以重新返回到队列中 - * 注意:yml需要配置 publisher-returns: true - */ - rabbitTemplate.setMandatory(true); - - /** - * 消费者确认收到消息后,手动ack回执回调处理 - */ - rabbitTemplate.setConfirmCallback(confirmCallbackService); - - /** - * 消息投递到队列失败回调处理 - */ - rabbitTemplate.setReturnCallback(returnCallbackService); - - /** - * 发送消息 - */ - rabbitTemplate.convertAndSend(exchange, routingKey, msg, - message -> { - message.getMessageProperties().setDeliveryMode(MessageDeliveryMode.PERSISTENT); - return message; - }, - new CorrelationData(UUID.randomUUID().toString())); - } -} diff --git a/springboot-rabbitmq-confirm/src/main/resources/application.properties b/springboot-rabbitmq-confirm/src/main/resources/application.properties deleted file mode 100644 index adfc09f8..00000000 --- a/springboot-rabbitmq-confirm/src/main/resources/application.properties +++ /dev/null @@ -1,21 +0,0 @@ -spring.rabbitmq.host=127.0.0.1 -spring.rabbitmq.port=5672 -spring.rabbitmq.username=guest -spring.rabbitmq.password=guest - -# ߿ confirm ȷϻ -spring.rabbitmq.publisher-confirms=true -# return ȷϻ -spring.rabbitmq.publisher-returns=true - -#################################################### - -# Ѷ˿ack ֶӦ -spring.rabbitmq.listener.simple.acknowledge-mode=manual -# Ƿ֧ -spring.rabbitmq.listener.simple.retry.enabled=true -# ָС -#spring.rabbitmq.listener.simple.concurrency=1 -#ָ -#spring.rabbitmq.listener.simple.max-concurrency=1 - diff --git a/springboot-rabbitmq-mqtt b/springboot-rabbitmq-mqtt deleted file mode 160000 index 7e8d75fe..00000000 --- a/springboot-rabbitmq-mqtt +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 7e8d75fedc001d461bf95351af23edb0ea2c7de2 From 9ad732c5f4d7cfcfcd2bae5a25df5637b97b09fa Mon Sep 17 00:00:00 2001 From: xin <515361725@qq.com> Date: Tue, 14 Jul 2020 17:59:24 +0800 Subject: [PATCH 04/35] springboot-rabbitmq-confirm --- .../.mvn/wrapper/MavenWrapperDownloader.java | 117 +++++++ .../.mvn/wrapper/maven-wrapper.jar | Bin 0 -> 50710 bytes .../.mvn/wrapper/maven-wrapper.properties | 2 + springboot-rabbitmq-confirm/HELP.md | 20 ++ springboot-rabbitmq-confirm/mvnw | 310 ++++++++++++++++++ springboot-rabbitmq-confirm/mvnw.cmd | 182 ++++++++++ springboot-rabbitmq-confirm/pom.xml | 74 +++++ .../SpringbootRabbitmqConfirmApplication.java | 13 + .../callback/ConfirmCallbackService.java | 21 ++ .../callback/ReturnCallbackService.java | 20 ++ .../xiaofu/confirm/config/QueueConfig.java | 33 ++ .../confirm/controller/TestController.java | 35 ++ .../confirm/receiver/ReceiverMessage.java | 48 +++ .../confirm/receiver/ReceiverMessage1.java | 63 ++++ .../xiaofu/confirm/sender/SendMessage.java | 67 ++++ .../src/main/resources/application.properties | 21 ++ 16 files changed, 1026 insertions(+) create mode 100644 springboot-rabbitmq-confirm/.mvn/wrapper/MavenWrapperDownloader.java create mode 100644 springboot-rabbitmq-confirm/.mvn/wrapper/maven-wrapper.jar create mode 100644 springboot-rabbitmq-confirm/.mvn/wrapper/maven-wrapper.properties create mode 100644 springboot-rabbitmq-confirm/HELP.md create mode 100644 springboot-rabbitmq-confirm/mvnw create mode 100644 springboot-rabbitmq-confirm/mvnw.cmd create mode 100644 springboot-rabbitmq-confirm/pom.xml create mode 100644 springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/SpringbootRabbitmqConfirmApplication.java create mode 100644 springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/callback/ConfirmCallbackService.java create mode 100644 springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/callback/ReturnCallbackService.java create mode 100644 springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/config/QueueConfig.java create mode 100644 springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/controller/TestController.java create mode 100644 springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/receiver/ReceiverMessage.java create mode 100644 springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/receiver/ReceiverMessage1.java create mode 100644 springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/sender/SendMessage.java create mode 100644 springboot-rabbitmq-confirm/src/main/resources/application.properties diff --git a/springboot-rabbitmq-confirm/.mvn/wrapper/MavenWrapperDownloader.java b/springboot-rabbitmq-confirm/.mvn/wrapper/MavenWrapperDownloader.java new file mode 100644 index 00000000..e76d1f32 --- /dev/null +++ b/springboot-rabbitmq-confirm/.mvn/wrapper/MavenWrapperDownloader.java @@ -0,0 +1,117 @@ +/* + * Copyright 2007-present the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import java.net.*; +import java.io.*; +import java.nio.channels.*; +import java.util.Properties; + +public class MavenWrapperDownloader { + + private static final String WRAPPER_VERSION = "0.5.6"; + /** + * Default URL to download the maven-wrapper.jar from, if no 'downloadUrl' is provided. + */ + private static final String DEFAULT_DOWNLOAD_URL = "https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/" + + WRAPPER_VERSION + "/maven-wrapper-" + WRAPPER_VERSION + ".jar"; + + /** + * Path to the maven-wrapper.properties file, which might contain a downloadUrl property to + * use instead of the default one. + */ + private static final String MAVEN_WRAPPER_PROPERTIES_PATH = + ".mvn/wrapper/maven-wrapper.properties"; + + /** + * Path where the maven-wrapper.jar will be saved to. + */ + private static final String MAVEN_WRAPPER_JAR_PATH = + ".mvn/wrapper/maven-wrapper.jar"; + + /** + * Name of the property which should be used to override the default download url for the wrapper. + */ + private static final String PROPERTY_NAME_WRAPPER_URL = "wrapperUrl"; + + public static void main(String args[]) { + System.out.println("- Downloader started"); + File baseDirectory = new File(args[0]); + System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath()); + + // If the maven-wrapper.properties exists, read it and check if it contains a custom + // wrapperUrl parameter. + File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH); + String url = DEFAULT_DOWNLOAD_URL; + if(mavenWrapperPropertyFile.exists()) { + FileInputStream mavenWrapperPropertyFileInputStream = null; + try { + mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile); + Properties mavenWrapperProperties = new Properties(); + mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream); + url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url); + } catch (IOException e) { + System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'"); + } finally { + try { + if(mavenWrapperPropertyFileInputStream != null) { + mavenWrapperPropertyFileInputStream.close(); + } + } catch (IOException e) { + // Ignore ... + } + } + } + System.out.println("- Downloading from: " + url); + + File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH); + if(!outputFile.getParentFile().exists()) { + if(!outputFile.getParentFile().mkdirs()) { + System.out.println( + "- ERROR creating output directory '" + outputFile.getParentFile().getAbsolutePath() + "'"); + } + } + System.out.println("- Downloading to: " + outputFile.getAbsolutePath()); + try { + downloadFileFromURL(url, outputFile); + System.out.println("Done"); + System.exit(0); + } catch (Throwable e) { + System.out.println("- Error downloading"); + e.printStackTrace(); + System.exit(1); + } + } + + private static void downloadFileFromURL(String urlString, File destination) throws Exception { + if (System.getenv("MVNW_USERNAME") != null && System.getenv("MVNW_PASSWORD") != null) { + String username = System.getenv("MVNW_USERNAME"); + char[] password = System.getenv("MVNW_PASSWORD").toCharArray(); + Authenticator.setDefault(new Authenticator() { + @Override + protected PasswordAuthentication getPasswordAuthentication() { + return new PasswordAuthentication(username, password); + } + }); + } + URL website = new URL(urlString); + ReadableByteChannel rbc; + rbc = Channels.newChannel(website.openStream()); + FileOutputStream fos = new FileOutputStream(destination); + fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE); + fos.close(); + rbc.close(); + } + +} diff --git a/springboot-rabbitmq-confirm/.mvn/wrapper/maven-wrapper.jar b/springboot-rabbitmq-confirm/.mvn/wrapper/maven-wrapper.jar new file mode 100644 index 0000000000000000000000000000000000000000..2cc7d4a55c0cd0092912bf49ae38b3a9e3fd0054 GIT binary patch literal 50710 zcmbTd1CVCTmM+|7+wQV$+qP}n>auOywyU~q+qUhh+uxis_~*a##hm*_WW?9E7Pb7N%LRFiwbEGCJ0XP=%-6oeT$XZcYgtzC2~q zk(K08IQL8oTl}>>+hE5YRgXTB@fZ4TH9>7=79e`%%tw*SQUa9~$xKD5rS!;ZG@ocK zQdcH}JX?W|0_Afv?y`-NgLum62B&WSD$-w;O6G0Sm;SMX65z)l%m1e-g8Q$QTI;(Q z+x$xth4KFvH@Bs6(zn!iF#nenk^Y^ce;XIItAoCsow38eq?Y-Auh!1in#Rt-_D>H^ z=EjbclGGGa6VnaMGmMLj`x3NcwA43Jb(0gzl;RUIRAUDcR1~99l2SAPkVhoRMMtN} zXvC<tOmX83grD8GSo_Lo?%lNfhD#EBgPo z*nf@ppMC#B!T)Ae0RG$mlJWmGl7CkuU~B8-==5i;rS;8i6rJ=PoQxf446XDX9g|c> zU64ePyMlsI^V5Jq5A+BPe#e73+kpc_r1tv#B)~EZ;7^67F0*QiYfrk0uVW;Qb=NsG zN>gsuCwvb?s-KQIppEaeXtEMdc9dy6Dfduz-tMTms+i01{eD9JE&h?Kht*$eOl#&L zJdM_-vXs(V#$Ed;5wyNWJdPNh+Z$+;$|%qR(t`4W@kDhd*{(7-33BOS6L$UPDeE_53j${QfKN-0v-HG z(QfyvFNbwPK%^!eIo4ac1;b>c0vyf9}Xby@YY!lkz-UvNp zwj#Gg|4B~?n?G^{;(W;|{SNoJbHTMpQJ*Wq5b{l9c8(%?Kd^1?H1om1de0Da9M;Q=n zUfn{f87iVb^>Exl*nZ0hs(Yt>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zp{VU^3?s?90i=!#>H`lxT!q8rk>W_$2~kbpz7eV{3wR|8E=8**5?qn8#n`*(bt1xRQrdGxyx2y%B$qmw#>ZV$c7%cO#%JM1lY$Y0q?Yuo> ze9KdJoiM)RH*SB%^;TAdX-zEjA7@%y=!0=Zg%iWK7jVI9b&Dk}0$Af&08KHo+ zOwDhFvA(E|ER%a^cdh@^wLUlmIv6?_3=BvX8jKk92L=Y}7Jf5OGMfh` zBdR1wFCi-i5@`9km{isRb0O%TX+f~)KNaEz{rXQa89`YIF;EN&gN)cigu6mNh>?Cm zAO&Im2flv6D{jwm+y<%WsPe4!89n~KN|7}Cb{Z;XweER73r}Qp2 zz}WP4j}U0&(uD&9yGy6`!+_v-S(yG*iytsTR#x_Rc>=6u^vnRDnf1gP{#2>`ffrAC% zTZ5WQ@hAK;P;>kX{D)mIXe4%a5p=LO1xXH@8T?mz7Q@d)$3pL{{B!2{-v70L*o1AO+|n5beiw~ zk@(>m?T3{2k2c;NWc^`4@P&Z?BjxXJ@;x1qhn)9Mn*IFdt_J-dIqx5#d`NfyfX~m( zIS~5)MfZ2Uy?_4W`47i}u0ZgPh<{D|w_d#;D}Q&U$Q-G}xM1A@1f{#%A$jh6Qp&0hQ<0bPOM z-{1Wm&p%%#eb_?x7i;bol EfAhh=DF6Tf literal 0 HcmV?d00001 diff --git a/springboot-rabbitmq-confirm/.mvn/wrapper/maven-wrapper.properties b/springboot-rabbitmq-confirm/.mvn/wrapper/maven-wrapper.properties new file mode 100644 index 00000000..642d572c --- /dev/null +++ b/springboot-rabbitmq-confirm/.mvn/wrapper/maven-wrapper.properties @@ -0,0 +1,2 @@ +distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip +wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar diff --git a/springboot-rabbitmq-confirm/HELP.md b/springboot-rabbitmq-confirm/HELP.md new file mode 100644 index 00000000..8b853c16 --- /dev/null +++ b/springboot-rabbitmq-confirm/HELP.md @@ -0,0 +1,20 @@ +# Getting Started + +### Reference Documentation +For further reference, please consider the following sections: + +* [Official Apache Maven documentation](https://maven.apache.org/guides/index.html) +* [Spring Boot Maven Plugin Reference Guide](https://docs.spring.io/spring-boot/docs/2.2.8.RELEASE/maven-plugin/) +* [Thymeleaf](https://docs.spring.io/spring-boot/docs/2.3.1.RELEASE/reference/htmlsingle/#boot-features-spring-mvc-template-engines) +* [Spring Web](https://docs.spring.io/spring-boot/docs/2.3.1.RELEASE/reference/htmlsingle/#boot-features-developing-web-applications) +* [Spring for RabbitMQ](https://docs.spring.io/spring-boot/docs/2.3.1.RELEASE/reference/htmlsingle/#boot-features-amqp) + +### Guides +The following guides illustrate how to use some features concretely: + +* [Handling Form Submission](https://spring.io/guides/gs/handling-form-submission/) +* [Building a RESTful Web Service](https://spring.io/guides/gs/rest-service/) +* [Serving Web Content with Spring MVC](https://spring.io/guides/gs/serving-web-content/) +* [Building REST services with Spring](https://spring.io/guides/tutorials/bookmarks/) +* [Messaging with RabbitMQ](https://spring.io/guides/gs/messaging-rabbitmq/) + diff --git a/springboot-rabbitmq-confirm/mvnw b/springboot-rabbitmq-confirm/mvnw new file mode 100644 index 00000000..a16b5431 --- /dev/null +++ b/springboot-rabbitmq-confirm/mvnw @@ -0,0 +1,310 @@ +#!/bin/sh +# ---------------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ---------------------------------------------------------------------------- + +# ---------------------------------------------------------------------------- +# Maven Start Up Batch script +# +# Required ENV vars: +# ------------------ +# JAVA_HOME - location of a JDK home dir +# +# Optional ENV vars +# ----------------- +# M2_HOME - location of maven2's installed home dir +# MAVEN_OPTS - parameters passed to the Java VM when running Maven +# e.g. to debug Maven itself, use +# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +# MAVEN_SKIP_RC - flag to disable loading of mavenrc files +# ---------------------------------------------------------------------------- + +if [ -z "$MAVEN_SKIP_RC" ] ; then + + if [ -f /etc/mavenrc ] ; then + . /etc/mavenrc + fi + + if [ -f "$HOME/.mavenrc" ] ; then + . "$HOME/.mavenrc" + fi + +fi + +# OS specific support. $var _must_ be set to either true or false. +cygwin=false; +darwin=false; +mingw=false +case "`uname`" in + CYGWIN*) cygwin=true ;; + MINGW*) mingw=true;; + Darwin*) darwin=true + # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home + # See https://developer.apple.com/library/mac/qa/qa1170/_index.html + if [ -z "$JAVA_HOME" ]; then + if [ -x "/usr/libexec/java_home" ]; then + export JAVA_HOME="`/usr/libexec/java_home`" + else + export JAVA_HOME="/Library/Java/Home" + fi + fi + ;; +esac + +if [ -z "$JAVA_HOME" ] ; then + if [ -r /etc/gentoo-release ] ; then + JAVA_HOME=`java-config --jre-home` + fi +fi + +if [ -z "$M2_HOME" ] ; then + ## resolve links - $0 may be a link to maven's home + PRG="$0" + + # need this for relative symlinks + while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG="`dirname "$PRG"`/$link" + fi + done + + saveddir=`pwd` + + M2_HOME=`dirname "$PRG"`/.. + + # make it fully qualified + M2_HOME=`cd "$M2_HOME" && pwd` + + cd "$saveddir" + # echo Using m2 at $M2_HOME +fi + +# For Cygwin, ensure paths are in UNIX format before anything is touched +if $cygwin ; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --unix "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --unix "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --unix "$CLASSPATH"` +fi + +# For Mingw, ensure paths are in UNIX format before anything is touched +if $mingw ; then + [ -n "$M2_HOME" ] && + M2_HOME="`(cd "$M2_HOME"; pwd)`" + [ -n "$JAVA_HOME" ] && + JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`" +fi + +if [ -z "$JAVA_HOME" ]; then + javaExecutable="`which javac`" + if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then + # readlink(1) is not available as standard on Solaris 10. + readLink=`which readlink` + if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then + if $darwin ; then + javaHome="`dirname \"$javaExecutable\"`" + javaExecutable="`cd \"$javaHome\" && pwd -P`/javac" + else + javaExecutable="`readlink -f \"$javaExecutable\"`" + fi + javaHome="`dirname \"$javaExecutable\"`" + javaHome=`expr "$javaHome" : '\(.*\)/bin'` + JAVA_HOME="$javaHome" + export JAVA_HOME + fi + fi +fi + +if [ -z "$JAVACMD" ] ; then + if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + else + JAVACMD="`which java`" + fi +fi + +if [ ! -x "$JAVACMD" ] ; then + echo "Error: JAVA_HOME is not defined correctly." >&2 + echo " We cannot execute $JAVACMD" >&2 + exit 1 +fi + +if [ -z "$JAVA_HOME" ] ; then + echo "Warning: JAVA_HOME environment variable is not set." +fi + +CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher + +# traverses directory structure from process work directory to filesystem root +# first directory with .mvn subdirectory is considered project base directory +find_maven_basedir() { + + if [ -z "$1" ] + then + echo "Path not specified to find_maven_basedir" + return 1 + fi + + basedir="$1" + wdir="$1" + while [ "$wdir" != '/' ] ; do + if [ -d "$wdir"/.mvn ] ; then + basedir=$wdir + break + fi + # workaround for JBEAP-8937 (on Solaris 10/Sparc) + if [ -d "${wdir}" ]; then + wdir=`cd "$wdir/.."; pwd` + fi + # end of workaround + done + echo "${basedir}" +} + +# concatenates all lines of a file +concat_lines() { + if [ -f "$1" ]; then + echo "$(tr -s '\n' ' ' < "$1")" + fi +} + +BASE_DIR=`find_maven_basedir "$(pwd)"` +if [ -z "$BASE_DIR" ]; then + exit 1; +fi + +########################################################################################## +# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central +# This allows using the maven wrapper in projects that prohibit checking in binary data. +########################################################################################## +if [ -r "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" ]; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found .mvn/wrapper/maven-wrapper.jar" + fi +else + if [ "$MVNW_VERBOSE" = true ]; then + echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..." + fi + if [ -n "$MVNW_REPOURL" ]; then + jarUrl="$MVNW_REPOURL/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + else + jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + fi + while IFS="=" read key value; do + case "$key" in (wrapperUrl) jarUrl="$value"; break ;; + esac + done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties" + if [ "$MVNW_VERBOSE" = true ]; then + echo "Downloading from: $jarUrl" + fi + wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" + if $cygwin; then + wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"` + fi + + if command -v wget > /dev/null; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found wget ... using wget" + fi + if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then + wget "$jarUrl" -O "$wrapperJarPath" + else + wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath" + fi + elif command -v curl > /dev/null; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found curl ... using curl" + fi + if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then + curl -o "$wrapperJarPath" "$jarUrl" -f + else + curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o "$wrapperJarPath" "$jarUrl" -f + fi + + else + if [ "$MVNW_VERBOSE" = true ]; then + echo "Falling back to using Java to download" + fi + javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java" + # For Cygwin, switch paths to Windows format before running javac + if $cygwin; then + javaClass=`cygpath --path --windows "$javaClass"` + fi + if [ -e "$javaClass" ]; then + if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then + if [ "$MVNW_VERBOSE" = true ]; then + echo " - Compiling MavenWrapperDownloader.java ..." + fi + # Compiling the Java class + ("$JAVA_HOME/bin/javac" "$javaClass") + fi + if [ -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then + # Running the downloader + if [ "$MVNW_VERBOSE" = true ]; then + echo " - Running MavenWrapperDownloader.java ..." + fi + ("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$MAVEN_PROJECTBASEDIR") + fi + fi + fi +fi +########################################################################################## +# End of extension +########################################################################################## + +export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"} +if [ "$MVNW_VERBOSE" = true ]; then + echo $MAVEN_PROJECTBASEDIR +fi +MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS" + +# For Cygwin, switch paths to Windows format before running java +if $cygwin; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --path --windows "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --windows "$CLASSPATH"` + [ -n "$MAVEN_PROJECTBASEDIR" ] && + MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"` +fi + +# Provide a "standardized" way to retrieve the CLI args that will +# work with both Windows and non-Windows executions. +MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@" +export MAVEN_CMD_LINE_ARGS + +WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +exec "$JAVACMD" \ + $MAVEN_OPTS \ + -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \ + "-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \ + ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@" diff --git a/springboot-rabbitmq-confirm/mvnw.cmd b/springboot-rabbitmq-confirm/mvnw.cmd new file mode 100644 index 00000000..c8d43372 --- /dev/null +++ b/springboot-rabbitmq-confirm/mvnw.cmd @@ -0,0 +1,182 @@ +@REM ---------------------------------------------------------------------------- +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at +@REM +@REM https://www.apache.org/licenses/LICENSE-2.0 +@REM +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. +@REM ---------------------------------------------------------------------------- + +@REM ---------------------------------------------------------------------------- +@REM Maven Start Up Batch script +@REM +@REM Required ENV vars: +@REM JAVA_HOME - location of a JDK home dir +@REM +@REM Optional ENV vars +@REM M2_HOME - location of maven2's installed home dir +@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands +@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending +@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven +@REM e.g. to debug Maven itself, use +@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files +@REM ---------------------------------------------------------------------------- + +@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on' +@echo off +@REM set title of command window +title %0 +@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on' +@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO% + +@REM set %HOME% to equivalent of $HOME +if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%") + +@REM Execute a user defined script before this one +if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre +@REM check for pre script, once with legacy .bat ending and once with .cmd ending +if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat" +if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd" +:skipRcPre + +@setlocal + +set ERROR_CODE=0 + +@REM To isolate internal variables from possible post scripts, we use another setlocal +@setlocal + +@REM ==== START VALIDATION ==== +if not "%JAVA_HOME%" == "" goto OkJHome + +echo. +echo Error: JAVA_HOME not found in your environment. >&2 +echo Please set the JAVA_HOME variable in your environment to match the >&2 +echo location of your Java installation. >&2 +echo. +goto error + +:OkJHome +if exist "%JAVA_HOME%\bin\java.exe" goto init + +echo. +echo Error: JAVA_HOME is set to an invalid directory. >&2 +echo JAVA_HOME = "%JAVA_HOME%" >&2 +echo Please set the JAVA_HOME variable in your environment to match the >&2 +echo location of your Java installation. >&2 +echo. +goto error + +@REM ==== END VALIDATION ==== + +:init + +@REM Find the project base dir, i.e. the directory that contains the folder ".mvn". +@REM Fallback to current working directory if not found. + +set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR% +IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir + +set EXEC_DIR=%CD% +set WDIR=%EXEC_DIR% +:findBaseDir +IF EXIST "%WDIR%"\.mvn goto baseDirFound +cd .. +IF "%WDIR%"=="%CD%" goto baseDirNotFound +set WDIR=%CD% +goto findBaseDir + +:baseDirFound +set MAVEN_PROJECTBASEDIR=%WDIR% +cd "%EXEC_DIR%" +goto endDetectBaseDir + +:baseDirNotFound +set MAVEN_PROJECTBASEDIR=%EXEC_DIR% +cd "%EXEC_DIR%" + +:endDetectBaseDir + +IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig + +@setlocal EnableExtensions EnableDelayedExpansion +for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a +@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS% + +:endReadAdditionalConfig + +SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe" +set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar" +set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + +FOR /F "tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO ( + IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B +) + +@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central +@REM This allows using the maven wrapper in projects that prohibit checking in binary data. +if exist %WRAPPER_JAR% ( + if "%MVNW_VERBOSE%" == "true" ( + echo Found %WRAPPER_JAR% + ) +) else ( + if not "%MVNW_REPOURL%" == "" ( + SET DOWNLOAD_URL="%MVNW_REPOURL%/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + ) + if "%MVNW_VERBOSE%" == "true" ( + echo Couldn't find %WRAPPER_JAR%, downloading it ... + echo Downloading from: %DOWNLOAD_URL% + ) + + powershell -Command "&{"^ + "$webclient = new-object System.Net.WebClient;"^ + "if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^ + "$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^ + "}"^ + "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^ + "}" + if "%MVNW_VERBOSE%" == "true" ( + echo Finished downloading %WRAPPER_JAR% + ) +) +@REM End of extension + +@REM Provide a "standardized" way to retrieve the CLI args that will +@REM work with both Windows and non-Windows executions. +set MAVEN_CMD_LINE_ARGS=%* + +%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %* +if ERRORLEVEL 1 goto error +goto end + +:error +set ERROR_CODE=1 + +:end +@endlocal & set ERROR_CODE=%ERROR_CODE% + +if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost +@REM check for post script, once with legacy .bat ending and once with .cmd ending +if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat" +if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd" +:skipRcPost + +@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on' +if "%MAVEN_BATCH_PAUSE%" == "on" pause + +if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE% + +exit /B %ERROR_CODE% diff --git a/springboot-rabbitmq-confirm/pom.xml b/springboot-rabbitmq-confirm/pom.xml new file mode 100644 index 00000000..ac1a9f86 --- /dev/null +++ b/springboot-rabbitmq-confirm/pom.xml @@ -0,0 +1,74 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.0.5.RELEASE + + + com.xiaofu + springboot-rabbitmq-confirm + 0.0.1-SNAPSHOT + springboot-rabbitmq-confirm + Demo project for Spring Boot + + + 1.8 + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + org.junit.vintage + junit-vintage-engine + + + + + + org.springframework.boot + spring-boot-starter-amqp + + + + com.alibaba + fastjson + 1.2.49 + + + + + org.projectlombok + lombok + 1.16.18 + provided + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/SpringbootRabbitmqConfirmApplication.java b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/SpringbootRabbitmqConfirmApplication.java new file mode 100644 index 00000000..7900dc70 --- /dev/null +++ b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/SpringbootRabbitmqConfirmApplication.java @@ -0,0 +1,13 @@ +package com.xiaofu.confirm; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class SpringbootRabbitmqConfirmApplication { + + public static void main(String[] args) { + SpringApplication.run(SpringbootRabbitmqConfirmApplication.class, args); + } + +} diff --git a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/callback/ConfirmCallbackService.java b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/callback/ConfirmCallbackService.java new file mode 100644 index 00000000..2897489f --- /dev/null +++ b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/callback/ConfirmCallbackService.java @@ -0,0 +1,21 @@ +package com.xiaofu.confirm.callback; + +import lombok.extern.slf4j.Slf4j; +import org.springframework.amqp.rabbit.core.RabbitTemplate; +import org.springframework.amqp.rabbit.support.CorrelationData; +import org.springframework.stereotype.Component; + +@Slf4j +@Component +public class ConfirmCallbackService implements RabbitTemplate.ConfirmCallback { + + @Override + public void confirm(CorrelationData correlationData, boolean ack, String cause) { + + if (!ack) { + log.error("消息发送异常!"); + } else { + log.info("发送者爸爸已经收到确认,correlationData={} ,ack={}, cause={}", correlationData.getId(), ack, cause); + } + } +} diff --git a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/callback/ReturnCallbackService.java b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/callback/ReturnCallbackService.java new file mode 100644 index 00000000..b63f67b7 --- /dev/null +++ b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/callback/ReturnCallbackService.java @@ -0,0 +1,20 @@ +package com.xiaofu.confirm.callback; + +import lombok.extern.slf4j.Slf4j; +import org.springframework.amqp.core.Message; +import org.springframework.amqp.rabbit.core.RabbitTemplate; +import org.springframework.stereotype.Component; + +/** + * @Author: xinzhifu + * @Description: + */ +@Slf4j +@Component +public class ReturnCallbackService implements RabbitTemplate.ReturnCallback { + + @Override + public void returnedMessage(Message message, int replyCode, String replyText, String exchange, String routingKey) { + log.info("returnedMessage ===> replyCode={} ,replyText={} ,exchange={} ,routingKey={}", replyCode, replyText, exchange, routingKey); + } +} diff --git a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/config/QueueConfig.java b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/config/QueueConfig.java new file mode 100644 index 00000000..f5ab8c8f --- /dev/null +++ b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/config/QueueConfig.java @@ -0,0 +1,33 @@ +package com.xiaofu.confirm.config; + +import org.springframework.amqp.core.Binding; +import org.springframework.amqp.core.BindingBuilder; +import org.springframework.amqp.core.FanoutExchange; +import org.springframework.amqp.core.Queue; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + + +@Configuration +public class QueueConfig { + + @Bean(name = "confirmTestQueue") + public Queue confirmTestQueue() { + return new Queue("confirm_test_queue", true, false, false); + } + + @Bean(name = "confirmTestExchange") + public FanoutExchange confirmTestExchange() { + return new FanoutExchange("confirmTestExchange"); + } + + @Bean + public Binding confirmTestFanoutExchangeAndQueue( + @Qualifier("confirmTestExchange") FanoutExchange confirmTestExchange, + @Qualifier("confirmTestQueue") Queue confirmTestQueue) { + return BindingBuilder.bind(confirmTestQueue).to(confirmTestExchange); + } +} + + diff --git a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/controller/TestController.java b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/controller/TestController.java new file mode 100644 index 00000000..81a4faff --- /dev/null +++ b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/controller/TestController.java @@ -0,0 +1,35 @@ +package com.xiaofu.confirm.controller; + +import com.xiaofu.confirm.sender.SendMessage; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; +import org.springframework.web.bind.annotation.ResponseBody; + +/** + * @Author: xinzhifu + * @Description: + */ +@Controller +@RequestMapping +public class TestController { + + @Autowired + private SendMessage sendMessage; + + @RequestMapping(value = "/hello", method = RequestMethod.GET) + @ResponseBody + public String test() { + + //sendMessage.sendMessage("", "confirm_test_queue", "0" ); + + + for (int i = 0; i < 5; i++) { + + sendMessage.sendMessage("", "confirm_test_queue", "发送者消息"); + } + + return "success"; + } +} diff --git a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/receiver/ReceiverMessage.java b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/receiver/ReceiverMessage.java new file mode 100644 index 00000000..1796bb19 --- /dev/null +++ b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/receiver/ReceiverMessage.java @@ -0,0 +1,48 @@ +package com.xiaofu.confirm.receiver; + +import com.rabbitmq.client.Channel; +import lombok.extern.slf4j.Slf4j; +import org.springframework.amqp.core.Message; +import org.springframework.amqp.rabbit.annotation.RabbitHandler; +import org.springframework.amqp.rabbit.annotation.RabbitListener; +import org.springframework.stereotype.Component; + +import java.io.IOException; + +/** + * @author xiaofu + * @description 消息消费 + * @date 2020/6/29 16:31 + */ +@Slf4j +@Component +@RabbitListener(queues = "confirm_test_queue") +public class ReceiverMessage { + + @RabbitHandler + public void processHandler1(String msg, Channel channel, Message message) throws IOException { + + try { + log.info("消费者 1 号收到:{}", msg); + + //TODO 具体业务 + + channel.basicAck(message.getMessageProperties().getDeliveryTag(), false); + + } catch (Exception e) { + + if (message.getMessageProperties().getRedelivered()) { + + log.error("消息已重复处理失败,拒绝再次接收..."); + + channel.basicReject(message.getMessageProperties().getDeliveryTag(), false); // 拒绝消息 + } else { + + log.error("消息即将再次返回队列处理..."); + + channel.basicNack(message.getMessageProperties().getDeliveryTag(), false, true); + } + } + } + +} \ No newline at end of file diff --git a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/receiver/ReceiverMessage1.java b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/receiver/ReceiverMessage1.java new file mode 100644 index 00000000..0090569e --- /dev/null +++ b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/receiver/ReceiverMessage1.java @@ -0,0 +1,63 @@ +package com.xiaofu.confirm.receiver; + +import com.rabbitmq.client.Channel; +import lombok.extern.slf4j.Slf4j; +import org.springframework.amqp.core.Message; +import org.springframework.amqp.rabbit.annotation.RabbitHandler; +import org.springframework.amqp.rabbit.annotation.RabbitListener; +import org.springframework.amqp.rabbit.support.CorrelationData; +import org.springframework.stereotype.Component; + +import java.io.IOException; + +/** + * @Author: xinzhifu + * @Description: + */ +@Slf4j +@Component +@RabbitListener(queues = "confirm_test_queue") +public class ReceiverMessage1 { + + private int retryNum = 5; + + private int currentNum = 0; + + +// @RabbitHandler +// public void processHandler(String msg, Channel channel, Message message) throws IOException { +// +// try { +// log.info("消费者 2 号收到:{}", msg); +// +// int a = 1 / 0; +// +// channel.basicAck(message.getMessageProperties().getDeliveryTag(), false); +// +// } catch (Exception e) { +// +// if (currentNum <= 1000) { +// +// channel.basicNack(message.getMessageProperties().getDeliveryTag(), false, true); +// } +// currentNum++; +// } +// } + + @RabbitHandler + public void processHandler(CorrelationData correlationData , String msg, Channel channel, Message message) throws IOException { + + try { + log.info("消费者 2 号收到:{}", msg); + + String correlationId = (String) message.getMessageProperties().getHeaders().get("spring_returned_message_correlation"); + + System.out.println(correlationId); + + channel.basicAck(message.getMessageProperties().getDeliveryTag(), false); + + } catch (Exception e) { + + } + } +} \ No newline at end of file diff --git a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/sender/SendMessage.java b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/sender/SendMessage.java new file mode 100644 index 00000000..21d0eb8c --- /dev/null +++ b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/sender/SendMessage.java @@ -0,0 +1,67 @@ +package com.xiaofu.confirm.sender; + +import com.xiaofu.confirm.callback.ConfirmCallbackService; +import com.xiaofu.confirm.callback.ReturnCallbackService; +import lombok.extern.slf4j.Slf4j; +import org.springframework.amqp.core.MessageDeliveryMode; +import org.springframework.amqp.rabbit.core.RabbitTemplate; +import org.springframework.amqp.rabbit.support.CorrelationData; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Component; + +import java.util.UUID; + +/** + * @Author: xinzhifu + * @Description: + */ +@Slf4j +@Component +public class SendMessage { + + @Autowired + private RabbitTemplate rabbitTemplate; + + @Autowired + private ConfirmCallbackService confirmCallbackService; + + @Autowired + private ReturnCallbackService returnCallbackService; + + /** + * @param exchange 交换机 + * @param routingKey 队列 + * @param msg 消息体 + * @author xiaofu + * @description 发送消息 + * @date 2020/6/29 16:22 + */ + public void sendMessage(String exchange, String routingKey, Object msg) { + + /** + * 确保消息发送失败后可以重新返回到队列中 + * 注意:yml需要配置 publisher-returns: true + */ + rabbitTemplate.setMandatory(true); + + /** + * 消费者确认收到消息后,手动ack回执回调处理 + */ + rabbitTemplate.setConfirmCallback(confirmCallbackService); + + /** + * 消息投递到队列失败回调处理 + */ + rabbitTemplate.setReturnCallback(returnCallbackService); + + /** + * 发送消息 + */ + rabbitTemplate.convertAndSend(exchange, routingKey, msg, + message -> { + message.getMessageProperties().setDeliveryMode(MessageDeliveryMode.PERSISTENT); + return message; + }, + new CorrelationData(UUID.randomUUID().toString())); + } +} diff --git a/springboot-rabbitmq-confirm/src/main/resources/application.properties b/springboot-rabbitmq-confirm/src/main/resources/application.properties new file mode 100644 index 00000000..adfc09f8 --- /dev/null +++ b/springboot-rabbitmq-confirm/src/main/resources/application.properties @@ -0,0 +1,21 @@ +spring.rabbitmq.host=127.0.0.1 +spring.rabbitmq.port=5672 +spring.rabbitmq.username=guest +spring.rabbitmq.password=guest + +# ߿ confirm ȷϻ +spring.rabbitmq.publisher-confirms=true +# return ȷϻ +spring.rabbitmq.publisher-returns=true + +#################################################### + +# Ѷ˿ack ֶӦ +spring.rabbitmq.listener.simple.acknowledge-mode=manual +# Ƿ֧ +spring.rabbitmq.listener.simple.retry.enabled=true +# ָС +#spring.rabbitmq.listener.simple.concurrency=1 +#ָ +#spring.rabbitmq.listener.simple.max-concurrency=1 + From 68598ec80f1a684e0a6cfb3bbc870e9a892369d0 Mon Sep 17 00:00:00 2001 From: xin <515361725@qq.com> Date: Tue, 14 Jul 2020 18:04:37 +0800 Subject: [PATCH 05/35] springboot-rabbitmq-mqtt- --- .../.idea/checkstyle-idea.xml | 16 + springboot-rabbitmq-mqtt/.idea/compiler.xml | 16 + springboot-rabbitmq-mqtt/.idea/encodings.xml | 6 + .../inspectionProfiles/Project_Default.xml | 36 + springboot-rabbitmq-mqtt/.idea/kotlinc.xml | 7 + ...__ch_qos_logback_logback_classic_1_2_3.xml | 13 + ...ven__ch_qos_logback_logback_core_1_2_3.xml | 13 + .../Maven__com_fasterxml_classmate_1_3_4.xml | 13 + ...jackson_core_jackson_annotations_2_9_0.xml | 13 + ...terxml_jackson_core_jackson_core_2_9_6.xml | 13 + ...ml_jackson_core_jackson_databind_2_9_6.xml | 13 + ...n_datatype_jackson_datatype_jdk8_2_9_6.xml | 13 + ...datatype_jackson_datatype_jsr310_2_9_6.xml | 13 + ...e_jackson_module_parameter_names_2_9_6.xml | 13 + ...n__com_jayway_jsonpath_json_path_2_4_0.xml | 13 + .../Maven__com_rabbitmq_amqp_client_5_4_1.xml | 13 + ...ogle_android_json_0_0_20131108_vaadin1.xml | 13 + ...jectreactor_reactor_core_3_1_9_RELEASE.xml | 13 + ..._annotation_javax_annotation_api_1_3_2.xml | 13 + ..._validation_validation_api_2_0_1_Final.xml | 13 + .../libraries/Maven__junit_junit_4_12.xml | 13 + ...Maven__net_bytebuddy_byte_buddy_1_7_11.xml | 13 + ..._net_bytebuddy_byte_buddy_agent_1_7_11.xml | 13 + ...Maven__net_minidev_accessors_smart_1_2.xml | 13 + .../Maven__net_minidev_json_smart_2_3.xml | 13 + ..._apache_logging_log4j_log4j_api_2_10_0.xml | 13 + ...he_logging_log4j_log4j_to_slf4j_2_10_0.xml | 13 + ..._tomcat_embed_tomcat_embed_core_8_5_34.xml | 13 + ...he_tomcat_embed_tomcat_embed_el_8_5_34.xml | 13 + ...at_embed_tomcat_embed_websocket_8_5_34.xml | 13 + .../Maven__org_assertj_assertj_core_3_9_1.xml | 13 + ...rg_attoparser_attoparser_2_0_4_RELEASE.xml | 13 + ...o_org_eclipse_paho_client_mqttv3_1_2_0.xml | 13 + .../Maven__org_hamcrest_hamcrest_core_1_3.xml | 13 + ...ven__org_hamcrest_hamcrest_library_1_3.xml | 13 + ...dator_hibernate_validator_6_0_12_Final.xml | 13 + ...boss_logging_jboss_logging_3_3_2_Final.xml | 13 + ...Maven__org_mockito_mockito_core_2_15_0.xml | 13 + .../Maven__org_objenesis_objenesis_2_6.xml | 13 + .../Maven__org_ow2_asm_asm_5_0_4.xml | 13 + ...aven__org_projectlombok_lombok_1_16_18.xml | 13 + ...reactivestreams_reactive_streams_1_0_2.xml | 13 + ...aven__org_skyscreamer_jsonassert_1_5_0.xml | 13 + .../Maven__org_slf4j_jul_to_slf4j_1_7_25.xml | 13 + .../Maven__org_slf4j_slf4j_api_1_7_25.xml | 13 + ...amework_amqp_spring_amqp_2_0_6_RELEASE.xml | 13 + ...ework_amqp_spring_rabbit_2_0_6_RELEASE.xml | 13 + ...amework_boot_spring_boot_2_0_5_RELEASE.xml | 13 + ...pring_boot_autoconfigure_2_0_5_RELEASE.xml | 13 + ...boot_spring_boot_starter_2_0_5_RELEASE.xml | 13 + ...spring_boot_starter_amqp_2_0_5_RELEASE.xml | 13 + ...spring_boot_starter_json_2_0_5_RELEASE.xml | 13 + ...ing_boot_starter_logging_2_0_5_RELEASE.xml | 13 + ...spring_boot_starter_test_2_0_5_RELEASE.xml | 13 + ...g_boot_starter_thymeleaf_2_0_5_RELEASE.xml | 13 + ...ring_boot_starter_tomcat_2_0_5_RELEASE.xml | 13 + ..._spring_boot_starter_web_2_0_5_RELEASE.xml | 13 + ...rk_boot_spring_boot_test_2_0_5_RELEASE.xml | 13 + ..._boot_test_autoconfigure_2_0_5_RELEASE.xml | 13 + ..._spring_integration_core_5_0_8_RELEASE.xml | 13 + ..._spring_integration_mqtt_5_0_8_RELEASE.xml | 13 + ...ework_retry_spring_retry_1_2_2_RELEASE.xml | 13 + ...ringframework_spring_aop_5_0_9_RELEASE.xml | 13 + ...ngframework_spring_beans_5_0_9_RELEASE.xml | 13 + ...framework_spring_context_5_0_9_RELEASE.xml | 13 + ...ingframework_spring_core_5_0_9_RELEASE.xml | 13 + ...mework_spring_expression_5_0_9_RELEASE.xml | 13 + ...ringframework_spring_jcl_5_0_9_RELEASE.xml | 13 + ...amework_spring_messaging_5_0_9_RELEASE.xml | 13 + ...ingframework_spring_test_5_0_9_RELEASE.xml | 13 + ...pringframework_spring_tx_5_0_9_RELEASE.xml | 13 + ...ringframework_spring_web_5_0_9_RELEASE.xml | 13 + ...gframework_spring_webmvc_5_0_9_RELEASE.xml | 13 + ...ymeleaf_extras_java8time_3_0_1_RELEASE.xml | 13 + ..._org_thymeleaf_thymeleaf_3_0_9_RELEASE.xml | 13 + ...meleaf_thymeleaf_spring5_3_0_9_RELEASE.xml | 13 + ..._org_unbescape_unbescape_1_1_5_RELEASE.xml | 13 + .../Maven__org_xmlunit_xmlunit_core_2_5_1.xml | 13 + .../Maven__org_yaml_snakeyaml_1_19.xml | 13 + springboot-rabbitmq-mqtt/.idea/misc.xml | 21 + springboot-rabbitmq-mqtt/.idea/modules.xml | 8 + .../1a273f73b7a477b0745593641bd708a6182c7ad5 | 0 .../25d058fd2f336b9b05b0fa19ce2574364d8b11e9 | 2 + .../442292b8a7efeabbe4cc176709b833b1792140ec | 0 .../4575f60e1d03f4627d4f6840b590732ad432d58a | 4 + .../5d7c1005ad9752e7dd586c0581cba2ae87a9da93 | 0 .../7877f99068a16e721bb87b635c309ae44ebb0272 | 0 .../796815f6e937ee5fbd6473bae31535433650f7a9 | 0 .../a6d854e414ee26462f0534f82544fc2f8d7a3ec2 | 0 .../a6d8b8556fee0e03112ce2bf34b8cb27a7dc9e58 | 0 .../d94f5e0242757f21cdd903d48f1167f397cf7e42 | 7 + .../f05902c6e4cae11d94dd05078037f4697db5dbe5 | 0 .../.idea/sonarlint/issuestore/index.pb | 23 + .../.idea/springboot-rabbitmq-mqtt.iml | 9 + springboot-rabbitmq-mqtt/.idea/uiDesigner.xml | 124 ++ springboot-rabbitmq-mqtt/.idea/vcs.xml | 6 + springboot-rabbitmq-mqtt/.idea/workspace.xml | 1434 +++++++++++++++++ .../.mvn/wrapper/MavenWrapperDownloader.java | 117 ++ .../.mvn/wrapper/maven-wrapper.jar | Bin 0 -> 50710 bytes .../.mvn/wrapper/maven-wrapper.properties | 2 + springboot-rabbitmq-mqtt/HELP.md | 19 + springboot-rabbitmq-mqtt/mvnw | 310 ++++ springboot-rabbitmq-mqtt/mvnw.cmd | 182 +++ springboot-rabbitmq-mqtt/pom.xml | 87 + .../SpringbootRabbitmqMqttApplication.java | 12 + .../mqtt/config/IotMqttProducerConfig.java | 45 + .../mqtt/config/IotMqttSubscriberConfig.java | 71 + .../java/com/iot/mqtt/config/MqttConfig.java | 40 + .../iot/mqtt/producer/IotMqttController.java | 33 + .../com/iot/mqtt/producer/IotMqttGateway.java | 27 + .../main/java/com/iot/mqtt/producer/call.java | 27 + .../src/main/resources/application.yml | 7 + .../src/main/resources/templates/hello.html | 10 + 113 files changed, 3670 insertions(+) create mode 100644 springboot-rabbitmq-mqtt/.idea/checkstyle-idea.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/compiler.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/encodings.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/inspectionProfiles/Project_Default.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/kotlinc.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__ch_qos_logback_logback_classic_1_2_3.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__ch_qos_logback_logback_core_1_2_3.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_fasterxml_classmate_1_3_4.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_9_0.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_9_6.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_9_6.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_9_6.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_9_6.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_9_6.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_jayway_jsonpath_json_path_2_4_0.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_rabbitmq_amqp_client_5_4_1.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__io_projectreactor_reactor_core_3_1_9_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__javax_annotation_javax_annotation_api_1_3_2.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__javax_validation_validation_api_2_0_1_Final.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__junit_junit_4_12.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_7_11.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__net_bytebuddy_byte_buddy_agent_1_7_11.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__net_minidev_accessors_smart_1_2.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__net_minidev_json_smart_2_3.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_apache_logging_log4j_log4j_api_2_10_0.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_apache_logging_log4j_log4j_to_slf4j_2_10_0.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_core_8_5_34.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_el_8_5_34.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_websocket_8_5_34.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_assertj_assertj_core_3_9_1.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_attoparser_attoparser_2_0_4_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_eclipse_paho_org_eclipse_paho_client_mqttv3_1_2_0.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_hamcrest_hamcrest_library_1_3.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_hibernate_validator_hibernate_validator_6_0_12_Final.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_jboss_logging_jboss_logging_3_3_2_Final.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_mockito_mockito_core_2_15_0.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_objenesis_objenesis_2_6.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_projectlombok_lombok_1_16_18.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_reactivestreams_reactive_streams_1_0_2.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_skyscreamer_jsonassert_1_5_0.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_25.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_25.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_amqp_spring_amqp_2_0_6_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_amqp_spring_rabbit_2_0_6_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_2_0_5_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_autoconfigure_2_0_5_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_2_0_5_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_amqp_2_0_5_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_json_2_0_5_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_logging_2_0_5_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_test_2_0_5_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_thymeleaf_2_0_5_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_tomcat_2_0_5_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_web_2_0_5_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_2_0_5_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_0_5_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_integration_spring_integration_core_5_0_8_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_integration_spring_integration_mqtt_5_0_8_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_retry_spring_retry_1_2_2_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_aop_5_0_9_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_beans_5_0_9_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_context_5_0_9_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_core_5_0_9_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_expression_5_0_9_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_jcl_5_0_9_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_messaging_5_0_9_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_test_5_0_9_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_tx_5_0_9_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_web_5_0_9_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_webmvc_5_0_9_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_thymeleaf_extras_thymeleaf_extras_java8time_3_0_1_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_thymeleaf_thymeleaf_3_0_9_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_thymeleaf_thymeleaf_spring5_3_0_9_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_unbescape_unbescape_1_1_5_RELEASE.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_xmlunit_xmlunit_core_2_5_1.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_yaml_snakeyaml_1_19.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/misc.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/modules.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/1/a/1a273f73b7a477b0745593641bd708a6182c7ad5 create mode 100644 springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/2/5/25d058fd2f336b9b05b0fa19ce2574364d8b11e9 create mode 100644 springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/4/4/442292b8a7efeabbe4cc176709b833b1792140ec create mode 100644 springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/4/5/4575f60e1d03f4627d4f6840b590732ad432d58a create mode 100644 springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/5/d/5d7c1005ad9752e7dd586c0581cba2ae87a9da93 create mode 100644 springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/7/8/7877f99068a16e721bb87b635c309ae44ebb0272 create mode 100644 springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/7/9/796815f6e937ee5fbd6473bae31535433650f7a9 create mode 100644 springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/a/6/a6d854e414ee26462f0534f82544fc2f8d7a3ec2 create mode 100644 springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/a/6/a6d8b8556fee0e03112ce2bf34b8cb27a7dc9e58 create mode 100644 springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/d/9/d94f5e0242757f21cdd903d48f1167f397cf7e42 create mode 100644 springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/f/0/f05902c6e4cae11d94dd05078037f4697db5dbe5 create mode 100644 springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/index.pb create mode 100644 springboot-rabbitmq-mqtt/.idea/springboot-rabbitmq-mqtt.iml create mode 100644 springboot-rabbitmq-mqtt/.idea/uiDesigner.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/vcs.xml create mode 100644 springboot-rabbitmq-mqtt/.idea/workspace.xml create mode 100644 springboot-rabbitmq-mqtt/.mvn/wrapper/MavenWrapperDownloader.java create mode 100644 springboot-rabbitmq-mqtt/.mvn/wrapper/maven-wrapper.jar create mode 100644 springboot-rabbitmq-mqtt/.mvn/wrapper/maven-wrapper.properties create mode 100644 springboot-rabbitmq-mqtt/HELP.md create mode 100644 springboot-rabbitmq-mqtt/mvnw create mode 100644 springboot-rabbitmq-mqtt/mvnw.cmd create mode 100644 springboot-rabbitmq-mqtt/pom.xml create mode 100644 springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/SpringbootRabbitmqMqttApplication.java create mode 100644 springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/config/IotMqttProducerConfig.java create mode 100644 springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/config/IotMqttSubscriberConfig.java create mode 100644 springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/config/MqttConfig.java create mode 100644 springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/producer/IotMqttController.java create mode 100644 springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/producer/IotMqttGateway.java create mode 100644 springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/producer/call.java create mode 100644 springboot-rabbitmq-mqtt/src/main/resources/application.yml create mode 100644 springboot-rabbitmq-mqtt/src/main/resources/templates/hello.html diff --git a/springboot-rabbitmq-mqtt/.idea/checkstyle-idea.xml b/springboot-rabbitmq-mqtt/.idea/checkstyle-idea.xml new file mode 100644 index 00000000..034029da --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/checkstyle-idea.xml @@ -0,0 +1,16 @@ + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/compiler.xml b/springboot-rabbitmq-mqtt/.idea/compiler.xml new file mode 100644 index 00000000..8123f385 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/compiler.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/encodings.xml b/springboot-rabbitmq-mqtt/.idea/encodings.xml new file mode 100644 index 00000000..b26911bd --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/encodings.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/inspectionProfiles/Project_Default.xml b/springboot-rabbitmq-mqtt/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 00000000..6560a989 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,36 @@ + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/kotlinc.xml b/springboot-rabbitmq-mqtt/.idea/kotlinc.xml new file mode 100644 index 00000000..1c24f9a8 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/kotlinc.xml @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__ch_qos_logback_logback_classic_1_2_3.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__ch_qos_logback_logback_classic_1_2_3.xml new file mode 100644 index 00000000..6fec8f43 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__ch_qos_logback_logback_classic_1_2_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__ch_qos_logback_logback_core_1_2_3.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__ch_qos_logback_logback_core_1_2_3.xml new file mode 100644 index 00000000..9eb8596a --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__ch_qos_logback_logback_core_1_2_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_fasterxml_classmate_1_3_4.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_fasterxml_classmate_1_3_4.xml new file mode 100644 index 00000000..33c30b4c --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_fasterxml_classmate_1_3_4.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_9_0.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_9_0.xml new file mode 100644 index 00000000..06441f49 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_9_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_9_6.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_9_6.xml new file mode 100644 index 00000000..eebe10dd --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_9_6.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_9_6.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_9_6.xml new file mode 100644 index 00000000..51087da7 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_9_6.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_9_6.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_9_6.xml new file mode 100644 index 00000000..fa50d959 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_9_6.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_9_6.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_9_6.xml new file mode 100644 index 00000000..7e20e35f --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_9_6.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_9_6.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_9_6.xml new file mode 100644 index 00000000..345adf83 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_9_6.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_jayway_jsonpath_json_path_2_4_0.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_jayway_jsonpath_json_path_2_4_0.xml new file mode 100644 index 00000000..f19f6eb3 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_jayway_jsonpath_json_path_2_4_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_rabbitmq_amqp_client_5_4_1.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_rabbitmq_amqp_client_5_4_1.xml new file mode 100644 index 00000000..c14a72ec --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_rabbitmq_amqp_client_5_4_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml new file mode 100644 index 00000000..b8581a6f --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__io_projectreactor_reactor_core_3_1_9_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__io_projectreactor_reactor_core_3_1_9_RELEASE.xml new file mode 100644 index 00000000..2087ee6a --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__io_projectreactor_reactor_core_3_1_9_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__javax_annotation_javax_annotation_api_1_3_2.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__javax_annotation_javax_annotation_api_1_3_2.xml new file mode 100644 index 00000000..e74f3ab2 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__javax_annotation_javax_annotation_api_1_3_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__javax_validation_validation_api_2_0_1_Final.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__javax_validation_validation_api_2_0_1_Final.xml new file mode 100644 index 00000000..6978c0b2 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__javax_validation_validation_api_2_0_1_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__junit_junit_4_12.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__junit_junit_4_12.xml new file mode 100644 index 00000000..d4110417 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__junit_junit_4_12.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_7_11.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_7_11.xml new file mode 100644 index 00000000..ee623f18 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_7_11.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__net_bytebuddy_byte_buddy_agent_1_7_11.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__net_bytebuddy_byte_buddy_agent_1_7_11.xml new file mode 100644 index 00000000..a72c9a38 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__net_bytebuddy_byte_buddy_agent_1_7_11.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__net_minidev_accessors_smart_1_2.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__net_minidev_accessors_smart_1_2.xml new file mode 100644 index 00000000..b3d38583 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__net_minidev_accessors_smart_1_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__net_minidev_json_smart_2_3.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__net_minidev_json_smart_2_3.xml new file mode 100644 index 00000000..10830235 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__net_minidev_json_smart_2_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_apache_logging_log4j_log4j_api_2_10_0.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_apache_logging_log4j_log4j_api_2_10_0.xml new file mode 100644 index 00000000..cbe5ca7e --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_apache_logging_log4j_log4j_api_2_10_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_apache_logging_log4j_log4j_to_slf4j_2_10_0.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_apache_logging_log4j_log4j_to_slf4j_2_10_0.xml new file mode 100644 index 00000000..1407c582 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_apache_logging_log4j_log4j_to_slf4j_2_10_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_core_8_5_34.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_core_8_5_34.xml new file mode 100644 index 00000000..cc36a163 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_core_8_5_34.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_el_8_5_34.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_el_8_5_34.xml new file mode 100644 index 00000000..45668bd9 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_el_8_5_34.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_websocket_8_5_34.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_websocket_8_5_34.xml new file mode 100644 index 00000000..18838400 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_websocket_8_5_34.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_assertj_assertj_core_3_9_1.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_assertj_assertj_core_3_9_1.xml new file mode 100644 index 00000000..40adaaa0 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_assertj_assertj_core_3_9_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_attoparser_attoparser_2_0_4_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_attoparser_attoparser_2_0_4_RELEASE.xml new file mode 100644 index 00000000..fab35d26 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_attoparser_attoparser_2_0_4_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_eclipse_paho_org_eclipse_paho_client_mqttv3_1_2_0.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_eclipse_paho_org_eclipse_paho_client_mqttv3_1_2_0.xml new file mode 100644 index 00000000..4c81ce41 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_eclipse_paho_org_eclipse_paho_client_mqttv3_1_2_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml new file mode 100644 index 00000000..f58bbc11 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_hamcrest_hamcrest_library_1_3.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_hamcrest_hamcrest_library_1_3.xml new file mode 100644 index 00000000..78dbe458 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_hamcrest_hamcrest_library_1_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_hibernate_validator_hibernate_validator_6_0_12_Final.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_hibernate_validator_hibernate_validator_6_0_12_Final.xml new file mode 100644 index 00000000..c0194310 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_hibernate_validator_hibernate_validator_6_0_12_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_jboss_logging_jboss_logging_3_3_2_Final.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_jboss_logging_jboss_logging_3_3_2_Final.xml new file mode 100644 index 00000000..5f7dd01e --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_jboss_logging_jboss_logging_3_3_2_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_mockito_mockito_core_2_15_0.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_mockito_mockito_core_2_15_0.xml new file mode 100644 index 00000000..a742a6dd --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_mockito_mockito_core_2_15_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_objenesis_objenesis_2_6.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_objenesis_objenesis_2_6.xml new file mode 100644 index 00000000..af41e3b6 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_objenesis_objenesis_2_6.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml new file mode 100644 index 00000000..0bf8cf2b --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_projectlombok_lombok_1_16_18.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_projectlombok_lombok_1_16_18.xml new file mode 100644 index 00000000..8503cb41 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_projectlombok_lombok_1_16_18.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_reactivestreams_reactive_streams_1_0_2.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_reactivestreams_reactive_streams_1_0_2.xml new file mode 100644 index 00000000..457c7b78 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_reactivestreams_reactive_streams_1_0_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_skyscreamer_jsonassert_1_5_0.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_skyscreamer_jsonassert_1_5_0.xml new file mode 100644 index 00000000..c4c54d6d --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_skyscreamer_jsonassert_1_5_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_25.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_25.xml new file mode 100644 index 00000000..6073e533 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_25.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_25.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_25.xml new file mode 100644 index 00000000..20e81636 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_25.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_amqp_spring_amqp_2_0_6_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_amqp_spring_amqp_2_0_6_RELEASE.xml new file mode 100644 index 00000000..e60dbc53 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_amqp_spring_amqp_2_0_6_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_amqp_spring_rabbit_2_0_6_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_amqp_spring_rabbit_2_0_6_RELEASE.xml new file mode 100644 index 00000000..b6dc088e --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_amqp_spring_rabbit_2_0_6_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_2_0_5_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_2_0_5_RELEASE.xml new file mode 100644 index 00000000..694ace04 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_2_0_5_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_autoconfigure_2_0_5_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_autoconfigure_2_0_5_RELEASE.xml new file mode 100644 index 00000000..487c520a --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_autoconfigure_2_0_5_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_2_0_5_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_2_0_5_RELEASE.xml new file mode 100644 index 00000000..dc463240 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_2_0_5_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_amqp_2_0_5_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_amqp_2_0_5_RELEASE.xml new file mode 100644 index 00000000..56b52f8e --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_amqp_2_0_5_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_json_2_0_5_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_json_2_0_5_RELEASE.xml new file mode 100644 index 00000000..7e50280a --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_json_2_0_5_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_logging_2_0_5_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_logging_2_0_5_RELEASE.xml new file mode 100644 index 00000000..af6c53d3 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_logging_2_0_5_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_test_2_0_5_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_test_2_0_5_RELEASE.xml new file mode 100644 index 00000000..0262995c --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_test_2_0_5_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_thymeleaf_2_0_5_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_thymeleaf_2_0_5_RELEASE.xml new file mode 100644 index 00000000..c6f0e2e2 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_thymeleaf_2_0_5_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_tomcat_2_0_5_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_tomcat_2_0_5_RELEASE.xml new file mode 100644 index 00000000..b75b9fc9 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_tomcat_2_0_5_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_web_2_0_5_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_web_2_0_5_RELEASE.xml new file mode 100644 index 00000000..454ee43e --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_web_2_0_5_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_2_0_5_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_2_0_5_RELEASE.xml new file mode 100644 index 00000000..f2c363d0 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_2_0_5_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_0_5_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_0_5_RELEASE.xml new file mode 100644 index 00000000..4c7f1e34 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_0_5_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_integration_spring_integration_core_5_0_8_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_integration_spring_integration_core_5_0_8_RELEASE.xml new file mode 100644 index 00000000..b886b2cd --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_integration_spring_integration_core_5_0_8_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_integration_spring_integration_mqtt_5_0_8_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_integration_spring_integration_mqtt_5_0_8_RELEASE.xml new file mode 100644 index 00000000..621253c7 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_integration_spring_integration_mqtt_5_0_8_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_retry_spring_retry_1_2_2_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_retry_spring_retry_1_2_2_RELEASE.xml new file mode 100644 index 00000000..1b2836ba --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_retry_spring_retry_1_2_2_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_aop_5_0_9_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_aop_5_0_9_RELEASE.xml new file mode 100644 index 00000000..d72ff5a2 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_aop_5_0_9_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_beans_5_0_9_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_beans_5_0_9_RELEASE.xml new file mode 100644 index 00000000..f606e1f0 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_beans_5_0_9_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_context_5_0_9_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_context_5_0_9_RELEASE.xml new file mode 100644 index 00000000..1444af1b --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_context_5_0_9_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_core_5_0_9_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_core_5_0_9_RELEASE.xml new file mode 100644 index 00000000..15a89a5a --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_core_5_0_9_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_expression_5_0_9_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_expression_5_0_9_RELEASE.xml new file mode 100644 index 00000000..b5c312e9 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_expression_5_0_9_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_jcl_5_0_9_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_jcl_5_0_9_RELEASE.xml new file mode 100644 index 00000000..847069e2 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_jcl_5_0_9_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_messaging_5_0_9_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_messaging_5_0_9_RELEASE.xml new file mode 100644 index 00000000..4750da46 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_messaging_5_0_9_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_test_5_0_9_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_test_5_0_9_RELEASE.xml new file mode 100644 index 00000000..22def702 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_test_5_0_9_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_tx_5_0_9_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_tx_5_0_9_RELEASE.xml new file mode 100644 index 00000000..79735e2d --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_tx_5_0_9_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_web_5_0_9_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_web_5_0_9_RELEASE.xml new file mode 100644 index 00000000..6700b123 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_web_5_0_9_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_webmvc_5_0_9_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_webmvc_5_0_9_RELEASE.xml new file mode 100644 index 00000000..392a5f37 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_springframework_spring_webmvc_5_0_9_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_thymeleaf_extras_thymeleaf_extras_java8time_3_0_1_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_thymeleaf_extras_thymeleaf_extras_java8time_3_0_1_RELEASE.xml new file mode 100644 index 00000000..73e2e089 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_thymeleaf_extras_thymeleaf_extras_java8time_3_0_1_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_thymeleaf_thymeleaf_3_0_9_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_thymeleaf_thymeleaf_3_0_9_RELEASE.xml new file mode 100644 index 00000000..7d6a8ddf --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_thymeleaf_thymeleaf_3_0_9_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_thymeleaf_thymeleaf_spring5_3_0_9_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_thymeleaf_thymeleaf_spring5_3_0_9_RELEASE.xml new file mode 100644 index 00000000..536ab741 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_thymeleaf_thymeleaf_spring5_3_0_9_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_unbescape_unbescape_1_1_5_RELEASE.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_unbescape_unbescape_1_1_5_RELEASE.xml new file mode 100644 index 00000000..1649e753 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_unbescape_unbescape_1_1_5_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_xmlunit_xmlunit_core_2_5_1.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_xmlunit_xmlunit_core_2_5_1.xml new file mode 100644 index 00000000..474c910c --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_xmlunit_xmlunit_core_2_5_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_yaml_snakeyaml_1_19.xml b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_yaml_snakeyaml_1_19.xml new file mode 100644 index 00000000..33ccf19e --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/libraries/Maven__org_yaml_snakeyaml_1_19.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/misc.xml b/springboot-rabbitmq-mqtt/.idea/misc.xml new file mode 100644 index 00000000..0d36b021 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/misc.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + C:\Users\51536\AppData\Roaming\Subversion + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/modules.xml b/springboot-rabbitmq-mqtt/.idea/modules.xml new file mode 100644 index 00000000..5572d5af --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/1/a/1a273f73b7a477b0745593641bd708a6182c7ad5 b/springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/1/a/1a273f73b7a477b0745593641bd708a6182c7ad5 new file mode 100644 index 00000000..e69de29b diff --git a/springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/2/5/25d058fd2f336b9b05b0fa19ce2574364d8b11e9 b/springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/2/5/25d058fd2f336b9b05b0fa19ce2574364d8b11e9 new file mode 100644 index 00000000..32fc04a5 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/2/5/25d058fd2f336b9b05b0fa19ce2574364d8b11e9 @@ -0,0 +1,2 @@ + +\ squid:S3752">Add a "method" parameter to this "@RequestMapping" annotation.(8. \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/4/4/442292b8a7efeabbe4cc176709b833b1792140ec b/springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/4/4/442292b8a7efeabbe4cc176709b833b1792140ec new file mode 100644 index 00000000..e69de29b diff --git a/springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/4/5/4575f60e1d03f4627d4f6840b590732ad432d58a b/springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/4/5/4575f60e1d03f4627d4f6840b590732ad432d58a new file mode 100644 index 00000000..2e334e2f --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/4/5/4575f60e1d03f4627d4f6840b590732ad432d58a @@ -0,0 +1,4 @@ + +isquid:CommentedOutCodeLine@""9Replace this use of System.out or System.err by a logger.(Җ8ũ. \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/5/d/5d7c1005ad9752e7dd586c0581cba2ae87a9da93 b/springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/5/d/5d7c1005ad9752e7dd586c0581cba2ae87a9da93 new file mode 100644 index 00000000..e69de29b diff --git a/springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/7/8/7877f99068a16e721bb87b635c309ae44ebb0272 b/springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/7/8/7877f99068a16e721bb87b635c309ae44ebb0272 new file mode 100644 index 00000000..e69de29b diff --git a/springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/7/9/796815f6e937ee5fbd6473bae31535433650f7a9 b/springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/7/9/796815f6e937ee5fbd6473bae31535433650f7a9 new file mode 100644 index 00000000..e69de29b diff --git a/springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/a/6/a6d854e414ee26462f0534f82544fc2f8d7a3ec2 b/springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/a/6/a6d854e414ee26462f0534f82544fc2f8d7a3ec2 new file mode 100644 index 00000000..e69de29b diff --git a/springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/a/6/a6d8b8556fee0e03112ce2bf34b8cb27a7dc9e58 b/springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/a/6/a6d8b8556fee0e03112ce2bf34b8cb27a7dc9e58 new file mode 100644 index 00000000..e69de29b diff --git a/springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/d/9/d94f5e0242757f21cdd903d48f1167f397cf7e42 b/springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/d/9/d94f5e0242757f21cdd903d48f1167f397cf7e42 new file mode 100644 index 00000000..c3e7e1aa --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/d/9/d94f5e0242757f21cdd903d48f1167f397cf7e42 @@ -0,0 +1,7 @@ + +V +squid:S106"9Replace this use of System.out or System.err by a logger.(8. +e squid:S00101 "MRename this class name to match the regular expression '^[A-Z][a-zA-Z0-9]*$'.( + squid:S1186"Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.(8. +[ +squid:S106"9Replace this use of System.out or System.err by a logger.(Э8. \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/f/0/f05902c6e4cae11d94dd05078037f4697db5dbe5 b/springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/f/0/f05902c6e4cae11d94dd05078037f4697db5dbe5 new file mode 100644 index 00000000..e69de29b diff --git a/springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/index.pb b/springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/index.pb new file mode 100644 index 00000000..7b6b52af --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/sonarlint/issuestore/index.pb @@ -0,0 +1,23 @@ + +7 +pom.xml,4\4\442292b8a7efeabbe4cc176709b833b1792140ec +] +-src/main/java/com/iot/mqtt/producer/call.java,d\9\d94f5e0242757f21cdd903d48f1167f397cf7e42 +q +Asrc/main/java/com/iot/mqtt/SpringbootRabbitmqMqttApplication.java,f\0\f05902c6e4cae11d94dd05078037f4697db5dbe5 +a +1src/main/java/com/iot/mqtt/config/MqttConfig.java,7\8\7877f99068a16e721bb87b635c309ae44ebb0272 +j +:src/main/java/com/iot/mqtt/producer/IotMqttController.java,2\5\25d058fd2f336b9b05b0fa19ce2574364d8b11e9 +n +>src/main/java/com/iot/mqtt/config/IotMqttSubscriberConfig.java,4\5\4575f60e1d03f4627d4f6840b590732ad432d58a +l + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/uiDesigner.xml b/springboot-rabbitmq-mqtt/.idea/uiDesigner.xml new file mode 100644 index 00000000..e96534fb --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/uiDesigner.xml @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/vcs.xml b/springboot-rabbitmq-mqtt/.idea/vcs.xml new file mode 100644 index 00000000..35eb1ddf --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.idea/workspace.xml b/springboot-rabbitmq-mqtt/.idea/workspace.xml new file mode 100644 index 00000000..a0db3c5a --- /dev/null +++ b/springboot-rabbitmq-mqtt/.idea/workspace.xml @@ -0,0 +1,1434 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + mqtt.producer.servers + mqttTestInputChannel + mqttOutboundChannel + @ComponentScan + inbound + clientId + + + + + + + + + + + + + + true + DEFINITION_ORDER + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + project + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1591352849873 + + + 1592703515948 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Spring + + + + + + + + + + + + + + + 1.8 + + + + + + + + springboot-rabbitmq-mqtt + + + + + + + + 1.8 + + + + + + + + Maven: ch.qos.logback:logback-classic:1.2.3 + + + + + + + + \ No newline at end of file diff --git a/springboot-rabbitmq-mqtt/.mvn/wrapper/MavenWrapperDownloader.java b/springboot-rabbitmq-mqtt/.mvn/wrapper/MavenWrapperDownloader.java new file mode 100644 index 00000000..e76d1f32 --- /dev/null +++ b/springboot-rabbitmq-mqtt/.mvn/wrapper/MavenWrapperDownloader.java @@ -0,0 +1,117 @@ +/* + * Copyright 2007-present the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import java.net.*; +import java.io.*; +import java.nio.channels.*; +import java.util.Properties; + +public class MavenWrapperDownloader { + + private static final String WRAPPER_VERSION = "0.5.6"; + /** + * Default URL to download the maven-wrapper.jar from, if no 'downloadUrl' is provided. + */ + private static final String DEFAULT_DOWNLOAD_URL = "https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/" + + WRAPPER_VERSION + "/maven-wrapper-" + WRAPPER_VERSION + ".jar"; + + /** + * Path to the maven-wrapper.properties file, which might contain a downloadUrl property to + * use instead of the default one. + */ + private static final String MAVEN_WRAPPER_PROPERTIES_PATH = + ".mvn/wrapper/maven-wrapper.properties"; + + /** + * Path where the maven-wrapper.jar will be saved to. + */ + private static final String MAVEN_WRAPPER_JAR_PATH = + ".mvn/wrapper/maven-wrapper.jar"; + + /** + * Name of the property which should be used to override the default download url for the wrapper. + */ + private static final String PROPERTY_NAME_WRAPPER_URL = "wrapperUrl"; + + public static void main(String args[]) { + System.out.println("- Downloader started"); + File baseDirectory = new File(args[0]); + System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath()); + + // If the maven-wrapper.properties exists, read it and check if it contains a custom + // wrapperUrl parameter. + File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH); + String url = DEFAULT_DOWNLOAD_URL; + if(mavenWrapperPropertyFile.exists()) { + FileInputStream mavenWrapperPropertyFileInputStream = null; + try { + mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile); + Properties mavenWrapperProperties = new Properties(); + mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream); + url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url); + } catch (IOException e) { + System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'"); + } finally { + try { + if(mavenWrapperPropertyFileInputStream != null) { + mavenWrapperPropertyFileInputStream.close(); + } + } catch (IOException e) { + // Ignore ... + } + } + } + System.out.println("- Downloading from: " + url); + + File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH); + if(!outputFile.getParentFile().exists()) { + if(!outputFile.getParentFile().mkdirs()) { + System.out.println( + "- ERROR creating output directory '" + outputFile.getParentFile().getAbsolutePath() + "'"); + } + } + System.out.println("- Downloading to: " + outputFile.getAbsolutePath()); + try { + downloadFileFromURL(url, outputFile); + System.out.println("Done"); + System.exit(0); + } catch (Throwable e) { + System.out.println("- Error downloading"); + e.printStackTrace(); + System.exit(1); + } + } + + private static void downloadFileFromURL(String urlString, File destination) throws Exception { + if (System.getenv("MVNW_USERNAME") != null && System.getenv("MVNW_PASSWORD") != null) { + String username = System.getenv("MVNW_USERNAME"); + char[] password = System.getenv("MVNW_PASSWORD").toCharArray(); + Authenticator.setDefault(new Authenticator() { + @Override + protected PasswordAuthentication getPasswordAuthentication() { + return new PasswordAuthentication(username, password); + } + }); + } + URL website = new URL(urlString); + ReadableByteChannel rbc; + rbc = Channels.newChannel(website.openStream()); + FileOutputStream fos = new FileOutputStream(destination); + fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE); + fos.close(); + rbc.close(); + } + +} diff --git a/springboot-rabbitmq-mqtt/.mvn/wrapper/maven-wrapper.jar b/springboot-rabbitmq-mqtt/.mvn/wrapper/maven-wrapper.jar new file mode 100644 index 0000000000000000000000000000000000000000..2cc7d4a55c0cd0092912bf49ae38b3a9e3fd0054 GIT binary patch literal 50710 zcmbTd1CVCTmM+|7+wQV$+qP}n>auOywyU~q+qUhh+uxis_~*a##hm*_WW?9E7Pb7N%LRFiwbEGCJ0XP=%-6oeT$XZcYgtzC2~q zk(K08IQL8oTl}>>+hE5YRgXTB@fZ4TH9>7=79e`%%tw*SQUa9~$xKD5rS!;ZG@ocK zQdcH}J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=6u^vnRDnf1gP{#2>`ffrAC% zTZ5WQ@hAK;P;>kX{D)mIXe4%a5p=LO1xXH@8T?mz7Q@d)$3pL{{B!2{-v70L*o1AO+|n5beiw~ zk@(>m?T3{2k2c;NWc^`4@P&Z?BjxXJ@;x1qhn)9Mn*IFdt_J-dIqx5#d`NfyfX~m( zIS~5)MfZ2Uy?_4W`47i}u0ZgPh<{D|w_d#;D}Q&U$Q-G}xM1A@1f{#%A$jh6Qp&0hQ<0bPOM z-{1Wm&p%%#eb_?x7i;bol EfAhh=DF6Tf literal 0 HcmV?d00001 diff --git a/springboot-rabbitmq-mqtt/.mvn/wrapper/maven-wrapper.properties b/springboot-rabbitmq-mqtt/.mvn/wrapper/maven-wrapper.properties new file mode 100644 index 00000000..642d572c --- /dev/null +++ b/springboot-rabbitmq-mqtt/.mvn/wrapper/maven-wrapper.properties @@ -0,0 +1,2 @@ +distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip +wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar diff --git a/springboot-rabbitmq-mqtt/HELP.md b/springboot-rabbitmq-mqtt/HELP.md new file mode 100644 index 00000000..0dff3d5d --- /dev/null +++ b/springboot-rabbitmq-mqtt/HELP.md @@ -0,0 +1,19 @@ +# Read Me First +The following was discovered as part of building this project: + +* The original package name 'com.xiaofu.springboot-rabbitmq-mqtt' is invalid and this project uses 'com.xiaofu.mqtt' instead. + +# Getting Started + +### Reference Documentation +For further reference, please consider the following sections: + +* [Official Apache Maven documentation](https://maven.apache.org/guides/index.html) +* [Spring Boot Maven Plugin Reference Guide](https://docs.spring.io/spring-boot/docs/2.2.7.RELEASE/maven-plugin/) +* [Spring for RabbitMQ](https://docs.spring.io/spring-boot/docs/2.3.0.RELEASE/reference/htmlsingle/#boot-features-amqp) + +### Guides +The following guides illustrate how to use some features concretely: + +* [Messaging with RabbitMQ](https://spring.io/guides/gs/messaging-rabbitmq/) + diff --git a/springboot-rabbitmq-mqtt/mvnw b/springboot-rabbitmq-mqtt/mvnw new file mode 100644 index 00000000..a16b5431 --- /dev/null +++ b/springboot-rabbitmq-mqtt/mvnw @@ -0,0 +1,310 @@ +#!/bin/sh +# ---------------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ---------------------------------------------------------------------------- + +# ---------------------------------------------------------------------------- +# Maven Start Up Batch script +# +# Required ENV vars: +# ------------------ +# JAVA_HOME - location of a JDK home dir +# +# Optional ENV vars +# ----------------- +# M2_HOME - location of maven2's installed home dir +# MAVEN_OPTS - parameters passed to the Java VM when running Maven +# e.g. to debug Maven itself, use +# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +# MAVEN_SKIP_RC - flag to disable loading of mavenrc files +# ---------------------------------------------------------------------------- + +if [ -z "$MAVEN_SKIP_RC" ] ; then + + if [ -f /etc/mavenrc ] ; then + . /etc/mavenrc + fi + + if [ -f "$HOME/.mavenrc" ] ; then + . "$HOME/.mavenrc" + fi + +fi + +# OS specific support. $var _must_ be set to either true or false. +cygwin=false; +darwin=false; +mingw=false +case "`uname`" in + CYGWIN*) cygwin=true ;; + MINGW*) mingw=true;; + Darwin*) darwin=true + # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home + # See https://developer.apple.com/library/mac/qa/qa1170/_index.html + if [ -z "$JAVA_HOME" ]; then + if [ -x "/usr/libexec/java_home" ]; then + export JAVA_HOME="`/usr/libexec/java_home`" + else + export JAVA_HOME="/Library/Java/Home" + fi + fi + ;; +esac + +if [ -z "$JAVA_HOME" ] ; then + if [ -r /etc/gentoo-release ] ; then + JAVA_HOME=`java-config --jre-home` + fi +fi + +if [ -z "$M2_HOME" ] ; then + ## resolve links - $0 may be a link to maven's home + PRG="$0" + + # need this for relative symlinks + while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG="`dirname "$PRG"`/$link" + fi + done + + saveddir=`pwd` + + M2_HOME=`dirname "$PRG"`/.. + + # make it fully qualified + M2_HOME=`cd "$M2_HOME" && pwd` + + cd "$saveddir" + # echo Using m2 at $M2_HOME +fi + +# For Cygwin, ensure paths are in UNIX format before anything is touched +if $cygwin ; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --unix "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --unix "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --unix "$CLASSPATH"` +fi + +# For Mingw, ensure paths are in UNIX format before anything is touched +if $mingw ; then + [ -n "$M2_HOME" ] && + M2_HOME="`(cd "$M2_HOME"; pwd)`" + [ -n "$JAVA_HOME" ] && + JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`" +fi + +if [ -z "$JAVA_HOME" ]; then + javaExecutable="`which javac`" + if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then + # readlink(1) is not available as standard on Solaris 10. + readLink=`which readlink` + if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then + if $darwin ; then + javaHome="`dirname \"$javaExecutable\"`" + javaExecutable="`cd \"$javaHome\" && pwd -P`/javac" + else + javaExecutable="`readlink -f \"$javaExecutable\"`" + fi + javaHome="`dirname \"$javaExecutable\"`" + javaHome=`expr "$javaHome" : '\(.*\)/bin'` + JAVA_HOME="$javaHome" + export JAVA_HOME + fi + fi +fi + +if [ -z "$JAVACMD" ] ; then + if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + else + JAVACMD="`which java`" + fi +fi + +if [ ! -x "$JAVACMD" ] ; then + echo "Error: JAVA_HOME is not defined correctly." >&2 + echo " We cannot execute $JAVACMD" >&2 + exit 1 +fi + +if [ -z "$JAVA_HOME" ] ; then + echo "Warning: JAVA_HOME environment variable is not set." +fi + +CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher + +# traverses directory structure from process work directory to filesystem root +# first directory with .mvn subdirectory is considered project base directory +find_maven_basedir() { + + if [ -z "$1" ] + then + echo "Path not specified to find_maven_basedir" + return 1 + fi + + basedir="$1" + wdir="$1" + while [ "$wdir" != '/' ] ; do + if [ -d "$wdir"/.mvn ] ; then + basedir=$wdir + break + fi + # workaround for JBEAP-8937 (on Solaris 10/Sparc) + if [ -d "${wdir}" ]; then + wdir=`cd "$wdir/.."; pwd` + fi + # end of workaround + done + echo "${basedir}" +} + +# concatenates all lines of a file +concat_lines() { + if [ -f "$1" ]; then + echo "$(tr -s '\n' ' ' < "$1")" + fi +} + +BASE_DIR=`find_maven_basedir "$(pwd)"` +if [ -z "$BASE_DIR" ]; then + exit 1; +fi + +########################################################################################## +# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central +# This allows using the maven wrapper in projects that prohibit checking in binary data. +########################################################################################## +if [ -r "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" ]; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found .mvn/wrapper/maven-wrapper.jar" + fi +else + if [ "$MVNW_VERBOSE" = true ]; then + echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..." + fi + if [ -n "$MVNW_REPOURL" ]; then + jarUrl="$MVNW_REPOURL/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + else + jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + fi + while IFS="=" read key value; do + case "$key" in (wrapperUrl) jarUrl="$value"; break ;; + esac + done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties" + if [ "$MVNW_VERBOSE" = true ]; then + echo "Downloading from: $jarUrl" + fi + wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" + if $cygwin; then + wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"` + fi + + if command -v wget > /dev/null; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found wget ... using wget" + fi + if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then + wget "$jarUrl" -O "$wrapperJarPath" + else + wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath" + fi + elif command -v curl > /dev/null; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found curl ... using curl" + fi + if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then + curl -o "$wrapperJarPath" "$jarUrl" -f + else + curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o "$wrapperJarPath" "$jarUrl" -f + fi + + else + if [ "$MVNW_VERBOSE" = true ]; then + echo "Falling back to using Java to download" + fi + javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java" + # For Cygwin, switch paths to Windows format before running javac + if $cygwin; then + javaClass=`cygpath --path --windows "$javaClass"` + fi + if [ -e "$javaClass" ]; then + if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then + if [ "$MVNW_VERBOSE" = true ]; then + echo " - Compiling MavenWrapperDownloader.java ..." + fi + # Compiling the Java class + ("$JAVA_HOME/bin/javac" "$javaClass") + fi + if [ -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then + # Running the downloader + if [ "$MVNW_VERBOSE" = true ]; then + echo " - Running MavenWrapperDownloader.java ..." + fi + ("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$MAVEN_PROJECTBASEDIR") + fi + fi + fi +fi +########################################################################################## +# End of extension +########################################################################################## + +export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"} +if [ "$MVNW_VERBOSE" = true ]; then + echo $MAVEN_PROJECTBASEDIR +fi +MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS" + +# For Cygwin, switch paths to Windows format before running java +if $cygwin; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --path --windows "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --windows "$CLASSPATH"` + [ -n "$MAVEN_PROJECTBASEDIR" ] && + MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"` +fi + +# Provide a "standardized" way to retrieve the CLI args that will +# work with both Windows and non-Windows executions. +MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@" +export MAVEN_CMD_LINE_ARGS + +WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +exec "$JAVACMD" \ + $MAVEN_OPTS \ + -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \ + "-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \ + ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@" diff --git a/springboot-rabbitmq-mqtt/mvnw.cmd b/springboot-rabbitmq-mqtt/mvnw.cmd new file mode 100644 index 00000000..c8d43372 --- /dev/null +++ b/springboot-rabbitmq-mqtt/mvnw.cmd @@ -0,0 +1,182 @@ +@REM ---------------------------------------------------------------------------- +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at +@REM +@REM https://www.apache.org/licenses/LICENSE-2.0 +@REM +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. +@REM ---------------------------------------------------------------------------- + +@REM ---------------------------------------------------------------------------- +@REM Maven Start Up Batch script +@REM +@REM Required ENV vars: +@REM JAVA_HOME - location of a JDK home dir +@REM +@REM Optional ENV vars +@REM M2_HOME - location of maven2's installed home dir +@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands +@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending +@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven +@REM e.g. to debug Maven itself, use +@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files +@REM ---------------------------------------------------------------------------- + +@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on' +@echo off +@REM set title of command window +title %0 +@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on' +@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO% + +@REM set %HOME% to equivalent of $HOME +if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%") + +@REM Execute a user defined script before this one +if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre +@REM check for pre script, once with legacy .bat ending and once with .cmd ending +if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat" +if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd" +:skipRcPre + +@setlocal + +set ERROR_CODE=0 + +@REM To isolate internal variables from possible post scripts, we use another setlocal +@setlocal + +@REM ==== START VALIDATION ==== +if not "%JAVA_HOME%" == "" goto OkJHome + +echo. +echo Error: JAVA_HOME not found in your environment. >&2 +echo Please set the JAVA_HOME variable in your environment to match the >&2 +echo location of your Java installation. >&2 +echo. +goto error + +:OkJHome +if exist "%JAVA_HOME%\bin\java.exe" goto init + +echo. +echo Error: JAVA_HOME is set to an invalid directory. >&2 +echo JAVA_HOME = "%JAVA_HOME%" >&2 +echo Please set the JAVA_HOME variable in your environment to match the >&2 +echo location of your Java installation. >&2 +echo. +goto error + +@REM ==== END VALIDATION ==== + +:init + +@REM Find the project base dir, i.e. the directory that contains the folder ".mvn". +@REM Fallback to current working directory if not found. + +set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR% +IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir + +set EXEC_DIR=%CD% +set WDIR=%EXEC_DIR% +:findBaseDir +IF EXIST "%WDIR%"\.mvn goto baseDirFound +cd .. +IF "%WDIR%"=="%CD%" goto baseDirNotFound +set WDIR=%CD% +goto findBaseDir + +:baseDirFound +set MAVEN_PROJECTBASEDIR=%WDIR% +cd "%EXEC_DIR%" +goto endDetectBaseDir + +:baseDirNotFound +set MAVEN_PROJECTBASEDIR=%EXEC_DIR% +cd "%EXEC_DIR%" + +:endDetectBaseDir + +IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig + +@setlocal EnableExtensions EnableDelayedExpansion +for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a +@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS% + +:endReadAdditionalConfig + +SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe" +set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar" +set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + +FOR /F "tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO ( + IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B +) + +@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central +@REM This allows using the maven wrapper in projects that prohibit checking in binary data. +if exist %WRAPPER_JAR% ( + if "%MVNW_VERBOSE%" == "true" ( + echo Found %WRAPPER_JAR% + ) +) else ( + if not "%MVNW_REPOURL%" == "" ( + SET DOWNLOAD_URL="%MVNW_REPOURL%/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + ) + if "%MVNW_VERBOSE%" == "true" ( + echo Couldn't find %WRAPPER_JAR%, downloading it ... + echo Downloading from: %DOWNLOAD_URL% + ) + + powershell -Command "&{"^ + "$webclient = new-object System.Net.WebClient;"^ + "if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^ + "$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^ + "}"^ + "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^ + "}" + if "%MVNW_VERBOSE%" == "true" ( + echo Finished downloading %WRAPPER_JAR% + ) +) +@REM End of extension + +@REM Provide a "standardized" way to retrieve the CLI args that will +@REM work with both Windows and non-Windows executions. +set MAVEN_CMD_LINE_ARGS=%* + +%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %* +if ERRORLEVEL 1 goto error +goto end + +:error +set ERROR_CODE=1 + +:end +@endlocal & set ERROR_CODE=%ERROR_CODE% + +if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost +@REM check for post script, once with legacy .bat ending and once with .cmd ending +if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat" +if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd" +:skipRcPost + +@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on' +if "%MAVEN_BATCH_PAUSE%" == "on" pause + +if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE% + +exit /B %ERROR_CODE% diff --git a/springboot-rabbitmq-mqtt/pom.xml b/springboot-rabbitmq-mqtt/pom.xml new file mode 100644 index 00000000..8d15404a --- /dev/null +++ b/springboot-rabbitmq-mqtt/pom.xml @@ -0,0 +1,87 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.0.5.RELEASE + + + com.xinzf + springboot-rabbitmq-mqtt + 0.0.1-SNAPSHOT + springboot-rabbitmq-mqtt + springboot-rabbitmq-mqtt + + + 1.8 + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + 2.0.5.RELEASE + + + + org.springframework.boot + spring-boot-starter-amqp + + + + org.springframework.boot + spring-boot-starter-test + test + + + org.junit.vintage + junit-vintage-engine + + + + + + org.springframework.boot + spring-boot-starter-amqp + + + + org.projectlombok + lombok + 1.16.18 + provided + + + + + org.springframework.integration + spring-integration-mqtt + + + org.eclipse.paho + org.eclipse.paho.client.mqttv3 + 1.2.0 + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/SpringbootRabbitmqMqttApplication.java b/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/SpringbootRabbitmqMqttApplication.java new file mode 100644 index 00000000..cb697fda --- /dev/null +++ b/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/SpringbootRabbitmqMqttApplication.java @@ -0,0 +1,12 @@ +package com.iot.mqtt; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class SpringbootRabbitmqMqttApplication { + + public static void main(String[] args) { + SpringApplication.run(SpringbootRabbitmqMqttApplication.class, args); + } +} diff --git a/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/config/IotMqttProducerConfig.java b/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/config/IotMqttProducerConfig.java new file mode 100644 index 00000000..6da18553 --- /dev/null +++ b/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/config/IotMqttProducerConfig.java @@ -0,0 +1,45 @@ +package com.iot.mqtt.config; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.integration.annotation.ServiceActivator; +import org.springframework.integration.channel.DirectChannel; +import org.springframework.integration.mqtt.core.DefaultMqttPahoClientFactory; +import org.springframework.integration.mqtt.core.MqttPahoClientFactory; +import org.springframework.integration.mqtt.outbound.MqttPahoMessageHandler; +import org.springframework.messaging.MessageChannel; +import org.springframework.messaging.MessageHandler; + +/** + * @Author: xinzhifu + * @Description: + */ +@Configuration +public class IotMqttProducerConfig { + + @Autowired + private MqttConfig mqttConfig; + + @Bean + public MqttPahoClientFactory mqttClientFactory() { + DefaultMqttPahoClientFactory factory = new DefaultMqttPahoClientFactory(); + factory.setServerURIs(mqttConfig.getServers()); + return factory; + } + + @Bean + public MessageChannel iotMqttInputChannel() { + return new DirectChannel(); + } + + @Bean + @ServiceActivator(inputChannel = "iotMqttInputChannel") + public MessageHandler mqttOutbound() { + MqttPahoMessageHandler messageHandler = new MqttPahoMessageHandler(mqttConfig.getServerClientId(), mqttClientFactory()); + messageHandler.setAsync(false); + messageHandler.setDefaultQos(2); + messageHandler.setDefaultTopic(mqttConfig.getDefaultTopic()); + return messageHandler; + } +} diff --git a/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/config/IotMqttSubscriberConfig.java b/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/config/IotMqttSubscriberConfig.java new file mode 100644 index 00000000..bbcdc61a --- /dev/null +++ b/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/config/IotMqttSubscriberConfig.java @@ -0,0 +1,71 @@ +package com.iot.mqtt.config; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.integration.annotation.ServiceActivator; +import org.springframework.integration.channel.DirectChannel; +import org.springframework.integration.core.MessageProducer; +import org.springframework.integration.mqtt.core.DefaultMqttPahoClientFactory; +import org.springframework.integration.mqtt.core.MqttPahoClientFactory; +import org.springframework.integration.mqtt.inbound.MqttPahoMessageDrivenChannelAdapter; +import org.springframework.integration.mqtt.support.DefaultPahoMessageConverter; +import org.springframework.messaging.MessageChannel; +import org.springframework.messaging.MessageHandler; +import org.springframework.messaging.MessagingException; + +/** + * @Author: xiaofu + * @Description: 消息订阅配置 + * @date 2020/6/8 18:24 + */ +@Configuration +public class IotMqttSubscriberConfig { + + @Autowired + private MqttConfig mqttConfig; + + @Bean + public MqttPahoClientFactory mqttClientFactory() { + DefaultMqttPahoClientFactory factory = new DefaultMqttPahoClientFactory(); + factory.setServerURIs(mqttConfig.getServers()); + return factory; + } + + @Bean + public MessageChannel iotMqttInputChannel() { + return new DirectChannel(); + } + + @Bean + public MessageProducer inbound() { + MqttPahoMessageDrivenChannelAdapter adapter = new MqttPahoMessageDrivenChannelAdapter(mqttConfig.getClientId(), mqttClientFactory(), mqttConfig.getDefaultTopic()); + adapter.setCompletionTimeout(5000); + adapter.setConverter(new DefaultPahoMessageConverter()); + adapter.setQos(2); + adapter.setOutputChannel(iotMqttInputChannel()); + return adapter; + } + + /** + * @author xiaofu + * @description 消息订阅 + * @date 2020/6/8 18:20 + */ + @Bean + @ServiceActivator(inputChannel = "iotMqttInputChannel") + public MessageHandler handlerTest() { + + return message -> { + try { + String string = message.getPayload().toString(); + System.out.println("接收到消息:" + string); + } catch (MessagingException ex) { + //logger.info(ex.getMessage()); + } + }; + + } +} + + diff --git a/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/config/MqttConfig.java b/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/config/MqttConfig.java new file mode 100644 index 00000000..ca7303af --- /dev/null +++ b/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/config/MqttConfig.java @@ -0,0 +1,40 @@ +package com.iot.mqtt.config; + +import lombok.Getter; +import lombok.Setter; +import org.springframework.boot.context.properties.ConfigurationProperties; +import org.springframework.integration.annotation.IntegrationComponentScan; +import org.springframework.stereotype.Component; + +/** + * @Author: xinzhifu + * @Description: 基础配置类 + * @date 2020/6/8 18:25 + */ +@Getter +@Setter +@Component +@IntegrationComponentScan +@ConfigurationProperties(prefix = "iot.mqtt") +public class MqttConfig { + + /** + * 服务地址 + */ + private String servers; + + /** + * 客户端id + */ + private String clientId; + + /** + * 服务端id + */ + private String serverClientId; + + /** + * 默认主题 + */ + private String defaultTopic; +} diff --git a/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/producer/IotMqttController.java b/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/producer/IotMqttController.java new file mode 100644 index 00000000..38a091ed --- /dev/null +++ b/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/producer/IotMqttController.java @@ -0,0 +1,33 @@ +package com.iot.mqtt.producer; + +/** + * @Author: xinzhifu + * @Description: + */ + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.ResponseBody; + +/** + * @Author: xiaofu + * @Description: + * @date 2020/6/8 18:26 + */ +@Controller +@RequestMapping("/fun") +public class IotMqttController { + + @Autowired + private IotMqttGateway mqttGateway; + + @RequestMapping("/testMqtt") + @ResponseBody + public String sendMqtt(@RequestParam(value = "topic") String topic, @RequestParam(value = "message") String message) { + mqttGateway.sendMessage2Mqtt(message); + return "SUCCESS"; + } + +} diff --git a/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/producer/IotMqttGateway.java b/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/producer/IotMqttGateway.java new file mode 100644 index 00000000..9346bdcc --- /dev/null +++ b/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/producer/IotMqttGateway.java @@ -0,0 +1,27 @@ +package com.iot.mqtt.producer; + +import org.springframework.integration.annotation.MessagingGateway; +import org.springframework.integration.mqtt.support.MqttHeaders; +import org.springframework.messaging.handler.annotation.Header; + +/** + * @Author: xinzhifu + * @Description: + */ +/** + * @author xinzhifu + * @description + * @date 2020/6/8 18:26 + */ +@MessagingGateway(defaultRequestChannel = "iotMqttInputChannel") +public interface IotMqttGateway { + + void sendMessage2Mqtt(String data); + + void sendMessage2Mqtt(String data,@Header(MqttHeaders.TOPIC) String topic); + + void sendMessage2Mqtt(@Header(MqttHeaders.TOPIC) String topic, @Header(MqttHeaders.QOS) int qos, String payload); +} + + + diff --git a/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/producer/call.java b/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/producer/call.java new file mode 100644 index 00000000..ae50d4cf --- /dev/null +++ b/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/producer/call.java @@ -0,0 +1,27 @@ +package com.iot.mqtt.producer; + +import org.eclipse.paho.client.mqttv3.IMqttDeliveryToken; +import org.eclipse.paho.client.mqttv3.MqttCallback; +import org.eclipse.paho.client.mqttv3.MqttMessage; + +/** + * @Author: xinzhifu + * @Description: + */ +public class call implements MqttCallback { + + @Override + public void connectionLost(Throwable throwable) { + System.out.println(throwable); + } + + @Override + public void messageArrived(String s, MqttMessage mqttMessage) throws Exception { + System.out.println("消息接收" + s + mqttMessage); + } + + @Override + public void deliveryComplete(IMqttDeliveryToken iMqttDeliveryToken) { + + } +} diff --git a/springboot-rabbitmq-mqtt/src/main/resources/application.yml b/springboot-rabbitmq-mqtt/src/main/resources/application.yml new file mode 100644 index 00000000..c194c4ff --- /dev/null +++ b/springboot-rabbitmq-mqtt/src/main/resources/application.yml @@ -0,0 +1,7 @@ +iot: + mqtt: + clientId: client-1 + defaultTopic: mqtt_test_topic + serverClientId: server-1 + servers: tcp://127.0.0.1:1883 + diff --git a/springboot-rabbitmq-mqtt/src/main/resources/templates/hello.html b/springboot-rabbitmq-mqtt/src/main/resources/templates/hello.html new file mode 100644 index 00000000..f97e2759 --- /dev/null +++ b/springboot-rabbitmq-mqtt/src/main/resources/templates/hello.html @@ -0,0 +1,10 @@ + + + + + Title + + +11111111111111111111111111111111 + + \ No newline at end of file From 53728b59258a593a2c8b1281605723a9f6bc1889 Mon Sep 17 00:00:00 2001 From: xin <515361725@qq.com> Date: Tue, 14 Jul 2020 18:08:52 +0800 Subject: [PATCH 06/35] springboot-rabbitmq-mqtt- --- springboot-delayqueue/HELP.md | 13 + springboot-delayqueue/delayqueue.iml | 78 +++++ springboot-delayqueue/mvnw | 310 ++++++++++++++++++ springboot-delayqueue/mvnw.cmd | 182 ++++++++++ springboot-delayqueue/pom.xml | 98 ++++++ .../delayqueue/DelayqueueApplication.java | 14 + .../java/com/chengxy/delayqueue/KeyTest.java | 37 +++ .../controller/RabbitController.java | 23 ++ .../controller/RedisController.java | 24 ++ .../deadLetterQueue/DeadLetterConfig.java | 74 +++++ .../DeadLetterReceiverMessage.java | 18 + .../DeadLetterSendMessage.java | 23 ++ .../deadLetterQueue/RabbitConstant.java | 28 ++ .../delayqueue/delayQueue/DelayQueueDemo.java | 44 +++ .../chengxy/delayqueue/delayQueue/Order.java | 45 +++ .../delayqueue/netty/NettyDelayQueue.java | 44 +++ .../chengxy/delayqueue/quartz/QuartzDemo.java | 19 ++ .../delayqueue/redis/RedisDelayQueue.java | 101 ++++++ .../RedisKeyExpirationListener.java | 25 ++ .../rediscallback/RedisListenerConfig.java | 21 ++ .../ScheduledExecutorServiceDemo.java | 56 ++++ .../java/com/chengxy/delayqueue/zhujie.java | 12 + .../src/main/resources/application.properties | 23 ++ 23 files changed, 1312 insertions(+) create mode 100644 springboot-delayqueue/HELP.md create mode 100644 springboot-delayqueue/delayqueue.iml create mode 100644 springboot-delayqueue/mvnw create mode 100644 springboot-delayqueue/mvnw.cmd create mode 100644 springboot-delayqueue/pom.xml create mode 100644 springboot-delayqueue/src/main/java/com/chengxy/delayqueue/DelayqueueApplication.java create mode 100644 springboot-delayqueue/src/main/java/com/chengxy/delayqueue/KeyTest.java create mode 100644 springboot-delayqueue/src/main/java/com/chengxy/delayqueue/controller/RabbitController.java create mode 100644 springboot-delayqueue/src/main/java/com/chengxy/delayqueue/controller/RedisController.java create mode 100644 springboot-delayqueue/src/main/java/com/chengxy/delayqueue/deadLetterQueue/DeadLetterConfig.java create mode 100644 springboot-delayqueue/src/main/java/com/chengxy/delayqueue/deadLetterQueue/DeadLetterReceiverMessage.java create mode 100644 springboot-delayqueue/src/main/java/com/chengxy/delayqueue/deadLetterQueue/DeadLetterSendMessage.java create mode 100644 springboot-delayqueue/src/main/java/com/chengxy/delayqueue/deadLetterQueue/RabbitConstant.java create mode 100644 springboot-delayqueue/src/main/java/com/chengxy/delayqueue/delayQueue/DelayQueueDemo.java create mode 100644 springboot-delayqueue/src/main/java/com/chengxy/delayqueue/delayQueue/Order.java create mode 100644 springboot-delayqueue/src/main/java/com/chengxy/delayqueue/netty/NettyDelayQueue.java create mode 100644 springboot-delayqueue/src/main/java/com/chengxy/delayqueue/quartz/QuartzDemo.java create mode 100644 springboot-delayqueue/src/main/java/com/chengxy/delayqueue/redis/RedisDelayQueue.java create mode 100644 springboot-delayqueue/src/main/java/com/chengxy/delayqueue/redis/rediscallback/RedisKeyExpirationListener.java create mode 100644 springboot-delayqueue/src/main/java/com/chengxy/delayqueue/redis/rediscallback/RedisListenerConfig.java create mode 100644 springboot-delayqueue/src/main/java/com/chengxy/delayqueue/scheduledExecutor/ScheduledExecutorServiceDemo.java create mode 100644 springboot-delayqueue/src/main/java/com/chengxy/delayqueue/zhujie.java create mode 100644 springboot-delayqueue/src/main/resources/application.properties diff --git a/springboot-delayqueue/HELP.md b/springboot-delayqueue/HELP.md new file mode 100644 index 00000000..00c8d417 --- /dev/null +++ b/springboot-delayqueue/HELP.md @@ -0,0 +1,13 @@ +# Read Me First +The following was discovered as part of building this project: + +* The original package name 'com. chengxy.delayqueue' is invalid and this project uses 'com.chengxy.delayqueue' instead. + +# Getting Started + +### Reference Documentation +For further reference, please consider the following sections: + +* [Official Apache Maven documentation](https://maven.apache.org/guides/index.html) +* [Spring Boot Maven Plugin Reference Guide](https://docs.spring.io/spring-boot/docs/2.2.6.RELEASE/maven-plugin/) + diff --git a/springboot-delayqueue/delayqueue.iml b/springboot-delayqueue/delayqueue.iml new file mode 100644 index 00000000..d59beaf0 --- /dev/null +++ b/springboot-delayqueue/delayqueue.iml @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/springboot-delayqueue/mvnw b/springboot-delayqueue/mvnw new file mode 100644 index 00000000..a16b5431 --- /dev/null +++ b/springboot-delayqueue/mvnw @@ -0,0 +1,310 @@ +#!/bin/sh +# ---------------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ---------------------------------------------------------------------------- + +# ---------------------------------------------------------------------------- +# Maven Start Up Batch script +# +# Required ENV vars: +# ------------------ +# JAVA_HOME - location of a JDK home dir +# +# Optional ENV vars +# ----------------- +# M2_HOME - location of maven2's installed home dir +# MAVEN_OPTS - parameters passed to the Java VM when running Maven +# e.g. to debug Maven itself, use +# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +# MAVEN_SKIP_RC - flag to disable loading of mavenrc files +# ---------------------------------------------------------------------------- + +if [ -z "$MAVEN_SKIP_RC" ] ; then + + if [ -f /etc/mavenrc ] ; then + . /etc/mavenrc + fi + + if [ -f "$HOME/.mavenrc" ] ; then + . "$HOME/.mavenrc" + fi + +fi + +# OS specific support. $var _must_ be set to either true or false. +cygwin=false; +darwin=false; +mingw=false +case "`uname`" in + CYGWIN*) cygwin=true ;; + MINGW*) mingw=true;; + Darwin*) darwin=true + # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home + # See https://developer.apple.com/library/mac/qa/qa1170/_index.html + if [ -z "$JAVA_HOME" ]; then + if [ -x "/usr/libexec/java_home" ]; then + export JAVA_HOME="`/usr/libexec/java_home`" + else + export JAVA_HOME="/Library/Java/Home" + fi + fi + ;; +esac + +if [ -z "$JAVA_HOME" ] ; then + if [ -r /etc/gentoo-release ] ; then + JAVA_HOME=`java-config --jre-home` + fi +fi + +if [ -z "$M2_HOME" ] ; then + ## resolve links - $0 may be a link to maven's home + PRG="$0" + + # need this for relative symlinks + while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG="`dirname "$PRG"`/$link" + fi + done + + saveddir=`pwd` + + M2_HOME=`dirname "$PRG"`/.. + + # make it fully qualified + M2_HOME=`cd "$M2_HOME" && pwd` + + cd "$saveddir" + # echo Using m2 at $M2_HOME +fi + +# For Cygwin, ensure paths are in UNIX format before anything is touched +if $cygwin ; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --unix "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --unix "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --unix "$CLASSPATH"` +fi + +# For Mingw, ensure paths are in UNIX format before anything is touched +if $mingw ; then + [ -n "$M2_HOME" ] && + M2_HOME="`(cd "$M2_HOME"; pwd)`" + [ -n "$JAVA_HOME" ] && + JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`" +fi + +if [ -z "$JAVA_HOME" ]; then + javaExecutable="`which javac`" + if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then + # readlink(1) is not available as standard on Solaris 10. + readLink=`which readlink` + if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then + if $darwin ; then + javaHome="`dirname \"$javaExecutable\"`" + javaExecutable="`cd \"$javaHome\" && pwd -P`/javac" + else + javaExecutable="`readlink -f \"$javaExecutable\"`" + fi + javaHome="`dirname \"$javaExecutable\"`" + javaHome=`expr "$javaHome" : '\(.*\)/bin'` + JAVA_HOME="$javaHome" + export JAVA_HOME + fi + fi +fi + +if [ -z "$JAVACMD" ] ; then + if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + else + JAVACMD="`which java`" + fi +fi + +if [ ! -x "$JAVACMD" ] ; then + echo "Error: JAVA_HOME is not defined correctly." >&2 + echo " We cannot execute $JAVACMD" >&2 + exit 1 +fi + +if [ -z "$JAVA_HOME" ] ; then + echo "Warning: JAVA_HOME environment variable is not set." +fi + +CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher + +# traverses directory structure from process work directory to filesystem root +# first directory with .mvn subdirectory is considered project base directory +find_maven_basedir() { + + if [ -z "$1" ] + then + echo "Path not specified to find_maven_basedir" + return 1 + fi + + basedir="$1" + wdir="$1" + while [ "$wdir" != '/' ] ; do + if [ -d "$wdir"/.mvn ] ; then + basedir=$wdir + break + fi + # workaround for JBEAP-8937 (on Solaris 10/Sparc) + if [ -d "${wdir}" ]; then + wdir=`cd "$wdir/.."; pwd` + fi + # end of workaround + done + echo "${basedir}" +} + +# concatenates all lines of a file +concat_lines() { + if [ -f "$1" ]; then + echo "$(tr -s '\n' ' ' < "$1")" + fi +} + +BASE_DIR=`find_maven_basedir "$(pwd)"` +if [ -z "$BASE_DIR" ]; then + exit 1; +fi + +########################################################################################## +# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central +# This allows using the maven wrapper in projects that prohibit checking in binary data. +########################################################################################## +if [ -r "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" ]; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found .mvn/wrapper/maven-wrapper.jar" + fi +else + if [ "$MVNW_VERBOSE" = true ]; then + echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..." + fi + if [ -n "$MVNW_REPOURL" ]; then + jarUrl="$MVNW_REPOURL/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + else + jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + fi + while IFS="=" read key value; do + case "$key" in (wrapperUrl) jarUrl="$value"; break ;; + esac + done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties" + if [ "$MVNW_VERBOSE" = true ]; then + echo "Downloading from: $jarUrl" + fi + wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" + if $cygwin; then + wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"` + fi + + if command -v wget > /dev/null; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found wget ... using wget" + fi + if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then + wget "$jarUrl" -O "$wrapperJarPath" + else + wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath" + fi + elif command -v curl > /dev/null; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found curl ... using curl" + fi + if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then + curl -o "$wrapperJarPath" "$jarUrl" -f + else + curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o "$wrapperJarPath" "$jarUrl" -f + fi + + else + if [ "$MVNW_VERBOSE" = true ]; then + echo "Falling back to using Java to download" + fi + javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java" + # For Cygwin, switch paths to Windows format before running javac + if $cygwin; then + javaClass=`cygpath --path --windows "$javaClass"` + fi + if [ -e "$javaClass" ]; then + if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then + if [ "$MVNW_VERBOSE" = true ]; then + echo " - Compiling MavenWrapperDownloader.java ..." + fi + # Compiling the Java class + ("$JAVA_HOME/bin/javac" "$javaClass") + fi + if [ -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then + # Running the downloader + if [ "$MVNW_VERBOSE" = true ]; then + echo " - Running MavenWrapperDownloader.java ..." + fi + ("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$MAVEN_PROJECTBASEDIR") + fi + fi + fi +fi +########################################################################################## +# End of extension +########################################################################################## + +export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"} +if [ "$MVNW_VERBOSE" = true ]; then + echo $MAVEN_PROJECTBASEDIR +fi +MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS" + +# For Cygwin, switch paths to Windows format before running java +if $cygwin; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --path --windows "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --windows "$CLASSPATH"` + [ -n "$MAVEN_PROJECTBASEDIR" ] && + MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"` +fi + +# Provide a "standardized" way to retrieve the CLI args that will +# work with both Windows and non-Windows executions. +MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@" +export MAVEN_CMD_LINE_ARGS + +WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +exec "$JAVACMD" \ + $MAVEN_OPTS \ + -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \ + "-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \ + ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@" diff --git a/springboot-delayqueue/mvnw.cmd b/springboot-delayqueue/mvnw.cmd new file mode 100644 index 00000000..c8d43372 --- /dev/null +++ b/springboot-delayqueue/mvnw.cmd @@ -0,0 +1,182 @@ +@REM ---------------------------------------------------------------------------- +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at +@REM +@REM https://www.apache.org/licenses/LICENSE-2.0 +@REM +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. +@REM ---------------------------------------------------------------------------- + +@REM ---------------------------------------------------------------------------- +@REM Maven Start Up Batch script +@REM +@REM Required ENV vars: +@REM JAVA_HOME - location of a JDK home dir +@REM +@REM Optional ENV vars +@REM M2_HOME - location of maven2's installed home dir +@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands +@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending +@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven +@REM e.g. to debug Maven itself, use +@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files +@REM ---------------------------------------------------------------------------- + +@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on' +@echo off +@REM set title of command window +title %0 +@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on' +@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO% + +@REM set %HOME% to equivalent of $HOME +if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%") + +@REM Execute a user defined script before this one +if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre +@REM check for pre script, once with legacy .bat ending and once with .cmd ending +if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat" +if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd" +:skipRcPre + +@setlocal + +set ERROR_CODE=0 + +@REM To isolate internal variables from possible post scripts, we use another setlocal +@setlocal + +@REM ==== START VALIDATION ==== +if not "%JAVA_HOME%" == "" goto OkJHome + +echo. +echo Error: JAVA_HOME not found in your environment. >&2 +echo Please set the JAVA_HOME variable in your environment to match the >&2 +echo location of your Java installation. >&2 +echo. +goto error + +:OkJHome +if exist "%JAVA_HOME%\bin\java.exe" goto init + +echo. +echo Error: JAVA_HOME is set to an invalid directory. >&2 +echo JAVA_HOME = "%JAVA_HOME%" >&2 +echo Please set the JAVA_HOME variable in your environment to match the >&2 +echo location of your Java installation. >&2 +echo. +goto error + +@REM ==== END VALIDATION ==== + +:init + +@REM Find the project base dir, i.e. the directory that contains the folder ".mvn". +@REM Fallback to current working directory if not found. + +set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR% +IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir + +set EXEC_DIR=%CD% +set WDIR=%EXEC_DIR% +:findBaseDir +IF EXIST "%WDIR%"\.mvn goto baseDirFound +cd .. +IF "%WDIR%"=="%CD%" goto baseDirNotFound +set WDIR=%CD% +goto findBaseDir + +:baseDirFound +set MAVEN_PROJECTBASEDIR=%WDIR% +cd "%EXEC_DIR%" +goto endDetectBaseDir + +:baseDirNotFound +set MAVEN_PROJECTBASEDIR=%EXEC_DIR% +cd "%EXEC_DIR%" + +:endDetectBaseDir + +IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig + +@setlocal EnableExtensions EnableDelayedExpansion +for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a +@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS% + +:endReadAdditionalConfig + +SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe" +set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar" +set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + +FOR /F "tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO ( + IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B +) + +@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central +@REM This allows using the maven wrapper in projects that prohibit checking in binary data. +if exist %WRAPPER_JAR% ( + if "%MVNW_VERBOSE%" == "true" ( + echo Found %WRAPPER_JAR% + ) +) else ( + if not "%MVNW_REPOURL%" == "" ( + SET DOWNLOAD_URL="%MVNW_REPOURL%/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + ) + if "%MVNW_VERBOSE%" == "true" ( + echo Couldn't find %WRAPPER_JAR%, downloading it ... + echo Downloading from: %DOWNLOAD_URL% + ) + + powershell -Command "&{"^ + "$webclient = new-object System.Net.WebClient;"^ + "if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^ + "$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^ + "}"^ + "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^ + "}" + if "%MVNW_VERBOSE%" == "true" ( + echo Finished downloading %WRAPPER_JAR% + ) +) +@REM End of extension + +@REM Provide a "standardized" way to retrieve the CLI args that will +@REM work with both Windows and non-Windows executions. +set MAVEN_CMD_LINE_ARGS=%* + +%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %* +if ERRORLEVEL 1 goto error +goto end + +:error +set ERROR_CODE=1 + +:end +@endlocal & set ERROR_CODE=%ERROR_CODE% + +if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost +@REM check for post script, once with legacy .bat ending and once with .cmd ending +if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat" +if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd" +:skipRcPost + +@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on' +if "%MAVEN_BATCH_PAUSE%" == "on" pause + +if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE% + +exit /B %ERROR_CODE% diff --git a/springboot-delayqueue/pom.xml b/springboot-delayqueue/pom.xml new file mode 100644 index 00000000..65bb4d31 --- /dev/null +++ b/springboot-delayqueue/pom.xml @@ -0,0 +1,98 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.0.5.RELEASE + + + com.chengxy + delayqueue + 0.0.1-SNAPSHOT + delayqueue + Demo project for Spring Boot + + + 1.8 + + + + + org.springframework.boot + spring-boot-starter + + + + + + + + + org.springframework.boot + spring-boot-starter-test + test + + + org.junit.vintage + junit-vintage-engine + + + + + + + org.springframework.boot + spring-boot-starter-data-redis + 1.5.7.RELEASE + + + + + com.alibaba + fastjson + 1.2.49 + + + + org.apache.commons + commons-lang3 + 3.4 + + + + com.fasterxml.jackson.core + jackson-annotations + 2.9.0 + + + + + org.springframework.boot + spring-boot-starter-amqp + + + + org.springframework.boot + spring-boot-starter-quartz + + + + io.netty + netty-all + 4.1.36.Final + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/DelayqueueApplication.java b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/DelayqueueApplication.java new file mode 100644 index 00000000..a9213131 --- /dev/null +++ b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/DelayqueueApplication.java @@ -0,0 +1,14 @@ +package com.chengxy.delayqueue; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +//@EnableScheduling +@SpringBootApplication +public class DelayqueueApplication { + + public static void main(String[] args) { + SpringApplication.run(DelayqueueApplication.class, args); + } + +} diff --git a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/KeyTest.java b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/KeyTest.java new file mode 100644 index 00000000..4787dd46 --- /dev/null +++ b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/KeyTest.java @@ -0,0 +1,37 @@ +package com.chengxy.delayqueue; + +import java.util.ArrayList; +import java.util.List; +import java.util.Optional; + +/** + * @Author: xinzhifu + * @Description: + */ +public class KeyTest { + + // .var + + // .notnull + + + public static void main(String[] args) { + + List strings = new ArrayList<>(); + + strings.add("牛比快捷键"); + + strings.add("程序员内点事"); + + String s = strings.get(0); + + if (s != null) { + + } + Optional s1 = Optional.ofNullable(s); + + if (s1.isPresent()) { + + } + } +} diff --git a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/controller/RabbitController.java b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/controller/RabbitController.java new file mode 100644 index 00000000..62c03e01 --- /dev/null +++ b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/controller/RabbitController.java @@ -0,0 +1,23 @@ +package com.chengxy.delayqueue.controller;//package com.xinzf.project.controller; + +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; +import org.springframework.web.bind.annotation.ResponseBody; + +import java.io.IOException; +import java.util.Map; + +@Controller +@RequestMapping +public class RabbitController { + + + + @RequestMapping(value = "/rabbit", method = RequestMethod.GET) + @ResponseBody + public Map dirtRabbit(String type) throws IOException { + + return null; + } +} diff --git a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/controller/RedisController.java b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/controller/RedisController.java new file mode 100644 index 00000000..05ea28dc --- /dev/null +++ b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/controller/RedisController.java @@ -0,0 +1,24 @@ +package com.chengxy.delayqueue.controller;//package com.xinzf.project.controller; + +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; +import org.springframework.web.bind.annotation.ResponseBody; + +import java.io.IOException; +import java.util.Map; + +@Controller +@RequestMapping +public class RedisController { + + + + @RequestMapping(value = "/redis", method = RequestMethod.GET) + @ResponseBody + public Map redisTest(String type) throws IOException { + + return null; + } + +} diff --git a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/deadLetterQueue/DeadLetterConfig.java b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/deadLetterQueue/DeadLetterConfig.java new file mode 100644 index 00000000..04f1bf36 --- /dev/null +++ b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/deadLetterQueue/DeadLetterConfig.java @@ -0,0 +1,74 @@ +//package com.chengxy.delayqueue.deadLetterQueue; +// +//import org.springframework.amqp.core.*; +//import org.springframework.beans.factory.annotation.Qualifier; +//import org.springframework.context.annotation.Bean; +//import org.springframework.context.annotation.Configuration; +// +// +///** +// * @Author: xinzhifu +// * @Description: +// */ +//@Configuration +//public class DeadLetterConfig { +// +// /** +// * 正常消费交换机 +// */ +// @Bean(name = "order.close.exchange") +// public DirectExchange getDirectExchange() { +// +// return new DirectExchange("order.close.exchange"); +// } +// +// /** +// * 正常消费队列 +// */ +// @Bean(name = "order.close.queue") +// public Queue getQueue() { +// return new Queue("order.close.queue"); +// } +// +// /** +// * 正常消费队列与交换机绑定 +// */ +// @Bean +// public Binding bingdingDeadLetterExchangeAndQueue(@Qualifier("order.close.exchange") DirectExchange deadLetterExchange +// , @Qualifier("order.close.queue") Queue deadLetterQueue) { +// +// return BindingBuilder.bind(deadLetterQueue).to(deadLetterExchange).with("order.close.queue"); +// } +// +// /** +// * 延时交换机 +// */ +// @Bean(name = "order.delay.exchange") +// public DirectExchange getMessageDirectExchange() { +// +// return new DirectExchange("order.delay.exchange"); +// } +// +// /** +// * 延时队列 +// */ +// @Bean(name = "order.delay.queue") +// public Queue getMessageQueue() { +// return QueueBuilder +// .durable(RabbitConstant.DEAD_LETTER_QUEUE) +// // 配置到期后转发的交换 +// .withArgument("x-dead-letter-exchange", "order.close.exchange") +// // 配置到期后转发的路由键 +// .withArgument("x-dead-letter-routing-key", "order.close.queue") +// .build(); +// } +// +// /** +// * 延时队列与交换机绑定 +// */ +// @Bean +// public Binding bingdingMessageExchangeAndQueue(@Qualifier("order.delay.exchange") DirectExchange messageExchange +// , @Qualifier("order.delay.queue") Queue messageQueue) { +// return BindingBuilder.bind(messageQueue).to(messageExchange).with("order.delay.queue"); +// } +//} \ No newline at end of file diff --git a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/deadLetterQueue/DeadLetterReceiverMessage.java b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/deadLetterQueue/DeadLetterReceiverMessage.java new file mode 100644 index 00000000..98e2fd20 --- /dev/null +++ b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/deadLetterQueue/DeadLetterReceiverMessage.java @@ -0,0 +1,18 @@ +package com.chengxy.delayqueue.deadLetterQueue; + +/** + * @Author: xinzhifu + * @Description: + */ +//@Component +//@RabbitListener(queues = RabbitConstant.MESSAGE_QUEUE) +//public class DeadLetterReceiverMessage { +// +// private static Logger LOGGER = LoggerFactory.getLogger(DeadLetterReceiverMessage.class); +// +// @RabbitHandler +// public void receiver(String val) { +// +// LOGGER.info("收到延时消息: " + val); +// } +//} diff --git a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/deadLetterQueue/DeadLetterSendMessage.java b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/deadLetterQueue/DeadLetterSendMessage.java new file mode 100644 index 00000000..e1887df4 --- /dev/null +++ b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/deadLetterQueue/DeadLetterSendMessage.java @@ -0,0 +1,23 @@ +package com.chengxy.delayqueue.deadLetterQueue; + +import org.springframework.stereotype.Component; + + +/** + * @Author: xinzhifu + * @Description: + */ +@Component +public class DeadLetterSendMessage { + +// @Resource +// private AmqpTemplate amqpTemplate; +// +// public void send(String delayTimes) { +// amqpTemplate.convertAndSend("order.pay.exchange", "order.pay.queue","大家好我是延迟数据", message -> { +// // 设置延迟毫秒值 +// message.getMessageProperties().setExpiration(String.valueOf(delayTimes)); +// return message; +// }); +// } +} diff --git a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/deadLetterQueue/RabbitConstant.java b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/deadLetterQueue/RabbitConstant.java new file mode 100644 index 00000000..54427fe6 --- /dev/null +++ b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/deadLetterQueue/RabbitConstant.java @@ -0,0 +1,28 @@ +package com.chengxy.delayqueue.deadLetterQueue; + +/** + * @Author: xinzhifu + * @Description: + */ +public @interface RabbitConstant { + + /** + * 死信交换机 + */ + String DEAD_LETTER_EXCHANGE = "com.xin.deadLetterExchange"; + + /** + * 死信队列 + */ + String DEAD_LETTER_QUEUE = "com.xin.deadLetterQueue"; + + /** + * 测试死信正常消费交换机 + */ + String MESSAGE_EXCHANGE = "order.pay.exchange"; + + /** + * 测试死信正常消费队列 + */ + String MESSAGE_QUEUE = "order.pay.queue"; +} diff --git a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/delayQueue/DelayQueueDemo.java b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/delayQueue/DelayQueueDemo.java new file mode 100644 index 00000000..280067f2 --- /dev/null +++ b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/delayQueue/DelayQueueDemo.java @@ -0,0 +1,44 @@ +package com.chengxy.delayqueue.delayQueue; + +import java.time.LocalDateTime; +import java.time.format.DateTimeFormatter; +import java.util.concurrent.DelayQueue; +import java.util.concurrent.TimeUnit; + +/** + * @Author: xinzhifu + * @Description: + */ +public class DelayQueueDemo { + + public static void main(String[] args) throws InterruptedException { + + Order Order1 = new Order("Order1", 5, TimeUnit.SECONDS); + Order Order2 = new Order("Order2", 10, TimeUnit.SECONDS); + Order Order3 = new Order("Order3", 15, TimeUnit.SECONDS); + + DelayQueue delayQueue = new DelayQueue<>(); + + delayQueue.put(Order1); + delayQueue.put(Order2); + delayQueue.put(Order3); + + System.out.println("订单延迟队列开始时间:" + LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"))); + + while (delayQueue.size() != 0) { + + /** + * 取队列头部元素是否过去 + */ + Order task = delayQueue.poll(); + Order task1 = delayQueue.take(); + + + if (task1 != null) { + System.out.format("订单:{%s}被取消, 取消时间:{%s}\n", task1.name, LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"))); + }else{ + System.out.println("null"); + } + } + } +} \ No newline at end of file diff --git a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/delayQueue/Order.java b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/delayQueue/Order.java new file mode 100644 index 00000000..a87e8105 --- /dev/null +++ b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/delayQueue/Order.java @@ -0,0 +1,45 @@ +package com.chengxy.delayqueue.delayQueue; + +import com.fasterxml.jackson.annotation.JsonFormat; + +import java.util.concurrent.Delayed; +import java.util.concurrent.TimeUnit; + +/** + * @Author: xinzhifu + * @Description: + */ +public class Order implements Delayed { + + /** + * 延迟时间 + */ + @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") + private long time; + + /** + * 订单号 + */ + String name; + + public Order(String name, long time, TimeUnit unit) { + this.name = name; + this.time = System.currentTimeMillis() + (time > 0 ? unit.toMillis(time) : 0); + } + + @Override + public long getDelay(TimeUnit unit) { + return time - System.currentTimeMillis(); + } + + @Override + public int compareTo(Delayed o) { + Order Order = (Order) o; + long diff = this.time - Order.time; + if (diff <= 0) { + return -1; + } else { + return 1; + } + } +} \ No newline at end of file diff --git a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/netty/NettyDelayQueue.java b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/netty/NettyDelayQueue.java new file mode 100644 index 00000000..bdc8d5b2 --- /dev/null +++ b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/netty/NettyDelayQueue.java @@ -0,0 +1,44 @@ +package com.chengxy.delayqueue.netty; + +import io.netty.util.HashedWheelTimer; +import io.netty.util.Timeout; +import io.netty.util.Timer; +import io.netty.util.TimerTask; + +import java.util.concurrent.Executors; +import java.util.concurrent.TimeUnit; + +/** + * @Author: xinzhifu + * @Description: + */ +public class NettyDelayQueue { + + public static void main(String[] args) { + + final Timer timer = new HashedWheelTimer(Executors.defaultThreadFactory(), 5, TimeUnit.SECONDS, 2); + TimerTask task1 = new TimerTask() { + public void run(Timeout timeout) throws Exception { + System.out.println("order1 5s 后执行 "); + timer.newTimeout(this, 5, TimeUnit.SECONDS);//结束时候再次注册 + } + }; + timer.newTimeout(task1, 5, TimeUnit.SECONDS); + TimerTask task2 = new TimerTask() { + public void run(Timeout timeout) throws Exception { + System.out.println("order2 10s 后执行"); + timer.newTimeout(this, 10, TimeUnit.SECONDS);//结束时候再注册 + } + }; + + timer.newTimeout(task2, 10, TimeUnit.SECONDS); + + //该任务仅仅运行一次 + timer.newTimeout(new TimerTask() { + public void run(Timeout timeout) throws Exception { + System.out.println("order3 15s 后执行一次"); + } + }, 15, TimeUnit.SECONDS); + + } +} diff --git a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/quartz/QuartzDemo.java b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/quartz/QuartzDemo.java new file mode 100644 index 00000000..7327d183 --- /dev/null +++ b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/quartz/QuartzDemo.java @@ -0,0 +1,19 @@ +package com.chengxy.delayqueue.quartz; + +import org.springframework.scheduling.annotation.Scheduled; +import org.springframework.stereotype.Component; + +/** + * @Author: xinzhifu + * @Description: + */ +@Component +public class QuartzDemo { + + //每隔五秒 + @Scheduled(cron = "0/5 * * * * ? ") + public void process(){ + + System.out.println("我是定时任务!"); + } +} diff --git a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/redis/RedisDelayQueue.java b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/redis/RedisDelayQueue.java new file mode 100644 index 00000000..b513c0c7 --- /dev/null +++ b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/redis/RedisDelayQueue.java @@ -0,0 +1,101 @@ +package com.chengxy.delayqueue.redis; + +import redis.clients.jedis.Jedis; +import redis.clients.jedis.JedisPool; +import redis.clients.jedis.Tuple; + +import java.text.SimpleDateFormat; +import java.util.Calendar; +import java.util.Date; +import java.util.Set; + +/** + * @Author: xinzhifu + * @Description: + */ +public class RedisDelayQueue { + + private JedisPool jedisPool = null; + // Redis服务器IP + private String ADDR = "127.0.0.1"; + // Redis的端口号 + private int PORT = 6379; + + private static String DELAY_QUEUE = "delayqueue"; + + private SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); + + public RedisDelayQueue() { + jedisPool = new JedisPool(ADDR, PORT); + } + + public static void main(String[] args) { + + RedisDelayQueue redisDelay = new RedisDelayQueue(); + redisDelay.pushOrderQueue(); + redisDelay.pollOrderQueue(); + redisDelay.deleteZSet(); + } + + public void deleteZSet() { + Jedis jedis = jedisPool.getResource(); + jedis.del(DELAY_QUEUE); + } + + /** + * 消息入队 + */ + public void pushOrderQueue() { + Jedis jedis = jedisPool.getResource(); + Calendar cal1 = Calendar.getInstance(); + cal1.add(Calendar.SECOND, 10); + int order1 = (int) (cal1.getTimeInMillis() / 1000); + + Calendar cal2 = Calendar.getInstance(); + cal2.add(Calendar.SECOND, 20); + int order2 = (int) (cal2.getTimeInMillis() / 1000); + + Calendar cal3 = Calendar.getInstance(); + cal3.add(Calendar.SECOND, 30); + int order3 = (int) (cal3.getTimeInMillis() / 1000); + + jedis.zadd(DELAY_QUEUE, order1, "order1"); + jedis.zadd(DELAY_QUEUE, order2, "order2"); + jedis.zadd(DELAY_QUEUE, order3, "order3"); + System.out.println(sdf.format(new Date()) + " add finished."); + } + + /** + * 消费消息 + */ + public void pollOrderQueue() { + + Jedis jedis = jedisPool.getResource(); + while (true) { + + Set set = jedis.zrangeWithScores(DELAY_QUEUE, 0, 0); + + String value = ((Tuple) set.toArray()[0]).getElement(); + int score = (int) ((Tuple) set.toArray()[0]).getScore(); + + Calendar cal = Calendar.getInstance(); + int nowSecond = (int) (cal.getTimeInMillis() / 1000); + + if (nowSecond >= score) { + jedis.zrem(DELAY_QUEUE, value); + System.out.println(sdf.format(new Date()) + " removed key:" + value); + } + + if (jedis.zcard(DELAY_QUEUE) <= 0) { + System.out.println(sdf.format(new Date()) + " zset empty "); + return; + } + try { + Thread.sleep(1000); + } catch (InterruptedException e) { + e.printStackTrace(); + } + } + } + +} diff --git a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/redis/rediscallback/RedisKeyExpirationListener.java b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/redis/rediscallback/RedisKeyExpirationListener.java new file mode 100644 index 00000000..d4bcc720 --- /dev/null +++ b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/redis/rediscallback/RedisKeyExpirationListener.java @@ -0,0 +1,25 @@ +package com.chengxy.delayqueue.redis.rediscallback; + +import org.springframework.data.redis.connection.Message; +import org.springframework.data.redis.listener.KeyExpirationEventMessageListener; +import org.springframework.data.redis.listener.RedisMessageListenerContainer; +import org.springframework.stereotype.Component; + +/** + * @Author: xinzhifu + * @Description: + */ +@Component +public class RedisKeyExpirationListener extends KeyExpirationEventMessageListener { + + public RedisKeyExpirationListener(RedisMessageListenerContainer listenerContainer) { + super(listenerContainer); + } + + @Override + public void onMessage(Message message, byte[] pattern) { + String expiredKey = message.toString(); + System.out.println("监听到key:" + expiredKey + "已过期"); + + } +} \ No newline at end of file diff --git a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/redis/rediscallback/RedisListenerConfig.java b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/redis/rediscallback/RedisListenerConfig.java new file mode 100644 index 00000000..32ed6803 --- /dev/null +++ b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/redis/rediscallback/RedisListenerConfig.java @@ -0,0 +1,21 @@ +package com.chengxy.delayqueue.redis.rediscallback; + +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.data.redis.connection.RedisConnectionFactory; +import org.springframework.data.redis.listener.RedisMessageListenerContainer; + +/** + * @Author: xinzhifu + * @Description: + */ +@Configuration +public class RedisListenerConfig { + @Bean + RedisMessageListenerContainer container(RedisConnectionFactory connectionFactory) { + + RedisMessageListenerContainer container = new RedisMessageListenerContainer(); + container.setConnectionFactory(connectionFactory); + return container; + } +} \ No newline at end of file diff --git a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/scheduledExecutor/ScheduledExecutorServiceDemo.java b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/scheduledExecutor/ScheduledExecutorServiceDemo.java new file mode 100644 index 00000000..df3b2dd7 --- /dev/null +++ b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/scheduledExecutor/ScheduledExecutorServiceDemo.java @@ -0,0 +1,56 @@ +package com.chengxy.delayqueue.scheduledExecutor; + +import java.text.SimpleDateFormat; +import java.util.Date; +import java.util.concurrent.Executors; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.ScheduledFuture; +import java.util.concurrent.TimeUnit; + +/** + * @Author: xinzhifu + * @Description: + */ +public class ScheduledExecutorServiceDemo { + + public static void main(String[] args) { + + SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); + + ScheduledExecutorService executor = Executors.newScheduledThreadPool(100); + + for (int i = 10; i > 0; i--) { + + executor.schedule(() -> System.out.println("Work start, thread id:" + Thread.currentThread().getId() + " " + sdf.format(new Date())), i, TimeUnit.SECONDS); + } + } + + public void ScheduledExecutorServiceTest() throws InterruptedException { + + ScheduledExecutorService scheduledExecutorService = Executors.newScheduledThreadPool(5); + + System.out.println("创建5秒延迟的任务"); + ScheduledFuture schedule = scheduledExecutorService.schedule(() -> doTask("5s"), 5, TimeUnit.SECONDS); + + Thread.sleep(4900); + + schedule.cancel(false); + System.err.println("取消5秒延迟的任务"); + + + System.out.println("创建3秒延迟的任务"); + ScheduledFuture schedule2 = scheduledExecutorService.schedule(new Runnable() { + @Override + public void run() { + doTask("3s"); + } + }, 3, TimeUnit.SECONDS); + + Thread.sleep(4000); + + } + + private void doTask(String arg) { + System.out.println(arg + " 任务执行 "); + } +} diff --git a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/zhujie.java b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/zhujie.java new file mode 100644 index 00000000..15f43224 --- /dev/null +++ b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/zhujie.java @@ -0,0 +1,12 @@ +package com.chengxy.delayqueue; + +/** + * @Author: xinzhifu + * @Description: + */ + +public class zhujie { + + + +} diff --git a/springboot-delayqueue/src/main/resources/application.properties b/springboot-delayqueue/src/main/resources/application.properties new file mode 100644 index 00000000..94ca25a9 --- /dev/null +++ b/springboot-delayqueue/src/main/resources/application.properties @@ -0,0 +1,23 @@ + +spring.rabbitmq.addresses=10.32.32.35:5672,10.32.32.37:5672,10.32.32.40:5672 +spring.rabbitmq.username=user_admin +spring.rabbitmq.password=user_admin + + +spring.redis.database=0 +# Redisַ +spring.redis.host=127.0.0.1 +# RedisӶ˿ +spring.redis.port=6379 +# Redis루ĬΪգ +spring.redis.password= +# ӳʹøֵʾûƣ +spring.redis.pool.max-active=200 +# ӳȴʱ䣨ʹøֵʾûƣ +spring.redis.pool.max-wait=-1 +# ӳе +spring.redis.pool.max-idle=10 +# ӳеС +spring.redis.pool.min-idle=0 +# ӳʱʱ䣨룩 +spring.redis.timeout=1000 \ No newline at end of file From d7780de4a33861e6b2e829ddb4c804e041ae90a2 Mon Sep 17 00:00:00 2001 From: xin <515361725@qq.com> Date: Tue, 14 Jul 2020 18:09:48 +0800 Subject: [PATCH 07/35] springboot-rabbitmq-mqtt- --- .../springboot-rabbitmq-mqtt.iml | 94 +++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 springboot-rabbitmq-mqtt/springboot-rabbitmq-mqtt.iml diff --git a/springboot-rabbitmq-mqtt/springboot-rabbitmq-mqtt.iml b/springboot-rabbitmq-mqtt/springboot-rabbitmq-mqtt.iml new file mode 100644 index 00000000..6bc8484b --- /dev/null +++ b/springboot-rabbitmq-mqtt/springboot-rabbitmq-mqtt.iml @@ -0,0 +1,94 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file From 9c930964e6ce329a15052417cdcd52e6e2a2e69d Mon Sep 17 00:00:00 2001 From: xin <515361725@qq.com> Date: Tue, 14 Jul 2020 18:10:52 +0800 Subject: [PATCH 08/35] springboot-rabbitmq-mqtt- --- .../springboot-rabbitmq-confirm.iml | 90 +++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 springboot-rabbitmq-confirm/springboot-rabbitmq-confirm.iml diff --git a/springboot-rabbitmq-confirm/springboot-rabbitmq-confirm.iml b/springboot-rabbitmq-confirm/springboot-rabbitmq-confirm.iml new file mode 100644 index 00000000..a02ec2ab --- /dev/null +++ b/springboot-rabbitmq-confirm/springboot-rabbitmq-confirm.iml @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file From c36fc20dc3415e4faa4a17fd983ae4a8903a4e65 Mon Sep 17 00:00:00 2001 From: xin <515361725@qq.com> Date: Tue, 14 Jul 2020 18:11:52 +0800 Subject: [PATCH 09/35] springboot-rabbitmq-mqtt- --- .idea/Springboot-Notebook.iml | 9 ++++ .idea/checkstyle-idea.xml | 16 ++++++ .idea/compiler.xml | 22 ++++++++ .idea/encodings.xml | 12 +++++ .idea/inspectionProfiles/Project_Default.xml | 36 +++++++++++++ .idea/kotlinc.xml | 7 +++ ...__ch_qos_logback_logback_classic_1_2_3.xml | 13 +++++ ...ven__ch_qos_logback_logback_core_1_2_3.xml | 13 +++++ .../Maven__com_alibaba_fastjson_1_2_49.xml | 13 +++++ .../Maven__com_fasterxml_classmate_1_5_1.xml | 13 +++++ ...ackson_core_jackson_annotations_2_10_3.xml | 13 +++++ ...erxml_jackson_core_jackson_core_2_10_3.xml | 13 +++++ ...l_jackson_core_jackson_databind_2_10_3.xml | 13 +++++ ..._datatype_jackson_datatype_jdk8_2_10_3.xml | 13 +++++ ...atatype_jackson_datatype_jsr310_2_10_3.xml | 13 +++++ ..._jackson_module_parameter_names_2_10_3.xml | 13 +++++ .../Maven__com_google_guava_guava_21_0.xml | 13 +++++ ...n__com_jayway_jsonpath_json_path_2_4_0.xml | 13 +++++ ...ogle_android_json_0_0_20131108_vaadin1.xml | 13 +++++ ..._io_lettuce_lettuce_core_5_2_2_RELEASE.xml | 13 +++++ ...en__io_netty_netty_buffer_4_1_48_Final.xml | 13 +++++ ...ven__io_netty_netty_codec_4_1_48_Final.xml | 13 +++++ ...en__io_netty_netty_common_4_1_48_Final.xml | 13 +++++ ...n__io_netty_netty_handler_4_1_48_Final.xml | 13 +++++ ...__io_netty_netty_resolver_4_1_48_Final.xml | 13 +++++ ..._io_netty_netty_transport_4_1_48_Final.xml | 13 +++++ ...jectreactor_reactor_core_3_3_4_RELEASE.xml | 13 +++++ ...ctivation_jakarta_activation_api_1_2_2.xml | 13 +++++ ...nnotation_jakarta_annotation_api_1_3_5.xml | 13 +++++ ...alidation_jakarta_validation_api_2_0_2.xml | 13 +++++ ...ta_xml_bind_jakarta_xml_bind_api_2_3_3.xml | 13 +++++ ...Maven__net_bytebuddy_byte_buddy_1_10_8.xml | 13 +++++ ..._net_bytebuddy_byte_buddy_agent_1_10_8.xml | 13 +++++ ...Maven__net_minidev_accessors_smart_1_2.xml | 13 +++++ .../Maven__net_minidev_json_smart_2_3.xml | 13 +++++ ...__org_apache_commons_commons_lang3_3_9.xml | 13 +++++ ..._apache_logging_log4j_log4j_api_2_12_1.xml | 13 +++++ ...he_logging_log4j_log4j_to_slf4j_2_12_1.xml | 13 +++++ ..._tomcat_embed_tomcat_embed_core_9_0_33.xml | 13 +++++ ...he_tomcat_embed_tomcat_embed_el_9_0_33.xml | 13 +++++ ...at_embed_tomcat_embed_websocket_9_0_33.xml | 13 +++++ ..._org_apiguardian_apiguardian_api_1_1_0.xml | 13 +++++ ...Maven__org_aspectj_aspectjweaver_1_9_5.xml | 13 +++++ ...Maven__org_assertj_assertj_core_3_13_2.xml | 13 +++++ ...rg_attoparser_attoparser_2_0_5_RELEASE.xml | 13 +++++ .../Maven__org_hamcrest_hamcrest_2_1.xml | 13 +++++ ...dator_hibernate_validator_6_0_18_Final.xml | 13 +++++ ...boss_logging_jboss_logging_3_4_1_Final.xml | 13 +++++ ..._org_junit_jupiter_junit_jupiter_5_5_2.xml | 13 +++++ ..._junit_jupiter_junit_jupiter_api_5_5_2.xml | 13 +++++ ...nit_jupiter_junit_jupiter_engine_5_5_2.xml | 13 +++++ ...nit_jupiter_junit_jupiter_params_5_5_2.xml | 13 +++++ ..._platform_junit_platform_commons_1_5_2.xml | 13 +++++ ...t_platform_junit_platform_engine_1_5_2.xml | 13 +++++ .../Maven__org_mockito_mockito_core_3_1_0.xml | 13 +++++ ...rg_mockito_mockito_junit_jupiter_3_1_0.xml | 13 +++++ .../Maven__org_objenesis_objenesis_2_6.xml | 13 +++++ ...Maven__org_opentest4j_opentest4j_1_2_0.xml | 13 +++++ .../Maven__org_ow2_asm_asm_5_0_4.xml | 13 +++++ ...reactivestreams_reactive_streams_1_0_3.xml | 13 +++++ ...aven__org_skyscreamer_jsonassert_1_5_0.xml | 13 +++++ .../Maven__org_slf4j_jul_to_slf4j_1_7_30.xml | 13 +++++ .../Maven__org_slf4j_slf4j_api_1_7_30.xml | 13 +++++ ...amework_boot_spring_boot_2_2_6_RELEASE.xml | 13 +++++ ...pring_boot_autoconfigure_2_2_6_RELEASE.xml | 13 +++++ ...boot_spring_boot_starter_2_2_6_RELEASE.xml | 13 +++++ ..._spring_boot_starter_aop_2_2_6_RELEASE.xml | 13 +++++ ..._boot_starter_data_redis_2_2_6_RELEASE.xml | 13 +++++ ...spring_boot_starter_json_2_2_6_RELEASE.xml | 13 +++++ ...ing_boot_starter_logging_2_2_6_RELEASE.xml | 13 +++++ ...spring_boot_starter_test_2_2_6_RELEASE.xml | 13 +++++ ...g_boot_starter_thymeleaf_2_1_3_RELEASE.xml | 13 +++++ ...ring_boot_starter_tomcat_2_2_6_RELEASE.xml | 13 +++++ ..._boot_starter_validation_2_2_6_RELEASE.xml | 13 +++++ ..._spring_boot_starter_web_2_2_6_RELEASE.xml | 13 +++++ ...rk_boot_spring_boot_test_2_2_6_RELEASE.xml | 13 +++++ ..._boot_test_autoconfigure_2_2_6_RELEASE.xml | 13 +++++ ...data_spring_data_commons_2_2_6_RELEASE.xml | 13 +++++ ...ata_spring_data_keyvalue_2_2_6_RELEASE.xml | 13 +++++ ...k_data_spring_data_redis_2_2_6_RELEASE.xml | 13 +++++ ...ringframework_spring_aop_5_2_5_RELEASE.xml | 13 +++++ ...ngframework_spring_beans_5_2_5_RELEASE.xml | 13 +++++ ...framework_spring_context_5_2_5_RELEASE.xml | 13 +++++ ...k_spring_context_support_5_2_5_RELEASE.xml | 13 +++++ ...ingframework_spring_core_5_2_5_RELEASE.xml | 13 +++++ ...mework_spring_expression_5_2_5_RELEASE.xml | 13 +++++ ...ringframework_spring_jcl_5_2_5_RELEASE.xml | 13 +++++ ...ringframework_spring_oxm_5_2_5_RELEASE.xml | 13 +++++ ...ingframework_spring_test_5_2_5_RELEASE.xml | 13 +++++ ...pringframework_spring_tx_5_2_5_RELEASE.xml | 13 +++++ ...ringframework_spring_web_5_2_5_RELEASE.xml | 13 +++++ ...gframework_spring_webmvc_5_2_5_RELEASE.xml | 13 +++++ ...ymeleaf_extras_java8time_3_0_4_RELEASE.xml | 13 +++++ ...org_thymeleaf_thymeleaf_3_0_11_RELEASE.xml | 13 +++++ ...eleaf_thymeleaf_spring5_3_0_11_RELEASE.xml | 13 +++++ ..._org_unbescape_unbescape_1_1_6_RELEASE.xml | 13 +++++ .../Maven__org_xmlunit_xmlunit_core_2_6_4.xml | 13 +++++ .../Maven__org_yaml_snakeyaml_1_25.xml | 13 +++++ .idea/misc.xml | 23 +++++++++ .idea/modules.xml | 12 +++++ .../01a9364e737dee997155a5c55d57ee3feb84d34d | 3 ++ .../0689723f3b44a3f47485d31e15f085b6a72ae48e | 0 .../07d543170fcafad15ba7c244d1d6aa79b96960d3 | 3 ++ .../12af68e6078599ae0c89be02582d8dbc43222de5 | 0 .../1cc55478f9cad9ef68e708e969ac5f5bd219f3f8 | 0 .../2426360d06e3daa2a30e7d12dfa9f48d5cfefd50 | 0 .../263874bf9afc39ea833d824d79dc9d8b8b3adbc1 | 13 +++++ .../34c4a3d66e0abefb71f94ab4bd5c3ae00f3ca5b5 | 0 .../40d6408a43ce849b8b1aa92b0b8c1573c431e2c5 | 0 .../4182b441086a62bc8513f3f50c8d902a862da59d | 0 .../50f349041f30492d452e5525fa7aec158ea011fc | 0 .../584050dd5c39cc79bdb07c57cec05d4938a5b29b | 0 .../5efcfb334f842f03ba9227c8629f32e410f1ed24 | 4 ++ .../63ca12b07cd0962411a1d4a4f1588dd1061daca1 | 23 +++++++++ .../7d6f10c57f82e17353364d85d1dd2df54234f0fb | 0 .../82a16688c1b997e9b44bf69e6e9bc8fe908b7e8d | 0 .../85ea05304e2afa156e8505061f38228eb93848e3 | 0 .../8d16b38b3849dfb47cd988615576b6dbccc10b55 | 0 .../8d73df94fa2173ddd357c59e7aa6f1adf37961ff | 3 ++ .../a6fdc3efd838f42d73e716dc81a2eed9a4f79257 | 0 .../ccbd3bc6ea1f8c1eaa8ee569cea24e56d4635d54 | 0 .../e05b0b73f6fc1de6369f7500b5c599814587632b | 0 .../e38c6787459a1ae0db7de864559af01e49443bdb | 0 .../e5745022c677eb737261d98d55c091d1d562118e | 0 .../ffa8e1f764cdd33102d71aa97d39bbdfd060d082 | 0 .idea/sonarlint/issuestore/index.pb | 51 +++++++++++++++++++ 126 files changed, 1433 insertions(+) create mode 100644 .idea/Springboot-Notebook.iml create mode 100644 .idea/checkstyle-idea.xml create mode 100644 .idea/compiler.xml create mode 100644 .idea/encodings.xml create mode 100644 .idea/inspectionProfiles/Project_Default.xml create mode 100644 .idea/kotlinc.xml create mode 100644 .idea/libraries/Maven__ch_qos_logback_logback_classic_1_2_3.xml create mode 100644 .idea/libraries/Maven__ch_qos_logback_logback_core_1_2_3.xml create mode 100644 .idea/libraries/Maven__com_alibaba_fastjson_1_2_49.xml create mode 100644 .idea/libraries/Maven__com_fasterxml_classmate_1_5_1.xml create mode 100644 .idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_10_3.xml create mode 100644 .idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_10_3.xml create mode 100644 .idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_10_3.xml create mode 100644 .idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_10_3.xml create mode 100644 .idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_10_3.xml create mode 100644 .idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_10_3.xml create mode 100644 .idea/libraries/Maven__com_google_guava_guava_21_0.xml create mode 100644 .idea/libraries/Maven__com_jayway_jsonpath_json_path_2_4_0.xml create mode 100644 .idea/libraries/Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml create mode 100644 .idea/libraries/Maven__io_lettuce_lettuce_core_5_2_2_RELEASE.xml create mode 100644 .idea/libraries/Maven__io_netty_netty_buffer_4_1_48_Final.xml create mode 100644 .idea/libraries/Maven__io_netty_netty_codec_4_1_48_Final.xml create mode 100644 .idea/libraries/Maven__io_netty_netty_common_4_1_48_Final.xml create mode 100644 .idea/libraries/Maven__io_netty_netty_handler_4_1_48_Final.xml create mode 100644 .idea/libraries/Maven__io_netty_netty_resolver_4_1_48_Final.xml create mode 100644 .idea/libraries/Maven__io_netty_netty_transport_4_1_48_Final.xml create mode 100644 .idea/libraries/Maven__io_projectreactor_reactor_core_3_3_4_RELEASE.xml create mode 100644 .idea/libraries/Maven__jakarta_activation_jakarta_activation_api_1_2_2.xml create mode 100644 .idea/libraries/Maven__jakarta_annotation_jakarta_annotation_api_1_3_5.xml create mode 100644 .idea/libraries/Maven__jakarta_validation_jakarta_validation_api_2_0_2.xml create mode 100644 .idea/libraries/Maven__jakarta_xml_bind_jakarta_xml_bind_api_2_3_3.xml create mode 100644 .idea/libraries/Maven__net_bytebuddy_byte_buddy_1_10_8.xml create mode 100644 .idea/libraries/Maven__net_bytebuddy_byte_buddy_agent_1_10_8.xml create mode 100644 .idea/libraries/Maven__net_minidev_accessors_smart_1_2.xml create mode 100644 .idea/libraries/Maven__net_minidev_json_smart_2_3.xml create mode 100644 .idea/libraries/Maven__org_apache_commons_commons_lang3_3_9.xml create mode 100644 .idea/libraries/Maven__org_apache_logging_log4j_log4j_api_2_12_1.xml create mode 100644 .idea/libraries/Maven__org_apache_logging_log4j_log4j_to_slf4j_2_12_1.xml create mode 100644 .idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_core_9_0_33.xml create mode 100644 .idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_el_9_0_33.xml create mode 100644 .idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_33.xml create mode 100644 .idea/libraries/Maven__org_apiguardian_apiguardian_api_1_1_0.xml create mode 100644 .idea/libraries/Maven__org_aspectj_aspectjweaver_1_9_5.xml create mode 100644 .idea/libraries/Maven__org_assertj_assertj_core_3_13_2.xml create mode 100644 .idea/libraries/Maven__org_attoparser_attoparser_2_0_5_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_hamcrest_hamcrest_2_1.xml create mode 100644 .idea/libraries/Maven__org_hibernate_validator_hibernate_validator_6_0_18_Final.xml create mode 100644 .idea/libraries/Maven__org_jboss_logging_jboss_logging_3_4_1_Final.xml create mode 100644 .idea/libraries/Maven__org_junit_jupiter_junit_jupiter_5_5_2.xml create mode 100644 .idea/libraries/Maven__org_junit_jupiter_junit_jupiter_api_5_5_2.xml create mode 100644 .idea/libraries/Maven__org_junit_jupiter_junit_jupiter_engine_5_5_2.xml create mode 100644 .idea/libraries/Maven__org_junit_jupiter_junit_jupiter_params_5_5_2.xml create mode 100644 .idea/libraries/Maven__org_junit_platform_junit_platform_commons_1_5_2.xml create mode 100644 .idea/libraries/Maven__org_junit_platform_junit_platform_engine_1_5_2.xml create mode 100644 .idea/libraries/Maven__org_mockito_mockito_core_3_1_0.xml create mode 100644 .idea/libraries/Maven__org_mockito_mockito_junit_jupiter_3_1_0.xml create mode 100644 .idea/libraries/Maven__org_objenesis_objenesis_2_6.xml create mode 100644 .idea/libraries/Maven__org_opentest4j_opentest4j_1_2_0.xml create mode 100644 .idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml create mode 100644 .idea/libraries/Maven__org_reactivestreams_reactive_streams_1_0_3.xml create mode 100644 .idea/libraries/Maven__org_skyscreamer_jsonassert_1_5_0.xml create mode 100644 .idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_30.xml create mode 100644 .idea/libraries/Maven__org_slf4j_slf4j_api_1_7_30.xml create mode 100644 .idea/libraries/Maven__org_springframework_boot_spring_boot_2_2_6_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_springframework_boot_spring_boot_autoconfigure_2_2_6_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_springframework_boot_spring_boot_starter_2_2_6_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_springframework_boot_spring_boot_starter_aop_2_2_6_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_springframework_boot_spring_boot_starter_data_redis_2_2_6_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_springframework_boot_spring_boot_starter_json_2_2_6_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_springframework_boot_spring_boot_starter_logging_2_2_6_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_springframework_boot_spring_boot_starter_test_2_2_6_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_springframework_boot_spring_boot_starter_thymeleaf_2_1_3_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_springframework_boot_spring_boot_starter_tomcat_2_2_6_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_springframework_boot_spring_boot_starter_validation_2_2_6_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_springframework_boot_spring_boot_starter_web_2_2_6_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_springframework_boot_spring_boot_test_2_2_6_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_2_6_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_springframework_data_spring_data_commons_2_2_6_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_springframework_data_spring_data_keyvalue_2_2_6_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_springframework_data_spring_data_redis_2_2_6_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_springframework_spring_aop_5_2_5_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_springframework_spring_beans_5_2_5_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_springframework_spring_context_5_2_5_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_springframework_spring_context_support_5_2_5_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_springframework_spring_core_5_2_5_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_springframework_spring_expression_5_2_5_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_springframework_spring_jcl_5_2_5_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_springframework_spring_oxm_5_2_5_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_springframework_spring_test_5_2_5_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_springframework_spring_tx_5_2_5_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_springframework_spring_web_5_2_5_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_springframework_spring_webmvc_5_2_5_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_thymeleaf_extras_thymeleaf_extras_java8time_3_0_4_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_thymeleaf_thymeleaf_3_0_11_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_thymeleaf_thymeleaf_spring5_3_0_11_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_unbescape_unbescape_1_1_6_RELEASE.xml create mode 100644 .idea/libraries/Maven__org_xmlunit_xmlunit_core_2_6_4.xml create mode 100644 .idea/libraries/Maven__org_yaml_snakeyaml_1_25.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/sonarlint/issuestore/0/1/01a9364e737dee997155a5c55d57ee3feb84d34d create mode 100644 .idea/sonarlint/issuestore/0/6/0689723f3b44a3f47485d31e15f085b6a72ae48e create mode 100644 .idea/sonarlint/issuestore/0/7/07d543170fcafad15ba7c244d1d6aa79b96960d3 create mode 100644 .idea/sonarlint/issuestore/1/2/12af68e6078599ae0c89be02582d8dbc43222de5 create mode 100644 .idea/sonarlint/issuestore/1/c/1cc55478f9cad9ef68e708e969ac5f5bd219f3f8 create mode 100644 .idea/sonarlint/issuestore/2/4/2426360d06e3daa2a30e7d12dfa9f48d5cfefd50 create mode 100644 .idea/sonarlint/issuestore/2/6/263874bf9afc39ea833d824d79dc9d8b8b3adbc1 create mode 100644 .idea/sonarlint/issuestore/3/4/34c4a3d66e0abefb71f94ab4bd5c3ae00f3ca5b5 create mode 100644 .idea/sonarlint/issuestore/4/0/40d6408a43ce849b8b1aa92b0b8c1573c431e2c5 create mode 100644 .idea/sonarlint/issuestore/4/1/4182b441086a62bc8513f3f50c8d902a862da59d create mode 100644 .idea/sonarlint/issuestore/5/0/50f349041f30492d452e5525fa7aec158ea011fc create mode 100644 .idea/sonarlint/issuestore/5/8/584050dd5c39cc79bdb07c57cec05d4938a5b29b create mode 100644 .idea/sonarlint/issuestore/5/e/5efcfb334f842f03ba9227c8629f32e410f1ed24 create mode 100644 .idea/sonarlint/issuestore/6/3/63ca12b07cd0962411a1d4a4f1588dd1061daca1 create mode 100644 .idea/sonarlint/issuestore/7/d/7d6f10c57f82e17353364d85d1dd2df54234f0fb create mode 100644 .idea/sonarlint/issuestore/8/2/82a16688c1b997e9b44bf69e6e9bc8fe908b7e8d create mode 100644 .idea/sonarlint/issuestore/8/5/85ea05304e2afa156e8505061f38228eb93848e3 create mode 100644 .idea/sonarlint/issuestore/8/d/8d16b38b3849dfb47cd988615576b6dbccc10b55 create mode 100644 .idea/sonarlint/issuestore/8/d/8d73df94fa2173ddd357c59e7aa6f1adf37961ff create mode 100644 .idea/sonarlint/issuestore/a/6/a6fdc3efd838f42d73e716dc81a2eed9a4f79257 create mode 100644 .idea/sonarlint/issuestore/c/c/ccbd3bc6ea1f8c1eaa8ee569cea24e56d4635d54 create mode 100644 .idea/sonarlint/issuestore/e/0/e05b0b73f6fc1de6369f7500b5c599814587632b create mode 100644 .idea/sonarlint/issuestore/e/3/e38c6787459a1ae0db7de864559af01e49443bdb create mode 100644 .idea/sonarlint/issuestore/e/5/e5745022c677eb737261d98d55c091d1d562118e create mode 100644 .idea/sonarlint/issuestore/f/f/ffa8e1f764cdd33102d71aa97d39bbdfd060d082 create mode 100644 .idea/sonarlint/issuestore/index.pb diff --git a/.idea/Springboot-Notebook.iml b/.idea/Springboot-Notebook.iml new file mode 100644 index 00000000..d6ebd480 --- /dev/null +++ b/.idea/Springboot-Notebook.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/checkstyle-idea.xml b/.idea/checkstyle-idea.xml new file mode 100644 index 00000000..034029da --- /dev/null +++ b/.idea/checkstyle-idea.xml @@ -0,0 +1,16 @@ + + + + + + \ No newline at end of file diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 00000000..d2fc8bed --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 00000000..185f90a5 --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 00000000..6560a989 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,36 @@ + + + + \ No newline at end of file diff --git a/.idea/kotlinc.xml b/.idea/kotlinc.xml new file mode 100644 index 00000000..1c24f9a8 --- /dev/null +++ b/.idea/kotlinc.xml @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__ch_qos_logback_logback_classic_1_2_3.xml b/.idea/libraries/Maven__ch_qos_logback_logback_classic_1_2_3.xml new file mode 100644 index 00000000..6fec8f43 --- /dev/null +++ b/.idea/libraries/Maven__ch_qos_logback_logback_classic_1_2_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__ch_qos_logback_logback_core_1_2_3.xml b/.idea/libraries/Maven__ch_qos_logback_logback_core_1_2_3.xml new file mode 100644 index 00000000..9eb8596a --- /dev/null +++ b/.idea/libraries/Maven__ch_qos_logback_logback_core_1_2_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_alibaba_fastjson_1_2_49.xml b/.idea/libraries/Maven__com_alibaba_fastjson_1_2_49.xml new file mode 100644 index 00000000..d4394098 --- /dev/null +++ b/.idea/libraries/Maven__com_alibaba_fastjson_1_2_49.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_fasterxml_classmate_1_5_1.xml b/.idea/libraries/Maven__com_fasterxml_classmate_1_5_1.xml new file mode 100644 index 00000000..bc7d7fd8 --- /dev/null +++ b/.idea/libraries/Maven__com_fasterxml_classmate_1_5_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_10_3.xml b/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_10_3.xml new file mode 100644 index 00000000..aa94641a --- /dev/null +++ b/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_10_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_10_3.xml b/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_10_3.xml new file mode 100644 index 00000000..e94ceb75 --- /dev/null +++ b/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_10_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_10_3.xml b/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_10_3.xml new file mode 100644 index 00000000..656ffa49 --- /dev/null +++ b/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_10_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_10_3.xml b/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_10_3.xml new file mode 100644 index 00000000..7261701c --- /dev/null +++ b/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_10_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_10_3.xml b/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_10_3.xml new file mode 100644 index 00000000..5124c4ce --- /dev/null +++ b/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_10_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_10_3.xml b/.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_10_3.xml new file mode 100644 index 00000000..31b440cc --- /dev/null +++ b/.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_10_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_google_guava_guava_21_0.xml b/.idea/libraries/Maven__com_google_guava_guava_21_0.xml new file mode 100644 index 00000000..a9234562 --- /dev/null +++ b/.idea/libraries/Maven__com_google_guava_guava_21_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_jayway_jsonpath_json_path_2_4_0.xml b/.idea/libraries/Maven__com_jayway_jsonpath_json_path_2_4_0.xml new file mode 100644 index 00000000..f19f6eb3 --- /dev/null +++ b/.idea/libraries/Maven__com_jayway_jsonpath_json_path_2_4_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml b/.idea/libraries/Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml new file mode 100644 index 00000000..b8581a6f --- /dev/null +++ b/.idea/libraries/Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__io_lettuce_lettuce_core_5_2_2_RELEASE.xml b/.idea/libraries/Maven__io_lettuce_lettuce_core_5_2_2_RELEASE.xml new file mode 100644 index 00000000..851d46fb --- /dev/null +++ b/.idea/libraries/Maven__io_lettuce_lettuce_core_5_2_2_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__io_netty_netty_buffer_4_1_48_Final.xml b/.idea/libraries/Maven__io_netty_netty_buffer_4_1_48_Final.xml new file mode 100644 index 00000000..b5ffa967 --- /dev/null +++ b/.idea/libraries/Maven__io_netty_netty_buffer_4_1_48_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__io_netty_netty_codec_4_1_48_Final.xml b/.idea/libraries/Maven__io_netty_netty_codec_4_1_48_Final.xml new file mode 100644 index 00000000..b21bbc74 --- /dev/null +++ b/.idea/libraries/Maven__io_netty_netty_codec_4_1_48_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__io_netty_netty_common_4_1_48_Final.xml b/.idea/libraries/Maven__io_netty_netty_common_4_1_48_Final.xml new file mode 100644 index 00000000..6d70c4aa --- /dev/null +++ b/.idea/libraries/Maven__io_netty_netty_common_4_1_48_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__io_netty_netty_handler_4_1_48_Final.xml b/.idea/libraries/Maven__io_netty_netty_handler_4_1_48_Final.xml new file mode 100644 index 00000000..a5c9956b --- /dev/null +++ b/.idea/libraries/Maven__io_netty_netty_handler_4_1_48_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__io_netty_netty_resolver_4_1_48_Final.xml b/.idea/libraries/Maven__io_netty_netty_resolver_4_1_48_Final.xml new file mode 100644 index 00000000..45ebb99c --- /dev/null +++ b/.idea/libraries/Maven__io_netty_netty_resolver_4_1_48_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__io_netty_netty_transport_4_1_48_Final.xml b/.idea/libraries/Maven__io_netty_netty_transport_4_1_48_Final.xml new file mode 100644 index 00000000..21802cfc --- /dev/null +++ b/.idea/libraries/Maven__io_netty_netty_transport_4_1_48_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__io_projectreactor_reactor_core_3_3_4_RELEASE.xml b/.idea/libraries/Maven__io_projectreactor_reactor_core_3_3_4_RELEASE.xml new file mode 100644 index 00000000..eb81c2fb --- /dev/null +++ b/.idea/libraries/Maven__io_projectreactor_reactor_core_3_3_4_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__jakarta_activation_jakarta_activation_api_1_2_2.xml b/.idea/libraries/Maven__jakarta_activation_jakarta_activation_api_1_2_2.xml new file mode 100644 index 00000000..be90656e --- /dev/null +++ b/.idea/libraries/Maven__jakarta_activation_jakarta_activation_api_1_2_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__jakarta_annotation_jakarta_annotation_api_1_3_5.xml b/.idea/libraries/Maven__jakarta_annotation_jakarta_annotation_api_1_3_5.xml new file mode 100644 index 00000000..cba9dd24 --- /dev/null +++ b/.idea/libraries/Maven__jakarta_annotation_jakarta_annotation_api_1_3_5.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__jakarta_validation_jakarta_validation_api_2_0_2.xml b/.idea/libraries/Maven__jakarta_validation_jakarta_validation_api_2_0_2.xml new file mode 100644 index 00000000..e66afb95 --- /dev/null +++ b/.idea/libraries/Maven__jakarta_validation_jakarta_validation_api_2_0_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__jakarta_xml_bind_jakarta_xml_bind_api_2_3_3.xml b/.idea/libraries/Maven__jakarta_xml_bind_jakarta_xml_bind_api_2_3_3.xml new file mode 100644 index 00000000..04213f73 --- /dev/null +++ b/.idea/libraries/Maven__jakarta_xml_bind_jakarta_xml_bind_api_2_3_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_10_8.xml b/.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_10_8.xml new file mode 100644 index 00000000..73e43180 --- /dev/null +++ b/.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_10_8.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__net_bytebuddy_byte_buddy_agent_1_10_8.xml b/.idea/libraries/Maven__net_bytebuddy_byte_buddy_agent_1_10_8.xml new file mode 100644 index 00000000..4d6fd9a2 --- /dev/null +++ b/.idea/libraries/Maven__net_bytebuddy_byte_buddy_agent_1_10_8.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__net_minidev_accessors_smart_1_2.xml b/.idea/libraries/Maven__net_minidev_accessors_smart_1_2.xml new file mode 100644 index 00000000..b3d38583 --- /dev/null +++ b/.idea/libraries/Maven__net_minidev_accessors_smart_1_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__net_minidev_json_smart_2_3.xml b/.idea/libraries/Maven__net_minidev_json_smart_2_3.xml new file mode 100644 index 00000000..10830235 --- /dev/null +++ b/.idea/libraries/Maven__net_minidev_json_smart_2_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_commons_commons_lang3_3_9.xml b/.idea/libraries/Maven__org_apache_commons_commons_lang3_3_9.xml new file mode 100644 index 00000000..9050e004 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_commons_commons_lang3_3_9.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_logging_log4j_log4j_api_2_12_1.xml b/.idea/libraries/Maven__org_apache_logging_log4j_log4j_api_2_12_1.xml new file mode 100644 index 00000000..ad038546 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_logging_log4j_log4j_api_2_12_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_logging_log4j_log4j_to_slf4j_2_12_1.xml b/.idea/libraries/Maven__org_apache_logging_log4j_log4j_to_slf4j_2_12_1.xml new file mode 100644 index 00000000..b4b1b1b6 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_logging_log4j_log4j_to_slf4j_2_12_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_core_9_0_33.xml b/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_core_9_0_33.xml new file mode 100644 index 00000000..1e88c55a --- /dev/null +++ b/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_core_9_0_33.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_el_9_0_33.xml b/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_el_9_0_33.xml new file mode 100644 index 00000000..16bfd1eb --- /dev/null +++ b/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_el_9_0_33.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_33.xml b/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_33.xml new file mode 100644 index 00000000..e61207b3 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_33.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apiguardian_apiguardian_api_1_1_0.xml b/.idea/libraries/Maven__org_apiguardian_apiguardian_api_1_1_0.xml new file mode 100644 index 00000000..f854ab00 --- /dev/null +++ b/.idea/libraries/Maven__org_apiguardian_apiguardian_api_1_1_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_aspectj_aspectjweaver_1_9_5.xml b/.idea/libraries/Maven__org_aspectj_aspectjweaver_1_9_5.xml new file mode 100644 index 00000000..1a387a4d --- /dev/null +++ b/.idea/libraries/Maven__org_aspectj_aspectjweaver_1_9_5.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_assertj_assertj_core_3_13_2.xml b/.idea/libraries/Maven__org_assertj_assertj_core_3_13_2.xml new file mode 100644 index 00000000..6222cc89 --- /dev/null +++ b/.idea/libraries/Maven__org_assertj_assertj_core_3_13_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_attoparser_attoparser_2_0_5_RELEASE.xml b/.idea/libraries/Maven__org_attoparser_attoparser_2_0_5_RELEASE.xml new file mode 100644 index 00000000..5bad7db8 --- /dev/null +++ b/.idea/libraries/Maven__org_attoparser_attoparser_2_0_5_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_hamcrest_hamcrest_2_1.xml b/.idea/libraries/Maven__org_hamcrest_hamcrest_2_1.xml new file mode 100644 index 00000000..b1702934 --- /dev/null +++ b/.idea/libraries/Maven__org_hamcrest_hamcrest_2_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_hibernate_validator_hibernate_validator_6_0_18_Final.xml b/.idea/libraries/Maven__org_hibernate_validator_hibernate_validator_6_0_18_Final.xml new file mode 100644 index 00000000..d035d9cd --- /dev/null +++ b/.idea/libraries/Maven__org_hibernate_validator_hibernate_validator_6_0_18_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_jboss_logging_jboss_logging_3_4_1_Final.xml b/.idea/libraries/Maven__org_jboss_logging_jboss_logging_3_4_1_Final.xml new file mode 100644 index 00000000..0b76247c --- /dev/null +++ b/.idea/libraries/Maven__org_jboss_logging_jboss_logging_3_4_1_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_5_5_2.xml b/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_5_5_2.xml new file mode 100644 index 00000000..5db07403 --- /dev/null +++ b/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_5_5_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_api_5_5_2.xml b/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_api_5_5_2.xml new file mode 100644 index 00000000..8fbc8ce2 --- /dev/null +++ b/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_api_5_5_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_engine_5_5_2.xml b/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_engine_5_5_2.xml new file mode 100644 index 00000000..cca5485d --- /dev/null +++ b/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_engine_5_5_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_params_5_5_2.xml b/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_params_5_5_2.xml new file mode 100644 index 00000000..e2713d08 --- /dev/null +++ b/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_params_5_5_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_junit_platform_junit_platform_commons_1_5_2.xml b/.idea/libraries/Maven__org_junit_platform_junit_platform_commons_1_5_2.xml new file mode 100644 index 00000000..4192cdcd --- /dev/null +++ b/.idea/libraries/Maven__org_junit_platform_junit_platform_commons_1_5_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_junit_platform_junit_platform_engine_1_5_2.xml b/.idea/libraries/Maven__org_junit_platform_junit_platform_engine_1_5_2.xml new file mode 100644 index 00000000..cbbd9b77 --- /dev/null +++ b/.idea/libraries/Maven__org_junit_platform_junit_platform_engine_1_5_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_mockito_mockito_core_3_1_0.xml b/.idea/libraries/Maven__org_mockito_mockito_core_3_1_0.xml new file mode 100644 index 00000000..c18526d0 --- /dev/null +++ b/.idea/libraries/Maven__org_mockito_mockito_core_3_1_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_mockito_mockito_junit_jupiter_3_1_0.xml b/.idea/libraries/Maven__org_mockito_mockito_junit_jupiter_3_1_0.xml new file mode 100644 index 00000000..d4e66431 --- /dev/null +++ b/.idea/libraries/Maven__org_mockito_mockito_junit_jupiter_3_1_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_objenesis_objenesis_2_6.xml b/.idea/libraries/Maven__org_objenesis_objenesis_2_6.xml new file mode 100644 index 00000000..af41e3b6 --- /dev/null +++ b/.idea/libraries/Maven__org_objenesis_objenesis_2_6.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_opentest4j_opentest4j_1_2_0.xml b/.idea/libraries/Maven__org_opentest4j_opentest4j_1_2_0.xml new file mode 100644 index 00000000..fbc1b163 --- /dev/null +++ b/.idea/libraries/Maven__org_opentest4j_opentest4j_1_2_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml b/.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml new file mode 100644 index 00000000..0bf8cf2b --- /dev/null +++ b/.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_reactivestreams_reactive_streams_1_0_3.xml b/.idea/libraries/Maven__org_reactivestreams_reactive_streams_1_0_3.xml new file mode 100644 index 00000000..f17253bf --- /dev/null +++ b/.idea/libraries/Maven__org_reactivestreams_reactive_streams_1_0_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_skyscreamer_jsonassert_1_5_0.xml b/.idea/libraries/Maven__org_skyscreamer_jsonassert_1_5_0.xml new file mode 100644 index 00000000..c4c54d6d --- /dev/null +++ b/.idea/libraries/Maven__org_skyscreamer_jsonassert_1_5_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_30.xml b/.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_30.xml new file mode 100644 index 00000000..27229ce3 --- /dev/null +++ b/.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_30.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_30.xml b/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_30.xml new file mode 100644 index 00000000..02b6812c --- /dev/null +++ b/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_30.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_boot_spring_boot_2_2_6_RELEASE.xml b/.idea/libraries/Maven__org_springframework_boot_spring_boot_2_2_6_RELEASE.xml new file mode 100644 index 00000000..35e80377 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_boot_spring_boot_2_2_6_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_boot_spring_boot_autoconfigure_2_2_6_RELEASE.xml b/.idea/libraries/Maven__org_springframework_boot_spring_boot_autoconfigure_2_2_6_RELEASE.xml new file mode 100644 index 00000000..5b60c93b --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_boot_spring_boot_autoconfigure_2_2_6_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_2_2_6_RELEASE.xml b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_2_2_6_RELEASE.xml new file mode 100644 index 00000000..20e8b4f5 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_2_2_6_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_aop_2_2_6_RELEASE.xml b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_aop_2_2_6_RELEASE.xml new file mode 100644 index 00000000..9c842573 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_aop_2_2_6_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_data_redis_2_2_6_RELEASE.xml b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_data_redis_2_2_6_RELEASE.xml new file mode 100644 index 00000000..352caeac --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_data_redis_2_2_6_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_json_2_2_6_RELEASE.xml b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_json_2_2_6_RELEASE.xml new file mode 100644 index 00000000..94147d6c --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_json_2_2_6_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_logging_2_2_6_RELEASE.xml b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_logging_2_2_6_RELEASE.xml new file mode 100644 index 00000000..cee45df0 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_logging_2_2_6_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_test_2_2_6_RELEASE.xml b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_test_2_2_6_RELEASE.xml new file mode 100644 index 00000000..5be67a68 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_test_2_2_6_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_thymeleaf_2_1_3_RELEASE.xml b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_thymeleaf_2_1_3_RELEASE.xml new file mode 100644 index 00000000..fa0bbdc9 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_thymeleaf_2_1_3_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_tomcat_2_2_6_RELEASE.xml b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_tomcat_2_2_6_RELEASE.xml new file mode 100644 index 00000000..960a99f2 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_tomcat_2_2_6_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_validation_2_2_6_RELEASE.xml b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_validation_2_2_6_RELEASE.xml new file mode 100644 index 00000000..fa682045 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_validation_2_2_6_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_web_2_2_6_RELEASE.xml b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_web_2_2_6_RELEASE.xml new file mode 100644 index 00000000..3e807b06 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_web_2_2_6_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_2_2_6_RELEASE.xml b/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_2_2_6_RELEASE.xml new file mode 100644 index 00000000..ea379592 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_2_2_6_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_2_6_RELEASE.xml b/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_2_6_RELEASE.xml new file mode 100644 index 00000000..c8fab5d5 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_2_6_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_data_spring_data_commons_2_2_6_RELEASE.xml b/.idea/libraries/Maven__org_springframework_data_spring_data_commons_2_2_6_RELEASE.xml new file mode 100644 index 00000000..6136f0d4 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_data_spring_data_commons_2_2_6_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_data_spring_data_keyvalue_2_2_6_RELEASE.xml b/.idea/libraries/Maven__org_springframework_data_spring_data_keyvalue_2_2_6_RELEASE.xml new file mode 100644 index 00000000..f77f1896 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_data_spring_data_keyvalue_2_2_6_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_data_spring_data_redis_2_2_6_RELEASE.xml b/.idea/libraries/Maven__org_springframework_data_spring_data_redis_2_2_6_RELEASE.xml new file mode 100644 index 00000000..86ebc51c --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_data_spring_data_redis_2_2_6_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_spring_aop_5_2_5_RELEASE.xml b/.idea/libraries/Maven__org_springframework_spring_aop_5_2_5_RELEASE.xml new file mode 100644 index 00000000..13397380 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_spring_aop_5_2_5_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_spring_beans_5_2_5_RELEASE.xml b/.idea/libraries/Maven__org_springframework_spring_beans_5_2_5_RELEASE.xml new file mode 100644 index 00000000..97d38e86 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_spring_beans_5_2_5_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_spring_context_5_2_5_RELEASE.xml b/.idea/libraries/Maven__org_springframework_spring_context_5_2_5_RELEASE.xml new file mode 100644 index 00000000..65e18f73 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_spring_context_5_2_5_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_spring_context_support_5_2_5_RELEASE.xml b/.idea/libraries/Maven__org_springframework_spring_context_support_5_2_5_RELEASE.xml new file mode 100644 index 00000000..18538125 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_spring_context_support_5_2_5_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_spring_core_5_2_5_RELEASE.xml b/.idea/libraries/Maven__org_springframework_spring_core_5_2_5_RELEASE.xml new file mode 100644 index 00000000..9901cb97 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_spring_core_5_2_5_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_spring_expression_5_2_5_RELEASE.xml b/.idea/libraries/Maven__org_springframework_spring_expression_5_2_5_RELEASE.xml new file mode 100644 index 00000000..dd19707e --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_spring_expression_5_2_5_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_spring_jcl_5_2_5_RELEASE.xml b/.idea/libraries/Maven__org_springframework_spring_jcl_5_2_5_RELEASE.xml new file mode 100644 index 00000000..b1ffa91a --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_spring_jcl_5_2_5_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_spring_oxm_5_2_5_RELEASE.xml b/.idea/libraries/Maven__org_springframework_spring_oxm_5_2_5_RELEASE.xml new file mode 100644 index 00000000..03b17cfc --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_spring_oxm_5_2_5_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_spring_test_5_2_5_RELEASE.xml b/.idea/libraries/Maven__org_springframework_spring_test_5_2_5_RELEASE.xml new file mode 100644 index 00000000..ad47fa36 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_spring_test_5_2_5_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_spring_tx_5_2_5_RELEASE.xml b/.idea/libraries/Maven__org_springframework_spring_tx_5_2_5_RELEASE.xml new file mode 100644 index 00000000..97a3dce4 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_spring_tx_5_2_5_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_spring_web_5_2_5_RELEASE.xml b/.idea/libraries/Maven__org_springframework_spring_web_5_2_5_RELEASE.xml new file mode 100644 index 00000000..36a90f56 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_spring_web_5_2_5_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_spring_webmvc_5_2_5_RELEASE.xml b/.idea/libraries/Maven__org_springframework_spring_webmvc_5_2_5_RELEASE.xml new file mode 100644 index 00000000..a1ca211e --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_spring_webmvc_5_2_5_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_thymeleaf_extras_thymeleaf_extras_java8time_3_0_4_RELEASE.xml b/.idea/libraries/Maven__org_thymeleaf_extras_thymeleaf_extras_java8time_3_0_4_RELEASE.xml new file mode 100644 index 00000000..7b246ae1 --- /dev/null +++ b/.idea/libraries/Maven__org_thymeleaf_extras_thymeleaf_extras_java8time_3_0_4_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_thymeleaf_thymeleaf_3_0_11_RELEASE.xml b/.idea/libraries/Maven__org_thymeleaf_thymeleaf_3_0_11_RELEASE.xml new file mode 100644 index 00000000..7b72babd --- /dev/null +++ b/.idea/libraries/Maven__org_thymeleaf_thymeleaf_3_0_11_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_thymeleaf_thymeleaf_spring5_3_0_11_RELEASE.xml b/.idea/libraries/Maven__org_thymeleaf_thymeleaf_spring5_3_0_11_RELEASE.xml new file mode 100644 index 00000000..3370587a --- /dev/null +++ b/.idea/libraries/Maven__org_thymeleaf_thymeleaf_spring5_3_0_11_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_unbescape_unbescape_1_1_6_RELEASE.xml b/.idea/libraries/Maven__org_unbescape_unbescape_1_1_6_RELEASE.xml new file mode 100644 index 00000000..2334aa05 --- /dev/null +++ b/.idea/libraries/Maven__org_unbescape_unbescape_1_1_6_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_xmlunit_xmlunit_core_2_6_4.xml b/.idea/libraries/Maven__org_xmlunit_xmlunit_core_2_6_4.xml new file mode 100644 index 00000000..13230150 --- /dev/null +++ b/.idea/libraries/Maven__org_xmlunit_xmlunit_core_2_6_4.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_yaml_snakeyaml_1_25.xml b/.idea/libraries/Maven__org_yaml_snakeyaml_1_25.xml new file mode 100644 index 00000000..495fc06f --- /dev/null +++ b/.idea/libraries/Maven__org_yaml_snakeyaml_1_25.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 00000000..48be38e6 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,23 @@ + + + + + + + + + + C:\Users\51536\AppData\Roaming\Subversion + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 00000000..ac3e3780 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/0/1/01a9364e737dee997155a5c55d57ee3feb84d34d b/.idea/sonarlint/issuestore/0/1/01a9364e737dee997155a5c55d57ee3feb84d34d new file mode 100644 index 00000000..01d894d1 --- /dev/null +++ b/.idea/sonarlint/issuestore/0/1/01a9364e737dee997155a5c55d57ee3feb84d34d @@ -0,0 +1,3 @@ + +F squid:S5411""*Use the primitive boolean expression here.(Չ +I squid:S1135"2Complete the task associated to this TODO comment.( \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/0/6/0689723f3b44a3f47485d31e15f085b6a72ae48e b/.idea/sonarlint/issuestore/0/6/0689723f3b44a3f47485d31e15f085b6a72ae48e new file mode 100644 index 00000000..e69de29b diff --git a/.idea/sonarlint/issuestore/0/7/07d543170fcafad15ba7c244d1d6aa79b96960d3 b/.idea/sonarlint/issuestore/0/7/07d543170fcafad15ba7c244d1d6aa79b96960d3 new file mode 100644 index 00000000..2016a68d --- /dev/null +++ b/.idea/sonarlint/issuestore/0/7/07d543170fcafad15ba7c244d1d6aa79b96960d3 @@ -0,0 +1,3 @@ + +d squid:S4488"HReplace "@RequestMapping(method = RequestMethod.GET)" with "@GetMapping"( +gsquid:CommentedOutCodeLine""9Replace this use of System.out or System.err by a logger.( +O +squid:S106I"9Replace this use of System.out or System.err by a logger.( +O +squid:S106N"9Replace this use of System.out or System.err by a logger.( +T +squid:S106R"9Replace this use of System.out or System.err by a logger.( +A squid:S1181W"%Catch Exception instead of Throwable.( +N +squid:S106U"9Replace this use of System.out or System.err by a logger.(" +T +squid:S106X"9Replace this use of System.out or System.err by a logger.(כ \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/7/d/7d6f10c57f82e17353364d85d1dd2df54234f0fb b/.idea/sonarlint/issuestore/7/d/7d6f10c57f82e17353364d85d1dd2df54234f0fb new file mode 100644 index 00000000..e69de29b diff --git a/.idea/sonarlint/issuestore/8/2/82a16688c1b997e9b44bf69e6e9bc8fe908b7e8d b/.idea/sonarlint/issuestore/8/2/82a16688c1b997e9b44bf69e6e9bc8fe908b7e8d new file mode 100644 index 00000000..e69de29b diff --git a/.idea/sonarlint/issuestore/8/5/85ea05304e2afa156e8505061f38228eb93848e3 b/.idea/sonarlint/issuestore/8/5/85ea05304e2afa156e8505061f38228eb93848e3 new file mode 100644 index 00000000..e69de29b diff --git a/.idea/sonarlint/issuestore/8/d/8d16b38b3849dfb47cd988615576b6dbccc10b55 b/.idea/sonarlint/issuestore/8/d/8d16b38b3849dfb47cd988615576b6dbccc10b55 new file mode 100644 index 00000000..e69de29b diff --git a/.idea/sonarlint/issuestore/8/d/8d73df94fa2173ddd357c59e7aa6f1adf37961ff b/.idea/sonarlint/issuestore/8/d/8d73df94fa2173ddd357c59e7aa6f1adf37961ff new file mode 100644 index 00000000..131bb9ae --- /dev/null +++ b/.idea/sonarlint/issuestore/8/d/8d73df94fa2173ddd357c59e7aa6f1adf37961ff @@ -0,0 +1,3 @@ + +[ +squid:S106:"9Replace this use of System.out or System.err by a logger.(8۱ɰ. \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/a/6/a6fdc3efd838f42d73e716dc81a2eed9a4f79257 b/.idea/sonarlint/issuestore/a/6/a6fdc3efd838f42d73e716dc81a2eed9a4f79257 new file mode 100644 index 00000000..e69de29b diff --git a/.idea/sonarlint/issuestore/c/c/ccbd3bc6ea1f8c1eaa8ee569cea24e56d4635d54 b/.idea/sonarlint/issuestore/c/c/ccbd3bc6ea1f8c1eaa8ee569cea24e56d4635d54 new file mode 100644 index 00000000..e69de29b diff --git a/.idea/sonarlint/issuestore/e/0/e05b0b73f6fc1de6369f7500b5c599814587632b b/.idea/sonarlint/issuestore/e/0/e05b0b73f6fc1de6369f7500b5c599814587632b new file mode 100644 index 00000000..e69de29b diff --git a/.idea/sonarlint/issuestore/e/3/e38c6787459a1ae0db7de864559af01e49443bdb b/.idea/sonarlint/issuestore/e/3/e38c6787459a1ae0db7de864559af01e49443bdb new file mode 100644 index 00000000..e69de29b diff --git a/.idea/sonarlint/issuestore/e/5/e5745022c677eb737261d98d55c091d1d562118e b/.idea/sonarlint/issuestore/e/5/e5745022c677eb737261d98d55c091d1d562118e new file mode 100644 index 00000000..e69de29b diff --git a/.idea/sonarlint/issuestore/f/f/ffa8e1f764cdd33102d71aa97d39bbdfd060d082 b/.idea/sonarlint/issuestore/f/f/ffa8e1f764cdd33102d71aa97d39bbdfd060d082 new file mode 100644 index 00000000..e69de29b diff --git a/.idea/sonarlint/issuestore/index.pb b/.idea/sonarlint/issuestore/index.pb new file mode 100644 index 00000000..60b358e0 --- /dev/null +++ b/.idea/sonarlint/issuestore/index.pb @@ -0,0 +1,51 @@ + + +Vspringboot-aop-redis-lua/src/main/java/com/xiaofu/limit/controller/TimeController.java,5\e\5efcfb334f842f03ba9227c8629f32e410f1ed24 + +Yspringboot-aop-redis-lua/src/main/java/com/xiaofu/limit/controller/LimiterController.java,e\3\e38c6787459a1ae0db7de864559af01e49443bdb + +Tspringboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/config/QueueConfig.java,3\4\34c4a3d66e0abefb71f94ab4bd5c3ae00f3ca5b5 +P + springboot-rabbitmq-confirm/mvnw,4\0\40d6408a43ce849b8b1aa92b0b8c1573c431e2c5 + +`.idea/libraries/Maven__org_springframework_integration_spring_integration_mqtt_5_0_8_RELEASE.xml,8\2\82a16688c1b997e9b44bf69e6e9bc8fe908b7e8d +V +&springboot-rabbitmq-confirm/.gitignore,e\5\e5745022c677eb737261d98d55c091d1d562118e + +Zspringboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/receiver/ReceiverMessage.java,0\1\01a9364e737dee997155a5c55d57ee3feb84d34d +T +$springboot-rabbitmq-confirm/mvnw.cmd,8\5\85ea05304e2afa156e8505061f38228eb93848e3 + +[springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/controller/TestController.java,0\7\07d543170fcafad15ba7c244d1d6aa79b96960d3 + +fspringboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/SpringbootRabbitmqConfirmApplication.java,0\6\0689723f3b44a3f47485d31e15f085b6a72ae48e + +Tspringboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/sender/SendMessage.java,1\c\1cc55478f9cad9ef68e708e969ac5f5bd219f3f8 + +aspringboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/callback/ConfirmCallbackService.java,e\0\e05b0b73f6fc1de6369f7500b5c599814587632b +q +Aspringboot-rabbitmq-confirm/.mvn/wrapper/maven-wrapper.properties,f\f\ffa8e1f764cdd33102d71aa97d39bbdfd060d082 +S +#springboot-rabbitmq-confirm/pom.xml,2\4\2426360d06e3daa2a30e7d12dfa9f48d5cfefd50 + +[springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/receiver/ReceiverMessage1.java,2\6\263874bf9afc39ea833d824d79dc9d8b8b3adbc1 +w +G.idea/libraries/Maven__io_projectreactor_reactor_core_3_1_9_RELEASE.xml,8\d\8d16b38b3849dfb47cd988615576b6dbccc10b55 + +P.idea/libraries/Maven__org_eclipse_paho_org_eclipse_paho_client_mqttv3_1_2_0.xml,5\8\584050dd5c39cc79bdb07c57cec05d4938a5b29b +t +Dspringboot-rabbitmq-confirm/.mvn/wrapper/MavenWrapperDownloader.java,6\3\63ca12b07cd0962411a1d4a4f1588dd1061daca1 +u +E.idea/libraries/Maven__org_reactivestreams_reactive_streams_1_0_2.xml,5\0\50f349041f30492d452e5525fa7aec158ea011fc + +`springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/callback/ReturnCallbackService.java,a\6\a6fdc3efd838f42d73e716dc81a2eed9a4f79257 +u +Espringboot-rabbitmq-confirm/src/main/resources/application.properties,7\d\7d6f10c57f82e17353364d85d1dd2df54234f0fb + +`.idea/libraries/Maven__org_springframework_integration_spring_integration_core_5_0_8_RELEASE.xml,1\2\12af68e6078599ae0c89be02582d8dbc43222de5 + +Uspringboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/config/IotMqttProducerConfig.java,8\d\8d73df94fa2173ddd357c59e7aa6f1adf37961ff +S +#springboot-rabbitmq-mqtt/.gitignore,c\c\ccbd3bc6ea1f8c1eaa8ee569cea24e56d4635d54 +e +5springboot-rabbitmq-mqtt/springboot-rabbitmq-mqtt.iml,4\1\4182b441086a62bc8513f3f50c8d902a862da59d \ No newline at end of file From 4b65e1e8284f9b59436f0cf36355be674f0ee3e9 Mon Sep 17 00:00:00 2001 From: xin <515361725@qq.com> Date: Tue, 14 Jul 2020 18:22:00 +0800 Subject: [PATCH 10/35] springboot-rabbitmq-mqtt- --- springboot-delayqueue/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/springboot-delayqueue/pom.xml b/springboot-delayqueue/pom.xml index 65bb4d31..52f95bdf 100644 --- a/springboot-delayqueue/pom.xml +++ b/springboot-delayqueue/pom.xml @@ -9,9 +9,9 @@ com.chengxy - delayqueue + springboot-delayqueue 0.0.1-SNAPSHOT - delayqueue + springboot-delayqueue Demo project for Spring Boot From 19ed73b04b5a07527e401d3a4d777a3d3c23141e Mon Sep 17 00:00:00 2001 From: xin <515361725@qq.com> Date: Wed, 15 Jul 2020 17:49:44 +0800 Subject: [PATCH 11/35] springboot-redisson-lock --- springboot-redisson-lock/.gitignore | 33 ++ springboot-redisson-lock/mvnw | 310 ++++++++++++++++++ springboot-redisson-lock/mvnw.cmd | 182 ++++++++++ springboot-redisson-lock/pom.xml | 56 ++++ .../SpringbootRedissonLockApplication.java | 7 +- .../src/main/resources/application.properties | 3 + ...pringbootRedissonLockApplicationTests.java | 13 + 7 files changed, 601 insertions(+), 3 deletions(-) create mode 100644 springboot-redisson-lock/.gitignore create mode 100644 springboot-redisson-lock/mvnw create mode 100644 springboot-redisson-lock/mvnw.cmd create mode 100644 springboot-redisson-lock/pom.xml rename springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/SpringbootRabbitmqMqttApplication.java => springboot-redisson-lock/src/main/java/com/xiaofu/redisson/SpringbootRedissonLockApplication.java (58%) create mode 100644 springboot-redisson-lock/src/main/resources/application.properties create mode 100644 springboot-redisson-lock/src/test/java/com/xiaofu/redisson/SpringbootRedissonLockApplicationTests.java diff --git a/springboot-redisson-lock/.gitignore b/springboot-redisson-lock/.gitignore new file mode 100644 index 00000000..549e00a2 --- /dev/null +++ b/springboot-redisson-lock/.gitignore @@ -0,0 +1,33 @@ +HELP.md +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ diff --git a/springboot-redisson-lock/mvnw b/springboot-redisson-lock/mvnw new file mode 100644 index 00000000..a16b5431 --- /dev/null +++ b/springboot-redisson-lock/mvnw @@ -0,0 +1,310 @@ +#!/bin/sh +# ---------------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ---------------------------------------------------------------------------- + +# ---------------------------------------------------------------------------- +# Maven Start Up Batch script +# +# Required ENV vars: +# ------------------ +# JAVA_HOME - location of a JDK home dir +# +# Optional ENV vars +# ----------------- +# M2_HOME - location of maven2's installed home dir +# MAVEN_OPTS - parameters passed to the Java VM when running Maven +# e.g. to debug Maven itself, use +# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +# MAVEN_SKIP_RC - flag to disable loading of mavenrc files +# ---------------------------------------------------------------------------- + +if [ -z "$MAVEN_SKIP_RC" ] ; then + + if [ -f /etc/mavenrc ] ; then + . /etc/mavenrc + fi + + if [ -f "$HOME/.mavenrc" ] ; then + . "$HOME/.mavenrc" + fi + +fi + +# OS specific support. $var _must_ be set to either true or false. +cygwin=false; +darwin=false; +mingw=false +case "`uname`" in + CYGWIN*) cygwin=true ;; + MINGW*) mingw=true;; + Darwin*) darwin=true + # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home + # See https://developer.apple.com/library/mac/qa/qa1170/_index.html + if [ -z "$JAVA_HOME" ]; then + if [ -x "/usr/libexec/java_home" ]; then + export JAVA_HOME="`/usr/libexec/java_home`" + else + export JAVA_HOME="/Library/Java/Home" + fi + fi + ;; +esac + +if [ -z "$JAVA_HOME" ] ; then + if [ -r /etc/gentoo-release ] ; then + JAVA_HOME=`java-config --jre-home` + fi +fi + +if [ -z "$M2_HOME" ] ; then + ## resolve links - $0 may be a link to maven's home + PRG="$0" + + # need this for relative symlinks + while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG="`dirname "$PRG"`/$link" + fi + done + + saveddir=`pwd` + + M2_HOME=`dirname "$PRG"`/.. + + # make it fully qualified + M2_HOME=`cd "$M2_HOME" && pwd` + + cd "$saveddir" + # echo Using m2 at $M2_HOME +fi + +# For Cygwin, ensure paths are in UNIX format before anything is touched +if $cygwin ; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --unix "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --unix "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --unix "$CLASSPATH"` +fi + +# For Mingw, ensure paths are in UNIX format before anything is touched +if $mingw ; then + [ -n "$M2_HOME" ] && + M2_HOME="`(cd "$M2_HOME"; pwd)`" + [ -n "$JAVA_HOME" ] && + JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`" +fi + +if [ -z "$JAVA_HOME" ]; then + javaExecutable="`which javac`" + if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then + # readlink(1) is not available as standard on Solaris 10. + readLink=`which readlink` + if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then + if $darwin ; then + javaHome="`dirname \"$javaExecutable\"`" + javaExecutable="`cd \"$javaHome\" && pwd -P`/javac" + else + javaExecutable="`readlink -f \"$javaExecutable\"`" + fi + javaHome="`dirname \"$javaExecutable\"`" + javaHome=`expr "$javaHome" : '\(.*\)/bin'` + JAVA_HOME="$javaHome" + export JAVA_HOME + fi + fi +fi + +if [ -z "$JAVACMD" ] ; then + if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + else + JAVACMD="`which java`" + fi +fi + +if [ ! -x "$JAVACMD" ] ; then + echo "Error: JAVA_HOME is not defined correctly." >&2 + echo " We cannot execute $JAVACMD" >&2 + exit 1 +fi + +if [ -z "$JAVA_HOME" ] ; then + echo "Warning: JAVA_HOME environment variable is not set." +fi + +CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher + +# traverses directory structure from process work directory to filesystem root +# first directory with .mvn subdirectory is considered project base directory +find_maven_basedir() { + + if [ -z "$1" ] + then + echo "Path not specified to find_maven_basedir" + return 1 + fi + + basedir="$1" + wdir="$1" + while [ "$wdir" != '/' ] ; do + if [ -d "$wdir"/.mvn ] ; then + basedir=$wdir + break + fi + # workaround for JBEAP-8937 (on Solaris 10/Sparc) + if [ -d "${wdir}" ]; then + wdir=`cd "$wdir/.."; pwd` + fi + # end of workaround + done + echo "${basedir}" +} + +# concatenates all lines of a file +concat_lines() { + if [ -f "$1" ]; then + echo "$(tr -s '\n' ' ' < "$1")" + fi +} + +BASE_DIR=`find_maven_basedir "$(pwd)"` +if [ -z "$BASE_DIR" ]; then + exit 1; +fi + +########################################################################################## +# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central +# This allows using the maven wrapper in projects that prohibit checking in binary data. +########################################################################################## +if [ -r "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" ]; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found .mvn/wrapper/maven-wrapper.jar" + fi +else + if [ "$MVNW_VERBOSE" = true ]; then + echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..." + fi + if [ -n "$MVNW_REPOURL" ]; then + jarUrl="$MVNW_REPOURL/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + else + jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + fi + while IFS="=" read key value; do + case "$key" in (wrapperUrl) jarUrl="$value"; break ;; + esac + done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties" + if [ "$MVNW_VERBOSE" = true ]; then + echo "Downloading from: $jarUrl" + fi + wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" + if $cygwin; then + wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"` + fi + + if command -v wget > /dev/null; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found wget ... using wget" + fi + if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then + wget "$jarUrl" -O "$wrapperJarPath" + else + wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath" + fi + elif command -v curl > /dev/null; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found curl ... using curl" + fi + if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then + curl -o "$wrapperJarPath" "$jarUrl" -f + else + curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o "$wrapperJarPath" "$jarUrl" -f + fi + + else + if [ "$MVNW_VERBOSE" = true ]; then + echo "Falling back to using Java to download" + fi + javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java" + # For Cygwin, switch paths to Windows format before running javac + if $cygwin; then + javaClass=`cygpath --path --windows "$javaClass"` + fi + if [ -e "$javaClass" ]; then + if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then + if [ "$MVNW_VERBOSE" = true ]; then + echo " - Compiling MavenWrapperDownloader.java ..." + fi + # Compiling the Java class + ("$JAVA_HOME/bin/javac" "$javaClass") + fi + if [ -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then + # Running the downloader + if [ "$MVNW_VERBOSE" = true ]; then + echo " - Running MavenWrapperDownloader.java ..." + fi + ("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$MAVEN_PROJECTBASEDIR") + fi + fi + fi +fi +########################################################################################## +# End of extension +########################################################################################## + +export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"} +if [ "$MVNW_VERBOSE" = true ]; then + echo $MAVEN_PROJECTBASEDIR +fi +MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS" + +# For Cygwin, switch paths to Windows format before running java +if $cygwin; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --path --windows "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --windows "$CLASSPATH"` + [ -n "$MAVEN_PROJECTBASEDIR" ] && + MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"` +fi + +# Provide a "standardized" way to retrieve the CLI args that will +# work with both Windows and non-Windows executions. +MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@" +export MAVEN_CMD_LINE_ARGS + +WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +exec "$JAVACMD" \ + $MAVEN_OPTS \ + -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \ + "-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \ + ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@" diff --git a/springboot-redisson-lock/mvnw.cmd b/springboot-redisson-lock/mvnw.cmd new file mode 100644 index 00000000..c8d43372 --- /dev/null +++ b/springboot-redisson-lock/mvnw.cmd @@ -0,0 +1,182 @@ +@REM ---------------------------------------------------------------------------- +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at +@REM +@REM https://www.apache.org/licenses/LICENSE-2.0 +@REM +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. +@REM ---------------------------------------------------------------------------- + +@REM ---------------------------------------------------------------------------- +@REM Maven Start Up Batch script +@REM +@REM Required ENV vars: +@REM JAVA_HOME - location of a JDK home dir +@REM +@REM Optional ENV vars +@REM M2_HOME - location of maven2's installed home dir +@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands +@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending +@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven +@REM e.g. to debug Maven itself, use +@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files +@REM ---------------------------------------------------------------------------- + +@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on' +@echo off +@REM set title of command window +title %0 +@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on' +@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO% + +@REM set %HOME% to equivalent of $HOME +if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%") + +@REM Execute a user defined script before this one +if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre +@REM check for pre script, once with legacy .bat ending and once with .cmd ending +if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat" +if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd" +:skipRcPre + +@setlocal + +set ERROR_CODE=0 + +@REM To isolate internal variables from possible post scripts, we use another setlocal +@setlocal + +@REM ==== START VALIDATION ==== +if not "%JAVA_HOME%" == "" goto OkJHome + +echo. +echo Error: JAVA_HOME not found in your environment. >&2 +echo Please set the JAVA_HOME variable in your environment to match the >&2 +echo location of your Java installation. >&2 +echo. +goto error + +:OkJHome +if exist "%JAVA_HOME%\bin\java.exe" goto init + +echo. +echo Error: JAVA_HOME is set to an invalid directory. >&2 +echo JAVA_HOME = "%JAVA_HOME%" >&2 +echo Please set the JAVA_HOME variable in your environment to match the >&2 +echo location of your Java installation. >&2 +echo. +goto error + +@REM ==== END VALIDATION ==== + +:init + +@REM Find the project base dir, i.e. the directory that contains the folder ".mvn". +@REM Fallback to current working directory if not found. + +set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR% +IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir + +set EXEC_DIR=%CD% +set WDIR=%EXEC_DIR% +:findBaseDir +IF EXIST "%WDIR%"\.mvn goto baseDirFound +cd .. +IF "%WDIR%"=="%CD%" goto baseDirNotFound +set WDIR=%CD% +goto findBaseDir + +:baseDirFound +set MAVEN_PROJECTBASEDIR=%WDIR% +cd "%EXEC_DIR%" +goto endDetectBaseDir + +:baseDirNotFound +set MAVEN_PROJECTBASEDIR=%EXEC_DIR% +cd "%EXEC_DIR%" + +:endDetectBaseDir + +IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig + +@setlocal EnableExtensions EnableDelayedExpansion +for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a +@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS% + +:endReadAdditionalConfig + +SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe" +set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar" +set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + +FOR /F "tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO ( + IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B +) + +@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central +@REM This allows using the maven wrapper in projects that prohibit checking in binary data. +if exist %WRAPPER_JAR% ( + if "%MVNW_VERBOSE%" == "true" ( + echo Found %WRAPPER_JAR% + ) +) else ( + if not "%MVNW_REPOURL%" == "" ( + SET DOWNLOAD_URL="%MVNW_REPOURL%/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + ) + if "%MVNW_VERBOSE%" == "true" ( + echo Couldn't find %WRAPPER_JAR%, downloading it ... + echo Downloading from: %DOWNLOAD_URL% + ) + + powershell -Command "&{"^ + "$webclient = new-object System.Net.WebClient;"^ + "if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^ + "$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^ + "}"^ + "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^ + "}" + if "%MVNW_VERBOSE%" == "true" ( + echo Finished downloading %WRAPPER_JAR% + ) +) +@REM End of extension + +@REM Provide a "standardized" way to retrieve the CLI args that will +@REM work with both Windows and non-Windows executions. +set MAVEN_CMD_LINE_ARGS=%* + +%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %* +if ERRORLEVEL 1 goto error +goto end + +:error +set ERROR_CODE=1 + +:end +@endlocal & set ERROR_CODE=%ERROR_CODE% + +if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost +@REM check for post script, once with legacy .bat ending and once with .cmd ending +if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat" +if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd" +:skipRcPost + +@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on' +if "%MAVEN_BATCH_PAUSE%" == "on" pause + +if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE% + +exit /B %ERROR_CODE% diff --git a/springboot-redisson-lock/pom.xml b/springboot-redisson-lock/pom.xml new file mode 100644 index 00000000..34d74e7a --- /dev/null +++ b/springboot-redisson-lock/pom.xml @@ -0,0 +1,56 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.2.5.RELEASE + + + com.chengxy + springboot-redisson-lock + 0.0.1-SNAPSHOT + springboot-redisson-lock + Demo project for Spring Boot + + + 1.8 + + + + + org.springframework.boot + spring-boot-starter + + + + org.springframework.boot + spring-boot-starter-test + test + + + org.junit.vintage + junit-vintage-engine + + + + + + org.redisson + redisson-spring-boot-starter + 3.11.4 + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/SpringbootRabbitmqMqttApplication.java b/springboot-redisson-lock/src/main/java/com/xiaofu/redisson/SpringbootRedissonLockApplication.java similarity index 58% rename from springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/SpringbootRabbitmqMqttApplication.java rename to springboot-redisson-lock/src/main/java/com/xiaofu/redisson/SpringbootRedissonLockApplication.java index cb697fda..3928f33a 100644 --- a/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/SpringbootRabbitmqMqttApplication.java +++ b/springboot-redisson-lock/src/main/java/com/xiaofu/redisson/SpringbootRedissonLockApplication.java @@ -1,12 +1,13 @@ -package com.iot.mqtt; +package com.xiaofu.redisson; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication -public class SpringbootRabbitmqMqttApplication { +public class SpringbootRedissonLockApplication { public static void main(String[] args) { - SpringApplication.run(SpringbootRabbitmqMqttApplication.class, args); + SpringApplication.run(SpringbootRedissonLockApplication.class, args); } + } diff --git a/springboot-redisson-lock/src/main/resources/application.properties b/springboot-redisson-lock/src/main/resources/application.properties new file mode 100644 index 00000000..bf561159 --- /dev/null +++ b/springboot-redisson-lock/src/main/resources/application.properties @@ -0,0 +1,3 @@ +spring.redis.host=122.51.65.35 +spring.redis.database=0 +spring.redis.timeout=5000 \ No newline at end of file diff --git a/springboot-redisson-lock/src/test/java/com/xiaofu/redisson/SpringbootRedissonLockApplicationTests.java b/springboot-redisson-lock/src/test/java/com/xiaofu/redisson/SpringbootRedissonLockApplicationTests.java new file mode 100644 index 00000000..b5c86033 --- /dev/null +++ b/springboot-redisson-lock/src/test/java/com/xiaofu/redisson/SpringbootRedissonLockApplicationTests.java @@ -0,0 +1,13 @@ +package com.xiaofu.redisson; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class SpringbootRedissonLockApplicationTests { + + @Test + void contextLoads() { + } + +} From 9dffa925f4ce73c437536e6268faec3c88692a66 Mon Sep 17 00:00:00 2001 From: xin <515361725@qq.com> Date: Wed, 15 Jul 2020 17:50:55 +0800 Subject: [PATCH 12/35] springboot-rabbitmq-mqtt- --- .../src/main/java/com/xiaofu/limit/api/Limit.java | 2 +- .../com/xiaofu/limit/controller/LimiterController.java | 8 ++++---- .../src/main/java/com/xiaofu/limit/enmu/LimitType.java | 2 +- .../com/xiaofu/limit/interceptor/LimitInterceptor.java | 10 +++++----- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/api/Limit.java b/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/api/Limit.java index 1898c540..55a72ab5 100644 --- a/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/api/Limit.java +++ b/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/api/Limit.java @@ -5,7 +5,7 @@ import java.lang.annotation.*; /** - * @author xinzhifu + * @author xiaofu * @description 自定义限流注解 * @date 2020/4/8 13:15 */ diff --git a/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/controller/LimiterController.java b/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/controller/LimiterController.java index c3de44a7..dcf8981f 100644 --- a/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/controller/LimiterController.java +++ b/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/controller/LimiterController.java @@ -8,7 +8,7 @@ import java.util.concurrent.atomic.AtomicInteger; /** - * @Author: xinzhifu + * @Author: xiaofu * @Description: */ @RestController @@ -19,7 +19,7 @@ public class LimiterController { private static final AtomicInteger ATOMIC_INTEGER_3 = new AtomicInteger(); /** - * @author xinzhifu + * @author xiaofu * @description * @date 2020/4/8 13:42 */ @@ -31,7 +31,7 @@ public int testLimiter1() { } /** - * @author xinzhifu + * @author xiaofu * @description * @date 2020/4/8 13:42 */ @@ -43,7 +43,7 @@ public int testLimiter2() { } /** - * @author xinzhifu + * @author xiaofu * @description * @date 2020/4/8 13:42 */ diff --git a/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/enmu/LimitType.java b/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/enmu/LimitType.java index ef8ede5f..2df8cd78 100644 --- a/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/enmu/LimitType.java +++ b/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/enmu/LimitType.java @@ -2,7 +2,7 @@ /** - * @author xinzhifu + * @author xiaofu * @description 限流类型 * @date 2020/4/8 13:47 */ diff --git a/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/interceptor/LimitInterceptor.java b/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/interceptor/LimitInterceptor.java index 28ed8e3d..7f41b56a 100644 --- a/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/interceptor/LimitInterceptor.java +++ b/springboot-aop-redis-lua-/src/main/java/com/xiaofu/limit/interceptor/LimitInterceptor.java @@ -1,7 +1,7 @@ package com.xiaofu.limit.interceptor; /** - * @Author: xinzhifu + * @Author: xiaofu * @Description: */ @@ -30,7 +30,7 @@ /** - * @author xinzhifu + * @author xiaofu * @description 限流切面实现 * @date 2020/4/8 13:04 */ @@ -51,7 +51,7 @@ public LimitInterceptor(RedisTemplate limitRedisTemplate) /** * @param pjp - * @author xinzhifu + * @author xiaofu * @description 切面 * @date 2020/4/8 13:04 */ @@ -100,7 +100,7 @@ public Object interceptor(ProceedingJoinPoint pjp) { } /** - * @author xinzhifu + * @author xiaofu * @description 编写 redis Lua 限流脚本 * @date 2020/4/8 13:24 */ @@ -124,7 +124,7 @@ public String buildLuaScript() { /** - * @author xinzhifu + * @author xiaofu * @description 获取id地址 * @date 2020/4/8 13:24 */ From ecbae95d99e46c2af803b85e91e39f16b8ff44ae Mon Sep 17 00:00:00 2001 From: xin <515361725@qq.com> Date: Thu, 16 Jul 2020 17:41:57 +0800 Subject: [PATCH 13/35] springboot-redisson-lock --- springboot-redisson-lock/pom.xml | 13 ++ .../redisson/config/RedissonConfig.java | 19 ++ .../redisson/controller/LockController.java | 191 ++++++++++++++++++ .../src/main/resources/application.properties | 3 - .../src/main/resources/application.yml | 4 + .../src/main/resources/redisson.yml | 25 +++ 6 files changed, 252 insertions(+), 3 deletions(-) create mode 100644 springboot-redisson-lock/src/main/java/com/xiaofu/redisson/config/RedissonConfig.java create mode 100644 springboot-redisson-lock/src/main/java/com/xiaofu/redisson/controller/LockController.java delete mode 100644 springboot-redisson-lock/src/main/resources/application.properties create mode 100644 springboot-redisson-lock/src/main/resources/application.yml create mode 100644 springboot-redisson-lock/src/main/resources/redisson.yml diff --git a/springboot-redisson-lock/pom.xml b/springboot-redisson-lock/pom.xml index 34d74e7a..6b72424a 100644 --- a/springboot-redisson-lock/pom.xml +++ b/springboot-redisson-lock/pom.xml @@ -42,6 +42,19 @@ 3.11.4 + + + + + + + + + + + + + diff --git a/springboot-redisson-lock/src/main/java/com/xiaofu/redisson/config/RedissonConfig.java b/springboot-redisson-lock/src/main/java/com/xiaofu/redisson/config/RedissonConfig.java new file mode 100644 index 00000000..0e2675e4 --- /dev/null +++ b/springboot-redisson-lock/src/main/java/com/xiaofu/redisson/config/RedissonConfig.java @@ -0,0 +1,19 @@ +package com.xiaofu.redisson.config; + +import org.redisson.Redisson; +import org.redisson.api.RedissonClient; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +/** + * @Author: xinzhifu + * @Description: + */ +@Configuration +public class RedissonConfig { + + @Bean + public RedissonClient redisson() { + return Redisson.create(); + } +} diff --git a/springboot-redisson-lock/src/main/java/com/xiaofu/redisson/controller/LockController.java b/springboot-redisson-lock/src/main/java/com/xiaofu/redisson/controller/LockController.java new file mode 100644 index 00000000..5e4da6d5 --- /dev/null +++ b/springboot-redisson-lock/src/main/java/com/xiaofu/redisson/controller/LockController.java @@ -0,0 +1,191 @@ +package com.xiaofu.redisson.controller; + +import org.redisson.api.RLock; +import org.redisson.api.RReadWriteLock; +import org.redisson.api.RedissonClient; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.ResponseBody; + +import java.util.concurrent.TimeUnit; + +/** + * @Author: xinzhifu + * @Description: + */ +@Controller +@RequestMapping +public class LockController { + + @Autowired + private RedissonClient redissonClient; + + @RequestMapping("/reduceStock") + @ResponseBody + public String reduceStock() { + + RLock lock = redissonClient.getLock("order:A0001"); + try { + if (lock.tryLock()) { +// String name = Thread.currentThread().getName(); +// System.out.println(name + " get lock at " + System.currentTimeMillis()); +// Thread.currentThread().sleep(3000); +// +// lock.unlock(); +// long endTime = System.currentTimeMillis(); +// System.out.println("结束时间" + endTime); + } + } catch (Exception e) { + lock.unlock(); + } finally { + lock.unlock(); + } + return null; + } + + + /** + * @author xinzhifu + * @description 可重入锁-普通 + * @date 2020/7/16 15:20 + */ + public void reentrantLock() { + + RLock reentrantLock = redissonClient.getLock("order:A0001"); + try { + reentrantLock.lock(); + //TODO something + reentrantLock.unlock(); + + } catch (Exception e) { + reentrantLock.unlock(); + } finally { + reentrantLock.unlock(); + } + } + + /** + * @author xinzhifu + * @description 可重入锁-设置过期时间 + * @date 2020/7/16 15:20 + */ + public void reentrantLock2() { + + RLock reentrantLock = redissonClient.getLock("order:A0001"); + try { + + // 100尝试加锁的时间 ,10锁过期时间 + if (reentrantLock.tryLock(100, 10, TimeUnit.SECONDS)) { + //TODO something + } + } catch (Exception e) { + reentrantLock.unlock(); + } finally { + reentrantLock.unlock(); + } + } + + /** + * @author xinzhifu + * @description 公平锁 + * @date 2020/7/16 15:20 + */ + public void fairLock() { + + RLock fairLock = redissonClient.getFairLock("order:A0001"); + /** + * 开启异步模式 + */ + fairLock.lockAsync(); + try { + + if (fairLock.tryLock(100, 10, TimeUnit.SECONDS)) { + //TODO something + } + } catch (Exception e) { + fairLock.unlock(); + } finally { + fairLock.unlock(); + } + } + + /** + * @author xinzhifu + * @description 联锁 + * @date 2020/7/16 15:20 + */ + public void multiLock() { + + RLock lock1 = redissonClient.getLock("order:A0001"); + RLock lock2 = redissonClient.getLock("order:A0002"); + RLock lock3 = redissonClient.getLock("order:A0003"); + RLock multiLock = redissonClient.getMultiLock(lock1, lock2, lock3); + try { + + if (multiLock.tryLock(100, 10, TimeUnit.SECONDS)) { + //TODO something + } + } catch (Exception e) { + multiLock.unlock(); + } finally { + multiLock.unlock(); + } + } + + /** + * @author xinzhifu + * @description 红锁 + * @date 2020/7/16 15:20 + */ + public void redLock() { + + RLock lock1 = redissonClient.getLock("order:A0001"); + RLock lock2 = redissonClient.getLock("order:A0002"); + RLock lock3 = redissonClient.getLock("order:A0003"); + RLock redLock = redissonClient.getRedLock(lock1, lock2, lock3); + try { + + if (redLock.tryLock(100, 10, TimeUnit.SECONDS)) { + //TODO something + } + } catch (Exception e) { + redLock.unlock(); + } finally { + redLock.unlock(); + } + } + + /** + * @author xinzhifu + * @description 读写锁 + * @date 2020/7/16 15:20 + */ + public void readWriteLock() { + + RReadWriteLock readWriteLock = redissonClient.getReadWriteLock("order:A0001"); + + try { + + if (readWriteLock.writeLock().tryLock(100, 10, TimeUnit.SECONDS)) { + //TODO something + } + + if (readWriteLock.readLock().tryLock(100, 10, TimeUnit.SECONDS)) { + //TODO something + } + + if (readWriteLock.readLock().tryLock(100, 10, TimeUnit.SECONDS)) { + //TODO something + } + + } catch (Exception e) { + readWriteLock.writeLock().unlock(); + readWriteLock.readLock().unlock(); + } finally { + readWriteLock.writeLock().unlock(); + readWriteLock.readLock().unlock(); + } + } + +} diff --git a/springboot-redisson-lock/src/main/resources/application.properties b/springboot-redisson-lock/src/main/resources/application.properties deleted file mode 100644 index bf561159..00000000 --- a/springboot-redisson-lock/src/main/resources/application.properties +++ /dev/null @@ -1,3 +0,0 @@ -spring.redis.host=122.51.65.35 -spring.redis.database=0 -spring.redis.timeout=5000 \ No newline at end of file diff --git a/springboot-redisson-lock/src/main/resources/application.yml b/springboot-redisson-lock/src/main/resources/application.yml new file mode 100644 index 00000000..8c318055 --- /dev/null +++ b/springboot-redisson-lock/src/main/resources/application.yml @@ -0,0 +1,4 @@ +spring: + redis: + redisson: + config: "classpath:redisson.yml" \ No newline at end of file diff --git a/springboot-redisson-lock/src/main/resources/redisson.yml b/springboot-redisson-lock/src/main/resources/redisson.yml new file mode 100644 index 00000000..1e6a8a18 --- /dev/null +++ b/springboot-redisson-lock/src/main/resources/redisson.yml @@ -0,0 +1,25 @@ +{ + "singleServerConfig":{ + "idleConnectionTimeout":10000, + "pingTimeout":1000, + "connectTimeout":10000, + "timeout":3000, + "retryAttempts":3, + "retryInterval":1500, + "password":"123456", + "subscriptionsPerConnection":5, + "clientName":null, + "address": "redis://127.0.0.1:6379", + "subscriptionConnectionMinimumIdleSize":1, + "subscriptionConnectionPoolSize":50, + "connectionMinimumIdleSize":32, + "connectionPoolSize":64, + "database":14 + }, + "threads":0, + "nettyThreads":0, + "codec":{ + "class":"org.redisson.codec.JsonJacksonCodec" + }, + "transportMode":"NIO" +} From d0072cc64e4834605f395c283001304c14253bf9 Mon Sep 17 00:00:00 2001 From: xin <515361725@qq.com> Date: Mon, 20 Jul 2020 14:31:21 +0800 Subject: [PATCH 14/35] springboot-aop-unifiedlog --- .../HELP.md | 0 .../mvnw | 0 .../mvnw.cmd | 0 .../pom.xml | 31 ++-- .../springboot-aop-unifiedlog.iml | 19 +- .../SpringBootAopUnifiedLogApplication.java | 12 ++ .../chengxy/unifiedlog/aspect/LogAspect.java | 163 ++++++++++++++++++ .../chengxy/unifiedlog/config/PrintlnLog.java | 21 +++ .../controller/OrderController.java | 34 ++++ .../chengxy/unifiedlog/entity/OrderDTO.java | 20 +++ .../chengxy/unifiedlog/entity/OrderVO.java | 14 ++ .../unifiedlog/service/OrderServiceImpl.java | 28 +++ .../unifiedlog/service/impl/OrderService.java | 14 ++ .../src/main/resources/application.yml | 0 14 files changed, 322 insertions(+), 34 deletions(-) rename {springboot-rabbitmq-mqtt => springboot-aop-unifiedlog}/HELP.md (100%) rename {springboot-rabbitmq-mqtt => springboot-aop-unifiedlog}/mvnw (100%) rename {springboot-rabbitmq-mqtt => springboot-aop-unifiedlog}/mvnw.cmd (100%) rename {springboot-rabbitmq-mqtt => springboot-aop-unifiedlog}/pom.xml (72%) rename springboot-rabbitmq-mqtt/springboot-rabbitmq-mqtt.iml => springboot-aop-unifiedlog/springboot-aop-unifiedlog.iml (85%) create mode 100644 springboot-aop-unifiedlog/src/main/java/com/chengxy/unifiedlog/SpringBootAopUnifiedLogApplication.java create mode 100644 springboot-aop-unifiedlog/src/main/java/com/chengxy/unifiedlog/aspect/LogAspect.java create mode 100644 springboot-aop-unifiedlog/src/main/java/com/chengxy/unifiedlog/config/PrintlnLog.java create mode 100644 springboot-aop-unifiedlog/src/main/java/com/chengxy/unifiedlog/controller/OrderController.java create mode 100644 springboot-aop-unifiedlog/src/main/java/com/chengxy/unifiedlog/entity/OrderDTO.java create mode 100644 springboot-aop-unifiedlog/src/main/java/com/chengxy/unifiedlog/entity/OrderVO.java create mode 100644 springboot-aop-unifiedlog/src/main/java/com/chengxy/unifiedlog/service/OrderServiceImpl.java create mode 100644 springboot-aop-unifiedlog/src/main/java/com/chengxy/unifiedlog/service/impl/OrderService.java create mode 100644 springboot-aop-unifiedlog/src/main/resources/application.yml diff --git a/springboot-rabbitmq-mqtt/HELP.md b/springboot-aop-unifiedlog/HELP.md similarity index 100% rename from springboot-rabbitmq-mqtt/HELP.md rename to springboot-aop-unifiedlog/HELP.md diff --git a/springboot-rabbitmq-mqtt/mvnw b/springboot-aop-unifiedlog/mvnw similarity index 100% rename from springboot-rabbitmq-mqtt/mvnw rename to springboot-aop-unifiedlog/mvnw diff --git a/springboot-rabbitmq-mqtt/mvnw.cmd b/springboot-aop-unifiedlog/mvnw.cmd similarity index 100% rename from springboot-rabbitmq-mqtt/mvnw.cmd rename to springboot-aop-unifiedlog/mvnw.cmd diff --git a/springboot-rabbitmq-mqtt/pom.xml b/springboot-aop-unifiedlog/pom.xml similarity index 72% rename from springboot-rabbitmq-mqtt/pom.xml rename to springboot-aop-unifiedlog/pom.xml index 8d15404a..1cd356e2 100644 --- a/springboot-rabbitmq-mqtt/pom.xml +++ b/springboot-aop-unifiedlog/pom.xml @@ -6,13 +6,13 @@ org.springframework.boot spring-boot-starter-parent 2.0.5.RELEASE - + com.xinzf - springboot-rabbitmq-mqtt + springboot-aop-unifiedlog 0.0.1-SNAPSHOT - springboot-rabbitmq-mqtt - springboot-rabbitmq-mqtt + springboot-aop-unifiedlog + springboot-aop-unifiedlog 1.8 @@ -33,11 +33,6 @@ 2.0.5.RELEASE - - org.springframework.boot - spring-boot-starter-amqp - - org.springframework.boot spring-boot-starter-test @@ -50,11 +45,6 @@ - - org.springframework.boot - spring-boot-starter-amqp - - org.projectlombok lombok @@ -62,17 +52,18 @@ provided - - org.springframework.integration - spring-integration-mqtt + org.springframework.boot + spring-boot-starter-aop + - org.eclipse.paho - org.eclipse.paho.client.mqttv3 - 1.2.0 + com.alibaba + fastjson + 1.2.49 + diff --git a/springboot-rabbitmq-mqtt/springboot-rabbitmq-mqtt.iml b/springboot-aop-unifiedlog/springboot-aop-unifiedlog.iml similarity index 85% rename from springboot-rabbitmq-mqtt/springboot-rabbitmq-mqtt.iml rename to springboot-aop-unifiedlog/springboot-aop-unifiedlog.iml index 6bc8484b..1f905741 100644 --- a/springboot-rabbitmq-mqtt/springboot-rabbitmq-mqtt.iml +++ b/springboot-aop-unifiedlog/springboot-aop-unifiedlog.iml @@ -14,7 +14,7 @@ - + @@ -53,15 +53,8 @@ - - - - - - - @@ -84,11 +77,9 @@ - - - - - - + + + + \ No newline at end of file diff --git a/springboot-aop-unifiedlog/src/main/java/com/chengxy/unifiedlog/SpringBootAopUnifiedLogApplication.java b/springboot-aop-unifiedlog/src/main/java/com/chengxy/unifiedlog/SpringBootAopUnifiedLogApplication.java new file mode 100644 index 00000000..2304fc8b --- /dev/null +++ b/springboot-aop-unifiedlog/src/main/java/com/chengxy/unifiedlog/SpringBootAopUnifiedLogApplication.java @@ -0,0 +1,12 @@ +package com.chengxy.unifiedlog; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class SpringBootAopUnifiedLogApplication { + + public static void main(String[] args) { + SpringApplication.run(SpringBootAopUnifiedLogApplication.class, args); + } +} diff --git a/springboot-aop-unifiedlog/src/main/java/com/chengxy/unifiedlog/aspect/LogAspect.java b/springboot-aop-unifiedlog/src/main/java/com/chengxy/unifiedlog/aspect/LogAspect.java new file mode 100644 index 00000000..fe1158ed --- /dev/null +++ b/springboot-aop-unifiedlog/src/main/java/com/chengxy/unifiedlog/aspect/LogAspect.java @@ -0,0 +1,163 @@ +package com.chengxy.unifiedlog.aspect; + +import com.alibaba.fastjson.JSON; +import com.chengxy.unifiedlog.config.PrintlnLog; +import lombok.extern.slf4j.Slf4j; +import org.aspectj.lang.JoinPoint; +import org.aspectj.lang.ProceedingJoinPoint; +import org.aspectj.lang.annotation.*; +import org.springframework.stereotype.Component; +import org.springframework.web.context.request.RequestContextHolder; +import org.springframework.web.context.request.ServletRequestAttributes; + +import javax.servlet.http.HttpServletRequest; +import java.lang.reflect.Method; + + +/** + * @author xiaofu + * @description 日志收集切面 + * @date 2020/7/15 10:22 + */ +@Slf4j +@Aspect +@Component +//@Profile({"dev"}) //只对某个环境打印日志 +public class LogAspect { + + private static final String LINE_SEPARATOR = System.lineSeparator(); + + /** + * 以自定义 @PrintlnLog 注解作为切面入口 + */ + @Pointcut("@annotation(com.chengxy.unifiedlog.config.PrintlnLog)") + public void PrintlnLog() { + } + + /** + * @param joinPoint + * @author xiaofu + * @description 切面方法入参日志打印 + * @date 2020/7/15 10:30 + */ + @Before("PrintlnLog()") + public void doBefore(JoinPoint joinPoint) throws Throwable { + + ServletRequestAttributes attributes = (ServletRequestAttributes) RequestContextHolder.getRequestAttributes(); + HttpServletRequest request = attributes.getRequest(); + + String methodDetailDescription = this.getAspectMethodLogDescJP(joinPoint); + + log.info("------------------------------- start --------------------------"); + /** + * 打印自定义方法描述 + */ + log.info("Method detail Description: {}", methodDetailDescription); + /** + * 打印请求入参 + */ + log.info("Request Args: {}", JSON.toJSONString(joinPoint.getArgs())); + /** + * 打印请求方式 + */ + log.info("Request method: {}", request.getMethod()); + /** + * 打印请求 url + */ + log.info("Request URL: {}", request.getRequestURL().toString()); + + /** + * 打印调用方法全路径以及执行方法 + */ + log.info("Request Class and Method: {}.{}", joinPoint.getSignature().getDeclaringTypeName(), joinPoint.getSignature().getName()); + } + + /** + * @param proceedingJoinPoint + * @author xiaofu + * @description 切面方法返回结果日志打印 + * @date 2020/7/15 10:32 + */ + @Around("PrintlnLog()") + public Object doAround(ProceedingJoinPoint proceedingJoinPoint) throws Throwable { + + String aspectMethodLogDescPJ = getAspectMethodLogDescPJ(proceedingJoinPoint); + + long startTime = System.currentTimeMillis(); + + Object result = proceedingJoinPoint.proceed(); + /** + * 输出结果 + */ + log.info("{},Response result : {}", aspectMethodLogDescPJ, JSON.toJSONString(result)); + + /** + * 方法执行耗时 + */ + log.info("Time Consuming: {} ms", System.currentTimeMillis() - startTime); + + return result; + } + + /** + * @author xiaofu + * @description 切面方法执行后执行 + * @date 2020/7/15 10:31 + */ + @After("PrintlnLog()") + public void doAfter(JoinPoint joinPoint) throws Throwable { + log.info("------------------------------- End --------------------------" + LINE_SEPARATOR); + } + + /** + * @param joinPoint + * @author xiaofu + * @description @PrintlnLog 注解作用的切面方法详细细信息 + * @date 2020/7/15 10:34 + */ + public String getAspectMethodLogDescJP(JoinPoint joinPoint) throws Exception { + String targetName = joinPoint.getTarget().getClass().getName(); + String methodName = joinPoint.getSignature().getName(); + Object[] arguments = joinPoint.getArgs(); + return getAspectMethodLogDesc(targetName, methodName, arguments); + } + + /** + * @param proceedingJoinPoint + * @author xiaofu + * @description @PrintlnLog 注解作用的切面方法详细细信息 + * @date 2020/7/15 10:34 + */ + public String getAspectMethodLogDescPJ(ProceedingJoinPoint proceedingJoinPoint) throws Exception { + String targetName = proceedingJoinPoint.getTarget().getClass().getName(); + String methodName = proceedingJoinPoint.getSignature().getName(); + Object[] arguments = proceedingJoinPoint.getArgs(); + return getAspectMethodLogDesc(targetName, methodName, arguments); + } + + /** + * @param targetName + * @param methodName + * @param arguments + * @author xiaofu + * @description 自定义注解参数 + * @date 2020/7/15 11:51 + */ + public String getAspectMethodLogDesc(String targetName, String methodName, Object[] arguments) throws Exception { + Class targetClass = Class.forName(targetName); + Method[] methods = targetClass.getMethods(); + StringBuilder description = new StringBuilder(""); + for (Method method : methods) { + if (method.getName().equals(methodName)) { + Class[] clazzs = method.getParameterTypes(); + if (clazzs.length == arguments.length) { + description.append(method.getAnnotation(PrintlnLog.class).description()); + break; + } + } + } + return description.toString(); + } +} + + diff --git a/springboot-aop-unifiedlog/src/main/java/com/chengxy/unifiedlog/config/PrintlnLog.java b/springboot-aop-unifiedlog/src/main/java/com/chengxy/unifiedlog/config/PrintlnLog.java new file mode 100644 index 00000000..7d90b0e2 --- /dev/null +++ b/springboot-aop-unifiedlog/src/main/java/com/chengxy/unifiedlog/config/PrintlnLog.java @@ -0,0 +1,21 @@ +package com.chengxy.unifiedlog.config; + +import java.lang.annotation.*; + +/** + * @author xiaofu + * @description + * @date 2020/7/15 10:20 + */ +@Retention(RetentionPolicy.RUNTIME) +@Target({ElementType.METHOD}) +@Documented +public @interface PrintlnLog { + + /** + * 自定义日志描述信息文案 + * + * @return + */ + String description() default ""; +} diff --git a/springboot-aop-unifiedlog/src/main/java/com/chengxy/unifiedlog/controller/OrderController.java b/springboot-aop-unifiedlog/src/main/java/com/chengxy/unifiedlog/controller/OrderController.java new file mode 100644 index 00000000..e5e29e1e --- /dev/null +++ b/springboot-aop-unifiedlog/src/main/java/com/chengxy/unifiedlog/controller/OrderController.java @@ -0,0 +1,34 @@ +package com.chengxy.unifiedlog.controller; + + +import com.alibaba.fastjson.JSON; +import com.chengxy.unifiedlog.config.PrintlnLog; +import com.chengxy.unifiedlog.entity.OrderDTO; +import com.chengxy.unifiedlog.entity.OrderVO; +import com.chengxy.unifiedlog.service.impl.OrderService; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +@Slf4j +@RestController +@RequestMapping +public class OrderController { + + @Autowired + private OrderService orderService; + + @PrintlnLog(description = "订单详情Controller") + @RequestMapping("/order") + public OrderDTO getOrder(OrderVO orderVO, String name) { + + log.info("订单详情入参:orderVO={},name={}", JSON.toJSONString(orderVO), name); + + OrderDTO orderInfo = orderService.getOrderInfo(orderVO); + + log.info("订单详情结果:orderInfo={}", JSON.toJSONString(orderInfo)); + + return orderInfo; + } +} diff --git a/springboot-aop-unifiedlog/src/main/java/com/chengxy/unifiedlog/entity/OrderDTO.java b/springboot-aop-unifiedlog/src/main/java/com/chengxy/unifiedlog/entity/OrderDTO.java new file mode 100644 index 00000000..29383a86 --- /dev/null +++ b/springboot-aop-unifiedlog/src/main/java/com/chengxy/unifiedlog/entity/OrderDTO.java @@ -0,0 +1,20 @@ +package com.chengxy.unifiedlog.entity; + +import lombok.Data; + +import java.util.List; +import java.util.Map; + +/** + * @Author: xiaofu + * @Description: + */ +@Data +public class OrderDTO { + + private String OrderNo; + + private Map OrderMap; + + private List OrderList; +} diff --git a/springboot-aop-unifiedlog/src/main/java/com/chengxy/unifiedlog/entity/OrderVO.java b/springboot-aop-unifiedlog/src/main/java/com/chengxy/unifiedlog/entity/OrderVO.java new file mode 100644 index 00000000..b340abf4 --- /dev/null +++ b/springboot-aop-unifiedlog/src/main/java/com/chengxy/unifiedlog/entity/OrderVO.java @@ -0,0 +1,14 @@ +package com.chengxy.unifiedlog.entity; + +import lombok.Data; + +/** + * @Author: xiaofu + * @Description: + */ +@Data +public class OrderVO { + + private String OrderNo; + +} diff --git a/springboot-aop-unifiedlog/src/main/java/com/chengxy/unifiedlog/service/OrderServiceImpl.java b/springboot-aop-unifiedlog/src/main/java/com/chengxy/unifiedlog/service/OrderServiceImpl.java new file mode 100644 index 00000000..41edcf42 --- /dev/null +++ b/springboot-aop-unifiedlog/src/main/java/com/chengxy/unifiedlog/service/OrderServiceImpl.java @@ -0,0 +1,28 @@ +package com.chengxy.unifiedlog.service; + +import com.chengxy.unifiedlog.entity.OrderDTO; +import com.chengxy.unifiedlog.entity.OrderVO; +import com.chengxy.unifiedlog.service.impl.OrderService; +import org.springframework.stereotype.Component; + +import java.util.HashMap; +import java.util.Map; + +/** + * @Author: xiaofu + * @Description: + */ +@Component +public class OrderServiceImpl implements OrderService { + + @Override + public OrderDTO getOrderInfo(OrderVO orderVO) { + OrderDTO orderDTO = new OrderDTO(); + orderDTO.setOrderNo("A0000001"); + Map map = new HashMap<>(); + map.put("money", 444); + map.put("shopId", 1002); + orderDTO.setOrderMap(map); + return orderDTO; + } +} diff --git a/springboot-aop-unifiedlog/src/main/java/com/chengxy/unifiedlog/service/impl/OrderService.java b/springboot-aop-unifiedlog/src/main/java/com/chengxy/unifiedlog/service/impl/OrderService.java new file mode 100644 index 00000000..d6d057dd --- /dev/null +++ b/springboot-aop-unifiedlog/src/main/java/com/chengxy/unifiedlog/service/impl/OrderService.java @@ -0,0 +1,14 @@ +package com.chengxy.unifiedlog.service.impl; + +import com.chengxy.unifiedlog.entity.OrderDTO; +import com.chengxy.unifiedlog.entity.OrderVO; + +/** + * @Author: xiaofu + * @Description: + */ +public interface OrderService { + + OrderDTO getOrderInfo(OrderVO orderVO); + +} diff --git a/springboot-aop-unifiedlog/src/main/resources/application.yml b/springboot-aop-unifiedlog/src/main/resources/application.yml new file mode 100644 index 00000000..e69de29b From 175680bed9eab9ceac44a9022bd09cd7ff812cb9 Mon Sep 17 00:00:00 2001 From: xin <515361725@qq.com> Date: Mon, 20 Jul 2020 14:32:21 +0800 Subject: [PATCH 15/35] springboot-rabbitmq-mqtt- --- .../controller/LiveObjectController.java | 56 +++++++++++++++++++ .../redisson/controller/LockController.java | 41 ++++++++++---- .../com/xiaofu/redisson/entity/OrderInfo.java | 46 +++++++++++++++ 3 files changed, 131 insertions(+), 12 deletions(-) create mode 100644 springboot-redisson-lock/src/main/java/com/xiaofu/redisson/controller/LiveObjectController.java create mode 100644 springboot-redisson-lock/src/main/java/com/xiaofu/redisson/entity/OrderInfo.java diff --git a/springboot-redisson-lock/src/main/java/com/xiaofu/redisson/controller/LiveObjectController.java b/springboot-redisson-lock/src/main/java/com/xiaofu/redisson/controller/LiveObjectController.java new file mode 100644 index 00000000..569b3993 --- /dev/null +++ b/springboot-redisson-lock/src/main/java/com/xiaofu/redisson/controller/LiveObjectController.java @@ -0,0 +1,56 @@ +package com.xiaofu.redisson.controller; + +import com.xiaofu.redisson.entity.OrderInfo; +import org.redisson.api.RLiveObjectService; +import org.redisson.api.RedissonClient; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.ResponseBody; + +/** + * @Author: xinzhifu + * @Description: + */ +@Controller +@RequestMapping +public class LiveObjectController { + + + @Autowired + private RedissonClient redissonClient; + + @RequestMapping("/liveObject") + @ResponseBody + public String reduceStock() { + + RLiveObjectService service = redissonClient.getLiveObjectService(); + OrderInfo orderInfo = new OrderInfo(); + orderInfo.setId(1); + orderInfo.setName("小富111"); + orderInfo.setAge(16); + + OrderInfo orderInfo2 = new OrderInfo(); + orderInfo2.setId(2); + orderInfo2.setName("小瑞"); + orderInfo2.setAge(16); + + // 将orderInfo对象当前的状态持久化到Redis里并与之保持同步。 +// if (!service.isExists(orderInfo)) { +// orderInfo = service.persist(orderInfo); +// } +// if (!service.isExists(orderInfo2)) { +// orderInfo2 = service.persist(orderInfo2); +// } + + // 抛弃orderInfo对象当前的状态,并与Redis里的数据建立连接并保持同步。 + orderInfo.setId(1); + orderInfo = service.attach(orderInfo); + + // 将orderInfo对象当前的状态与Redis里的数据合并之后与之保持同步。 + //orderInfo = service.merge(orderInfo); + + return null; + } + +} diff --git a/springboot-redisson-lock/src/main/java/com/xiaofu/redisson/controller/LockController.java b/springboot-redisson-lock/src/main/java/com/xiaofu/redisson/controller/LockController.java index 5e4da6d5..2278f1ed 100644 --- a/springboot-redisson-lock/src/main/java/com/xiaofu/redisson/controller/LockController.java +++ b/springboot-redisson-lock/src/main/java/com/xiaofu/redisson/controller/LockController.java @@ -1,5 +1,6 @@ package com.xiaofu.redisson.controller; +import org.redisson.api.RFuture; import org.redisson.api.RLock; import org.redisson.api.RReadWriteLock; import org.redisson.api.RedissonClient; @@ -27,18 +28,12 @@ public String reduceStock() { RLock lock = redissonClient.getLock("order:A0001"); try { - if (lock.tryLock()) { -// String name = Thread.currentThread().getName(); -// System.out.println(name + " get lock at " + System.currentTimeMillis()); -// Thread.currentThread().sleep(3000); -// -// lock.unlock(); -// long endTime = System.currentTimeMillis(); -// System.out.println("结束时间" + endTime); - } - } catch (Exception e) { + lock.lock(5, TimeUnit.SECONDS); + Thread.currentThread().sleep(30000); lock.unlock(); - } finally { + System.out.println("锁释放~"); + + } catch (Exception e) { lock.unlock(); } return null; @@ -52,7 +47,7 @@ public String reduceStock() { */ public void reentrantLock() { - RLock reentrantLock = redissonClient.getLock("order:A0001"); + RLock reentrantLock = redissonClient.getLock("order:A0002"); try { reentrantLock.lock(); //TODO something @@ -86,6 +81,28 @@ public void reentrantLock2() { } } + /** + * @author xinzhifu + * @description 异步可重入锁-设置过期时间 + * @date 2020/7/16 15:20 + */ + public void reentrantLock2Async() { + + RLock reentrantLock = redissonClient.getLock("order:A0001"); + try { + + // 100尝试加锁的时间 ,10锁过期时间 + final RFuture booleanRFuture = reentrantLock.tryLockAsync(100, 10, TimeUnit.SECONDS); + if (booleanRFuture.get()) { + //TODO something + } + } catch (Exception e) { + reentrantLock.unlock(); + } finally { + reentrantLock.unlock(); + } + } + /** * @author xinzhifu * @description 公平锁 diff --git a/springboot-redisson-lock/src/main/java/com/xiaofu/redisson/entity/OrderInfo.java b/springboot-redisson-lock/src/main/java/com/xiaofu/redisson/entity/OrderInfo.java new file mode 100644 index 00000000..58818aed --- /dev/null +++ b/springboot-redisson-lock/src/main/java/com/xiaofu/redisson/entity/OrderInfo.java @@ -0,0 +1,46 @@ +package com.xiaofu.redisson.entity; + +import org.redisson.api.annotation.REntity; +import org.redisson.api.annotation.RId; +import org.redisson.api.annotation.RIndex; + +/** + * @Author: xinzhifu + * @Description: + */ +@REntity +public class OrderInfo { + + @RId + private Integer id; + + @RIndex + private String name; + + @RIndex + private Integer age; + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getAge() { + return age; + } + + public void setAge(Integer age) { + this.age = age; + } +} From f999b1621a747bf75f734f6936e066c79f3341fb Mon Sep 17 00:00:00 2001 From: xin <515361725@qq.com> Date: Mon, 20 Jul 2020 14:34:02 +0800 Subject: [PATCH 16/35] springboot-rabbitmq-mqtt- --- .../java/com/chengxy/delayqueue/KeyTest.java | 2 +- .../deadLetterQueue/DeadLetterConfig.java | 2 +- .../DeadLetterReceiverMessage.java | 2 +- .../DeadLetterSendMessage.java | 2 +- .../deadLetterQueue/RabbitConstant.java | 2 +- .../delayqueue/delayQueue/DelayQueueDemo.java | 2 +- .../chengxy/delayqueue/delayQueue/Order.java | 2 +- .../delayqueue/netty/NettyDelayQueue.java | 2 +- .../chengxy/delayqueue/quartz/QuartzDemo.java | 2 +- .../delayqueue/redis/RedisDelayQueue.java | 2 +- .../RedisKeyExpirationListener.java | 2 +- .../rediscallback/RedisListenerConfig.java | 2 +- .../ScheduledExecutorServiceDemo.java | 2 +- .../java/com/chengxy/delayqueue/zhujie.java | 2 +- .../callback/ReturnCallbackService.java | 2 +- .../confirm/controller/TestController.java | 2 +- .../confirm/receiver/ReceiverMessage1.java | 2 +- .../xiaofu/confirm/sender/SendMessage.java | 2 +- .../mqtt/config/IotMqttProducerConfig.java | 45 ------------ .../mqtt/config/IotMqttSubscriberConfig.java | 71 ------------------- .../java/com/iot/mqtt/config/MqttConfig.java | 40 ----------- .../iot/mqtt/producer/IotMqttController.java | 33 --------- .../com/iot/mqtt/producer/IotMqttGateway.java | 27 ------- .../main/java/com/iot/mqtt/producer/call.java | 27 ------- .../src/main/resources/application.yml | 7 -- .../src/main/resources/templates/hello.html | 10 --- 26 files changed, 18 insertions(+), 278 deletions(-) delete mode 100644 springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/config/IotMqttProducerConfig.java delete mode 100644 springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/config/IotMqttSubscriberConfig.java delete mode 100644 springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/config/MqttConfig.java delete mode 100644 springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/producer/IotMqttController.java delete mode 100644 springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/producer/IotMqttGateway.java delete mode 100644 springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/producer/call.java delete mode 100644 springboot-rabbitmq-mqtt/src/main/resources/application.yml delete mode 100644 springboot-rabbitmq-mqtt/src/main/resources/templates/hello.html diff --git a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/KeyTest.java b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/KeyTest.java index 4787dd46..a96725f9 100644 --- a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/KeyTest.java +++ b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/KeyTest.java @@ -5,7 +5,7 @@ import java.util.Optional; /** - * @Author: xinzhifu + * @Author: xiaofu * @Description: */ public class KeyTest { diff --git a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/deadLetterQueue/DeadLetterConfig.java b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/deadLetterQueue/DeadLetterConfig.java index 04f1bf36..65a0ee2e 100644 --- a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/deadLetterQueue/DeadLetterConfig.java +++ b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/deadLetterQueue/DeadLetterConfig.java @@ -7,7 +7,7 @@ // // ///** -// * @Author: xinzhifu +// * @Author: xiaofu // * @Description: // */ //@Configuration diff --git a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/deadLetterQueue/DeadLetterReceiverMessage.java b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/deadLetterQueue/DeadLetterReceiverMessage.java index 98e2fd20..ed150203 100644 --- a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/deadLetterQueue/DeadLetterReceiverMessage.java +++ b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/deadLetterQueue/DeadLetterReceiverMessage.java @@ -1,7 +1,7 @@ package com.chengxy.delayqueue.deadLetterQueue; /** - * @Author: xinzhifu + * @Author: xiaofu * @Description: */ //@Component diff --git a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/deadLetterQueue/DeadLetterSendMessage.java b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/deadLetterQueue/DeadLetterSendMessage.java index e1887df4..23a65045 100644 --- a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/deadLetterQueue/DeadLetterSendMessage.java +++ b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/deadLetterQueue/DeadLetterSendMessage.java @@ -4,7 +4,7 @@ /** - * @Author: xinzhifu + * @Author: xiaofu * @Description: */ @Component diff --git a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/deadLetterQueue/RabbitConstant.java b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/deadLetterQueue/RabbitConstant.java index 54427fe6..947f6fe8 100644 --- a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/deadLetterQueue/RabbitConstant.java +++ b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/deadLetterQueue/RabbitConstant.java @@ -1,7 +1,7 @@ package com.chengxy.delayqueue.deadLetterQueue; /** - * @Author: xinzhifu + * @Author: xiaofu * @Description: */ public @interface RabbitConstant { diff --git a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/delayQueue/DelayQueueDemo.java b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/delayQueue/DelayQueueDemo.java index 280067f2..02145755 100644 --- a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/delayQueue/DelayQueueDemo.java +++ b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/delayQueue/DelayQueueDemo.java @@ -6,7 +6,7 @@ import java.util.concurrent.TimeUnit; /** - * @Author: xinzhifu + * @Author: xiaofu * @Description: */ public class DelayQueueDemo { diff --git a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/delayQueue/Order.java b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/delayQueue/Order.java index a87e8105..7e4d7236 100644 --- a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/delayQueue/Order.java +++ b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/delayQueue/Order.java @@ -6,7 +6,7 @@ import java.util.concurrent.TimeUnit; /** - * @Author: xinzhifu + * @Author: xiaofu * @Description: */ public class Order implements Delayed { diff --git a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/netty/NettyDelayQueue.java b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/netty/NettyDelayQueue.java index bdc8d5b2..de4b97ee 100644 --- a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/netty/NettyDelayQueue.java +++ b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/netty/NettyDelayQueue.java @@ -9,7 +9,7 @@ import java.util.concurrent.TimeUnit; /** - * @Author: xinzhifu + * @Author: xiaofu * @Description: */ public class NettyDelayQueue { diff --git a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/quartz/QuartzDemo.java b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/quartz/QuartzDemo.java index 7327d183..a0fa00ba 100644 --- a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/quartz/QuartzDemo.java +++ b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/quartz/QuartzDemo.java @@ -4,7 +4,7 @@ import org.springframework.stereotype.Component; /** - * @Author: xinzhifu + * @Author: xiaofu * @Description: */ @Component diff --git a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/redis/RedisDelayQueue.java b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/redis/RedisDelayQueue.java index b513c0c7..f6fc239d 100644 --- a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/redis/RedisDelayQueue.java +++ b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/redis/RedisDelayQueue.java @@ -10,7 +10,7 @@ import java.util.Set; /** - * @Author: xinzhifu + * @Author: xiaofu * @Description: */ public class RedisDelayQueue { diff --git a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/redis/rediscallback/RedisKeyExpirationListener.java b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/redis/rediscallback/RedisKeyExpirationListener.java index d4bcc720..d4f95df4 100644 --- a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/redis/rediscallback/RedisKeyExpirationListener.java +++ b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/redis/rediscallback/RedisKeyExpirationListener.java @@ -6,7 +6,7 @@ import org.springframework.stereotype.Component; /** - * @Author: xinzhifu + * @Author: xiaofu * @Description: */ @Component diff --git a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/redis/rediscallback/RedisListenerConfig.java b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/redis/rediscallback/RedisListenerConfig.java index 32ed6803..59f05713 100644 --- a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/redis/rediscallback/RedisListenerConfig.java +++ b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/redis/rediscallback/RedisListenerConfig.java @@ -6,7 +6,7 @@ import org.springframework.data.redis.listener.RedisMessageListenerContainer; /** - * @Author: xinzhifu + * @Author: xiaofu * @Description: */ @Configuration diff --git a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/scheduledExecutor/ScheduledExecutorServiceDemo.java b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/scheduledExecutor/ScheduledExecutorServiceDemo.java index df3b2dd7..1af625b2 100644 --- a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/scheduledExecutor/ScheduledExecutorServiceDemo.java +++ b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/scheduledExecutor/ScheduledExecutorServiceDemo.java @@ -8,7 +8,7 @@ import java.util.concurrent.TimeUnit; /** - * @Author: xinzhifu + * @Author: xiaofu * @Description: */ public class ScheduledExecutorServiceDemo { diff --git a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/zhujie.java b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/zhujie.java index 15f43224..cbd0da27 100644 --- a/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/zhujie.java +++ b/springboot-delayqueue/src/main/java/com/chengxy/delayqueue/zhujie.java @@ -1,7 +1,7 @@ package com.chengxy.delayqueue; /** - * @Author: xinzhifu + * @Author: xiaofu * @Description: */ diff --git a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/callback/ReturnCallbackService.java b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/callback/ReturnCallbackService.java index b63f67b7..89a8fd5b 100644 --- a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/callback/ReturnCallbackService.java +++ b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/callback/ReturnCallbackService.java @@ -6,7 +6,7 @@ import org.springframework.stereotype.Component; /** - * @Author: xinzhifu + * @Author: xiaofu * @Description: */ @Slf4j diff --git a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/controller/TestController.java b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/controller/TestController.java index 81a4faff..0699f791 100644 --- a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/controller/TestController.java +++ b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/controller/TestController.java @@ -8,7 +8,7 @@ import org.springframework.web.bind.annotation.ResponseBody; /** - * @Author: xinzhifu + * @Author: xiaofu * @Description: */ @Controller diff --git a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/receiver/ReceiverMessage1.java b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/receiver/ReceiverMessage1.java index 0090569e..c39583e7 100644 --- a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/receiver/ReceiverMessage1.java +++ b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/receiver/ReceiverMessage1.java @@ -11,7 +11,7 @@ import java.io.IOException; /** - * @Author: xinzhifu + * @Author: xiaofu * @Description: */ @Slf4j diff --git a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/sender/SendMessage.java b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/sender/SendMessage.java index 21d0eb8c..ce728b5b 100644 --- a/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/sender/SendMessage.java +++ b/springboot-rabbitmq-confirm/src/main/java/com/xiaofu/confirm/sender/SendMessage.java @@ -12,7 +12,7 @@ import java.util.UUID; /** - * @Author: xinzhifu + * @Author: xiaofu * @Description: */ @Slf4j diff --git a/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/config/IotMqttProducerConfig.java b/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/config/IotMqttProducerConfig.java deleted file mode 100644 index 6da18553..00000000 --- a/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/config/IotMqttProducerConfig.java +++ /dev/null @@ -1,45 +0,0 @@ -package com.iot.mqtt.config; - -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; -import org.springframework.integration.annotation.ServiceActivator; -import org.springframework.integration.channel.DirectChannel; -import org.springframework.integration.mqtt.core.DefaultMqttPahoClientFactory; -import org.springframework.integration.mqtt.core.MqttPahoClientFactory; -import org.springframework.integration.mqtt.outbound.MqttPahoMessageHandler; -import org.springframework.messaging.MessageChannel; -import org.springframework.messaging.MessageHandler; - -/** - * @Author: xinzhifu - * @Description: - */ -@Configuration -public class IotMqttProducerConfig { - - @Autowired - private MqttConfig mqttConfig; - - @Bean - public MqttPahoClientFactory mqttClientFactory() { - DefaultMqttPahoClientFactory factory = new DefaultMqttPahoClientFactory(); - factory.setServerURIs(mqttConfig.getServers()); - return factory; - } - - @Bean - public MessageChannel iotMqttInputChannel() { - return new DirectChannel(); - } - - @Bean - @ServiceActivator(inputChannel = "iotMqttInputChannel") - public MessageHandler mqttOutbound() { - MqttPahoMessageHandler messageHandler = new MqttPahoMessageHandler(mqttConfig.getServerClientId(), mqttClientFactory()); - messageHandler.setAsync(false); - messageHandler.setDefaultQos(2); - messageHandler.setDefaultTopic(mqttConfig.getDefaultTopic()); - return messageHandler; - } -} diff --git a/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/config/IotMqttSubscriberConfig.java b/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/config/IotMqttSubscriberConfig.java deleted file mode 100644 index bbcdc61a..00000000 --- a/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/config/IotMqttSubscriberConfig.java +++ /dev/null @@ -1,71 +0,0 @@ -package com.iot.mqtt.config; - -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; -import org.springframework.integration.annotation.ServiceActivator; -import org.springframework.integration.channel.DirectChannel; -import org.springframework.integration.core.MessageProducer; -import org.springframework.integration.mqtt.core.DefaultMqttPahoClientFactory; -import org.springframework.integration.mqtt.core.MqttPahoClientFactory; -import org.springframework.integration.mqtt.inbound.MqttPahoMessageDrivenChannelAdapter; -import org.springframework.integration.mqtt.support.DefaultPahoMessageConverter; -import org.springframework.messaging.MessageChannel; -import org.springframework.messaging.MessageHandler; -import org.springframework.messaging.MessagingException; - -/** - * @Author: xiaofu - * @Description: 消息订阅配置 - * @date 2020/6/8 18:24 - */ -@Configuration -public class IotMqttSubscriberConfig { - - @Autowired - private MqttConfig mqttConfig; - - @Bean - public MqttPahoClientFactory mqttClientFactory() { - DefaultMqttPahoClientFactory factory = new DefaultMqttPahoClientFactory(); - factory.setServerURIs(mqttConfig.getServers()); - return factory; - } - - @Bean - public MessageChannel iotMqttInputChannel() { - return new DirectChannel(); - } - - @Bean - public MessageProducer inbound() { - MqttPahoMessageDrivenChannelAdapter adapter = new MqttPahoMessageDrivenChannelAdapter(mqttConfig.getClientId(), mqttClientFactory(), mqttConfig.getDefaultTopic()); - adapter.setCompletionTimeout(5000); - adapter.setConverter(new DefaultPahoMessageConverter()); - adapter.setQos(2); - adapter.setOutputChannel(iotMqttInputChannel()); - return adapter; - } - - /** - * @author xiaofu - * @description 消息订阅 - * @date 2020/6/8 18:20 - */ - @Bean - @ServiceActivator(inputChannel = "iotMqttInputChannel") - public MessageHandler handlerTest() { - - return message -> { - try { - String string = message.getPayload().toString(); - System.out.println("接收到消息:" + string); - } catch (MessagingException ex) { - //logger.info(ex.getMessage()); - } - }; - - } -} - - diff --git a/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/config/MqttConfig.java b/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/config/MqttConfig.java deleted file mode 100644 index ca7303af..00000000 --- a/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/config/MqttConfig.java +++ /dev/null @@ -1,40 +0,0 @@ -package com.iot.mqtt.config; - -import lombok.Getter; -import lombok.Setter; -import org.springframework.boot.context.properties.ConfigurationProperties; -import org.springframework.integration.annotation.IntegrationComponentScan; -import org.springframework.stereotype.Component; - -/** - * @Author: xinzhifu - * @Description: 基础配置类 - * @date 2020/6/8 18:25 - */ -@Getter -@Setter -@Component -@IntegrationComponentScan -@ConfigurationProperties(prefix = "iot.mqtt") -public class MqttConfig { - - /** - * 服务地址 - */ - private String servers; - - /** - * 客户端id - */ - private String clientId; - - /** - * 服务端id - */ - private String serverClientId; - - /** - * 默认主题 - */ - private String defaultTopic; -} diff --git a/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/producer/IotMqttController.java b/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/producer/IotMqttController.java deleted file mode 100644 index 38a091ed..00000000 --- a/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/producer/IotMqttController.java +++ /dev/null @@ -1,33 +0,0 @@ -package com.iot.mqtt.producer; - -/** - * @Author: xinzhifu - * @Description: - */ - -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Controller; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestParam; -import org.springframework.web.bind.annotation.ResponseBody; - -/** - * @Author: xiaofu - * @Description: - * @date 2020/6/8 18:26 - */ -@Controller -@RequestMapping("/fun") -public class IotMqttController { - - @Autowired - private IotMqttGateway mqttGateway; - - @RequestMapping("/testMqtt") - @ResponseBody - public String sendMqtt(@RequestParam(value = "topic") String topic, @RequestParam(value = "message") String message) { - mqttGateway.sendMessage2Mqtt(message); - return "SUCCESS"; - } - -} diff --git a/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/producer/IotMqttGateway.java b/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/producer/IotMqttGateway.java deleted file mode 100644 index 9346bdcc..00000000 --- a/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/producer/IotMqttGateway.java +++ /dev/null @@ -1,27 +0,0 @@ -package com.iot.mqtt.producer; - -import org.springframework.integration.annotation.MessagingGateway; -import org.springframework.integration.mqtt.support.MqttHeaders; -import org.springframework.messaging.handler.annotation.Header; - -/** - * @Author: xinzhifu - * @Description: - */ -/** - * @author xinzhifu - * @description - * @date 2020/6/8 18:26 - */ -@MessagingGateway(defaultRequestChannel = "iotMqttInputChannel") -public interface IotMqttGateway { - - void sendMessage2Mqtt(String data); - - void sendMessage2Mqtt(String data,@Header(MqttHeaders.TOPIC) String topic); - - void sendMessage2Mqtt(@Header(MqttHeaders.TOPIC) String topic, @Header(MqttHeaders.QOS) int qos, String payload); -} - - - diff --git a/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/producer/call.java b/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/producer/call.java deleted file mode 100644 index ae50d4cf..00000000 --- a/springboot-rabbitmq-mqtt/src/main/java/com/iot/mqtt/producer/call.java +++ /dev/null @@ -1,27 +0,0 @@ -package com.iot.mqtt.producer; - -import org.eclipse.paho.client.mqttv3.IMqttDeliveryToken; -import org.eclipse.paho.client.mqttv3.MqttCallback; -import org.eclipse.paho.client.mqttv3.MqttMessage; - -/** - * @Author: xinzhifu - * @Description: - */ -public class call implements MqttCallback { - - @Override - public void connectionLost(Throwable throwable) { - System.out.println(throwable); - } - - @Override - public void messageArrived(String s, MqttMessage mqttMessage) throws Exception { - System.out.println("消息接收" + s + mqttMessage); - } - - @Override - public void deliveryComplete(IMqttDeliveryToken iMqttDeliveryToken) { - - } -} diff --git a/springboot-rabbitmq-mqtt/src/main/resources/application.yml b/springboot-rabbitmq-mqtt/src/main/resources/application.yml deleted file mode 100644 index c194c4ff..00000000 --- a/springboot-rabbitmq-mqtt/src/main/resources/application.yml +++ /dev/null @@ -1,7 +0,0 @@ -iot: - mqtt: - clientId: client-1 - defaultTopic: mqtt_test_topic - serverClientId: server-1 - servers: tcp://127.0.0.1:1883 - diff --git a/springboot-rabbitmq-mqtt/src/main/resources/templates/hello.html b/springboot-rabbitmq-mqtt/src/main/resources/templates/hello.html deleted file mode 100644 index f97e2759..00000000 --- a/springboot-rabbitmq-mqtt/src/main/resources/templates/hello.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - Title - - -11111111111111111111111111111111 - - \ No newline at end of file From d7a89a6ec5a3347b5221014bf225f1b5aeec3a6f Mon Sep 17 00:00:00 2001 From: xin <515361725@qq.com> Date: Sun, 2 Aug 2020 22:37:55 +0800 Subject: [PATCH 17/35] springboot-database-doc --- springboot-database-doc/.gitignore | 33 ++ ...47\224\237\346\210\220_0.0.1-SNAPSHOT.doc" | 1 + ...7\224\237\346\210\220_0.0.1-SNAPSHOT.html" | 1 + ...347\224\237\346\210\220_0.0.1-SNAPSHOT.md" | 21 ++ springboot-database-doc/mvnw | 310 ++++++++++++++++++ springboot-database-doc/mvnw.cmd | 182 ++++++++++ springboot-database-doc/pom.xml | 132 ++++++++ .../com/xiaofu/doc/ScrewApplicationTests.java | 80 +++++ .../doc/SpringbootDatabaseDocApplication.java | 13 + .../src/main/resources/application.properties | 5 + ...SpringbootDatabaseDocApplicationTests.java | 13 + 11 files changed, 791 insertions(+) create mode 100644 springboot-database-doc/.gitignore create mode 100644 "springboot-database-doc/doc/fire_\346\225\260\346\215\256\345\272\223\346\226\207\346\241\243\347\224\237\346\210\220_0.0.1-SNAPSHOT.doc" create mode 100644 "springboot-database-doc/doc/fire_\346\225\260\346\215\256\345\272\223\346\226\207\346\241\243\347\224\237\346\210\220_0.0.1-SNAPSHOT.html" create mode 100644 "springboot-database-doc/doc/fire_\346\225\260\346\215\256\345\272\223\346\226\207\346\241\243\347\224\237\346\210\220_0.0.1-SNAPSHOT.md" create mode 100644 springboot-database-doc/mvnw create mode 100644 springboot-database-doc/mvnw.cmd create mode 100644 springboot-database-doc/pom.xml create mode 100644 springboot-database-doc/src/main/java/com/xiaofu/doc/ScrewApplicationTests.java create mode 100644 springboot-database-doc/src/main/java/com/xiaofu/doc/SpringbootDatabaseDocApplication.java create mode 100644 springboot-database-doc/src/main/resources/application.properties create mode 100644 springboot-database-doc/src/test/java/com/xiaofu/doc/SpringbootDatabaseDocApplicationTests.java diff --git a/springboot-database-doc/.gitignore b/springboot-database-doc/.gitignore new file mode 100644 index 00000000..549e00a2 --- /dev/null +++ b/springboot-database-doc/.gitignore @@ -0,0 +1,33 @@ +HELP.md +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ diff --git "a/springboot-database-doc/doc/fire_\346\225\260\346\215\256\345\272\223\346\226\207\346\241\243\347\224\237\346\210\220_0.0.1-SNAPSHOT.doc" "b/springboot-database-doc/doc/fire_\346\225\260\346\215\256\345\272\223\346\226\207\346\241\243\347\224\237\346\210\220_0.0.1-SNAPSHOT.doc" new file mode 100644 index 00000000..a9be0902 --- /dev/null +++ "b/springboot-database-doc/doc/fire_\346\225\260\346\215\256\345\272\223\346\226\207\346\241\243\347\224\237\346\210\220_0.0.1-SNAPSHOT.doc" @@ -0,0 +1 @@ +fire数据库文档数据库名:fire文档版本:0.0.1-SNAPSHOT文档描述:数据库文档生成fire_user (用户表)编号名称数据类型长度小数位允许空值主键默认值说明1user_idint100NY2user_namevarchar1000YN用户名3face_tokenvarchar5000YN人脸唯一标识fire数据库文档screwscrew20117100Microsoft Office Word011falsefalse116falsefalse16.00002052-11.1.0.9740 \ No newline at end of file diff --git "a/springboot-database-doc/doc/fire_\346\225\260\346\215\256\345\272\223\346\226\207\346\241\243\347\224\237\346\210\220_0.0.1-SNAPSHOT.html" "b/springboot-database-doc/doc/fire_\346\225\260\346\215\256\345\272\223\346\226\207\346\241\243\347\224\237\346\210\220_0.0.1-SNAPSHOT.html" new file mode 100644 index 00000000..2f101b95 --- /dev/null +++ "b/springboot-database-doc/doc/fire_\346\225\260\346\215\256\345\272\223\346\226\207\346\241\243\347\224\237\346\210\220_0.0.1-SNAPSHOT.html" @@ -0,0 +1 @@ +fire数据库文档

fire数据库文档

数据库名:fire
文档版本:0.0.1-SNAPSHOT
文档描述:数据库文档生成
序号表名说明
1fire_user用户表
返回目录表名:fire_user
说明:用户表
数据列:
序号名称数据类型长度小数位允许空值主键默认值说明
1user_idint100NY
2user_namevarchar1000YN用户名
3face_tokenvarchar5000YN人脸唯一标识
\ No newline at end of file diff --git "a/springboot-database-doc/doc/fire_\346\225\260\346\215\256\345\272\223\346\226\207\346\241\243\347\224\237\346\210\220_0.0.1-SNAPSHOT.md" "b/springboot-database-doc/doc/fire_\346\225\260\346\215\256\345\272\223\346\226\207\346\241\243\347\224\237\346\210\220_0.0.1-SNAPSHOT.md" new file mode 100644 index 00000000..c79c8c93 --- /dev/null +++ "b/springboot-database-doc/doc/fire_\346\225\260\346\215\256\345\272\223\346\226\207\346\241\243\347\224\237\346\210\220_0.0.1-SNAPSHOT.md" @@ -0,0 +1,21 @@ +# fire数据库文档 + +**数据库名:** fire + +**文档版本:** 0.0.1-SNAPSHOT + +**文档描述:** 数据库文档生成 +| 表名 | 说明 | +| :-------------------- | :--------- | +| [fire_user](#fire_user) | 用户表 | +**表名:** fire_user + +**说明:** 用户表 + +**数据列:** + +| 序号 | 名称 | 数据类型 | 长度 | 小数位 | 允许空值 | 主键 | 默认值 | 说明 | +| :--: | :--- | :------: | :----: | :----: | :------: | :--: | :----: | :--: | +| 1 | user_id | int | 10 | 0 | N | Y | | | +| 2 | user_name | varchar | 100 | 0 | Y | N | | 用户名 | +| 3 | face_token | varchar | 500 | 0 | Y | N | | 人脸唯一标识 | diff --git a/springboot-database-doc/mvnw b/springboot-database-doc/mvnw new file mode 100644 index 00000000..a16b5431 --- /dev/null +++ b/springboot-database-doc/mvnw @@ -0,0 +1,310 @@ +#!/bin/sh +# ---------------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ---------------------------------------------------------------------------- + +# ---------------------------------------------------------------------------- +# Maven Start Up Batch script +# +# Required ENV vars: +# ------------------ +# JAVA_HOME - location of a JDK home dir +# +# Optional ENV vars +# ----------------- +# M2_HOME - location of maven2's installed home dir +# MAVEN_OPTS - parameters passed to the Java VM when running Maven +# e.g. to debug Maven itself, use +# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +# MAVEN_SKIP_RC - flag to disable loading of mavenrc files +# ---------------------------------------------------------------------------- + +if [ -z "$MAVEN_SKIP_RC" ] ; then + + if [ -f /etc/mavenrc ] ; then + . /etc/mavenrc + fi + + if [ -f "$HOME/.mavenrc" ] ; then + . "$HOME/.mavenrc" + fi + +fi + +# OS specific support. $var _must_ be set to either true or false. +cygwin=false; +darwin=false; +mingw=false +case "`uname`" in + CYGWIN*) cygwin=true ;; + MINGW*) mingw=true;; + Darwin*) darwin=true + # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home + # See https://developer.apple.com/library/mac/qa/qa1170/_index.html + if [ -z "$JAVA_HOME" ]; then + if [ -x "/usr/libexec/java_home" ]; then + export JAVA_HOME="`/usr/libexec/java_home`" + else + export JAVA_HOME="/Library/Java/Home" + fi + fi + ;; +esac + +if [ -z "$JAVA_HOME" ] ; then + if [ -r /etc/gentoo-release ] ; then + JAVA_HOME=`java-config --jre-home` + fi +fi + +if [ -z "$M2_HOME" ] ; then + ## resolve links - $0 may be a link to maven's home + PRG="$0" + + # need this for relative symlinks + while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG="`dirname "$PRG"`/$link" + fi + done + + saveddir=`pwd` + + M2_HOME=`dirname "$PRG"`/.. + + # make it fully qualified + M2_HOME=`cd "$M2_HOME" && pwd` + + cd "$saveddir" + # echo Using m2 at $M2_HOME +fi + +# For Cygwin, ensure paths are in UNIX format before anything is touched +if $cygwin ; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --unix "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --unix "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --unix "$CLASSPATH"` +fi + +# For Mingw, ensure paths are in UNIX format before anything is touched +if $mingw ; then + [ -n "$M2_HOME" ] && + M2_HOME="`(cd "$M2_HOME"; pwd)`" + [ -n "$JAVA_HOME" ] && + JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`" +fi + +if [ -z "$JAVA_HOME" ]; then + javaExecutable="`which javac`" + if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then + # readlink(1) is not available as standard on Solaris 10. + readLink=`which readlink` + if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then + if $darwin ; then + javaHome="`dirname \"$javaExecutable\"`" + javaExecutable="`cd \"$javaHome\" && pwd -P`/javac" + else + javaExecutable="`readlink -f \"$javaExecutable\"`" + fi + javaHome="`dirname \"$javaExecutable\"`" + javaHome=`expr "$javaHome" : '\(.*\)/bin'` + JAVA_HOME="$javaHome" + export JAVA_HOME + fi + fi +fi + +if [ -z "$JAVACMD" ] ; then + if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + else + JAVACMD="`which java`" + fi +fi + +if [ ! -x "$JAVACMD" ] ; then + echo "Error: JAVA_HOME is not defined correctly." >&2 + echo " We cannot execute $JAVACMD" >&2 + exit 1 +fi + +if [ -z "$JAVA_HOME" ] ; then + echo "Warning: JAVA_HOME environment variable is not set." +fi + +CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher + +# traverses directory structure from process work directory to filesystem root +# first directory with .mvn subdirectory is considered project base directory +find_maven_basedir() { + + if [ -z "$1" ] + then + echo "Path not specified to find_maven_basedir" + return 1 + fi + + basedir="$1" + wdir="$1" + while [ "$wdir" != '/' ] ; do + if [ -d "$wdir"/.mvn ] ; then + basedir=$wdir + break + fi + # workaround for JBEAP-8937 (on Solaris 10/Sparc) + if [ -d "${wdir}" ]; then + wdir=`cd "$wdir/.."; pwd` + fi + # end of workaround + done + echo "${basedir}" +} + +# concatenates all lines of a file +concat_lines() { + if [ -f "$1" ]; then + echo "$(tr -s '\n' ' ' < "$1")" + fi +} + +BASE_DIR=`find_maven_basedir "$(pwd)"` +if [ -z "$BASE_DIR" ]; then + exit 1; +fi + +########################################################################################## +# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central +# This allows using the maven wrapper in projects that prohibit checking in binary data. +########################################################################################## +if [ -r "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" ]; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found .mvn/wrapper/maven-wrapper.jar" + fi +else + if [ "$MVNW_VERBOSE" = true ]; then + echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..." + fi + if [ -n "$MVNW_REPOURL" ]; then + jarUrl="$MVNW_REPOURL/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + else + jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + fi + while IFS="=" read key value; do + case "$key" in (wrapperUrl) jarUrl="$value"; break ;; + esac + done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties" + if [ "$MVNW_VERBOSE" = true ]; then + echo "Downloading from: $jarUrl" + fi + wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" + if $cygwin; then + wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"` + fi + + if command -v wget > /dev/null; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found wget ... using wget" + fi + if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then + wget "$jarUrl" -O "$wrapperJarPath" + else + wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath" + fi + elif command -v curl > /dev/null; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found curl ... using curl" + fi + if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then + curl -o "$wrapperJarPath" "$jarUrl" -f + else + curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o "$wrapperJarPath" "$jarUrl" -f + fi + + else + if [ "$MVNW_VERBOSE" = true ]; then + echo "Falling back to using Java to download" + fi + javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java" + # For Cygwin, switch paths to Windows format before running javac + if $cygwin; then + javaClass=`cygpath --path --windows "$javaClass"` + fi + if [ -e "$javaClass" ]; then + if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then + if [ "$MVNW_VERBOSE" = true ]; then + echo " - Compiling MavenWrapperDownloader.java ..." + fi + # Compiling the Java class + ("$JAVA_HOME/bin/javac" "$javaClass") + fi + if [ -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then + # Running the downloader + if [ "$MVNW_VERBOSE" = true ]; then + echo " - Running MavenWrapperDownloader.java ..." + fi + ("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$MAVEN_PROJECTBASEDIR") + fi + fi + fi +fi +########################################################################################## +# End of extension +########################################################################################## + +export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"} +if [ "$MVNW_VERBOSE" = true ]; then + echo $MAVEN_PROJECTBASEDIR +fi +MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS" + +# For Cygwin, switch paths to Windows format before running java +if $cygwin; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --path --windows "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --windows "$CLASSPATH"` + [ -n "$MAVEN_PROJECTBASEDIR" ] && + MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"` +fi + +# Provide a "standardized" way to retrieve the CLI args that will +# work with both Windows and non-Windows executions. +MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@" +export MAVEN_CMD_LINE_ARGS + +WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +exec "$JAVACMD" \ + $MAVEN_OPTS \ + -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \ + "-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \ + ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@" diff --git a/springboot-database-doc/mvnw.cmd b/springboot-database-doc/mvnw.cmd new file mode 100644 index 00000000..c8d43372 --- /dev/null +++ b/springboot-database-doc/mvnw.cmd @@ -0,0 +1,182 @@ +@REM ---------------------------------------------------------------------------- +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at +@REM +@REM https://www.apache.org/licenses/LICENSE-2.0 +@REM +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. +@REM ---------------------------------------------------------------------------- + +@REM ---------------------------------------------------------------------------- +@REM Maven Start Up Batch script +@REM +@REM Required ENV vars: +@REM JAVA_HOME - location of a JDK home dir +@REM +@REM Optional ENV vars +@REM M2_HOME - location of maven2's installed home dir +@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands +@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending +@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven +@REM e.g. to debug Maven itself, use +@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files +@REM ---------------------------------------------------------------------------- + +@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on' +@echo off +@REM set title of command window +title %0 +@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on' +@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO% + +@REM set %HOME% to equivalent of $HOME +if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%") + +@REM Execute a user defined script before this one +if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre +@REM check for pre script, once with legacy .bat ending and once with .cmd ending +if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat" +if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd" +:skipRcPre + +@setlocal + +set ERROR_CODE=0 + +@REM To isolate internal variables from possible post scripts, we use another setlocal +@setlocal + +@REM ==== START VALIDATION ==== +if not "%JAVA_HOME%" == "" goto OkJHome + +echo. +echo Error: JAVA_HOME not found in your environment. >&2 +echo Please set the JAVA_HOME variable in your environment to match the >&2 +echo location of your Java installation. >&2 +echo. +goto error + +:OkJHome +if exist "%JAVA_HOME%\bin\java.exe" goto init + +echo. +echo Error: JAVA_HOME is set to an invalid directory. >&2 +echo JAVA_HOME = "%JAVA_HOME%" >&2 +echo Please set the JAVA_HOME variable in your environment to match the >&2 +echo location of your Java installation. >&2 +echo. +goto error + +@REM ==== END VALIDATION ==== + +:init + +@REM Find the project base dir, i.e. the directory that contains the folder ".mvn". +@REM Fallback to current working directory if not found. + +set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR% +IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir + +set EXEC_DIR=%CD% +set WDIR=%EXEC_DIR% +:findBaseDir +IF EXIST "%WDIR%"\.mvn goto baseDirFound +cd .. +IF "%WDIR%"=="%CD%" goto baseDirNotFound +set WDIR=%CD% +goto findBaseDir + +:baseDirFound +set MAVEN_PROJECTBASEDIR=%WDIR% +cd "%EXEC_DIR%" +goto endDetectBaseDir + +:baseDirNotFound +set MAVEN_PROJECTBASEDIR=%EXEC_DIR% +cd "%EXEC_DIR%" + +:endDetectBaseDir + +IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig + +@setlocal EnableExtensions EnableDelayedExpansion +for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a +@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS% + +:endReadAdditionalConfig + +SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe" +set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar" +set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + +FOR /F "tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO ( + IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B +) + +@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central +@REM This allows using the maven wrapper in projects that prohibit checking in binary data. +if exist %WRAPPER_JAR% ( + if "%MVNW_VERBOSE%" == "true" ( + echo Found %WRAPPER_JAR% + ) +) else ( + if not "%MVNW_REPOURL%" == "" ( + SET DOWNLOAD_URL="%MVNW_REPOURL%/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + ) + if "%MVNW_VERBOSE%" == "true" ( + echo Couldn't find %WRAPPER_JAR%, downloading it ... + echo Downloading from: %DOWNLOAD_URL% + ) + + powershell -Command "&{"^ + "$webclient = new-object System.Net.WebClient;"^ + "if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^ + "$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^ + "}"^ + "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^ + "}" + if "%MVNW_VERBOSE%" == "true" ( + echo Finished downloading %WRAPPER_JAR% + ) +) +@REM End of extension + +@REM Provide a "standardized" way to retrieve the CLI args that will +@REM work with both Windows and non-Windows executions. +set MAVEN_CMD_LINE_ARGS=%* + +%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %* +if ERRORLEVEL 1 goto error +goto end + +:error +set ERROR_CODE=1 + +:end +@endlocal & set ERROR_CODE=%ERROR_CODE% + +if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost +@REM check for post script, once with legacy .bat ending and once with .cmd ending +if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat" +if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd" +:skipRcPost + +@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on' +if "%MAVEN_BATCH_PAUSE%" == "on" pause + +if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE% + +exit /B %ERROR_CODE% diff --git a/springboot-database-doc/pom.xml b/springboot-database-doc/pom.xml new file mode 100644 index 00000000..18a9a82a --- /dev/null +++ b/springboot-database-doc/pom.xml @@ -0,0 +1,132 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.3.2.RELEASE + + + com.xiaofu.doc + springboot-database-doc + 0.0.1-SNAPSHOT + springboot-database-doc + springboot-database-doc + + + 1.8 + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + org.junit.vintage + junit-vintage-engine + + + + + + org.freemarker + freemarker + 2.3.30 + + + + + cn.smallbun.screw + screw-core + 1.0.3 + + + + + com.zaxxer + HikariCP + 3.4.5 + + + + + mysql + mysql-connector-java + 8.0.20 + + + org.springframework.boot + spring-boot-starter-test + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + cn.smallbun.screw + screw-maven-plugin + 1.0.3 + + + + com.zaxxer + HikariCP + 3.4.5 + + + + mysql + mysql-connector-java + 8.0.20 + + + + + root + + xinzhifu521 + + com.mysql.cj.jdbc.Driver + + jdbc:mysql://47.93.6.5:3306/fire + + MD + + false + + freemarker + + + + 数据库文档生成 + + ${project.version} + + fire数据库文档 + + + + compile + + run + + + + + + + + diff --git a/springboot-database-doc/src/main/java/com/xiaofu/doc/ScrewApplicationTests.java b/springboot-database-doc/src/main/java/com/xiaofu/doc/ScrewApplicationTests.java new file mode 100644 index 00000000..37451fc4 --- /dev/null +++ b/springboot-database-doc/src/main/java/com/xiaofu/doc/ScrewApplicationTests.java @@ -0,0 +1,80 @@ +package com.xiaofu.doc; + +import cn.smallbun.screw.core.Configuration; +import cn.smallbun.screw.core.engine.EngineConfig; +import cn.smallbun.screw.core.engine.EngineFileType; +import cn.smallbun.screw.core.engine.EngineTemplateType; +import cn.smallbun.screw.core.execute.DocumentationExecute; +import cn.smallbun.screw.core.process.ProcessConfig; +import org.junit.Test; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.context.ApplicationContext; + +import javax.sql.DataSource; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +/** + * @Author: xinzhifu + * @Description: + */ +@SpringBootTest +public class ScrewApplicationTests { + + @Autowired + ApplicationContext applicationContext; + + @Test + void contextLoads() { + DataSource dataSourceMysql = applicationContext.getBean(DataSource.class); + // 生成文件配置 + EngineConfig engineConfig = EngineConfig.builder() + // 生成文件路径,自己mac本地的地址,这里需要自己更换下路径 + .fileOutputDir("D:/") + // 打开目录 + .openOutputDir(false) + // 文件类型 + .fileType(EngineFileType.HTML) + // 生成模板实现 + .produceType(EngineTemplateType.freemarker).build(); + // 生成文档配置(包含以下自定义版本号、描述等配置连接) + Configuration config = Configuration.builder() + .version("1.0.3") + .description("生成文档信息描述") + .dataSource(dataSourceMysql) + .engineConfig(engineConfig) + .produceConfig(getProcessConfig()) + .build(); + // 执行生成 + new DocumentationExecute(config).execute(); + } + + /** + * 配置想要生成的表+ 配置想要忽略的表 + * + * @return 生成表配置 + */ + public static ProcessConfig getProcessConfig() { + // 忽略表名 + List ignoreTableName = Arrays.asList("a", "test_group"); + // 忽略表前缀,如忽略a开头的数据库表 + List ignorePrefix = Arrays.asList("a", "t"); + // 忽略表后缀 + List ignoreSuffix = Arrays.asList("_test", "czb_"); + return ProcessConfig.builder() + //根据名称指定表生成 + .designatedTableName(Arrays.asList("fire_user")) + //根据表前缀生成 + .designatedTablePrefix(new ArrayList<>()) + //根据表后缀生成 + .designatedTableSuffix(new ArrayList<>()) + //忽略表名 + .ignoreTableName(ignoreTableName) + //忽略表前缀 + .ignoreTablePrefix(ignorePrefix) + //忽略表后缀 + .ignoreTableSuffix(ignoreSuffix).build(); + } +} diff --git a/springboot-database-doc/src/main/java/com/xiaofu/doc/SpringbootDatabaseDocApplication.java b/springboot-database-doc/src/main/java/com/xiaofu/doc/SpringbootDatabaseDocApplication.java new file mode 100644 index 00000000..48a3b05e --- /dev/null +++ b/springboot-database-doc/src/main/java/com/xiaofu/doc/SpringbootDatabaseDocApplication.java @@ -0,0 +1,13 @@ +package com.xiaofu.doc; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class SpringbootDatabaseDocApplication { + + public static void main(String[] args) { + SpringApplication.run(SpringbootDatabaseDocApplication.class, args); + } + +} diff --git a/springboot-database-doc/src/main/resources/application.properties b/springboot-database-doc/src/main/resources/application.properties new file mode 100644 index 00000000..4847f215 --- /dev/null +++ b/springboot-database-doc/src/main/resources/application.properties @@ -0,0 +1,5 @@ +spring.datasource.url=jdbc:mysql://47.93.6.5:3306/fire?useUnicode=true&characterEncoding=UTF-8&useSSL=false +spring.datasource.username=root +spring.datasource.password=xinzhifu521 +spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver +spring.datasource.xa.properties.useInformationSchema=false \ No newline at end of file diff --git a/springboot-database-doc/src/test/java/com/xiaofu/doc/SpringbootDatabaseDocApplicationTests.java b/springboot-database-doc/src/test/java/com/xiaofu/doc/SpringbootDatabaseDocApplicationTests.java new file mode 100644 index 00000000..d6cc6868 --- /dev/null +++ b/springboot-database-doc/src/test/java/com/xiaofu/doc/SpringbootDatabaseDocApplicationTests.java @@ -0,0 +1,13 @@ +package com.xiaofu.doc; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class SpringbootDatabaseDocApplicationTests { + + @Test + void contextLoads() { + } + +} From 5e720c9678e5e54012664566fabac85a6ee29a7e Mon Sep 17 00:00:00 2001 From: xin <515361725@qq.com> Date: Thu, 13 Aug 2020 15:42:15 +0800 Subject: [PATCH 18/35] springboot-sharding-jdbc --- springboot-sharding-jdbc/.gitignore | 33 ++ springboot-sharding-jdbc/mvnw | 310 ++++++++++++++++++ springboot-sharding-jdbc/mvnw.cmd | 182 ++++++++++ springboot-sharding-jdbc/pom.xml | 97 ++++++ .../sharding/MyPreciseShardingAlgorithm.java | 27 ++ .../SpringbootShardingJdbcApplication.java | 15 + .../sharding/contoller/TestController.java | 64 ++++ .../sharding/mapper/ConfigRepository.java | 13 + .../sharding/mapper/UserRepository.java | 13 + .../com/xiaofu/sharding/model/TConfig.java | 47 +++ .../java/com/xiaofu/sharding/model/TUser.java | 45 +++ .../xiaofu/sharding/service/UserService.java | 20 ++ .../service/impl/UserServiceImpl.java | 43 +++ .../resources/application-sharding_jdbc.yml | 52 +++ .../src/main/resources/application.yml | 5 + .../resources/generator/generatorConfig.xml | 39 +++ .../main/resources/mapping/TConfigMapper.xml | 6 + .../main/resources/mapping/TUserMapper.xml | 6 + 18 files changed, 1017 insertions(+) create mode 100644 springboot-sharding-jdbc/.gitignore create mode 100644 springboot-sharding-jdbc/mvnw create mode 100644 springboot-sharding-jdbc/mvnw.cmd create mode 100644 springboot-sharding-jdbc/pom.xml create mode 100644 springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/MyPreciseShardingAlgorithm.java create mode 100644 springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/SpringbootShardingJdbcApplication.java create mode 100644 springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/contoller/TestController.java create mode 100644 springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/mapper/ConfigRepository.java create mode 100644 springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/mapper/UserRepository.java create mode 100644 springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/model/TConfig.java create mode 100644 springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/model/TUser.java create mode 100644 springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/service/UserService.java create mode 100644 springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/service/impl/UserServiceImpl.java create mode 100644 springboot-sharding-jdbc/src/main/resources/application-sharding_jdbc.yml create mode 100644 springboot-sharding-jdbc/src/main/resources/application.yml create mode 100644 springboot-sharding-jdbc/src/main/resources/generator/generatorConfig.xml create mode 100644 springboot-sharding-jdbc/src/main/resources/mapping/TConfigMapper.xml create mode 100644 springboot-sharding-jdbc/src/main/resources/mapping/TUserMapper.xml diff --git a/springboot-sharding-jdbc/.gitignore b/springboot-sharding-jdbc/.gitignore new file mode 100644 index 00000000..549e00a2 --- /dev/null +++ b/springboot-sharding-jdbc/.gitignore @@ -0,0 +1,33 @@ +HELP.md +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ diff --git a/springboot-sharding-jdbc/mvnw b/springboot-sharding-jdbc/mvnw new file mode 100644 index 00000000..a16b5431 --- /dev/null +++ b/springboot-sharding-jdbc/mvnw @@ -0,0 +1,310 @@ +#!/bin/sh +# ---------------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ---------------------------------------------------------------------------- + +# ---------------------------------------------------------------------------- +# Maven Start Up Batch script +# +# Required ENV vars: +# ------------------ +# JAVA_HOME - location of a JDK home dir +# +# Optional ENV vars +# ----------------- +# M2_HOME - location of maven2's installed home dir +# MAVEN_OPTS - parameters passed to the Java VM when running Maven +# e.g. to debug Maven itself, use +# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +# MAVEN_SKIP_RC - flag to disable loading of mavenrc files +# ---------------------------------------------------------------------------- + +if [ -z "$MAVEN_SKIP_RC" ] ; then + + if [ -f /etc/mavenrc ] ; then + . /etc/mavenrc + fi + + if [ -f "$HOME/.mavenrc" ] ; then + . "$HOME/.mavenrc" + fi + +fi + +# OS specific support. $var _must_ be set to either true or false. +cygwin=false; +darwin=false; +mingw=false +case "`uname`" in + CYGWIN*) cygwin=true ;; + MINGW*) mingw=true;; + Darwin*) darwin=true + # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home + # See https://developer.apple.com/library/mac/qa/qa1170/_index.html + if [ -z "$JAVA_HOME" ]; then + if [ -x "/usr/libexec/java_home" ]; then + export JAVA_HOME="`/usr/libexec/java_home`" + else + export JAVA_HOME="/Library/Java/Home" + fi + fi + ;; +esac + +if [ -z "$JAVA_HOME" ] ; then + if [ -r /etc/gentoo-release ] ; then + JAVA_HOME=`java-config --jre-home` + fi +fi + +if [ -z "$M2_HOME" ] ; then + ## resolve links - $0 may be a link to maven's home + PRG="$0" + + # need this for relative symlinks + while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG="`dirname "$PRG"`/$link" + fi + done + + saveddir=`pwd` + + M2_HOME=`dirname "$PRG"`/.. + + # make it fully qualified + M2_HOME=`cd "$M2_HOME" && pwd` + + cd "$saveddir" + # echo Using m2 at $M2_HOME +fi + +# For Cygwin, ensure paths are in UNIX format before anything is touched +if $cygwin ; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --unix "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --unix "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --unix "$CLASSPATH"` +fi + +# For Mingw, ensure paths are in UNIX format before anything is touched +if $mingw ; then + [ -n "$M2_HOME" ] && + M2_HOME="`(cd "$M2_HOME"; pwd)`" + [ -n "$JAVA_HOME" ] && + JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`" +fi + +if [ -z "$JAVA_HOME" ]; then + javaExecutable="`which javac`" + if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then + # readlink(1) is not available as standard on Solaris 10. + readLink=`which readlink` + if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then + if $darwin ; then + javaHome="`dirname \"$javaExecutable\"`" + javaExecutable="`cd \"$javaHome\" && pwd -P`/javac" + else + javaExecutable="`readlink -f \"$javaExecutable\"`" + fi + javaHome="`dirname \"$javaExecutable\"`" + javaHome=`expr "$javaHome" : '\(.*\)/bin'` + JAVA_HOME="$javaHome" + export JAVA_HOME + fi + fi +fi + +if [ -z "$JAVACMD" ] ; then + if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + else + JAVACMD="`which java`" + fi +fi + +if [ ! -x "$JAVACMD" ] ; then + echo "Error: JAVA_HOME is not defined correctly." >&2 + echo " We cannot execute $JAVACMD" >&2 + exit 1 +fi + +if [ -z "$JAVA_HOME" ] ; then + echo "Warning: JAVA_HOME environment variable is not set." +fi + +CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher + +# traverses directory structure from process work directory to filesystem root +# first directory with .mvn subdirectory is considered project base directory +find_maven_basedir() { + + if [ -z "$1" ] + then + echo "Path not specified to find_maven_basedir" + return 1 + fi + + basedir="$1" + wdir="$1" + while [ "$wdir" != '/' ] ; do + if [ -d "$wdir"/.mvn ] ; then + basedir=$wdir + break + fi + # workaround for JBEAP-8937 (on Solaris 10/Sparc) + if [ -d "${wdir}" ]; then + wdir=`cd "$wdir/.."; pwd` + fi + # end of workaround + done + echo "${basedir}" +} + +# concatenates all lines of a file +concat_lines() { + if [ -f "$1" ]; then + echo "$(tr -s '\n' ' ' < "$1")" + fi +} + +BASE_DIR=`find_maven_basedir "$(pwd)"` +if [ -z "$BASE_DIR" ]; then + exit 1; +fi + +########################################################################################## +# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central +# This allows using the maven wrapper in projects that prohibit checking in binary data. +########################################################################################## +if [ -r "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" ]; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found .mvn/wrapper/maven-wrapper.jar" + fi +else + if [ "$MVNW_VERBOSE" = true ]; then + echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..." + fi + if [ -n "$MVNW_REPOURL" ]; then + jarUrl="$MVNW_REPOURL/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + else + jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + fi + while IFS="=" read key value; do + case "$key" in (wrapperUrl) jarUrl="$value"; break ;; + esac + done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties" + if [ "$MVNW_VERBOSE" = true ]; then + echo "Downloading from: $jarUrl" + fi + wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" + if $cygwin; then + wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"` + fi + + if command -v wget > /dev/null; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found wget ... using wget" + fi + if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then + wget "$jarUrl" -O "$wrapperJarPath" + else + wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath" + fi + elif command -v curl > /dev/null; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found curl ... using curl" + fi + if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then + curl -o "$wrapperJarPath" "$jarUrl" -f + else + curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o "$wrapperJarPath" "$jarUrl" -f + fi + + else + if [ "$MVNW_VERBOSE" = true ]; then + echo "Falling back to using Java to download" + fi + javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java" + # For Cygwin, switch paths to Windows format before running javac + if $cygwin; then + javaClass=`cygpath --path --windows "$javaClass"` + fi + if [ -e "$javaClass" ]; then + if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then + if [ "$MVNW_VERBOSE" = true ]; then + echo " - Compiling MavenWrapperDownloader.java ..." + fi + # Compiling the Java class + ("$JAVA_HOME/bin/javac" "$javaClass") + fi + if [ -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then + # Running the downloader + if [ "$MVNW_VERBOSE" = true ]; then + echo " - Running MavenWrapperDownloader.java ..." + fi + ("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$MAVEN_PROJECTBASEDIR") + fi + fi + fi +fi +########################################################################################## +# End of extension +########################################################################################## + +export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"} +if [ "$MVNW_VERBOSE" = true ]; then + echo $MAVEN_PROJECTBASEDIR +fi +MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS" + +# For Cygwin, switch paths to Windows format before running java +if $cygwin; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --path --windows "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --windows "$CLASSPATH"` + [ -n "$MAVEN_PROJECTBASEDIR" ] && + MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"` +fi + +# Provide a "standardized" way to retrieve the CLI args that will +# work with both Windows and non-Windows executions. +MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@" +export MAVEN_CMD_LINE_ARGS + +WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +exec "$JAVACMD" \ + $MAVEN_OPTS \ + -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \ + "-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \ + ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@" diff --git a/springboot-sharding-jdbc/mvnw.cmd b/springboot-sharding-jdbc/mvnw.cmd new file mode 100644 index 00000000..c8d43372 --- /dev/null +++ b/springboot-sharding-jdbc/mvnw.cmd @@ -0,0 +1,182 @@ +@REM ---------------------------------------------------------------------------- +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at +@REM +@REM https://www.apache.org/licenses/LICENSE-2.0 +@REM +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. +@REM ---------------------------------------------------------------------------- + +@REM ---------------------------------------------------------------------------- +@REM Maven Start Up Batch script +@REM +@REM Required ENV vars: +@REM JAVA_HOME - location of a JDK home dir +@REM +@REM Optional ENV vars +@REM M2_HOME - location of maven2's installed home dir +@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands +@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending +@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven +@REM e.g. to debug Maven itself, use +@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files +@REM ---------------------------------------------------------------------------- + +@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on' +@echo off +@REM set title of command window +title %0 +@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on' +@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO% + +@REM set %HOME% to equivalent of $HOME +if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%") + +@REM Execute a user defined script before this one +if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre +@REM check for pre script, once with legacy .bat ending and once with .cmd ending +if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat" +if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd" +:skipRcPre + +@setlocal + +set ERROR_CODE=0 + +@REM To isolate internal variables from possible post scripts, we use another setlocal +@setlocal + +@REM ==== START VALIDATION ==== +if not "%JAVA_HOME%" == "" goto OkJHome + +echo. +echo Error: JAVA_HOME not found in your environment. >&2 +echo Please set the JAVA_HOME variable in your environment to match the >&2 +echo location of your Java installation. >&2 +echo. +goto error + +:OkJHome +if exist "%JAVA_HOME%\bin\java.exe" goto init + +echo. +echo Error: JAVA_HOME is set to an invalid directory. >&2 +echo JAVA_HOME = "%JAVA_HOME%" >&2 +echo Please set the JAVA_HOME variable in your environment to match the >&2 +echo location of your Java installation. >&2 +echo. +goto error + +@REM ==== END VALIDATION ==== + +:init + +@REM Find the project base dir, i.e. the directory that contains the folder ".mvn". +@REM Fallback to current working directory if not found. + +set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR% +IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir + +set EXEC_DIR=%CD% +set WDIR=%EXEC_DIR% +:findBaseDir +IF EXIST "%WDIR%"\.mvn goto baseDirFound +cd .. +IF "%WDIR%"=="%CD%" goto baseDirNotFound +set WDIR=%CD% +goto findBaseDir + +:baseDirFound +set MAVEN_PROJECTBASEDIR=%WDIR% +cd "%EXEC_DIR%" +goto endDetectBaseDir + +:baseDirNotFound +set MAVEN_PROJECTBASEDIR=%EXEC_DIR% +cd "%EXEC_DIR%" + +:endDetectBaseDir + +IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig + +@setlocal EnableExtensions EnableDelayedExpansion +for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a +@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS% + +:endReadAdditionalConfig + +SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe" +set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar" +set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + +FOR /F "tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO ( + IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B +) + +@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central +@REM This allows using the maven wrapper in projects that prohibit checking in binary data. +if exist %WRAPPER_JAR% ( + if "%MVNW_VERBOSE%" == "true" ( + echo Found %WRAPPER_JAR% + ) +) else ( + if not "%MVNW_REPOURL%" == "" ( + SET DOWNLOAD_URL="%MVNW_REPOURL%/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + ) + if "%MVNW_VERBOSE%" == "true" ( + echo Couldn't find %WRAPPER_JAR%, downloading it ... + echo Downloading from: %DOWNLOAD_URL% + ) + + powershell -Command "&{"^ + "$webclient = new-object System.Net.WebClient;"^ + "if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^ + "$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^ + "}"^ + "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^ + "}" + if "%MVNW_VERBOSE%" == "true" ( + echo Finished downloading %WRAPPER_JAR% + ) +) +@REM End of extension + +@REM Provide a "standardized" way to retrieve the CLI args that will +@REM work with both Windows and non-Windows executions. +set MAVEN_CMD_LINE_ARGS=%* + +%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %* +if ERRORLEVEL 1 goto error +goto end + +:error +set ERROR_CODE=1 + +:end +@endlocal & set ERROR_CODE=%ERROR_CODE% + +if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost +@REM check for post script, once with legacy .bat ending and once with .cmd ending +if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat" +if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd" +:skipRcPost + +@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on' +if "%MAVEN_BATCH_PAUSE%" == "on" pause + +if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE% + +exit /B %ERROR_CODE% diff --git a/springboot-sharding-jdbc/pom.xml b/springboot-sharding-jdbc/pom.xml new file mode 100644 index 00000000..23f2df5a --- /dev/null +++ b/springboot-sharding-jdbc/pom.xml @@ -0,0 +1,97 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.0.3.RELEASE + + + com.xiaofu.sharding + springboot-sharding-jdbc + 0.0.1-SNAPSHOT + springboot-sharding-jdbc + Demo project for Spring Boot + + + 1.8 + 4.0.0-RC1 + + + + + org.springframework.boot + spring-boot-starter-web + + + + com.baomidou + mybatis-plus-boot-starter + 3.1.0 + + + + mysql + mysql-connector-java + + + + com.alibaba + druid-spring-boot-starter + 1.1.10 + + + + org.apache.shardingsphere + sharding-jdbc-spring-boot-starter + ${sharding-sphere.version} + + + + + org.apache.shardingsphere + sharding-core-common + ${sharding-sphere.version} + + + org.apache.commons + commons-lang3 + 3.7 + + + + com.xiaoju.uemc.tinyid + tinyid-client + 0.1.0-SNAPSHOT + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.mybatis.generator + mybatis-generator-maven-plugin + 1.3.7 + + ${basedir}/src/main/resources/generator/generatorConfig.xml + true + true + + + + mysql + mysql-connector-java + 8.0.20 + + + + + + + diff --git a/springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/MyPreciseShardingAlgorithm.java b/springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/MyPreciseShardingAlgorithm.java new file mode 100644 index 00000000..6ee00dff --- /dev/null +++ b/springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/MyPreciseShardingAlgorithm.java @@ -0,0 +1,27 @@ +package com.xiaofu.sharding; + + +import org.apache.shardingsphere.api.sharding.standard.PreciseShardingAlgorithm; +import org.apache.shardingsphere.api.sharding.standard.PreciseShardingValue; + +import java.util.Collection; + +/** + * 自定义分片算法 + * + * @author yinjihuan + * + */ +public class MyPreciseShardingAlgorithm implements PreciseShardingAlgorithm { + @Override + public String doSharding(Collection availableTargetNames, PreciseShardingValue shardingValue) { + for (String tableName : availableTargetNames) { + + String value = shardingValue.getValue() % 4 + ""; + if (tableName.endsWith(value)) { + return tableName; + } + } + throw new IllegalArgumentException(); + } +} diff --git a/springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/SpringbootShardingJdbcApplication.java b/springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/SpringbootShardingJdbcApplication.java new file mode 100644 index 00000000..604fd5ca --- /dev/null +++ b/springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/SpringbootShardingJdbcApplication.java @@ -0,0 +1,15 @@ +package com.xiaofu.sharding; + +import org.mybatis.spring.annotation.MapperScan; +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@MapperScan(basePackages = "com.xiaofu.sharding.mapper") +@SpringBootApplication +public class SpringbootShardingJdbcApplication { + + public static void main(String[] args) { + SpringApplication.run(SpringbootShardingJdbcApplication.class, args); + } + +} diff --git a/springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/contoller/TestController.java b/springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/contoller/TestController.java new file mode 100644 index 00000000..1020b5e9 --- /dev/null +++ b/springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/contoller/TestController.java @@ -0,0 +1,64 @@ +package com.xiaofu.sharding.contoller; + +import java.util.Date; + +import com.xiaofu.sharding.mapper.ConfigRepository; +import com.xiaofu.sharding.model.TConfig; +import com.xiaofu.sharding.model.TUser; +import com.xiaofu.sharding.service.UserService; +import com.xiaoju.uemc.tinyid.client.utils.TinyId; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.ResponseBody; + +/** + * @Author: xinzhifu + * @Description: + */ +@Controller +@RequestMapping +public class TestController { + + @Autowired + private UserService userService; + + @Autowired + private ConfigRepository configRepository; + + @GetMapping(value = "/config") + @ResponseBody + public String config() { + + TConfig tConfig = new TConfig(); + tConfig.setRemark("我是备注13123123123123123"); + tConfig.setCreateTime(new Date()); + tConfig.setLastModifyTime(new Date()); + configRepository.insert(tConfig); + tConfig.setId(1293488002854133762L); + configRepository.updateById(tConfig); + return "success"; + } + + @GetMapping(value = "/add") + @ResponseBody + public String insert() { + // 获取单个分布式自增ID + for (long i = 0; i < 10; i++) { + Long id = TinyId.nextId("user_primary_key"); + TUser user = new TUser(); + //user.setId(id); + user.setUsername("小富 " + i); + user.setPassword("123456"); + user.setShardingId(i); + userService.addUser(user); + } + return "success"; + } + + @GetMapping("/users") + public Object list() { + return userService.getUsers(); + } +} diff --git a/springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/mapper/ConfigRepository.java b/springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/mapper/ConfigRepository.java new file mode 100644 index 00000000..675d3972 --- /dev/null +++ b/springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/mapper/ConfigRepository.java @@ -0,0 +1,13 @@ +package com.xiaofu.sharding.mapper; + + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xiaofu.sharding.model.TConfig; +import org.apache.ibatis.annotations.Mapper; + + +@Mapper +public interface ConfigRepository extends BaseMapper { + +} + diff --git a/springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/mapper/UserRepository.java b/springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/mapper/UserRepository.java new file mode 100644 index 00000000..8a3fef02 --- /dev/null +++ b/springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/mapper/UserRepository.java @@ -0,0 +1,13 @@ +package com.xiaofu.sharding.mapper; + + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xiaofu.sharding.model.TUser; +import org.apache.ibatis.annotations.Mapper; + + +@Mapper +public interface UserRepository extends BaseMapper { + +} + diff --git a/springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/model/TConfig.java b/springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/model/TConfig.java new file mode 100644 index 00000000..2de21a1d --- /dev/null +++ b/springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/model/TConfig.java @@ -0,0 +1,47 @@ +package com.xiaofu.sharding.model; + +import java.util.Date; + +public class TConfig { + + private Long id; + + private String remark; + + private Date createTime; + + private Date lastModifyTime; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getRemark() { + return remark; + } + + public void setRemark(String remark) { + this.remark = remark; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Date getLastModifyTime() { + return lastModifyTime; + } + + public void setLastModifyTime(Date lastModifyTime) { + this.lastModifyTime = lastModifyTime; + } + +} \ No newline at end of file diff --git a/springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/model/TUser.java b/springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/model/TUser.java new file mode 100644 index 00000000..47b0fedf --- /dev/null +++ b/springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/model/TUser.java @@ -0,0 +1,45 @@ +package com.xiaofu.sharding.model; + +public class TUser { + + private Long id; + + private String username; + + private String password; + + private Long shardingId; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getUsername() { + return username; + } + + public void setUsername(String username) { + this.username = username == null ? null : username.trim(); + } + + public String getPassword() { + return password; + } + + public void setPassword(String password) { + this.password = password == null ? null : password.trim(); + } + + public Long getShardingId() { + return shardingId; + } + + public void setShardingId(Long shardingId) { + this.shardingId = shardingId; + } + +} \ No newline at end of file diff --git a/springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/service/UserService.java b/springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/service/UserService.java new file mode 100644 index 00000000..7bb2a748 --- /dev/null +++ b/springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/service/UserService.java @@ -0,0 +1,20 @@ +package com.xiaofu.sharding.service; + + +import com.xiaofu.sharding.model.TUser; + +import java.util.List; + +public interface UserService { + + Integer addUser(TUser user); + + List getUsers(); + + TUser getUser(Long id); + + boolean deleteOne(Long id); + + boolean updateUser(TUser user); + +} diff --git a/springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/service/impl/UserServiceImpl.java b/springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/service/impl/UserServiceImpl.java new file mode 100644 index 00000000..f241f043 --- /dev/null +++ b/springboot-sharding-jdbc/src/main/java/com/xiaofu/sharding/service/impl/UserServiceImpl.java @@ -0,0 +1,43 @@ +package com.xiaofu.sharding.service.impl; + +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.xiaofu.sharding.mapper.UserRepository; +import com.xiaofu.sharding.model.TUser; +import com.xiaofu.sharding.service.UserService; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import java.util.List; + +@Service +public class UserServiceImpl implements UserService { + + @Resource + UserRepository userRepository; + + @Override + public Integer addUser(TUser user) { + return userRepository.insert(user); + } + + @Override + public List getUsers() { + return userRepository.selectList(new QueryWrapper<>()); + } + + @Override + public TUser getUser(Long id) { + return null; + } + + @Override + public boolean deleteOne(Long id) { + int i = userRepository.deleteById(id); + return i > 0; + } + + @Override + public boolean updateUser(TUser user) { + return userRepository.updateById(user) > 0; + } +} diff --git a/springboot-sharding-jdbc/src/main/resources/application-sharding_jdbc.yml b/springboot-sharding-jdbc/src/main/resources/application-sharding_jdbc.yml new file mode 100644 index 00000000..bf78c783 --- /dev/null +++ b/springboot-sharding-jdbc/src/main/resources/application-sharding_jdbc.yml @@ -0,0 +1,52 @@ +spring: + shardingsphere: + datasource: + names: ds-0,ds-1 + ds-0: + type: com.alibaba.druid.pool.DruidDataSource + driverClassName: com.mysql.jdbc.Driver + url: jdbc:mysql://47.93.6.5:3306/ds-0?useUnicode=true&characterEncoding=utf8&tinyInt1isBit=false&useSSL=false&serverTimezone=GMT + username: root + password: xinzhifu521 + ds-1: + type: com.alibaba.druid.pool.DruidDataSource + driverClassName: com.mysql.jdbc.Driver + url: jdbc:mysql://47.93.6.5:3306/ds-1?useUnicode=true&characterEncoding=utf8&tinyInt1isBit=false&useSSL=false&serverTimezone=GMT + username: root + password: xinzhifu521 + sharding: + tables: + t_user: + actual-data-nodes: ds-$->{0..1}.t_user_$->{0..4} + ## 指定分库规则 + database-strategy: + inline: + sharding-column: id + #分片算法行表达式(只取最后两个数字进行分片) + algorithm-expression: ds-$->{id % 2} + ## 指定分表规则 + table-strategy: + inline: + sharding-column: id + #分片算法行表达式(只取最后两个数字进行分片) + algorithm-expression: t_user_$->{id % 5} + ## 生成分布式主键 + key-generator: + #自增列名称,缺省表示不使用自增主键生成器 + column: id + #自增列值生成器类型,缺省表示使用默认自增列值生成器。可使用用户自定义的列值生成器或选择内置类型:SNOWFLAKE/UUID/LEAF_SEGMENT + type: SNOWFLAKE + + # 绑定主表与子表,避免关联查询导致的全数据源路由 + binding-tables: t_user + # 配置广播表:以广播的形式保存(如果只涉及查询的话可以不配置,会随机取一个数据源) + broadcast-tables: t_config + # 打印sql + props: + sql: + show: true + +#使用了mybatis-plus +mybatis-plus: + mapper-locations: classpath:mapping/*.xml + map-underscore-to-camel-case: true \ No newline at end of file diff --git a/springboot-sharding-jdbc/src/main/resources/application.yml b/springboot-sharding-jdbc/src/main/resources/application.yml new file mode 100644 index 00000000..ede1cf99 --- /dev/null +++ b/springboot-sharding-jdbc/src/main/resources/application.yml @@ -0,0 +1,5 @@ +spring: + profiles: + active: sharding_jdbc +server: + port: 8001 \ No newline at end of file diff --git a/springboot-sharding-jdbc/src/main/resources/generator/generatorConfig.xml b/springboot-sharding-jdbc/src/main/resources/generator/generatorConfig.xml new file mode 100644 index 00000000..129bf2f0 --- /dev/null +++ b/springboot-sharding-jdbc/src/main/resources/generator/generatorConfig.xml @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/springboot-sharding-jdbc/src/main/resources/mapping/TConfigMapper.xml b/springboot-sharding-jdbc/src/main/resources/mapping/TConfigMapper.xml new file mode 100644 index 00000000..42fd67e8 --- /dev/null +++ b/springboot-sharding-jdbc/src/main/resources/mapping/TConfigMapper.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/springboot-sharding-jdbc/src/main/resources/mapping/TUserMapper.xml b/springboot-sharding-jdbc/src/main/resources/mapping/TUserMapper.xml new file mode 100644 index 00000000..8b63ceca --- /dev/null +++ b/springboot-sharding-jdbc/src/main/resources/mapping/TUserMapper.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file From 67e29672e6b0b588eb37fc657fd3a371079052d9 Mon Sep 17 00:00:00 2001 From: xin <515361725@qq.com> Date: Thu, 20 Aug 2020 10:54:19 +0800 Subject: [PATCH 19/35] springboot-report --- springboot-testng-report/.gitignore | 33 ++ springboot-testng-report/mvnw | 310 ++++++++++++++++++ springboot-testng-report/mvnw.cmd | 182 ++++++++++ springboot-testng-report/pom.xml | 76 +++++ .../SpringbootTestngReportApplication.java | 13 + .../src/main/resources/application.properties | 1 + .../java/com/xiaofu/report/OrderTest.java | 101 ++++++ .../test/java/com/xiaofu/report/UserTest.java | 84 +++++ .../com/xiaofu/report/config/BaseTest.java | 22 ++ .../config/ExtentTestNGIReporterListener.java | 197 +++++++++++ .../java/com/xiaofu/report/xml/UserTest.xml | 21 ++ 11 files changed, 1040 insertions(+) create mode 100644 springboot-testng-report/.gitignore create mode 100644 springboot-testng-report/mvnw create mode 100644 springboot-testng-report/mvnw.cmd create mode 100644 springboot-testng-report/pom.xml create mode 100644 springboot-testng-report/src/main/java/com/xiaofu/report/SpringbootTestngReportApplication.java create mode 100644 springboot-testng-report/src/main/resources/application.properties create mode 100644 springboot-testng-report/src/test/java/com/xiaofu/report/OrderTest.java create mode 100644 springboot-testng-report/src/test/java/com/xiaofu/report/UserTest.java create mode 100644 springboot-testng-report/src/test/java/com/xiaofu/report/config/BaseTest.java create mode 100644 springboot-testng-report/src/test/java/com/xiaofu/report/config/ExtentTestNGIReporterListener.java create mode 100644 springboot-testng-report/src/test/java/com/xiaofu/report/xml/UserTest.xml diff --git a/springboot-testng-report/.gitignore b/springboot-testng-report/.gitignore new file mode 100644 index 00000000..549e00a2 --- /dev/null +++ b/springboot-testng-report/.gitignore @@ -0,0 +1,33 @@ +HELP.md +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ diff --git a/springboot-testng-report/mvnw b/springboot-testng-report/mvnw new file mode 100644 index 00000000..a16b5431 --- /dev/null +++ b/springboot-testng-report/mvnw @@ -0,0 +1,310 @@ +#!/bin/sh +# ---------------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ---------------------------------------------------------------------------- + +# ---------------------------------------------------------------------------- +# Maven Start Up Batch script +# +# Required ENV vars: +# ------------------ +# JAVA_HOME - location of a JDK home dir +# +# Optional ENV vars +# ----------------- +# M2_HOME - location of maven2's installed home dir +# MAVEN_OPTS - parameters passed to the Java VM when running Maven +# e.g. to debug Maven itself, use +# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +# MAVEN_SKIP_RC - flag to disable loading of mavenrc files +# ---------------------------------------------------------------------------- + +if [ -z "$MAVEN_SKIP_RC" ] ; then + + if [ -f /etc/mavenrc ] ; then + . /etc/mavenrc + fi + + if [ -f "$HOME/.mavenrc" ] ; then + . "$HOME/.mavenrc" + fi + +fi + +# OS specific support. $var _must_ be set to either true or false. +cygwin=false; +darwin=false; +mingw=false +case "`uname`" in + CYGWIN*) cygwin=true ;; + MINGW*) mingw=true;; + Darwin*) darwin=true + # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home + # See https://developer.apple.com/library/mac/qa/qa1170/_index.html + if [ -z "$JAVA_HOME" ]; then + if [ -x "/usr/libexec/java_home" ]; then + export JAVA_HOME="`/usr/libexec/java_home`" + else + export JAVA_HOME="/Library/Java/Home" + fi + fi + ;; +esac + +if [ -z "$JAVA_HOME" ] ; then + if [ -r /etc/gentoo-release ] ; then + JAVA_HOME=`java-config --jre-home` + fi +fi + +if [ -z "$M2_HOME" ] ; then + ## resolve links - $0 may be a link to maven's home + PRG="$0" + + # need this for relative symlinks + while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG="`dirname "$PRG"`/$link" + fi + done + + saveddir=`pwd` + + M2_HOME=`dirname "$PRG"`/.. + + # make it fully qualified + M2_HOME=`cd "$M2_HOME" && pwd` + + cd "$saveddir" + # echo Using m2 at $M2_HOME +fi + +# For Cygwin, ensure paths are in UNIX format before anything is touched +if $cygwin ; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --unix "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --unix "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --unix "$CLASSPATH"` +fi + +# For Mingw, ensure paths are in UNIX format before anything is touched +if $mingw ; then + [ -n "$M2_HOME" ] && + M2_HOME="`(cd "$M2_HOME"; pwd)`" + [ -n "$JAVA_HOME" ] && + JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`" +fi + +if [ -z "$JAVA_HOME" ]; then + javaExecutable="`which javac`" + if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then + # readlink(1) is not available as standard on Solaris 10. + readLink=`which readlink` + if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then + if $darwin ; then + javaHome="`dirname \"$javaExecutable\"`" + javaExecutable="`cd \"$javaHome\" && pwd -P`/javac" + else + javaExecutable="`readlink -f \"$javaExecutable\"`" + fi + javaHome="`dirname \"$javaExecutable\"`" + javaHome=`expr "$javaHome" : '\(.*\)/bin'` + JAVA_HOME="$javaHome" + export JAVA_HOME + fi + fi +fi + +if [ -z "$JAVACMD" ] ; then + if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + else + JAVACMD="`which java`" + fi +fi + +if [ ! -x "$JAVACMD" ] ; then + echo "Error: JAVA_HOME is not defined correctly." >&2 + echo " We cannot execute $JAVACMD" >&2 + exit 1 +fi + +if [ -z "$JAVA_HOME" ] ; then + echo "Warning: JAVA_HOME environment variable is not set." +fi + +CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher + +# traverses directory structure from process work directory to filesystem root +# first directory with .mvn subdirectory is considered project base directory +find_maven_basedir() { + + if [ -z "$1" ] + then + echo "Path not specified to find_maven_basedir" + return 1 + fi + + basedir="$1" + wdir="$1" + while [ "$wdir" != '/' ] ; do + if [ -d "$wdir"/.mvn ] ; then + basedir=$wdir + break + fi + # workaround for JBEAP-8937 (on Solaris 10/Sparc) + if [ -d "${wdir}" ]; then + wdir=`cd "$wdir/.."; pwd` + fi + # end of workaround + done + echo "${basedir}" +} + +# concatenates all lines of a file +concat_lines() { + if [ -f "$1" ]; then + echo "$(tr -s '\n' ' ' < "$1")" + fi +} + +BASE_DIR=`find_maven_basedir "$(pwd)"` +if [ -z "$BASE_DIR" ]; then + exit 1; +fi + +########################################################################################## +# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central +# This allows using the maven wrapper in projects that prohibit checking in binary data. +########################################################################################## +if [ -r "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" ]; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found .mvn/wrapper/maven-wrapper.jar" + fi +else + if [ "$MVNW_VERBOSE" = true ]; then + echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..." + fi + if [ -n "$MVNW_REPOURL" ]; then + jarUrl="$MVNW_REPOURL/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + else + jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + fi + while IFS="=" read key value; do + case "$key" in (wrapperUrl) jarUrl="$value"; break ;; + esac + done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties" + if [ "$MVNW_VERBOSE" = true ]; then + echo "Downloading from: $jarUrl" + fi + wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" + if $cygwin; then + wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"` + fi + + if command -v wget > /dev/null; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found wget ... using wget" + fi + if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then + wget "$jarUrl" -O "$wrapperJarPath" + else + wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath" + fi + elif command -v curl > /dev/null; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found curl ... using curl" + fi + if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then + curl -o "$wrapperJarPath" "$jarUrl" -f + else + curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o "$wrapperJarPath" "$jarUrl" -f + fi + + else + if [ "$MVNW_VERBOSE" = true ]; then + echo "Falling back to using Java to download" + fi + javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java" + # For Cygwin, switch paths to Windows format before running javac + if $cygwin; then + javaClass=`cygpath --path --windows "$javaClass"` + fi + if [ -e "$javaClass" ]; then + if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then + if [ "$MVNW_VERBOSE" = true ]; then + echo " - Compiling MavenWrapperDownloader.java ..." + fi + # Compiling the Java class + ("$JAVA_HOME/bin/javac" "$javaClass") + fi + if [ -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then + # Running the downloader + if [ "$MVNW_VERBOSE" = true ]; then + echo " - Running MavenWrapperDownloader.java ..." + fi + ("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$MAVEN_PROJECTBASEDIR") + fi + fi + fi +fi +########################################################################################## +# End of extension +########################################################################################## + +export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"} +if [ "$MVNW_VERBOSE" = true ]; then + echo $MAVEN_PROJECTBASEDIR +fi +MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS" + +# For Cygwin, switch paths to Windows format before running java +if $cygwin; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --path --windows "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --windows "$CLASSPATH"` + [ -n "$MAVEN_PROJECTBASEDIR" ] && + MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"` +fi + +# Provide a "standardized" way to retrieve the CLI args that will +# work with both Windows and non-Windows executions. +MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@" +export MAVEN_CMD_LINE_ARGS + +WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +exec "$JAVACMD" \ + $MAVEN_OPTS \ + -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \ + "-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \ + ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@" diff --git a/springboot-testng-report/mvnw.cmd b/springboot-testng-report/mvnw.cmd new file mode 100644 index 00000000..c8d43372 --- /dev/null +++ b/springboot-testng-report/mvnw.cmd @@ -0,0 +1,182 @@ +@REM ---------------------------------------------------------------------------- +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at +@REM +@REM https://www.apache.org/licenses/LICENSE-2.0 +@REM +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. +@REM ---------------------------------------------------------------------------- + +@REM ---------------------------------------------------------------------------- +@REM Maven Start Up Batch script +@REM +@REM Required ENV vars: +@REM JAVA_HOME - location of a JDK home dir +@REM +@REM Optional ENV vars +@REM M2_HOME - location of maven2's installed home dir +@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands +@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending +@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven +@REM e.g. to debug Maven itself, use +@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files +@REM ---------------------------------------------------------------------------- + +@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on' +@echo off +@REM set title of command window +title %0 +@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on' +@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO% + +@REM set %HOME% to equivalent of $HOME +if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%") + +@REM Execute a user defined script before this one +if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre +@REM check for pre script, once with legacy .bat ending and once with .cmd ending +if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat" +if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd" +:skipRcPre + +@setlocal + +set ERROR_CODE=0 + +@REM To isolate internal variables from possible post scripts, we use another setlocal +@setlocal + +@REM ==== START VALIDATION ==== +if not "%JAVA_HOME%" == "" goto OkJHome + +echo. +echo Error: JAVA_HOME not found in your environment. >&2 +echo Please set the JAVA_HOME variable in your environment to match the >&2 +echo location of your Java installation. >&2 +echo. +goto error + +:OkJHome +if exist "%JAVA_HOME%\bin\java.exe" goto init + +echo. +echo Error: JAVA_HOME is set to an invalid directory. >&2 +echo JAVA_HOME = "%JAVA_HOME%" >&2 +echo Please set the JAVA_HOME variable in your environment to match the >&2 +echo location of your Java installation. >&2 +echo. +goto error + +@REM ==== END VALIDATION ==== + +:init + +@REM Find the project base dir, i.e. the directory that contains the folder ".mvn". +@REM Fallback to current working directory if not found. + +set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR% +IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir + +set EXEC_DIR=%CD% +set WDIR=%EXEC_DIR% +:findBaseDir +IF EXIST "%WDIR%"\.mvn goto baseDirFound +cd .. +IF "%WDIR%"=="%CD%" goto baseDirNotFound +set WDIR=%CD% +goto findBaseDir + +:baseDirFound +set MAVEN_PROJECTBASEDIR=%WDIR% +cd "%EXEC_DIR%" +goto endDetectBaseDir + +:baseDirNotFound +set MAVEN_PROJECTBASEDIR=%EXEC_DIR% +cd "%EXEC_DIR%" + +:endDetectBaseDir + +IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig + +@setlocal EnableExtensions EnableDelayedExpansion +for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a +@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS% + +:endReadAdditionalConfig + +SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe" +set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar" +set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + +FOR /F "tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO ( + IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B +) + +@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central +@REM This allows using the maven wrapper in projects that prohibit checking in binary data. +if exist %WRAPPER_JAR% ( + if "%MVNW_VERBOSE%" == "true" ( + echo Found %WRAPPER_JAR% + ) +) else ( + if not "%MVNW_REPOURL%" == "" ( + SET DOWNLOAD_URL="%MVNW_REPOURL%/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + ) + if "%MVNW_VERBOSE%" == "true" ( + echo Couldn't find %WRAPPER_JAR%, downloading it ... + echo Downloading from: %DOWNLOAD_URL% + ) + + powershell -Command "&{"^ + "$webclient = new-object System.Net.WebClient;"^ + "if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^ + "$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^ + "}"^ + "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^ + "}" + if "%MVNW_VERBOSE%" == "true" ( + echo Finished downloading %WRAPPER_JAR% + ) +) +@REM End of extension + +@REM Provide a "standardized" way to retrieve the CLI args that will +@REM work with both Windows and non-Windows executions. +set MAVEN_CMD_LINE_ARGS=%* + +%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %* +if ERRORLEVEL 1 goto error +goto end + +:error +set ERROR_CODE=1 + +:end +@endlocal & set ERROR_CODE=%ERROR_CODE% + +if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost +@REM check for post script, once with legacy .bat ending and once with .cmd ending +if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat" +if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd" +:skipRcPost + +@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on' +if "%MAVEN_BATCH_PAUSE%" == "on" pause + +if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE% + +exit /B %ERROR_CODE% diff --git a/springboot-testng-report/pom.xml b/springboot-testng-report/pom.xml new file mode 100644 index 00000000..878b75f0 --- /dev/null +++ b/springboot-testng-report/pom.xml @@ -0,0 +1,76 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.3.3.RELEASE + + + com.xiaofu.report + springboot-testng-report + 0.0.1-SNAPSHOT + springboot-testng-report + springboot-testng-report + + + 1.8 + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + org.junit.vintage + junit-vintage-engine + + + + + + org.testng + testng + 7.1.0 + test + + + + com.aventstack + extentreports + 3.0.6 + + + + org.projectlombok + lombok + 1.16.18 + provided + + + + com.alibaba + fastjson + 1.2.49 + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/springboot-testng-report/src/main/java/com/xiaofu/report/SpringbootTestngReportApplication.java b/springboot-testng-report/src/main/java/com/xiaofu/report/SpringbootTestngReportApplication.java new file mode 100644 index 00000000..e88705da --- /dev/null +++ b/springboot-testng-report/src/main/java/com/xiaofu/report/SpringbootTestngReportApplication.java @@ -0,0 +1,13 @@ +package com.xiaofu.report; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class SpringbootTestngReportApplication { + + public static void main(String[] args) { + SpringApplication.run(SpringbootTestngReportApplication.class, args); + } + +} diff --git a/springboot-testng-report/src/main/resources/application.properties b/springboot-testng-report/src/main/resources/application.properties new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/springboot-testng-report/src/main/resources/application.properties @@ -0,0 +1 @@ + diff --git a/springboot-testng-report/src/test/java/com/xiaofu/report/OrderTest.java b/springboot-testng-report/src/test/java/com/xiaofu/report/OrderTest.java new file mode 100644 index 00000000..66964683 --- /dev/null +++ b/springboot-testng-report/src/test/java/com/xiaofu/report/OrderTest.java @@ -0,0 +1,101 @@ +package com.xiaofu.report; + +import com.alibaba.fastjson.JSON; +import com.xiaofu.report.config.ExtentTestNGIReporterListener; +import lombok.Data; +import lombok.extern.slf4j.Slf4j; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.test.context.testng.AbstractTestNGSpringContextTests; +import org.testng.annotations.*; + +/** + * @author xiaofu + * @description testNG 单元测试 + * @date 2020/3/19 16:43 + */ +@Slf4j +@Listeners({ExtentTestNGIReporterListener.class}) +@SpringBootTest(classes = SpringbootTestngReportApplication.class) +public class OrderTest extends AbstractTestNGSpringContextTests { + + @Data + class User { + private Integer userId; + private String userName; + } + + /** + * 参数提供 + */ + @DataProvider(name = "paramDataProvider") + public Object[][] paramDataProvider() { + User user1 = new User(); + user1.setUserId(1); + user1.setUserName("程序员内点事1"); + User user2 = new User(); + user2.setUserId(2); + user2.setUserName("程序员内点事2"); + return new Object[][]{{1, user1}, {2, user2}}; + } + + @Test(dataProvider = "paramDataProvider",groups = "user") + public void queryUser(Integer index, User user) { + log.info("index:{},user: {}", index, JSON.toJSONString(user)); + } + + + @Test() + public void orderTest() { + + log.info("我是小组"); + } + + @BeforeSuite + public void beforeSuite(){ + log.info("beforeSuite"); + } + + @AfterSuite + public void afterSuite(){ + log.info("AfterSuite"); + } + + @BeforeClass + public void beforeClass(){ + log.info("BeforeClass"); + } + + @AfterClass + public void afterClass(){ + log.info("AfterClass"); + } + + @BeforeTest + public void beforeTest(){ + log.info("BeforeTest"); + } + + @AfterTest + public void afterTest(){ + log.info("AfterTest"); + } + + @BeforeGroups + public void beforeGroups(){ + log.info("BeforeGroups"); + } + @AfterGroups + public void afterGroups(){ + log.info("AfterGroups"); + } + + @BeforeMethod + public void BeforeMethod(){ + log.info("BeforeMethod"); + } + + @AfterMethod + public void AfterMethod(){ + log.info("AfterMethod"); + } +} diff --git a/springboot-testng-report/src/test/java/com/xiaofu/report/UserTest.java b/springboot-testng-report/src/test/java/com/xiaofu/report/UserTest.java new file mode 100644 index 00000000..41bfa721 --- /dev/null +++ b/springboot-testng-report/src/test/java/com/xiaofu/report/UserTest.java @@ -0,0 +1,84 @@ +package com.xiaofu.report; + +import com.xiaofu.report.config.ExtentTestNGIReporterListener; +import lombok.extern.slf4j.Slf4j; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.test.context.testng.AbstractTestNGSpringContextTests; +import org.testng.annotations.*; + +/** + * @author xiaofu + * @description testNG 单元测试 + * @date 2020/3/19 16:43 + */ +@Slf4j +@Listeners({ExtentTestNGIReporterListener.class}) +@SpringBootTest(classes = SpringbootTestngReportApplication.class) +public class UserTest extends AbstractTestNGSpringContextTests { + + @Test(groups = "user") + public void queryUser(String name) { + + log.info("我是测试方法~"); + } + + @BeforeSuite + public void beforeSuite(){ + log.info("beforeSuite"); + } + + @AfterSuite + public void afterSuite(){ + log.info("AfterSuite"); + } + + @BeforeClass + public void beforeClass(){ + log.info("BeforeClass"); + } + + @AfterClass + public void afterClass(){ + log.info("AfterClass"); + } + + @BeforeTest + public void beforeTest(){ + log.info("BeforeTest"); + } + + @AfterTest + public void afterTest(){ + log.info("AfterTest"); + } + + @BeforeGroups(groups="user") + public void beforeGroups(){ + log.info("BeforeGroups"); + } + @AfterGroups(groups="user") + public void afterGroups(){ + log.info("AfterGroups"); + } + + @BeforeMethod + public void BeforeMethod(){ + log.info("BeforeMethod"); + } + + @AfterMethod + public void AfterMethod(){ + log.info("AfterMethod"); + } + + + @Test + public void token() { + System.out.println("get token"); + } + + @Test(dependsOnMethods= {"token"}) + public void getUser() { + System.out.println("this is test getUser"); + } +} diff --git a/springboot-testng-report/src/test/java/com/xiaofu/report/config/BaseTest.java b/springboot-testng-report/src/test/java/com/xiaofu/report/config/BaseTest.java new file mode 100644 index 00000000..bea69d7b --- /dev/null +++ b/springboot-testng-report/src/test/java/com/xiaofu/report/config/BaseTest.java @@ -0,0 +1,22 @@ +package com.xiaofu.report.config; + +import com.xiaofu.report.SpringbootTestngReportApplication; +import lombok.extern.slf4j.Slf4j; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.test.context.testng.AbstractTestNGSpringContextTests; +import org.springframework.test.context.web.WebAppConfiguration; +import org.testng.annotations.Listeners; + +/** + * @Author: xiaofu + * @Description: + */ +@SpringBootTest(classes = SpringbootTestngReportApplication.class) +@WebAppConfiguration +@Slf4j +@Listeners({ExtentTestNGIReporterListener.class}) +public class BaseTest extends AbstractTestNGSpringContextTests { + + public BaseTest() { + } +} diff --git a/springboot-testng-report/src/test/java/com/xiaofu/report/config/ExtentTestNGIReporterListener.java b/springboot-testng-report/src/test/java/com/xiaofu/report/config/ExtentTestNGIReporterListener.java new file mode 100644 index 00000000..1bd08191 --- /dev/null +++ b/springboot-testng-report/src/test/java/com/xiaofu/report/config/ExtentTestNGIReporterListener.java @@ -0,0 +1,197 @@ +package com.xiaofu.report.config; + +import com.aventstack.extentreports.ExtentReports; +import com.aventstack.extentreports.ExtentTest; +import com.aventstack.extentreports.ResourceCDN; +import com.aventstack.extentreports.Status; +import com.aventstack.extentreports.model.TestAttribute; +import com.aventstack.extentreports.reporter.ExtentHtmlReporter; +import com.aventstack.extentreports.reporter.configuration.ChartLocation; +import com.aventstack.extentreports.reporter.configuration.Theme; +import org.testng.*; +import org.testng.xml.XmlSuite; + +import java.io.File; +import java.util.*; + +/** + * @author xiaofu + * @description TestNg 可视化配置 + * @date 2020/3/19 16:44 + */ +public class ExtentTestNGIReporterListener implements IReporter { + //生成的路径以及文件名 + private static final String OUTPUT_FOLDER = "target/test-report/"; + private static final String FILE_NAME = "index.html"; + + private ExtentReports extent; + + @Override + public void generateReport(List xmlSuites, List suites, String outputDirectory) { + init(); + boolean createSuiteNode = false; + if (suites.size() > 1) { + createSuiteNode = true; + } + for (ISuite suite : suites) { + Map result = suite.getResults(); + //如果suite里面没有任何用例,直接跳过,不在报告里生成 + if (result.size() == 0) { + continue; + } + //统计suite下的成功、失败、跳过的总用例数 + int suiteFailSize = 0; + int suitePassSize = 0; + int suiteSkipSize = 0; + ExtentTest suiteTest = null; + //存在多个suite的情况下,在报告中将同一个一个suite的测试结果归为一类,创建一级节点。 + if (createSuiteNode) { + suiteTest = extent.createTest(suite.getName()).assignCategory(suite.getName()); + } + boolean createSuiteResultNode = false; + if (result.size() > 1) { + createSuiteResultNode = true; + } + for (ISuiteResult r : result.values()) { + ExtentTest resultNode; + ITestContext context = r.getTestContext(); + if (createSuiteResultNode) { + //没有创建suite的情况下,将在SuiteResult的创建为一级节点,否则创建为suite的一个子节点。 + if (null == suiteTest) { + resultNode = extent.createTest(r.getTestContext().getName()); + } else { + resultNode = suiteTest.createNode(r.getTestContext().getName()); + } + } else { + resultNode = suiteTest; + } + if (resultNode != null) { + resultNode.getModel().setName(suite.getName() + " : " + r.getTestContext().getName()); + if (resultNode.getModel().hasCategory()) { + resultNode.assignCategory(r.getTestContext().getName()); + } else { + resultNode.assignCategory(suite.getName(), r.getTestContext().getName()); + } + resultNode.getModel().setStartTime(r.getTestContext().getStartDate()); + resultNode.getModel().setEndTime(r.getTestContext().getEndDate()); + //统计SuiteResult下的数据 + int passSize = r.getTestContext().getPassedTests().size(); + int failSize = r.getTestContext().getFailedTests().size(); + int skipSize = r.getTestContext().getSkippedTests().size(); + suitePassSize += passSize; + suiteFailSize += failSize; + suiteSkipSize += skipSize; + if (failSize > 0) { + resultNode.getModel().setStatus(Status.FAIL); + } + resultNode.getModel().setDescription(String.format("Pass: %s ; Fail: %s ; Skip: %s ;", passSize, failSize, skipSize)); + } + buildTestNodes(resultNode, context.getFailedTests(), Status.FAIL); + buildTestNodes(resultNode, context.getSkippedTests(), Status.SKIP); + buildTestNodes(resultNode, context.getPassedTests(), Status.PASS); + } + if (suiteTest != null) { + suiteTest.getModel().setDescription(String.format("Pass: %s ; Fail: %s ; Skip: %s ;", suitePassSize, suiteFailSize, suiteSkipSize)); + if (suiteFailSize > 0) { + suiteTest.getModel().setStatus(Status.FAIL); + } + } + + } + for (String s : Reporter.getOutput()) { + extent.setTestRunnerOutput(s); + } + extent.flush(); + } + + private void init() { + //文件夹不存在的话进行创建 + File reportDir = new File(OUTPUT_FOLDER); + if (!reportDir.exists() && !reportDir.isDirectory()) { + reportDir.mkdirs(); + } + ExtentHtmlReporter htmlReporter = new ExtentHtmlReporter(OUTPUT_FOLDER + FILE_NAME); + // 设置静态文件的DNS + //怎么样解决cdn.rawgit.com访问不了的情况 + htmlReporter.config().setResourceCDN(ResourceCDN.EXTENTREPORTS); + + htmlReporter.config().setDocumentTitle("用户服务自动化测试报告"); + htmlReporter.config().setReportName("用户服务自动化测试报告"); + htmlReporter.config().setChartVisibilityOnOpen(true); + htmlReporter.config().setTestViewChartLocation(ChartLocation.TOP); + htmlReporter.config().setTheme(Theme.STANDARD); + htmlReporter.config().setEncoding("utf-8"); + htmlReporter.config().setCSS(".node.level-1 ul{ display:none;} .node.level-1.active ul{display:block;}"); + + extent = new ExtentReports(); + extent.attachReporter(htmlReporter); + extent.setReportUsesManualConfiguration(true); + + } + + private void buildTestNodes(ExtentTest extenttest, IResultMap tests, Status status) { + //存在父节点时,获取父节点的标签 + String[] categories = new String[0]; + if (extenttest != null) { + List categoryList = extenttest.getModel().getCategoryContext().getAll(); + categories = new String[categoryList.size()]; + for (int index = 0; index < categoryList.size(); index++) { + categories[index] = categoryList.get(index).getName(); + } + } + + ExtentTest test; + + if (tests.size() > 0) { + //调整用例排序,按时间排序 + Set treeSet = new TreeSet(new Comparator() { + @Override + public int compare(ITestResult o1, ITestResult o2) { + return o1.getStartMillis() < o2.getStartMillis() ? -1 : 1; + } + }); + treeSet.addAll(tests.getAllResults()); + for (ITestResult result : treeSet) { + Object[] parameters = result.getParameters(); + String name = ""; + //如果有参数,则使用参数的toString组合代替报告中的name + for (Object param : parameters) { + name += param.toString(); + } + if (name.length() == 0) { + name = result.getMethod().getMethodName(); + } + if (extenttest == null) { + test = extent.createTest(name); + } else { + //作为子节点进行创建时,设置同父节点的标签一致,便于报告检索。 + test = extenttest.createNode(name).assignCategory(categories); + } + //test.getModel().setDescription(description.toString()); + //test = extent.createTest(result.getMethod().getMethodName()); + for (String group : result.getMethod().getGroups()) + test.assignCategory(group); + + List outputList = Reporter.getOutput(result); + for (String output : outputList) { + //将用例的log输出报告中 + test.debug(output); + } + if (result.getThrowable() != null) { + test.log(status, result.getThrowable()); + } else { + test.log(status, "Test " + status.toString().toLowerCase() + "ed"); + } + + test.getModel().setStartTime(getTime(result.getStartMillis())); + test.getModel().setEndTime(getTime(result.getEndMillis())); + } + } + } + + private Date getTime(long millis) { + Calendar calendar = Calendar.getInstance(); + calendar.setTimeInMillis(millis); + return calendar.getTime(); + } +} \ No newline at end of file diff --git a/springboot-testng-report/src/test/java/com/xiaofu/report/xml/UserTest.xml b/springboot-testng-report/src/test/java/com/xiaofu/report/xml/UserTest.xml new file mode 100644 index 00000000..5d6936ff --- /dev/null +++ b/springboot-testng-report/src/test/java/com/xiaofu/report/xml/UserTest.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + From ff686f69ec8ef94627025e3a2d6e169d2b742d38 Mon Sep 17 00:00:00 2001 From: xin <515361725@qq.com> Date: Thu, 27 Aug 2020 19:15:19 +0800 Subject: [PATCH 20/35] springboot-work-flowable --- springboot-work-flowable/.gitignore | 33 ++ springboot-work-flowable/mvnw | 310 ++++++++++++++++++ springboot-work-flowable/mvnw.cmd | 182 ++++++++++ springboot-work-flowable/pom.xml | 73 +++++ .../SpringbootWorkFlowableApplication.java | 13 + .../flowable/config/FlowableConfig.java | 21 ++ .../flowable/controller/LeaveController.java | 142 ++++++++ .../src/main/resources/application.yml | 7 + .../processes/LeaveProcess.bpmn20.xml | 71 ++++ 9 files changed, 852 insertions(+) create mode 100644 springboot-work-flowable/.gitignore create mode 100644 springboot-work-flowable/mvnw create mode 100644 springboot-work-flowable/mvnw.cmd create mode 100644 springboot-work-flowable/pom.xml create mode 100644 springboot-work-flowable/src/main/java/com/xiaofu/flowable/SpringbootWorkFlowableApplication.java create mode 100644 springboot-work-flowable/src/main/java/com/xiaofu/flowable/config/FlowableConfig.java create mode 100644 springboot-work-flowable/src/main/java/com/xiaofu/flowable/controller/LeaveController.java create mode 100644 springboot-work-flowable/src/main/resources/application.yml create mode 100644 springboot-work-flowable/src/main/resources/processes/LeaveProcess.bpmn20.xml diff --git a/springboot-work-flowable/.gitignore b/springboot-work-flowable/.gitignore new file mode 100644 index 00000000..549e00a2 --- /dev/null +++ b/springboot-work-flowable/.gitignore @@ -0,0 +1,33 @@ +HELP.md +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ diff --git a/springboot-work-flowable/mvnw b/springboot-work-flowable/mvnw new file mode 100644 index 00000000..a16b5431 --- /dev/null +++ b/springboot-work-flowable/mvnw @@ -0,0 +1,310 @@ +#!/bin/sh +# ---------------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ---------------------------------------------------------------------------- + +# ---------------------------------------------------------------------------- +# Maven Start Up Batch script +# +# Required ENV vars: +# ------------------ +# JAVA_HOME - location of a JDK home dir +# +# Optional ENV vars +# ----------------- +# M2_HOME - location of maven2's installed home dir +# MAVEN_OPTS - parameters passed to the Java VM when running Maven +# e.g. to debug Maven itself, use +# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +# MAVEN_SKIP_RC - flag to disable loading of mavenrc files +# ---------------------------------------------------------------------------- + +if [ -z "$MAVEN_SKIP_RC" ] ; then + + if [ -f /etc/mavenrc ] ; then + . /etc/mavenrc + fi + + if [ -f "$HOME/.mavenrc" ] ; then + . "$HOME/.mavenrc" + fi + +fi + +# OS specific support. $var _must_ be set to either true or false. +cygwin=false; +darwin=false; +mingw=false +case "`uname`" in + CYGWIN*) cygwin=true ;; + MINGW*) mingw=true;; + Darwin*) darwin=true + # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home + # See https://developer.apple.com/library/mac/qa/qa1170/_index.html + if [ -z "$JAVA_HOME" ]; then + if [ -x "/usr/libexec/java_home" ]; then + export JAVA_HOME="`/usr/libexec/java_home`" + else + export JAVA_HOME="/Library/Java/Home" + fi + fi + ;; +esac + +if [ -z "$JAVA_HOME" ] ; then + if [ -r /etc/gentoo-release ] ; then + JAVA_HOME=`java-config --jre-home` + fi +fi + +if [ -z "$M2_HOME" ] ; then + ## resolve links - $0 may be a link to maven's home + PRG="$0" + + # need this for relative symlinks + while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG="`dirname "$PRG"`/$link" + fi + done + + saveddir=`pwd` + + M2_HOME=`dirname "$PRG"`/.. + + # make it fully qualified + M2_HOME=`cd "$M2_HOME" && pwd` + + cd "$saveddir" + # echo Using m2 at $M2_HOME +fi + +# For Cygwin, ensure paths are in UNIX format before anything is touched +if $cygwin ; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --unix "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --unix "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --unix "$CLASSPATH"` +fi + +# For Mingw, ensure paths are in UNIX format before anything is touched +if $mingw ; then + [ -n "$M2_HOME" ] && + M2_HOME="`(cd "$M2_HOME"; pwd)`" + [ -n "$JAVA_HOME" ] && + JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`" +fi + +if [ -z "$JAVA_HOME" ]; then + javaExecutable="`which javac`" + if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then + # readlink(1) is not available as standard on Solaris 10. + readLink=`which readlink` + if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then + if $darwin ; then + javaHome="`dirname \"$javaExecutable\"`" + javaExecutable="`cd \"$javaHome\" && pwd -P`/javac" + else + javaExecutable="`readlink -f \"$javaExecutable\"`" + fi + javaHome="`dirname \"$javaExecutable\"`" + javaHome=`expr "$javaHome" : '\(.*\)/bin'` + JAVA_HOME="$javaHome" + export JAVA_HOME + fi + fi +fi + +if [ -z "$JAVACMD" ] ; then + if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + else + JAVACMD="`which java`" + fi +fi + +if [ ! -x "$JAVACMD" ] ; then + echo "Error: JAVA_HOME is not defined correctly." >&2 + echo " We cannot execute $JAVACMD" >&2 + exit 1 +fi + +if [ -z "$JAVA_HOME" ] ; then + echo "Warning: JAVA_HOME environment variable is not set." +fi + +CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher + +# traverses directory structure from process work directory to filesystem root +# first directory with .mvn subdirectory is considered project base directory +find_maven_basedir() { + + if [ -z "$1" ] + then + echo "Path not specified to find_maven_basedir" + return 1 + fi + + basedir="$1" + wdir="$1" + while [ "$wdir" != '/' ] ; do + if [ -d "$wdir"/.mvn ] ; then + basedir=$wdir + break + fi + # workaround for JBEAP-8937 (on Solaris 10/Sparc) + if [ -d "${wdir}" ]; then + wdir=`cd "$wdir/.."; pwd` + fi + # end of workaround + done + echo "${basedir}" +} + +# concatenates all lines of a file +concat_lines() { + if [ -f "$1" ]; then + echo "$(tr -s '\n' ' ' < "$1")" + fi +} + +BASE_DIR=`find_maven_basedir "$(pwd)"` +if [ -z "$BASE_DIR" ]; then + exit 1; +fi + +########################################################################################## +# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central +# This allows using the maven wrapper in projects that prohibit checking in binary data. +########################################################################################## +if [ -r "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" ]; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found .mvn/wrapper/maven-wrapper.jar" + fi +else + if [ "$MVNW_VERBOSE" = true ]; then + echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..." + fi + if [ -n "$MVNW_REPOURL" ]; then + jarUrl="$MVNW_REPOURL/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + else + jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + fi + while IFS="=" read key value; do + case "$key" in (wrapperUrl) jarUrl="$value"; break ;; + esac + done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties" + if [ "$MVNW_VERBOSE" = true ]; then + echo "Downloading from: $jarUrl" + fi + wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" + if $cygwin; then + wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"` + fi + + if command -v wget > /dev/null; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found wget ... using wget" + fi + if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then + wget "$jarUrl" -O "$wrapperJarPath" + else + wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath" + fi + elif command -v curl > /dev/null; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found curl ... using curl" + fi + if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then + curl -o "$wrapperJarPath" "$jarUrl" -f + else + curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o "$wrapperJarPath" "$jarUrl" -f + fi + + else + if [ "$MVNW_VERBOSE" = true ]; then + echo "Falling back to using Java to download" + fi + javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java" + # For Cygwin, switch paths to Windows format before running javac + if $cygwin; then + javaClass=`cygpath --path --windows "$javaClass"` + fi + if [ -e "$javaClass" ]; then + if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then + if [ "$MVNW_VERBOSE" = true ]; then + echo " - Compiling MavenWrapperDownloader.java ..." + fi + # Compiling the Java class + ("$JAVA_HOME/bin/javac" "$javaClass") + fi + if [ -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then + # Running the downloader + if [ "$MVNW_VERBOSE" = true ]; then + echo " - Running MavenWrapperDownloader.java ..." + fi + ("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$MAVEN_PROJECTBASEDIR") + fi + fi + fi +fi +########################################################################################## +# End of extension +########################################################################################## + +export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"} +if [ "$MVNW_VERBOSE" = true ]; then + echo $MAVEN_PROJECTBASEDIR +fi +MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS" + +# For Cygwin, switch paths to Windows format before running java +if $cygwin; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --path --windows "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --windows "$CLASSPATH"` + [ -n "$MAVEN_PROJECTBASEDIR" ] && + MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"` +fi + +# Provide a "standardized" way to retrieve the CLI args that will +# work with both Windows and non-Windows executions. +MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@" +export MAVEN_CMD_LINE_ARGS + +WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +exec "$JAVACMD" \ + $MAVEN_OPTS \ + -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \ + "-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \ + ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@" diff --git a/springboot-work-flowable/mvnw.cmd b/springboot-work-flowable/mvnw.cmd new file mode 100644 index 00000000..c8d43372 --- /dev/null +++ b/springboot-work-flowable/mvnw.cmd @@ -0,0 +1,182 @@ +@REM ---------------------------------------------------------------------------- +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at +@REM +@REM https://www.apache.org/licenses/LICENSE-2.0 +@REM +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. +@REM ---------------------------------------------------------------------------- + +@REM ---------------------------------------------------------------------------- +@REM Maven Start Up Batch script +@REM +@REM Required ENV vars: +@REM JAVA_HOME - location of a JDK home dir +@REM +@REM Optional ENV vars +@REM M2_HOME - location of maven2's installed home dir +@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands +@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending +@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven +@REM e.g. to debug Maven itself, use +@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files +@REM ---------------------------------------------------------------------------- + +@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on' +@echo off +@REM set title of command window +title %0 +@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on' +@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO% + +@REM set %HOME% to equivalent of $HOME +if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%") + +@REM Execute a user defined script before this one +if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre +@REM check for pre script, once with legacy .bat ending and once with .cmd ending +if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat" +if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd" +:skipRcPre + +@setlocal + +set ERROR_CODE=0 + +@REM To isolate internal variables from possible post scripts, we use another setlocal +@setlocal + +@REM ==== START VALIDATION ==== +if not "%JAVA_HOME%" == "" goto OkJHome + +echo. +echo Error: JAVA_HOME not found in your environment. >&2 +echo Please set the JAVA_HOME variable in your environment to match the >&2 +echo location of your Java installation. >&2 +echo. +goto error + +:OkJHome +if exist "%JAVA_HOME%\bin\java.exe" goto init + +echo. +echo Error: JAVA_HOME is set to an invalid directory. >&2 +echo JAVA_HOME = "%JAVA_HOME%" >&2 +echo Please set the JAVA_HOME variable in your environment to match the >&2 +echo location of your Java installation. >&2 +echo. +goto error + +@REM ==== END VALIDATION ==== + +:init + +@REM Find the project base dir, i.e. the directory that contains the folder ".mvn". +@REM Fallback to current working directory if not found. + +set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR% +IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir + +set EXEC_DIR=%CD% +set WDIR=%EXEC_DIR% +:findBaseDir +IF EXIST "%WDIR%"\.mvn goto baseDirFound +cd .. +IF "%WDIR%"=="%CD%" goto baseDirNotFound +set WDIR=%CD% +goto findBaseDir + +:baseDirFound +set MAVEN_PROJECTBASEDIR=%WDIR% +cd "%EXEC_DIR%" +goto endDetectBaseDir + +:baseDirNotFound +set MAVEN_PROJECTBASEDIR=%EXEC_DIR% +cd "%EXEC_DIR%" + +:endDetectBaseDir + +IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig + +@setlocal EnableExtensions EnableDelayedExpansion +for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a +@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS% + +:endReadAdditionalConfig + +SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe" +set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar" +set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + +FOR /F "tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO ( + IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B +) + +@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central +@REM This allows using the maven wrapper in projects that prohibit checking in binary data. +if exist %WRAPPER_JAR% ( + if "%MVNW_VERBOSE%" == "true" ( + echo Found %WRAPPER_JAR% + ) +) else ( + if not "%MVNW_REPOURL%" == "" ( + SET DOWNLOAD_URL="%MVNW_REPOURL%/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + ) + if "%MVNW_VERBOSE%" == "true" ( + echo Couldn't find %WRAPPER_JAR%, downloading it ... + echo Downloading from: %DOWNLOAD_URL% + ) + + powershell -Command "&{"^ + "$webclient = new-object System.Net.WebClient;"^ + "if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^ + "$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^ + "}"^ + "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^ + "}" + if "%MVNW_VERBOSE%" == "true" ( + echo Finished downloading %WRAPPER_JAR% + ) +) +@REM End of extension + +@REM Provide a "standardized" way to retrieve the CLI args that will +@REM work with both Windows and non-Windows executions. +set MAVEN_CMD_LINE_ARGS=%* + +%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %* +if ERRORLEVEL 1 goto error +goto end + +:error +set ERROR_CODE=1 + +:end +@endlocal & set ERROR_CODE=%ERROR_CODE% + +if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost +@REM check for post script, once with legacy .bat ending and once with .cmd ending +if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat" +if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd" +:skipRcPost + +@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on' +if "%MAVEN_BATCH_PAUSE%" == "on" pause + +if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE% + +exit /B %ERROR_CODE% diff --git a/springboot-work-flowable/pom.xml b/springboot-work-flowable/pom.xml new file mode 100644 index 00000000..e7356529 --- /dev/null +++ b/springboot-work-flowable/pom.xml @@ -0,0 +1,73 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.3.3.RELEASE + + + com.xiaofu.flowable + springboot-work-flowable + 0.0.1-SNAPSHOT + springboot-work-flowable + Demo project for Spring Boot + + + 1.8 + + + + + + + org.flowable + flowable-spring-boot-starter + 6.3.0 + + + org.springframework.boot + spring-boot-starter-jdbc + + + org.springframework.boot + spring-boot-starter-web + + + org.mybatis.spring.boot + mybatis-spring-boot-starter + 1.3.2 + + + + mysql + mysql-connector-java + runtime + + + + org.projectlombok + lombok + 1.16.18 + provided + + + + com.alibaba + fastjson + 1.2.49 + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/springboot-work-flowable/src/main/java/com/xiaofu/flowable/SpringbootWorkFlowableApplication.java b/springboot-work-flowable/src/main/java/com/xiaofu/flowable/SpringbootWorkFlowableApplication.java new file mode 100644 index 00000000..335dede8 --- /dev/null +++ b/springboot-work-flowable/src/main/java/com/xiaofu/flowable/SpringbootWorkFlowableApplication.java @@ -0,0 +1,13 @@ +package com.xiaofu.flowable; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class SpringbootWorkFlowableApplication { + + public static void main(String[] args) { + SpringApplication.run(SpringbootWorkFlowableApplication.class, args); + } + +} diff --git a/springboot-work-flowable/src/main/java/com/xiaofu/flowable/config/FlowableConfig.java b/springboot-work-flowable/src/main/java/com/xiaofu/flowable/config/FlowableConfig.java new file mode 100644 index 00000000..8a39d415 --- /dev/null +++ b/springboot-work-flowable/src/main/java/com/xiaofu/flowable/config/FlowableConfig.java @@ -0,0 +1,21 @@ +package com.xiaofu.flowable.config; + +import org.flowable.spring.SpringProcessEngineConfiguration; +import org.flowable.spring.boot.EngineConfigurationConfigurer; +import org.springframework.context.annotation.Configuration; + +/** + * @author xinzhifu + * @description 设置样式,解决中文乱码 + * @date 2020/8/27 15:04 + */ +@Configuration +public class FlowableConfig implements EngineConfigurationConfigurer { + + @Override + public void configure(SpringProcessEngineConfiguration engineConfiguration) { + engineConfiguration.setActivityFontName("宋体"); + engineConfiguration.setLabelFontName("宋体"); + engineConfiguration.setAnnotationFontName("宋体"); + } +} diff --git a/springboot-work-flowable/src/main/java/com/xiaofu/flowable/controller/LeaveController.java b/springboot-work-flowable/src/main/java/com/xiaofu/flowable/controller/LeaveController.java new file mode 100644 index 00000000..63eacc48 --- /dev/null +++ b/springboot-work-flowable/src/main/java/com/xiaofu/flowable/controller/LeaveController.java @@ -0,0 +1,142 @@ +package com.xiaofu.flowable.controller; + +import lombok.extern.slf4j.Slf4j; +import org.flowable.bpmn.model.BpmnModel; +import org.flowable.engine.*; +import org.flowable.engine.runtime.Execution; +import org.flowable.engine.runtime.ProcessInstance; +import org.flowable.image.ProcessDiagramGenerator; +import org.flowable.task.api.Task; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.ResponseBody; + +import javax.servlet.http.HttpServletResponse; +import java.io.InputStream; +import java.io.OutputStream; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; + +@Slf4j +@Controller +@RequestMapping(value = "leave") +public class LeaveController { + + @Autowired + private RuntimeService runtimeService; + @Autowired + private TaskService taskService; + @Autowired + private RepositoryService repositoryService; + @Autowired + private ProcessEngine processEngine; + + /** + * @author xiaofu + * @description 启动流程 + * @date 2020/8/26 17:36 + */ + @RequestMapping(value = "startLeaveProcess") + @ResponseBody + public String startLeaveProcess(String staffId) { + HashMap map = new HashMap<>(); + map.put("leaveTask", staffId); + ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("Leave", map); + StringBuilder sb = new StringBuilder(); + sb.append("创建请假流程 processId:" + processInstance.getId()); + List tasks = taskService.createTaskQuery().taskAssignee(staffId).orderByTaskCreateTime().desc().list(); + for (Task task : tasks) { + sb.append("任务taskId:" + task.getId()); + } + return sb.toString(); + } + + /** + * @param taskId + * @author xinzhifu + * @description 批准 + * @date 2020/8/27 14:30 + */ + @RequestMapping(value = "applyTask") + @ResponseBody + public String applyTask(String taskId) { + Task task = taskService.createTaskQuery().taskId(taskId).singleResult(); + if (task == null) { + throw new RuntimeException("流程不存在"); + } + HashMap map = new HashMap<>(); + map.put("checkResult", "通过"); + taskService.complete(taskId, map); + return "申请审核通过~"; + } + + /** + * @param taskId + * @author xinzhifu + * @description 驳回 + * @date 2020/8/27 14:30 + */ + @ResponseBody + @RequestMapping(value = "rejectTask") + public String rejectTask(String taskId) { + HashMap map = new HashMap<>(); + map.put("checkResult", "驳回"); + taskService.complete(taskId, map); + return "申请审核驳回~"; + } + + + /** + * @author xiaofu + * @description 生成流程图 + * @date 2020/8/27 14:29 + */ + @RequestMapping(value = "createProcessDiagramPic") + public void createProcessDiagramPic(HttpServletResponse httpServletResponse, String processId) throws Exception { + + ProcessInstance pi = runtimeService.createProcessInstanceQuery().processInstanceId(processId).singleResult(); + if (pi == null) { + return; + } + Task task = taskService.createTaskQuery().processInstanceId(pi.getId()).singleResult(); + + String InstanceId = task.getProcessInstanceId(); + List executions = runtimeService + .createExecutionQuery() + .processInstanceId(InstanceId) + .list(); + + List activityIds = new ArrayList<>(); + List flows = new ArrayList<>(); + for (Execution exe : executions) { + List ids = runtimeService.getActiveActivityIds(exe.getId()); + activityIds.addAll(ids); + } + + /** + * 生成流程图 + */ + BpmnModel bpmnModel = repositoryService.getBpmnModel(pi.getProcessDefinitionId()); + ProcessEngineConfiguration engconf = processEngine.getProcessEngineConfiguration(); + ProcessDiagramGenerator diagramGenerator = engconf.getProcessDiagramGenerator(); + InputStream in = diagramGenerator.generateDiagram(bpmnModel, "png", activityIds, flows, engconf.getActivityFontName(), engconf.getLabelFontName(), engconf.getAnnotationFontName(), engconf.getClassLoader(), 1.0); + OutputStream out = null; + byte[] buf = new byte[1024]; + int legth = 0; + try { + out = httpServletResponse.getOutputStream(); + while ((legth = in.read(buf)) != -1) { + out.write(buf, 0, legth); + } + } finally { + if (in != null) { + in.close(); + } + if (out != null) { + out.close(); + } + } + } +} diff --git a/springboot-work-flowable/src/main/resources/application.yml b/springboot-work-flowable/src/main/resources/application.yml new file mode 100644 index 00000000..00283523 --- /dev/null +++ b/springboot-work-flowable/src/main/resources/application.yml @@ -0,0 +1,7 @@ +spring: + datasource: + url: jdbc:mysql://127.0.0.1:3306/xin-master?serverTimezone=UTC + username: junkang + password: junkang +server: + port: 4000 diff --git a/springboot-work-flowable/src/main/resources/processes/LeaveProcess.bpmn20.xml b/springboot-work-flowable/src/main/resources/processes/LeaveProcess.bpmn20.xml new file mode 100644 index 00000000..9589a540 --- /dev/null +++ b/springboot-work-flowable/src/main/resources/processes/LeaveProcess.bpmn20.xml @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file From 37e5b6f18d3125f558623527ddd822fe34d5728b Mon Sep 17 00:00:00 2001 From: xin <515361725@qq.com> Date: Wed, 2 Sep 2020 10:54:28 +0800 Subject: [PATCH 21/35] springboot-global-formatting --- springboot-global-formatting/.gitignore | 33 ++ springboot-global-formatting/mvnw | 310 ++++++++++++++++++ springboot-global-formatting/mvnw.cmd | 182 ++++++++++ springboot-global-formatting/pom.xml | 68 ++++ ...SpringbootGlobalFormattingApplication.java | 13 + .../formatting/config/DateFormatConfig1.java | 59 ++++ .../formatting/config/DateFormatConfig2.java | 99 ++++++ .../GlobalFormattingTimeController.java | 30 ++ .../com/xiaofu/formatting/dto/OrderDTO.java | 21 ++ .../src/main/resources/application.properties | 0 10 files changed, 815 insertions(+) create mode 100644 springboot-global-formatting/.gitignore create mode 100644 springboot-global-formatting/mvnw create mode 100644 springboot-global-formatting/mvnw.cmd create mode 100644 springboot-global-formatting/pom.xml create mode 100644 springboot-global-formatting/src/main/java/com/xiaofu/formatting/SpringbootGlobalFormattingApplication.java create mode 100644 springboot-global-formatting/src/main/java/com/xiaofu/formatting/config/DateFormatConfig1.java create mode 100644 springboot-global-formatting/src/main/java/com/xiaofu/formatting/config/DateFormatConfig2.java create mode 100644 springboot-global-formatting/src/main/java/com/xiaofu/formatting/controller/GlobalFormattingTimeController.java create mode 100644 springboot-global-formatting/src/main/java/com/xiaofu/formatting/dto/OrderDTO.java create mode 100644 springboot-global-formatting/src/main/resources/application.properties diff --git a/springboot-global-formatting/.gitignore b/springboot-global-formatting/.gitignore new file mode 100644 index 00000000..549e00a2 --- /dev/null +++ b/springboot-global-formatting/.gitignore @@ -0,0 +1,33 @@ +HELP.md +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ diff --git a/springboot-global-formatting/mvnw b/springboot-global-formatting/mvnw new file mode 100644 index 00000000..a16b5431 --- /dev/null +++ b/springboot-global-formatting/mvnw @@ -0,0 +1,310 @@ +#!/bin/sh +# ---------------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ---------------------------------------------------------------------------- + +# ---------------------------------------------------------------------------- +# Maven Start Up Batch script +# +# Required ENV vars: +# ------------------ +# JAVA_HOME - location of a JDK home dir +# +# Optional ENV vars +# ----------------- +# M2_HOME - location of maven2's installed home dir +# MAVEN_OPTS - parameters passed to the Java VM when running Maven +# e.g. to debug Maven itself, use +# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +# MAVEN_SKIP_RC - flag to disable loading of mavenrc files +# ---------------------------------------------------------------------------- + +if [ -z "$MAVEN_SKIP_RC" ] ; then + + if [ -f /etc/mavenrc ] ; then + . /etc/mavenrc + fi + + if [ -f "$HOME/.mavenrc" ] ; then + . "$HOME/.mavenrc" + fi + +fi + +# OS specific support. $var _must_ be set to either true or false. +cygwin=false; +darwin=false; +mingw=false +case "`uname`" in + CYGWIN*) cygwin=true ;; + MINGW*) mingw=true;; + Darwin*) darwin=true + # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home + # See https://developer.apple.com/library/mac/qa/qa1170/_index.html + if [ -z "$JAVA_HOME" ]; then + if [ -x "/usr/libexec/java_home" ]; then + export JAVA_HOME="`/usr/libexec/java_home`" + else + export JAVA_HOME="/Library/Java/Home" + fi + fi + ;; +esac + +if [ -z "$JAVA_HOME" ] ; then + if [ -r /etc/gentoo-release ] ; then + JAVA_HOME=`java-config --jre-home` + fi +fi + +if [ -z "$M2_HOME" ] ; then + ## resolve links - $0 may be a link to maven's home + PRG="$0" + + # need this for relative symlinks + while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG="`dirname "$PRG"`/$link" + fi + done + + saveddir=`pwd` + + M2_HOME=`dirname "$PRG"`/.. + + # make it fully qualified + M2_HOME=`cd "$M2_HOME" && pwd` + + cd "$saveddir" + # echo Using m2 at $M2_HOME +fi + +# For Cygwin, ensure paths are in UNIX format before anything is touched +if $cygwin ; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --unix "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --unix "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --unix "$CLASSPATH"` +fi + +# For Mingw, ensure paths are in UNIX format before anything is touched +if $mingw ; then + [ -n "$M2_HOME" ] && + M2_HOME="`(cd "$M2_HOME"; pwd)`" + [ -n "$JAVA_HOME" ] && + JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`" +fi + +if [ -z "$JAVA_HOME" ]; then + javaExecutable="`which javac`" + if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then + # readlink(1) is not available as standard on Solaris 10. + readLink=`which readlink` + if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then + if $darwin ; then + javaHome="`dirname \"$javaExecutable\"`" + javaExecutable="`cd \"$javaHome\" && pwd -P`/javac" + else + javaExecutable="`readlink -f \"$javaExecutable\"`" + fi + javaHome="`dirname \"$javaExecutable\"`" + javaHome=`expr "$javaHome" : '\(.*\)/bin'` + JAVA_HOME="$javaHome" + export JAVA_HOME + fi + fi +fi + +if [ -z "$JAVACMD" ] ; then + if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + else + JAVACMD="`which java`" + fi +fi + +if [ ! -x "$JAVACMD" ] ; then + echo "Error: JAVA_HOME is not defined correctly." >&2 + echo " We cannot execute $JAVACMD" >&2 + exit 1 +fi + +if [ -z "$JAVA_HOME" ] ; then + echo "Warning: JAVA_HOME environment variable is not set." +fi + +CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher + +# traverses directory structure from process work directory to filesystem root +# first directory with .mvn subdirectory is considered project base directory +find_maven_basedir() { + + if [ -z "$1" ] + then + echo "Path not specified to find_maven_basedir" + return 1 + fi + + basedir="$1" + wdir="$1" + while [ "$wdir" != '/' ] ; do + if [ -d "$wdir"/.mvn ] ; then + basedir=$wdir + break + fi + # workaround for JBEAP-8937 (on Solaris 10/Sparc) + if [ -d "${wdir}" ]; then + wdir=`cd "$wdir/.."; pwd` + fi + # end of workaround + done + echo "${basedir}" +} + +# concatenates all lines of a file +concat_lines() { + if [ -f "$1" ]; then + echo "$(tr -s '\n' ' ' < "$1")" + fi +} + +BASE_DIR=`find_maven_basedir "$(pwd)"` +if [ -z "$BASE_DIR" ]; then + exit 1; +fi + +########################################################################################## +# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central +# This allows using the maven wrapper in projects that prohibit checking in binary data. +########################################################################################## +if [ -r "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" ]; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found .mvn/wrapper/maven-wrapper.jar" + fi +else + if [ "$MVNW_VERBOSE" = true ]; then + echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..." + fi + if [ -n "$MVNW_REPOURL" ]; then + jarUrl="$MVNW_REPOURL/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + else + jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + fi + while IFS="=" read key value; do + case "$key" in (wrapperUrl) jarUrl="$value"; break ;; + esac + done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties" + if [ "$MVNW_VERBOSE" = true ]; then + echo "Downloading from: $jarUrl" + fi + wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" + if $cygwin; then + wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"` + fi + + if command -v wget > /dev/null; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found wget ... using wget" + fi + if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then + wget "$jarUrl" -O "$wrapperJarPath" + else + wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath" + fi + elif command -v curl > /dev/null; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found curl ... using curl" + fi + if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then + curl -o "$wrapperJarPath" "$jarUrl" -f + else + curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o "$wrapperJarPath" "$jarUrl" -f + fi + + else + if [ "$MVNW_VERBOSE" = true ]; then + echo "Falling back to using Java to download" + fi + javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java" + # For Cygwin, switch paths to Windows format before running javac + if $cygwin; then + javaClass=`cygpath --path --windows "$javaClass"` + fi + if [ -e "$javaClass" ]; then + if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then + if [ "$MVNW_VERBOSE" = true ]; then + echo " - Compiling MavenWrapperDownloader.java ..." + fi + # Compiling the Java class + ("$JAVA_HOME/bin/javac" "$javaClass") + fi + if [ -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then + # Running the downloader + if [ "$MVNW_VERBOSE" = true ]; then + echo " - Running MavenWrapperDownloader.java ..." + fi + ("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$MAVEN_PROJECTBASEDIR") + fi + fi + fi +fi +########################################################################################## +# End of extension +########################################################################################## + +export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"} +if [ "$MVNW_VERBOSE" = true ]; then + echo $MAVEN_PROJECTBASEDIR +fi +MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS" + +# For Cygwin, switch paths to Windows format before running java +if $cygwin; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --path --windows "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --windows "$CLASSPATH"` + [ -n "$MAVEN_PROJECTBASEDIR" ] && + MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"` +fi + +# Provide a "standardized" way to retrieve the CLI args that will +# work with both Windows and non-Windows executions. +MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@" +export MAVEN_CMD_LINE_ARGS + +WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +exec "$JAVACMD" \ + $MAVEN_OPTS \ + -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \ + "-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \ + ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@" diff --git a/springboot-global-formatting/mvnw.cmd b/springboot-global-formatting/mvnw.cmd new file mode 100644 index 00000000..c8d43372 --- /dev/null +++ b/springboot-global-formatting/mvnw.cmd @@ -0,0 +1,182 @@ +@REM ---------------------------------------------------------------------------- +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at +@REM +@REM https://www.apache.org/licenses/LICENSE-2.0 +@REM +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. +@REM ---------------------------------------------------------------------------- + +@REM ---------------------------------------------------------------------------- +@REM Maven Start Up Batch script +@REM +@REM Required ENV vars: +@REM JAVA_HOME - location of a JDK home dir +@REM +@REM Optional ENV vars +@REM M2_HOME - location of maven2's installed home dir +@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands +@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending +@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven +@REM e.g. to debug Maven itself, use +@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files +@REM ---------------------------------------------------------------------------- + +@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on' +@echo off +@REM set title of command window +title %0 +@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on' +@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO% + +@REM set %HOME% to equivalent of $HOME +if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%") + +@REM Execute a user defined script before this one +if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre +@REM check for pre script, once with legacy .bat ending and once with .cmd ending +if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat" +if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd" +:skipRcPre + +@setlocal + +set ERROR_CODE=0 + +@REM To isolate internal variables from possible post scripts, we use another setlocal +@setlocal + +@REM ==== START VALIDATION ==== +if not "%JAVA_HOME%" == "" goto OkJHome + +echo. +echo Error: JAVA_HOME not found in your environment. >&2 +echo Please set the JAVA_HOME variable in your environment to match the >&2 +echo location of your Java installation. >&2 +echo. +goto error + +:OkJHome +if exist "%JAVA_HOME%\bin\java.exe" goto init + +echo. +echo Error: JAVA_HOME is set to an invalid directory. >&2 +echo JAVA_HOME = "%JAVA_HOME%" >&2 +echo Please set the JAVA_HOME variable in your environment to match the >&2 +echo location of your Java installation. >&2 +echo. +goto error + +@REM ==== END VALIDATION ==== + +:init + +@REM Find the project base dir, i.e. the directory that contains the folder ".mvn". +@REM Fallback to current working directory if not found. + +set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR% +IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir + +set EXEC_DIR=%CD% +set WDIR=%EXEC_DIR% +:findBaseDir +IF EXIST "%WDIR%"\.mvn goto baseDirFound +cd .. +IF "%WDIR%"=="%CD%" goto baseDirNotFound +set WDIR=%CD% +goto findBaseDir + +:baseDirFound +set MAVEN_PROJECTBASEDIR=%WDIR% +cd "%EXEC_DIR%" +goto endDetectBaseDir + +:baseDirNotFound +set MAVEN_PROJECTBASEDIR=%EXEC_DIR% +cd "%EXEC_DIR%" + +:endDetectBaseDir + +IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig + +@setlocal EnableExtensions EnableDelayedExpansion +for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a +@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS% + +:endReadAdditionalConfig + +SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe" +set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar" +set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + +FOR /F "tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO ( + IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B +) + +@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central +@REM This allows using the maven wrapper in projects that prohibit checking in binary data. +if exist %WRAPPER_JAR% ( + if "%MVNW_VERBOSE%" == "true" ( + echo Found %WRAPPER_JAR% + ) +) else ( + if not "%MVNW_REPOURL%" == "" ( + SET DOWNLOAD_URL="%MVNW_REPOURL%/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + ) + if "%MVNW_VERBOSE%" == "true" ( + echo Couldn't find %WRAPPER_JAR%, downloading it ... + echo Downloading from: %DOWNLOAD_URL% + ) + + powershell -Command "&{"^ + "$webclient = new-object System.Net.WebClient;"^ + "if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^ + "$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^ + "}"^ + "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^ + "}" + if "%MVNW_VERBOSE%" == "true" ( + echo Finished downloading %WRAPPER_JAR% + ) +) +@REM End of extension + +@REM Provide a "standardized" way to retrieve the CLI args that will +@REM work with both Windows and non-Windows executions. +set MAVEN_CMD_LINE_ARGS=%* + +%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %* +if ERRORLEVEL 1 goto error +goto end + +:error +set ERROR_CODE=1 + +:end +@endlocal & set ERROR_CODE=%ERROR_CODE% + +if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost +@REM check for post script, once with legacy .bat ending and once with .cmd ending +if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat" +if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd" +:skipRcPost + +@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on' +if "%MAVEN_BATCH_PAUSE%" == "on" pause + +if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE% + +exit /B %ERROR_CODE% diff --git a/springboot-global-formatting/pom.xml b/springboot-global-formatting/pom.xml new file mode 100644 index 00000000..b2046883 --- /dev/null +++ b/springboot-global-formatting/pom.xml @@ -0,0 +1,68 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.0.5.RELEASE + + + com.xiaofu.formatting + springboot-global-formatting + 0.0.1-SNAPSHOT + springboot-global-formatting + Demo project for Spring Boot + + + 1.8 + + + + + org.springframework.boot + spring-boot-starter-web + 2.0.5.RELEASE + + + + org.springframework.boot + spring-boot-starter + + + + org.springframework.boot + spring-boot-starter-test + test + + + org.junit.vintage + junit-vintage-engine + + + + + + org.projectlombok + lombok + 1.16.18 + provided + + + + com.alibaba + fastjson + 1.2.49 + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/springboot-global-formatting/src/main/java/com/xiaofu/formatting/SpringbootGlobalFormattingApplication.java b/springboot-global-formatting/src/main/java/com/xiaofu/formatting/SpringbootGlobalFormattingApplication.java new file mode 100644 index 00000000..4a7eed48 --- /dev/null +++ b/springboot-global-formatting/src/main/java/com/xiaofu/formatting/SpringbootGlobalFormattingApplication.java @@ -0,0 +1,13 @@ +package com.xiaofu.formatting; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class SpringbootGlobalFormattingApplication { + + public static void main(String[] args) { + SpringApplication.run(SpringbootGlobalFormattingApplication.class, args); + } + +} diff --git a/springboot-global-formatting/src/main/java/com/xiaofu/formatting/config/DateFormatConfig1.java b/springboot-global-formatting/src/main/java/com/xiaofu/formatting/config/DateFormatConfig1.java new file mode 100644 index 00000000..d98e257c --- /dev/null +++ b/springboot-global-formatting/src/main/java/com/xiaofu/formatting/config/DateFormatConfig1.java @@ -0,0 +1,59 @@ +//package com.xiaofu.formatting.config; +// +// +//import com.fasterxml.jackson.databind.SerializationFeature; +//import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer; +//import org.springframework.beans.factory.annotation.Value; +//import org.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizer; +//import org.springframework.boot.jackson.JsonComponent; +//import org.springframework.context.annotation.Bean; +// +//import java.text.DateFormat; +//import java.text.SimpleDateFormat; +//import java.time.LocalDateTime; +//import java.time.format.DateTimeFormatter; +//import java.util.TimeZone; +// +///** +// * 第一种全局时间格式化 +// */ +//@JsonComponent +//public class DateFormatConfig1 { +// +// @Value("${spring.jackson.date-format:yyyy-MM-dd HH:mm:ss}") +// private String pattern; +// +// /** +// * @author xiaofu +// * @description date 类型全局时间格式化 +// * @date 2020/8/31 18:22 +// */ +// @Bean +// public Jackson2ObjectMapperBuilderCustomizer jackson2ObjectMapperBuilder() { +// +// return builder -> { +// TimeZone tz = TimeZone.getTimeZone("UTC"); +// DateFormat df = new SimpleDateFormat(pattern); +// df.setTimeZone(tz); +// builder.failOnEmptyBeans(false) +// .failOnUnknownProperties(false) +// .featuresToDisable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS) +// .dateFormat(df); +// }; +// } +// +// /** +// * @author xiaofu +// * @description LocalDate 类型全局时间格式化 +// * @date 2020/8/31 18:22 +// */ +// @Bean +// public LocalDateTimeSerializer localDateTimeDeserializer() { +// return new LocalDateTimeSerializer(DateTimeFormatter.ofPattern(pattern)); +// } +// +// @Bean +// public Jackson2ObjectMapperBuilderCustomizer jackson2ObjectMapperBuilderCustomizer() { +// return builder -> builder.serializerByType(LocalDateTime.class, localDateTimeDeserializer()); +// } +//} \ No newline at end of file diff --git a/springboot-global-formatting/src/main/java/com/xiaofu/formatting/config/DateFormatConfig2.java b/springboot-global-formatting/src/main/java/com/xiaofu/formatting/config/DateFormatConfig2.java new file mode 100644 index 00000000..bb62cd4f --- /dev/null +++ b/springboot-global-formatting/src/main/java/com/xiaofu/formatting/config/DateFormatConfig2.java @@ -0,0 +1,99 @@ +package com.xiaofu.formatting.config; + + +import com.fasterxml.jackson.core.JsonGenerator; +import com.fasterxml.jackson.core.JsonParser; +import com.fasterxml.jackson.databind.*; +import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.context.annotation.Primary; +import org.springframework.stereotype.Component; + +import java.io.IOException; +import java.text.DateFormat; +import java.text.ParseException; +import java.text.SimpleDateFormat; +import java.time.LocalDateTime; +import java.time.format.DateTimeFormatter; +import java.util.Date; + +/** + * 第二种全局时间格式化 + */ +@Configuration +public class DateFormatConfig2 { + + @Value("${spring.jackson.date-format:yyyy-MM-dd HH:mm:ss}") + private String pattern; + + public static DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); + + @Bean + @Primary + public ObjectMapper serializingObjectMapper() { + ObjectMapper objectMapper = new ObjectMapper(); + JavaTimeModule javaTimeModule = new JavaTimeModule(); + javaTimeModule.addSerializer(LocalDateTime.class, new LocalDateTimeSerializer()); + javaTimeModule.addDeserializer(LocalDateTime.class, new LocalDateTimeDeserializer()); + objectMapper.registerModule(javaTimeModule); + return objectMapper; + } + + /** + * @author xiaofu + * @description Date 时间类型装换 + * @date 2020/9/1 17:25 + */ + @Component + public class DateSerializer extends JsonSerializer { + @Override + public void serialize(Date date, JsonGenerator gen, SerializerProvider provider) throws IOException { + String formattedDate = dateFormat.format(date); + gen.writeString(formattedDate); + } + } + + /** + * @author xiaofu + * @description Date 时间类型装换 + * @date 2020/9/1 17:25 + */ + @Component + public class DateDeserializer extends JsonDeserializer { + + @Override + public Date deserialize(JsonParser jsonParser, DeserializationContext deserializationContext) throws IOException { + try { + return dateFormat.parse(jsonParser.getValueAsString()); + } catch (ParseException e) { + throw new RuntimeException("Could not parse date", e); + } + } + } + + /** + * @author xiaofu + * @description LocalDate 时间类型装换 + * @date 2020/9/1 17:25 + */ + public class LocalDateTimeSerializer extends JsonSerializer { + @Override + public void serialize(LocalDateTime value, JsonGenerator gen, SerializerProvider serializers) throws IOException { + gen.writeString(value.format(DateTimeFormatter.ofPattern(pattern))); + } + } + + /** + * @author xiaofu + * @description LocalDate 时间类型装换 + * @date 2020/9/1 17:25 + */ + public class LocalDateTimeDeserializer extends JsonDeserializer { + @Override + public LocalDateTime deserialize(JsonParser p, DeserializationContext deserializationContext) throws IOException { + return LocalDateTime.parse(p.getValueAsString(), DateTimeFormatter.ofPattern(pattern)); + } + } +} \ No newline at end of file diff --git a/springboot-global-formatting/src/main/java/com/xiaofu/formatting/controller/GlobalFormattingTimeController.java b/springboot-global-formatting/src/main/java/com/xiaofu/formatting/controller/GlobalFormattingTimeController.java new file mode 100644 index 00000000..76d85208 --- /dev/null +++ b/springboot-global-formatting/src/main/java/com/xiaofu/formatting/controller/GlobalFormattingTimeController.java @@ -0,0 +1,30 @@ +package com.xiaofu.formatting.controller; + +import com.alibaba.fastjson.JSON; +import com.xiaofu.formatting.dto.OrderDTO; +import lombok.extern.slf4j.Slf4j; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import java.time.LocalDateTime; +import java.util.Date; + +/** + * @Author: xiaofu + * @Description: + */ +@Slf4j +@RestController +@RequestMapping +public class GlobalFormattingTimeController { + + @RequestMapping("/timeTest") + public OrderDTO timeTest(OrderDTO orderDTO) { + OrderDTO dto = new OrderDTO(); + dto.setCreateTime(LocalDateTime.now()); + dto.setUpdateTime(new Date()); + + log.info(JSON.toJSONString(dto)); + return dto; + } +} diff --git a/springboot-global-formatting/src/main/java/com/xiaofu/formatting/dto/OrderDTO.java b/springboot-global-formatting/src/main/java/com/xiaofu/formatting/dto/OrderDTO.java new file mode 100644 index 00000000..76de241f --- /dev/null +++ b/springboot-global-formatting/src/main/java/com/xiaofu/formatting/dto/OrderDTO.java @@ -0,0 +1,21 @@ +package com.xiaofu.formatting.dto; + +import com.fasterxml.jackson.annotation.JsonFormat; +import lombok.Data; + +import java.time.LocalDateTime; +import java.util.Date; + +/** + * @Author: xiaofu + * @Description: + */ +@Data +public class OrderDTO { + + @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd") + private LocalDateTime createTime; + + @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd") + private Date updateTime; +} diff --git a/springboot-global-formatting/src/main/resources/application.properties b/springboot-global-formatting/src/main/resources/application.properties new file mode 100644 index 00000000..e69de29b From 0b93f6cfd108d3108cc9057d32774c8aaa7ae5aa Mon Sep 17 00:00:00 2001 From: xin <515361725@qq.com> Date: Mon, 7 Sep 2020 18:31:46 +0800 Subject: [PATCH 22/35] springboot-mqtt-messagepush --- springboot-mqtt-messagepush/.gitignore | 33 ++ springboot-mqtt-messagepush/mvnw | 310 ++++++++++++++++++ springboot-mqtt-messagepush/mvnw.cmd | 182 ++++++++++ springboot-mqtt-messagepush/pom.xml | 92 ++++++ .../SpringbootMqttMessagepushApplication.java | 13 + .../mqtt/config/IotMqttProducerConfig.java | 45 +++ .../mqtt/config/IotMqttSubscriberConfig.java | 71 ++++ .../main/java/com/mqtt/config/MqttConfig.java | 40 +++ .../com/mqtt/producer/IotMqttController.java | 33 ++ .../com/mqtt/producer/IotMqttGateway.java | 23 ++ .../src/main/resources/application.yml | 7 + .../src/main/resources/static/css/push.css | 27 ++ .../src/main/resources/static/css/style.css | 111 +++++++ .../src/main/resources/static/js/follow.js | 7 + .../resources/static/js/gg_bd_ad_720x90-2.js | 18 + .../resources/static/js/gg_bd_ad_720x90.js | 103 ++++++ .../src/main/resources/static/js/index.js | 6 + .../src/main/resources/static/vue.min.js | 8 + .../src/main/resources/templates/1.html | 87 +++++ .../src/main/resources/templates/2.html | 0 .../src/main/resources/templates/index.html | 91 +++++ 21 files changed, 1307 insertions(+) create mode 100644 springboot-mqtt-messagepush/.gitignore create mode 100644 springboot-mqtt-messagepush/mvnw create mode 100644 springboot-mqtt-messagepush/mvnw.cmd create mode 100644 springboot-mqtt-messagepush/pom.xml create mode 100644 springboot-mqtt-messagepush/src/main/java/com/mqtt/SpringbootMqttMessagepushApplication.java create mode 100644 springboot-mqtt-messagepush/src/main/java/com/mqtt/config/IotMqttProducerConfig.java create mode 100644 springboot-mqtt-messagepush/src/main/java/com/mqtt/config/IotMqttSubscriberConfig.java create mode 100644 springboot-mqtt-messagepush/src/main/java/com/mqtt/config/MqttConfig.java create mode 100644 springboot-mqtt-messagepush/src/main/java/com/mqtt/producer/IotMqttController.java create mode 100644 springboot-mqtt-messagepush/src/main/java/com/mqtt/producer/IotMqttGateway.java create mode 100644 springboot-mqtt-messagepush/src/main/resources/application.yml create mode 100644 springboot-mqtt-messagepush/src/main/resources/static/css/push.css create mode 100644 springboot-mqtt-messagepush/src/main/resources/static/css/style.css create mode 100644 springboot-mqtt-messagepush/src/main/resources/static/js/follow.js create mode 100644 springboot-mqtt-messagepush/src/main/resources/static/js/gg_bd_ad_720x90-2.js create mode 100644 springboot-mqtt-messagepush/src/main/resources/static/js/gg_bd_ad_720x90.js create mode 100644 springboot-mqtt-messagepush/src/main/resources/static/js/index.js create mode 100644 springboot-mqtt-messagepush/src/main/resources/static/vue.min.js create mode 100644 springboot-mqtt-messagepush/src/main/resources/templates/1.html create mode 100644 springboot-mqtt-messagepush/src/main/resources/templates/2.html create mode 100644 springboot-mqtt-messagepush/src/main/resources/templates/index.html diff --git a/springboot-mqtt-messagepush/.gitignore b/springboot-mqtt-messagepush/.gitignore new file mode 100644 index 00000000..549e00a2 --- /dev/null +++ b/springboot-mqtt-messagepush/.gitignore @@ -0,0 +1,33 @@ +HELP.md +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ diff --git a/springboot-mqtt-messagepush/mvnw b/springboot-mqtt-messagepush/mvnw new file mode 100644 index 00000000..a16b5431 --- /dev/null +++ b/springboot-mqtt-messagepush/mvnw @@ -0,0 +1,310 @@ +#!/bin/sh +# ---------------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ---------------------------------------------------------------------------- + +# ---------------------------------------------------------------------------- +# Maven Start Up Batch script +# +# Required ENV vars: +# ------------------ +# JAVA_HOME - location of a JDK home dir +# +# Optional ENV vars +# ----------------- +# M2_HOME - location of maven2's installed home dir +# MAVEN_OPTS - parameters passed to the Java VM when running Maven +# e.g. to debug Maven itself, use +# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +# MAVEN_SKIP_RC - flag to disable loading of mavenrc files +# ---------------------------------------------------------------------------- + +if [ -z "$MAVEN_SKIP_RC" ] ; then + + if [ -f /etc/mavenrc ] ; then + . /etc/mavenrc + fi + + if [ -f "$HOME/.mavenrc" ] ; then + . "$HOME/.mavenrc" + fi + +fi + +# OS specific support. $var _must_ be set to either true or false. +cygwin=false; +darwin=false; +mingw=false +case "`uname`" in + CYGWIN*) cygwin=true ;; + MINGW*) mingw=true;; + Darwin*) darwin=true + # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home + # See https://developer.apple.com/library/mac/qa/qa1170/_index.html + if [ -z "$JAVA_HOME" ]; then + if [ -x "/usr/libexec/java_home" ]; then + export JAVA_HOME="`/usr/libexec/java_home`" + else + export JAVA_HOME="/Library/Java/Home" + fi + fi + ;; +esac + +if [ -z "$JAVA_HOME" ] ; then + if [ -r /etc/gentoo-release ] ; then + JAVA_HOME=`java-config --jre-home` + fi +fi + +if [ -z "$M2_HOME" ] ; then + ## resolve links - $0 may be a link to maven's home + PRG="$0" + + # need this for relative symlinks + while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG="`dirname "$PRG"`/$link" + fi + done + + saveddir=`pwd` + + M2_HOME=`dirname "$PRG"`/.. + + # make it fully qualified + M2_HOME=`cd "$M2_HOME" && pwd` + + cd "$saveddir" + # echo Using m2 at $M2_HOME +fi + +# For Cygwin, ensure paths are in UNIX format before anything is touched +if $cygwin ; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --unix "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --unix "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --unix "$CLASSPATH"` +fi + +# For Mingw, ensure paths are in UNIX format before anything is touched +if $mingw ; then + [ -n "$M2_HOME" ] && + M2_HOME="`(cd "$M2_HOME"; pwd)`" + [ -n "$JAVA_HOME" ] && + JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`" +fi + +if [ -z "$JAVA_HOME" ]; then + javaExecutable="`which javac`" + if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then + # readlink(1) is not available as standard on Solaris 10. + readLink=`which readlink` + if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then + if $darwin ; then + javaHome="`dirname \"$javaExecutable\"`" + javaExecutable="`cd \"$javaHome\" && pwd -P`/javac" + else + javaExecutable="`readlink -f \"$javaExecutable\"`" + fi + javaHome="`dirname \"$javaExecutable\"`" + javaHome=`expr "$javaHome" : '\(.*\)/bin'` + JAVA_HOME="$javaHome" + export JAVA_HOME + fi + fi +fi + +if [ -z "$JAVACMD" ] ; then + if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + else + JAVACMD="`which java`" + fi +fi + +if [ ! -x "$JAVACMD" ] ; then + echo "Error: JAVA_HOME is not defined correctly." >&2 + echo " We cannot execute $JAVACMD" >&2 + exit 1 +fi + +if [ -z "$JAVA_HOME" ] ; then + echo "Warning: JAVA_HOME environment variable is not set." +fi + +CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher + +# traverses directory structure from process work directory to filesystem root +# first directory with .mvn subdirectory is considered project base directory +find_maven_basedir() { + + if [ -z "$1" ] + then + echo "Path not specified to find_maven_basedir" + return 1 + fi + + basedir="$1" + wdir="$1" + while [ "$wdir" != '/' ] ; do + if [ -d "$wdir"/.mvn ] ; then + basedir=$wdir + break + fi + # workaround for JBEAP-8937 (on Solaris 10/Sparc) + if [ -d "${wdir}" ]; then + wdir=`cd "$wdir/.."; pwd` + fi + # end of workaround + done + echo "${basedir}" +} + +# concatenates all lines of a file +concat_lines() { + if [ -f "$1" ]; then + echo "$(tr -s '\n' ' ' < "$1")" + fi +} + +BASE_DIR=`find_maven_basedir "$(pwd)"` +if [ -z "$BASE_DIR" ]; then + exit 1; +fi + +########################################################################################## +# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central +# This allows using the maven wrapper in projects that prohibit checking in binary data. +########################################################################################## +if [ -r "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" ]; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found .mvn/wrapper/maven-wrapper.jar" + fi +else + if [ "$MVNW_VERBOSE" = true ]; then + echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..." + fi + if [ -n "$MVNW_REPOURL" ]; then + jarUrl="$MVNW_REPOURL/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + else + jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + fi + while IFS="=" read key value; do + case "$key" in (wrapperUrl) jarUrl="$value"; break ;; + esac + done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties" + if [ "$MVNW_VERBOSE" = true ]; then + echo "Downloading from: $jarUrl" + fi + wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" + if $cygwin; then + wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"` + fi + + if command -v wget > /dev/null; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found wget ... using wget" + fi + if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then + wget "$jarUrl" -O "$wrapperJarPath" + else + wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath" + fi + elif command -v curl > /dev/null; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found curl ... using curl" + fi + if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then + curl -o "$wrapperJarPath" "$jarUrl" -f + else + curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o "$wrapperJarPath" "$jarUrl" -f + fi + + else + if [ "$MVNW_VERBOSE" = true ]; then + echo "Falling back to using Java to download" + fi + javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java" + # For Cygwin, switch paths to Windows format before running javac + if $cygwin; then + javaClass=`cygpath --path --windows "$javaClass"` + fi + if [ -e "$javaClass" ]; then + if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then + if [ "$MVNW_VERBOSE" = true ]; then + echo " - Compiling MavenWrapperDownloader.java ..." + fi + # Compiling the Java class + ("$JAVA_HOME/bin/javac" "$javaClass") + fi + if [ -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then + # Running the downloader + if [ "$MVNW_VERBOSE" = true ]; then + echo " - Running MavenWrapperDownloader.java ..." + fi + ("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$MAVEN_PROJECTBASEDIR") + fi + fi + fi +fi +########################################################################################## +# End of extension +########################################################################################## + +export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"} +if [ "$MVNW_VERBOSE" = true ]; then + echo $MAVEN_PROJECTBASEDIR +fi +MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS" + +# For Cygwin, switch paths to Windows format before running java +if $cygwin; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --path --windows "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --windows "$CLASSPATH"` + [ -n "$MAVEN_PROJECTBASEDIR" ] && + MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"` +fi + +# Provide a "standardized" way to retrieve the CLI args that will +# work with both Windows and non-Windows executions. +MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@" +export MAVEN_CMD_LINE_ARGS + +WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +exec "$JAVACMD" \ + $MAVEN_OPTS \ + -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \ + "-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \ + ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@" diff --git a/springboot-mqtt-messagepush/mvnw.cmd b/springboot-mqtt-messagepush/mvnw.cmd new file mode 100644 index 00000000..c8d43372 --- /dev/null +++ b/springboot-mqtt-messagepush/mvnw.cmd @@ -0,0 +1,182 @@ +@REM ---------------------------------------------------------------------------- +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at +@REM +@REM https://www.apache.org/licenses/LICENSE-2.0 +@REM +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. +@REM ---------------------------------------------------------------------------- + +@REM ---------------------------------------------------------------------------- +@REM Maven Start Up Batch script +@REM +@REM Required ENV vars: +@REM JAVA_HOME - location of a JDK home dir +@REM +@REM Optional ENV vars +@REM M2_HOME - location of maven2's installed home dir +@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands +@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending +@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven +@REM e.g. to debug Maven itself, use +@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files +@REM ---------------------------------------------------------------------------- + +@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on' +@echo off +@REM set title of command window +title %0 +@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on' +@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO% + +@REM set %HOME% to equivalent of $HOME +if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%") + +@REM Execute a user defined script before this one +if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre +@REM check for pre script, once with legacy .bat ending and once with .cmd ending +if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat" +if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd" +:skipRcPre + +@setlocal + +set ERROR_CODE=0 + +@REM To isolate internal variables from possible post scripts, we use another setlocal +@setlocal + +@REM ==== START VALIDATION ==== +if not "%JAVA_HOME%" == "" goto OkJHome + +echo. +echo Error: JAVA_HOME not found in your environment. >&2 +echo Please set the JAVA_HOME variable in your environment to match the >&2 +echo location of your Java installation. >&2 +echo. +goto error + +:OkJHome +if exist "%JAVA_HOME%\bin\java.exe" goto init + +echo. +echo Error: JAVA_HOME is set to an invalid directory. >&2 +echo JAVA_HOME = "%JAVA_HOME%" >&2 +echo Please set the JAVA_HOME variable in your environment to match the >&2 +echo location of your Java installation. >&2 +echo. +goto error + +@REM ==== END VALIDATION ==== + +:init + +@REM Find the project base dir, i.e. the directory that contains the folder ".mvn". +@REM Fallback to current working directory if not found. + +set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR% +IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir + +set EXEC_DIR=%CD% +set WDIR=%EXEC_DIR% +:findBaseDir +IF EXIST "%WDIR%"\.mvn goto baseDirFound +cd .. +IF "%WDIR%"=="%CD%" goto baseDirNotFound +set WDIR=%CD% +goto findBaseDir + +:baseDirFound +set MAVEN_PROJECTBASEDIR=%WDIR% +cd "%EXEC_DIR%" +goto endDetectBaseDir + +:baseDirNotFound +set MAVEN_PROJECTBASEDIR=%EXEC_DIR% +cd "%EXEC_DIR%" + +:endDetectBaseDir + +IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig + +@setlocal EnableExtensions EnableDelayedExpansion +for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a +@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS% + +:endReadAdditionalConfig + +SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe" +set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar" +set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + +FOR /F "tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO ( + IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B +) + +@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central +@REM This allows using the maven wrapper in projects that prohibit checking in binary data. +if exist %WRAPPER_JAR% ( + if "%MVNW_VERBOSE%" == "true" ( + echo Found %WRAPPER_JAR% + ) +) else ( + if not "%MVNW_REPOURL%" == "" ( + SET DOWNLOAD_URL="%MVNW_REPOURL%/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + ) + if "%MVNW_VERBOSE%" == "true" ( + echo Couldn't find %WRAPPER_JAR%, downloading it ... + echo Downloading from: %DOWNLOAD_URL% + ) + + powershell -Command "&{"^ + "$webclient = new-object System.Net.WebClient;"^ + "if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^ + "$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^ + "}"^ + "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^ + "}" + if "%MVNW_VERBOSE%" == "true" ( + echo Finished downloading %WRAPPER_JAR% + ) +) +@REM End of extension + +@REM Provide a "standardized" way to retrieve the CLI args that will +@REM work with both Windows and non-Windows executions. +set MAVEN_CMD_LINE_ARGS=%* + +%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %* +if ERRORLEVEL 1 goto error +goto end + +:error +set ERROR_CODE=1 + +:end +@endlocal & set ERROR_CODE=%ERROR_CODE% + +if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost +@REM check for post script, once with legacy .bat ending and once with .cmd ending +if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat" +if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd" +:skipRcPost + +@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on' +if "%MAVEN_BATCH_PAUSE%" == "on" pause + +if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE% + +exit /B %ERROR_CODE% diff --git a/springboot-mqtt-messagepush/pom.xml b/springboot-mqtt-messagepush/pom.xml new file mode 100644 index 00000000..b3dcd666 --- /dev/null +++ b/springboot-mqtt-messagepush/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.0.5.RELEASE + + + com.xiaofu + springboot-mqtt-messagepush + 0.0.1-SNAPSHOT + springboot-mqtt-messagepush + springboot-mqtt-messagepush + + + 1.8 + + + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + + org.springframework.boot + spring-boot-starter-web + 2.0.5.RELEASE + + + + org.springframework.boot + spring-boot-starter-amqp + + + + org.springframework.boot + spring-boot-starter-test + test + + + org.junit.vintage + junit-vintage-engine + + + + + + org.springframework.boot + spring-boot-starter-amqp + + + + org.projectlombok + lombok + 1.16.18 + provided + + + + + org.springframework.integration + spring-integration-mqtt + + + org.eclipse.paho + org.eclipse.paho.client.mqttv3 + 1.2.0 + + + + org.springframework.boot + spring-boot-starter-amqp + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/springboot-mqtt-messagepush/src/main/java/com/mqtt/SpringbootMqttMessagepushApplication.java b/springboot-mqtt-messagepush/src/main/java/com/mqtt/SpringbootMqttMessagepushApplication.java new file mode 100644 index 00000000..b00535f0 --- /dev/null +++ b/springboot-mqtt-messagepush/src/main/java/com/mqtt/SpringbootMqttMessagepushApplication.java @@ -0,0 +1,13 @@ +package com.mqtt; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class SpringbootMqttMessagepushApplication { + + public static void main(String[] args) { + SpringApplication.run(SpringbootMqttMessagepushApplication.class, args); + } + +} diff --git a/springboot-mqtt-messagepush/src/main/java/com/mqtt/config/IotMqttProducerConfig.java b/springboot-mqtt-messagepush/src/main/java/com/mqtt/config/IotMqttProducerConfig.java new file mode 100644 index 00000000..0d0d5d45 --- /dev/null +++ b/springboot-mqtt-messagepush/src/main/java/com/mqtt/config/IotMqttProducerConfig.java @@ -0,0 +1,45 @@ +package com.mqtt.config; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.integration.annotation.ServiceActivator; +import org.springframework.integration.channel.DirectChannel; +import org.springframework.integration.mqtt.core.DefaultMqttPahoClientFactory; +import org.springframework.integration.mqtt.core.MqttPahoClientFactory; +import org.springframework.integration.mqtt.outbound.MqttPahoMessageHandler; +import org.springframework.messaging.MessageChannel; +import org.springframework.messaging.MessageHandler; + +/** + * @Author: xinzhifu + * @Description: + */ +@Configuration +public class IotMqttProducerConfig { + + @Autowired + private MqttConfig mqttConfig; + + @Bean + public MqttPahoClientFactory mqttClientFactory() { + DefaultMqttPahoClientFactory factory = new DefaultMqttPahoClientFactory(); + factory.setServerURIs(mqttConfig.getServers()); + return factory; + } + + @Bean + public MessageChannel iotMqttInputChannel() { + return new DirectChannel(); + } + + @Bean + @ServiceActivator(inputChannel = "iotMqttInputChannel") + public MessageHandler mqttOutbound() { + MqttPahoMessageHandler messageHandler = new MqttPahoMessageHandler(mqttConfig.getServerClientId(), mqttClientFactory()); + messageHandler.setAsync(false); + messageHandler.setDefaultQos(2); + messageHandler.setDefaultTopic(mqttConfig.getDefaultTopic()); + return messageHandler; + } +} diff --git a/springboot-mqtt-messagepush/src/main/java/com/mqtt/config/IotMqttSubscriberConfig.java b/springboot-mqtt-messagepush/src/main/java/com/mqtt/config/IotMqttSubscriberConfig.java new file mode 100644 index 00000000..b66ba024 --- /dev/null +++ b/springboot-mqtt-messagepush/src/main/java/com/mqtt/config/IotMqttSubscriberConfig.java @@ -0,0 +1,71 @@ +package com.mqtt.config; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.integration.annotation.ServiceActivator; +import org.springframework.integration.channel.DirectChannel; +import org.springframework.integration.core.MessageProducer; +import org.springframework.integration.mqtt.core.DefaultMqttPahoClientFactory; +import org.springframework.integration.mqtt.core.MqttPahoClientFactory; +import org.springframework.integration.mqtt.inbound.MqttPahoMessageDrivenChannelAdapter; +import org.springframework.integration.mqtt.support.DefaultPahoMessageConverter; +import org.springframework.messaging.MessageChannel; +import org.springframework.messaging.MessageHandler; +import org.springframework.messaging.MessagingException; + +/** + * @Author: xiaofu + * @Description: 消息订阅配置 + * @date 2020/6/8 18:24 + */ +@Configuration +public class IotMqttSubscriberConfig { + + @Autowired + private MqttConfig mqttConfig; + + @Bean + public MqttPahoClientFactory mqttClientFactory() { + DefaultMqttPahoClientFactory factory = new DefaultMqttPahoClientFactory(); + factory.setServerURIs(mqttConfig.getServers()); + return factory; + } + + @Bean + public MessageChannel iotMqttInputChannel() { + return new DirectChannel(); + } + + @Bean + public MessageProducer inbound() { + MqttPahoMessageDrivenChannelAdapter adapter = new MqttPahoMessageDrivenChannelAdapter(mqttConfig.getClientId(), mqttClientFactory(), mqttConfig.getDefaultTopic()); + adapter.setCompletionTimeout(5000); + adapter.setConverter(new DefaultPahoMessageConverter()); + adapter.setQos(2); + adapter.setOutputChannel(iotMqttInputChannel()); + return adapter; + } + + /** + * @author xiaofu + * @description 消息订阅 + * @date 2020/6/8 18:20 + */ + @Bean + @ServiceActivator(inputChannel = "iotMqttInputChannel") + public MessageHandler handlerTest() { + + return message -> { + try { + String string = message.getPayload().toString(); + System.out.println("接收到消息:" + string); + } catch (MessagingException ex) { + //logger.info(ex.getMessage()); + } + }; + + } +} + + diff --git a/springboot-mqtt-messagepush/src/main/java/com/mqtt/config/MqttConfig.java b/springboot-mqtt-messagepush/src/main/java/com/mqtt/config/MqttConfig.java new file mode 100644 index 00000000..77931329 --- /dev/null +++ b/springboot-mqtt-messagepush/src/main/java/com/mqtt/config/MqttConfig.java @@ -0,0 +1,40 @@ +package com.mqtt.config; + +import lombok.Getter; +import lombok.Setter; +import org.springframework.boot.context.properties.ConfigurationProperties; +import org.springframework.integration.annotation.IntegrationComponentScan; +import org.springframework.stereotype.Component; + +/** + * @Author: xinzhifu + * @Description: 基础配置类 + * @date 2020/6/8 18:25 + */ +@Getter +@Setter +@Component +@IntegrationComponentScan +@ConfigurationProperties(prefix = "iot.mqtt") +public class MqttConfig { + + /** + * 服务地址 + */ + private String servers; + + /** + * 客户端id + */ + private String clientId; + + /** + * 服务端id + */ + private String serverClientId; + + /** + * 默认主题 + */ + private String defaultTopic; +} diff --git a/springboot-mqtt-messagepush/src/main/java/com/mqtt/producer/IotMqttController.java b/springboot-mqtt-messagepush/src/main/java/com/mqtt/producer/IotMqttController.java new file mode 100644 index 00000000..fc423a25 --- /dev/null +++ b/springboot-mqtt-messagepush/src/main/java/com/mqtt/producer/IotMqttController.java @@ -0,0 +1,33 @@ +package com.mqtt.producer; + + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.ResponseBody; + +/** + * @Author: xiaofu + * @Description: + * @date 2020/6/8 18:26 + */ +@Controller +@RequestMapping("/fun") +public class IotMqttController { + + @Autowired + private IotMqttGateway mqttGateway; + + @RequestMapping("/sendMessage") + @ResponseBody + public String sendMqtt(@RequestParam(value = "topic") String topic, @RequestParam(value = "message") String message) { + mqttGateway.sendMessage2Mqtt(message, topic); + return "SUCCESS"; + } + + @RequestMapping("/index") + public String index() { + return "index"; + } +} diff --git a/springboot-mqtt-messagepush/src/main/java/com/mqtt/producer/IotMqttGateway.java b/springboot-mqtt-messagepush/src/main/java/com/mqtt/producer/IotMqttGateway.java new file mode 100644 index 00000000..906da84b --- /dev/null +++ b/springboot-mqtt-messagepush/src/main/java/com/mqtt/producer/IotMqttGateway.java @@ -0,0 +1,23 @@ +package com.mqtt.producer; + +import org.springframework.integration.annotation.MessagingGateway; +import org.springframework.integration.mqtt.support.MqttHeaders; +import org.springframework.messaging.handler.annotation.Header; + +/** + * @author xiaofu + * @description rabbitmq mqtt协议网关接口 + * @date 2020/6/8 18:26 + */ +@MessagingGateway(defaultRequestChannel = "iotMqttInputChannel") +public interface IotMqttGateway { + + void sendMessage2Mqtt(String data); + + void sendMessage2Mqtt(String data, @Header(MqttHeaders.TOPIC) String topic); + + void sendMessage2Mqtt(@Header(MqttHeaders.TOPIC) String topic, @Header(MqttHeaders.QOS) int qos, String payload); +} + + + diff --git a/springboot-mqtt-messagepush/src/main/resources/application.yml b/springboot-mqtt-messagepush/src/main/resources/application.yml new file mode 100644 index 00000000..0ece1752 --- /dev/null +++ b/springboot-mqtt-messagepush/src/main/resources/application.yml @@ -0,0 +1,7 @@ +iot: + mqtt: + clientId: client-1 + defaultTopic: push_message_topic + serverClientId: server-1 + servers: tcp://127.0.0.1:1883 + diff --git a/springboot-mqtt-messagepush/src/main/resources/static/css/push.css b/springboot-mqtt-messagepush/src/main/resources/static/css/push.css new file mode 100644 index 00000000..cfdacafc --- /dev/null +++ b/springboot-mqtt-messagepush/src/main/resources/static/css/push.css @@ -0,0 +1,27 @@ +.button { + background-color: #af84ab; + border: none; + color: white; + padding: 8px 20px; + text-align: center; + text-decoration: none; + display: inline-block; + font-size: 16px; + margin: 4px 2px; + cursor: pointer; +} + +.red-point { + position: relative; +} + +.red-point::before { + content: " "; + border: 3px solid red; /*设置红色*/ + border-radius: 3px; /*设置圆角*/ + position: absolute; + z-index: 1000; + right: 0%; + margin-right: -5px; + margin-top: -5px; +} \ No newline at end of file diff --git a/springboot-mqtt-messagepush/src/main/resources/static/css/style.css b/springboot-mqtt-messagepush/src/main/resources/static/css/style.css new file mode 100644 index 00000000..e608df9a --- /dev/null +++ b/springboot-mqtt-messagepush/src/main/resources/static/css/style.css @@ -0,0 +1,111 @@ + + +body{ + background: url('https://unsplash.imgix.net/44/9s1lvXLlSbCX5l3ZaYWP_hdr-1.jpg?q=75&fm=jpg&s=fd39ab9358b1aec7746ee67168ccf268') no-repeat center center fixed; + -webkit-background-size: cover; + -moz-background-size: cover; + -o-background-size: cover; + background-size: cover; + +} + + + +ul{ + margin: 2em auto; + width: 300px; + background: #34495e; + list-style: none; + padding: 0; + font-family: 'Open Sans', sans-serif; +} + +ul>li{ + color: #fff; + background: #34495e; + padding: 1em; + border-bottom: 0.5em solid #2c3e50; + margin-top: 0.25em; + border-left: 0.5em groove #e74c3c; + cursor: pointer; + transition: 0.4s all; +} + +i{ + padding-right: 0.5em; +} +.active{ + border-left: 0.5em groove #1abc9c; +} + +li:hover{ + background: #2c3e50; + border-left: 0.5em groove #3498db; +} + + +.unread{ + float: right; + background: #e74c3c; + width: 2em; + border-radius: 50%; + font-size: 0.75em; + line-height: 2; + text-align: center; + animation: notificationpulse 0.5s infinite; + -webkit-animation: notificationpulse 0.5s infinite; + -moz-animation: notificationpulse 0.5s infinite; +} +/*the animations */ +@keyframes notificationpulse { + 0% { + box-shadow: 0 0 0 0.00em #c0392b; + } + 25% { + box-shadow: 0 0 0 0.25em #c0392b; + } + 50% { + box-shadow: 0 0 0 0.50em #c0392b; + } + 75% { + box-shadow: 0 0 0 0.25em #c0392b; + } + 100% { + box-shadow: 0 0 0 0.15em #c0392b; + } +} +@-webkit-keyframes notificationpulse { + 0% { + box-shadow: 0 0 0 0.00em #c0392b; + } + 25% { + box-shadow: 0 0 0 0.25em #c0392b; + } + 50% { + box-shadow: 0 0 0 0.50em #c0392b; + } + 75% { + box-shadow: 0 0 0 0.25em #c0392b; + } + 100% { + box-shadow: 0 0 0 0.15em #c0392b; + } +} + +@-moz-keyframes notificationpulse { + 0% { + box-shadow: 0 0 0 0.00em #c0392b; + } + 25% { + box-shadow: 0 0 0 0.25em #c0392b; + } + 50% { + box-shadow: 0 0 0 0.50em #c0392b; + } + 75% { + box-shadow: 0 0 0 0.25em #c0392b; + } + 100% { + box-shadow: 0 0 0 0.15em #c0392b; + } +} diff --git a/springboot-mqtt-messagepush/src/main/resources/static/js/follow.js b/springboot-mqtt-messagepush/src/main/resources/static/js/follow.js new file mode 100644 index 00000000..33332098 --- /dev/null +++ b/springboot-mqtt-messagepush/src/main/resources/static/js/follow.js @@ -0,0 +1,7 @@ +/*document.writeln("
")*/ + + +/*document.writeln('
  
');*/ \ No newline at end of file diff --git a/springboot-mqtt-messagepush/src/main/resources/static/js/gg_bd_ad_720x90-2.js b/springboot-mqtt-messagepush/src/main/resources/static/js/gg_bd_ad_720x90-2.js new file mode 100644 index 00000000..894c033e --- /dev/null +++ b/springboot-mqtt-messagepush/src/main/resources/static/js/gg_bd_ad_720x90-2.js @@ -0,0 +1,18 @@ +document.write (''); + +document.writeln("
") +document.writeln(''); +document.writeln(''); +document.writeln(''); +document.writeln(''); +document.writeln("
"); + +document.write ('
'); +document.write ('
'); + +document.writeln(''); \ No newline at end of file diff --git a/springboot-mqtt-messagepush/src/main/resources/static/js/gg_bd_ad_720x90.js b/springboot-mqtt-messagepush/src/main/resources/static/js/gg_bd_ad_720x90.js new file mode 100644 index 00000000..e627d018 --- /dev/null +++ b/springboot-mqtt-messagepush/src/main/resources/static/js/gg_bd_ad_720x90.js @@ -0,0 +1,103 @@ +/*document.writeln('
'); +document.writeln(''); +document.writeln(''); +document.writeln(''); +document.writeln(''); +document.writeln(''); +document.writeln(''); +document.writeln('更多'); +document.writeln(''); +document.writeln('
'); +document.writeln(''); +document.writeln(''); +document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + new Date().getHours();*/ + + +//document.writeln("
"); +//document.writeln("
"); + +//document.writeln("
") +//document.writeln(''); +//document.writeln(''); +//document.writeln(''); +//document.writeln(''); +//document.writeln("
"); + +//document.writeln("
") +//document.writeln(''); +//document.writeln(''); +//document.writeln(''); +//document.writeln(''); +//document.writeln("
"); + +document.write (''); + +document.writeln("
") +document.writeln(''); +document.writeln(''); +document.writeln(''); +document.writeln(''); +document.writeln("
"); + +//document.writeln(''); +//document.writeln(""); + +//document.writeln("
") +//document.writeln(''); +//document.writeln(''); +//document.writeln(''); +//document.writeln(''); +//document.writeln("
"); + + + + + + +//document.writeln('
'); +//document.writeln('
'); + + +//document.writeln("

==如非特殊说明,素材均转载自网络,如侵犯了你的知识产权,请邮件联系:tx_itivy@163.com,我们会尽快处理!==

"); + + +document.write ('
'); +document.write ('
'); + +document.writeln(''); diff --git a/springboot-mqtt-messagepush/src/main/resources/static/js/index.js b/springboot-mqtt-messagepush/src/main/resources/static/js/index.js new file mode 100644 index 00000000..2f67fda8 --- /dev/null +++ b/springboot-mqtt-messagepush/src/main/resources/static/js/index.js @@ -0,0 +1,6 @@ +/* +About the web dev challenge: + +http://danicfilip.com/7-day-web-dev-challenge-codepen/ + +*/ \ No newline at end of file diff --git a/springboot-mqtt-messagepush/src/main/resources/static/vue.min.js b/springboot-mqtt-messagepush/src/main/resources/static/vue.min.js new file mode 100644 index 00000000..4d6dad39 --- /dev/null +++ b/springboot-mqtt-messagepush/src/main/resources/static/vue.min.js @@ -0,0 +1,8 @@ +/*! + * Vue.js v2.1.6 + * (c) 2014-2016 Evan You + * Released under the MIT License. + */ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Vue=t()}(this,function(){"use strict";function e(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function t(e){var t=parseFloat(e,10);return t||0===t?t:e}function n(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}function i(e,t){return Yr.call(e,t)}function a(e){return"string"==typeof e||"number"==typeof e}function o(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}function s(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function c(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function l(e,t){for(var n in t)e[n]=t[n];return e}function u(e){return null!==e&&"object"==typeof e}function f(e){return ri.call(e)===ii}function d(e){for(var t={},n=0;n=0&&Li[n].id>e.id;)n--;Li.splice(Math.max(n,Ri)+1,0,e)}else Li.push(e);Mi||(Mi=!0,_i(B))}}function V(e){Ui.clear(),J(e,Ui)}function J(e,t){var n,r,i=Array.isArray(e);if((i||u(e))&&Object.isExtensible(e)){if(e.__ob__){var a=e.__ob__.dep.id;if(t.has(a))return;t.add(a)}if(i)for(n=e.length;n--;)J(e[n],t);else for(r=Object.keys(e),n=r.length;n--;)J(e[r[n]],t)}}function K(e){e._watchers=[];var t=e.$options;t.props&&q(e,t.props),t.methods&&Y(e,t.methods),t.data?W(e):k(e._data={},!0),t.computed&&Z(e,t.computed),t.watch&&Q(e,t.watch)}function q(e,t){var n=e.$options.propsData||{},r=e.$options._propKeys=Object.keys(t),i=!e.$parent;Si.shouldConvert=i;for(var a=function(i){var a=r[i];A(e,a,R(a,t,n,e))},o=0;o1?c(n):n;for(var r=c(arguments,1),i=0,a=n.length;i-1:e.test(t)}function qe(e){var t={};t.get=function(){return si},Object.defineProperty(e,"config",t),e.util=Ni,e.set=O,e.delete=S,e.nextTick=_i,e.options=Object.create(null),si._assetTypes.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,l(e.options.components,Yi),Be(e),ze(e),Ve(e),Je(e)}function We(e){for(var t=e.data,n=e,r=e;r.child;)r=r.child._vnode,r.data&&(t=Ze(r.data,t));for(;n=n.parent;)n.data&&(t=Ze(t,n.data));return Ge(t)}function Ze(e,t){return{staticClass:Ye(e.staticClass,t.staticClass),class:e.class?[e.class,t.class]:t.class}}function Ge(e){var t=e.class,n=e.staticClass;return n||t?Ye(n,Qe(t)):""}function Ye(e,t){return e?t?e+" "+t:e:t||""}function Qe(e){var t="";if(!e)return t;if("string"==typeof e)return e;if(Array.isArray(e)){for(var n,r=0,i=e.length;r-1?pa[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:pa[e]=/HTMLUnknownElement/.test(t.toString())}function tt(e){if("string"==typeof e){if(e=document.querySelector(e),!e)return document.createElement("div")}return e}function nt(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&"multiple"in t.data.attrs&&n.setAttribute("multiple","multiple"),n)}function rt(e,t){return document.createElementNS(ca[e],t)}function it(e){return document.createTextNode(e)}function at(e){return document.createComment(e)}function ot(e,t,n){e.insertBefore(t,n)}function st(e,t){e.removeChild(t)}function ct(e,t){e.appendChild(t)}function lt(e){return e.parentNode}function ut(e){return e.nextSibling}function ft(e){return e.tagName}function dt(e,t){e.textContent=t}function pt(e,t,n){e.setAttribute(t,n)}function vt(e,t){var n=e.data.ref;if(n){var i=e.context,a=e.child||e.elm,o=i.$refs;t?Array.isArray(o[n])?r(o[n],a):o[n]===a&&(o[n]=void 0):e.data.refInFor?Array.isArray(o[n])&&o[n].indexOf(a)<0?o[n].push(a):o[n]=[a]:o[n]=a}}function ht(e){return null==e}function mt(e){return null!=e}function gt(e,t){return e.key===t.key&&e.tag===t.tag&&e.isComment===t.isComment&&!e.data==!t.data}function yt(e,t,n){var r,i,a={};for(r=t;r<=n;++r)i=e[r].key,mt(i)&&(a[i]=r);return a}function _t(e){function t(e){return new zi(O.tagName(e).toLowerCase(),{},[],void 0,e)}function r(e,t){function n(){0===--n.listeners&&i(e)}return n.listeners=t,n}function i(e){var t=O.parentNode(e);t&&O.removeChild(t,e)}function o(e,t,n,r,i){if(e.isRootInsert=!i,!s(e,t,n,r)){var a=e.data,o=e.children,c=e.tag;mt(c)?(e.elm=e.ns?O.createElementNS(e.ns,c):O.createElement(c,e),v(e),u(e,o,t),mt(a)&&d(e,t),l(n,e.elm,r)):e.isComment?(e.elm=O.createComment(e.text),l(n,e.elm,r)):(e.elm=O.createTextNode(e.text),l(n,e.elm,r))}}function s(e,t,n,r){var i=e.data;if(mt(i)){var a=mt(e.child)&&i.keepAlive;if(mt(i=i.hook)&&mt(i=i.init)&&i(e,!1,n,r),mt(e.child))return p(e,t),a&&c(e,t,n,r),!0}}function c(e,t,n,r){for(var i,a=e;a.child;)if(a=a.child._vnode,mt(i=a.data)&&mt(i=i.transition)){for(i=0;id?(l=ht(n[m+1])?null:n[m+1].elm,h(e,l,n,f,m,r)):f>m&&g(e,t,u,d)}function b(e,t,n,r){if(e!==t){if(t.isStatic&&e.isStatic&&t.key===e.key&&(t.isCloned||t.isOnce))return t.elm=e.elm,void(t.child=e.child);var i,a=t.data,o=mt(a);o&&mt(i=a.hook)&&mt(i=i.prepatch)&&i(e,t);var s=t.elm=e.elm,c=e.children,l=t.children;if(o&&f(t)){for(i=0;i-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+e.getAttribute("class")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function It(e,t){if(t&&t.trim())if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t);else{for(var n=" "+e.getAttribute("class")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");e.setAttribute("class",n.trim())}}function Ft(e){Fa(function(){Fa(e)})}function Ht(e,t){(e._transitionClasses||(e._transitionClasses=[])).push(t),Rt(e,t)}function Ut(e,t){e._transitionClasses&&r(e._transitionClasses,t),It(e,t)}function Bt(e,t,n){var r=zt(e,t),i=r.type,a=r.timeout,o=r.propCount;if(!i)return n();var s=i===La?Pa:Ia,c=0,l=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++c>=o&&l()};setTimeout(function(){c0&&(n=La,u=o,f=a.length):t===Da?l>0&&(n=Da,u=l,f=c.length):(u=Math.max(o,l),n=u>0?o>l?La:Da:null,f=n?n===La?a.length:c.length:0);var d=n===La&&Ha.test(r[Ma+"Property"]);return{type:n,timeout:u,propCount:f,hasTransform:d}}function Vt(e,t){for(;e.length1,T=n._enterCb=Zt(function(){O&&Ut(n,w),T.cancelled?(O&&Ut(n,$), +A&&A(n)):k&&k(n),n._enterCb=null});e.data.show||ae(e.data.hook||(e.data.hook={}),"insert",function(){var t=n.parentNode,r=t&&t._pending&&t._pending[e.key];r&&r.context===e.context&&r.tag===e.tag&&r.elm._leaveCb&&r.elm._leaveCb(),C&&C(n,T)},"transition-insert"),x&&x(n),O&&(Ht(n,$),Ht(n,w),Ft(function(){Ut(n,$),T.cancelled||S||Bt(n,a,T)})),e.data.show&&(t&&t(),C&&C(n,T)),O||S||T()}}}function qt(e,t){function n(){m.cancelled||(e.data.show||((r.parentNode._pending||(r.parentNode._pending={}))[e.key]=e),l&&l(r),v&&(Ht(r,s),Ht(r,c),Ft(function(){Ut(r,s),m.cancelled||h||Bt(r,o,m)})),u&&u(r,m),v||h||m())}var r=e.elm;r._enterCb&&(r._enterCb.cancelled=!0,r._enterCb());var i=Wt(e.data.transition);if(!i)return t();if(!r._leaveCb&&1===r.nodeType){var a=i.css,o=i.type,s=i.leaveClass,c=i.leaveActiveClass,l=i.beforeLeave,u=i.leave,f=i.afterLeave,d=i.leaveCancelled,p=i.delayLeave,v=a!==!1&&!pi,h=u&&(u._length||u.length)>1,m=r._leaveCb=Zt(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[e.key]=null),v&&Ut(r,c),m.cancelled?(v&&Ut(r,s),d&&d(r)):(t(),f&&f(r)),r._leaveCb=null});p?p(n):n()}}function Wt(e){if(e){if("object"==typeof e){var t={};return e.css!==!1&&l(t,Ua(e.name||"v")),l(t,e),t}return"string"==typeof e?Ua(e):void 0}}function Zt(e){var t=!1;return function(){t||(t=!0,e())}}function Gt(e,t){t.data.show||Kt(t)}function Yt(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var a,o,s=0,c=e.options.length;s-1,o.selected!==a&&(o.selected=a);else if(h(Xt(o),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function Qt(e,t){for(var n=0,r=t.length;n',n.innerHTML.indexOf(t)>0}function pn(e){return eo=eo||document.createElement("div"),eo.innerHTML=e,eo.textContent}function vn(e,t){return t&&(e=e.replace(Zo,"\n")),e.replace(qo,"<").replace(Wo,">").replace(Go,"&").replace(Yo,'"')}function hn(e,t){function n(t){f+=t,e=e.substring(t)}function r(){var t=e.match(fo);if(t){var r={tagName:t[1],attrs:[],start:f};n(t[0].length);for(var i,a;!(i=e.match(po))&&(a=e.match(co));)n(a[0].length),r.attrs.push(a);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=f,r}}function i(e){var n=e.tagName,r=e.unarySlash;l&&("p"===s&&io(n)&&a("",s),ro(n)&&s===n&&a("",n));for(var i=u(n)||"html"===n&&"head"===s||!!r,o=e.attrs.length,f=new Array(o),d=0;d=0&&c[a].tag.toLowerCase()!==o;a--);}else a=0;if(a>=0){for(var l=c.length-1;l>=a;l--)t.end&&t.end(c[l].tag,r,i);c.length=a,s=a&&c[a-1].tag}else"br"===n.toLowerCase()?t.start&&t.start(n,[],!0,r,i):"p"===n.toLowerCase()&&(t.start&&t.start(n,[],!1,r,i),t.end&&t.end(n,r,i))}for(var o,s,c=[],l=t.expectHTML,u=t.isUnaryTag||ai,f=0;e;){if(o=e,s&&Jo(s,t.sfc,c)){var d=s.toLowerCase(),p=Ko[d]||(Ko[d]=new RegExp("([\\s\\S]*?)(]*>)","i")),v=0,h=e.replace(p,function(e,n,r){return v=r.length,"script"!==d&&"style"!==d&&"noscript"!==d&&(n=n.replace(//g,"$1").replace(//g,"$1")),t.chars&&t.chars(n),""});f+=e.length-h.length,e=h,a("",d,f-v,f)}else{var m=e.indexOf("<");if(0===m){if(mo.test(e)){var g=e.indexOf("-->");if(g>=0){n(g+3);continue}}if(go.test(e)){var y=e.indexOf("]>");if(y>=0){n(y+2);continue}}var _=e.match(ho);if(_){n(_[0].length);continue}var b=e.match(vo);if(b){var $=f;n(b[0].length),a(b[0],b[1],$,f);continue}var w=r();if(w){i(w);continue}}var x=void 0,C=void 0,k=void 0;if(m>0){for(C=e.slice(m);!(vo.test(C)||fo.test(C)||mo.test(C)||go.test(C)||(k=C.indexOf("<",1),k<0));)m+=k,C=e.slice(m);x=e.substring(0,m),n(m)}m<0&&(x=e,e=""),t.chars&&x&&t.chars(x)}if(e===o&&t.chars){t.chars(e);break}}a()}function mn(e){function t(){(o||(o=[])).push(e.slice(v,i).trim()),v=i+1}var n,r,i,a,o,s=!1,c=!1,l=!1,u=!1,f=0,d=0,p=0,v=0;for(i=0;i=0&&(m=e.charAt(h)," "===m);h--);m&&/[\w$]/.test(m)||(u=!0)}}else void 0===a?(v=i+1,a=e.slice(0,i).trim()):t();if(void 0===a?a=e.slice(0,i).trim():0!==v&&t(),o)for(i=0;io&&a.push(JSON.stringify(e.slice(o,i)));var s=mn(r[1].trim());a.push("_s("+s+")"),o=i+r[0].length}return o=_o}function En(e){return 34===e||39===e}function jn(e){var t=1;for(xo=wo;!Tn();)if(e=Sn(),En(e))Nn(e);else if(91===e&&t++,93===e&&t--,0===t){Co=wo;break}}function Nn(e){for(var t=e;!Tn()&&(e=Sn(),e!==t););}function Ln(e,t){ko=t.warn||_n,Ao=t.getTagNamespace||ai,Oo=t.mustUseProp||ai,So=t.isPreTag||ai,To=bn(t.modules,"preTransformNode"),Eo=bn(t.modules,"transformNode"),jo=bn(t.modules,"postTransformNode"),No=t.delimiters;var n,r,i=[],a=t.preserveWhitespace!==!1,o=!1,s=!1;return hn(e,{expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,shouldDecodeNewlines:t.shouldDecodeNewlines,start:function(e,a,c){function l(e){}var u=r&&r.ns||Ao(e);di&&"svg"===u&&(a=Yn(a));var f={type:1,tag:e,attrsList:a,attrsMap:Wn(a),parent:r,children:[]};u&&(f.ns=u),Gn(f)&&!gi()&&(f.forbidden=!0);for(var d=0;d-1:_q("+t+","+a+")"),Cn(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+a+"):("+o+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$c){$$i<0&&("+t+"=$$a.concat($$v))}else{$$i>-1&&("+t+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+t+"=$$c}",null,!0)}function Ir(e,t,n){var r=n&&n.number,i=kn(e,"value")||"null";i=r?"_n("+i+")":i,$n(e,"checked","_q("+t+","+i+")"),Cn(e,"change",Ur(t,i),null,!0)}function Fr(e,t,n){var r=e.attrsMap.type,i=n||{},a=i.lazy,o=i.number,s=i.trim,c=a||di&&"range"===r?"change":"input",l=!a&&"range"!==r,u="input"===e.tag||"textarea"===e.tag,f=u?"$event.target.value"+(s?".trim()":""):s?"(typeof $event === 'string' ? $event.trim() : $event)":"$event";f=o||"number"===r?"_n("+f+")":f;var d=Ur(t,f);u&&l&&(d="if($event.target.composing)return;"+d),$n(e,"value",u?"_s("+t+")":"("+t+")"),Cn(e,c,d,null,!0),(s||o||"number"===r)&&Cn(e,"blur","$forceUpdate()")}function Hr(e,t,n){var r=n&&n.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).mapper(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})"+(null==e.attrsMap.multiple?"[0]":""),a=Ur(t,i);Cn(e,"change",a,null,!0)}function Ur(e,t){var n=On(e);return null===n.idx?e+"="+t:"var $$exp = "+n.exp+", $$idx = "+n.idx+";if (!Array.isArray($$exp)){"+e+"="+t+"}else{$$exp.splice($$idx, 1, "+t+")}"}function Br(e,t){t.value&&$n(e,"textContent","_s("+t.value+")")}function zr(e,t){t.value&&$n(e,"innerHTML","_s("+t.value+")")}function Vr(e,t){return t=t?l(l({},ws),t):ws,jr(e,t)}function Jr(e,t,n){var r=(t&&t.warn||$i,t&&t.delimiters?String(t.delimiters)+e:e);if($s[r])return $s[r];var i={},a=Vr(e,t);i.render=Kr(a.render);var o=a.staticRenderFns.length;i.staticRenderFns=new Array(o);for(var s=0;s0,vi=fi&&fi.indexOf("edge/")>0,hi=fi&&fi.indexOf("android")>0,mi=fi&&/iphone|ipad|ipod|ios/.test(fi),gi=function(){return void 0===Wr&&(Wr=!ui&&"undefined"!=typeof global&&"server"===global.process.env.VUE_ENV),Wr},yi=ui&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,_i=function(){function e(){r=!1;var e=n.slice(0);n.length=0;for(var t=0;t1&&(t[n[0].trim()]=n[1].trim())}}),t}),Aa=/^--/,Oa=/\s*!important$/,Sa=function(e,t,n){Aa.test(t)?e.style.setProperty(t,n):Oa.test(n)?e.style.setProperty(t,n.replace(Oa,""),"important"):e.style[Ea(t)]=n},Ta=["Webkit","Moz","ms"],Ea=o(function(e){if(Xi=Xi||document.createElement("div"),e=Xr(e),"filter"!==e&&e in Xi.style)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n\/=]+)/,oo=/(?:=)/,so=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],co=new RegExp("^\\s*"+ao.source+"(?:\\s*("+oo.source+")\\s*(?:"+so.join("|")+"))?"),lo="[a-zA-Z_][\\w\\-\\.]*",uo="((?:"+lo+"\\:)?"+lo+")",fo=new RegExp("^<"+uo),po=/^\s*(\/?)>/,vo=new RegExp("^<\\/"+uo+"[^>]*>"),ho=/^]+>/i,mo=/^ + + + + + + + + \ No newline at end of file From 18ceabf7c53e1d9450fef40031c949c7a6fcb4b1 Mon Sep 17 00:00:00 2001 From: xin <515361725@qq.com> Date: Tue, 8 Sep 2020 14:16:51 +0800 Subject: [PATCH 23/35] springboot-rabbitmq-mqtt- --- .../mqtt/config/IotMqttSubscriberConfig.java | 142 +++++++++--------- .../src/main/resources/templates/index.html | 6 +- 2 files changed, 75 insertions(+), 73 deletions(-) diff --git a/springboot-mqtt-messagepush/src/main/java/com/mqtt/config/IotMqttSubscriberConfig.java b/springboot-mqtt-messagepush/src/main/java/com/mqtt/config/IotMqttSubscriberConfig.java index b66ba024..2411573b 100644 --- a/springboot-mqtt-messagepush/src/main/java/com/mqtt/config/IotMqttSubscriberConfig.java +++ b/springboot-mqtt-messagepush/src/main/java/com/mqtt/config/IotMqttSubscriberConfig.java @@ -1,71 +1,71 @@ -package com.mqtt.config; - -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; -import org.springframework.integration.annotation.ServiceActivator; -import org.springframework.integration.channel.DirectChannel; -import org.springframework.integration.core.MessageProducer; -import org.springframework.integration.mqtt.core.DefaultMqttPahoClientFactory; -import org.springframework.integration.mqtt.core.MqttPahoClientFactory; -import org.springframework.integration.mqtt.inbound.MqttPahoMessageDrivenChannelAdapter; -import org.springframework.integration.mqtt.support.DefaultPahoMessageConverter; -import org.springframework.messaging.MessageChannel; -import org.springframework.messaging.MessageHandler; -import org.springframework.messaging.MessagingException; - -/** - * @Author: xiaofu - * @Description: 消息订阅配置 - * @date 2020/6/8 18:24 - */ -@Configuration -public class IotMqttSubscriberConfig { - - @Autowired - private MqttConfig mqttConfig; - - @Bean - public MqttPahoClientFactory mqttClientFactory() { - DefaultMqttPahoClientFactory factory = new DefaultMqttPahoClientFactory(); - factory.setServerURIs(mqttConfig.getServers()); - return factory; - } - - @Bean - public MessageChannel iotMqttInputChannel() { - return new DirectChannel(); - } - - @Bean - public MessageProducer inbound() { - MqttPahoMessageDrivenChannelAdapter adapter = new MqttPahoMessageDrivenChannelAdapter(mqttConfig.getClientId(), mqttClientFactory(), mqttConfig.getDefaultTopic()); - adapter.setCompletionTimeout(5000); - adapter.setConverter(new DefaultPahoMessageConverter()); - adapter.setQos(2); - adapter.setOutputChannel(iotMqttInputChannel()); - return adapter; - } - - /** - * @author xiaofu - * @description 消息订阅 - * @date 2020/6/8 18:20 - */ - @Bean - @ServiceActivator(inputChannel = "iotMqttInputChannel") - public MessageHandler handlerTest() { - - return message -> { - try { - String string = message.getPayload().toString(); - System.out.println("接收到消息:" + string); - } catch (MessagingException ex) { - //logger.info(ex.getMessage()); - } - }; - - } -} - - +//package com.mqtt.config; +// +//import org.springframework.beans.factory.annotation.Autowired; +//import org.springframework.context.annotation.Bean; +//import org.springframework.context.annotation.Configuration; +//import org.springframework.integration.annotation.ServiceActivator; +//import org.springframework.integration.channel.DirectChannel; +//import org.springframework.integration.core.MessageProducer; +//import org.springframework.integration.mqtt.core.DefaultMqttPahoClientFactory; +//import org.springframework.integration.mqtt.core.MqttPahoClientFactory; +//import org.springframework.integration.mqtt.inbound.MqttPahoMessageDrivenChannelAdapter; +//import org.springframework.integration.mqtt.support.DefaultPahoMessageConverter; +//import org.springframework.messaging.MessageChannel; +//import org.springframework.messaging.MessageHandler; +//import org.springframework.messaging.MessagingException; +// +///** +// * @Author: xiaofu +// * @Description: 消息订阅配置 +// * @date 2020/6/8 18:24 +// */ +//@Configuration +//public class IotMqttSubscriberConfig { +// +// @Autowired +// private MqttConfig mqttConfig; +// +// @Bean +// public MqttPahoClientFactory mqttClientFactory() { +// DefaultMqttPahoClientFactory factory = new DefaultMqttPahoClientFactory(); +// factory.setServerURIs(mqttConfig.getServers()); +// return factory; +// } +// +// @Bean +// public MessageChannel iotMqttInputChannel() { +// return new DirectChannel(); +// } +// +// @Bean +// public MessageProducer inbound() { +// MqttPahoMessageDrivenChannelAdapter adapter = new MqttPahoMessageDrivenChannelAdapter(mqttConfig.getClientId(), mqttClientFactory(), mqttConfig.getDefaultTopic()); +// adapter.setCompletionTimeout(5000); +// adapter.setConverter(new DefaultPahoMessageConverter()); +// adapter.setQos(2); +// adapter.setOutputChannel(iotMqttInputChannel()); +// return adapter; +// } +// +// /** +// * @author xiaofu +// * @description 消息订阅 +// * @date 2020/6/8 18:20 +// */ +// @Bean +// @ServiceActivator(inputChannel = "iotMqttInputChannel") +// public MessageHandler handlerTest() { +// +// return message -> { +// try { +// String string = message.getPayload().toString(); +// System.out.println("接收到消息:" + string); +// } catch (MessagingException ex) { +// //logger.info(ex.getMessage()); +// } +// }; +// +// } +//} +// +// diff --git a/springboot-mqtt-messagepush/src/main/resources/templates/index.html b/springboot-mqtt-messagepush/src/main/resources/templates/index.html index fef03911..0443ab1c 100644 --- a/springboot-mqtt-messagepush/src/main/resources/templates/index.html +++ b/springboot-mqtt-messagepush/src/main/resources/templates/index.html @@ -49,8 +49,10 @@ // 接收消息事件 client.onMessageArrived = function (message) { console.log("接受主题: " + message.destinationName + "的消息: " + message.payloadString); - console.log((message.payloadString)); $("#arrivedDiv").append("
"+message.payloadString); + var count = $("#count").text(); + count = Number(count) + 1; + $("#count").text(count); }; // 推送给指定主题 @@ -79,7 +81,7 @@
    -
  • 未读消息 999+
  • +
  • 未读消息 0
  • From 56c6405b35140921e8ebb74ec632bb0d9a984ee2 Mon Sep 17 00:00:00 2001 From: xin <515361725@qq.com> Date: Tue, 8 Sep 2020 14:35:44 +0800 Subject: [PATCH 24/35] =?UTF-8?q?=E4=BF=AE=E6=94=B9rabbitmq=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application.yml | 5 +++-- .../src/main/resources/templates/index.html | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/springboot-mqtt-messagepush/src/main/resources/application.yml b/springboot-mqtt-messagepush/src/main/resources/application.yml index 0ece1752..1003b77f 100644 --- a/springboot-mqtt-messagepush/src/main/resources/application.yml +++ b/springboot-mqtt-messagepush/src/main/resources/application.yml @@ -3,5 +3,6 @@ iot: clientId: client-1 defaultTopic: push_message_topic serverClientId: server-1 - servers: tcp://127.0.0.1:1883 - + servers: tcp://47.93.6.5:1883 +server: + port: 7777 diff --git a/springboot-mqtt-messagepush/src/main/resources/templates/index.html b/springboot-mqtt-messagepush/src/main/resources/templates/index.html index 0443ab1c..9a6b0988 100644 --- a/springboot-mqtt-messagepush/src/main/resources/templates/index.html +++ b/springboot-mqtt-messagepush/src/main/resources/templates/index.html @@ -14,7 +14,8 @@