Add baseUrl to Feign Client resource

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
This commit is contained in:
SirWayne
2016-04-22 15:18:17 +02:00
parent a615317ba4
commit 5882c0444b

View File

@@ -93,7 +93,7 @@ public class MgmtDefaultFeignClient {
public MgmtSoftwareModuleClientResource getMgmtSoftwareModuleClientResource() { public MgmtSoftwareModuleClientResource getMgmtSoftwareModuleClientResource() {
if (mgmtSoftwareModuleClientResource == null) { if (mgmtSoftwareModuleClientResource == null) {
mgmtSoftwareModuleClientResource = feignBuilder.target(MgmtSoftwareModuleClientResource.class, mgmtSoftwareModuleClientResource = feignBuilder.target(MgmtSoftwareModuleClientResource.class,
MgmtSoftwareModuleClientResource.PATH); this.baseUrl + MgmtSoftwareModuleClientResource.PATH);
} }
return mgmtSoftwareModuleClientResource; return mgmtSoftwareModuleClientResource;
} }