Skip to content

Commit

Permalink
Use CDC to display Marketplace on 1.7.6+ versions (#604)
Browse files Browse the repository at this point in the history
* Use CDC to display marketplace, Register shop on enable, Unregister on disable

* Bump version to 2.3.0 and register shop on upgrade to 2.3.0

* Clean on uninstall

* Handle failed registration and update shop cases

* Add module_catalog and theme_catalog urls in context + php version

* Add route to get customer bought modules
  • Loading branch information
sowbiba authored Aug 1, 2023
1 parent ccfca44 commit 23ccc0e
Show file tree
Hide file tree
Showing 33 changed files with 2,305 additions and 164 deletions.
1 change: 1 addition & 0 deletions .env.dist
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DISTRIBUTION_API_URL="http://localhost:3000"
MBO_CDC_URL="http://localhost:8080/mbo-cdc.umd.js"
2 changes: 1 addition & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
presta-versions: ['1.7.5.0', '1.7.8.8']
presta-versions: ['1.7.6.0', '1.7.8.8']
steps:
- name: Checkout
uses: actions/[email protected]
Expand Down
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
"require": {
"php": ">=5.6.0",
"ext-simplexml": "*",
"prestashop/circuit-breaker": "^3.0.0"
"prestashop/circuit-breaker": "^3.0.0",
"firebase/php-jwt": "^6.0",
"ramsey/uuid": "^3.9"
},
"require-dev": {
"prestashop/php-dev-tools": "^2.2"
Expand Down
Loading

0 comments on commit 23ccc0e

Please sign in to comment.