meshery / meshery-adapter-library

Library of common functionality for Meshery Adapters
Apache License 2.0
28 stars 32 forks source link

Add a generic OAM capabilities registration function with retries #47

Closed tangledbytes closed 3 years ago

tangledbytes commented 3 years ago

Signed-off-by: Utkarsh Srivastava srivastavautkarsh8097@gmail.com

Description This PR adds a generic OAM capabilities function with retries. This is being done so that capabilities registration process becomes more robust. Function internally uses exponential backoff and retries for 10 mins, after which it fails finally.

Notes for Reviewers A new release of meshery-adapter-library after merging this PR would help move istio adapter OAM capabilities ahead.

Signed commits

tangledbytes commented 3 years ago

Can we get this PR moving? Actually it's blocking another PR on istio adapter. // @leecalcote @kumarabd @mgfeller @Aisuko