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

issue #2960 shared-component-properties add support for lazy bindings, require AEM 6.5.7+ #2964

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

adamcin
Copy link
Contributor

@adamcin adamcin commented Oct 9, 2022

This is a proper approach to resolving #2960 in a way that requires an increase in the minimum supported AEM version to 6.5 SP7.

I rebased the master PR branch for pre-6.5.7 support and then added a commit to upgrade the platform dependencies to 6.5.7 and replace the use of reflection with proper LazyBinding types.

@joerghoh @kwin @HitmanInWis @davidjgonzalez

@adamcin adamcin changed the title issue #2960 shared-component-properties add support for lazy bindings issue #2960 shared-component-properties add support for lazy bindings, require AEM 6.5.7+ Oct 9, 2022
@adamcin adamcin force-pushed the feature/issue-2960-scpbvp-support-lazy-bindings-version-600 branch 3 times, most recently from 3937876 to 8833320 Compare October 9, 2022 16:57
@codecov
Copy link

codecov bot commented Oct 9, 2022

Codecov Report

Merging #2964 (c935883) into acs-aem-commons-6.0.0 (d8162c4) will increase coverage by 0.04%.
The diff coverage is 92.42%.

@@                     Coverage Diff                     @@
##             acs-aem-commons-6.0.0    #2964      +/-   ##
===========================================================
+ Coverage                    54.60%   54.64%   +0.04%     
- Complexity                    5256     5274      +18     
===========================================================
  Files                          697      697              
  Lines                        28395    28418      +23     
  Branches                      3658     3654       -4     
===========================================================
+ Hits                         15506    15530      +24     
- Misses                       11436    11438       +2     
+ Partials                      1453     1450       -3     
Impacted Files Coverage Δ
...aredComponentPropertiesBindingsValuesProvider.java 77.14% <88.63%> (+8.39%) ⬆️
.../transformers/impl/AdjustImageTransformerImpl.java 90.00% <100.00%> (ø)
.../transformers/impl/ResizeImageTransformerImpl.java 76.92% <100.00%> (ø)
...s/transformers/impl/ScaleImageTransformerImpl.java 100.00% <100.00%> (+13.33%) ⬆️
...ties/shared/impl/SharedPropertiesRequestCache.java 94.11% <100.00%> (+0.36%) ⬆️
.../main/java/com/adobe/acs/commons/data/Variant.java 66.66% <0.00%> (-0.97%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@adamcin adamcin force-pushed the feature/issue-2960-scpbvp-support-lazy-bindings-version-600 branch from 8833320 to 027f47f Compare October 9, 2022 17:36
@adamcin
Copy link
Contributor Author

adamcin commented Oct 9, 2022

So... I think something related to these two links is causing some unit tests to break in java17 that pass in java11, AFTER upgrading to org.apache.sling.api 2.22.0:

SLING-8116 ValueMap - implement default methods using OSGI Converter

https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/doc-files/ValueBased.html

@adamcin adamcin force-pushed the feature/issue-2960-scpbvp-support-lazy-bindings-version-600 branch from 027f47f to 2641f56 Compare October 10, 2022 01:45
@davidjgonzalez davidjgonzalez added this to the 6.0.0 milestone Oct 21, 2022
@davidjgonzalez davidjgonzalez deleted the branch Adobe-Consulting-Services:master February 24, 2023 18:05
@davidjgonzalez davidjgonzalez reopened this Mar 9, 2023
@davidjgonzalez davidjgonzalez modified the milestones: 6.0.0, 6.1.0 Mar 9, 2023
@davidjgonzalez davidjgonzalez modified the milestones: 6.1.0, 6.2.0 Sep 8, 2023
@davidjgonzalez davidjgonzalez changed the base branch from acs-aem-commons-6.0.0 to master September 8, 2023 20:30
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.

None yet

2 participants