Skip to main content

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.

Processes

OTRS Configuration

Configure the web services in OTRS:

Ticket Connector (Provider)

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)

Environment configuration

OTRSClient

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=

Python version

We are using Pyenv to fix the Python version and the virtualenv to test the package.

You need:

$ 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

Run tests

To run the test you can run:

$ tox

Also you can run only the tests running:

$ pytest .

and if you want the coverage info:

$ pytest --cov .

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 process

Release and publish the package to PyPi:

  • Update the VERSION var in setup.py matching the version you specified in the CHANGELOG.
  • Open a merge request with these changes for the team to approve.
  • Merge it, add a git tag on the Deployments > Releases section and push it.
  • Once the pipeline has successfully passed, approve the publish step.

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.8.6.tar.gz (75.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

otrs_somconnexio-0.8.6-py2.py3-none-any.whl (151.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file otrs_somconnexio-0.8.6.tar.gz.

File metadata

  • Download URL: otrs_somconnexio-0.8.6.tar.gz
  • Upload date:
  • Size: 75.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.20

File hashes

Hashes for otrs_somconnexio-0.8.6.tar.gz
Algorithm Hash digest
SHA256 5ae2978836fd644b0ae81300c7fa8df5c91fade374c0ee303c6d4b848ce10241
MD5 3276f6ed71fbcf2e927143d277d2d334
BLAKE2b-256 092001dacf748b78036e27655b1f54709cd86b8b1535e25f97e624e5665976dd

See more details on using hashes here.

File details

Details for the file otrs_somconnexio-0.8.6-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for otrs_somconnexio-0.8.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f9b281a571a667a65871c7f3105943965d27a0f68ce91ea9f340871fca4f93e2
MD5 9341f34a8dec56eb995c1f95b7b5886d
BLAKE2b-256 98cc4438d5cf9cf915e657c88c1c3a02ab8c32e3e6682f4f81f3aaa9c5c7b97b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.8.6

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page