ES操作测试通过

This commit is contained in:
2018-06-22 19:34:56 +08:00
commit 8a59fcaf8d
31 changed files with 1092 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
#开发环境配置文件
server:
servlet:
context-path: /fileupload
port: 8080
serverproperties:
portNum: 8080
filePath: F:\JAVA Workspace\Temp\
spring:
thymeleaf:
prefix: classpath:/templates/
cache: false
check-template: true
servlet:
multipart:
max-file-size: 100Mb
max-request-size: 100Mb
datasource:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://localhost:3306/db_sysdemo1?useUnicode=true&characterEncoding=utf-8&useSSL=true
username: trs
password: fileupload
jpa:
hibernate:
ddl-auto: update
show-sql: true
data:
elasticsearch:
cluster-name: Fjiayang
cluster-nodes: 127.0.0.1:9300
#resources:
# static-locations: classpath:/templates/
debug: true

View File

@@ -0,0 +1,3 @@
spring:
profiles:
active: dev