openedx / platform-plugin-aspects

Aspects plugins for the Open edX LMS and Studio
Apache License 2.0
2 stars 8 forks source link

Platform Plugin Aspects #######################

Purpose


This repository holds various Aspects plugins for the Open edX platform.

Sinks


Sinks are components that listen for events and store them in ClickHouse. The events are emitted by the Open edX platform via Open edX events_ or Django signals.

Available Sinks

Commands

In addition to being an event listener, this package provides the following commands:

Instructor Dashboard Integration

Dashboards from Aspects are integrated into the Instructor Dashboard via Superset Embedded SDK. See Configuration_ for more details.

Getting Started with Development


Please see the Open edX documentation for guidance on Python development <https://docs.openedx.org/en/latest/developers/how-tos/get-ready-for-python-dev.html>_ in this repo.

Deploying


The Platform Plugin Aspects component is a django plugin which doesn't need independent deployment. Therefore, its setup is reasonably straightforward. First, it needs to be added to your service requirements, and then it will be installed alongside requirements of the service.

Configuration


Instructor Dashboard Configuration

The Instructor Dashboard integration uses the Open edX Filters. To learn more about the filters, see the Open edX Filters documentation. Make sure to configure the superset pipeline into the filter as follows:

.. code-block:: python

  OPEN_EDX_FILTERS_CONFIG = {
    "org.openedx.learning.instructor.dashboard.render.started.v1": {
      "fail_silently": False,
      "pipeline": [
        "platform_plugin_superset.extensions.filters.AddSupersetTab",
      ]
    },
  }

Event Sink Configuration

Event Sinks are disabled by default. To enable them, you need to enable the following waffle flag: event_sink_clickhouse.{{model_name}}.enabled where model name is the name of the model that you want to enable. Or, you can enable them via settings by setting EVENT_SINK_CLICKHOUSE_{{model_name}}_ENABLED to True.

Getting Help


Documentation

PLACEHOLDER: Start by going through the documentation_. If you need more help see below.

.. _the documentation: https://docs.openedx.org/projects/platform-plugin-aspects

(TODO: Set up documentation <https://openedx.atlassian.net/wiki/spaces/DOC/pages/21627535/Publish+Documentation+on+Read+the+Docs>_)

More Help

If you're having trouble, we have discussion forums at https://discuss.openedx.org where you can connect with others in the community.

Our real-time conversations are on Slack. You can request a Slack invitation, then join our community Slack workspace.

For anything non-trivial, the best path is to open an issue in this repository with as many details about the issue you are facing as you can provide.

https://github.com/openedx/platform-plugin-aspects/issues

For more information about these options, see the Getting Help <https://openedx.org/getting-help>__ page.

.. _Slack invitation: https://openedx.org/slack .. _community Slack workspace: https://openedx.slack.com/

License


Please see LICENSE.txt <LICENSE.txt>_ for details.

Contributing


Contributions are very welcome. Please read How To Contribute <https://openedx.org/r/how-to-contribute>_ for details.

This project is currently accepting all types of contributions, bug fixes, security fixes, maintenance work, or new features. However, please make sure to have a discussion about your new feature idea with the maintainers prior to beginning development to maximize the chances of your change being accepted. You can start a conversation by creating a new issue on this repo summarizing your idea.

The Open edX Code of Conduct


All community members are expected to follow the Open edX Code of Conduct_.

.. _Open edX Code of Conduct: https://openedx.org/code-of-conduct/

People


The assigned maintainers for this component and other project details may be found in Backstage_. Backstage pulls this data from the catalog-info.yaml file in this repo.

.. _Backstage: https://backstage.openedx.org/catalog/default/component/platform-plugin-aspects

Reporting Security Issues


Please do not report security issues in public. Please email security@openedx.org.

.. _Open edX events: https://github.com/openedx/openedx-events .. _Edx Platform: https://github.com/openedx/edx-platform .. _ClickHouse: https://clickhouse.com .. _Aspects: https://docs.openedx.org/projects/openedx-aspects/en/latest/index.html .. _Superset Embedded SDK: https://www.npmjs.com/package/@superset-ui/embedded-sdk .. _Open edX Filters: https://docs.openedx.org/projects/openedx-filters/en/latest/