Uploaded image for project: 'Hybrid Application Console'
  1. Hybrid Application Console
  2. HAC-390

Handle Host App's apiDiscovery Functionality as Optional

XMLWordPrintable

      While we were bootstrapping up the apiDiscovery in OpenShift Console (HAC-375) we realized it used GraphQL. This isn't viable for the SDK as GraphQL needs a backend and comes with some additional files & settings for setup. Since we don't want it, but OpenShift Console needs it, we need to manage a fallback.

      Acceptance Criteria

      • Make the prop for apiDiscovery optional in AppInitSDK
      • Using the provided fetch call, make a call to get the resources it used
      • Try to seamlessly setup the SDK store with the information provided
        • If not possible, start a conversation to manage how we will configure the initial setup of the apiDiscovery

      Details

      • This code will not be for OpenShift Console (as they will provide apiDiscovery themselves, this may need to wait for HAC or use some sort of sandbox

            jakumar jaivardhan Kumar
            aballantyne Andrew Ballantyne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: