Uploaded image for project: 'Operator Runtime'
  1. Operator Runtime
  2. OPRUN-2840

[upstream] Create an entity source implementation that uses the registry client to speak with catalog sources.

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Future Sustainability
    • False
    • Hide

      None

      Show
      None
    • False
    • 3
    • None
    • Ultron 229, Voltron 230, Windu 231, X-Files 232, Yamask 233, Zuko 234

      User Story:

      • As a Deppy User, I would like to use Deppy to consider if a set of constraints can be met by content within a catalogSource.

      Background:

      • For OpenShift 4.13, the Operator Runtime team is attempting to hit the first milestone of OLM V1 which consists of an MVP capable of installing an operator.
      • The operator that the MVP installs will ultimately need to come from an existing catalogSource, as the alternatives would require implementing a new storage API for an operator, which was deemed too much work for 4.13.
      • As such, the team has opted to wrap the existing registry client within a "Deppy Source Interface", constraining the Deppy library to only sourcing content from catalogSource but allowing us to reach the e2e milestone quickly.
      • This approach will also allow us to write most of the code that will eventually be used by the "DeppySource catalogSource adapter" to convert existing content into the  format desired by Deppy.

      Acceptance Criteria:

      • Deppy can be provided with a catalogSource, treat it as an EntitySource, and retrieve the bundles and store them in a cache.
      • Deppy can be notified that a catalogSource has been updated, retrieve the new content, and update the cache.
      • Deppy can be notified that a catalogSource has been deleted and remove that source and it's entities from the cache.
      • A test is implemented ensuring that Deppy can communicate with catalogSources.

      Upstream Issue:

       

       

          There are no Sub-Tasks for this issue.

              ankithom Ankita Thomas
              agreene1991 Alexander Greene (Inactive)
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: