parent
bdf0ce7e0b
commit
b580a25efd
@ -1,4 +1,7 @@
|
||||
/target/
|
||||
/.classpath
|
||||
/.project
|
||||
/.settings
|
||||
/.settings
|
||||
/conf/
|
||||
/conf2/
|
||||
/bruno/
|
||||
|
||||
@ -1,9 +0,0 @@
|
||||
{
|
||||
"version": "1",
|
||||
"name": "camel-springboot-xml-example",
|
||||
"type": "collection",
|
||||
"ignore": [
|
||||
"node_modules",
|
||||
".git"
|
||||
]
|
||||
}
|
||||
@ -1,8 +0,0 @@
|
||||
auth {
|
||||
mode: basic
|
||||
}
|
||||
|
||||
auth:basic {
|
||||
username:
|
||||
password:
|
||||
}
|
||||
@ -1,20 +0,0 @@
|
||||
meta {
|
||||
name: findSession
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://localhost:8761/services/api/session/a3518555-5a96-42a6-a5ec-958c4963a65e
|
||||
body: none
|
||||
auth: basic
|
||||
}
|
||||
|
||||
headers {
|
||||
operationName: findUsers
|
||||
}
|
||||
|
||||
auth:basic {
|
||||
username: cxfrs
|
||||
password: password
|
||||
}
|
||||
@ -1,20 +0,0 @@
|
||||
meta {
|
||||
name: findSessions
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://localhost:8761/services/api/session
|
||||
body: none
|
||||
auth: basic
|
||||
}
|
||||
|
||||
headers {
|
||||
operationName: findUsers
|
||||
}
|
||||
|
||||
auth:basic {
|
||||
username: cxfrs
|
||||
password: password
|
||||
}
|
||||
@ -1,20 +0,0 @@
|
||||
meta {
|
||||
name: login
|
||||
type: http
|
||||
seq: 5
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://localhost:8761/services/api/login/a3518555-5a96-42a6-a5ec-958c4963a65e
|
||||
body: none
|
||||
auth: basic
|
||||
}
|
||||
|
||||
headers {
|
||||
operationName: findUsers
|
||||
}
|
||||
|
||||
auth:basic {
|
||||
username: cxfrs
|
||||
password: password
|
||||
}
|
||||
@ -1,33 +0,0 @@
|
||||
meta {
|
||||
name: updateSession
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://localhost:8761/services/api/session
|
||||
body: json
|
||||
auth: basic
|
||||
}
|
||||
|
||||
headers {
|
||||
Content-Type: application/json
|
||||
X-MethodName: updateUser
|
||||
}
|
||||
|
||||
auth:basic {
|
||||
username: cxfrs
|
||||
password: password
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"sessionId": "{{uuid}}",
|
||||
"username": "admin1",
|
||||
"password": "password1"
|
||||
}
|
||||
}
|
||||
|
||||
script:pre-request {
|
||||
bru.setVar('uuid', require("uuid").v4());
|
||||
}
|
||||
@ -1,26 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<configuration scan="true">
|
||||
<appender name="STDOUT"
|
||||
class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder>
|
||||
<pattern>%-5level %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %logger{36} - %msg%n</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
<appender name="FILE"
|
||||
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<file>logs/server.log</file>
|
||||
<rollingPolicy
|
||||
class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
||||
<fileNamePattern>logs/server.%d{yyyy-MM-dd}.log.gz</fileNamePattern>
|
||||
<maxHistory>3</maxHistory>
|
||||
<totalSizeCap>300MB</totalSizeCap>
|
||||
</rollingPolicy>
|
||||
<encoder>
|
||||
<pattern>%-5level %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %logger{36} - %msg%n</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
<logger name="com.example.sbcamel" level="DEBUG" />
|
||||
<root level="INFO">
|
||||
<appender-ref ref="STDOUT" />
|
||||
</root>
|
||||
</configuration>
|
||||
@ -1,37 +0,0 @@
|
||||
server:
|
||||
port: 8761
|
||||
|
||||
camel:
|
||||
springboot:
|
||||
main-run-controller: true
|
||||
|
||||
spring:
|
||||
application:
|
||||
name: eureka-server
|
||||
activemq:
|
||||
broker-url: "tcp://localhost:61616"
|
||||
ldap:
|
||||
urls: ldap://localhost:10389
|
||||
base: dc=example,dc=com
|
||||
username: uid=admin,ou=system
|
||||
password: secret
|
||||
|
||||
app:
|
||||
queue-name: "SessionServiceQueue"
|
||||
database:
|
||||
url: "jdbc:h2:tcp://localhost/~/h2/db/appdb"
|
||||
username: "app"
|
||||
password: "app"
|
||||
mapper-package: "com.example.sbcamel.mapper"
|
||||
htmlunit:
|
||||
login-url: ""
|
||||
login-btn-selector: ""
|
||||
home-page-selector: ""
|
||||
logout-btn-selector: ""
|
||||
|
||||
eureka:
|
||||
client:
|
||||
service-url:
|
||||
defaultZone: http://cxfrs:password@localhost:8761/eureka/,http://cxfrs:password@localhost:8762/eureka/
|
||||
register-with-eureka: false
|
||||
fetch-registry: false
|
||||
@ -1,26 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<configuration scan="true">
|
||||
<appender name="STDOUT"
|
||||
class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder>
|
||||
<pattern>%-5level %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %logger{36} - %msg%n</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
<appender name="FILE"
|
||||
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<file>logs/server.log</file>
|
||||
<rollingPolicy
|
||||
class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
||||
<fileNamePattern>logs/server.%d{yyyy-MM-dd}.log.gz</fileNamePattern>
|
||||
<maxHistory>3</maxHistory>
|
||||
<totalSizeCap>300MB</totalSizeCap>
|
||||
</rollingPolicy>
|
||||
<encoder>
|
||||
<pattern>%-5level %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %logger{36} - %msg%n</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
<logger name="com.example.sbcamel" level="DEBUG" />
|
||||
<root level="INFO">
|
||||
<appender-ref ref="STDOUT" />
|
||||
</root>
|
||||
</configuration>
|
||||
@ -1,37 +0,0 @@
|
||||
server:
|
||||
port: 8762
|
||||
|
||||
camel:
|
||||
springboot:
|
||||
main-run-controller: true
|
||||
|
||||
spring:
|
||||
application:
|
||||
name: eureka-server
|
||||
activemq:
|
||||
broker-url: "tcp://localhost:61616"
|
||||
ldap:
|
||||
urls: ldap://localhost:10389
|
||||
base: dc=example,dc=com
|
||||
username: uid=admin,ou=system
|
||||
password: secret
|
||||
|
||||
app:
|
||||
queue-name: "SessionServiceQueue"
|
||||
database:
|
||||
url: "jdbc:h2:tcp://localhost/~/h2/db/appdb"
|
||||
username: "app"
|
||||
password: "app"
|
||||
mapper-package: "com.example.sbcamel.mapper"
|
||||
htmlunit:
|
||||
login-url: ""
|
||||
login-btn-selector: ""
|
||||
home-page-selector: ""
|
||||
logout-btn-selector: ""
|
||||
|
||||
eureka:
|
||||
client:
|
||||
service-url:
|
||||
defaultZone: http://cxfrs:password@localhost:8761/eureka/,http://cxfrs:password@localhost:8762/eureka/
|
||||
register-with-eureka: false
|
||||
fetch-registry: false
|
||||
Loading…
Reference in new issue