[jira] [Updated] (SOLR-13707) API to expose the currently used package name, details for each plugin

2019-08-21 Thread Noble Paul (Jira)


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

Noble Paul updated SOLR-13707:
--
Description: 
If a plugin is loaded from a package, the config API can expose the details of 
the package where it is loaded from. This API will accept an extra parameter 
{{meta=true}} to fetch this extra information. This helps the users to debug 
and know if the correct version of the plugin is being used to serve the 
request.

{{curl 
http://localhost:8983/solr/gettingstarted/config/searchComponent/get?meta=true}}
{code:json}
{
   "config": {
"searchComponent": {
  "get": {
"name": "get",
"class": "org.apache.solr.core.RuntimeLibSearchComponent",
"package": "pkg-name",
"_packageinfo_": {
  "name": "pkg-name",
  "url": "http://localhost:50876/jar1.jar;,
  "sha512" : "thes-sha512-string",  
  "znodeVersion": 0
}
  }
}
  }
}
{code}

  was:
If a plugin is loaded from a package, the config API can expose the details of 
the package where it is loaded from. This API will accept an extra parameter 
{{meta=true}} to fetch this extra information. This helps the users to debug 
and know if the correct version of the plugin is being used to serve the 
request.

{{curl 
http://localhost:8983/solr/gettingstarted/config/searchComponent?componentName=get=true}}
{code:json}
{
   "config": {
"searchComponent": {
  "get": {
"name": "get",
"class": "org.apache.solr.core.RuntimeLibSearchComponent",
"package": "pkg-name",
"_packageinfo_": {
  "name": "pkg-name",
  "url": "http://localhost:50876/jar1.jar;,
  "sha512" : "thes-sha512-string",  
  "znodeVersion": 0
}
  }
}
  }
}
{code}


> API to expose the currently used package name, details for each plugin
> --
>
> Key: SOLR-13707
> URL: https://issues.apache.org/jira/browse/SOLR-13707
> Project: Solr
>  Issue Type: Sub-task
>  Security Level: Public(Default Security Level. Issues are Public) 
>Reporter: Noble Paul
>Assignee: Noble Paul
>Priority: Major
>
> If a plugin is loaded from a package, the config API can expose the details 
> of the package where it is loaded from. This API will accept an extra 
> parameter {{meta=true}} to fetch this extra information. This helps the users 
> to debug and know if the correct version of the plugin is being used to serve 
> the request.
> {{curl 
> http://localhost:8983/solr/gettingstarted/config/searchComponent/get?meta=true}}
> {code:json}
> {
>"config": {
> "searchComponent": {
>   "get": {
> "name": "get",
> "class": "org.apache.solr.core.RuntimeLibSearchComponent",
> "package": "pkg-name",
> "_packageinfo_": {
>   "name": "pkg-name",
>   "url": "http://localhost:50876/jar1.jar;,
>   "sha512" : "thes-sha512-string",  
>   "znodeVersion": 0
> }
>   }
> }
>   }
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-13707) API to expose the currently used package name, details for each plugin

2019-08-21 Thread Noble Paul (Jira)


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

Noble Paul updated SOLR-13707:
--
Description: 
If a plugin is loaded from a package, the config API can expose the details of 
the package where it is loaded from. This API will accept an extra parameter 
{{meta=true}} to fetch this extra information. This helps the users to debug 
and know if the correct version of the plugin is being used to serve the 
request.

{{curl 
http://localhost:8983/solr/gettingstarted/config/searchComponent?componentName=get=true}}
{code:json}
{
   "config": {
"searchComponent": {
  "get": {
"name": "get",
"class": "org.apache.solr.core.RuntimeLibSearchComponent",
"package": "pkg-name",
"_packageinfo_": {
  "name": "pkg-name",
  "url": "http://localhost:50876/jar1.jar;,
  "sha512" : "thes-sha512-string",  
  "znodeVersion": 0
}
  }
}
  }
}
{code}

  was:
If a plugin is loaded from a package, the config API can expose the details of 
the package where it is loaded from. This API will accept an extra parameter 
{{meta=true}} to fetch this extra information. This helps the users to debug 
and know if the correct version of the plugin is being used to serve the 
request.

{{curl 
http://localhost:8983/solr/gettingstarted/config/searchComponent?compnentName=get=true}}
{code:json}
{
   "config": {
"searchComponent": {
  "get": {
"name": "get",
"class": "org.apache.solr.core.RuntimeLibSearchComponent",
"package": "pkg-name",
"_packageinfo_": {
  "name": "pkg-name",
  "url": "http://localhost:50876/jar1.jar;,
  "sha512" : "thes-sha512-string",  
  "znodeVersion": 0
}
  }
}
  }
}
{code}


> API to expose the currently used package name, details for each plugin
> --
>
> Key: SOLR-13707
> URL: https://issues.apache.org/jira/browse/SOLR-13707
> Project: Solr
>  Issue Type: Sub-task
>  Security Level: Public(Default Security Level. Issues are Public) 
>Reporter: Noble Paul
>Assignee: Noble Paul
>Priority: Major
>
> If a plugin is loaded from a package, the config API can expose the details 
> of the package where it is loaded from. This API will accept an extra 
> parameter {{meta=true}} to fetch this extra information. This helps the users 
> to debug and know if the correct version of the plugin is being used to serve 
> the request.
> {{curl 
> http://localhost:8983/solr/gettingstarted/config/searchComponent?componentName=get=true}}
> {code:json}
> {
>"config": {
> "searchComponent": {
>   "get": {
> "name": "get",
> "class": "org.apache.solr.core.RuntimeLibSearchComponent",
> "package": "pkg-name",
> "_packageinfo_": {
>   "name": "pkg-name",
>   "url": "http://localhost:50876/jar1.jar;,
>   "sha512" : "thes-sha512-string",  
>   "znodeVersion": 0
> }
>   }
> }
>   }
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-13707) API to expose the currently used package name, details for each plugin

2019-08-21 Thread Noble Paul (Jira)


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

Noble Paul updated SOLR-13707:
--
Description: 
If a plugin is loaded from a package, the config API can expose the details of 
the package where it is loaded from. This API will accept an extra parameter 
{{meta=true}} to fetch this extra information. This helps the users to debug 
and know if the correct version of the plugin is being used to serve the 
request.

{{curl 
http://localhost:8983/solr/gettingstarted/config/searchComponent?compnentName=get=true}}
{code:json}
{
   "config": {
"searchComponent": {
  "get": {
"name": "get",
"class": "org.apache.solr.core.RuntimeLibSearchComponent",
"package": "pkg-name",
"_packageinfo_": {
  "name": "pkg-name",
  "url": "http://localhost:50876/jar1.jar;,
  "sha512" : "thes-sha512-string",  
  "znodeVersion": 0
}
  }
}
  }
}
{code}

  was:
If a plugin is loaded from a package, the config API can expose the details of 
the package where it is loaded from. This API will accept an extra parameter 
{{meta=true}} to fetch this extra information
{{curl 
http://localhost:8983/solr/gettingstarted/config/searchComponent?compnentName=get=true}}
{code:json}
{
   "config": {
"searchComponent": {
  "get": {
"name": "get",
"class": "org.apache.solr.core.RuntimeLibSearchComponent",
"package": "pkg-name",
"_packageinfo_": {
  "name": "pkg-name",
  "url": "http://localhost:50876/jar1.jar;,
  "sha512" : "thes-sha512-string",  
  "znodeVersion": 0
}
  }
}
  }
}
{code}


> API to expose the currently used package name, details for each plugin
> --
>
> Key: SOLR-13707
> URL: https://issues.apache.org/jira/browse/SOLR-13707
> Project: Solr
>  Issue Type: Sub-task
>  Security Level: Public(Default Security Level. Issues are Public) 
>Reporter: Noble Paul
>Priority: Major
>
> If a plugin is loaded from a package, the config API can expose the details 
> of the package where it is loaded from. This API will accept an extra 
> parameter {{meta=true}} to fetch this extra information. This helps the users 
> to debug and know if the correct version of the plugin is being used to serve 
> the request.
> {{curl 
> http://localhost:8983/solr/gettingstarted/config/searchComponent?compnentName=get=true}}
> {code:json}
> {
>"config": {
> "searchComponent": {
>   "get": {
> "name": "get",
> "class": "org.apache.solr.core.RuntimeLibSearchComponent",
> "package": "pkg-name",
> "_packageinfo_": {
>   "name": "pkg-name",
>   "url": "http://localhost:50876/jar1.jar;,
>   "sha512" : "thes-sha512-string",  
>   "znodeVersion": 0
> }
>   }
> }
>   }
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org