Skip to content

File Storage: Bug Fix and small Extension to Buckets/FS #574

@iaktern

Description

@iaktern
  • Bug Fix: newly created processes should immediately create a folder under processes/<definitions-id>/latest/ with a bpmn file inside on fs/bucket (of course, next to the database entries)
    • this file should be continuously updated on the bucket/fs if changes happened (maybe after a debounce time of 60s)
  • rename the folder artifacts to processes-artifacts/
  • Bug Fix: upload of artifact files (e.g. pictures) from staging to buckets should work (some problem with presignedURL)
  • delete the old folders from the old MS on the Bucket: "Config", "Processes" (uppercase!), "Storage", "OrganizationLogos"
  • create new folders and files (spaceLogo.png and profilePicture.png - reduce to size limit of 1mb):
|── processes/
|   │── <definitions-id>/
|   └── 508d2967-e8f6-47cd-b8e6-e65977436ade/
|       │── latest/
|       │── <YYYY-MM-DD-hh-mm-ss-mmm>/ (UTC time)
|       └── 2024-10-22-15-13-32-645/
|           │── <definitions-id>.bpmn
|           │── user-tasks/
|           │    |── <user-task-id_0001>.json
|           │    └── <user-task-id_0001>.html
|           └── script-tasks/
|                |── <script-task-id>.js
|                |── <script-task-id>.ts
|                └── <script-task-id>.xml (Blockly)
|── processes-artifacts/
|    │── images/
|    │   └── <image-unique-id>.jpg|png|webp|svg
|    └── others/
|        |── <report-unique-id>.pdf
|        └── <dokument-unique-id>.docx
|── spaces
|    │── <space-id>/
|        └── spaceLogo.png
|── users
|    │── <user-id>/
|        └── profilePicture.png

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions