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

Improve error message when a required capability is not offered by deployed modules #2084

Conversation

Vicky-Goldin
Copy link
Contributor

Before looking for a data path solution for a dataset, validate that the required capabilities are offered by the deployed modules.
If not, an informed error message is returned and logged, e.g.:

errorMessage: The dataset 'fybrik-notebook-sample/paysim-csv' requires that the
    capability 'read' will be deployed, but it is not offered by any deployed module

Closes #2083

before searching for a solution for the dataset

Signed-off-by: Vicky-Goldin <victoria.goldin@ibm.com>
@Vicky-Goldin Vicky-Goldin marked this pull request as ready for review May 1, 2023 06:35
@shlomitk1 shlomitk1 merged commit e4a916e into fybrik:master May 1, 2023
11 checks passed
@Vicky-Goldin Vicky-Goldin deleted the improve_error_when_missing_module_for_capability branch May 3, 2023 11:21
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.

Improve error message when a required capability is not offered by deployed modules
2 participants