Uploaded image for project: 'Magnolia Webhooks'
  1. Magnolia Webhooks
  2. MGNLHOOK-181

Make REST client to use a proxy on SaaS, always

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 2.0.0
    • None
    • None
    • Yes
    • DevX 18, DevX 21
    • 3

      On SaaS, all the access from Magnolia instances to external URLs, will be done using a proxy, to enforce security.

      That's the reason why two things must be accomplished here:

      • MGNLRESTCL-14
      • Retrieve the proxy to be used from configuration, as it is currently being done from microprofile file for other services.

      To sum up, this story must ensure that REST client uses the SaaS deployed proxy. For that, it must:

      • Check if the Rest Client is running on a SaaS instance.
      • Read the configuration using microprofile (as for example, it's being done with info.magnolia.config.subscriptionService.endpoint), if we are on SaaS.
      • Automatically add that proxy to each RestClientDefinition configured.

      The estimation here only refers to the configuration part, not the support for proxies on REST client (that will be managed in MGNLRESTCL-14)

      Also, upgrade REST client dependency on Webhooks module to 3.0 version.

        Acceptance criteria

          1. micro-profile-proxy.png
            micro-profile-proxy.png
            146 kB
          2. publish.png
            publish.png
            493 kB
          3. un-publish.png
            un-publish.png
            542 kB

              jbenito Javier Benito
              jbenito Javier Benito
              DeveloperX
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 0.75d
                  0.75d