Skip to main content

API Wrapper

Python wrapper for making calls to Oracle Communications Unified Assurance, previously known as Assure1 and Monolith. It connects to the Presentation Server.

Development

Clone the repo and install dependencies into a local virtual environment.

python3 -m venv .venv
source .venv/bin/activate
pip install --editable .

Tests

Export variables for your environment, otherwise the test will prompt you for input.

export UA_API_USER=example
export UA_API_PASS=hunter2
export UA_FQDN='https://presentation-server01.example.com'
pytest

Error Handling

  • If you see an requests.exceptions.SSLError error or something similar, it usually just means Apache is overwhelmed and failed to respond. This typically happens when making successive queries and happens more or less randomly. We already retry after waiting with an exponential backoff. If it stalls for too long, try starting over again.

  • Another transient bug in the API can cause the script to throw IndexError (needs investigation). Just re-run the script for now.

  • If you see database errors like below, it likely means you've exhaused the maximum connections to Oracle MySQL. You should probably increase the max connections or it will just keep happening.

    WARNING: API responded with failure: {"success":false,"message":"PHP Exception<ul><li>\/opt\/assure1\/www\/api\/lib\/Model.php on line 997<\/li><ul><li>Error connecting to [Assure1] database. Please contact your administrator<\/li><\/ul><\/ul>","data":[]}
    

Metadata

Release files for shake-that-assurance 0.0.6

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

Source distribution (sdist)

Source distribution for shake-that-assurance 0.0.6
File Size Uploaded Provenance Actions
shake_that_assurance-0.0.6.tar.gz 16.9 kB Without provenance Details for shake_that_assurance-0.0.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for shake-that-assurance 0.0.6
File Interpreter ABI Platform Actions
shake_that_assurance-0.0.6-py3-none-any.whl Python 3 none any Details for shake_that_assurance-0.0.6-py3-none-any.whl

Total release size: 32.3 kB

Release files / shake_that_assurance-0.0.6.tar.gz

Download URL shake_that_assurance-0.0.6.tar.gz
Size 16.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5edb0f3ca310fe6b2433ad4154dc06a92ba2a1643abd1bf7eab65b443b282010
BLAKE2b-256 checksum
How to use checksums
058bae08bcdbca7a3a5b967dcd1254e0f4e196480529da596fa4c32ecf9005bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.8

Release files / shake_that_assurance-0.0.6-py3-none-any.whl

Download URL shake_that_assurance-0.0.6-py3-none-any.whl
Size 15.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
727b73c3eaa67c662393203ccbfbb9c75e7b5dcd88be19e03fca1661e63b521e
BLAKE2b-256 checksum
How to use checksums
650ee3812d2cc6231bc61a4d37ab172b30d34df91ef8fadac73c712c18dcba97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.8

Security for shake-that-assurance 0.0.6

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.0.6 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