@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
<component name="SonarLintModuleSettings">
|
||||
<option name="uniqueId" value="fc6edd0f-e7ea-408a-bb1f-a18ef2b9c9f2" />
|
||||
</component>
|
||||
</module>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.15.2">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/2.15.2/jackson-dataformat-yaml-2.15.2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/2.15.2/jackson-dataformat-yaml-2.15.2-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/2.15.2/jackson-dataformat-yaml-2.15.2-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: com.google.code.findbugs:jsr305:3.0.2">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: com.google.code.gson:gson:2.10.1">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/com/google/code/gson/gson/2.10.1/gson-2.10.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/com/google/code/gson/gson/2.10.1/gson-2.10.1-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/com/google/code/gson/gson/2.10.1/gson-2.10.1-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: com.google.errorprone:error_prone_annotations:2.3.4">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/com/google/errorprone/error_prone_annotations/2.3.4/error_prone_annotations-2.3.4.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/com/google/errorprone/error_prone_annotations/2.3.4/error_prone_annotations-2.3.4-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/com/google/errorprone/error_prone_annotations/2.3.4/error_prone_annotations-2.3.4-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: com.google.guava:failureaccess:1.0.1">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: com.google.guava:guava:29.0-jre">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/com/google/guava/guava/29.0-jre/guava-29.0-jre.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/com/google/guava/guava/29.0-jre/guava-29.0-jre-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/com/google/guava/guava/29.0-jre/guava-29.0-jre-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: com.google.j2objc:j2objc-annotations:1.3">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/com/google/j2objc/j2objc-annotations/1.3/j2objc-annotations-1.3.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/com/google/j2objc/j2objc-annotations/1.3/j2objc-annotations-1.3-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/com/google/j2objc/j2objc-annotations/1.3/j2objc-annotations-1.3-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: io.lettuce:lettuce-core:6.2.5.RELEASE">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/lettuce/lettuce-core/6.2.5.RELEASE/lettuce-core-6.2.5.RELEASE.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/lettuce/lettuce-core/6.2.5.RELEASE/lettuce-core-6.2.5.RELEASE-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/lettuce/lettuce-core/6.2.5.RELEASE/lettuce-core-6.2.5.RELEASE-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: io.netty:netty-buffer:4.1.94.Final">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-buffer/4.1.94.Final/netty-buffer-4.1.94.Final.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-buffer/4.1.94.Final/netty-buffer-4.1.94.Final-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-buffer/4.1.94.Final/netty-buffer-4.1.94.Final-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: io.netty:netty-codec:4.1.94.Final">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-codec/4.1.94.Final/netty-codec-4.1.94.Final.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-codec/4.1.94.Final/netty-codec-4.1.94.Final-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-codec/4.1.94.Final/netty-codec-4.1.94.Final-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: io.netty:netty-codec-dns:4.1.94.Final">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-codec-dns/4.1.94.Final/netty-codec-dns-4.1.94.Final.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-codec-dns/4.1.94.Final/netty-codec-dns-4.1.94.Final-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-codec-dns/4.1.94.Final/netty-codec-dns-4.1.94.Final-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: io.netty:netty-common:4.1.94.Final">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-common/4.1.94.Final/netty-common-4.1.94.Final.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-common/4.1.94.Final/netty-common-4.1.94.Final-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-common/4.1.94.Final/netty-common-4.1.94.Final-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: io.netty:netty-handler:4.1.94.Final">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-handler/4.1.94.Final/netty-handler-4.1.94.Final.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-handler/4.1.94.Final/netty-handler-4.1.94.Final-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-handler/4.1.94.Final/netty-handler-4.1.94.Final-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: io.netty:netty-resolver:4.1.94.Final">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-resolver/4.1.94.Final/netty-resolver-4.1.94.Final.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-resolver/4.1.94.Final/netty-resolver-4.1.94.Final-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-resolver/4.1.94.Final/netty-resolver-4.1.94.Final-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: io.netty:netty-resolver-dns:4.1.94.Final">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-resolver-dns/4.1.94.Final/netty-resolver-dns-4.1.94.Final.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-resolver-dns/4.1.94.Final/netty-resolver-dns-4.1.94.Final-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-resolver-dns/4.1.94.Final/netty-resolver-dns-4.1.94.Final-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: io.netty:netty-transport:4.1.94.Final">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-transport/4.1.94.Final/netty-transport-4.1.94.Final.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-transport/4.1.94.Final/netty-transport-4.1.94.Final-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-transport/4.1.94.Final/netty-transport-4.1.94.Final-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: io.netty:netty-transport-native-unix-common:4.1.94.Final">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-transport-native-unix-common/4.1.94.Final/netty-transport-native-unix-common-4.1.94.Final.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-transport-native-unix-common/4.1.94.Final/netty-transport-native-unix-common-4.1.94.Final-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-transport-native-unix-common/4.1.94.Final/netty-transport-native-unix-common-4.1.94.Final-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: io.projectreactor:reactor-core:3.5.8">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/projectreactor/reactor-core/3.5.8/reactor-core-3.5.8.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/projectreactor/reactor-core/3.5.8/reactor-core-3.5.8-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/projectreactor/reactor-core/3.5.8/reactor-core-3.5.8-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: io.reactivex.rxjava3:rxjava:3.1.6">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/reactivex/rxjava3/rxjava/3.1.6/rxjava-3.1.6.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/reactivex/rxjava3/rxjava/3.1.6/rxjava-3.1.6-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/reactivex/rxjava3/rxjava/3.1.6/rxjava-3.1.6-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: javax.cache:cache-api:1.1.1">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/javax/cache/cache-api/1.1.1/cache-api-1.1.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/javax/cache/cache-api/1.1.1/cache-api-1.1.1-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/javax/cache/cache-api/1.1.1/cache-api-1.1.1-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.apache.commons:commons-pool2:2.11.1">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/apache/commons/commons-pool2/2.11.1/commons-pool2-2.11.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/apache/commons/commons-pool2/2.11.1/commons-pool2-2.11.1-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/apache/commons/commons-pool2/2.11.1/commons-pool2-2.11.1-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.aspectj:aspectjweaver:1.9.19">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/aspectj/aspectjweaver/1.9.19/aspectjweaver-1.9.19.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/aspectj/aspectjweaver/1.9.19/aspectjweaver-1.9.19-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/aspectj/aspectjweaver/1.9.19/aspectjweaver-1.9.19-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.checkerframework:checker-qual:2.11.1">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/checkerframework/checker-qual/2.11.1/checker-qual-2.11.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/checkerframework/checker-qual/2.11.1/checker-qual-2.11.1-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/checkerframework/checker-qual/2.11.1/checker-qual-2.11.1-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.jboss.marshalling:jboss-marshalling:2.0.10.Final">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/jboss/marshalling/jboss-marshalling/2.0.10.Final/jboss-marshalling-2.0.10.Final.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/jboss/marshalling/jboss-marshalling/2.0.10.Final/jboss-marshalling-2.0.10.Final-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/jboss/marshalling/jboss-marshalling/2.0.10.Final/jboss-marshalling-2.0.10.Final-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.jboss.marshalling:jboss-marshalling-river:2.0.10.Final">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/jboss/marshalling/jboss-marshalling-river/2.0.10.Final/jboss-marshalling-river-2.0.10.Final.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/jboss/marshalling/jboss-marshalling-river/2.0.10.Final/jboss-marshalling-river-2.0.10.Final-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/jboss/marshalling/jboss-marshalling-river/2.0.10.Final/jboss-marshalling-river-2.0.10.Final-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.jodd:jodd-bean:5.1.6">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/jodd/jodd-bean/5.1.6/jodd-bean-5.1.6.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/jodd/jodd-bean/5.1.6/jodd-bean-5.1.6-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/jodd/jodd-bean/5.1.6/jodd-bean-5.1.6-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.jodd:jodd-core:5.1.6">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/jodd/jodd-core/5.1.6/jodd-core-5.1.6.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/jodd/jodd-core/5.1.6/jodd-core-5.1.6-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/jodd/jodd-core/5.1.6/jodd-core-5.1.6-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.json:json:20220320">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/json/json/20220320/json-20220320.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/json/json/20220320/json-20220320-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/json/json/20220320/json-20220320-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.reactivestreams:reactive-streams:1.0.4">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/reactivestreams/reactive-streams/1.0.4/reactive-streams-1.0.4.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/reactivestreams/reactive-streams/1.0.4/reactive-streams-1.0.4-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/reactivestreams/reactive-streams/1.0.4/reactive-streams-1.0.4-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.redisson:redisson:3.14.1">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/redisson/redisson/3.14.1/redisson-3.14.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/redisson/redisson/3.14.1/redisson-3.14.1-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/redisson/redisson/3.14.1/redisson-3.14.1-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.springframework.boot:spring-boot-configuration-processor:3.1.2">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/boot/spring-boot-configuration-processor/3.1.2/spring-boot-configuration-processor-3.1.2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/boot/spring-boot-configuration-processor/3.1.2/spring-boot-configuration-processor-3.1.2-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/boot/spring-boot-configuration-processor/3.1.2/spring-boot-configuration-processor-3.1.2-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.springframework.boot:spring-boot-starter-aop:3.1.2">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/boot/spring-boot-starter-aop/3.1.2/spring-boot-starter-aop-3.1.2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/boot/spring-boot-starter-aop/3.1.2/spring-boot-starter-aop-3.1.2-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/boot/spring-boot-starter-aop/3.1.2/spring-boot-starter-aop-3.1.2-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.springframework.boot:spring-boot-starter-cache:3.1.2">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/boot/spring-boot-starter-cache/3.1.2/spring-boot-starter-cache-3.1.2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/boot/spring-boot-starter-cache/3.1.2/spring-boot-starter-cache-3.1.2-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/boot/spring-boot-starter-cache/3.1.2/spring-boot-starter-cache-3.1.2-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.springframework.boot:spring-boot-starter-data-redis:3.1.2">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/boot/spring-boot-starter-data-redis/3.1.2/spring-boot-starter-data-redis-3.1.2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/boot/spring-boot-starter-data-redis/3.1.2/spring-boot-starter-data-redis-3.1.2-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/boot/spring-boot-starter-data-redis/3.1.2/spring-boot-starter-data-redis-3.1.2-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.springframework.boot:spring-boot-starter-redis:1.4.7.RELEASE">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/boot/spring-boot-starter-redis/1.4.7.RELEASE/spring-boot-starter-redis-1.4.7.RELEASE.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/boot/spring-boot-starter-redis/1.4.7.RELEASE/spring-boot-starter-redis-1.4.7.RELEASE-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/boot/spring-boot-starter-redis/1.4.7.RELEASE/spring-boot-starter-redis-1.4.7.RELEASE-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.springframework.data:spring-data-commons:3.1.2">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/data/spring-data-commons/3.1.2/spring-data-commons-3.1.2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/data/spring-data-commons/3.1.2/spring-data-commons-3.1.2-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/data/spring-data-commons/3.1.2/spring-data-commons-3.1.2-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.springframework.data:spring-data-keyvalue:3.1.2">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/data/spring-data-keyvalue/3.1.2/spring-data-keyvalue-3.1.2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/data/spring-data-keyvalue/3.1.2/spring-data-keyvalue-3.1.2-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/data/spring-data-keyvalue/3.1.2/spring-data-keyvalue-3.1.2-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.springframework.data:spring-data-redis:3.1.2">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/data/spring-data-redis/3.1.2/spring-data-redis-3.1.2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/data/spring-data-redis/3.1.2/spring-data-redis-3.1.2-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/data/spring-data-redis/3.1.2/spring-data-redis-3.1.2-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.springframework:spring-context-support:6.0.11">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/spring-context-support/6.0.11/spring-context-support-6.0.11.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/spring-context-support/6.0.11/spring-context-support-6.0.11-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/spring-context-support/6.0.11/spring-context-support-6.0.11-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.springframework:spring-oxm:6.0.11">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/spring-oxm/6.0.11/spring-oxm-6.0.11.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/spring-oxm/6.0.11/spring-oxm-6.0.11-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/spring-oxm/6.0.11/spring-oxm-6.0.11-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: redis.clients:jedis:4.3.2">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/redis/clients/jedis/4.3.2/jedis-4.3.2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/redis/clients/jedis/4.3.2/jedis-4.3.2-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/redis/clients/jedis/4.3.2/jedis-4.3.2-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,16 @@
|
||||
package com.xht.springboot.Config;
|
||||
|
||||
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.web.servlet.config.annotation.CorsRegistry;
|
||||
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
||||
|
||||
@Configuration
|
||||
public class CrossOriginConfig implements WebMvcConfigurer {
|
||||
@Override
|
||||
public void addCorsMappings(CorsRegistry registry) {
|
||||
registry.addMapping("/**")
|
||||
.allowedOrigins("*")
|
||||
.allowedMethods("*");
|
||||
}
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
package com.xht.springboot.Config;
|
||||
|
||||
|
||||
import com.xht.springboot.Interceptor.LoginInterceptor;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
|
||||
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
||||
|
||||
@Configuration
|
||||
public class InterceptorConfig implements WebMvcConfigurer {
|
||||
@Autowired
|
||||
private LoginInterceptor loginInterceptor;
|
||||
|
||||
@Override
|
||||
public void addInterceptors(InterceptorRegistry registry) {
|
||||
registry
|
||||
.addInterceptor(loginInterceptor)
|
||||
.addPathPatterns("/**")
|
||||
.excludePathPatterns("/user/login");
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
package com.xht.springboot.Config;
|
||||
|
||||
|
||||
import org.springframework.boot.autoconfigure.cache.CacheProperties;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.data.redis.cache.RedisCacheConfiguration;
|
||||
import org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory;
|
||||
import org.springframework.data.redis.core.RedisTemplate;
|
||||
import org.springframework.data.redis.serializer.*;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
@Configuration
|
||||
public class RedisConfig {
|
||||
|
||||
@Bean
|
||||
public RedisCacheConfiguration redisCacheConfiguration(){
|
||||
RedisCacheConfiguration config = RedisCacheConfiguration.defaultCacheConfig();
|
||||
config = config.serializeKeysWith(RedisSerializationContext.SerializationPair.fromSerializer(new StringRedisSerializer()));
|
||||
config = config.serializeValuesWith(RedisSerializationContext.SerializationPair.fromSerializer(new GenericJackson2JsonRedisSerializer()));
|
||||
|
||||
return config;
|
||||
}
|
||||
|
||||
@Bean
|
||||
public RedisTemplate redisTemplate(LettuceConnectionFactory lettuceConnectionFactory){
|
||||
RedisTemplate redisTemplate = new RedisTemplate();
|
||||
redisTemplate.setConnectionFactory(lettuceConnectionFactory);
|
||||
|
||||
redisTemplate.setKeySerializer(RedisSerializer.string());
|
||||
redisTemplate.setValueSerializer(RedisSerializer.json());
|
||||
redisTemplate.setHashKeySerializer(RedisSerializer.string());
|
||||
redisTemplate.setHashValueSerializer(RedisSerializer.json());
|
||||
|
||||
redisTemplate.afterPropertiesSet();
|
||||
return redisTemplate;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
package com.xht.springboot.Config;
|
||||
|
||||
import org.redisson.Redisson;
|
||||
import org.redisson.api.RedissonClient;
|
||||
import org.redisson.config.Config;
|
||||
import org.redisson.config.SingleServerConfig;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
@Configuration
|
||||
public class RedissionConfig {
|
||||
/*@Value("#{spring.data.redis.host}")
|
||||
String address;
|
||||
@Value("#{spring.data.redis.port}")
|
||||
String port;
|
||||
@Value("#{spring.data.redis.password}")
|
||||
String pwd;*/
|
||||
@Bean
|
||||
public RedissonClient redissonClient(){
|
||||
Config config = new Config();
|
||||
|
||||
SingleServerConfig singleServerConfig = config.useSingleServer();
|
||||
singleServerConfig.setAddress("redis://192.168.225.128:6390")
|
||||
.setPassword("molong")
|
||||
.setDatabase(0);
|
||||
|
||||
RedissonClient redissonClient = Redisson.create(config);
|
||||
return redissonClient;
|
||||
}
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
package com.xht.springboot.Control;
|
||||
|
||||
import com.xht.springboot.Service.CancerDetectService;
|
||||
import com.xht.springboot.Tip.RequestResult;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.ResponseBody;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
||||
@Controller
|
||||
@RequestMapping("/picture")
|
||||
public class CancerDetectController {
|
||||
@Autowired
|
||||
CancerDetectService cancerDetectService;
|
||||
|
||||
@PostMapping("/upload")
|
||||
@ResponseBody
|
||||
public RequestResult upload(MultipartFile cancerPicture) throws IOException {
|
||||
RequestResult requestResult = new RequestResult();
|
||||
if(cancerPicture.isEmpty()){
|
||||
requestResult.status = RequestResult.FAIL;
|
||||
}else{
|
||||
if(cancerDetectService.upload(cancerPicture))
|
||||
{
|
||||
requestResult.status = RequestResult.OK;
|
||||
}else{
|
||||
requestResult.status = RequestResult.FAIL;
|
||||
}
|
||||
}
|
||||
return requestResult;
|
||||
}
|
||||
|
||||
@RequestMapping("/")
|
||||
public String s1(){
|
||||
return "test";
|
||||
}
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
package com.xht.springboot.Control;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
|
||||
@Controller
|
||||
public class GetSpiderInformation
|
||||
{
|
||||
@RequestMapping("/index")
|
||||
public String pagespider()
|
||||
{
|
||||
return "index";
|
||||
}
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
package com.xht.springboot.Control;
|
||||
|
||||
|
||||
import com.xht.springboot.Entity.CancerInformation;
|
||||
import com.xht.springboot.Entity.CancerInformationProcessed;
|
||||
import com.xht.springboot.Service.InformationQueryService;
|
||||
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;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Controller
|
||||
@RequestMapping("/information")
|
||||
public class InformationQueryController {
|
||||
@Autowired
|
||||
InformationQueryService informationQueryService;
|
||||
|
||||
@RequestMapping("/cancer")
|
||||
@ResponseBody
|
||||
public List<CancerInformationProcessed> getCancerInformation(String token){
|
||||
return informationQueryService.queryCancerInformation(token);
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package com.xht.springboot.Dao;
|
||||
|
||||
|
||||
import com.xht.springboot.Entity.CancerInformation;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Mapper
|
||||
public interface InformationQueryMapper {
|
||||
public List<CancerInformation> queryCancerInformation(String token);
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
package com.xht.springboot.Entity;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.ToString;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
@Data
|
||||
@ToString
|
||||
public class CancerInformation {
|
||||
private int id;
|
||||
private String name;
|
||||
private String impact;
|
||||
private String summary;
|
||||
private String symptom;
|
||||
private String factor;
|
||||
private String judge;
|
||||
private String heal;
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
package com.xht.springboot.Entity;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.ToString;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
@Data
|
||||
@ToString
|
||||
public class CancerInformationProcessed {
|
||||
private int id;
|
||||
private String name;
|
||||
private String[] impact;
|
||||
private String[] summary;
|
||||
private String[] symptom;
|
||||
private String[] factor;
|
||||
private String[] judge;
|
||||
private String[] heal;
|
||||
private String totalStr;
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
package com.xht.springboot.Service;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStreamReader;
|
||||
|
||||
|
||||
@Service
|
||||
public class CancerDetectService {
|
||||
@Value("${upload.dir}")
|
||||
String dir;
|
||||
|
||||
public boolean upload(MultipartFile cancerPicture) throws IOException {
|
||||
File fileDir = new File("springboot/src/main/resources/"+dir);
|
||||
if(!fileDir.exists()){
|
||||
fileDir.mkdirs();
|
||||
}
|
||||
|
||||
String originalFilename = cancerPicture.getOriginalFilename();
|
||||
if(cancerPicture.isEmpty())
|
||||
return false;
|
||||
else{
|
||||
System.out.println(fileDir.getAbsolutePath());
|
||||
cancerPicture.transferTo(new File(fileDir.getAbsolutePath() + "/" + originalFilename));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,69 @@
|
||||
package com.xht.springboot.Service;
|
||||
|
||||
|
||||
import com.xht.springboot.Dao.InformationQueryMapper;
|
||||
import com.xht.springboot.Entity.CancerInformation;
|
||||
import com.xht.springboot.Entity.CancerInformationProcessed;
|
||||
import com.xht.springboot.Utils.FuncInterFaces.QueryFunctionForDB;
|
||||
import com.xht.springboot.Utils.RedisAndDbOpsUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
public class InformationQueryService {
|
||||
@Autowired
|
||||
InformationQueryMapper informationQueryMapper;
|
||||
@Autowired
|
||||
RedisAndDbOpsUtils redisAndDbOpsUtils;
|
||||
String cancerInformationCacheName = "cancerInformationByToken::";
|
||||
String cancerInformationLockName = "cancerInformationByTokenLock";
|
||||
|
||||
|
||||
public List<CancerInformationProcessed> queryCancerInformation(String token){
|
||||
QueryFunctionForDB<List<CancerInformation>> queryFunctionForDB = new QueryFunctionForDB<List<CancerInformation>>() {
|
||||
@Override
|
||||
public List<CancerInformation> queryForDB(String token) {
|
||||
List<CancerInformation> results = informationQueryMapper.queryCancerInformation(token);
|
||||
if(results.size()==0)
|
||||
return null;
|
||||
else
|
||||
return results;
|
||||
}
|
||||
};
|
||||
|
||||
List<CancerInformation> results = redisAndDbOpsUtils.queryNoFilter(cancerInformationCacheName, token, cancerInformationLockName, queryFunctionForDB, token);
|
||||
List<CancerInformationProcessed> res = new ArrayList<>();
|
||||
StringBuilder totalStr = new StringBuilder();
|
||||
|
||||
for(int i=0;i<results.size();i++){
|
||||
CancerInformation cancerInformation = results.get(i);
|
||||
CancerInformationProcessed cancerInformationProcessed = new CancerInformationProcessed();
|
||||
|
||||
cancerInformationProcessed.setId(cancerInformation.getId());
|
||||
cancerInformationProcessed.setName(cancerInformation.getName());
|
||||
|
||||
totalStr.append(cancerInformation.getImpact());
|
||||
totalStr.append(cancerInformation.getSummary());
|
||||
totalStr.append(cancerInformation.getSymptom());
|
||||
totalStr.append(cancerInformation.getFactor());
|
||||
totalStr.append(cancerInformation.getJudge());
|
||||
totalStr.append(cancerInformation.getHeal());
|
||||
cancerInformationProcessed.setTotalStr(totalStr.toString());
|
||||
|
||||
cancerInformationProcessed.setImpact(cancerInformation.getImpact().split("\\$"));
|
||||
cancerInformationProcessed.setSummary(cancerInformation.getSummary().split("\\$"));
|
||||
cancerInformationProcessed.setSymptom(cancerInformation.getSymptom().split("\\$"));
|
||||
cancerInformationProcessed.setFactor(cancerInformation.getFactor().split("\\$"));
|
||||
cancerInformationProcessed.setJudge(cancerInformation.getJudge().split("\\$"));
|
||||
cancerInformationProcessed.setHeal(cancerInformation.getHeal().split("\\$"));
|
||||
|
||||
res.add(cancerInformationProcessed);
|
||||
totalStr.setLength(0);
|
||||
}
|
||||
|
||||
return res;
|
||||
}
|
||||
}
|
@ -0,0 +1,75 @@
|
||||
package com.xht.springboot.Service;
|
||||
|
||||
|
||||
import com.xht.springboot.Dao.LoginAndRegisterMapper;
|
||||
import com.xht.springboot.Entity.UserLogin;
|
||||
import com.xht.springboot.Tip.RequestResult;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.data.redis.core.RedisTemplate;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
@Service
|
||||
public class LoginAndRegisterService {
|
||||
@Autowired
|
||||
LoginAndRegisterMapper loginAndRegisterMapper;
|
||||
@Autowired
|
||||
RequestResult requestResult;
|
||||
@Autowired
|
||||
RedisTemplate redisTemplate;
|
||||
|
||||
public RequestResult findIsRepeat(UserLogin userLogin){
|
||||
List<UserLogin> result = loginAndRegisterMapper.findIsRepeat(userLogin);
|
||||
RequestResult requestResult = new RequestResult();
|
||||
|
||||
if(result.size()==0){
|
||||
requestResult.status = RequestResult.OK;
|
||||
requestResult.message = RequestResult.USER_NOT_REPEAT;
|
||||
}else{
|
||||
requestResult.status = RequestResult.FAIL;
|
||||
requestResult.message = RequestResult.USER_REPEAT;
|
||||
}
|
||||
|
||||
return requestResult;
|
||||
}
|
||||
|
||||
public RequestResult register(UserLogin userLogin){
|
||||
if(loginAndRegisterMapper.register(userLogin) >= 1){
|
||||
requestResult.status = RequestResult.OK;
|
||||
requestResult.message = RequestResult.USER_REGISTER_SUCCESS;
|
||||
}else {
|
||||
requestResult.status = RequestResult.FAIL;
|
||||
requestResult.message = RequestResult.USER_REGISTER_FAILED;
|
||||
}
|
||||
|
||||
return requestResult;
|
||||
}
|
||||
|
||||
public RequestResult login(UserLogin userLogin){
|
||||
UserLogin result = loginAndRegisterMapper.find(userLogin);
|
||||
RequestResult requestResult = new RequestResult();
|
||||
|
||||
if(result==null){
|
||||
requestResult.status = RequestResult.FAIL;
|
||||
requestResult.message = RequestResult.USER_LOGIN_FAILED;
|
||||
}
|
||||
else{
|
||||
String token = UUID.randomUUID().toString();//登录成功返回token
|
||||
|
||||
redisTemplate.opsForValue().set(token,"user_token",30, TimeUnit.MINUTES);//存入用户token
|
||||
|
||||
requestResult.status = RequestResult.OK;
|
||||
requestResult.message = RequestResult.USER_LOGIN_SUCCESS;
|
||||
requestResult.data = token;
|
||||
}
|
||||
|
||||
return requestResult;
|
||||
}
|
||||
|
||||
public UserLogin getPwd(UserLogin userLogin){
|
||||
return loginAndRegisterMapper.find(userLogin);
|
||||
}
|
||||
}
|
@ -1,16 +1,29 @@
|
||||
package com.xht.springboot;
|
||||
|
||||
import com.xht.springboot.pythonspider.PythonSpider;
|
||||
import com.xht.springboot.Utils.BloomFilterUtils;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.cache.annotation.EnableCaching;
|
||||
import org.springframework.context.ConfigurableApplicationContext;
|
||||
import org.springframework.data.redis.core.RedisTemplate;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Set;
|
||||
|
||||
@SpringBootApplication
|
||||
@EnableCaching
|
||||
public class SpringbootApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(SpringbootApplication.class, args);
|
||||
ConfigurableApplicationContext applicationContext = SpringApplication.run(SpringbootApplication.class, args);
|
||||
|
||||
BloomFilterUtils bloomFilterUtils = applicationContext.getBean(BloomFilterUtils.class);
|
||||
RedisTemplate redisTemplate = (RedisTemplate) applicationContext.getBean("redisTemplate");
|
||||
Set<String> keys = redisTemplate.keys("*");
|
||||
System.out.println("BloomFilter: insert data");
|
||||
for(String key : keys){
|
||||
bloomFilterUtils.putIntoBloomFilter(key);
|
||||
System.out.println(key);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,22 @@
|
||||
package com.xht.springboot.Utils;
|
||||
|
||||
import com.google.common.hash.BloomFilter;
|
||||
import com.google.common.hash.Funnels;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.nio.charset.StandardCharsets;
|
||||
|
||||
@Component
|
||||
public class BloomFilterUtils {
|
||||
private int bloomFilterSize = 10000;
|
||||
private double fpp = 0.3;
|
||||
private BloomFilter<String> bloomFilter = BloomFilter.create(Funnels.stringFunnel(StandardCharsets.UTF_8),bloomFilterSize,fpp);
|
||||
|
||||
public boolean putIntoBloomFilter(String key){
|
||||
return bloomFilter.put(key);
|
||||
}
|
||||
|
||||
public boolean queryKey(String key){
|
||||
return bloomFilter.mightContain(key);
|
||||
}
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
package com.xht.springboot.Utils.FuncInterFaces;
|
||||
|
||||
public interface DeleteFunctionForDB <T>{
|
||||
public boolean deleteForDB(T data);
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
package com.xht.springboot.Utils.FuncInterFaces;
|
||||
|
||||
public interface InsertFunctionForDB <T>{
|
||||
public boolean insertForDB(T data);
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue