Pekka Helenius
|
c0262da55a
|
Arch Linux: update PKGBUILD
|
4 years ago |
Pekka Helenius
|
58cd69a1a4
|
Add missing copyright/author details header
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
69b5bfc143
|
database-prod.default.properties: Add header info (usage)
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
7ab873a2ed
|
Add necessary security configuration for public web
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
74d8addec6
|
Add REST API end point tests
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
48b92822e4
|
BookStoreTestWebContextBuilder: add POST,PUT,DELETE + restApiBaseUrl
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
6430d30437
|
Add database tests
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
0fa63ac096
|
Category: add NotNull constraint annotation to name attribute
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
2790128d83
|
User: add more constraints
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
b78af35a58
|
User_Role: implement deleteByCompositeId method
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
6e53931db0
|
Add missing message: security.book.count.max.msg
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
8b53fed77a
|
Fix delete queries for MariaDB
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
6306d53e51
|
Add web security restrictions for demonstration page
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
9212a1c687
|
Implement BookStoreWebRestrictions class
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
0ee226b9d3
|
Implement BookCommandLineRunner, as Spring Component
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
81dbf5827c
|
Implement methods: getAdditionalProfileResources, checkPropertiesExist.
Add hard-coded requirements.
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
e5e72eb41d
|
Add explicit database connection properties for dev & prod profiles
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
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 |