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

Validate uniqueness of _aggregator_identifier #13

Closed
cessda-bitbucket-importer opened this issue Nov 25, 2021 · 1 comment
Closed

Validate uniqueness of _aggregator_identifier #13

cessda-bitbucket-importer opened this issue Nov 25, 2021 · 1 comment
Assignees
Labels
0.2.0 bug Something isn't working major
Milestone

Comments

@cessda-bitbucket-importer
Copy link
Contributor

Original report on BitBucket by Toni Sissala (GitHub: toni-sissala).


Validate uniqueness of \_aggregator\_identifier in mongodb collection.

@cessda-bitbucket-importer
Copy link
Contributor Author

Original comment by Toni Sissala (GitHub: toni-sissala).


Merged in feature/13-validate-aggregator-identifier (pull request #21)

Add MDB validation and indexing of _aggregator_identifier

Study._aggregator_identifier must be unique within the collection in MongoDB. Add it as an unique index to MongoDB.

Change MongoDB index sort order of Study.study_number from descending to ascending.

Use argparse.RawDescriptionHelpFormatter to disable formatting of module level docstring when outputting db_admin.py help.

Write missing docstring comments to db_admin.py.

Use enum validation items in validation schema at
CDCAggDatabase._prepare_validation_schema().

Fix faulty logic in TestCaseBase.get_app() where the database is
instantiated from Kuha Document Store database module. The correct way
is to instantiate the cdcagg_docstore.controller database
CDCAggDatabase.

Add added-item to 0.2.0 changelog entry.

Fixes #13 at Bitbucket

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.2.0 bug Something isn't working major
Projects
None yet
Development

No branches or pull requests

2 participants