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

Felix Meschberger closed FELIX-744.
-----------------------------------

    Resolution: Fixed

Added support for the "create" parameter in Rev. 700058

It is now possible to supply a factory PID on the URL together with the 
"create" request parameter to be presented with a configuration creation form.

So to get a form to create a configuration for the factory "sample.factory", 
the request

   http://host:port/system/console/configMgr/sample.factory?create=true

may be used.

The create parameter may also be combined with the pidFilter parameter 
implemented as part of FELIX-743. That is to create a configuration object for 
the "simple.factory" and limit the listed configurations, the following request 
may be used:

   
http://host:port/system/console/configMgr/sample.factory?create=true&pidFilter=(filterExpr)

Please note:
  * The create parameter is only accepted if a factory configuration PID is 
specified as part of the URL
  * The create parameter does _not_ actually cause the creation of the 
configuration. It just presents the form. In this respect this parameter is 
idem-potent and repeatedly requesting the same URL with the "create" parameter 
will just repeatedly draw the form.

> Support configuration creation from the GET request
> ---------------------------------------------------
>
>                 Key: FELIX-744
>                 URL: https://issues.apache.org/jira/browse/FELIX-744
>             Project: Felix
>          Issue Type: Improvement
>          Components: Web Console
>    Affects Versions: webconsole-1.0.0
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: webconsole-1.0.2
>
>
> It is currently possible to show the configuration form of an existing 
> configurtion object by specifiying the PID of the configuration as part of 
> the URL. It would be nice to be able to get a configuration form for the 
> creation of a new configuration instance for a factory configuration by 
> setting the configuration PID in the URL and adding a request parameter - 
> such as "create=true"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to