Carlos R. L. Rodrigues
1eef324af3
fix(orchestration): fix set step failure ( #10031 )
...
What:
- copy data before saving checkpoint
- removed unused data format function
- properly handle registerStepFailure to not throw
- emit onFinish event even when execution failed
2024-11-12 10:06:36 +00:00
Adrien de Peretti
e096feb7d5
chore: Update modules deps ( #9286 )
2024-09-26 11:14:35 +05:30
Adrien de Peretti
6937d74252
chore(): Move dependencies around ( #9278 )
...
RESOLVES FRMW-2716 [1]
**What**
First stab at re organising dependencies in the modules and their usage.
2024-09-24 14:58:04 +00:00
Harminder Virk
9e711720dd
chore: upgrade moduleResolution to Node16 ( #9269 )
2024-09-24 17:19:20 +05:30
Carlos R. L. Rodrigues
adbeb9cc1d
fix(workflow-engine-*): pass container to flow ( #9180 )
2024-09-18 08:44:11 -03:00
Carlos R. L. Rodrigues
ef8dc4087e
feat: run nested async workflows ( #9119 )
2024-09-16 13:06:45 +00:00
Carlos R. L. Rodrigues
eb0bfe9f33
feat(workflows-sdk): log on error ( #8666 )
2024-08-20 06:23:24 -03:00
Stevche Radevski
4155d0354f
fix: Use a global reference to distributed transaction and scheduler ( #8462 )
...
* fix: Add storage cleanup on scheduled jobs
* fix: Use a global reference to distributed transaction and scheduler classes
2024-08-06 14:14:51 +02:00
Stevche Radevski
26d600b6db
feat: Ensure async workflow executions have access to shared container ( #8157 )
...
* feat: Ensure async workflow executions have access to shared container
* fix: Register workflow worker on application start
2024-07-17 12:17:48 +02:00
Adrien de Peretti
b368251ca3
chore: Migrate modules to use the Module util ( #7964 )
...
**What**
Apply the `Module` util to each module to handle the export and provide the linkable configuration object.
- Most joiner config that does not have any special config are removed/cleaned up in favor of the autogenerated one or simpler one
- linkable are now available in all modules
- cleaned up the dependencies of the modules
FIXES CORE-2410
2024-07-05 13:00:40 +00:00
Adrien de Peretti
617a5972bf
feat: refactor module joiner config and links generation ( #7859 )
...
* feat: refactor module joiner config and links generation
* improve typings
* WIP
* WIP
* WIP
* rename type file
* create link config
* finish typings and add utils
* improve links
* WIP typings
* finalize ExportModule utils
* finalize ExportModule utils
* fix: dml tests
* improve and fixes
* simplify typings with id changes
* add toJSON
* multiple fixes and entity builder fixes
* fix currency searchable
* fix tests
* medusa service refactoring
* cleanup
* cleanup and fixes
* make module name optional
* renaming
---------
Co-authored-by: Harminder Virk <virk.officials@gmail.com >
2024-07-03 13:12:49 +02:00
Carlos R. L. Rodrigues
5600e58b7f
chore(orchestration): idempotent ( #7771 )
2024-06-25 10:34:00 -03:00
Adrien de Peretti
48963f55ef
Chore/rm main entity concept ( #7709 )
...
**What**
Update the `MedusaService` class, factory and types to remove the concept of main modules. The idea being that all method will be explicitly named and suffixes to represent the object you are trying to manipulate.
This pr also includes various fixes in different modules
Co-authored-by: Stevche Radevski <4820812+sradevski@users.noreply.github.com >
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2024-06-19 13:02:16 +00:00
Adrien de Peretti
d2a5201eeb
chore: Refactor and improve abstract module service factory ( #7688 )
...
* chore: Refactor and improve abstract module service factory
* align naming
* clean up some template args and tests
* partially migrate modules
* partially migrate modules
* migrate more modules
* migrate last modules
* fix typings
* rename interface
* rename interface
* fixes
* fixes
* rm local plain tests
2024-06-13 13:12:37 +02:00
Stevche Radevski
69410162f6
feat: Add support for scheduled workflows ( #7651 )
...
We still need to:
But wanted to open the PR for early feedback on the approach
2024-06-10 14:49:52 +00:00
Harminder Virk
11528526fa
feat: loosely typed container
2024-05-31 15:22:03 +05:30
Adrien de Peretti
4eae25e1ef
chore(): Reorganize modules ( #7210 )
...
**What**
Move all modules to the modules directory
2024-05-02 15:33:34 +00:00