Philip Korsholm
f175cac4af
Feat(medusa, core-flows, types): add reservation endpoints ( #7018 )
...
* add reservation endpoints
* add changeset
2024-04-09 18:40:00 +02:00
Oli Juhl
626aa09497
feat: Add create location fulfillment set flow + API ( #6945 )
2024-04-05 19:27:38 +02:00
Philip Korsholm
68b9812aa1
feat(core-flows, medusa): add create stock location endpoint for api-v2 ( #6787 )
2024-03-25 12:53:09 +01:00
Stevche Radevski
12b035cb18
chore(tests): Try to use the api integration tests for v2 ( #6588 )
...
Few things to keep in mind:
1. You need to set MEDUSA_FF_MEDUSA_V2 to true before running the tests to run with the v2 API
2. You can use the `breaking` function to differentiate between v1 and v2 differences. This can help us identify what was breaking pretty quickly afterwards
3. You will need to run specific tests for now instead of all if you want to target v2. I think that's fine though, as we don't really need these to run on every PR until we have feature parity (and by then, all tests would be both v1 and v2 compatible)
**note: Adrien**
- add a new way to load modules only to run their loaders comparable to the way to run the migrations only
- improve tests runner to cleanup the data properly as well as re running all loaders and core defaults
Co-authored-by: Adrien de Peretti <25098370+adrien2p@users.noreply.github.com >
2024-03-07 08:05:43 +00:00
Carlos R. L. Rodrigues
0c2a460751
feat(medusa): workflow engine api ( #6330 )
...
What:
Workflow Engine API.
Endpoints for:
- List workflow executions
- Run a workflow
- Set async steps as success or failure
- Retrieve the details of a workflow run
2024-02-13 15:19:10 +00:00
Adrien de Peretti
d6372246ee
fix(integration): Product ordered by variants prices ( #5507 )
...
* fix(integration): Product ordered by variants prices
* set cache to 0 to prevent issues between tests
2023-10-31 16:20:55 +01:00
Philip Korsholm
e346be3eca
fix(integration-tests): Restore integration redis-url ( #5502 )
2023-10-31 09:04:03 +01:00
Philip Korsholm
148f537b47
feat(medusa): integrate pricing module to core ( #5304 )
...
* add pricing integraiton feature flag
* init
* first endpoint
* cleanup
* remove console.logs
* refactor to util and implement across endpoints
* add changeset
* rename variables
* remove mistype
* feat(medusa): move price module integration to pricing service (#5322 )
* initial changes
* chore: make product service always internal for pricing module
* add notes
---------
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com >
* nit
* cleanup
* update to object querying
* update cart integration test
* remove uppercase currency_code
* nit
* Feat/admin product pricing module reads (#5354 )
* initial changes to list prices for admin
* working price module implementation of list prices
* nit
* variant pricing
* redo integration test changes
* cleanup
* cleanup
* fix unit tests
* [wip] Core <> Pricing - price updates (#5364 )
* chore: update medusa-app
* wip
* get links and modules working with migration
* wip
* chore: make test pass
* Feat/rule type utils (#5371 )
* initial rule type utils
* update migration script
* chore: cleanup
* ensure prices are always decorated
* chore: use seed instead
* chore: fix oas conflict
* region id add to admin price read!
---------
Co-authored-by: Philip Korsholm <88927411+pKorsholm@users.noreply.github.com >
Co-authored-by: Philip Korsholm <philip.korsholm@hotmail.com >
* pr feedback
* create remoteQueryFunction type
* fix merge
* fix loaders issue
* Feat(medusa, types, pricing): pricing module migration script (#5409 )
* add migration script for money amounts in pricing module
* add changeset
* rename file
* cleanup imports
* update changeset
* add check for pricing module and ff
* feat(medusa,workflows,types): update prices on product and variant update (#5412 )
* wip
* chore: update product prices through workflow
* chore: cleanup
* chore: update product handler updates prices for variants
* chore: handle reverts
* chore: address pr comments
* chore: scope workflow handlers to flag handlers
* chore: update return
* chore: update db url
* chore: remove migration
* chore: increase jest timeout
* Feat(medusa): update migration and initDb to run link-migrations (#5437 )
* initial
* loader update
* more progress on loaders
* update integration tests and remote-query loader
* remove helper
* migrate isolated modules
* fix test
* fix integration test
* update with pr feedback
* unregister medusa-app
* re-register medusaApp
* fix featureflag
* set timeout
* set timeout
* conditionally run link-module migrations
* pr feedback 1
* add driver options for db
* throw if link is not defined in migration script
* pass config module directly
* include container in migrate command
* chore: increase timeout
* rm redis from api integration tests to test
* chore: temporarily skip tests
* chore: undo skips + add timeout for workflow tests
* chore: increase timeout for order edits
* re-add redis
* include final resolution
* add sharedcontainer to medusaapp loader
* chore: move migration under run command
* try removing redis_url from api tests
* chore: cleanup server on process exit
* chore: clear container on exit
* chore: adjustments
* chore: remove consoles
* chore: close express app on finish
* chore: destroy pg connection on shutdown
* chore: skip
* chore: unskip test
* chore: cleanup container pg connection
* chore: skip
---------
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com >
2023-10-30 14:42:17 +01:00
Adrien de Peretti
4d326fbbdf
chore: Move factories and helpers to a better place ( #4551 )
...
* chore: Move factories and helpers to a better place
* align factory product variant
* fix factory cart
* add simple store fac
* fix tests
* fix tests
* fix
* fix cart seeder
2023-07-20 13:16:04 +02:00
Riqwan Thamir
4f58ddee03
feat(medusa,utils): add server level configurable http compression ( #3785 )
...
* feat(medusa,utils): add server level configurable http compression
* chore: remove unwanted middleware
* chore: add a log for running compression
* chore: change package position
* chore: reposition options
* chore: change equality
2023-04-13 12:39:13 +02:00
Frane Polić
1ce3cc5ae4
feat(medusa): invalidate price selection caching within update request ( #3553 )
...
* feat: invalidate price selection caching on update
* feat: add `onVariantsPricesUpdate` to PriceSelectionStrategy
* fix: update units
* fix: import
* Create .changeset/tame-pillows-heal.md
* fix: address feedback
* refactor: make `onVariantsPricesUpdate` optional
---------
Co-authored-by: fPolic <frane@medusajs.com >
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-28 11:18:13 +02:00
Frane Polić
f97b3d7cce
feat(medusa): Cache modules ( #3187 )
2023-03-10 15:09:26 +01:00
Carlos R. L. Rodrigues
690ca9e89a
chore(integration-tests): Normalize DB config + use single process ( #2077 )
2022-08-24 12:29:53 +02:00
Philip Korsholm
bf47d1aecd
feat(medusa): Add batch strategy for order exports ( #1603 )
2022-06-29 09:54:37 +02:00
Adrien de Peretti
7b09b8c36c
feat(medusa/product-export-strategy): Implement the Product export strategy ( #1688 )
2022-06-22 23:42:31 +02:00
Adrien de Peretti
313cb0658b
feat(medusa): Improve config loading ( #1290 )
2022-04-21 12:49:56 +02:00
Zakaria El Asri
69620e572e
chore: parallelize integration tests and use template dbs ( #907 )
2021-12-14 21:45:57 +01:00
Sebastian Mateos Nicolajsen
cf66f97758
feat: update and cancel swaps, claims, and returns ( #310 )
2021-09-10 13:57:34 +02:00
Zakaria El Asri
06fd882a67
fix: parameterize integration tests' db credentials ( #319 )
...
* add: read db credentials from .env
* remove: console.log
* fix: default to default pg user and password
2021-07-23 11:27:05 +01:00
Sebastian Rindom
690d339667
feat(medusa,brightpearl,segment,webshipper): claims ( #163 )
...
* chore: create tests
* chore: models
* fix: passing initial tests
* test: adds integration test
* test: clean up integration implementation
* fix: claims
* fix: brightpearl + webshipper
* tests: passing
* fix: update claim items
* fix: adds gitignore
* fix: pr comments
* fix: single migration
* fix(medusa-plugin-segment): adds item claimed event to segment
2021-02-03 09:49:12 +01:00