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 2008/02/22 10:12:19 UTC

[jira] Created: (SLING-268) Dissolve launchpad/launchpad-servlets project

Dissolve launchpad/launchpad-servlets project
---------------------------------------------

                 Key: SLING-268
                 URL: https://issues.apache.org/jira/browse/SLING-268
             Project: Sling
          Issue Type: Improvement
          Components: Launchpad
            Reporter: Felix Meschberger
             Fix For: 2.0.0


The launchpad/launchpad-servlets project derives from the migration of µsling into Sling and has undergone some changes recently. To better separate the tasks involved with the servlets and to leverage the recent addition of more sophisticated servlet regitration, the launchpad/launchpad-servlets projects should be dissolved:

(1) Default Servlets

The Servlets and renderers in the o.a.s.launchpad.renderers package are moved to a new module sling/servlets-default and registered by themselves as sling/servlet/default for their respective request extensions supported.

(2) UjaxPostServlet

The classes in o.a.s.ujax are moved to a new sling/ujax module

(3) UjaxInfoServlet

The UjaxInfoServlet is also moved to the new sling/ujax module. In addition this servlet must be modified to not responde to /ujax:... but to /ujax.* where the extension selects the format of information presentation and the first selector defines the information presented. So the current "/ujax:sessionInfo.json" request would turn in "/ujax.sessionInfo.json" and can also be requested as "/ujax.sessionInfo.html" or "/ujax.sessionInfo.txt".

(4) LaunchpadDefaultServlet

Dropped because it is not needed any more.

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


[jira] Commented: (SLING-268) Dissolve launchpad/launchpad-servlets project

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571323#action_12571323 ] 

Bertrand Delacretaz commented on SLING-268:
-------------------------------------------

+1 to all of this, as long as the behavior of the LaunchpadDefaultServlet is kept (i.e. integration tests pass).

Suggest also including the SLING-241 stuff (ujax.js and test pages) in the new sling/ujax module.

> Dissolve launchpad/launchpad-servlets project
> ---------------------------------------------
>
>                 Key: SLING-268
>                 URL: https://issues.apache.org/jira/browse/SLING-268
>             Project: Sling
>          Issue Type: Improvement
>          Components: Launchpad
>            Reporter: Felix Meschberger
>             Fix For: 2.0.0
>
>
> The launchpad/launchpad-servlets project derives from the migration of µsling into Sling and has undergone some changes recently. To better separate the tasks involved with the servlets and to leverage the recent addition of more sophisticated servlet regitration, the launchpad/launchpad-servlets projects should be dissolved:
> (1) Default Servlets
> The Servlets and renderers in the o.a.s.launchpad.renderers package are moved to a new module sling/servlets-default and registered by themselves as sling/servlet/default for their respective request extensions supported.
> (2) UjaxPostServlet
> The classes in o.a.s.ujax are moved to a new sling/ujax module
> (3) UjaxInfoServlet
> The UjaxInfoServlet is also moved to the new sling/ujax module. In addition this servlet must be modified to not responde to /ujax:... but to /ujax.* where the extension selects the format of information presentation and the first selector defines the information presented. So the current "/ujax:sessionInfo.json" request would turn in "/ujax.sessionInfo.json" and can also be requested as "/ujax.sessionInfo.html" or "/ujax.sessionInfo.txt".
> (4) LaunchpadDefaultServlet
> Dropped because it is not needed any more.

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


[jira] Closed: (SLING-268) Dissolve launchpad/launchpad-servlets project

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger closed SLING-268.
-----------------------------------

    Resolution: Fixed

As we now have the sling/servlets-default and sling/ujax modules, this issue can be closed.

> Dissolve launchpad/launchpad-servlets project
> ---------------------------------------------
>
>                 Key: SLING-268
>                 URL: https://issues.apache.org/jira/browse/SLING-268
>             Project: Sling
>          Issue Type: Improvement
>          Components: Launchpad
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: 2.0.0
>
>
> The launchpad/launchpad-servlets project derives from the migration of µsling into Sling and has undergone some changes recently. To better separate the tasks involved with the servlets and to leverage the recent addition of more sophisticated servlet regitration, the launchpad/launchpad-servlets projects should be dissolved:
> (1) Default Servlets
> The Servlets and renderers in the o.a.s.launchpad.renderers package are moved to a new module sling/servlets-default and registered by themselves as sling/servlet/default for their respective request extensions supported.
> (2) UjaxPostServlet
> The classes in o.a.s.ujax are moved to a new sling/ujax module
> (3) UjaxInfoServlet
> The UjaxInfoServlet is also moved to the new sling/ujax module. In addition this servlet must be modified to not responde to /ujax:... but to /ujax.* where the extension selects the format of information presentation and the first selector defines the information presented. So the current "/ujax:sessionInfo.json" request would turn in "/ujax.sessionInfo.json" and can also be requested as "/ujax.sessionInfo.html" or "/ujax.sessionInfo.txt".
> (4) LaunchpadDefaultServlet
> Dropped because it is not needed any more.

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


[jira] Commented: (SLING-268) Dissolve launchpad/launchpad-servlets project

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12572415#action_12572415 ] 

Felix Meschberger commented on SLING-268:
-----------------------------------------

Removed servlets moved to sling/servlets-default from the launchpad/launchpad-servlets module in Rev. 631174.

In addition the ujax info functionality is now its own servlet (UjaxInfoServlet) replying to the /ujax requests. The (first) selector indicates the kind of information requested, the extension defines the format. Currently only sessionInfo is supported as information kind and json and html are the only supported formats. Thus calling for ujax information must now be done as /ujax.sessionInfo.json or /ujax.sessionInfo.html.

Note, that IMHO this ujax info stuff is not the right way to go for providing system information stuff. Rather we should strive for supporting JMX.

> Dissolve launchpad/launchpad-servlets project
> ---------------------------------------------
>
>                 Key: SLING-268
>                 URL: https://issues.apache.org/jira/browse/SLING-268
>             Project: Sling
>          Issue Type: Improvement
>          Components: Launchpad
>            Reporter: Felix Meschberger
>             Fix For: 2.0.0
>
>
> The launchpad/launchpad-servlets project derives from the migration of µsling into Sling and has undergone some changes recently. To better separate the tasks involved with the servlets and to leverage the recent addition of more sophisticated servlet regitration, the launchpad/launchpad-servlets projects should be dissolved:
> (1) Default Servlets
> The Servlets and renderers in the o.a.s.launchpad.renderers package are moved to a new module sling/servlets-default and registered by themselves as sling/servlet/default for their respective request extensions supported.
> (2) UjaxPostServlet
> The classes in o.a.s.ujax are moved to a new sling/ujax module
> (3) UjaxInfoServlet
> The UjaxInfoServlet is also moved to the new sling/ujax module. In addition this servlet must be modified to not responde to /ujax:... but to /ujax.* where the extension selects the format of information presentation and the first selector defines the information presented. So the current "/ujax:sessionInfo.json" request would turn in "/ujax.sessionInfo.json" and can also be requested as "/ujax.sessionInfo.html" or "/ujax.sessionInfo.txt".
> (4) LaunchpadDefaultServlet
> Dropped because it is not needed any more.

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


[jira] Commented: (SLING-268) Dissolve launchpad/launchpad-servlets project

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12572403#action_12572403 ] 

Felix Meschberger commented on SLING-268:
-----------------------------------------

Created sling/servlets-default project in Rev. 631161 and added the servlets in Rev. 631164.

> Dissolve launchpad/launchpad-servlets project
> ---------------------------------------------
>
>                 Key: SLING-268
>                 URL: https://issues.apache.org/jira/browse/SLING-268
>             Project: Sling
>          Issue Type: Improvement
>          Components: Launchpad
>            Reporter: Felix Meschberger
>             Fix For: 2.0.0
>
>
> The launchpad/launchpad-servlets project derives from the migration of µsling into Sling and has undergone some changes recently. To better separate the tasks involved with the servlets and to leverage the recent addition of more sophisticated servlet regitration, the launchpad/launchpad-servlets projects should be dissolved:
> (1) Default Servlets
> The Servlets and renderers in the o.a.s.launchpad.renderers package are moved to a new module sling/servlets-default and registered by themselves as sling/servlet/default for their respective request extensions supported.
> (2) UjaxPostServlet
> The classes in o.a.s.ujax are moved to a new sling/ujax module
> (3) UjaxInfoServlet
> The UjaxInfoServlet is also moved to the new sling/ujax module. In addition this servlet must be modified to not responde to /ujax:... but to /ujax.* where the extension selects the format of information presentation and the first selector defines the information presented. So the current "/ujax:sessionInfo.json" request would turn in "/ujax.sessionInfo.json" and can also be requested as "/ujax.sessionInfo.html" or "/ujax.sessionInfo.txt".
> (4) LaunchpadDefaultServlet
> Dropped because it is not needed any more.

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


[jira] Assigned: (SLING-268) Dissolve launchpad/launchpad-servlets project

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger reassigned SLING-268:
---------------------------------------

    Assignee: Felix Meschberger

> Dissolve launchpad/launchpad-servlets project
> ---------------------------------------------
>
>                 Key: SLING-268
>                 URL: https://issues.apache.org/jira/browse/SLING-268
>             Project: Sling
>          Issue Type: Improvement
>          Components: Launchpad
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: 2.0.0
>
>
> The launchpad/launchpad-servlets project derives from the migration of µsling into Sling and has undergone some changes recently. To better separate the tasks involved with the servlets and to leverage the recent addition of more sophisticated servlet regitration, the launchpad/launchpad-servlets projects should be dissolved:
> (1) Default Servlets
> The Servlets and renderers in the o.a.s.launchpad.renderers package are moved to a new module sling/servlets-default and registered by themselves as sling/servlet/default for their respective request extensions supported.
> (2) UjaxPostServlet
> The classes in o.a.s.ujax are moved to a new sling/ujax module
> (3) UjaxInfoServlet
> The UjaxInfoServlet is also moved to the new sling/ujax module. In addition this servlet must be modified to not responde to /ujax:... but to /ujax.* where the extension selects the format of information presentation and the first selector defines the information presented. So the current "/ujax:sessionInfo.json" request would turn in "/ujax.sessionInfo.json" and can also be requested as "/ujax.sessionInfo.html" or "/ujax.sessionInfo.txt".
> (4) LaunchpadDefaultServlet
> Dropped because it is not needed any more.

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


[jira] Commented: (SLING-268) Dissolve launchpad/launchpad-servlets project

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571324#action_12571324 ] 

Felix Meschberger commented on SLING-268:
-----------------------------------------

Yes, definitely, forgot about that (or included implicitly ;-) )

Regarding the test pages: I assume these will just be provided for testing and not for bundle delivery, right ?

> Dissolve launchpad/launchpad-servlets project
> ---------------------------------------------
>
>                 Key: SLING-268
>                 URL: https://issues.apache.org/jira/browse/SLING-268
>             Project: Sling
>          Issue Type: Improvement
>          Components: Launchpad
>            Reporter: Felix Meschberger
>             Fix For: 2.0.0
>
>
> The launchpad/launchpad-servlets project derives from the migration of µsling into Sling and has undergone some changes recently. To better separate the tasks involved with the servlets and to leverage the recent addition of more sophisticated servlet regitration, the launchpad/launchpad-servlets projects should be dissolved:
> (1) Default Servlets
> The Servlets and renderers in the o.a.s.launchpad.renderers package are moved to a new module sling/servlets-default and registered by themselves as sling/servlet/default for their respective request extensions supported.
> (2) UjaxPostServlet
> The classes in o.a.s.ujax are moved to a new sling/ujax module
> (3) UjaxInfoServlet
> The UjaxInfoServlet is also moved to the new sling/ujax module. In addition this servlet must be modified to not responde to /ujax:... but to /ujax.* where the extension selects the format of information presentation and the first selector defines the information presented. So the current "/ujax:sessionInfo.json" request would turn in "/ujax.sessionInfo.json" and can also be requested as "/ujax.sessionInfo.html" or "/ujax.sessionInfo.txt".
> (4) LaunchpadDefaultServlet
> Dropped because it is not needed any more.

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


[jira] Commented: (SLING-268) Dissolve launchpad/launchpad-servlets project

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571373#action_12571373 ] 

Felix Meschberger commented on SLING-268:
-----------------------------------------

Leaving the test pages in the initial content is ok. This is just "optional" from a productive point of view and helps newcomers.

Ujax on the other hand is for productive use and should IMHO not be tainted with testing/demonstration stuff.

> Dissolve launchpad/launchpad-servlets project
> ---------------------------------------------
>
>                 Key: SLING-268
>                 URL: https://issues.apache.org/jira/browse/SLING-268
>             Project: Sling
>          Issue Type: Improvement
>          Components: Launchpad
>            Reporter: Felix Meschberger
>             Fix For: 2.0.0
>
>
> The launchpad/launchpad-servlets project derives from the migration of µsling into Sling and has undergone some changes recently. To better separate the tasks involved with the servlets and to leverage the recent addition of more sophisticated servlet regitration, the launchpad/launchpad-servlets projects should be dissolved:
> (1) Default Servlets
> The Servlets and renderers in the o.a.s.launchpad.renderers package are moved to a new module sling/servlets-default and registered by themselves as sling/servlet/default for their respective request extensions supported.
> (2) UjaxPostServlet
> The classes in o.a.s.ujax are moved to a new sling/ujax module
> (3) UjaxInfoServlet
> The UjaxInfoServlet is also moved to the new sling/ujax module. In addition this servlet must be modified to not responde to /ujax:... but to /ujax.* where the extension selects the format of information presentation and the first selector defines the information presented. So the current "/ujax:sessionInfo.json" request would turn in "/ujax.sessionInfo.json" and can also be requested as "/ujax.sessionInfo.html" or "/ujax.sessionInfo.txt".
> (4) LaunchpadDefaultServlet
> Dropped because it is not needed any more.

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


[jira] Commented: (SLING-268) Dissolve launchpad/launchpad-servlets project

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12572435#action_12572435 ] 

Bertrand Delacretaz commented on SLING-268:
-------------------------------------------

> Note, that IMHO this ujax info stuff is not the right way to go for providing system information stuff. 
> Rather we should strive for supporting JMX.

The current use case is to provide this information to javascript clients, so I think an HTTP/json interface is more useful than JMX - although the former could be a proxy on the latter.

> Dissolve launchpad/launchpad-servlets project
> ---------------------------------------------
>
>                 Key: SLING-268
>                 URL: https://issues.apache.org/jira/browse/SLING-268
>             Project: Sling
>          Issue Type: Improvement
>          Components: Launchpad
>            Reporter: Felix Meschberger
>             Fix For: 2.0.0
>
>
> The launchpad/launchpad-servlets project derives from the migration of µsling into Sling and has undergone some changes recently. To better separate the tasks involved with the servlets and to leverage the recent addition of more sophisticated servlet regitration, the launchpad/launchpad-servlets projects should be dissolved:
> (1) Default Servlets
> The Servlets and renderers in the o.a.s.launchpad.renderers package are moved to a new module sling/servlets-default and registered by themselves as sling/servlet/default for their respective request extensions supported.
> (2) UjaxPostServlet
> The classes in o.a.s.ujax are moved to a new sling/ujax module
> (3) UjaxInfoServlet
> The UjaxInfoServlet is also moved to the new sling/ujax module. In addition this servlet must be modified to not responde to /ujax:... but to /ujax.* where the extension selects the format of information presentation and the first selector defines the information presented. So the current "/ujax:sessionInfo.json" request would turn in "/ujax.sessionInfo.json" and can also be requested as "/ujax.sessionInfo.html" or "/ujax.sessionInfo.txt".
> (4) LaunchpadDefaultServlet
> Dropped because it is not needed any more.

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


[jira] Commented: (SLING-268) Dissolve launchpad/launchpad-servlets project

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571341#action_12571341 ] 

Bertrand Delacretaz commented on SLING-268:
-------------------------------------------

We might want to leave the test pages as initial content, as they show how ujax can be used.

But they might go into the newly created launchpad-content module, not sure yet where's the best place.

> Dissolve launchpad/launchpad-servlets project
> ---------------------------------------------
>
>                 Key: SLING-268
>                 URL: https://issues.apache.org/jira/browse/SLING-268
>             Project: Sling
>          Issue Type: Improvement
>          Components: Launchpad
>            Reporter: Felix Meschberger
>             Fix For: 2.0.0
>
>
> The launchpad/launchpad-servlets project derives from the migration of µsling into Sling and has undergone some changes recently. To better separate the tasks involved with the servlets and to leverage the recent addition of more sophisticated servlet regitration, the launchpad/launchpad-servlets projects should be dissolved:
> (1) Default Servlets
> The Servlets and renderers in the o.a.s.launchpad.renderers package are moved to a new module sling/servlets-default and registered by themselves as sling/servlet/default for their respective request extensions supported.
> (2) UjaxPostServlet
> The classes in o.a.s.ujax are moved to a new sling/ujax module
> (3) UjaxInfoServlet
> The UjaxInfoServlet is also moved to the new sling/ujax module. In addition this servlet must be modified to not responde to /ujax:... but to /ujax.* where the extension selects the format of information presentation and the first selector defines the information presented. So the current "/ujax:sessionInfo.json" request would turn in "/ujax.sessionInfo.json" and can also be requested as "/ujax.sessionInfo.html" or "/ujax.sessionInfo.txt".
> (4) LaunchpadDefaultServlet
> Dropped because it is not needed any more.

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