You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2022/08/08 07:01:00 UTC

[jira] [Created] (SLING-11516) Generate adapter metadata json for adaptations natively supported by ResourceResolverImpl

Konrad Windszus created SLING-11516:
---------------------------------------

             Summary: Generate adapter metadata json for adaptations natively supported by ResourceResolverImpl
                 Key: SLING-11516
                 URL: https://issues.apache.org/jira/browse/SLING-11516
             Project: Sling
          Issue Type: Improvement
          Components: ResourceResolver
    Affects Versions: Resource Resolver 1.9.0
            Reporter: Konrad Windszus


Currently the Felix Web Console plugin at {{/system/console/adapters}} doesn't expose the adaptation from {{ResourceResolver}} to {{javax.jcr.Session}} and {{ResourceMapper}} as both are not leveraging the AdapterFactory SPI but rather implement this directly in the {{adaptTo}} method (https://github.com/apache/sling-org-apache-sling-resourceresolver/blob/b2ae3d5685d76498d353465c63e739b8745cf314/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverImpl.java#L648-L654). The annotations processed by https://github.com/apache/sling-adapter-annotations should be used to generate an according metadata JSON file which is evaluated by the Felix Web Console plugin.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)