The chat responses are generated using Generative AI technology for intuitive search and may not be entirely accurate. They are not intended as professional advice. For full details, including our use rights, privacy practices and potential export control restrictions, please refer to our Generative AI Service Privacy Information. As this is a test version, please let us know if something irritating comes up. Like you get recommended a chocolate fudge ice cream instead of an energy managing application. If that occurs, please use the feedback button in our contact form!
Skip to content

Enable Applications in Polarion

2612

Polarion Applications are part of the Early Access Program in Polarion 2612 and are switched off by default. Two settings are involved: one enables the feature itself, the other lets views authenticate against the REST API and application endpoints.

1. Enable the Applications feature

The global configuration property polarionapp.enabled controls whether the Applications topic exists in Global Administration and whether uploaded applications are served. It is set in the Polarion UI only; there is no corresponding entry in polarion.properties.

  1. Log in as a user with global administration rights.
  2. Open Global Administration (avatar menu → Global Administration, or the wrench icon).
  3. Open Configuration Properties at the bottom of the administration navigation.
  4. Set the property

    polarionapp.enabled=true
    
  5. Save and reload the browser page.

A new Applications entry appears in the Global Administration navigation. It is only available at the repository (global) level, not in project administration.

The Applications topic in Global Administration after enabling the feature

2. Enable REST API token authentication

Views receive a short-lived REST token in their context and must send it in the X-Polarion-REST-Token header for REST API and application endpoint calls. Application endpoints do not accept browser-session authentication. This requires the REST API and its token mechanism to be enabled in polarion.properties on the server:

com.siemens.polarion.rest.enabled=true
com.siemens.polarion.rest.security.restApiToken.enabled=true

These two properties are read at start-up, so Polarion must be restarted after changing them. Without them, Polarion shows the warning X-Rest-Token generation is not allowed on the server! when a view opens, context.restToken is empty and REST API and application endpoint calls from views fail.

Warning shown when token authentication is not enabled

The same properties are also needed if you plan to automate uploads through the REST API with a personal access token.

3. Verify

  • Global Administration → Applications opens and shows either No Application found or the list of installed applications.
  • The Upload button is enabled.
  • After uploading an application and opening one of its views, fetchContext() returns a context with a non-empty restToken.

If something is missing, see Troubleshooting.