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.

Metadata

Release files for otrs-somconnexio 0.8.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for otrs-somconnexio 0.8.8
File Size Uploaded Provenance Actions
otrs_somconnexio-0.8.8.tar.gz 76.3 kB Without provenance Details for otrs_somconnexio-0.8.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for otrs-somconnexio 0.8.8
File Interpreter ABI Platform Actions
otrs_somconnexio-0.8.8-py2.py3-none-any.whl Python 2, Python 3 none any Details for otrs_somconnexio-0.8.8-py2.py3-none-any.whl

Total release size: 228.8 kB

Release files / otrs_somconnexio-0.8.8.tar.gz

Download URL otrs_somconnexio-0.8.8.tar.gz
Size 76.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a92385aeaffe84c5b0c595623b5c735e2904c7630a71798494b372dc574a6163
BLAKE2b-256 checksum
How to use checksums
4b5e7438affd39892018b2e92812e39259b4f9cb6a34018423a837bcde2c34cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.20

Release files / otrs_somconnexio-0.8.8-py2.py3-none-any.whl

Download URL otrs_somconnexio-0.8.8-py2.py3-none-any.whl
Size 152.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
4525193eb4392379a1e74d0deec5023fef4735493ffa10a5fd64df25c777f371
BLAKE2b-256 checksum
How to use checksums
bf71892c3f350b8c7a6eb48dd9d8127b1ceee6207201792c83b703a29422a188
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.20

Security for otrs-somconnexio 0.8.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.8.8 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page