Interface HvlAuthzLookupRestService

All Known Implementing Classes:
HvlAuthzLookupRestController

@Validated @HvlPublicFeignRestService @FeignClient(name="lookupPublicRestService", path="${hvl.oauth.authz.service.lookup.path:/lookups}", url="${hvl.oauth.authz.service.lookup.url:${hvl.oauth.authz.service.url}}") public interface HvlAuthzLookupRestService
A restful service which provides specific methods for lookups.
  • Method Details

    • getByUuid

      @GetMapping(path="/by-uuid/{uuid}", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<HvlOAuthLookupModel> getByUuid(@NotBlank @Size(min=36,max=36) @PathVariable("uuid") @NotBlank @Size(min=36,max=36) String uuid)
      Gets by uuid.
      Parameters:
      uuid - the uuid
      Returns:
      the by uuid
    • getByIntegrationCode

      @GetMapping(path="/by-integration-code/{integrationCode}", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<HvlOAuthLookupModel> getByIntegrationCode(@NotBlank @Size(max=20) @PathVariable("integrationCode") @NotBlank @Size(max=20) String integrationCode)
      Gets by integration code.
      Parameters:
      integrationCode - the integration code
      Returns:
      the by integration code
    • queryList

      @PostMapping(path="/list", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<List<HvlOAuthLookupModel>> queryList(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthLookupQueryModel lookupQueryModel)
      Query list hvl response.
      Parameters:
      lookupQueryModel - the lookup query model
      Returns:
      the hvl response
    • queryPage

      @PostMapping(path="/page", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthLookupModel>> queryPage(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthLookupQueryModel lookupQueryModel)
      Query page hvl response.
      Parameters:
      lookupQueryModel - the lookup query model
      Returns:
      the hvl response