This addresses https://github.com/SumoLogic/sumologic-cloudfoundry-nozzle/issues/17, which causes the nozzle to fail when the refresh token of the client expires. In the event of such a failure, we instantiate a new cfClient for the nozzle, allowing us to obtain a new refresh token.
The refresh token expiration is dictated by the refresh_token_validity property on the cf client with a default value of 2592000 seconds (30 days). This property is configurable via the uaac CLI.
This addresses https://github.com/SumoLogic/sumologic-cloudfoundry-nozzle/issues/17, which causes the nozzle to fail when the refresh token of the client expires. In the event of such a failure, we instantiate a new cfClient for the nozzle, allowing us to obtain a new refresh token.
The refresh token expiration is dictated by the
refresh_token_validity
property on thecf
client with a default value of 2592000 seconds (30 days). This property is configurable via theuaac
CLI.