Draft
Conversation
- Replaced Oracle JDBC driver with PostgreSQL driver in pom.xml - Updated all configuration files (application.properties, application-docker.properties) with PostgreSQL settings - Migrated Photo.java entity to remove Oracle-specific column definitions (NUMBER, SYSTIMESTAMP) - Created new postgres-init/ scripts to replace oracle-init/ scripts - Updated docker-compose.yml to use PostgreSQL container instead of Oracle container - All database URLs, drivers, and dialects updated from Oracle to PostgreSQL - Added environment variable support for database credentials
- Upgraded commons-io from 2.11.0 to 2.14.0 to fix CVE-2024-47554 (HIGH severity) - Upgraded org.postgresql:postgresql from 42.3.8 to 42.7.2 to fix CVE-2024-1597 (CRITICAL severity) - Both CVEs are now resolved with secure versions
…aintaining CVE-free status
… references in comments - Updated PhotoServiceImpl.java: Changed 'Oracle database' to 'PostgreSQL database' in comments and log messages - Updated application-docker.properties: Changed file upload comment to reference PostgreSQL - Updated PhotoFileController.java: Changed all Oracle database references to PostgreSQL in class docs, method docs, and log messages - Updated PhotoRepository.java: Removed 'Oracle specific' references from JavaDoc comments - All functional code already migrated, these are documentation/comment updates for completeness - Migration validation: All CVEs fixed, build passing, tests passing, 100% migration coverage achieved
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.