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

Valiadation of the configuration objects #368

Open
gtorodelvalle opened this issue May 25, 2016 · 0 comments
Open

Valiadation of the configuration objects #368

gtorodelvalle opened this issue May 25, 2016 · 0 comments

Comments

@gtorodelvalle
Copy link
Member

Currently, no validation is applied to the object passed as a configuration. See https://github.com/telefonicaid/iotagent-node-lib/blob/develop/lib/commonConfig.js#L157
This may cause problems in case the users of this module pass malformed-configurations.
Validating that the provided configuration is a valid one is needed.
This should be also implemented at a concrete agents level in case they also take configuration objects.

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

No branches or pull requests

2 participants