Python package for Somconnexio data syncing in OTRS
Project description
Python 2.7 module to manage the SomConnexio's ERP integration with OTRS
Functionalities
- Create OTRS ADSL provision ticket.
- Create OTRS Fibre provision ticket.
- Update ADSL/Fibre ticket with the content of coverage tickets related with the customer.
- Get tickets information (with ticket id).
- Search tickets: https://pyotrs.readthedocs.io/en/latest/readme.html#search-for-tickets
WIP:
- Create OTRS mobile provision ticket.
Objects
OTRSClient
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=
Exceptions
- TicketNotCreated
- ErrorCreatingSession
- TicketNotFoundError
- OTRSIntegrationUnknownError
ADSL Ticket
Fibre Ticket
Python version
We are using Pyenv to fix the Python version and the virtualenv to test the package.
You need:
- Intall and configure
pyenv
- Install and configure
pyenv-virtualenvwrapper
- Intall locally the version of python needed:
$ pyenv install 2.7.9
- Create the virtualenv to use:
$ pyenv install 2.7.9
$ pyenv virtualenv 2.7.9 otrs_somconnexio
Run tests
To run the test you can run:
$ tox
Also you can run only the tests running:
$ python setup.py test
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
otrs_somconnexio-0.0.2.tar.gz
(15.5 kB
view hashes)
Built Distribution
Close
Hashes for otrs_somconnexio-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5891fdf5c1d5686d5a59577efd43d4a978e8caf71ddd8c9f22dffb1715724cc1 |
|
MD5 | 0b834cf4a184c46565302f289b6b2736 |
|
BLAKE2b-256 | 53e7ed391ed71626424ca2a611ab61695e9416376f91d0b0ffaa4396bf7b10bf |