Uploaded image for project: 'Subscription Watch'
  1. Subscription Watch
  2. SWATCH-2278

Port the product deny list configuration to swatch-contracts

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Normal Normal
    • 2024-06-12 - API
    • None
    • None
    • None
    • 5

      At the moment, the denylist of products is defined in the configMap named "capacity-denylist" (see here).

      1) What service owns this? swatch-contracts

      2) Does it stay as a config map? no, change it to a resource file in swatch-contract, change the build of swatch-subscription-sync to load this same file as part of it's build. 

      Acceptance Criteria

      • Create product-denylist.txt file in the swatch-contract resources, copy the logic that reads from swatch-subscription-sync & convert from reading the config map to reading the file directly. This change is also needed in swatch-subscription-sync
      • There will be a gradle build change to copy this file from swatch-contracts to the monolith build so that swatch-subscription-sync maintains access to the same data
      • Verify presence of IQE tests to ensure that we don't accidentally break the deny-list for swatch-subscription-sync in the process. 

              awood1@redhat.com Alex Wood
              jcarvaja@redhat.com Jose Carvajal Hilario
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: