<?xml version="1.0" encoding="UTF-8"?>
<con:resource name="/clusters/" path="/clusters/" id="68e780e1-a040-4b36-9c9f-e7009dd8233e" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:con="http://eviware.com/soapui/config">
  <con:settings>
    <con:setting id="68e780e1-a040-4b36-9c9f-e7009dd8233efileName">%2Fclusters%2F</con:setting>
  </con:settings>
  <con:parameters/>
  <con:method name="GET" id="6fa5e199-e28a-4672-92c9-4d8e8076f0e9" method="GET">
    <con:description>query clusters
query clusters</con:description>
    <con:settings/>
    <con:parameters>
      <con:parameter>
        <con:name>clusterId</con:name>
        <con:value/>
        <con:style>QUERY</con:style>
        <con:default/>
        <con:description xsi:nil="true"/>
      </con:parameter>
      <con:parameter>
        <con:name>clusterName</con:name>
        <con:value/>
        <con:style>QUERY</con:style>
        <con:default/>
        <con:description xsi:nil="true"/>
      </con:parameter>
      <con:parameter>
        <con:name>clusterStatus</con:name>
        <con:value/>
        <con:style>QUERY</con:style>
        <con:default/>
        <con:description xsi:nil="true"/>
      </con:parameter>
      <con:parameter>
        <con:name>clusterTag</con:name>
        <con:value/>
        <con:style>QUERY</con:style>
        <con:default/>
        <con:description xsi:nil="true"/>
      </con:parameter>
      <con:parameter>
        <con:name>clusterType</con:name>
        <con:value/>
        <con:style>QUERY</con:style>
        <con:default/>
        <con:description xsi:nil="true"/>
      </con:parameter>
      <con:parameter>
        <con:name>page</con:name>
        <con:value/>
        <con:style>QUERY</con:style>
        <con:dataType>integer</con:dataType>
        <con:default/>
        <con:description>Current page location</con:description>
      </con:parameter>
      <con:parameter>
        <con:name>pageSize</con:name>
        <con:value/>
        <con:style>QUERY</con:style>
        <con:dataType>integer</con:dataType>
        <con:default/>
        <con:description>Number of this request</con:description>
      </con:parameter>
    </con:parameters>
    <con:representation type="RESPONSE">
      <con:mediaType>application/json</con:mediaType>
      <con:status>200</con:status>
      <con:params/>
      <con:sampleContent>{
  "controller.ResultWithPage" : {
    "code" : 0,
    "data" : { },
    "message" : "string",
    "page" : {
      "page" : 0,
      "pageSize" : 0,
      "total" : 0
    }
  },
  "data" : {
    "clusters" : [ {
      "alertUrl" : "http://127.0.0.1:9093",
      "backupFileUsage" : {
        "total" : 1.5,
        "usageRate" : 1.5,
        "used" : 1.5
      },
      "clusterId" : "string",
      "clusterName" : "string",
      "clusterType" : "string",
      "clusterVersion" : "string",
      "copies" : 0,
      "cpuArchitecture" : "string",
      "cpuUsage" : {
        "total" : 1.5,
        "usageRate" : 1.5,
        "used" : 1.5
      },
      "createTime" : "string",
      "dbUser" : "string",
      "deleteTime" : "string",
      "exclusive" : true,
      "extranetConnectAddresses" : [ "string" ],
      "grafanaUrl" : "http://127.0.0.1:3000",
      "intranetConnectAddresses" : [ "string" ],
      "maintainStatus" : "string",
      "maintainWindow" : "string",
      "memoryUsage" : {
        "total" : 1.5,
        "usageRate" : 1.5,
        "used" : 1.5
      },
      "role" : "string",
      "status" : "string",
      "storageUsage" : {
        "total" : 1.5,
        "usageRate" : 1.5,
        "used" : 1.5
      },
      "tags" : [ "string" ],
      "tls" : true,
      "updateTime" : "string",
      "userId" : "string",
      "whitelist" : [ "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="f985b04d-12b3-4c64-8a6f-5def9b90bb6e" mediaType="application/json">
      <con:settings/>
      <con:endpoint>http://172.16.4.134:4116</con:endpoint>
      <con:credentials>
        <con:selectedAuthProfile>No Authorization</con:selectedAuthProfile>
        <con:authType>No Authorization</con:authType>
      </con:credentials>
      <con:parameters>
        <con:entry key="clusterType" value=""/>
        <con:entry key="clusterTag" value=""/>
        <con:entry key="clusterName" value=""/>
        <con:entry key="pageSize" value=""/>
        <con:entry key="clusterId" value=""/>
        <con:entry key="page" value=""/>
        <con:entry key="clusterStatus" value=""/>
      </con:parameters>
      <con:environmentSpec>
        <con:entry environmentId="145614f2-3764-4b2c-aea1-428a3da9b4e7">
          <con:authProfile>Inherit From Parent</con:authProfile>
        </con:entry>
        <con:entry environmentId="0348fa2a-7106-45b2-8fa8-793ec5904838">
          <con:authProfile>Inherit From Parent</con:authProfile>
        </con:entry>
      </con:environmentSpec>
    </con:request>
    <con:environmentSpec>
      <con:entry environmentId="145614f2-3764-4b2c-aea1-428a3da9b4e7">
        <con:authProfile>Inherit From Parent</con:authProfile>
      </con:entry>
      <con:entry environmentId="0348fa2a-7106-45b2-8fa8-793ec5904838">
        <con:authProfile>Inherit From Parent</con:authProfile>
      </con:entry>
    </con:environmentSpec>
  </con:method>
  <con:method name="POST" id="d7f4def0-7c26-427b-8c3b-dc79020ed1ad" method="POST">
    <con:description>create a cluster
create a cluster</con:description>
    <con:settings/>
    <con:parameters/>
    <con:representation type="REQUEST">
      <con:mediaType>application/json</con:mediaType>
      <con:params/>
      <con:sampleContent>{
  "clusterName" : "string",
  "clusterType" : "string",
  "clusterVersion" : "string",
  "copies" : 0,
  "cpuArchitecture" : "string",
  "dbPassword" : "string",
  "dbUser" : "string",
  "exclusive" : true,
  "parameterGroupID" : "string",
  "region" : "string",
  "resourceParameters" : {
    "instanceResource" : [ {
      "componentType" : "string",
      "resource" : [ {
        "count" : 0,
        "diskCapacity" : 0,
        "diskType" : "string",
        "specCode" : "string",
        "zoneCode" : "string"
      } ],
      "totalNodeCount" : 0
    } ]
  },
  "tags" : [ "string" ],
  "tls" : true
}</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="7dd24763-b143-40ea-b13a-c914b934cc8b" mediaType="application/json" postQueryString="false">
      <con:settings/>
      <con:endpoint>http://172.16.4.134:4116</con:endpoint>
      <con:request>{
  "clusterName" : "string",
  "clusterType" : "string",
  "clusterVersion" : "string",
  "copies" : 0,
  "cpuArchitecture" : "string",
  "dbPassword" : "string",
  "dbUser" : "string",
  "exclusive" : true,
  "parameterGroupID" : "string",
  "region" : "string",
  "resourceParameters" : {
    "instanceResource" : [ {
      "componentType" : "string",
      "resource" : [ {
        "count" : 0,
        "diskCapacity" : 0,
        "diskType" : "string",
        "specCode" : "string",
        "zoneCode" : "string"
      } ],
      "totalNodeCount" : 0
    } ]
  },
  "tags" : [ "string" ],
  "tls" : true
}</con:request>
      <con:credentials>
        <con:selectedAuthProfile>No Authorization</con:selectedAuthProfile>
        <con:authType>No Authorization</con:authType>
      </con:credentials>
      <con:jmsConfig JMSDeliveryMode="PERSISTENT"/>
      <con:parameters/>
      <con:environmentSpec>
        <con:entry environmentId="145614f2-3764-4b2c-aea1-428a3da9b4e7">
          <con:authProfile>Inherit From Parent</con:authProfile>
        </con:entry>
        <con:entry environmentId="0348fa2a-7106-45b2-8fa8-793ec5904838">
          <con:authProfile>Inherit From Parent</con:authProfile>
        </con:entry>
      </con:environmentSpec>
    </con:request>
    <con:environmentSpec>
      <con:entry environmentId="145614f2-3764-4b2c-aea1-428a3da9b4e7">
        <con:authProfile>Inherit From Parent</con:authProfile>
      </con:entry>
      <con:entry environmentId="0348fa2a-7106-45b2-8fa8-793ec5904838">
        <con:authProfile>Inherit From Parent</con:authProfile>
      </con:entry>
    </con:environmentSpec>
  </con:method>
  <con:environmentSpec>
    <con:entry environmentId="145614f2-3764-4b2c-aea1-428a3da9b4e7">
      <con:authProfile>Inherit From Parent</con:authProfile>
    </con:entry>
    <con:entry environmentId="0348fa2a-7106-45b2-8fa8-793ec5904838">
      <con:authProfile>Inherit From Parent</con:authProfile>
    </con:entry>
  </con:environmentSpec>
</con:resource>
