Skip to content

Commit 6b45e09

Browse files
authored
Merge pull request #49 from devondragon/feature/spring-user-framework-4.0.2-snapshot
chore(deps): update SpringUserFramework to 4.0.2
2 parents 2aa2eac + 638adde commit 6b45e09

4 files changed

Lines changed: 47 additions & 5 deletions

File tree

build.gradle

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id 'java'
3-
id 'org.springframework.boot' version '4.0.1'
3+
id 'org.springframework.boot' version '4.0.2'
44
id 'io.spring.dependency-management' version '1.1.7'
55
id "com.github.ben-manes.versions" version "0.53.0"
66

@@ -39,7 +39,7 @@ repositories {
3939

4040
dependencies {
4141
// DigitalSanctuary Spring User Framework
42-
implementation 'com.digitalsanctuary:ds-spring-user-framework:4.0.1'
42+
implementation 'com.digitalsanctuary:ds-spring-user-framework:4.0.2'
4343

4444
// Spring Boot starters
4545
implementation 'org.springframework.boot:spring-boot-starter-actuator'
@@ -63,6 +63,9 @@ dependencies {
6363
runtimeOnly 'org.mariadb.jdbc:mariadb-java-client:3.5.7'
6464
runtimeOnly 'org.postgresql:postgresql'
6565

66+
// Docker Compose support for local development
67+
developmentOnly 'org.springframework.boot:spring-boot-docker-compose'
68+
6669
// Utility libraries
6770
implementation 'org.passay:passay:1.6.6'
6871
implementation 'com.google.guava:guava:33.5.0-jre'
@@ -83,7 +86,7 @@ dependencies {
8386
testImplementation 'org.springframework.boot:spring-boot-starter-security-test'
8487
testImplementation 'org.springframework.security:spring-security-test'
8588
testImplementation 'com.h2database:h2:2.4.240'
86-
testImplementation 'com.codeborne:selenide:7.13.0'
89+
testImplementation 'com.codeborne:selenide:7.14.0'
8790
testImplementation 'io.github.bonigarcia:webdrivermanager:6.3.3'
8891

8992
// OAuth2 Testing dependencies

compose.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Local Development Database Configuration
2+
# WARNING: These credentials are for LOCAL DEVELOPMENT ONLY.
3+
# Production deployments MUST use secure credentials managed through
4+
# environment variables or secrets management systems.
5+
6+
services:
7+
mariadb:
8+
image: mariadb:11.6
9+
environment:
10+
MARIADB_DATABASE: springuser
11+
MARIADB_USER: springuser
12+
MARIADB_PASSWORD: springuser
13+
MARIADB_ROOT_PASSWORD: rootpassword
14+
ports:
15+
- "3306:3306"
16+
volumes:
17+
- mariadb-data:/var/lib/mysql
18+
19+
volumes:
20+
mariadb-data:

src/main/java/com/digitalsanctuary/spring/demo/event/Event.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
import jakarta.persistence.Table;
1111
import jakarta.validation.constraints.NotBlank;
1212
import jakarta.validation.constraints.NotNull;
13-
import jakarta.validation.constraints.FutureOrPresent;
1413
import lombok.Data;
1514

1615
@Data
@@ -31,7 +30,6 @@ public class Event {
3130
private String location;
3231

3332
@NotNull(message = "Event date is required")
34-
@FutureOrPresent(message = "Event date must be today or in the future")
3533
private LocalDate date;
3634

3735
@NotNull(message = "Event time is required")

src/main/resources/data-local.sql

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
-- Test data for local development (MariaDB)
2+
-- Note: Uses INSERT IGNORE syntax specific to MySQL/MariaDB
3+
-- For PostgreSQL, use INSERT ... ON CONFLICT DO NOTHING instead
4+
5+
INSERT IGNORE INTO events (id, name, description, location, date, time)
6+
VALUES
7+
(1, 'Tech Conference 2025', 'A conference about the latest in tech.', 'San Francisco, CA', '2025-06-15', '10:00:00'),
8+
(2, 'Spring Boot Workshop', 'Learn Spring Boot from experts.', 'New York, NY', '2025-07-10', '14:00:00'),
9+
(3, 'AI Symposium', 'Exploring the advancements in AI.', 'Los Angeles, CA', '2026-08-22', '09:30:00'),
10+
(4, 'DevOps Summit', 'Best practices for CI/CD pipelines, infrastructure as code, and cloud-native deployments.', 'Seattle, WA', '2026-03-18', '09:00:00'),
11+
(5, 'Kubernetes Deep Dive', 'Hands-on workshop covering advanced Kubernetes patterns and operators.', 'Austin, TX', '2026-04-05', '13:00:00'),
12+
(6, 'Java 25 Launch Party', 'Celebrating the release of Java 25 with demos and networking.', 'Denver, CO', '2026-05-12', '18:00:00'),
13+
(7, 'Security in the Cloud', 'Zero-trust architecture, secrets management, and compliance automation.', 'Boston, MA', '2026-06-20', '10:30:00'),
14+
(8, 'Microservices Architecture Forum', 'Patterns for building resilient distributed systems at scale.', 'Chicago, IL', '2026-07-08', '11:00:00'),
15+
(9, 'Open Source Contributor Day', 'Learn how to contribute to popular open source projects with guided mentorship.', 'Portland, OR', '2026-09-14', '09:00:00'),
16+
(10, 'Database Performance Tuning', 'Query optimization, indexing strategies, and monitoring for SQL and NoSQL databases.', 'Atlanta, GA', '2026-10-03', '14:00:00'),
17+
(11, 'Frontend Frameworks Showdown', 'Comparing React, Vue, Angular, and Svelte with live coding demos.', 'Miami, FL', '2026-11-15', '10:00:00'),
18+
(12, 'API Design Masterclass', 'RESTful best practices, GraphQL patterns, and API versioning strategies.', 'Philadelphia, PA', '2027-01-22', '13:30:00'),
19+
(13, 'Machine Learning in Production', 'MLOps practices for deploying and monitoring ML models at scale.', 'San Diego, CA', '2027-02-28', '09:00:00'),
20+
(14, 'Startup Tech Meetup', 'Networking event for tech founders and engineers building the next big thing.', 'Nashville, TN', '2027-03-10', '17:30:00'),
21+
(15, 'Women in Tech Summit', 'Inspiring talks and workshops celebrating women in the technology industry.', 'Washington, DC', '2027-04-25', '08:30:00');

0 commit comments

Comments
 (0)