G
YouTube TikTok Games
Skip to content

feat: propose a Quarkus extension for Fesod - #1327

Draft
tanujkapoor-cmd wants to merge 1 commit into
apache:mainfrom
tanujkapoor-cmd:feature/quarkus-extension-615
Draft

tanujkapoor-cmd wants to merge 1 commit into
apache:mainfrom
tanujkapoor-cmd:feature/quarkus-extension-615

Conversation

@tanujkapoor-cmd

Copy link
Copy Markdown

Purpose of the pull request

Related: #615

I tried reading an XLSX file in a small Quarkus app. Fesod worked on the JVM as a plain dependency. The idea here is to give apps a shared reader they can inject and a batch size they can set with quarkus.fesod.batch-size.

What's changed?

SpreadsheetReader reads the first worksheet and hands typed rows to the caller in batches. It uses Fesod's existing reader and leaves the input stream with the caller. The quarkus-extension Maven profile builds the extension against Fesod from this checkout on JDK 17. The core modules still target Java 8.

The integration test sends a two-sheet XLSX workbook through a Quarkus app. It checks that only the first sheet is read, that invoice IDs and amounts come back correctly, and that five rows are delivered as batches of 2, 2, and 1.

The core tests (excluding fuzz tests) and both Quarkus tests passed on JDK 17. I ran this from the repo root.

mvn -Pquarkus-extension -pl :fesod-quarkus-deployment,:fesod-quarkus-integration-tests -am verify -Dtest.excludedGroups=fuzz

Would this be a useful first scope for #615? In particular, should the first version support JVM apps, or is native XLSX support what you had in mind?

Checklist

  • Read the Contributor Guide.
  • Add a short usage page once the scope is agreed.
  • Add and run an integration test for the proposed behavior.

I used OpenAI Codex to prepare this draft and Quarkus's Maven scaffold to start the extension layout.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant