use of org.apache.ranger.view.VXRepository in project ranger by apache.
the class ServiceUtil method rangerServiceListToPublicObjectList.
public VXRepositoryList rangerServiceListToPublicObjectList(List<RangerService> serviceList) {
List<VXRepository> repoList = new ArrayList<VXRepository>();
for (RangerService service : serviceList) {
VXRepository vXRepo = toVXRepository(service);
if (vXRepo != null) {
repoList.add(vXRepo);
}
}
VXRepositoryList vXRepositoryList = new VXRepositoryList(repoList);
return vXRepositoryList;
}
Aggregations