renamed sleuth projects

This commit is contained in:
Tom Hombergs
2017-09-02 11:54:28 +02:00
parent b52c75bc3b
commit 67a895eada
33 changed files with 65 additions and 2 deletions

View File

@@ -5,6 +5,6 @@ include 'spring-data-rest-springfox'
// pact-feign-consumer must run before pact-spring-data-rest-provider because it creates a shared pact file // pact-feign-consumer must run before pact-spring-data-rest-provider because it creates a shared pact file
include 'pact-feign-consumer' include 'pact-feign-consumer'
include 'pact-spring-data-rest-provider' include 'pact-spring-data-rest-provider'
include 'sleuth-primary-service' include 'sleuth-downstream-service'
include 'sleuth-secondary-service' include 'sleuth-upstream-service'

View File

@@ -0,0 +1,15 @@
package com.example.demo;
import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration
public class FeignConfiguration {
@Bean
public Logger.Level logLevel(){
return Logger.Level.FULL;
}
}

View File

@@ -0,0 +1,24 @@
package com.example.demo;
public class Address {
private long id;
private String street;
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
public String getStreet() {
return street;
}
public void setStreet(String street) {
this.street = street;
}
}

View File

@@ -0,0 +1,24 @@
package com.example.demo;
public class Customer {
private long id;
private String name;
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}