RepairResource
Convenience endpoints for simple state machine setup/repair Copyright 2014 WANdisco.
The following resources are part of this group:
- /repair/{targetNode}/start
- /repair/{targetNode}/stop
- /repair/{targetNode}/syncwith/{helperNode}
- /repair/{targetNode}/transferdata/{helperNode}
/repair/{targetNode}/start
Mount Point: /api/repair/{targetNode}/start
PUT
Starts the ACP DSM on target node
Parameters
name | description | type | default |
---|---|---|---|
targetNode | target node ID | path |
Response Body
element: | (custom) |
media types: | */* application/xml |
ID of the task monitoring the proposal
Status Codes
code | description |
---|---|
202 | Accepted - proposed |
400 | Bad request - see returned ExceptionDTO |
401 | Authentication required. |
403 | Authorization required - access forbidden |
/repair/{targetNode}/stop
Mount Point: /api/repair/{targetNode}/stop
PUT
Stops the ACP DSM on target node
Parameters
name | description | type | default |
---|---|---|---|
targetNode | target node ID | path |
Response Body
element: | (custom) |
media types: | */* application/xml |
ID of the task monitoring the proposal
Status Codes
code | description |
---|---|
202 | Accepted - proposed |
400 | Bad request - see returned ExceptionDTO |
401 | Authentication required. |
403 | Authorization required - access forbidden |
/repair/{targetNode}/syncwith/{helperNode}
Mount Point: /api/repair/{targetNode}/syncwith/{helperNode}
PUT
Sets the ACP DSM key on the target to match the helper
Parameters
name | description | type | default |
---|---|---|---|
targetNode | the node to sync to | path | |
helperNode | the node to sync from | path |
Response Body
element: | (custom) |
media types: | */* application/xml |
ID of the task monitoring the proposal
Status Codes
code | description |
---|---|
202 | Accepted - proposed |
400 | Bad request - see returned ExceptionDTO |
401 | Authentication required. |
403 | Authorization required - access forbidden |
/repair/{targetNode}/transferdata/{helperNode}
Mount Point: /api/repair/{targetNode}/transferdata/{helperNode}
PUT
Transfers the ACP DSM model from the helper to the target
Parameters
name | description | type | default |
---|---|---|---|
targetNode | the node to sync to | path | |
helperNode | the node to sync from | path |
Response Body
element: | (custom) |
media types: | */* application/xml |
ID of the task monitoring the proposal
Status Codes
code | description |
---|---|
202 | Accepted - proposed |
400 | Bad request - see returned ExceptionDTO |
401 | Authentication required. |
403 | Authorization required - access forbidden |