Uploaded image for project: 'Microfrontends'
  1. Microfrontends
  2. MF-3

Allow for "infrastructure scripts" to be modified/configured in openmrs-module-spa

Waiting for DevIn ProgressAcceptance TestCancelled
    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Done
    • Priority: Should
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Low

      Description

      For offline usage, we need to modify these lines of code to request systemjs, import-map-overrides, etc from either the Tomcat server or a load balancer (nginx/httpd) that's in front of Tomcat.

       

      Options:

      1) Make those scripts fully configurable via Java configuration and Tomcat

      2) Change those scripts to always do same-origin requests for those resources. Maybe something like `/infrastructure/systemjs@3.1.6/dist/systemjs.min.js` or something similar.

       

      Thoughts?

        Attachments

          Activity

            People

            Assignee:
            fali Fatma Ali
            Reporter:
            joeldenning Joel Denning
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: