![]() |
.. (לתיקייה המכילה) | |
What should be the error msg when the table is full (add guest operation) ?
| Table <tid> is full |
When sending a GET request to ..../table/add?size (without specifying a value), there's a server error (500), should we give 404 also in that corner case or just ignore this?
| 500 Error is OK in all cases of missing argument values. (Not in cases of missing the entire argument) |
Using some kind of data storage is not mentioned in the hw instructions, what should we use (db, cookies, etc...)?
|
You do not need to use anything that was not taught in class. Think of the simplest solution possible. |
What should be print in report when there are no tables?
| Nothing. Meaning, only a simple HTML with an empty <body> |
Do guests which could not be added to a table (e.g. because it is full) are being allocated an ID?
Meaning the next guest that will be successfully added to a table will get their ID or not?
|
No. Guests which could not be added to the system do not get an ID. For example: Create table of size 1 (tid = 1) Add guest to table 1 (gid = 1) Add guest to table 1 (Failed - Table full) Create table of size 2 (tid = 2) Add guest to table 2 (gid = 2) |
Do the name of the spring project must be WeddingApp?
| Yes |
Can the same guest be added to more than one table?
|
[correction] - The add-guest action creates a new guest with a new ID. Thus, it is possible to have two guests in the system with the same name, but with different IDs. |
Will there be an "automatic check" of this assignment?
|
Yes. You must make sure your input confirms exactly to the examples format. Do not add unnecessary titles, links, headers, etc. |

