Closed HannesWell closed 1 month ago
@HannesWell many thanks for the finding. Indeed, it revelas that there are two mechanisms for the same purpose, and none of them covers enough ground.
So. In the scope of this task following things shoul be done:
Irrenevant as LOC sample project has been shut down.
Using an OSGi EventListener registered (e.g. as DS component) for the topics
org/eclipse/passage/loc/api/OperatorLicenseEvents/decodedIssued
org/eclipse/passage/loc/api/OperatorLicenseEvents/encodedIssued
is not as powerful as registering an
LicensePackIssueListener
as Eclipse Extension for two reasons:EventAdmin.postEvent()
vsEventAdmin.sendEvent()
)If both points are implemented, using an OSGi
EventListener
can even be more powerful since thedecodedIssued
event is fired before the the encoding happens, which allows to enhance the issued decoded license file before it is encoded. This can for example be used to issue Passage 2 complaint files with Passage 3.