[feedhenry-dev] Mongo Express Service - Manage your Mongo Database in RHMAP using Mongo Express

James Mernin jmernin at redhat.com
Fri Nov 11 14:01:12 UTC 2016

Hi John, Emilio, Conor,

This looks hugely promising (considering the shared pain we all know about
the Data Browser feature) and the the engineer in me agrees fully that
implementing this as an MBaaS Service is the right approach (and a neat use
of that part of the platform).

However, it would be imperative that we also recognise the operational and
security risks in considering this, especially for the consulting team if
doing so on a customer app on SaaS (where they could be exposing Red Hat to
serious liability if it is not secured correctly).

We could likely fail a lot of RFPs too if we exposed this as a standard
part of the platform. So if offered to customers, the risk of doing so
should be documented so that we're not liable for data breaches through lax
Mongo security.


On 11 November 2016 at 10:43, John Frizelle <jfrizell at redhat.com> wrote:

> The conclusion from the document [1] that compared Data Browser with Mongo
> Express did not seem to indicate that we should replace Data Browser:
> *Mongo Express is more complete in number of features but lacks of some
> critical ones like multiple deletions or inline editing. Besides, its user
> interface is less intuitive than the one from Data Browser.*
> *If the stability of Data Browser is improved and some key features as
> complex querying are implemented, Data Browser could be a better
> alternative for most of the users. There are other features Mongo Express
> include which are targeted for more advanced users (like multiple database
> management) which could not be that important.*
> Let's make sure that we are in agreement on the way forward here. I'm not
> sure a knee-jerk rip and replace of Data Browser is the right answer -
> especially if mongo-express is only implemented as an MBaaS Service and is
> not a first class citizen of the Studio.
> I think we need to have a call to discuss this and make sure we are in
> agreement on the path forward.
> [1] https://docs.google.com/document/d/1ICBS4ieDkepNne1R_
> EVe1N9KyP3Ijjpmvc3GiJNrhmw/edit
> --
> John Frizelle
> Platform Architect, Red Hat Mobile
> Consulting Engineering
> mobile: *+353 87 290 1644 <//+353872901644>*
> twitter:* @johnfriz*
> skype: *john_frizelle*
> mail: *jfrizell at redhat.com <jfrizell at redhat.com>*
> On 11 November 2016 at 10:34, Wei Li <weil at redhat.com> wrote:
>> It does. But it is using the same approach we are using at the moment
>> with data browser, and it probably works fine with smaller dataset. It will
>> not work very well with large dataset like we have in production
>> environment.
>> We are actually going to look at improving data browser start from the
>> next sprint. But now it looks like we may have a better alternative.
>> @Conor, do you think this can replace data browser in the studio?
>> On Fri, Nov 11, 2016 at 10:28 AM, Conor O'Neill <coneill at redhat.com>
>> wrote:
>>> Great work on this. We've been seeing a lot of requests for Data Browser
>>> upgrades and this may be a better approach. Does it have bulk import/export?
>>> Conor
>>> On 10 November 2016 at 16:02, Craig Brookes <cbrookes at redhat.com> wrote:
>>>> This is pretty cool. I actually think having the data browser as an
>>>> MBaaS service makes a lot of sense.
>>>> For auth it seems you could create a piece of middleware that calls
>>>> back to the platform to check a cookie or header value, if not there
>>>> redirect to a login screen and proxy the credentials through to the
>>>> platform.
>>>> Craig
>>>> On Thu, Nov 10, 2016 at 3:41 PM, Emilio Rodriguez Martinez <
>>>> emrodrig at redhat.com> wrote:
>>>>> Hey guys,
>>>>> based on consulting's feedback, we've been working to integrate Mongo
>>>>> Express in RHMAP. The first step was integrate it as a platform service and
>>>>> here you can find our findings:
>>>>> *Description*
>>>>> Mongo Express Service is a RHMAP service which allows users to manage
>>>>> their Mongo databases through a robust GUI. This interface includes several
>>>>> pieces of functionality missing in the current Data Browser such as a
>>>>> complex query runner or a database and collections statistics.
>>>>> Besides, Mongo Express is an ongoing Open Source project so we can
>>>>> benefit from the community contribution.
>>>>> Here you can find a quick demo of Mongo Express working in RHMAP:
>>>>> https://bluejeans.com/s/zTlgS/
>>>>> *Current limitations*
>>>>> - At the moment only the service's database is accessible
>>>>> automatically. This means that the Cloud App's databases need to be
>>>>> manually configured to be managed through this service.
>>>>> - This service needs to be public and therefore the database will be
>>>>> exposed: anybody knowing the url would have access to the data.
>>>>> Note: both limitations can be workarounded. Depending on the feedback
>>>>> from this service we will put more effort on this.
>>>>> *Installation and usage*
>>>>> To use Mongo Express Service in RHMAP follow these steps:
>>>>> 1. Provision the sample FeedHenry Service in RHMAP (Services & APIs >
>>>>> + Provision MBaaS service > New MBaaS service)
>>>>> 2. Make the new service public (Details > Make this Service Public to
>>>>> all Projects and Services)
>>>>> 3. Upgrade database (Data Browser > Upgrade Database)
>>>>> 4. Replace code from the test service with the forked Mongo Express
>>>>> Service fork:
>>>>>      - clone Mongo Express fork (git at github.com:emilioicai/mon
>>>>> go-express-service.git)
>>>>>      - git remote add your services git url (Details > Git Url)
>>>>>      - git push --force origin master
>>>>> 5. Deploy (using Node 4 as runtime)
>>>>> 6. Mongo Express should be available through the Preview section in
>>>>> the service view
>>>>> *Troubleshooting*
>>>>> Most of the issues arise because of one of these settings:
>>>>>      - Service is not public
>>>>>      - Database was not upgraded before deploying
>>>>>      - Node 0.10 or Node 0.11 was used as runtime instead of Node 4
>>>>> In case of a problem re-provisioning and making sure those three
>>>>> settings are properly configured.
>>>> _______________________________________________
>>>> feedhenry-dev mailing list
>>>> feedhenry-dev at redhat.com
>>>> https://www.redhat.com/mailman/listinfo/feedhenry-dev
>>> --
>>> Product Manager | Red Hat Mobile | Cell: +353-87-9790297 | Desk:
>>> +353-21-2303419
>>>  | Skype: cwjoneill | Location: Cork, Ireland | Timezone: GMT/BST
>> --
>> Wei Li
>> Red Hat email address: wei.li at redhat.com
>> Senior Software Engineer
>> _______________________________________________
>> feedhenry-dev mailing list
>> feedhenry-dev at redhat.com
>> https://www.redhat.com/mailman/listinfo/feedhenry-dev

James Mernin
Director of Cloud Operations
Red Hat Mobile

Office: +353 51 810120 | Mobile: +353 87 9170808
jmernin at redhat.com @mernin
http://www.redhat.com/mobile <http://www.feedhenry.com> @redhatmobile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/feedhenry-dev/attachments/20161111/d4f30776/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo.png
Type: image/png
Size: 11472 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/feedhenry-dev/attachments/20161111/d4f30776/attachment.png>

More information about the feedhenry-dev mailing list