Enable/disable datasource operations are deprecated in the JBoss EAP 7.2

Solution Verified - Updated -

Issue

The following warning message is showed, what is the recommendation to solve the warning?

[standalone@localhost:9990 /] /subsystem=datasources/data-source=ExampleDS:enable()
{
    "outcome" => "success",
    "response-headers" => {"warnings" => [{
        "warning" => "WFLYCTL0449: Operation enable against the resource at address /subsystem=datasources/data-source=ExampleDS is deprecated, and it might b
e removed in future version. See the the output of the read-operation-description operation to learn more about the deprecation.",
        "level" => "WARNING",
        "operation" => {
            "address" => [
                ("subsystem" => "datasources"),
                ("data-source" => "ExampleDS")
            ],
            "operation" => "enable"
        }
    }]}
}

Environment

Red Hat JBoss Enterprise Application Platform (EAP) 7.2 CP03

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