Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Christopher Hiller
@boneskull
@mcdonnelldean any comments on #202?
Dean McDonnell
@mcdonnelldean
@boneskull I haven’t yet but it’s on my list
@/all Hey folks, when you are next on, can I get ye to start moving to our fancy new gitter digs at https://gitter.im/senecajs/seneca We are going to close this one some time next week so I’d like to get the move kicked off :D Thank you kindly :D
Beard of War
@blainsmith
got my vote ^
Wyatt Preul
@geek
/@all please join https://gitter.im/senecajs/seneca as we will be moving away from this room for support in the future. The goal is to have all senecajs related support and discussion on gitter in the senecajs/seneca room.
I am also going to consolidate the salestax examples in /senecajs into a single repo. Trying to reduce the number of repos, so that its less overwhelming for newcomers to the org
Dean McDonnell
@mcdonnelldean
\0/
Michael Robinson
@faceleg
Yeah
Chris Combs
@combsco

How do I map a seneca entity to multiple databases? Example:

tenantA goes to postgresdb called tenantA
tenantB goes to postgresdb called tenantB

However, it cannot be hard coded.

Users Table on TenantA
seneca.use(‘postgresql-store',{
  map:{’tenantA/-/users':'*'}
})
Richard Rodger
@rjrodger
@brycereynolds that sounds like a bug, probably because I haven't used expire in a while... Could you please add a github issue? thanks
@combsco you can .use('postgresql-store') twice, with different config and it will create separate stores
Chris Combs
@combsco
@rjrodger Yeah, but it’s not as dynamic as I need. I might give up on the store and just use Knex.js to switch between schemas/databases.
Ming Fang
@mingfang
hi, I have a beginner question. I'm trying to run the "Live Logs in Your Browser" example here http://senecajs.org/tutorials/logging-with-seneca.html but am getting this error var server = http.createServer(seneca.service())
^
TypeError: undefined is not a function
how does seneca.service() actually work?
sorry looks like wrong room
Chris Combs
@combsco
It’s not the wrong room… we are slowly transitioning to the new room.
Ming Fang
@mingfang
oh, i almost repost this question to senecaja/seneca. I'll just wait for help here then. thanks
Chris Combs
@combsco

@mingfang Hmm… so try doing

var server = http.createServer(seneca.export('web'))

You may have come across stale documentation.

Ming Fang
@mingfang
yes. that works. thanks
Chris Combs
@combsco
@mingfang Great.
Josh Reeter
@jreeter
has anyone successfully implemented some kind of socket microservice, I need results from various microservices to emit back on to a client.
Chris Combs
@combsco
socket like web socket?
;)
Josh Reeter
@jreeter
basically not sure the best way to architect it so that at anytime a microservice tell the socket microservice to emit stuff back
yes @combsco
Chris Combs
@combsco
I haven’t even atttempted to get out of TCP transport. Sorry
Josh Reeter
@jreeter
initially I was going to pass socket.io via plugin options and set up socket events there and additional seneca stuff
but getting really weird behavior doing that.
Dean McDonnell
@mcdonnelldean
Anyone interested in taking this for a test drive in the browser?
The idea is to give you enough pattern matching to get started on the browser
You need to use something like webpack to use it
I’m using it with React to great affect
Oops! Wrong Bord
Steve Lee
@SteveALee
@mcdonnelldean but interesting nether the less :)
Steve Lee
@SteveALee
@mcdonnelldean what is this room for compared to senecajs/Seneca?
Chris Combs
@combsco
@SteveALee I believe this is the old room and there trying to move everyone to the new room senecajs/Seneca
Steve Lee
@SteveALee
@combsco thanks, that makes sense.
Richard Rodger
@rjrodger
@combsco yes for that level of dynamic behaviour you would need a custom store
nodecraic
@webworkio
hey, if anyone has any remote remote , designer, DevOps or Sysadmin jobs they can post them at http://webwork.io
Rocky Assad
@CodisRedding
what’s the appropriate way of responding from a seneca.add() service with a pdf (application/pdf)?
Wyatt Preul
@geek
I would reply with a URI or reference on where to download the pdf from
@fourq there is also a #senecajs/seneca channel which is more active
herii purnama
@heriipurnama
Can make service search data by Seneca ?
recommendation or referral ?
Bastian Wegge
@bastianwegge
Hey guys! I'm just working my way through the "get-started" part. I have some big projects I'd like to convert to mostly seneca microservices but my impression is that there were some breaking changes over the last couple of months. I've read some issues of yours (nearForm) about creating new getting-started documents and I'm curious about whether you'd appreciate some help :). My way of saying hello!
Jan Viktor Apel
@japel
hey there! anyone using seneca-amqp-transport?
Mihai Dima
@mihaidma
the channel moved to senecajs/seneca
i saw some amqp discussions there
Jan Viktor Apel
@japel
@mihaidma thanks