Function filterDataSourceEndpoints