@Consumes(value="application/json") @Produces(value="application/json") @Path(value="/ranger") public class RangerResource<T> extends Object
| Constructor and Description |
|---|
RangerResource(List<RangerHubClient<T>> rangerHubs) |
| Modifier and Type | Method and Description |
|---|---|
GenericResponse<List<io.appform.ranger.core.model.ServiceNode<T>>> |
getNodes(@NotNull @NotEmpty String namespace,
@NotNull @NotEmpty String serviceName) |
GenericResponse<Set<io.appform.ranger.core.model.Service>> |
getServices() |
@Inject public RangerResource(List<RangerHubClient<T>> rangerHubs)
@GET @Path(value="/services/v1") @Metered public GenericResponse<Set<io.appform.ranger.core.model.Service>> getServices()
@GET
@Path(value="/nodes/v1/{namespace}/{serviceName}")
@Metered
public GenericResponse<List<io.appform.ranger.core.model.ServiceNode<T>>> getNodes(@NotNull @NotEmpty @PathParam(value="namespace")
@NotNull @NotEmpty String namespace,
@NotNull @NotEmpty @PathParam(value="serviceName")
@NotNull @NotEmpty String serviceName)
Copyright © 2015–2022. All rights reserved.