Is there way to delete BundleDestination using JON CLI?

Solution Verified - Updated

Environment

  • Red Hat JBoss Operations Network (JON) 3.3
  • Red Hat JBoss Operations Network Command Line Interface (CLI);

Issue

rhqadmin@192.168.122.1:7080$ BundleManager.     

addBundleFile                                      addBundleFileViaByteArray                          addBundleFileViaPackageVersion
addBundleFileViaURL                                allBundleTypes                                     assignBundlesToBundleGroups
createBundleDeployment                             createBundleDestination                            createBundleGroup
createBundleVersionViaByteArray                    createBundleVersionViaContentHandle                createBundleVersionViaFile
createBundleVersionViaRecipe                       createBundleVersionViaURL                          createInitialBundleVersionViaByteArray
createInitialBundleVersionViaContentHandle         createInitialBundleVersionViaFile                  createInitialBundleVersionViaRecipe
createInitialBundleVersionViaURL                   deleteBundle                                       deleteBundleGroups
deleteBundleVersion                                deleteBundles                                      findBundleDeploymentsByCriteria
findBundleDestinationsByCriteria                   findBundleFilesByCriteria                          findBundleGroupsByCriteria
findBundleResourceDeploymentsByCriteria            findBundleVersionsByCriteria                       findBundlesByCriteria
findBundlesWithLatestVersionCompositesByCriteria   getBundleType                                      getBundleVersionFilenames
getResourceTypeBundleConfiguration                 purgeBundleDestination                             resourceTypeBundleConfiguration
scheduleBundleDeployment                           scheduleRevertBundleDeployment                     toString
unassignBundlesFromBundleGroups                    updateBundleGroup

Resolution

This issue is fixed in This content is not included. Red Hat JBoss Operations Network 3.3 Update 04 .

Root Cause

This request for feature enhancement (RFE) is summarized as:

Currently BundleManagerRemote does not have exposed any method that could delete the specific bundle destination via JBoss ON CLI although this functionality is available via JBoss ON UI. JBoss ON CLI should provide method e.g. deleteBundleDestination to delete the specific bundle destination based on bundle destination id.

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.