In AEM servlet, I have set the four default values of OSGI configuration. First time when I build the project, In Felix console, I can see four osgi configurations. But once I update the configurations, following scenarios are happening. Can somebody please confirm if this is the way OSGI works.
Once I update/delete the configurations (atleast one config is there), and if I build again, default values are not getting restored. It remains in the previous modified state. I think is the correct behavior. Please confirm.
Since this is of type array, when I delete all the default configurations from Felix console, and if I build again, then default values are getting restored. This behavior is different than above scenario. Why is this so?
@Property(value={"gophone", "mobile", "tablet", "desktop"}, unbounded = PropertyUnbounded.ARRAY, cardinality=50, label = "Blocked urls", description = "Blocked urls") private static final String URLS_LIST = "blockedUrls";