You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (Jira)" <ji...@apache.org> on 2021/11/30 16:04:00 UTC

[jira] [Resolved] (SLING-10951) sling-mock: Get rid of "Deprecated service mapping by userId" warnings

     [ https://issues.apache.org/jira/browse/SLING-10951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Seifert resolved SLING-10951.
------------------------------------
    Resolution: Fixed

https://github.com/apache/sling-org-apache-sling-testing-sling-mock/commit/bf4c5e19ce1614ba707c9abd499cfeb17a9db130

> sling-mock: Get rid of "Deprecated service mapping by userId" warnings
> ----------------------------------------------------------------------
>
>                 Key: SLING-10951
>                 URL: https://issues.apache.org/jira/browse/SLING-10951
>             Project: Sling
>          Issue Type: Improvement
>          Components: Testing
>    Affects Versions: Testing Sling Mock 3.2.0
>            Reporter: Stefan Seifert
>            Assignee: Stefan Seifert
>            Priority: Minor
>             Fix For: Testing Sling Mock 3.2.2
>
>
> with latest service user mapping bundle, unit tests generate warnings like
> {noformat}
> WARN org.apache.sling.serviceusermapping.Mapping - Deprecated service mapping by userId, refactor to mapping by principal names (e.g. 'mock-bundle=[admin]').
> {noformat}
> we want to get rid of those.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)