Is there way to delete BundleDestination using JON CLI?
Environment
- Red Hat JBoss Operations Network (JON) 3.3
- Red Hat JBoss Operations Network Command Line Interface (CLI);
Issue
- Is there way to delete BundleDestination using JON CLI?
- Going through This content is not included.BundleManagerRemote API It looks there is no method available to do this.
- Here is what can be done using JBoss ON Remote API :
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
BundleManagerRemotedoes 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.deleteBundleDestinationto delete the specific bundle destination based on bundle destination id.
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.