<?xml version="1.0" encoding="UTF-8"?>
<con:resource name="/param-groups/" path="/param-groups/" id="d19bab6b-90b0-40a7-8260-1433b6ab8e51" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:con="http://eviware.com/soapui/config">
  <con:settings>
    <con:setting id="d19bab6b-90b0-40a7-8260-1433b6ab8e51fileName">%2Fparam-groups%2F</con:setting>
  </con:settings>
  <con:parameters/>
  <con:method name="GET" id="e458359e-da2b-4032-bcc2-e94bc94955b5" method="GET">
    <con:description>query parameter group
query parameter group</con:description>
    <con:settings/>
    <con:parameters>
      <con:parameter>
        <con:name>clusterSpec</con:name>
        <con:value/>
        <con:style>QUERY</con:style>
        <con:default/>
        <con:description xsi:nil="true"/>
      </con:parameter>
      <con:parameter>
        <con:name>clusterVersion</con:name>
        <con:value/>
        <con:style>QUERY</con:style>
        <con:default/>
        <con:description xsi:nil="true"/>
      </con:parameter>
      <con:parameter>
        <con:name>dbType</con:name>
        <con:value/>
        <con:style>QUERY</con:style>
        <con:dataType>integer</con:dataType>
        <con:default/>
        <con:description xsi:nil="true"/>
      </con:parameter>
      <con:parameter>
        <con:name>hasDefault</con:name>
        <con:value/>
        <con:style>QUERY</con:style>
        <con:dataType>integer</con:dataType>
        <con:default/>
        <con:description xsi:nil="true"/>
      </con:parameter>
      <con:parameter>
        <con:name>hasDetail</con:name>
        <con:value/>
        <con:style>QUERY</con:style>
        <con:dataType>boolean</con:dataType>
        <con:default/>
        <con:description xsi:nil="true"/>
      </con:parameter>
      <con:parameter>
        <con:name>name</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" : [ {
    "clusterSpec" : "8C16G",
    "clusterVersion" : "v5.0",
    "createTime" : 1636698675,
    "dbType" : 1,
    "groupType" : 0,
    "hasDefault" : 1,
    "name" : "default",
    "note" : "default param group",
    "paramGroupId" : "1",
    "params" : [ {
      "category" : "basic",
      "createTime" : 1636698675,
      "defaultValue" : "1",
      "description" : "binlog cache size",
      "hasApply" : 1,
      "hasReboot" : 0,
      "instanceType" : "tidb",
      "name" : "binlog_size",
      "note" : "binlog cache size",
      "paramId" : "1",
      "range" : [ "1", " 1000" ],
      "rangeType" : 1,
      "readOnly" : 0,
      "systemVariable" : "log.log_level",
      "type" : 0,
      "unit" : "MB",
      "unitOptions" : [ "KB", "MB", "GB" ],
      "updateSource" : 0,
      "updateTime" : 1636698675
    } ],
    "updateTime" : 1636698675
  } ]
}</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="24bd5fc5-ef8a-4569-aee6-9335fa8c7487" mediaType="application/json">
      <con:settings/>
      <con:endpoint>http://172.16.4.134:4100</con:endpoint>
      <con:credentials>
        <con:selectedAuthProfile>No Authorization</con:selectedAuthProfile>
        <con:authType>No Authorization</con:authType>
      </con:credentials>
      <con:parameters>
        <con:entry key="hasDefault" value=""/>
        <con:entry key="clusterSpec" value=""/>
        <con:entry key="hasDetail" value=""/>
        <con:entry key="name" value=""/>
        <con:entry key="dbType" value=""/>
        <con:entry key="pageSize" value=""/>
        <con:entry key="page" value=""/>
        <con:entry key="clusterVersion" value=""/>
      </con:parameters>
    </con:request>
  </con:method>
  <con:method name="POST" id="87fc932a-10e5-4198-b0a5-bf665739d394" method="POST">
    <con:description>create a parameter group
create a parameter group</con:description>
    <con:settings/>
    <con:parameters/>
    <con:representation type="REQUEST">
      <con:mediaType>application/json</con:mediaType>
      <con:params/>
      <con:sampleContent>{
  "addParams" : [ {
    "category" : "log",
    "defaultValue" : "1024",
    "description" : "binlog size",
    "hasApply" : 1,
    "hasReboot" : 0,
    "instanceType" : "TiDB",
    "name" : "binlog_size",
    "note" : "string",
    "range" : [ "string" ],
    "rangeType" : 1,
    "readOnly" : 0,
    "systemVariable" : "log.binlog_size",
    "type" : 0,
    "unit" : "MB",
    "unitOptions" : [ "KB", "MB", "GB" ],
    "updateSource" : 0
  } ],
  "clusterSpec" : "8C16G",
  "clusterVersion" : "v5.0",
  "dbType" : 1,
  "groupType" : 1,
  "name" : "8C16GV4_default",
  "note" : "default param group",
  "params" : [ {
    "defaultValue" : "1",
    "note" : "binlog cache size",
    "paramId" : "123"
  } ]
}</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" : {
    "paramGroupId" : "1"
  }
}</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="6d77580d-4686-42ea-b4e9-6ad69daa5c3c" mediaType="application/json">
      <con:settings/>
      <con:endpoint>http://172.16.4.134:4100</con:endpoint>
      <con:request>{
  "addParams" : [ {
    "category" : "log",
    "defaultValue" : "1024",
    "description" : "binlog size",
    "hasApply" : 1,
    "hasReboot" : 0,
    "instanceType" : "TiDB",
    "name" : "binlog_size",
    "note" : "string",
    "range" : [ "string" ],
    "rangeType" : 1,
    "readOnly" : 0,
    "systemVariable" : "log.binlog_size",
    "type" : 0,
    "unit" : "MB",
    "unitOptions" : [ "KB", "MB", "GB" ],
    "updateSource" : 0
  } ],
  "clusterSpec" : "8C16G",
  "clusterVersion" : "v5.0",
  "dbType" : 1,
  "groupType" : 1,
  "name" : "8C16GV4_default",
  "note" : "default param group",
  "params" : [ {
    "defaultValue" : "1",
    "note" : "binlog cache size",
    "paramId" : "123"
  } ]
}</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>
