<?xml version="1.0" encoding="UTF-8"?>
<con:resource name="/clusters/takeover" path="/clusters/takeover" id="6aefb31b-84a1-4f6e-bd57-f1c1940e3aa2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:con="http://eviware.com/soapui/config">
  <con:settings>
    <con:setting id="6aefb31b-84a1-4f6e-bd57-f1c1940e3aa2fileName">%2Fclusters%2Ftakeover</con:setting>
  </con:settings>
  <con:parameters/>
  <con:method name="POST" id="97a1fbce-3fab-47dc-91cd-a690f03c75be" method="POST">
    <con:description>takeover a cluster
takeover a cluster</con:description>
    <con:settings/>
    <con:parameters/>
    <con:representation type="REQUEST">
      <con:mediaType>application/json</con:mediaType>
      <con:params/>
      <con:sampleContent>{
  "TiUPIp" : "172.16.4.147",
  "TiUPPath" : ".tiup/",
  "TiUPPort" : 22,
  "TiUPUserName" : "root",
  "TiUPUserPassword" : "password",
  "clusterName" : "myClusterName",
  "dbPassword" : "myPassword"
}</con:sampleContent>
    </con:representation>
    <con:representation type="RESPONSE">
      <con:mediaType>application/json</con:mediaType>
      <con:status>200</con:status>
      <con:params/>
      <con:sampleContent>{
  "controller.CommonResult" : {
    "code" : 0,
    "data" : { },
    "message" : "string"
  },
  "data" : {
    "clusterId" : "string",
    "workFlowId" : "string"
  }
}</con:sampleContent>
    </con:representation>
    <con:representation type="RESPONSE">
      <con:mediaType>application/json</con:mediaType>
      <con:status>401</con:status>
      <con:params/>
      <con:sampleContent>{
  "code" : 0,
  "data" : { },
  "message" : "string"
}</con:sampleContent>
    </con:representation>
    <con:representation type="RESPONSE">
      <con:mediaType>application/json</con:mediaType>
      <con:status>403</con:status>
      <con:params/>
      <con:sampleContent>{
  "code" : 0,
  "data" : { },
  "message" : "string"
}</con:sampleContent>
    </con:representation>
    <con:representation type="RESPONSE">
      <con:mediaType>application/json</con:mediaType>
      <con:status>500</con:status>
      <con:params/>
      <con:sampleContent>{
  "code" : 0,
  "data" : { },
  "message" : "string"
}</con:sampleContent>
    </con:representation>
    <con:representation type="REQUEST">
      <con:mediaType>application/json</con:mediaType>
      <con:params/>
    </con:representation>
    <con:request name="Request 1" id="1ecfe14e-e759-4460-b889-a7a194e0e3af" mediaType="application/json">
      <con:settings/>
      <con:endpoint>http://172.16.4.134:4100</con:endpoint>
      <con:request>{
  "TiUPIp" : "172.16.4.147",
  "TiUPPath" : ".tiup/",
  "TiUPPort" : 22,
  "TiUPUserName" : "root",
  "TiUPUserPassword" : "password",
  "clusterName" : "myClusterName",
  "dbPassword" : "myPassword"
}</con:request>
      <con:credentials>
        <con:selectedAuthProfile>No Authorization</con:selectedAuthProfile>
        <con:authType>No Authorization</con:authType>
      </con:credentials>
      <con:parameters/>
    </con:request>
  </con:method>
</con:resource>
