@FeignClient(name="direct-config-service",
url="${direct.config.service.url}",
configuration=org.nhindirect.common.rest.feign.DefaultFeignClientConfiguration.class)
public interface AnchorClient
| Modifier and Type | Method and Description |
|---|---|
void |
addAnchor(org.nhindirect.config.model.Anchor anchor) |
Collection<org.nhindirect.config.model.Anchor> |
getAnchorForOwner(boolean incoming,
boolean outgoing,
String thumbprint,
String owner) |
Collection<org.nhindirect.config.model.Anchor> |
getAnchors() |
void |
removeAnchorsByIds(String ids) |
void |
removeAnchorsByOwner(String owner) |
@GetMapping(value="/anchor/{owner}")
Collection<org.nhindirect.config.model.Anchor> getAnchorForOwner(@RequestParam(name="incoming",defaultValue="false")
boolean incoming,
@RequestParam(name="outgoing",defaultValue="false")
boolean outgoing,
@RequestParam(name="thumbprint",defaultValue="")
String thumbprint,
@PathVariable(value="owner")
String owner)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@GetMapping(value="/anchor") Collection<org.nhindirect.config.model.Anchor> getAnchors() throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@PutMapping(value="/anchor",
consumes="application/json")
void addAnchor(@RequestBody
org.nhindirect.config.model.Anchor anchor)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@DeleteMapping(value="/anchor/ids/{ids}")
void removeAnchorsByIds(@PathVariable(value="ids")
String ids)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@DeleteMapping(value="/anchor/{owner}")
void removeAnchorsByOwner(@PathVariable(value="owner")
String owner)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceExceptionCopyright © 2021. All rights reserved.