webex / webex-js-sdk

JavaScript SDK for Webex
https://webex.github.io/webex-js-sdk/
Other
169 stars 336 forks source link

feat(webex-core): catalog failure handling #3603

Closed Coread closed 1 month ago

Coread commented 1 month ago

COMPLETES #< INSERT LINK TO ISSUE >

This pull request addresses

If the service catalog fails to initialize for whatever reason, e.g. network failure, the consuming application doesn't know

by making the following changes

Added a new attribute on the services called initFailed which is set if the catalog fails to init in the on webex ready handler. Consuming applications can either check webex.internal.services.initFailed directly or can listen for the change:initFailed event to spot when this occurs.

Change Type

The following scenarios where tested

< ENUMERATE TESTS PERFORMED, WHETHER MANUAL OR AUTOMATED >

I certified that


Make sure to have followed the contributing guidelines before submitting.

aws-amplify-us-east-2[bot] commented 1 month ago

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-3603.d3m3l2kee0btzx.amplifyapp.com