Hi @djohn98390536,in case your method is private, then you shouldn't write a unit test for it at all. This is considered bad practice by most. Instead, focus on testing your public methods that will cover the logic in your private methods as well. Good luck,Daniel
Hi @BenBr9,check the OSGi Configuration named Apache Sling Servlet/Script Resolver and Error Handler if it allows for the /bin/* path. By default /bin/* should be allowed, but maybe you are not using the default config. Also, it is recommended to use resource type based servlets over path based. Goo...
Hi @chalamcharla,true, I also see it on AEMaaCS Author, but not on Publisher. In our case, we use a custom servlet to fetch Vanity URLs so we don't use the one from libs. Maybe you will need to ask Adobe support. Good luck,Daniel
Hi @chalamcharla,this should be included in the SDK, works fine for me locally.http://localhost:4503/libs/granite/dispatcher/content/vanityUrls.htmlMaybe your Dispatcher filters are allowing this path? BR,Daniel
Hi @djohn98390536,to write a Junit test for the code sample I think first you need to fix the code as your variable outString is initialized but not assigned to any value: private static String StreamToString(InputStream is) {
String outString = null;
try {
StringWriter writer = new ...
Hi @EvertonSa2,it is documented here: https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/content-delivery/cdn-configuring-traffic#client-side-redirectors You can do redirects both on CDN and Apache, usually closer to the client is better - CDN. Good luck...
Hi @SamuelKr,finding the right talents with AEM experience is not a simple task. I think Experience League and LinkedIn are still the best options. In case you cannot find talent internally to hire, I am also offering them: https://meticulous.digital/rate-card Good luck,Daniel
Hi @SRC_AEM_DEV,ensure you add the Client Lib containing your CSS to the XF Page component. I assume it has only been added to the main page which is not loaded when you edit the XF. Good luck,Daniel
Hi @NageshRaja,yes, put the common configuration in the most generic config folder and then only the differences in the more specific config folders. Keep in mind OSGi configurations can also contain environment variables as values, so maybe you don't even need different OSGi configurations, just se...