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

feat: enable the notebooks backend #21613

Merged
merged 3 commits into from
Jun 4, 2021

Conversation

williamhbaker
Copy link
Contributor

@williamhbaker williamhbaker commented Jun 4, 2021

Related to #21266

What this PR does is:

  • Removes the notebook flag middleware from the notebooks handler. This means that the notebooks endpoints are always accessible, even if the notebooks feature flags are off.
  • Sets the notebooksApi feature flag to default to true. This will ensure that the notebooks frontend, if enabled, will make the compatible API calls for the notebooks service implemented by the OSS backend.
  • Leaves the notebooks flag default to false. This will leave the "books" button hidden on the UI sidebar, effectively keeping the notebooks feature hidden. It is being kept hidden for now since the backup/restore CLI functions are not yet complete to allow for backing up and restoring notebooks data.

Doing the above will allow the notebooks feature to be toggled from the frontend. This should let us enable the end-to-end tests for notebooks. The tests themselves toggle the notebooks flag on as they run. Enabling these tests will give us more assurance that the notebooks feature is working as intended on OSS.

I'm opting to not add a CHANGELOG entry yet since the feature is still hidden - once the notebooks flag is set to true, the CHANGELOG will be updated for the notebooks feature.

@williamhbaker williamhbaker force-pushed the wb-enable-notebooks-backend-21266 branch from 77e3936 to 47358a4 Compare June 4, 2021 18:56
Copy link
Contributor

@davidby-influx davidby-influx left a comment

Choose a reason for hiding this comment

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

Turn it on!
LGTM

@williamhbaker williamhbaker merged commit 04d7742 into master Jun 4, 2021
@williamhbaker williamhbaker deleted the wb-enable-notebooks-backend-21266 branch June 4, 2021 19:56
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