--info doesn't work with session scope licenses
Table of contents
Current behavior
If a license is not persistent but only session based, it can't be queried with the --info
parameter.
Steps to reproduce
Configure a session type license with ADTF_LICENSE_KEY
. Try to query license information with licenser_tool --info
.
As there is no license file on disk, querying the info fails. Given the session scope, there can't be a license file either.
Expected behavior
licenser_tool --info
needs to query the license information from the server if ADTF_LICENSE_KEY
is specified and no local file can be found. It must assume that the license may be of type "session scope" and therefore can't possibly exist as a file.
Optionally provide an --info --offline
combination of flags to skip all online validation, but this simply won't work with session type licenses (by design).