Python package for Somconnexio data syncing in OTRS
Python 2.7/3.8 module to manage the SomConnexio's ERP integration with OTRS
This library manages all the business logic between the Som Connexio's systems and the ticketing tool OTRS.
Configure the web services in OTRS:
Ticket Connector (Provider)
Usage: It exposes the Ticket, Article and DynamicFields object and allows to get, create, update and remove tickets. We use the PyOTRS to interact with it. Look in the PyOTRS docs for more info.
Configuration: Use the template provided by the PyOTRS client: https://gitlab.com/rhab/PyOTRS/-/blob/master/webservices_templates/GenericTicketConnectorREST.yml
CustomerUser Connector (Provider)
Usage: It's a RPCConnector. It interacts with the OTRS objects directly calling the class methods.
Configuration: You need admin permissions to manage it. Contact with your OTRS provider.
MMCaller Connector (Requester)
Usage: It calls MMProxy when an event is raised.
The client to interact with OTRS. You need to define the next environment variables to use the client:
OTRS_URL= # Baseurl of the OTRS instance OTRS_USER= # Creadencials of user with write acces to OTRS OTRS_PASSW=
We are using Pyenv to fix the Python version and the virtualenv to test the package.
- Intall and configure
- Install and configure
- Intall locally the version of python needed:
$ pyenv install 3.8.2
- Create the virtualenv to use:
$ pyenv virtualenv 3.8.2 otrs_somconnexio
Python packages requirements
Install the Python packages in the virtual environment:
$ pyenv exec pip install -r requirements.txt
To run the test you can run:
Also you can run only the tests running:
$ python setup.py test
If running the tests with tox, they will be tested with both python3.8 and python2.7. This is because OTRS-SomConnexio works with an ERP which uses python2, as well as with other packages that use python3.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size otrs_somconnexio-0.4.11-py2.py3-none-any.whl (59.8 kB)||File type Wheel||Python version py2.py3||Upload date||Hashes View|
|Filename, size otrs_somconnexio-0.4.11.tar.gz (30.4 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for otrs_somconnexio-0.4.11-py2.py3-none-any.whl