Questions tagged [moleculer-web]
7 questions
1
vote
1 answer
How to use MongoDB aggregate in Moleculer
I am new to moleculer framework. I want to use MongoDB's aggregate with moleculer framework it is possible ?
Can anybody tell me how to write MongoDb's aggregate query in moleculer framework.
Thanks in advance.

1990minds dev
- 11
- 1
1
vote
1 answer
MoleculerJs with Jaeger tracing: how to trace follow up action calls (new spans) in one trace
I would like to display all my traces like in the examples from the moleculer-jaeger package:
But what i get is something like this:
All spans you can see in this picture should be within the main trace (gateway).
Here is my…

JustAMicrobe
- 427
- 6
- 15
1
vote
1 answer
What is the best approach to stream JSON from a REST API to an Express app?
I have a moleculer-based microservice that has an endpoint which outputs a large JSON object (around tens of thousands of objects)
This is a structured JSON object and I know beforehand what it is going to look like.
[ // ... tens of thousands of…

frishi
- 862
- 1
- 10
- 27
1
vote
2 answers
moleculer-web API gateway. onError never hit
We used the example from the moleculer website as the basis for our API gateway, and are a having issues when routes throw errors - the onError handler is never hit, the exception is unhandled and node crashes the app. Not the idea!
I realise this…

kpollock
- 3,899
- 9
- 42
- 61
0
votes
0 answers
Mock actions after creating service in moleculer microservice Nodejs
I want to test an action. Inside that service action, I am calling another service action.
code looks like below
describe("Test auth service", () => {
describe("action", ()=>{
let broker = new ServiceBroker({
logger: false,
…

abinas patra
- 359
- 3
- 21
0
votes
1 answer
How to set MongoDB with moleculer framework
I am new in moleculer framework.
I want to store the data in mongoDB which received from moleculer framework.
In sort i want to MongoDB instead of moleculer-db it is possible ?
Please help me.
Thanks.

Mayur Vaghasiya
- 1,383
- 2
- 12
- 24
0
votes
1 answer
List moleculer http entry points
I'm using moleculer-web, how can I get a list of API URLs available.
http://0.0.0.0:4000/~node/actions shows 404.

Dmitry Kaigorodov
- 1,512
- 18
- 27