feat:update examples

pull/15/head
SkyeBeFreeman 3 years ago
parent d6d663f07e
commit 3fcfbbb820

@ -24,7 +24,7 @@ import org.springframework.web.bind.annotation.RequestParam;
/**
* @author Haotian Zhang
*/
@FeignClient("DiscoveryCalleeService")
@FeignClient(value = "DiscoveryCalleeService", fallback = DiscoveryCalleeServiceCallback.class)
public interface DiscoveryCalleeService {
/**

@ -6,6 +6,12 @@
"defaultValue": "${spring.application.name}",
"description": "the service name to register, default value is ${spring.application.name}."
},
{
"name": "spring.cloud.polaris.discovery.namespace",
"type": "java.lang.String",
"defaultValue": "default",
"description": "the namespace of service, default value is ${spring.application.name}."
},
{
"name": "spring.cloud.polaris.discovery.enabled",
"type": "java.lang.Boolean",

Loading…
Cancel
Save