Commit 67017efd by xieshaohua

远程服务调用value参数配置

parent 3a1e8965
......@@ -10,7 +10,7 @@ import org.springframework.web.bind.annotation.RequestParam;
import com.keymobile.tagmanager.model.authService.Org;
@FeignClient(name = "tagAuthService", url = "${service.url.metadata}")
@FeignClient(value = "tagAuthService", name = "tagAuthService", url = "${service.url.auth}")
public interface AuthServiceClient {
@GetMapping(value = "/orgs/{orgId}")
public Org getOrgs(@PathVariable("orgId") Long orgId);
......
......@@ -12,7 +12,7 @@ import org.springframework.web.bind.annotation.RequestParam;
import com.keymobile.tagmanager.exception.TagException;
@FeignClient(name = "tagMetadataRepo", url = "${service.url.auth}")
@FeignClient(value = "tagMetadataRepo", name = "tagMetadataRepo", url = "${service.url.metadata}")
public interface RepoServiceClient {
@PostMapping(value = "/rest/tag/getByTag")
public Map<String,Object> getTagMetadata(@RequestParam String dimensionType,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment