use of io.crnk.legacy.internal.QueryParamsAdapter in project crnk-framework by crnk-project.
the class ResourcePostTest method toQueryAdapter.
private QueryAdapter toQueryAdapter(QueryParams requestParams, Class resourceType) {
ResourceRegistry resourceRegistry = moduleRegistry.getResourceRegistry();
RegistryEntry entry = resourceRegistry.getEntry(resourceType);
ResourceInformation resourceInformation = entry.getResourceInformation();
return new QueryParamsAdapter(resourceInformation, requestParams, moduleRegistry);
}
use of io.crnk.legacy.internal.QueryParamsAdapter in project crnk-framework by crnk-project.
the class AnnotatedRelationshipRepositoryAdapterTest method setUp.
@Before
public void setUp() throws Exception {
queryParams = new QueryParams();
queryAdapter = new QueryParamsAdapter(queryParams);
parameterProvider = new ParametersFactory(new NewInstanceRepositoryMethodParameterProvider());
}
Aggregations