Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-16457

Avoid assuming the presence of market.base.url in cdap config

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.2.0
    • Component/s: UI
    • Labels:
      None
    • Rank:
      1|i00uwn:

      Description

      We added support to multi-hub in CDAP UI which looks in for properties `market.base.url` & `market.base.urls` for a host of market base names to talk to from CDAP UI.

      This assumes that `market.base.url` will always be present and that we can set that as default market when the user opens the hub. However this assumption could be problematic when user removes the `market.base.url` property from cdap site config.

      Attached a screenshot for reference. We shouldn't be assuming that the `market.base.url` will be provided always. If not provided we can default to the first market specified in `market.base.urls`

        Attachments

          Activity

            People

            • Assignee:
              ajai Ajai Narayan
              Reporter:
              ajai Ajai Narayan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: