Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Document Properties Marker
overridefalse
Doctypemacrohide
NameSonar Link Macro 
Short DescriptionRenders a link to a project on a Sonar service. 
Parent
Parent Property
property-nameName
 
Audience
Name List
doctyperole
render-no-hits-as-blanktrue
propertyAudience
 
Categories
Name List
doctypecategory
namesLink / Information System
 
Tags
Tag List
namesLink Resource, Remote Reference
 
Iteration
Iteration
valuedeprecated
 
ExtensionInformation Systems Extension 
Since1.0 
Sort Keyhide
Section
indextrue
titleDescription
Transclusion
documentDeprecation of InfoSys Link Macros in 1.0
idsSummary

Renders a link to a project on a Sonar server.

The macros purpose is to specify the reference to the Sonar server at one place (as a Confluence shortcut or space property) and reuse this URL throughout the usage of this macro.

Transclusion
documentInformation System Extension Notice
idsSummary

Section
titleProperties
Section
titleSystem Identifier

Identifies the connection information via Confluence shortcuts or space properties.

Defaults to sonar.

Transclusion
documentSystem Identifier to URI Resolution Algorithm
idsFragment

Section
titleProject

The identifier of the project to link to. Defaults to project-group-id/project-artifact-id Project Group ID/Project Artifact ID , if given as space properties.

Example Box

Assume for this example that your Sonar server is at

Code Block
https://www.example.com/sonar

To reference your project with group ID de.example.apps and artifact ID my-app (specified as space properties), the constructed URL is:

Code Block
https://www.example.com/sonar/dashboard/index/de.example.apps:my-app
Section
titleService

The service on Sonar to reference.

If not specified the value defaults to a space property named sonar-service. If this again is not specified, it defaults to /dashboard/index.

Example Box

To reference the component service enter this: /components/index

Please note that the service is required to start with a slash.

Section
titleOptions

The options to append to the URL.

The '?' to separate the request parameters will be added by the system.

Example Box

Sonar references pages within services by optional request parameters. E.g. to reference the hotspots page use "did=2" as the value for the options property. 

Section
titleLabel

The label for the link. Defaults to the name of the project.

...

Section
titleReferences

Section
titleResources

Piwik Set Multiple Custom Variables
NameValue
Departmentprojectdoc
Categoryprojectdoc-macro
Typeremote