[SERVER-19093] implement method for doing an HTTP GET in the mongo shell Created: 23/Jun/15  Updated: 07/Jul/17  Resolved: 07/Jul/17

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

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

Participants:

 Description   

httpinterface.js creates a DBClientConnection (via the shell's Mongo object) pointed at the server's web port, to check that the httpinterface is active. This worked in the past as DBClientConnection::connect (prior to SERVER-19035) would only open a socket.

As a result of SERVER-19035, we needed to disable httpinterface.js, as the 'isMaster' command executed during connection will fail against the web interface.

If we are going to use the shell to test the HTTP interface, we will need to add proper HTTP support in the shell.



 Comments   
Comment by Andrew Morrow (Inactive) [ 07/Jul/17 ]

We removed the HTTP interface.

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