Skip to content
This repository has been archived by the owner on Jan 5, 2021. It is now read-only.

Commit

Permalink
Added an important group
Browse files Browse the repository at this point in the history
  • Loading branch information
bamandel committed Mar 8, 2018
1 parent 81bd009 commit f4c88f6
Showing 1 changed file with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ class DetectConfiguration {
public static final String GRADLE = 'gradle'
public static final String DOCKER = 'docker'

private static final String GROUP_IMPORTANT = '!important'
private static final String GROUP_HUB_CONFIGURATION = 'hub configuration'
private static final String GROUP_GENERAL = 'general'
private static final String GROUP_LOGGING = 'logging'
Expand Down Expand Up @@ -339,23 +340,23 @@ class DetectConfiguration {
@Value('${detect.api.timeout:}')
Long apiTimeout

@ValueDescription(description="URL of the Hub server", group=DetectConfiguration.GROUP_HUB_CONFIGURATION)
@ValueDescription(description="URL of the Hub server", group=DetectConfiguration.GROUP_IMPORTANT)
@Value('${blackduck.hub.url:}')
String hubUrl

@ValueDescription(description="Time to wait for rest connections to complete", defaultValue="120", group=DetectConfiguration.GROUP_HUB_CONFIGURATION)
@ValueDescription(description="Time to wait for rest connections to complete", defaultValue="120", group=DetectConfiguration.GROUP_IMPORTANT)
@Value('${blackduck.hub.timeout:}')
Integer hubTimeout

@ValueDescription(description="Hub username", group=DetectConfiguration.GROUP_HUB_CONFIGURATION)
@ValueDescription(description="Hub username", group=DetectConfiguration.GROUP_IMPORTANT)
@Value('${blackduck.hub.username:}')
String hubUsername

@ValueDescription(description="Hub password", group=DetectConfiguration.GROUP_HUB_CONFIGURATION)
@ValueDescription(description="Hub password", group=DetectConfiguration.GROUP_IMPORTANT)
@Value('${blackduck.hub.password:}')
String hubPassword

@ValueDescription(description="Hub API Token", group=DetectConfiguration.GROUP_HUB_CONFIGURATION)
@ValueDescription(description="Hub API Token", group=DetectConfiguration.GROUP_IMPORTANT)
@Value('${blackduck.hub.api.token:}')
String hubApiToken

Expand Down Expand Up @@ -383,7 +384,7 @@ class DetectConfiguration {
@Value('${blackduck.hub.proxy.ntlm.workstation:}')
String hubProxyNtlmWorkstation

@ValueDescription(description="If true, automatically trust the certificate for the current run of Detect only", defaultValue="false", group=DetectConfiguration.GROUP_HUB_CONFIGURATION)
@ValueDescription(description="If true, automatically trust the certificate for the current run of Detect only", defaultValue="false", group=DetectConfiguration.GROUP_IMPORTANT)
@Value('${blackduck.hub.trust.cert:}')
Boolean hubTrustCertificate

Expand All @@ -395,7 +396,7 @@ class DetectConfiguration {
@Value('${detect.resolve.tilde.in.paths:}')
Boolean resolveTildeInPaths

@ValueDescription(description="Source path to inspect", group=DetectConfiguration.GROUP_PATHS)
@ValueDescription(description="Source path to inspect", group=DetectConfiguration.GROUP_IMPORTANT)
@Value('${detect.source.path:}')
String sourcePath

Expand Down Expand Up @@ -635,7 +636,7 @@ class DetectConfiguration {
@Value('${detect.hub.signature.scanner.exclusion.patterns:}')
String[] hubSignatureScannerExclusionPatterns

@ValueDescription(description="These paths and only these paths will be scanned.", group=DetectConfiguration.GROUP_SIGNATURE_SCANNER)
@ValueDescription(description="These paths and only these paths will be scanned.", group=DetectConfiguration.GROUP_IMPORTANT)
@Value('${detect.hub.signature.scanner.paths:}')
String[] hubSignatureScannerPaths

Expand Down

0 comments on commit f4c88f6

Please sign in to comment.