@FeignClient(name="direct-config-service",
url="${direct.config.service.url}",
configuration=org.nhindirect.common.rest.feign.DefaultFeignClientConfiguration.class)
public interface TrustBundleClient
| Modifier and Type | Method and Description |
|---|---|
void |
addTrustBundle(org.nhindirect.config.model.TrustBundle bundle) |
void |
associateTrustBundleToDomain(String bundleName,
String domainName,
boolean incoming,
boolean outgoing) |
void |
deleteBundle(String bundleName) |
void |
disassociateTrustBundleFromDomain(String bundleName,
String domainName) |
void |
disassociateTrustBundleFromDomains(String bundleName) |
void |
disassociateTrustBundlesFromDomain(String domainName) |
Collection<org.nhindirect.config.model.TrustBundleDomainReltn> |
getAllTrustBundleDomainRelts(boolean fetchAnchors) |
org.nhindirect.config.model.TrustBundle |
getTrustBundleByName(String bundleName) |
Collection<org.nhindirect.config.model.TrustBundle> |
getTrustBundles(boolean fetchAnchors) |
Collection<org.nhindirect.config.model.TrustBundleDomainReltn> |
getTrustBundlesByDomain(String domainName,
boolean fetchAnchors) |
void |
refreshTrustBundle(String bundleName) |
void |
updateBundleAttributes(String bundleName,
org.nhindirect.config.model.TrustBundle bundleData) |
void |
updateSigningCert(String bundleName,
byte[] certData) |
@GetMapping(value="/trustbundle") Collection<org.nhindirect.config.model.TrustBundle> getTrustBundles(@RequestParam(name="fetchAnchors",defaultValue="true") boolean fetchAnchors) throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@GetMapping(value="/trustbundle/domains/{domainName}")
Collection<org.nhindirect.config.model.TrustBundleDomainReltn> getTrustBundlesByDomain(@PathVariable(value="domainName")
String domainName,
@RequestParam(name="fetchAnchors",defaultValue="true")
boolean fetchAnchors)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@GetMapping(value="/trustbundle/domains/bundles/reltns") Collection<org.nhindirect.config.model.TrustBundleDomainReltn> getAllTrustBundleDomainRelts(@RequestParam(name="fetchAnchors",defaultValue="true") boolean fetchAnchors) throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@GetMapping(value="/trustbundle/{bundleName}")
org.nhindirect.config.model.TrustBundle getTrustBundleByName(@PathVariable(value="bundleName")
String bundleName)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@PutMapping(value="/trustbundle",
consumes="application/json")
void addTrustBundle(@RequestBody
org.nhindirect.config.model.TrustBundle bundle)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@PostMapping(value="/trustbundle/{bundle}/refreshBundle")
void refreshTrustBundle(@PathVariable(value="bundle")
String bundleName)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@DeleteMapping(value="/trustbundle/{bundle}")
void deleteBundle(@PathVariable(value="bundle")
String bundleName)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@PostMapping(value="/trustbundle/{bundle}/signingCert",
consumes="application/json")
void updateSigningCert(@PathVariable(value="bundle")
String bundleName,
@RequestBody(required=false)
byte[] certData)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@PostMapping(value="/trustbundle/{bundle}/bundleAttributes",
consumes="application/json")
void updateBundleAttributes(@PathVariable(value="bundle")
String bundleName,
@RequestBody
org.nhindirect.config.model.TrustBundle bundleData)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@PostMapping(value="/trustbundle/{bundle}/{domain}")
void associateTrustBundleToDomain(@PathVariable(value="bundle")
String bundleName,
@PathVariable(value="domain")
String domainName,
@RequestParam(name="incoming",defaultValue="true")
boolean incoming,
@RequestParam(name="outgoing",defaultValue="true")
boolean outgoing)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@DeleteMapping(value="/trustbundle/{bundle}/{domain}")
void disassociateTrustBundleFromDomain(@PathVariable(value="bundle")
String bundleName,
@PathVariable(value="domain")
String domainName)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@DeleteMapping(value="/trustbundle/{domain}/deleteFromDomain")
void disassociateTrustBundlesFromDomain(@PathVariable(value="domain")
String domainName)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@DeleteMapping(value="/trustbundle/{bundle}/deleteFromBundle")
void disassociateTrustBundleFromDomains(@PathVariable(value="bundle")
String bundleName)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceExceptionCopyright © 2021. All rights reserved.