Skip to content

Conversation

@igorcampos-dev
Copy link
Owner

@igorcampos-dev igorcampos-dev commented Aug 17, 2025

Summary by CodeRabbit

  • New Features

    • Added a new Spring Boot + JasperReports module with a REST endpoint to download a PDF client report (/reports/clients).
    • Supports profiles for local and dev modes, with configurable server ports.
    • Provided Dockerfile and Docker Compose for containerized runs.
  • Documentation

    • Updated root README with a new project entry and details for the Jasper example.
  • Chores

    • Introduced CI workflows for building, testing, and health checks.
    • Added repository labeling for the new module.
    • Included Maven Wrapper and project ignore/config files.

@coderabbitai
Copy link

coderabbitai bot commented Aug 17, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

Adds a new spring-jasper-example module with Spring Boot + JasperReports implementation, resources, Docker/Compose assets, Maven wrapper, and per-module CI. Updates root pom.xml to include the module, README to list it, and .github labeler and workflows to build/test and run health checks for the module.

Changes

Cohort / File(s) Summary of edits
Repository metadata
README.md, .github/labeler.yml, pom.xml
Added project row to README, introduced labeler glob for spring-jasper-example, and included the new module in the root Maven aggregator.
Repo-level CI for module
.github/workflows/spring-jasper-example.yml
New workflow to run Maven verify for the module and perform docker-compose based health checks using a dynamic service list.
Module-level CI
spring-jasper-example/.github/workflows/maven.yml
Added per-module “CI Build” workflow to run Maven verify on push.
Module configs (ignore/attrs/wrapper)
spring-jasper-example/.gitignore, spring-jasper-example/.dockerignore, spring-jasper-example/.gitattributes, spring-jasper-example/.mvn/wrapper/maven-wrapper.properties
Added ignore rules, EOL settings, and Maven Wrapper properties (wrapperVersion 3.3.2, Maven 3.9.11).
Maven Wrapper scripts
spring-jasper-example/mvnw, spring-jasper-example/mvnw.cmd
Added Unix and Windows Maven wrapper launcher scripts.
Containerization
spring-jasper-example/Dockerfile, spring-jasper-example/compose.yaml
Introduced multi-stage Dockerfile with layered Spring Boot jar and non-root user; added docker compose for running the app with profile and port configuration.
Module POM
spring-jasper-example/pom.xml
New Spring Boot 3.5.4 module POM with JasperReports dependencies, Lombok, test deps, compiler and Spring Boot plugins.
Application code
spring-jasper-example/src/main/java/com/io/example/SpringJasperExampleApplication.java, .../clientList/controller/ReportController.java, .../clientList/service/ReportService.java, .../clientList/service/ReportDevService.java, .../clientList/service/ReportLocalService.java, .../clientList/dto/ClientDto.java
Added Spring Boot entrypoint, REST controller for GET /reports/clients, service API and two profile-specific implementations generating PDF via JasperReports, plus DTO.
Application resources
spring-jasper-example/src/main/resources/application.yml, .../application-client-list-dev.yml, .../application-client-list-local.yml, .../banner.txt, .../reports/client-list.jrxml
Added environment-driven configs, startup banner, and JRXML report template for client list.

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~60 minutes

Possibly related PRs

Suggested labels

doc: documentation, ci: github-actions

Tip

🔌 Remote MCP (Model Context Protocol) integration is now available!

Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats.


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 6b18d04 and a52daba.

📒 Files selected for processing (26)
  • .github/labeler.yml (1 hunks)
  • .github/workflows/spring-jasper-example.yml (1 hunks)
  • README.md (1 hunks)
  • pom.xml (1 hunks)
  • spring-jasper-example/.dockerignore (1 hunks)
  • spring-jasper-example/.gitattributes (1 hunks)
  • spring-jasper-example/.github/workflows/maven.yml (1 hunks)
  • spring-jasper-example/.gitignore (1 hunks)
  • spring-jasper-example/.mvn/wrapper/maven-wrapper.properties (1 hunks)
  • spring-jasper-example/Dockerfile (1 hunks)
  • spring-jasper-example/README.md (1 hunks)
  • spring-jasper-example/compose.yaml (1 hunks)
  • spring-jasper-example/mvnw (1 hunks)
  • spring-jasper-example/mvnw.cmd (1 hunks)
  • spring-jasper-example/pom.xml (1 hunks)
  • spring-jasper-example/src/main/java/com/io/example/SpringJasperExampleApplication.java (1 hunks)
  • spring-jasper-example/src/main/java/com/io/example/clientList/controller/ReportController.java (1 hunks)
  • spring-jasper-example/src/main/java/com/io/example/clientList/dto/ClientDto.java (1 hunks)
  • spring-jasper-example/src/main/java/com/io/example/clientList/service/ReportDevService.java (1 hunks)
  • spring-jasper-example/src/main/java/com/io/example/clientList/service/ReportLocalService.java (1 hunks)
  • spring-jasper-example/src/main/java/com/io/example/clientList/service/ReportService.java (1 hunks)
  • spring-jasper-example/src/main/resources/application-client-list-dev.yml (1 hunks)
  • spring-jasper-example/src/main/resources/application-client-list-local.yml (1 hunks)
  • spring-jasper-example/src/main/resources/application.yml (1 hunks)
  • spring-jasper-example/src/main/resources/banner.txt (1 hunks)
  • spring-jasper-example/src/main/resources/reports/client-list.jrxml (1 hunks)
✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/spring-jasper-example

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@igorcampos-dev igorcampos-dev merged commit 70e6531 into master Aug 17, 2025
4 of 5 checks passed
@igorcampos-dev igorcampos-dev deleted the feat/spring-jasper-example branch August 17, 2025 20:01
@coderabbitai coderabbitai bot mentioned this pull request Sep 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants