Skip to main content

Python package for Somconnexio data syncing in OTRS

Project description

Python 2.7 module to manage the SomConnexio's ERP integration with OTRS

Functionalities

WIP:

  • Create OTRS mobile provision ticket.

OTRS Configuration

Configure a new web service in OTRS using the template provided by the PyOTRS client: https://gitlab.com/rhab/PyOTRS/-/blob/master/webservices_templates/GenericTicketConnectorREST.yml

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:

$ pyenv install 2.7.9
  • Create the virtualenv to use:
$ pyenv install 2.7.9
$ pyenv virtualenv 2.7.9 otrs_somconnexio

Python packages requirements

Install the Python packages in the virtual environment:

$ pyenv exec pip install -r requirements.txt

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.2.7.tar.gz (28.0 kB view hashes)

Uploaded Source

Built Distribution

otrs_somconnexio-0.2.7-py2.py3-none-any.whl (53.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page