Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

564566 [Passage] API revision | rework passage settings dirs supplying #266

Merged
merged 3 commits into from
Jun 26, 2020

Conversation

eparovyshnaya
Copy link
Contributor

@eparovyshnaya eparovyshnaya commented Jun 25, 2020

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

 - invite new interface to represent `LicensingConfiguration`
 - deprecate the previous one
 - move revised retrieval services to the new interface

Signed-off-by: elena.parovyshnaya <[email protected]>
 - let framework be responsible for LicensedProduct coordinates
supplying
 - invite general purpose LicensingException 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

Signed-off-by: elena.parovyshnaya <[email protected]>
@eparovyshnaya eparovyshnaya requested a review from ruspl-afed June 25, 2020 15:37
 - `LicensingConfiguration`, even deprecated, must be implemented as a
data-class according to expectations

Signed-off-by: elena.parovyshnaya <[email protected]>
@codecov
Copy link

codecov bot commented Jun 25, 2020

Codecov Report

Merging #266 into master will decrease coverage by 0.00%.
The diff coverage is 28.42%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #266      +/-   ##
==========================================
- Coverage   11.70%   11.70%   -0.01%     
==========================================
  Files         609      611       +2     
  Lines       15324    15371      +47     
  Branches     1172     1175       +3     
==========================================
+ Hits         1794     1799       +5     
- Misses      13482    13527      +45     
+ Partials       48       45       -3     
Impacted Files Coverage Δ
...rg/eclipse/passage/lic/api/LicensingException.java 75.00% <ø> (ø)
...e/passage/lic/internal/api/LicensingException.java 0.00% <0.00%> (ø)
.../org/eclipse/passage/lic/internal/base/Access.java 0.00% <0.00%> (ø)
...sage/lic/internal/base/InvalidLicensedProduct.java 0.00% <0.00%> (ø)
...ge/lic/internal/e4/ui/addons/E4LicensingAddon.java 0.00% <0.00%> (ø)
...passage/lic/equinox/ApplicationConfigurations.java 0.00% <ø> (ø)
...ge/lic/internal/equinox/ApplicationIdentifier.java 0.00% <0.00%> (ø)
...ssage/lic/internal/equinox/ApplicationVersion.java 0.00% <0.00%> (ø)
...e/passage/lic/internal/equinox/EquinoxPassage.java 0.00% <0.00%> (ø)
...sage/lic/internal/equinox/LicensedApplication.java 0.00% <0.00%> (ø)
... and 12 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dcc81ec...bbe0f20. Read the comment docs.

@ruspl-afed ruspl-afed self-requested a review June 26, 2020 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants