[ http://issues.apache.org/jira/browse/SOLR-58?page=comments#action_12445734 ] Otis Gospodnetic commented on SOLR-58: --------------------------------------
I went to the original thread where I started discussion about exposing some admin functionality as XML, http://www.mail-archive.com/[email protected]/msg01012.html and realized Yonik had pointed out that the 'stats'(.jsp) page already spits out XML and has the XSL that transforms it to HTML: http://www.mail-archive.com/[email protected]/msg01074.html The same with 'registry.jsp' - it's really XML + XSL. Is there anything else that I could expose as XML? $ ls -1 src/webapp/resources/admin/*jsp src/webapp/resources/admin/action.jsp src/webapp/resources/admin/analysis.jsp src/webapp/resources/admin/distributiondump.jsp src/webapp/resources/admin/form.jsp src/webapp/resources/admin/get-file.jsp src/webapp/resources/admin/get-properties.jsp src/webapp/resources/admin/header.jsp src/webapp/resources/admin/index.jsp src/webapp/resources/admin/_info.jsp src/webapp/resources/admin/logging.jsp src/webapp/resources/admin/ping.jsp src/webapp/resources/admin/raw-schema.jsp src/webapp/resources/admin/registry.jsp src/webapp/resources/admin/stats.jsp src/webapp/resources/admin/threaddump.jsp Here is what I think could still be XMLized: - action.jsp - action + success/failure status, but that seems to be used only from logging.jsp, so converting action.jsp to XML seems a bit useless. - threaddump.jsp - JVM version, deadlock printout, and then just one big XML element with the dump of all threads - ping.jsp - ? I don't have any slaves running here, so I'm not even sure what that's supposed to look like Everything else in src/webapp/resources/admin/ is either an image or a helper JSP. Thoughts? > Change Admin components to return XML like the rest of the system > ----------------------------------------------------------------- > > Key: SOLR-58 > URL: http://issues.apache.org/jira/browse/SOLR-58 > Project: Solr > Issue Type: New Feature > Components: web gui > Reporter: Otis Gospodnetic > Assigned To: Otis Gospodnetic > Priority: Minor > > I need to expose the admin functionality to an external application. I think > returning admin data as XML may be a good and simple first step towards that. > To do that I think I'll mostly need to modify JSPs (but I haven't had a good > look at Admin GUI yet). From what I saw a few weeks ago when I briefly > looked at this, no Java code will need to be modified. If you have concrete > ideas about how this should be done, please comment before I start next week > (week of October 23rd 2006). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
