Uploaded image for project: 'Qt License server'
  1. Qt License server
  2. QLS-1727

CIP: misleading API in LicenseReservationInfo::licenseFeatures()

    XMLWordPrintable

Details

    • All

    Description

      The LicenseReservationInfo::licenseFeatures() method suggests it returns features from the license. In actuality, it returns the consumer features from a consumer object attached to a license reservation.

      To make the API more adherent of the domain language for the unified license format, consider deprecating the current method and providing a more suitable method for retrieving the consumer information.

      The qtlicd currently removes all consumers but the one that initiated the license reservation from the reservation request's response, but we may want to change this in the future. To take this into account, one suggestion is to provide two new methods:

      • one that returns a Consumer struct object attached to current reservation
      • one that returns an array of all Consumer objects belonging to the license

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              arttu.tarkiainen Arttu Tarkiainen
              arttu.tarkiainen Arttu Tarkiainen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes