use of org.apache.ranger.plugin.service.ResourceLookupContext in project ranger by apache.
the class TestServiceREST method test13lookupResource.
@Test
public void test13lookupResource() throws Exception {
String serviceName = "HDFS_1";
ResourceLookupContext context = new ResourceLookupContext();
context.setResourceName(serviceName);
context.setUserInput("HDFS");
List<String> list = serviceREST.lookupResource(serviceName, context);
Assert.assertNotNull(list);
}
Aggregations