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

561248 design client API entry point #171

Merged
merged 3 commits into from
Mar 24, 2020
Merged

561248 design client API entry point #171

merged 3 commits into from
Mar 24, 2020

Conversation

eparovyshnaya
Copy link
Contributor

Bug 561248 - [Passage] design client API entry point

  • new Plug-in project template LicensedE4FullFeatherProduct is added to ldc.pde.ui.templates` to illustrate new api usage from developer's
    point of view
  • lic.api changes
    • Registry API is moved to the right internal package
    • two base interfaces are added to internal part to denote the
      main entry point for a client (developer): Passage and Framework
  • lic.base changes
    • BaseLicensingConfiguration is moved to internal (safe as it
      was of package local visibility) and published for usage
    • LicensingConfigurations static utils are deprecated
    • Registry-client constructions are moved to the right internal
      package
  • lic.e4.ui changes
    • existing LicensingAddon is deprecated
    • new E4LicensingAddon is invited to internal part to be built
      over the API under construction
  • lic.equinox changes
    • ApplicationConfigurations static utils set is deprecated
    • new internal part implements (1) building a
      LicensingConfiguration from IApplicationContext (2) invites empty
      implementations for main entry client points (used by Newly invited
      E4LicensingAddon)

Signed-off-by: elena.parovyshnaya [email protected]

 - new Plug-in project template `LicensedE4FullFeatherProduct is added
to `ldc.pde.ui.templates` to illustrate new api usage from developer's
point of view
 - `lic.api` changes
    - Registry API is moved to the right `internal` package
    - two base interfaces are added to `internal` part to denote the
main entry point for a client (developer): `Passage` and `Framework`
 - `lic.base` changes
    - `BaseLicensingConfiguration` is moved to `internal` (safe as it
was of package local visibility) and published for usage
    - `LicensingConfigurations` static utils are deprecated
    - Registry-client constructions are moved to the right `internal`
package
 - `lic.e4.ui` changes
    - existing `LicensingAddon` is deprecated
    - new `E4LicensingAddon` is invited to `internal` part to be built
over the API under construction
 - `lic.equinox` changes
    - `ApplicationConfigurations` static utils set is deprecated
    - new `internal` part implements (1) building a
LicensingConfiguration from IApplicationContext (2) invites empty
implementations for main entry client points (used by Newly invited
E4LicensingAddon)

Signed-off-by: elena.parovyshnaya <[email protected]>
 - add license headers

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

codecov bot commented Mar 22, 2020

Codecov Report

Merging #171 into master will decrease coverage by 0.01%.
The diff coverage is 14.61%.

Impacted file tree graph

@@             Coverage Diff             @@
##             master    #171      +/-   ##
===========================================
- Coverage      9.49%   9.48%   -0.02%     
  Complexity      105     105              
===========================================
  Files           440     452      +12     
  Lines         13102   13259     +157     
  Branches       1104    1111       +7     
===========================================
+ Hits           1244    1257      +13     
- Misses        11823   11967     +144     
  Partials         35      35              
Impacted Files Coverage Δ Complexity Δ
...tes/LicensedE4FullFeatherProductContentWizard.java 0.00% <0.00%> (ø) 0.00 <0.00> (?)
...s/LicensedE4FullFeatherProductTemplateSection.java 0.00% <0.00%> (ø) 0.00 <0.00> (?)
...e/ui/templates/LicensedE4ProductContentWizard.java 0.00% <ø> (ø) 0.00 <0.00> (ø)
...ui/templates/LicensedE4ProductTemplateSection.java 0.00% <ø> (ø) 0.00 <0.00> (ø)
...ipse/passage/lic/base/LicensingConfigurations.java 100.00% <ø> (ø) 0.00 <0.00> (ø)
.../org/eclipse/passage/lic/internal/base/Cached.java 0.00% <0.00%> (ø) 0.00 <0.00> (?)
...c/internal/base/InvalidLicensingConfiguration.java 0.00% <0.00%> (ø) 0.00 <0.00> (?)
...ic/internal/base/registry/BaseRuntimeRegistry.java 0.00% <ø> (ø) 0.00 <0.00> (?)
...sage/lic/internal/base/registry/JointRegistry.java 0.00% <ø> (ø) 0.00 <0.00> (?)
...lipse/passage/lic/e4/ui/addons/LicensingAddon.java 0.00% <ø> (ø) 0.00 <0.00> (ø)
... and 23 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 971965a...4cd50a3. Read the comment docs.

@eparovyshnaya eparovyshnaya changed the title 561248 561248 design client API entry point Mar 23, 2020
 - fix license headers, append javadoc and user-friendly error messages

Signed-off-by: elena.parovyshnaya <[email protected]>
@eparovyshnaya eparovyshnaya merged commit cb111e7 into master Mar 24, 2020
@eparovyshnaya eparovyshnaya deleted the 561248 branch April 5, 2020 08:55
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