+ 25 // level 1
+ 47 // content of DaoModule
+ 3 // content of EsSearchModule
- + 56 // content of CorePropertyDefinitions
+ + 57 // content of CorePropertyDefinitions
+ 1 // content of CePropertyDefinitions
);
assertThat(picoContainer.getParent().getParent().getParent().getParent()).isNull();
private static final String CATEGORY_ORGANIZATIONS = "organizations";
public static final String ORGANIZATIONS_ANYONE_CAN_CREATE = "sonar.organizations.anyoneCanCreate";
+ public static final String ORGANIZATIONS_CREATE_PERSONAL_ORG = "sonar.organizations.createPersonalOrg";
private CorePropertyDefinitions() {
// only static stuff
.defaultValue(Boolean.toString(false))
.category(CATEGORY_ORGANIZATIONS)
.type(PropertyType.BOOLEAN)
+ .build(),
+ PropertyDefinition.builder(ORGANIZATIONS_CREATE_PERSONAL_ORG)
+ .name("Create an organization for each new user")
+ .defaultValue(Boolean.toString(false))
+ .category(CATEGORY_ORGANIZATIONS)
+ .type(PropertyType.BOOLEAN)
+ .hidden()
.build()));
return defs;
}