Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejava
@GET
@Path("/{plugin}/config")
public List<ConfigKeyInfo> getPluginConfig() {
    return doListPlugins();
}


  • Listing connector plugin will accept an optional query parameter "connectors_only"  that defaults to true
Code Block
languagejava
@GET
@Path("/")
public List<ConnectorPluginInfo> listConnectorPlugins(@DefaultValue("true") @QueryParam("connectors_only") boolean connectorsOnly) {
    return getConnectorPlugins(connectorsOnly);
}


  • A new REST resource named WorkerPluginsResource will be defined with a single endpoints to list worker plugins
Code Block
languagejava
@Path("/worker-plugins")
public class WorkerPluginsResource {
    @GET
    @Path("/")
    public List<WorkerPluginInfo> listPluginslistWorkerPlugins() {}
}


Converter interface:

Add a config() method to Converter. Also make it Configurable and Closeable so it's uniform with the other plugins:

...