58a10fd4b8
Refactor Hibernate configuration to use a static local environment variable and simplify controller instantiation
main
dev
Vincent Guillet
2025-05-23 16:39:02 +02:00
180e1e1622
Refactor Hibernate configuration and update data factory methods for clarity
Vincent Guillet
2025-05-23 16:15:59 +02:00
8bfc801b26
Add RestClient and DataFactory for HTTP requests and test data generation
Vincent Guillet
2025-05-23 15:44:24 +02:00
dc73603cda
Refactor services and controllers to use ID for updates and standardize DAO method names
Vincent Guillet
2025-05-23 14:50:27 +02:00
c1617cbd38
Add server initialization in main application class
Vincent Guillet
2025-05-23 11:26:30 +02:00
a803a9ef22
Add dependency-reduced POM file for project configuration
Vincent Guillet
2025-05-23 11:26:16 +02:00
ed83c35f3c
Add ApiApplication class to configure Jersey and register Jackson feature
Vincent Guillet
2025-05-23 11:26:07 +02:00
b63f1ef054
Add UserController class for user management endpoints
Vincent Guillet
2025-05-23 11:25:56 +02:00
8b8fae6e24
Update User class to use EAGER fetching for articles relationship
Vincent Guillet
2025-05-23 11:25:44 +02:00
adbdf0d619
Add ServerConfig class to initialize and start the server
Vincent Guillet
2025-05-23 11:23:35 +02:00
0887925477
Add Jackson JSR310 module dependency for Java 8 date/time support
Vincent Guillet
2025-05-23 11:23:07 +02:00
153380f541
update
Vincent Guillet
2025-05-23 10:38:13 +02:00
4cc46d7ac3
Add 'target/' to .gitignore to exclude build artifacts
Vincent Guillet
2025-05-20 13:46:53 +02:00
7fcdee6e2b
remove target output
Vincent Guillet
2025-05-20 13:46:29 +02:00
3c330e9800
Refactor Publication class to use JOINED inheritance strategy and IDENTITY generation type
Vincent Guillet
2025-05-20 13:44:51 +02:00
47ee6f7ef1
Add Jakarta Validation API dependency and update Reflections dependency
Vincent Guillet
2025-05-20 13:44:41 +02:00
eaba56b92d
Add Hibernate configuration file for database setup
Vincent Guillet
2025-05-20 13:44:30 +02:00
7f3157b7a2
Add Pair annotation for custom validation of even numbers
Vincent Guillet
2025-05-20 13:44:10 +02:00
5de8594095
Add PairValidator class for custom validation of even integers
Vincent Guillet
2025-05-20 13:43:20 +02:00
3da2712bdf
Add HibernateConfig class for database configuration and refactor App to use BigDecimal for Ad prices
Vincent Guillet
2025-05-20 13:43:09 +02:00
24eab5f2cc
Update Ad model to use BigDecimal for price and add email validation
Vincent Guillet
2025-05-20 13:42:54 +02:00
5f279e3e8a
Add Ad model integration in App and implement database cleanup method
Vincent Guillet
2025-05-19 14:44:53 +02:00
a7701a59e5
Remove MySQL dialect property from Hibernate configuration and add mapping for Ad model
Vincent Guillet
2025-05-19 14:44:44 +02:00
0e219efac4
Add Publication abstract class for inheritance in content models
Vincent Guillet
2025-05-19 14:44:35 +02:00
02b837a0ea
Refactor Article class to extend Publication and add views attribute
Vincent Guillet
2025-05-19 14:44:26 +02:00
e368538fed
Remove unused Optional import from ArticleDao
Vincent Guillet
2025-05-19 14:44:14 +02:00
1a5b7b1a35
Update User entity to enable orphan removal for associated articles
Vincent Guillet
2025-05-19 14:44:05 +02:00
eafd02fc07
Add Ad model, DAO, and service for managing advertisements
Vincent Guillet
2025-05-19 14:43:55 +02:00
ad130294fd
Refactor ArticleService and UserService to use records for improved readability
Vincent Guillet
2025-05-19 14:43:41 +02:00
bd62504d87
Refactor Article search functionality to support pagination and enhance output formatting
Vincent Guillet
2025-05-15 17:14:54 +02:00
14d1264091
Disable SQL logging in Hibernate configuration
Vincent Guillet
2025-05-15 15:25:05 +02:00
0f8f09e0d7
Update docker-compose to expose MySQL on port 3366
Vincent Guillet
2025-05-15 15:24:59 +02:00
7c89d637f7
Add Article service and DAO with criteria-based search functionality
Vincent Guillet
2025-05-15 15:24:46 +02:00
8fd72d599d
first commit with existing project files
Vincent Guillet
2025-05-15 12:02:44 +02:00
ff55029ce2
first commit with existing project files
Vincent Guillet
2025-05-15 11:37:34 +02:00