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

Move load database config to API #792

Closed
wants to merge 4 commits into from
Closed

Conversation

pauldix
Copy link
Member

@pauldix pauldix commented Jul 31, 2014

Fix #791 - Removed load database config options from the daemon. Created an API endpoint and updated test.
Fix #745 - Added definition of continuous queries to load database config.

Fix #791 - Removed load database config options from the daemon. Created an API endpoint and updated test.
Fix #745 - Added definition of continuous queries to load database config.
for _, query := range q {
selectQuery := query.SelectQuery

if selectQuery.IsContinuousQuery() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we throw an error if the query isn't continuous instead of silently ignoring the query ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In that case we should probably validate they're all continuous queries that parse before doing anything. That way people won't get into a halfway completed state.

@jvshahid jvshahid added this to the 0.8.0 milestone Aug 1, 2014
Update the client struct so the Database is public and can be set by library users.
Move the db_config API to specify the database name in the URL.
Make load config test also test loading continuous queries.
@pauldix pauldix closed this in 9750840 Aug 1, 2014
@jvshahid jvshahid deleted the 757-config-loader-to-api branch August 12, 2014 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants