Skip to content

Add testing for implicit judgment calculation #169

Open
@wrigleyDan

Description

@wrigleyDan

Implicit judgment calculation depends on data being available in a format adhering to the UBI schema. The UBI plugin became available via Maven repositories with OpenSearch 3.1 which is why adding tests was not easily possible prior to the release.

With the plugin being available and new features being added to the implicit judgment calculation (see #165) tests are revisited and we need a good solution for this moving forward.

Required for proper testing is the availability of data in the UBI format in the index ubi_events.

I see two potential ways to do that:

  1. Integrate the UBI plugin
  • Use the plugin for tests
  • Run the initialize endpoint to create the indexes with the appropriate mappings
  • Index events used for tests
  1. Use the mappings only
  • Create ubi_events index with mappings (retrieve from UBI repo)
  • Index events used for tests

It would be great if we could tag on to a process that already exists in other plugins within the OpenSearch ecosystem instead of reinventing the wheel.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions