https://github.com/pyaillet/events-api-debug
https://github.com/pyaillet/events-api-debug
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pyaillet/events-api-debug
- Owner: pyaillet
- Created: 2021-03-15T08:22:57.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-03-15T08:34:34.000Z (over 5 years ago)
- Last Synced: 2025-03-29T18:15:15.145Z (over 1 year ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Injector and connector to debug Akeneo PIM Events API
## How to use ?
Clone the repo.
Launch `pip3 install -r requirements.txt`.
Configure a connector for injection in the PIM.
Configure the injector `client.py` with your `client_id`, `secret`, `username`, `password`, `host`.
Configure a connector for the webhook configuration.
## Launch
Launch the connector with `python3 ./serve.py`.
The connector will log the requests received and total requests and events count.
Launch the injector with `python3 ./client.py`.
The injector will retrieve the 100 first product identifier and cycle between
enabling/disabling them to trigger events.
## Tips
When using from a computer without a public IP, you can use [ngrok](https://ngrok.com/)
to make it accessible.