@FeignClient(name="direct-config-service",
url="${direct.config.service.url}",
configuration=org.nhindirect.common.rest.feign.DefaultFeignClientConfiguration.class)
public interface CertificatePolicyClient
| Modifier and Type | Method and Description |
|---|---|
void |
addPolicy(org.nhindirect.config.model.CertPolicy policy) |
void |
addPolicyGroup(org.nhindirect.config.model.CertPolicyGroup group) |
void |
addPolicyUseToGroup(String groupName,
org.nhindirect.config.model.CertPolicyGroupUse use) |
void |
associatePolicyGroupToDomain(String groupName,
String domainName) |
void |
disassociatePolicyGroupFromDomain(String groupName,
String domainName) |
void |
disassociatePolicyGroupFromDomains(String groupName) |
void |
disassociatePolicyGroupsFromDomain(String domainName) |
Collection<org.nhindirect.config.model.CertPolicy> |
getPolicies() |
org.nhindirect.config.model.CertPolicy |
getPolicyByName(String policyName) |
org.nhindirect.config.model.CertPolicyGroup |
getPolicyGroupByName(String groupName) |
Collection<org.nhindirect.config.model.CertPolicyGroupDomainReltn> |
getPolicyGroupDomainReltns() |
Collection<org.nhindirect.config.model.CertPolicyGroup> |
getPolicyGroups() |
Collection<org.nhindirect.config.model.CertPolicyGroup> |
getPolicyGroupsByDomain(String domainName) |
void |
removedPolicyUseFromGroup(String groupName,
org.nhindirect.config.model.CertPolicyGroupUse use) |
void |
removePolicyByName(String policyName) |
void |
removePolicyGroupByName(String groupName) |
void |
updateGroupAttributes(String groupName,
String newGroupName) |
void |
updatePolicyAttributes(String policyName,
org.nhindirect.config.model.CertPolicy policyData) |
@GetMapping(value="/certpolicy") Collection<org.nhindirect.config.model.CertPolicy> getPolicies() throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@GetMapping(value="/certpolicy/{policyName}")
org.nhindirect.config.model.CertPolicy getPolicyByName(@PathVariable(value="policyName")
String policyName)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@PutMapping(value="/certpolicy")
void addPolicy(@RequestBody
org.nhindirect.config.model.CertPolicy policy)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@DeleteMapping(value="/certpolicy/{policyName}")
void removePolicyByName(@PathVariable(value="policyName")
String policyName)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@PostMapping(value="/certpolicy/{policyName}/policyAttributes",
consumes="application/json")
void updatePolicyAttributes(@PathVariable(value="policyName")
String policyName,
@RequestBody
org.nhindirect.config.model.CertPolicy policyData)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@GetMapping(value="/certpolicy/groups") Collection<org.nhindirect.config.model.CertPolicyGroup> getPolicyGroups() throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@GetMapping(value="/certpolicy/groups/{groupName}")
org.nhindirect.config.model.CertPolicyGroup getPolicyGroupByName(@PathVariable(value="groupName")
String groupName)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@PutMapping(value="/certpolicy/groups",
consumes="application/json")
void addPolicyGroup(@RequestBody
org.nhindirect.config.model.CertPolicyGroup group)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@DeleteMapping(value="/certpolicy/groups/{groupName}")
void removePolicyGroupByName(@PathVariable(value="groupName")
String groupName)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@PostMapping(value="/certpolicy/groups/{groupName}/groupAttributes",
consumes="application/json")
void updateGroupAttributes(@PathVariable(value="groupName")
String groupName,
@RequestBody
String newGroupName)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@PostMapping(value="/certpolicy/groups/uses/{group}",
consumes="application/json")
void addPolicyUseToGroup(@PathVariable(value="group")
String groupName,
@RequestBody
org.nhindirect.config.model.CertPolicyGroupUse use)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@PostMapping(value="/certpolicy/groups/uses/{group}/removePolicy",
consumes="application/json")
void removedPolicyUseFromGroup(@PathVariable(value="group")
String groupName,
@RequestBody
org.nhindirect.config.model.CertPolicyGroupUse use)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@GetMapping(value="/certpolicy/groups/domain") Collection<org.nhindirect.config.model.CertPolicyGroupDomainReltn> getPolicyGroupDomainReltns() throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@GetMapping(value="/certpolicy/groups/domain/{domain}")
Collection<org.nhindirect.config.model.CertPolicyGroup> getPolicyGroupsByDomain(@PathVariable(value="domain")
String domainName)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@PostMapping(value="/certpolicy/groups/domain/{group}/{domain}")
void associatePolicyGroupToDomain(@PathVariable(value="group")
String groupName,
@PathVariable(value="domain")
String domainName)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@DeleteMapping(value="/certpolicy/groups/domain/{group}/{domain}")
void disassociatePolicyGroupFromDomain(@PathVariable(value="group")
String groupName,
@PathVariable(value="domain")
String domainName)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@DeleteMapping(value="/certpolicy/groups/domain/{domain}/deleteFromDomain")
void disassociatePolicyGroupsFromDomain(@PathVariable(value="domain")
String domainName)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceException@DeleteMapping(value="/certpolicy/groups/domain/{group}/deleteFromGroup")
void disassociatePolicyGroupFromDomains(@PathVariable(value="group")
String groupName)
throws org.nhindirect.common.rest.exceptions.ServiceException
org.nhindirect.common.rest.exceptions.ServiceExceptionCopyright © 2021. All rights reserved.