Pekka Helenius
|
29fd4a1d2e
|
Add dummy BookstoreApplicationTests class
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
15b44bf5b0
|
Add BookDevController end point tests
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
a50aa9a258
|
BookDevControllerTest: 'dev' profile only
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
b00ed82f40
|
BookStoreTestWebContextBuilder: Add statsRefUrl
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
20a87437fd
|
Add BookRestController end point tests
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
bd29181dd2
|
Add BookController end point tests
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
ec3bf519ed
|
Add tests for controllers
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
f0759fd9cb
|
Implement BookStoreTestWebContextBuilder class
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
6269a9c549
|
User_Role composite key: add NotNull constraint annotation
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
ee59a73934
|
Add Maven dependency: spring-security-test
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
673cd993f4
|
Role name: add NotBlank constraint annotation
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
619fa55776
|
User username & password: add NotBlank constraint annotation
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
e145cb9030
|
Explicitly use MySQL mode for H2 database
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
cab8315a71
|
Add apireftable ID for table element
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
5c5ed43caa
|
Drop unnecessary 'HttpOnly' value as unit tests do not like it
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
36d39dbcc9
|
Add booklist ID
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
cf16711291
|
Also exclude 'password' from server log entries
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
4f65b9d93b
|
Tests reference sheet: add note about authorization matrix
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
c68df8225b
|
Add missing messages
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
805eaaba97
|
Add Spring statistics help page + links (dev mode only)
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
8aac39be5d
|
Add development end points
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
0a3e775c1a
|
Implement a controller for development end points
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
55b06c4860
|
App init: consider both non-existing & existing H2 & SQL data
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
62715cce8a
|
BasePathAwareController: expect only a single category
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
7fc8dd678d
|
Dev props & Spring security: add actuator end point, formatting updates
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
f7346ed776
|
Category: return only a single Category object since category is unique
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
7ea9f1ccef
|
BookHash: add findByBookId method
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
5ef9f27136
|
Role: return only a single Role object since role is unique
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
4c50e3085d
|
Extend UserRoleRepository methods: add findByCompositeId
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
39045b8314
|
Enable application statistics end point
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
5ba4227c1e
|
Prevent CSRF token leaks in server logs
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
df782ec504
|
Add notes about missing input form validations
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
a9102319b8
|
Add SameSite cookie and Content Security Policy header
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
84acd3f455
|
Author's name can't have numbers
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
dca1f70f43
|
More specific Bcrypt configuration
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
5537aefd03
|
Update README
|
4 years ago |
Pekka Helenius
|
01814c1950
|
Update SQL schema & DB structure plans
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
6aa7a3600a
|
Add test reference document sheet
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
d6d29311de
|
Add missing Maven imports for SQL
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
31cc8b4ace
|
Be more informative: add available profile options
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
37a03d6ed7
|
Update dev configuration: add comments
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
2f7f4864b3
|
Prepare application for deployment; add production settings, add
database connectivity settings
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
5d2b648ab3
|
Add warning statement about custom queries
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
b3526137f8
|
Add SQL server security note
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
249bd5b6b4
|
Prevent unauthorized users to alter book prices
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
b4a4158a8b
|
Update helpdesk view description
|
4 years ago |
Pekka Helenius
|
b6cc0ac887
|
Book hash IDs: consider potential hash collisions; move logic into
BookEventHandler
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
0450a8fcc5
|
REST API help reference page: add 'publish' attribute into examples
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
e3017394dd
|
Re-define Book publish attribute JSON read/write policy
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
5e043c3a69
|
Consider too long user inputs for username login field
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |