Community
Thumb_icon

RepositoryConfigUtil (Velocity Context Extension)

 Exposes the IRepositoryConfigService and the configuration properties as java.util.Properties object to the Velocity context in LiveReport and classic wiki pages (and thus also to LiveDoc wiki content blocks).

Description

This extension exposes the IRepositoryConfigService and the configuration properties as java.util.Properties object to the Velocity context.

It works in LiveReport pages, Classic Wiki pages, and thus also in Wiki Content blocks of LiveDocs.

 

The service and objects can be retrieved with $repoConfigUtil.getRepositoryConfigService(), $repoConfigUtil.getProperties​(java.lang.String projectId) and $repoConfigUtil.getProperties​(IContextId contextId).

 

One use case for the configuration properties is to store project-specific data (e.g. official project name, link to company logo, company name, company address, …) that can then be used throughout the Polarion project.

Automatic inheritance from the global level allows to specify general information on the global level and to override parts of it on the project level where necessary.

 

Information

Vendor Kevin Schmiechen (Institute of Flight System Dynamics, Technical University of Munich)
Published Version 1.1.0 - July 2022
Categories
Price Free
Community Supported Extension This extension is not supported by Siemens PLM.
Requirements Supported version of Polarion ALM
Last tested with Polarion 22 R1 (3.22.1)