[SERVER-114] json + js in admin interface( was: XML + XSLT in admin interface ) Created: 24/Jun/09  Updated: 02/May/16  Resolved: 02/May/16

Status: Closed
Project: Core Server
Component/s: Admin
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: sandstrom Assignee: DO NOT USE - Backlog - Platform Team
Resolution: Done Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-323 improved concurrency: read/write lock... Closed
Participants:

 Description   

An idea would be to make the admin interface in xml + xslt (it will look like html). That way it's easier for scripts to parse the content of the admin section, whilst still making it readable in a browser. Apache Solr does this and it works nicely.

Although I haven't tried, a qualified guess is that it would take around 2-3 hours to set it up.



 Comments   
Comment by Justin Cohler [ 02/May/16 ]

OpsManager addresses the feature requested here.

Comment by Eliot Horowitz (Inactive) [ 09/Oct/09 ]

some of this stuff will change - so don't want to do this till concurrency is done

Comment by Eliot Horowitz (Inactive) [ 07/Oct/09 ]

http://localhost:28017/admin/$cmd/?filter_serverStatus=1&limit=1

Comment by sandstrom [ 12/Aug/09 ]

Thats true. I didn't know about the rest framework when I created this ticket.
On a related note, I think mongod should listen only on localhost by default (mysql does this).
If one overlooks the web interfaces (with some server setups) you may expose your database unknowingly.

Comment by Eliot Horowitz (Inactive) [ 11/Aug/09 ]

we aleady have a rest api framework, so if we just output the stats as a db command, then can just use js to render.

Generated at Thu Feb 08 02:53:03 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.