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(String projectId)
$repoConfigUtil.getProperties(String projectId, String startString)
$repoConfigUtil.getProperties(IContextId contextId)
$repoConfigUtil.getProperties(IContextId contextId, String startString)

 

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 one to specify general information on the global level and to override parts of it on the project level where necessary.

 

What's New in Version 1.2.0

Updated September 2023

1.1.0 - 1.2.0
- Added two new methods to filter the properties by a start string

1.1.0
- Initial release

 

Information

Vendor Kevin Schmiechen (Institute of Flight System Dynamics, Technical University of Munich)
Published Version 1.2.0 - September 2023
Categories
Price Free
Community Supported Extension This extension is not supported by Siemens PLM.
Requirements Polarion 20 R1 (3.20.1) or newer
Last tested with Polarion 2304 (3.23.4)