The changeManager resource returns information about edit sessions. Use this resource to explicitly manage an edit session:
Use the changeManager to start an edit session.
Use other resources to make any number of configuration changes, such as configuring data sources and deploying applications.
Use the changeManager to either cancel all the changes in the edit session or activate them.
This strategy batches all the changes together which is typically most useful in a production environment when a number of configuration changes need to be made together before they are ready to be exposed to clients.
With implicit edit sessions, instead of using the changeManager, just use other resources to change the configuration (for example, create a data source). Each REST call to change the configuration will start its own edit session, make the change, and then activate the change. This is useful for small tweaks to the configuration as typically performed in development environments.
The resource supports the following methods:
The GET method on this resource returns information about the current status of the edit session.
The response body returned includes a ChangeManager entity.
This method can return the following links:
uri=/management/wls/{version} rel=parent
uri=/management/wls/{version}/changeManager/startEdit rel=action title=startEdit
uri=/management/wls/{version}/changeManager/cancelEdit rel=action title=cancelEdit
uri=/management/wls/{version}/changeManager/activate rel=action title=activate
This method returns one of the Standard HTTP Status Codes.
This example uses the GET method to return change manager information.
Example Request
curl -v \ --user username:password \ -H X-Requested-By:MyClient \ -H Accept:application/json \ -X GET http://localhost:7001/management/wls/latest/changeManager
Example Response
HTTP/1.1 200 OK Response Body: { "links": [ { "rel": "parent", "uri": "http:\/\/localhost:7001\/management\/wls\/latest" }, { "rel": "action", "uri": "http:\/\/localhost:7001\/management\/wls\/latest\/changeManager\/startEdit", "title": "startEdit" }, { "rel": "action", "uri": "http:\/\/localhost:7001\/management\/wls\/latest\/changeManager\/cancelEdit", "title": "cancelEdit" }, { "rel": "action", "uri": "http:\/\/localhost:7001\/management\/wls\/latest\/changeManager\/activate", "title": "activate" } ], "item": {"locked": false} }