Skip to content

[component] File Helper #2419

@ivicac

Description

@ivicac

As a Workflow Developer
I want to be able to use the native JWT Helper connector
So that I can implement more complex integration use cases where the connector is involved.

Acceptance Criteria

List of implemented actions:

  • Rename FileStorage to FileHelper
  • Convert file from Base64
    Creates a new file from a Base64-encoded string. 
  • Convert file to Base64
    Encodes a file into a Base64 string. 
  • Convert to UTF-8 from URL
    Downloads a file from a URL and converts its character encoding to UTF-8. 
  • Create byte ranges list
    Generates a list of byte ranges for chunked file uploads. 
  • Create file from content
    Creates a file using provided content, such as JSON or plain text.
  • Create file from URL
    Downloads a file from a specified URL and creates a file object.
  • Get file size
    Retrieves the size of a file in bytes.
  • Read file contents
    Reads the contents of a file and returns it as a string. 
  • Read file contents as array
    Reads the contents of a file and returns it as an array, using a specified delimiter.
  • Upload file as form data
    Uploads a file to a specified URL as part of a multipart/form-data request.
  • Upload file chunk
    Uploads a specific chunk of a file to a designated URL. 
  • Upload file to URL
    Uploads an entire file to a specified URL using a defined HTTP method.

Definition of Done:

  • Unit/Integration tests
  • Documentation

Metadata

Metadata

Labels

backendConcerning any and all backend issuesenhancementNew feature or requestworkflow-componentNew backend component request

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions