Unable to revert/rollback plug-in or resource configuration updates to prior versions using JBoss ON remote API/CLI

Solution Unverified - Updated

Environment

  • Red Hat JBoss Operations Network (ON) 3.1, 3.2, 3.3
  • JBoss ON remote API or command-line interface (CLI) script

Issue

  • Unable to detect method to revert configuration to prior saved snapshot/configuration history
  • No JavaScript/CLI method to get configuration history
  • Need to revert existing configuration to prior version

Resolution

The necessary method to read a Configuration object from PluginConfigurationUpdate or ResourceConfigurationUpdate does not exist at this time.

Root Cause

The This content is not included.Resource.getPluginConfigurationUpdates and This content is not included.Resource.getResourceConfigurationUpdates methods provide a list of configuration update identifiers for applied plug-in and resource configuration, respectively. However, there is no methods in the This content is not included.ConfigurationManagerRemote interface which allows the user to retrieve the actual Configuration objects.

This issue has been identified in This content is not included.Red Hat Bugzilla Bug 1309481 - Remote API is missing ability to retrieve and revert historic plug-in and resource configuration and will be addressed in a future release.

SBR
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.