adobe / aemanalyser-maven-plugin

A Maven plugin used by developers who develop Java components for AEMaaCS (AEM as a Cloud Service) during their local Java builds to ensure that their components work correctly in when deployed to AEM as a Cloud Service.
Apache License 2.0
23 stars 20 forks source link

Add analyser to ban immutable OSGi configurations #119

Closed kwin closed 2 years ago

kwin commented 2 years ago

According to https://experienceleague.adobe.com/docs/experience-manager-cloud-service/implementing/deploying/osgi-configuration-api.html?lang=en only some OSGi configurations may be altered. This should be checked with an analyser which includes checks for

  1. Configuration PIDs which may not be altered at all
  2. Configuration Properties of PIDs which may have some constraints
kwin commented 2 years ago

Sorry for the noise, I see this is already part of the analyser from https://github.com/apache/sling-org-apache-sling-feature-extension-apiregions, namely https://github.com/apache/sling-org-apache-sling-feature-extension-apiregions/blob/master/src/main/java/org/apache/sling/feature/extension/apiregions/analyser/CheckConfigurationApi.java