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

Please fall back to 404 everything when the data source is null. #19

Closed
ydahhrk opened this issue Feb 9, 2017 · 1 comment
Closed

Comments

@ydahhrk
Copy link
Member

ydahhrk commented Feb 9, 2017

To be honest, the installation process is a huge mess, despite the demo. There are too many steps and little to no positive reinforcement between them.

One thing that would help tremendously would be the ability to start the server with no database. If the server does not find a data source in the context, it should fall back to not respond any objects but still provide simple echoes such as an index page and the help response. Currently, it throws an exception (which is, as a matter of fact, invisible to Tomcat logs by default) and refuses to start.

As it is, I'm finding myself driven to fuse several documentation pages (1 2 3) because they are in fact one single massive atomic step, and their separation feels rather misleading and unjustified.

@ydahhrk
Copy link
Member Author

ydahhrk commented May 9, 2017

The 404 strategy wasn't actually implemented because the installation process got much simpler and also the SQL provider (which manages the datasource) is not even part of it anymore.

This might need to be reviewed when the SQL is brought back but, since by that point some other solution might be more sensible, I don't think there is a point in keeping this issue open.

@ydahhrk ydahhrk closed this as completed May 9, 2017
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

1 participant