Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mismatch in DatasetCount between different Endpoints. #86

Open
SpeckiJ opened this issue Sep 15, 2017 · 0 comments
Open

Mismatch in DatasetCount between different Endpoints. #86

SpeckiJ opened this issue Sep 15, 2017 · 0 comments

Comments

@SpeckiJ
Copy link
Member

SpeckiJ commented Sep 15, 2017

The EntityCounter counts all Datasets in the Database - even when they are not retrievable by the REST-API due to non-default valueTypes (e.g. category). The /datasets Endpoint ignores such Entries.

This leads to a mismatch between the Dataset-Count retrieved under /services/<serviceid> and the Amount of items in /datasets.

Function that would need to be overwritten/modified for DatasetDao:
https://github.com/52North/dao-series-api/blob/6fc321084cbc27ab21442512b2c59f6df8f1ca3b/dao/src/main/java/org/n52/series/db/da/EntityCounter.java#L115

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant