ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ARomantsov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-9198) REST command active/inactive respone null, other command have correct response value
Date Mon, 06 Aug 2018 17:02:00 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-9198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

ARomantsov updated IGNITE-9198:
-------------------------------
    Description: 
Output of active/inactive should have response value like other command
For example version 

{code:java}
{
  "result": {
    "error": null,
*    "response": "2.4.0",*
    "sessionToken": "CE2C38BF41114B63856A4D1388E7F938",
    "successStatus": 0
  },
  "status": "OK"
}
{code}



But active
{code:java}
{
  "result": {
    "error": null,
*    "response": null,* , should be - cluster inactive
    "sessionToken": "CE2C38BF41114B63856A4D1388E7F938",
    "successStatus": 0
  },
  "status": "OK"
}
{code}
and inactive
{code:java}
{
  "result": {
    "error": null,
*    "response": null,* , should be - cluster active
    "sessionToken": "CE2C38BF41114B63856A4D1388E7F938",
    "successStatus": 0
  },
  "status": "OK"
}
{code}

  was:
Output of active/inactive should have response value like other command
For example version 

{code:java}
{
  "result": {
    "error": null,
*    "response": "2.4.0",*
    "sessionToken": "CE2C38BF41114B63856A4D1388E7F938",
    "successStatus": 0
  },
  "status": "OK"
}
{code}



But active
{code:java}
{
  "result": {
    "error": null,
*    "response": null,* , should be - cluster active
    "sessionToken": "CE2C38BF41114B63856A4D1388E7F938",
    "successStatus": 0
  },
  "status": "OK"
}
{code}
and inactive
{code:java}
{
  "result": {
    "error": null,
*    "response": null,* , should be - cluster active
    "sessionToken": "CE2C38BF41114B63856A4D1388E7F938",
    "successStatus": 0
  },
  "status": "OK"
}
{code}


> REST command active/inactive respone null, other command have correct response value
> ------------------------------------------------------------------------------------
>
>                 Key: IGNITE-9198
>                 URL: https://issues.apache.org/jira/browse/IGNITE-9198
>             Project: Ignite
>          Issue Type: Bug
>          Components: rest
>    Affects Versions: 2.5
>            Reporter: ARomantsov
>            Priority: Major
>             Fix For: 2.7
>
>
> Output of active/inactive should have response value like other command
> For example version 
> {code:java}
> {
>   "result": {
>     "error": null,
> *    "response": "2.4.0",*
>     "sessionToken": "CE2C38BF41114B63856A4D1388E7F938",
>     "successStatus": 0
>   },
>   "status": "OK"
> }
> {code}
> But active
> {code:java}
> {
>   "result": {
>     "error": null,
> *    "response": null,* , should be - cluster inactive
>     "sessionToken": "CE2C38BF41114B63856A4D1388E7F938",
>     "successStatus": 0
>   },
>   "status": "OK"
> }
> {code}
> and inactive
> {code:java}
> {
>   "result": {
>     "error": null,
> *    "response": null,* , should be - cluster active
>     "sessionToken": "CE2C38BF41114B63856A4D1388E7F938",
>     "successStatus": 0
>   },
>   "status": "OK"
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message