Interface HvlAuthzProxyRestService
- All Known Implementing Classes:
HvlAuthzProxyRestController
@Validated
@HvlPublicFeignRestService
@FeignClient(name="proxyRestService",
path="${hvl.oauth.authz.service.proxy.path:/proxies}",
url="${hvl.oauth.authz.service.proxy.url:${hvlhvl.oauth.authz.service.url}}")
public interface HvlAuthzProxyRestService
A restful service which provides specific methods for proxy.
-
Method Summary
Modifier and TypeMethodDescriptiontr.com.havelsan.javarch.service.data.HvlResponse
<HvlOAuthProxyModel> Gets proxy by uuid.tr.com.havelsan.javarch.service.data.HvlResponse
<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthProxyDataModel>> queryBorrowedDataPage
(@NotNull @Valid HvlOAuthProxyQueryModel proxyQueryModel) Returns a page of borrowed proxy matching the query criteria.tr.com.havelsan.javarch.service.data.HvlResponse
<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthProxyDataModel>> queryDelegatedDataPage
(@NotNull @Valid HvlOAuthProxyQueryModel proxyQueryModel) Returns a page of delegated proxy matching the query criteria.
-
Method Details
-
getByUuid
@GetMapping(path="/by-uuid/{uuid}", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<HvlOAuthProxyModel> getByUuid(@NotBlank @Size(min=36,max=36) @PathVariable("uuid") @NotBlank @Size(min=36,max=36) String uuid) Gets proxy by uuid.- Parameters:
uuid
- the uuid- Returns:
- the hvl response
-
queryDelegatedDataPage
@PostMapping(path="/data/delegated/page", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthProxyDataModel>> queryDelegatedDataPage(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthProxyQueryModel proxyQueryModel) Returns a page of delegated proxy matching the query criteria.- Parameters:
proxyQueryModel
- the proxy query model- Returns:
- the hvl response
-
queryBorrowedDataPage
@PostMapping(path="/data/borrowed/page", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthProxyDataModel>> queryBorrowedDataPage(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthProxyQueryModel proxyQueryModel) Returns a page of borrowed proxy matching the query criteria.- Parameters:
proxyQueryModel
- the proxy query model- Returns:
- the hvl response
-