Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For this solution, we can use two options:the same function of bringg-dispatcher, because the bringg gets the fees of LaunchDarkly through the fee.service, so we can use the same function for this, we just need to add the fee.service in the constructor of partner-dispatcher and user the function.

...

Task

Task 1 - Create a new feature flag in back-end

  • Create new feature flag for adding in the function getFees in Partners-dispatch file.

  • This Flag must be customized, for control by brand, market and stage (dev-plk-es)

  • suggest of name enable-get-fees-and-discount-by-brand (in

...

Task 2 - Import fee.service and use the function to get the fees of Launch Darkly

  • Import fee.service in the constructor - analyze impacts

  • Use the function getFeeAndDiscountByBrand to get fees of Launch Darkly

  • Important - Maintain the values of baseDeliveryFee and fee, because these values are of DMP and need maintained. (look up img 1)

  • Adjust unit tests

Question

We have some features flags with fees, are we going to use these flags or create a new?

...