Uploaded image for project: 'CFA MX '
  1. CFA MX
  2. CFAMX-9690

Order Guide - Vendor Based Rules - Exclude Rules

    Details

    • Sprint:
      CFAMX 2020R3 Sprint 3
    • SCRUM Team:
      Brotherhood of Mutants
    • Story Points:
      3
    • Work Type Classification:
      Sustaining

      Description

      As a product owner I want the rules engine to be updated to take into account exclude rules when processing Vendor Based rules so that the order guide can be used to exclude restaurants

      Hierarchy of applying rules

      1. Restaurant - Exclude (Most important)
      2. Restaurant - Include
      3. Vendor-Specific Zone - Exclude
      4. Vendor-Agnostic Zone - Exclude
      5. Vendor-Specific Zone - Include
      6. Vendor-Agnostic Zone - Include (least important)

      Examples from google sheet

      Prerequisites

      MV-3

      MV-4

      MV-5b, builds on MV-5a

      MV-5c, builds on MV-5a and MV-5b

      MV-6

      Acceptance Criteria

      1. Confirm that rules are applied in the correct order of importance
      2. MV-3 - Confirm when an item is assigned to a restaurant using a Vendor Specific Zone rule, and a Vendor Agnostic Exclude rule is applied, the VEI is discontinued based on the exclude rule
      3. MV-4 - Confirm when two VEIs are created at a restaurant using a Vendor Agnostic Include Rule and a Vendor Specific Exclude Rule is introduce, only the VEI relating to that Specific Vendor is discontinued
      4. MV-5b - Confirm when there are an Include Rule and Exclude rule starting on the same day, that the corresponding VEIs have the correct Introduction and Discontinue dates
      5. MV-5c - Confirm when a Restaurant Include Rule is introduced alongside a Vendor Specific Exclude Rule the VEI follows the Introduction Date of the Restaurant rule
      6. MV-6 - Confirm when two VEIs are created at a restaurant using two different Vendor Specific Include Zone rules, and then an Exclude Rule is introduced for one of those Specific Vendors the VEI for that Vendor is discontinued, but the second VEI is not

        Attachments

        1. zones.png
          zones.png
          18 kB
        2. OrderGuideTestSetup.sql
          5 kB
        3. OrderGuideTeardown.sql
          2 kB
        4. OrderGuideMultiVendorTestRunner.sql
          2 kB
        5. OrderGuideMultiVendorScenarios.sql
          17 kB
        6. OrderGuideItemCreation.sql
          4 kB
        7. MV-6.png
          MV-6.png
          30 kB
        8. MV-5c.png
          MV-5c.png
          31 kB
        9. MV-5b.png
          MV-5b.png
          26 kB
        10. MV-4.png
          MV-4.png
          36 kB
        11. MV-3.png
          MV-3.png
          32 kB

          Issue Links

            Activity

              People

              • Assignee:
                will.englefield Will Englefield (Inactive)
                Reporter:
                will.englefield Will Englefield (Inactive)
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 24h Original Estimate - 24h
                  24h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 27.75h
                  27.75h

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.