Merged
Conversation
… steps alongside dockerfile
…owner on Folder class
…ase on application, adds member gateway import and member id validation
Feature/folder owner
Co-authored-by: Matheus Martins Pigatto <MatheusmPigatto@users.noreply.github.com>
Co-authored-by: Matheus Martins Pigatto <MatheusmPigatto@users.noreply.github.com>
…l.yml Co-authored-by: Matheus Martins Pigatto <MatheusmPigatto@users.noreply.github.com>
Co-authored-by: Matheus Martins Pigatto <MatheusmPigatto@users.noreply.github.com>
Co-authored-by: Matheus Martins Pigatto <MatheusmPigatto@users.noreply.github.com>
Feature/dockerfile
…pdate application configuration files
Feature/add actions
fix: fix application configuration files for production and local env…
…cts for error and execution handling Co-authored-by: Artur S <Artituis@users.noreply.github.com>
…f method arguments and signatures Co-authored-by: Artur S <Artituis@users.noreply.github.com>
Co-authored-by: Artur S <Artituis@users.noreply.github.com>
… context records for before and after execution
…cution and error logging
…MethodInterceptorWithContextHandler
…cationContext and PostInvocationContext
…tryLogExecutor, and ThrowableLogExecutor
…ed null safety
Feature/aop
… for proxy support
…aders feat: add forward-headers-strategy configuration to environment files…
feat: add CORS configuration properties to support cross-origin requests
feat: allow OPTIONS requests for CORS and streamline session manageme…
feat: allow OPTIONS requests for all endpoints in security configuration
fix: rename allowedOriginsPatterns to allowedOrigins in CORS configur…
release/v0.0.2
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.
This pull request introduces several changes to improve Docker integration, enhance folder creation and retrieval functionality, and ensure proper ownership handling within the application. The most important updates include adding workflows for Docker image builds and pushes, modifying folder-related use cases to include owner validation, and updating the
Folderdomain model to support ownership.Docker Integration
.dockerignore: Added common development-related files and directories to the.dockerignorefile to optimize Docker builds..github/workflows/build-and-push-docker-image.yml: Created a reusable workflow for building and pushing Docker images using inputs for image name and tag, and secrets for Docker Hub credentials..github/workflows/latest.yml: Added a workflow to build and push Docker images tagged aslatestwhen changes are pushed to themainbranch..github/workflows/nightly.yaml: Added a workflow to build and push Docker images tagged asnightlyfor thedevelopbranch..github/workflows/release.yml: Added a workflow to build and push Docker images tagged with release versions upon publishing a release.Dockerfile: Added a multi-stage Dockerfile to build and package the application, including storage setup and user permissions.Folder Ownership Enhancements
application/src/main/java/com/callv2/drive/application/folder/create/CreateFolderInput.java: Updated theCreateFolderInputrecord to include anownerIdfield for folder ownership.application/src/main/java/com/callv2/drive/application/folder/create/DefaultCreateFolderUseCase.java: Added validation to ensure theownerIdexists and modified folder creation logic to associate folders with owners.application/src/main/java/com/callv2/drive/application/folder/retrieve/get/root/DefaultGetRootFolderUseCase.java: Updated the root folder retrieval logic to validateownerIdand associate root folders with owners.application/src/main/java/com/callv2/drive/application/folder/retrieve/get/root/GetRootFolderInput.java: Introduced a new input record for retrieving the root folder, includingownerId.application/src/main/java/com/callv2/drive/application/folder/retrieve/get/root/GetRootFolderUseCase.java: Modified the base use case to acceptGetRootFolderInputinstead of being nullary.Domain Model Updates
domain/src/main/java/com/callv2/drive/domain/folder/Folder.java: Added anownerfield to theFolderclass and updated folder creation methods to include ownership. [1] [2] [3]Test Updates for Ownership
ownerIdin folder creation methods. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]These changes collectively enhance the application's functionality by introducing ownership validation, improving Docker workflows, and aligning the domain model with the new ownership requirements.