Interface UsersFeignClient


@FeignClient(name="${feign.atp.users.name}", url="${feign.atp.users.url}") public interface UsersFeignClient
  • Method Details

    • getUsersByProject

      @RequestMapping(method=GET, value="${feign.atp.users.route}${atp-auth.project_info_endpoint}/{projectId}") Project getUsersByProject(@PathVariable("projectId") UUID projectId)
    • save

      @RequestMapping(method=PATCH, value="${feign.atp.users.route}/api/v1/users/entities") void save(@RequestBody ServiceEntities serviceEntities)
    • saveObjectPermissions

      @RequestMapping(method=PATCH, value="${feign.atp.users.route}${atp-auth.project_info_endpoint}/{projectId}/services/{serviceName}/objects/{objectId}/permissions") ObjectPermissions saveObjectPermissions(@PathVariable UUID projectId, @PathVariable String serviceName, @PathVariable String objectId, @RequestBody Map<UUID,Operations> assignedUsers)
    • getObjectPermissionsByObjectId

      @RequestMapping(method=GET, value="${feign.atp.users.route}${atp-auth.project_info_endpoint}/{projectId}/services/{serviceName}/objects/{objectId}/permissions") Map<String,Map<UUID,Operations>> getObjectPermissionsByObjectId(@PathVariable UUID projectId, @PathVariable String serviceName, @PathVariable String objectId)
    • getObjectPermissionsByServiceName

      @RequestMapping(method=GET, value="${feign.atp.users.route}${atp-auth.project_info_endpoint}/{projectId}/services/{serviceName}/objects/permissions") Map<String,Map<UUID,Operations>> getObjectPermissionsByServiceName(@PathVariable UUID projectId, @PathVariable String serviceName)
    • getUsersInfoByProjectId

      @RequestMapping(method=POST, value="${feign.atp.users.route}${atp-auth.project_info_endpoint}/{projectId}/users/info") List<UserInfo> getUsersInfoByProjectId(@PathVariable UUID projectId, @RequestBody List<UUID> uuids)
    • deleteObjectPermissions

      @RequestMapping(method=DELETE, value="${feign.atp.users.route}${atp-auth.project_info_endpoint}/{projectId}/services/{serviceName}/objects/{objectId}/permissions") void deleteObjectPermissions(@PathVariable UUID projectId, @PathVariable String serviceName, @PathVariable String objectId)
    • deleteObjectPermissionsBulk

      @RequestMapping(method=DELETE, value="${feign.atp.users.route}${atp-auth.project_info_endpoint}/{projectId}/services/{serviceName}/objects/permissions") void deleteObjectPermissionsBulk(@PathVariable UUID projectId, @PathVariable String serviceName, @RequestBody List<String> objectIds)