Skip to main content

OPENLXP-XIA

What is it?

OpenLXP XIA is a Python package that provides the validation functionality of extracted metadata from the source. In addition, it helps transform metadata into target metadata and further load it into indexing services. The OpenLXP XIA package does not include the metadata extraction process because extraction methods can be different for different sources. But once metadata gets extracted from the source, OpenLXP-XIA continues the V-T-V-L (Validate-Transform-Validate-Load) cycle.

The schema files used for validation can be placed on the schema server. Currently, OpenLXP-XIA uses AWS S3 buckets as a schema server.

Below are the workflow which are performed by the OpenLXP-XIA after package installation.

Workflows

The OpenLXP-XIA implements five core workflows after extracting metadata from the Specifiec source, as follows:

  1. Validate: Compares extracted learning experience metadata against the configured source metadata reference schema stored in the Experience Schema Service (XSS).

  2. Transform: Transforms extracted+validated source learning experience metadata to the configured target schema using the "XSR-to-Target" transformation map stored in the Experience Schema Service (XSS)

  3. Validate: Compares transformed learning experience metadata against the configured target metadata reference schema stored in the Experience Schema Service (XSS).

  4. Load: Pushes transformed and validated learning experience metadata to the target Experience Index Service (XIS) for further processing.

  5. Log: Records error, warning, informational, and debug events which can be reviewed and monitored.

Prerequisites

Python >=3.7 : Download and install python from here Python.

Installation

$ python -m pip install OpenLXP-XIA (use the latest package version)

Add OpenLXP-XIA in the setting.py in your project.

INSTALLED_APPS = [ ...

    'openlxp_xia',
    
    ....

]

Configuration

  1. On the Admin page, log in with the admin credentials

  2. Add xis configuration: Configure Experience Index Services (XIS):

    Xis metadata api endpoint: API endpoint for XIS where metadata will get stored.

    Example:
    Xis metadata api endpoint: http://localhost:8080/api/metadata/

    Xis supplemental api endpoint: API endpoint for XIS where supplemental metadata will get stored.

    Example:
    Xis supplemental api endpoint: http://openlxp-xis:8020/api/supplemental-data/

    (Note: Replace localhost with the XIS Host)

  3. Add xia configuration : Configure Experience Index Agents(XIA):

    Publisher: Agent Name

    Xss api: API endpoint for XSS where schemas will be retrieved from.

    Example:
    Xss api: https://localhost:8000/api/

    Source metadata schema: Schema iri or name for source metadata validation

    Target metadata schema: Schema iri or name for target metadata validation

    (Note: Please make sure to upload schema files in the Experience Schema Server (XSS). )

  4. Add metadata field overwrite: Here, we can add new fields and their values or overwrite values for existing fields.

    Field name: Add new or existing field Name

    Field type: Add date type of the field

    Field value: Add corresponding value

    Overwrite: Check the box if existing values need to be overwritten.

Running ETL Pipeline:

ETL or EVTVL (Extract-Transform-Load) Pipeline can be run through two ways:

  1. Through API Endpoint: To run ETL tasks run below API:

    http://localhost:8000/api/xia-workflow (Note: Change localhost with XIA host)

  2. Periodically through celery beat: On the admin page add periodic task and it's schedule. On selected time interval celery task will run.

Logs

To check the running of celery tasks, check the logs of application and celery container.

Documentation

Troubleshooting

License

This project uses the MIT license.

Metadata

Release files for openlxp-xia 1.7.1

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

Source distribution (sdist)

Source distribution for openlxp-xia 1.7.1
File Size Uploaded Provenance Actions
openlxp_xia-1.7.1.tar.gz 38.6 kB Without provenance Details for openlxp_xia-1.7.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for openlxp-xia 1.7.1
File Interpreter ABI Platform Actions
openlxp_xia-1.7.1-py3-none-any.whl Python 3 none any Details for openlxp_xia-1.7.1-py3-none-any.whl

Total release size: 96.7 kB

Release files / openlxp_xia-1.7.1.tar.gz

Download URL openlxp_xia-1.7.1.tar.gz
Size 38.6 kB
Tags Source
SHA-256 checksum
How to use checksums
11f2cd1699be31fa7b0061546a5205ff5740c2fe5adb236b7e5e34e12f3f4655
BLAKE2b-256 checksum
How to use checksums
e92457b95f557e7f48abe61042dee32c24ee7c469c7229365cf8edbcd1ba4bd9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.4

Release files / openlxp_xia-1.7.1-py3-none-any.whl

Download URL openlxp_xia-1.7.1-py3-none-any.whl
Size 58.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c36ffe2e7d9b76c93f1ad7f000a2c74412a28fd931d3982b380b764ed5c3f401
BLAKE2b-256 checksum
How to use checksums
4fc70c24ef420622cc109dd8f9787ae929abf8ee9a585db326e1fde26c51a7de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.4

Security for openlxp-xia 1.7.1

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

1.7.1 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