cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
nityapraveen
Level 3

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

 

0 Kudos
(1) Reply
mrathinam
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @nityapraveen 

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,

0 Kudos