Skip to main content

Browsing System Feeds in Nexus Repository 2

Nexus Repository 2

Nexus Repository Manager provides feeds that expose system events. You can browse these feeds by clicking on System Feeds under the Views/Repositories menu, which will show the panel in Figure 5.28, “Browsing System Feeds”. You can use this simple interface to browse the most recent reports of component deployments, cached components, broken components, storage changes and other events that have occurred in the repository manager.

5411465.png

Figure 5.28. Browsing System Feeds

These feeds can come in handy if you are working at a large organization with multiple development teams deploying to the same repository manager. In such an arrangement, all developers in an organization can subscribe to the RSS feeds for New Deployed Artifacts as a way to ensure that everyone is aware when a new release has been pushed to a repository. Exposing these system events as RSS feeds also opens the door to other, more creative uses of this information, such as connecting the repository manager to external, automated testing systems.

To access the RSS feeds for a specific feed, select the feed in the System Feeds view panel and then click on the Subscribe button. This will then load the RSS feed in your browse and you can subscribe to the feed in your favorite RSS.

There are a number of system feeds available in the System Feeds view and each has a URL that resembles the following URL:

http://localhost:8081/nexus/service/local/feeds/recentlyChangedFiles

The URLs can be amended with the parameters from and count to specify the dataset viewed. For example:

http://localhost:8081/nexus/service/local/feeds/recentlyDeployedArtifacts?count=100

Where recentChanges would be replaced with the identifier of the feed you were attempting to read. Available system feeds include:

  • Authentication and Authorization Events

  • Broken components in all repositories

  • Broken files in all repositories

  • Error and Warning events

  • New components in all repositories

  • New cached components in all repositories

  • New cached files in all repositories

  • New cached release components in all repositories

  • New deployed components in all repositories

  • New deployed files in all repositories

  • New deployed release components in all repositories

  • New files in all repositories

  • New release components in all repositories

  • Recent component storage changes in all repositories

  • Recent file storage changes in all repositories

  • Recent release component storage changes in all repositories

  • Repository Status Changes in Nexus Repository Manager

  • System changes in Nexus Repository Manager