Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
This library manages all the business logic between the Som Connexio's systems and the ticketing tool OTRS.
Configure the web services in OTRS:
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
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.
Usage: It calls MMProxy when an event is raised.
Configuration: https://gitlab.com/coopdevs/somconnexio-documentation/-/blob/master/integracions/masmovil.md#webservice-dotrs
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.
You need:
pyenv
pyenv-virtualenvwrapper
$ pyenv install 3.8.2
$ pyenv virtualenv 3.8.2 otrs_somconnexio
Install the Python packages in the virtual environment:
$ pyenv exec pip install -r requirements.txt
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 and publish the package to PyPi:
FAQs
Python package for Somconnexio data syncing in OTRS
We found that otrs-somconnexio demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.