Hot Code Push with Loopback

88 views
Skip to first unread message

kartik rokde

unread,
Apr 22, 2014, 3:06:47 AM4/22/14
to loopb...@googlegroups.com
HI,

I am really impressed by the architecture of the loopback and wanna use the same in one of my project. My requirements suits almost 100% to the services that are offered by Strongloop. I am eager to create BaaS with loopback with one basic requirement of adding api dynamically without need to restart the sl/node server. I was googling up for the same but am unable to get any heads up on the same. Do we have any provision in loopback for dynamically adding api, custom codes on events as provided by deployd.

Any help would be much appreciated.

Thanks
Kartikeya Rokde.


Miroslav Bajtoš

unread,
Apr 23, 2014, 8:12:51 AM4/23/14
to loopb...@googlegroups.com
Hi Kartikeya,

LoopBack does not support adding new models dynamically at the moment, but it's something that can be added.

Could you please open a GitHub issue requesting this feature?


Best regards,
Miroslav

Ritchie Martori

unread,
Apr 24, 2014, 11:37:50 AM4/24/14
to Miroslav Bajtoš, loopb...@googlegroups.com
> ...with loopback with one basic requirement of adding api dynamically without need to restart the sl/node server...
> ...Do we have any provision in loopback for dynamically adding api, custom codes on events as provided by deployd...

Are you referring to the ability to change code in a deployd event script while the server is running? As well as add / remove resources / collections / etc?

When we designed deployd we baked this feature in from the very beginning. 
The way deployd adds this feature is by implementing its own module loading. This module loader is capable of swapping code while the server is running. It's not something we can really add on to Loopback 1.X. Its really not something we are looking to add to LoopBack at the moment, but if enough people are asking for it I think we could look into it. So if anyone else is looking for this feature please speak up.




--
You received this message because you are subscribed to the Google Groups "LoopbackJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to loopbackjs+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
StrongLoop makes it easy to develop APIs in Node, plus get DevOps capabilities like monitoring, debugging and clustering.

Abhishek Sharma

unread,
Apr 25, 2014, 5:24:20 AM4/25/14
to loopb...@googlegroups.com, Miroslav Bajtoš
Feature like this with dashboard like deployd would really take loopback to the next level. I vote up for this feature.
Reply all
Reply to author
Forward
0 new messages