Is there a way to remove the unreferenced deployments content using a wildcard "*" in domain mode ?

Solution Verified - Updated -

Issue

  • I tried the below but it didn't work
./deployment=*:remove()
  • I have large number of deployments happening on daily basis and I cannot keep a track of names of the deployment to use in the "remove" CLI.

  • I have tried to run the "clean-obsolete-content" CLI, but unable to do so. Please suggest the configuration required to achieve this outcome.

[domain@1xx.xx.xx.xx:9999 /] :read-operation-description(name=clean-obsolete-c
ontent)
{
    "outcome" => "failed",
    "failure-description" => "WFLYCTL0162: There is no operation clean-obsolete
-content registered at address []",
    "rolled-back" => true
}

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.3.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content