Skip to content
This repository was archived by the owner on Jun 2, 2023. It is now read-only.
This repository was archived by the owner on Jun 2, 2023. It is now read-only.

Manifests missing resources, and referencing resources that do not exist. #213

@danielrischar

Description

@danielrischar
  1. Missing completely (partial list):
  • oic.r.colour.chroma
  • oic.wk.d
  • oic.wk.p
  • opent2t.platform
  1. Many manifest.xml files are missing resources referenced by their platform schemas. This file is read by the LocalPackageSource and in order to create the translator packages, so as a result our translators are incomplete. Manifest.xml must list all dependencies (like core, base, resource, link, wk.d, wk.p, etc). OcfSchemaReader already exists in the opent2t library to dereference JSON schemas. This could be used to generate a list of dependencies rather than having to explicitely call them out in the manifest. The current way of doing this tries to keep the same information in at least two places.

  2. Using OcfSchemaReader to dereference a platform schema (like org.opent2t.sample.lamp.superpopular) fails at this point because it cannot find the referenced schemas.

  3. colourRGB is also mispelled.

I recommend that we move all resource definitions under another folder (translators/resources). They only exist at the root for pack-translator.js to pick up. Otherwise, it needlessly increases the number of directories in the translators repo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions