Configuration Source xproperty naming rule

Hi devs,

Was reading https://extensions.xwiki.org/xwiki/bin/view/Extension/Configuration%20Module#HPropertiesNamingRules and had forgotten we had defined the naming rules, good to remember it!

So I checked the last CS I added to verify it was matching. And it did, since I used mail.general.obfuscate for org.xwiki.mail.* package.

Now this naming rule is only for xwiki.properties so we should mention that. And we need to clarify the rules for xproperties.

In my mail example, I’ve used obfuscate for the xproperties.

So Maybe we should use that for now since it seems to be our de facto rule.

Thus I’m proposing:

  • xwiki.properties: <module>.<submodule>.<propertyName>
  • xproperties: <propertyName>

WDYT?

Thanks

+1

Thanks,
Marius

+1

+1

Documented at https://extensions.xwiki.org/xwiki/bin/view/Extension/Configuration%20Module#HPropertiesNamingRules

Thanks everyone.