-
Notifications
You must be signed in to change notification settings - Fork 16
feat/CUS-8307-Added new class which supports upload section and modified createdownloadscopy function #249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…loadscopy function
|
Caution Review failedThe pull request is closed. WalkthroughThis pull request bumps the project version from 1.0.15 to 1.0.16, introduces a new Changes
Sequence DiagramsequenceDiagram
participant Action as WriteCellvalueWithSheetFilepath
participant FileUtil as File Utilities
participant POI as Apache POI
participant Runtime as Runtime Data
participant Log as Logger
Action->>Action: Validate input parameters
alt excel-path is URL
Action->>FileUtil: downloadFile(url)
FileUtil->>FileUtil: Extract filename & extension
FileUtil->>FileUtil: Create sanitized temp file
FileUtil-->>Action: temp file path
else excel-path is local
Action->>Action: Use local path directly
end
Action->>POI: Open workbook
POI-->>Action: Workbook instance
Action->>POI: Get or create sheet
Action->>POI: Get or create row
Action->>POI: Get or create cell
Action->>POI: Write datavalue to cell
Action->>POI: Write workbook to file
POI-->>Action: Write complete
Action->>Runtime: Set variable-name = file path
Runtime-->>Action: Success
Action->>Log: Log completion
Action-->>Action: Return SUCCESS
Note over Action: On error: log exception,<br/>set error message,<br/>return FAILED
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
Possibly related PRs
Suggested reviewers
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (4)
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. Comment |
Publish this addon as public
Addon Name: ExcelActions_cloud
Jarvis Link: https://jarvis.testsigma.com/ui/tenants/2817/addons
Jira : https://testsigma.atlassian.net/browse/CUS-8307
Added new class which supports upload section and modified createdownloadscopy function
Summary by CodeRabbit
New Features
Bug Fixes
Chores