adobe / aem-modernize-tools

A suite of tools to modernize your AEM Sites implementations off legacy features.
http://opensource.adobe.com/aem-modernize-tools/
Apache License 2.0
64 stars 42 forks source link

New APIs for Improving usability #156

Closed bstopp closed 2 years ago

bstopp commented 2 years ago

Description

This will tweak the APIs so that the services can look up rules more efficiently and therefore allow the Job to find and run them easier.

Types of changes

Checklist:

codecov[bot] commented 2 years ago

Codecov Report

Merging #156 (0f67b72) into main (8425e16) will increase coverage by 0.53%. The diff coverage is 83.89%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main     #156      +/-   ##
============================================
+ Coverage     79.80%   80.33%   +0.53%     
- Complexity      442      488      +46     
============================================
  Files            34       38       +4     
  Lines          1956     2192     +236     
  Branches        361      396      +35     
============================================
+ Hits           1561     1761     +200     
- Misses          290      312      +22     
- Partials        105      119      +14     
Flag Coverage Δ
unittests 80.33% <83.89%> (+0.53%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...odernize/component/impl/ComponentTreeRewriter.java 92.30% <ø> (ø)
...ava/com/adobe/aem/modernize/impl/RewriteUtils.java 89.47% <ø> (ø)
.../aem/modernize/policy/impl/PolicyTreeImporter.java 81.39% <ø> (ø)
...ze/servlet/AbstractListConversionPathsServlet.java 100.00% <ø> (ø)
...e/aem/modernize/servlet/ListComponentsServlet.java 42.85% <ø> (ø)
...dobe/aem/modernize/servlet/ListDesignsServlet.java 100.00% <ø> (ø)
...dernize/servlet/rule/AbstractListRulesServlet.java 89.65% <ø> (ø)
...ernize/servlet/rule/ListComponentRulesServlet.java 100.00% <ø> (ø)
...modernize/servlet/rule/ListPolicyRulesServlet.java 100.00% <ø> (ø)
...dernize/servlet/rule/ListTemplateRulesServlet.java 52.00% <ø> (+8.00%) :arrow_up:
... and 15 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 8425e16...0f67b72. Read the comment docs.