Merge pull request #1 from Tencent/main

feat:update examples
pull/17/head
andrew shan 3 years ago committed by GitHub
commit 342dcdc1ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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