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

Feature/data modifier plugin #290

Merged
merged 6 commits into from
Jan 10, 2020
Merged

Feature/data modifier plugin #290

merged 6 commits into from
Jan 10, 2020

Conversation

thierrydallacroce
Copy link
Contributor

@thierrydallacroce thierrydallacroce commented Jan 10, 2020

  • Add a data modifier annotation-type plugin
  • Potentially modifies output of publicly accessible endpoints in metastore schemas, datastore sql query and dataset-specific api docs
  • Add a dkan_alt_api module, disabled by default
  • Add a dkan_non_public module, disabled by default, implementing a data modifier plugin to protect resources of non-public datasets

* Shorten function name, improve comments, force plugin to state schemas to modify
* Add non-public data modifier, disabled by default
* Add annotations to communicate result, http code in json responses
* Adjust unit test's expected message from the plugin
* Remove schemasToModify from the base class
* Use setter injection in the metastore for our plugin manager
* Fix unit tests in Metastore service
@fmizzell fmizzell merged commit 8e44495 into master Jan 10, 2020
@thierrydallacroce thierrydallacroce deleted the feature/data-modifier-plugin branch January 10, 2020 20:03
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

Successfully merging this pull request may close these issues.

2 participants