You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2010/09/02 20:29:54 UTC
[jira] Created: (SLING-1725) Register internal post operations as
services for consumption by servlets other than the SlingPostServlet
Register internal post operations as services for consumption by servlets other than the SlingPostServlet
---------------------------------------------------------------------------------------------------------
Key: SLING-1725
URL: https://issues.apache.org/jira/browse/SLING-1725
Project: Sling
Issue Type: Improvement
Components: Servlets
Affects Versions: Servlets Post 2.0.4
Reporter: Felix Meschberger
Assignee: Felix Meschberger
Fix For: Servlets Post 2.0.6
As discussed in [1] it would be useful to have the internal operations of the Sling POST Servlet available as services for other bundles to reuse.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-1725) Register internal post operations as
services for consumption by servlets other than the SlingPostServlet
Posted by "Alexander Klimetschek (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905850#action_12905850 ]
Alexander Klimetschek commented on SLING-1725:
----------------------------------------------
Cool, but I would add the new method using the PostResponse to the SlingPostOperation interface because:
- does not add a new interface (confusing)
- very rare that clients implement a SlingPostOperation (I don't know a single case, it's all about post processors)
- since AbstractSlingPostOperation is present, upgrade is easy (just recompile if extending from it)
- would need a 2.1.0 release number then IIUC
> Register internal post operations as services for consumption by servlets other than the SlingPostServlet
> ---------------------------------------------------------------------------------------------------------
>
> Key: SLING-1725
> URL: https://issues.apache.org/jira/browse/SLING-1725
> Project: Sling
> Issue Type: Improvement
> Components: Servlets
> Affects Versions: Servlets Post 2.0.4
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: Servlets Post 2.0.6
>
> Attachments: SLING-1725.patch
>
>
> As discussed in [1] it would be useful to have the internal operations of the Sling POST Servlet available as services for other bundles to reuse.
> [1] http://markmail.org/message/a7vrtyhictf7tv4m
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SLING-1725) Register internal post operations as
services for consumption by servlets other than the SlingPostServlet
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger updated SLING-1725:
-------------------------------------
Attachment: SLING-1725.patch
Registering operations as services.
In addition, the existing Sling API HtmlResponse is not general enough for use in a genralized post processing. Thus a new interface PostResponse is introduced with
> Register internal post operations as services for consumption by servlets other than the SlingPostServlet
> ---------------------------------------------------------------------------------------------------------
>
> Key: SLING-1725
> URL: https://issues.apache.org/jira/browse/SLING-1725
> Project: Sling
> Issue Type: Improvement
> Components: Servlets
> Affects Versions: Servlets Post 2.0.4
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: Servlets Post 2.0.6
>
> Attachments: SLING-1725.patch
>
>
> As discussed in [1] it would be useful to have the internal operations of the Sling POST Servlet available as services for other bundles to reuse.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SLING-1725) Register internal post operations as
services for consumption by servlets other than the SlingPostServlet
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger updated SLING-1725:
-------------------------------------
Description:
As discussed in [1] it would be useful to have the internal operations of the Sling POST Servlet available as services for other bundles to reuse.
[1] http://markmail.org/message/a7vrtyhictf7tv4m
was:As discussed in [1] it would be useful to have the internal operations of the Sling POST Servlet available as services for other bundles to reuse.
> Register internal post operations as services for consumption by servlets other than the SlingPostServlet
> ---------------------------------------------------------------------------------------------------------
>
> Key: SLING-1725
> URL: https://issues.apache.org/jira/browse/SLING-1725
> Project: Sling
> Issue Type: Improvement
> Components: Servlets
> Affects Versions: Servlets Post 2.0.4
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: Servlets Post 2.0.6
>
> Attachments: SLING-1725.patch
>
>
> As discussed in [1] it would be useful to have the internal operations of the Sling POST Servlet available as services for other bundles to reuse.
> [1] http://markmail.org/message/a7vrtyhictf7tv4m
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-1725) Register internal post operations as
services for consumption by servlets other than the SlingPostServlet
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12906052#action_12906052 ]
Felix Meschberger commented on SLING-1725:
------------------------------------------
I don't want to add the new method to the old interface, because this would mean that an implementation of the interface is forced to implement two methods: the new one, which is probably desired, and the old one, which is just adding code.
The only option we could discuss as an alternative to adding a new interface is to modify the signature of the existing interface. This would introduce an incompatible change, though, and would require use to increase the major version number of the exported package. Not a big problem, probably, but we should be aware. In fact this would enable use really clean up and drop support for the "old" API altogether.
> Register internal post operations as services for consumption by servlets other than the SlingPostServlet
> ---------------------------------------------------------------------------------------------------------
>
> Key: SLING-1725
> URL: https://issues.apache.org/jira/browse/SLING-1725
> Project: Sling
> Issue Type: Improvement
> Components: Servlets
> Affects Versions: Servlets Post 2.0.4
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: Servlets Post 2.1.0
>
> Attachments: SLING-1725.patch
>
>
> As discussed in [1] it would be useful to have the internal operations of the Sling POST Servlet available as services for other bundles to reuse.
> [1] http://markmail.org/message/a7vrtyhictf7tv4m
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SLING-1725) Register internal post operations as
services for consumption by servlets other than the SlingPostServlet
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger updated SLING-1725:
-------------------------------------
Fix Version/s: Servlets Post 2.1.0
(was: Servlets Post 2.0.6)
Reschedule for 2.1.0 release
> Register internal post operations as services for consumption by servlets other than the SlingPostServlet
> ---------------------------------------------------------------------------------------------------------
>
> Key: SLING-1725
> URL: https://issues.apache.org/jira/browse/SLING-1725
> Project: Sling
> Issue Type: Improvement
> Components: Servlets
> Affects Versions: Servlets Post 2.0.4
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: Servlets Post 2.1.0
>
> Attachments: SLING-1725.patch
>
>
> As discussed in [1] it would be useful to have the internal operations of the Sling POST Servlet available as services for other bundles to reuse.
> [1] http://markmail.org/message/a7vrtyhictf7tv4m
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.