- Revenera Community
- :
- FlexNet Embedded
- :
- FlexNet Embedded Forum
- :
- Checking the Cloud License Instance(CLS) health
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Checking the Cloud License Instance(CLS) health
I am looking for an API in FlexNet Embedded SDK to check the health of a Cloud Licensing Instance to make sure the Cloud Server ID provided by user is reachable to acquire features, before making any capability request.
Is there any API for the same in the client SDK?
CC: @mrathinam
Thanks,
Praveen
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
If you want to check the overall status of the CLS module, whether it is reachable, and the build version you might want to use the GET on "https://flexXXXX.compliance.flexnetoperations.com/GlobalLicensingService/api/1.0/health".
If you want the same information about the build from individual CLS instances, you can use "https://flexXXXX.compliance.flexnetoperations.com/api/1.0/instances/<CLS_ID>/health".
Having the above said, if you want to confirm whether a CLS instance is ready to serve license, you can fire the URL " https://flexXXXX.compliance.flexnetoperations.com/api/1.0/instances/<CLS_ID>". But this endpoint will work with the Bearer token which you will get from the endpoint ""https://flexXXXX.compliance.flexnetoperations.com/api/1.0/instances/<CLS_ID>/authorize"
You can do the get call on the same endpoints from your code to get the health status of the CLS.
There is no specific API from SDK side to check for CLS health as CLS health endpoints are different.
Best Regards,
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)