From 184d1673917408a3a1db3f093ddaefb287b13964 Mon Sep 17 00:00:00 2001
From: buildmaster
Date: Fri, 28 Sep 2018 14:48:54 +0000
Subject: [PATCH] Sync docs from master to gh-pages
---
multi/multi__using_the_pluggable_architecture.html | 9 +++++----
single/spring-cloud-contract.html | 9 +++++----
spring-cloud-contract.xml | 9 +++++----
3 files changed, 15 insertions(+), 12 deletions(-)
diff --git a/multi/multi__using_the_pluggable_architecture.html b/multi/multi__using_the_pluggable_architecture.html
index d67d70cfe4..0170bf27bd 100644
--- a/multi/multi__using_the_pluggable_architecture.html
+++ b/multi/multi__using_the_pluggable_architecture.html
@@ -314,11 +314,12 @@ HTTP Stub server implementation, which might resemble the following example:
import com.github.dreamhead.moco.bootstrap.arg.HttpArgs
import com.github.dreamhead.moco.runner.JsonRunner
import com.github.dreamhead.moco.runner.RunnerSetting
-import groovy.util.logging.Slf4j
+import groovy.util.logging.Commons
+
import org.springframework.cloud.contract.stubrunner.HttpServerStub
import org.springframework.util.SocketUtils
-@Slf4j
+@Commons
class MocoHttpServerStub implements HttpServerStub {
private boolean started
@@ -362,11 +363,11 @@ HTTP Stub server implementation, which might resemble the following example:
HttpServerStub registerMappings(Collection<File> stubFiles) {
List<RunnerSetting> settings = stubFiles.findAll { it.name.endsWith("json") }
.collect {
- log.info("Trying to parse [{}]", it.name)
+ log.info("Trying to parse [${it.name}]")
try {
return RunnerSetting.aRunnerSetting().withStream(it.newInputStream()).build()
} catch (Exception e) {
- log.warn("Exception occurred while trying to parse file [{}]", it.name, e)
+ log.warn("Exception occurred while trying to parse file [${it.name}]", e)
return null
}
}.findAll { it }
diff --git a/single/spring-cloud-contract.html b/single/spring-cloud-contract.html
index 0c596660d0..86cc6711b8 100644
--- a/single/spring-cloud-contract.html
+++ b/single/spring-cloud-contract.html
@@ -5897,11 +5897,12 @@ HTTP Stub server implementation, which might resemble the following example:
import com.github.dreamhead.moco.bootstrap.arg.HttpArgs
import com.github.dreamhead.moco.runner.JsonRunner
import com.github.dreamhead.moco.runner.RunnerSetting
-import groovy.util.logging.Slf4j
+import groovy.util.logging.Commons
+
import org.springframework.cloud.contract.stubrunner.HttpServerStub
import org.springframework.util.SocketUtils
-@Slf4j
+@Commons
class MocoHttpServerStub implements HttpServerStub {
private boolean started
@@ -5945,11 +5946,11 @@ HTTP Stub server implementation, which might resemble the following example:
HttpServerStub registerMappings(Collection<File> stubFiles) {
List<RunnerSetting> settings = stubFiles.findAll { it.name.endsWith("json") }
.collect {
- log.info("Trying to parse [{}]", it.name)
+ log.info("Trying to parse [${it.name}]")
try {
return RunnerSetting.aRunnerSetting().withStream(it.newInputStream()).build()
} catch (Exception e) {
- log.warn("Exception occurred while trying to parse file [{}]", it.name, e)
+ log.warn("Exception occurred while trying to parse file [${it.name}]", e)
return null
}
}.findAll { it }
diff --git a/spring-cloud-contract.xml b/spring-cloud-contract.xml
index c6f54e577e..df9c82941c 100644
--- a/spring-cloud-contract.xml
+++ b/spring-cloud-contract.xml
@@ -9252,11 +9252,12 @@ HTTP Stub server implementation, which might resemble the following example: