How to create osgi config node for Factory services
Hi Team,
I have to set a system user (serviceuser) for my project so I tried to create osgi config node for org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl with the name org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended-myproject
I have added the below properties -
service.ranking which is set to empty and later tried with 0 & 75000
user.mapping which is set to com.mycompany.myproject-bundle:writeService=serviceuser
I followed discussion there in https://forums.adobe.com/thread/2329678
I created org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl as well but in web console, I'm unable to see my configuration.
Is it mandatory to create org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl config node as well along with amended config?
I tried by creating the node names as -
org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended.config
org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended.config-myproject.
But still, my configuration is not available in OSGi configuration.
Can you please help me in this by providing any steps? Am I missing anything? I'm using AEM 6.2
Thanks,
AryA.


