@FeignClient(name="direct-config-service",
url="${direct.config.service.url}",
configuration=org.nhindirect.common.rest.feign.DefaultFeignClientConfiguration.class)
public interface DomainClient
| Modifier and Type | Method and Description |
|---|---|
void |
addDomain(org.nhindirect.config.model.Domain domain) |
org.nhindirect.config.model.Domain |
getDomain(String domain) |
void |
removedDomain(String domain) |
Collection<org.nhindirect.config.model.Domain> |
searchDomains(String domainName,
String entityStatus) |
void |
updateDomain(org.nhindirect.config.model.Domain domain) |
@GetMapping(value="/domain/{domain}")
org.nhindirect.config.model.Domain getDomain(@PathVariable(value="domain")
String domain)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@GetMapping(value="/domain") Collection<org.nhindirect.config.model.Domain> searchDomains(@RequestParam(name="domainName",defaultValue="") String domainName, @RequestParam(name="entityStatus",defaultValue="") String entityStatus) throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@PutMapping(value="/domain")
void addDomain(@RequestBody
org.nhindirect.config.model.Domain domain)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@PostMapping(value="/domain",
consumes="application/json")
void updateDomain(@RequestBody
org.nhindirect.config.model.Domain domain)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@DeleteMapping(value="/domain/{domain}")
void removedDomain(@PathVariable(value="domain")
String domain)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceExceptionCopyright © 2021. All rights reserved.