Technical Debt

This is a place to store known issues that we need to come back to in order to avoid accumulating technical debt.

 

  1. We have modified the import of course/certificate links to look up the certificate name and store a duplicate in order to access that information via API call. Eventually, we want to eliminate that duplicate storage by either looking up the information on the fly in the response or doing a lookup in AEM based on the certificate ID.

  2. We need to adjust the license, transcript, and course caching on the Magento account page so that they are cleared when a user signs out. Additionally, implement the built-in rate limiter instead of our naive request limiting.

  3. New classes without unit tests: (requires update to list)

    app/code/Relias/CartMerge/Plugin/CartMerge.php app/code/Relias/PageLimiter/Block/Account/AuthorizationLink.php
  4. Automated Deployments: (Description Needed)

    1. Automated Unit Tests

    2. Regression Testing

      1. Automation

    3. AEM Cloud Manager?

  5. AEM Multi-Site

  6. BitBucket/Jira Pipelines

    1. Visible deployment locations for POs

  7. Refactor CSS

  8. At this time, our Magento license import does not handle license region codes for international regions. It expects all codes to be in the format of a two character country identifier, a - character, and a two character region identifier. It also has the issue where a US National license resulted in a region code of just US.

  9. Have coding standards for CSS, and for the frontend framework we choose Angular/React.

  10. Avoid the use of aroundExecute in Plugins.

    Magento says:

Avoid using around method plugins when they are not required because they increase stack traces and affect performance. The only use case for around method plugins is when the execution of all further plugins and original methods need termination. Use after method plugins if you require arguments for replacing or altering function results.

Suggestions:

Depending on the use case, using beforeExecute should still help accomplish similar objectives.

References:

https://devdocs.magento.com/guides/v2.4/extension-dev-guide/plugins.html