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

Roadmap and release notes

2612

Polarion Applications are designed as the long-term extensibility framework of Polarion. This page describes what the 2612 preview contains, the direction for the next releases, and the differences to earlier internal previews.

Shipped in Polarion 2612 (preview)

  • Upload and management under Global Administration → Applications: upload, update, inspect properties, delete.
  • Three view types: form extensions, sidebars and navigation topics, declared under views in manifest.json.
  • Your own REST endpoints: GET and POST endpoints declared under serverScripts.endpoints and implemented as GraalVM JavaScript with access to the Polarion Java API.
  • Polarion Application SDK 0.5.2-preview (polarion-app-sdk), downloadable from every 2612 server at /polarion/sdk/applications/.
  • Framework-managed authentication: the context carries a REST token for the current user; views call the REST API and your endpoints without handling credentials.

The feature is disabled by default and is switched on with the polarionapp.enabled configuration property. See Enable Applications in Polarion.

Direction

The framework is built to grow along two axes. Dates and scope are indicative and subject to change; the manifest format is versioned (manifestVersion) so that applications can declare what they need.

More places in the UI

View typeStatusPurpose
Form extension2612Panel in the Work Item form
Sidebar2612Sidebar in the Work Items table and in Documents
Navigation topic2612Full page in the project navigation
WidgetplannedApplication-provided widgets for LiveReport pages, dashboards and Documents
Administration viewplannedPages in Project and Global Administration for configuring the application itself

See Upcoming: widgets and administration for how to prepare.

More content an application can deliver

ContentStatusPurpose
Views and endpoints2612UI and server-side capability
ScriptsplannedWorkflow functions, conditions and scheduled scripts shipped and versioned with the application
TemplatesplannedProject templates, document templates and configuration delivered by the application
Further resource typesplannedEnumerations, custom fields and other configuration as part of a package

The goal is that everything an extension needs travels in one package, is installed in one step, and is updated as a unit.

SDK

The SDK will gain events beyond selection-changed and calls from the view into the host (refreshing a form, navigating, notifications). The current API (fetchContext, events.subscribe, destroy) is a first version and is subject to change; each change will come with clear migration steps.

Changes compared with earlier previews

If you have seen pre-release material (for example workshop starters that used a polarion.js helper file), note the following differences. Applications built against the earlier protocol do not work on 2612 without changes.

Earlier previewPolarion 2612
Manifest sections workItemForms and viewlets.navigationviews.formExtensions, views.sidebars, views.navigationTopics
Manifest section endpointsserverScripts.endpoints
No publisher fieldpublisherName (shown in the upload dialog and in Properties)
Copy of a polarion.js helper in every appnpm package polarion-app-sdk
Bridge messages polarion-viewlet-bridge* (internal names)polarion-view-bridge* (internal to the SDK)
Context { data: { restBase, objectId } }Flat PolarionContext with projectId, workItemId, restBaseUrl, appEndpoint, restToken, …
Form layout element <extension applicationId="…" viewletId="…"/><applicationView id="<identifier>.<viewId>"/>
REST token obtained from window.getRestApiToken()context.restToken from fetchContext()
ZIP with manifest.json at the root (some drafts)ZIP with one top-level folder named after the identifier

Known limitations in 2612

See Limitations and known issues for the complete list. The most important ones:

  • The SDK only supports fetchContext() and the selection-changed event. There is no API yet to call back into the host (for example to refresh the form).
  • One subscription per event type per view.