Composum Blog

various aspects of the Composum world

Package Registry Browser

The Composum package registry browser provides a UI to manage content packages in package registries - both JCR and in the filesystem.

Hans-Peter Störr
12.12.2022

Introduction

Since 12/2022 the package manager of Composum Nodes contains both a package manager for managing the packages contained in the JCR repository, and a browser for the newer package registries interface. While the package manager contains more functionality (which is still only available for the old package manager interface), the registry interface only contains as much basic management and introspection functionality as the filevault PackageRegistry interface provides so far - except, of course, that this not only supports JCR packages but packages provided throught the FileRegistry.

Setup

To enable the filesystem (FS) package registry service, the "Apache Jackrabbit FS Package Registry Service" has to be configured - above all it is necessary to enter an existing directory into the "Home path" , below which the packages are put into the filesystem. If the path is relative, it's relative to the launcher/repository. Please node: the configured directory is an internal directory that contains .xml with metadata about the packages contained in the file registry, and normally also the .zip files referenced from these .xml files. Creating packages there needs the package registry interface.

Usage

In the package manager the tree view has a second tab "Registry" that shows the package registries mounted in the system, and the packages that are registered in that registry. The right side shows the details of the selected package version. This view can also be switched to "merged" mode (see the checkbox at the bottom) that joins the trees of all package registries into one common tree.