@@ -137,7 +137,7 @@ public class ComputeEngineContainerImplTest { | |||
+ 23 // level 1 | |||
+ 46 // content of DaoModule | |||
+ 3 // content of EsSearchModule | |||
+ 56 // content of CorePropertyDefinitions | |||
+ 57 // content of CorePropertyDefinitions | |||
); | |||
assertThat( | |||
picoContainer.getComponentAdapters().stream() |
@@ -120,6 +120,14 @@ public class CorePropertyDefinitions { | |||
.multiValues(true) | |||
.defaultValue(CoreProperties.PREVIEW_EXCLUDE_PLUGINS_DEFAULT_VALUE) | |||
.build(), | |||
PropertyDefinition.builder(CoreProperties.SKIP_ONBOARDING_TUTORIAL) | |||
.name("Skip the onboarding tutorial") | |||
.type(PropertyType.BOOLEAN) | |||
.description("By default, each new user is lead through a tutorial, that explains how to analyze a first project, after logging in for the fist time. " + | |||
"By enabling this setting, the tutorial will not be shown automatically, but only be visible in the help.") | |||
.category(CoreProperties.CATEGORY_GENERAL) | |||
.defaultValue(String.valueOf(false)) | |||
.build(), | |||
PropertyDefinition.builder(CoreProperties.CORE_AUTHENTICATOR_REALM) | |||
.name("Security Realm") | |||
.hidden() |
@@ -33,7 +33,7 @@ public class CorePropertyDefinitionsTest { | |||
@Test | |||
public void all() { | |||
List<PropertyDefinition> defs = CorePropertyDefinitions.all(); | |||
assertThat(defs).hasSize(56); | |||
assertThat(defs).hasSize(57); | |||
} | |||
@Test |
@@ -493,4 +493,8 @@ public interface CoreProperties { | |||
*/ | |||
String DEFAULT_ISSUE_ASSIGNEE = "sonar.issues.defaultAssigneeLogin"; | |||
/** | |||
* @since 6.5 | |||
*/ | |||
String SKIP_ONBOARDING_TUTORIAL = "sonar.onboardingTutorial.skip"; | |||
} |