Pekka Helenius
|
4baea10349
|
Update JSON naming scheme
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
58a6fe23f2
|
Update REST API reference help page
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
c0c49f80fb
|
Implement custom PUT/update method for REST API; improve class structure
Support for nested JSON book data
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
cbec5eaf48
|
Add missing descriptions
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
584cee7755
|
Book's nested JSON entries & REST API (POST): Implement support
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
b16266eb69
|
Create BookAuthorHelper class for handling author-related operations
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
cec4117a9e
|
Change comment placement
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
4dc7d46f57
|
Implement findByNameIgnoreCaseContaining method
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
e7fc738b7a
|
REST API: Generate book hash when adding a new book with curl POST
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
67482438ce
|
Add comment about object notation
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
a2fcecfe8c
|
Determine data types for database; add column definitions
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
8a373a209d
|
Add missing header text
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
e6a6325d5a
|
Implement random hashes as replacement for direct book IDs for front-end
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
8ad66f24a0
|
Uniform and correct styling
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
fa295895f3
|
Change used table elements (header -> data cell)
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
12eb644e74
|
Explain some design choices used in HTML documents; add commenting
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
33f753d34c
|
Be more specific why JSON key names may use different naming policy
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
659cfe791e
|
Set fallback message key strings for author & category NULL values
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
a09ec7c17d
|
Update web forms due to new Author entity
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
e4bf781720
|
Update messages for new author fields, update apiref messages
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
3f6db48b70
|
Implement Author entity: re-format parts of table structures, add
supporting code
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
47a9669e71
|
Add missing 'None' option for category
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
5197cdd526
|
Improve REST API reference page: add more examples, update layout
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
fc7caa6af9
|
Add REST API reference page CSS class styles
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
0e80a3a7c6
|
Add & modify REST API reference page messages
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
6fda2ccd95
|
Remove unneeded submit buttons and forms
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
e544d7bfd3
|
Expose book ID query for Rest API resource
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
02feca41d2
|
Implement REST API reference help page
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
11dde7c3d0
|
Also consider NULL/None category type for books
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
a36b273a96
|
Ignore books in JSON output; define SQL fetch & cascade types for book
list
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
87ccddc9eb
|
Ignore books in JSON output; define SQL fetch & cascade types for book
list
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
27dfa3f3ff
|
Allow NULL category id; various JSON/SQL related additions
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
9abb6ff1f0
|
Implement custom JSON serializer for book category
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
b3c1bb677d
|
Define REST API export and URL naming policy
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
1459fb754b
|
Add default redirect
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
fb254e1e3d
|
Initial REST API search support for a book by its title
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
c6707e5436
|
Hide Id fields from JSON data. Necessary?
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
e430378fdf
|
Modify findById method
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
43260f181f
|
Add missing null check
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
ce7e3dc04a
|
Implement initial REST support
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
bf9a113078
|
Add missing ISBN value check for Edit web form
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
840a8f01d6
|
Add additional book ID check
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
86f6f69df1
|
Add comma decimal support for input forms
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
3d12f60eae
|
Add class description
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
4fef3aa30d
|
Disable file log since file paths may conflict with the OS environment
on stand-alone Tomcat server installations
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
535e814039
|
Update error HTML template
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
684393850e
|
Add missing headers
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
c498246b6d
|
Format CSS + raw HTML correctly also without Java; set placeholders for
Spring message keys; minor changes to web forms
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
b4992c71c4
|
Set proper price placeholder value into Add web form
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
967396b23d
|
Add more database constraints for BOOK table
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |