-
Notifications
You must be signed in to change notification settings - Fork 49
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
Return message when database does not exists #472
Return message when database does not exists #472
Conversation
|
||
/** | ||
* @param dbKey - key with project and company name | ||
* @return true when database for given dbKey exists |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should probably return true
also when the database does not exist but the allowAutoCreate
flag is set to true :) Please update javadoc. Could you also create some unit tests for this method?
/** | ||
* An error occured when accessing database. | ||
*/ | ||
PROCESSING_ERROR, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this status is only returned when the database does not exist (and can't be created), please rename it to e.g. MISSING_DATABASE
Please update a changelog ;) |
Tested and accepted. "No database found for company: 'companyname', project: 'projectname'." - result is displaying, which is expected. Without changes only timeout display. QA Covered. |
When database for given company and project doesn't exists proper message is displayed.
Description
SuiteStausServlet returns status
PROCESSING_ERROR
and proper message when database doesn't existsMotivation and Context
Closes #341
Types of changes
Checklist:
I hereby agree to the terms of the AET Contributor License Agreement.