renamed sleuth projects
This commit is contained in:
@@ -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'
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -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;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user