Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 564566 - [Passage] API revision | rework passage settings dirs supplying
Summary: [Passage] API revision | rework passage settings dirs supplying
Status: CLOSED FIXED
Alias: None
Product: Passage
Classification: Technology
Component: API (show other bugs)
Version: 0.9.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.0.0   Edit
Assignee: Elena Parovyshnaia CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 564420
  Show dependency tree
 
Reported: 2020-06-23 04:14 EDT by Elena Parovyshnaia CLA
Modified: 2020-06-26 10:54 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elena Parovyshnaia CLA 2020-06-23 04:14:22 EDT
There are two packs of static utils, that provide access to passage data folders under the local file system:  
 - LicensingPaths is responsible for .passage folder resident under USER_HOME resolution
 - EquinoxPath supplies access to eclipse-specific locations: from-under the program installation path and it's .configuration directory.

Both packs supplies useful data, which needs to be extracted from static utilities to regular classes (Services) and supply final resources that are actually looked for in these directories.
Comment 1 Elena Parovyshnaia CLA 2020-06-26 04:37:13 EDT
PR#1 https://github.com/eclipse-passage/passage/pull/266
    As LicensingConfiguration is a key source of data for paths supplying,
is it reworked as following: 
 - new interface to represent LicensingConfiguration is invited (the previous one is deprecated)
 - Framework is entitled for being responsible for LicensedProduct coordinates providing
 - general purpose LicensingException is invited to separate severe environment misbehaviour detection (like facing the fact that there is no application context service) from business-logic decisions taken basing on this facts

PR2 https://github.com/eclipse-passage/passage/pull/267
  - fully rework and `LicensingPaths` and `EquinoxPath` and deprecate in favor of new facilities
Comment 2 Elena Parovyshnaia CLA 2020-06-26 10:54:18 EDT
Done in
 - lic.base: lic.internal.base.io
 - lic.equinox: lic.internal.equinox.io