You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2011/06/23 09:53:19 UTC

DO NOT REPLY [Bug 51423] New: [Patch] to add a path and a version parameters to the list command

https://issues.apache.org/bugzilla/show_bug.cgi?id=51423

             Bug #: 51423
           Summary: [Patch] to add a path and a version parameters to the
                    list command
           Product: Tomcat 7
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Manager
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: mashmk02@gmail.com
    Classification: Unclassified


Created attachment 27196
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27196
patch for the Manager application

ManagerServlet and HTMLManagerServlet can only list all deployed applications.
("list" ant task too.)

So I made the patch that makes it possible to specify a context path and the
version of this context as parameter.

If you specify the parameters as follows, the Manager application only displays
one context information.

<<HTMLManagerServlet>>
http://localhost:8080/manager/html/list?path=/
http://localhost:8080/manager/html/list?path=/someapp&version=01

<<ManagerServlet>>
http://localhost:8080/manager/html?path=/someapp&version=01

And this feature was added to the "list" ant task too by this patch.

Regards.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 51423] [Patch] to add a path and a version parameters to the list command

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51423

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #27196|0                           |1
           is patch|                            |
  Attachment #27196|application/octet-stream    |text/plain
          mime type|                            |

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 51423] [Patch] to add a path and a version parameters to the list command

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51423

--- Comment #4 from Mark Thomas <ma...@apache.org> 2011-06-28 16:43:58 UTC ---
I like the separate command but I'm not sure we need the search box on the HTML
interface. If there are that many apps, I'd expect a user to just use the
browser's built-in find functionality.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 51423] [Patch] to add a path and a version parameters to the list command

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51423

--- Comment #2 from Eiji Takahashi <ma...@gmail.com> 2011-06-24 08:30:37 UTC ---
Thanks for comment.

(In reply to comment #1)
> What is the use case for this? List is meant to list the deployed applications.
When you deploy many applications, it is a little bit hard searching the
particular web application from the displayed list.
I think that some way to find particular web application is necessary.

---
And I'm trying to add the following adjustments to the patch.
- Undo the change to the list command
- Add show command for this feature.
- Add Textbox to HTMLManagerServlet for search for the applications.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 51423] [Patch] to add a path and a version parameters to the list command

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51423

Eiji Takahashi <ma...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #27196|0                           |1
        is obsolete|                            |

--- Comment #3 from Eiji Takahashi <ma...@gmail.com> 2011-06-24 08:32:46 UTC ---
Created attachment 27203
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27203
patch

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 51423] [Patch] to add a path and a version parameters to the list command

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51423

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Mark Thomas <ma...@apache.org> 2011-06-23 11:47:57 UTC ---
What is the use case for this? List is meant to list the deployed applications.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org