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

Mohan updated METRON-1710:
--------------------------
    Description: 
api/v1/sensor/indexing/config/list/indices/{writer} will return sensor lists 
all indices for invalid writer retrieves all indices for any invalid writer 
names . 


{code:java}
curl -X GET --header 'Accept: application/json' 
'http://node1:8082/api/v1/sensor/indexing/config/list/indices/1'
 
returns response code : 200
and response body : 

[
  "websphere",
  "jsonMap",
  "jsonMapQuery",
  "squid",
  "error",
  "testsensor",
  "jsonMapWrappedQuery",
  "snort",
  "asa",
  "bro",
  "newsensor",
  "yaf"
]
{code}


  was:
api/v1/sensor/indexing/config/list/indices/{writer} will return sensor lists 
all indices for invalid writer retrieves all indices for any invalid writer 
names . 


{code:java}
curl -X GET --header 'Accept: application/json' 
'http://nat-r7-zots-metron-1.openstacklocal:8082/api/v1/sensor/indexing/config/list/indices/1'
 
returns response code : 200
and response body : 

[
  "websphere",
  "jsonMap",
  "jsonMapQuery",
  "squid",
  "error",
  "testsensor",
  "jsonMapWrappedQuery",
  "snort",
  "asa",
  "bro",
  "newsensor",
  "yaf"
]
{code}



> api/v1/sensor/indexing/config/list/indices/{writer} will return sensor lists 
> all indices for invalid writer 
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: METRON-1710
>                 URL: https://issues.apache.org/jira/browse/METRON-1710
>             Project: Metron
>          Issue Type: Bug
>            Reporter: Mohan
>            Assignee: Mohan
>            Priority: Major
>
> api/v1/sensor/indexing/config/list/indices/{writer} will return sensor lists 
> all indices for invalid writer retrieves all indices for any invalid writer 
> names . 
> {code:java}
> curl -X GET --header 'Accept: application/json' 
> 'http://node1:8082/api/v1/sensor/indexing/config/list/indices/1'
>  
> returns response code : 200
> and response body : 
> [
>   "websphere",
>   "jsonMap",
>   "jsonMapQuery",
>   "squid",
>   "error",
>   "testsensor",
>   "jsonMapWrappedQuery",
>   "snort",
>   "asa",
>   "bro",
>   "newsensor",
>   "yaf"
> ]
> {code}



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

Reply via email to