Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add LiveSync #187

Merged
merged 12 commits into from
Nov 20, 2023
Merged

feat: Add LiveSync #187

merged 12 commits into from
Nov 20, 2023

Conversation

Venatum
Copy link
Contributor

@Venatum Venatum commented Oct 5, 2023

🚀 Fix EB-1028 - LiveSync activation

📦 What's in the box?

  • Link to new LiveSyncAPI
  • Enable LiveSync
  • Update Copyright (not on all files)

🤖 How to test it?

  • Checkout the feat/live-sync
  • I have no idea...

🎉 Links useful


Test with flashlight

docker cp ps_eventbus.php prestashop:/var/www/html/modules/ps_eventbus && \
docker cp config/parameters.yml prestashop:/var/www/html/modules/ps_eventbus/config/parameters.yml && \
docker cp src/Api/LiveSyncApiClient.php prestashop:/var/www/html/modules/ps_eventbus/src/Api && \
docker cp config/front/api.yml prestashop:/var/www/html/modules/ps_eventbus/config/front/api.yml && \
docker cp config/front/repository.yml prestashop:/var/www/html/modules/ps_eventbus/config/front/repository.yml && \
docker cp src/Repository/ServerInformationRepository.php prestashop:/var/www/html/modules/ps_eventbus/src/Repository/ServerInformationRepository.php
docker exec -it  prestashop sh
find modules/ps_eventbus/config -type f -exec sed -i 's/PrestaShop\\PsAccountsInstaller\\Installer\\F
acade\\PsAccounts/PrestaShop\\Module\\PsEventbus\\Mock\\PsAccounts/g' {} \;
find modules/ps_eventbus/src -type f -exec sed -i 's/PrestaShop\\PsAccountsInstaller\\Installer\\Facade\\PsAccounts/PrestaShop\\Module\\PsEventbus\\Mock\\PsAccounts/g' {} \;

1 update de produit -> 7 notify 🤔
1 update de la quantité -> 0 notify

@Venatum Venatum added the 🚧 WIP Status: Work In Progress label Oct 5, 2023
@Venatum Venatum requested review from jokesterfr and a team October 5, 2023 08:48
@Venatum Venatum self-assigned this Oct 5, 2023
@jokesterfr jokesterfr merged commit bb5c90d into main Nov 20, 2023
11 checks passed
@jokesterfr jokesterfr deleted the feat/live-sync branch November 20, 2023 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚧 WIP Status: Work In Progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants