Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 11 23:59
    dependabot[bot] labeled #1021
  • May 11 23:59
    dependabot[bot] opened #1021
  • May 11 23:59

    dependabot[bot] on npm_and_yarn

    Bump lodash from 4.17.19 to 4.1… (compare)

  • May 11 23:26
    dependabot[bot] labeled #1020
  • May 11 23:26
    dependabot[bot] opened #1020
  • May 11 23:26

    dependabot[bot] on npm_and_yarn

    Bump hosted-git-info from 2.6.0… (compare)

  • May 11 14:22
    railway17 closed #1019
  • May 11 14:21
    railway17 commented #1019
  • May 11 14:21
    railway17 commented #1019
  • May 11 13:45
    railway17 opened #1019
  • May 11 12:23
    joodie opened #1018
  • May 09 12:38
    dependabot[bot] labeled #1017
  • May 09 12:38
    dependabot[bot] opened #1017
  • May 09 12:38

    dependabot[bot] on npm_and_yarn

    Bump handlebars from 4.5.3 to 4… (compare)

  • Apr 29 14:09

    XVincentX on v1.16.11

    1.16.11 (compare)

  • Apr 29 14:07
    XVincentX commented #1014
  • Apr 28 16:37
    alexshevch commented #1014
  • Apr 24 04:25
    Jamlee edited #1015
  • Apr 21 10:19
    bilalkalim-nisum-com opened #1016
  • Apr 21 09:42
    Jamlee opened #1015
Dan Castillo
@dan-castillo
hello I am new to this chat and I have a very basic question - can I do orchestration and aggregation of Microservices with express gateway? What I mean by aggregation is I want my clients to call an endpoint on express gateway that represents calls to two or more Miscroserices that I want to return an aggregate of the responses to the Client call?
Darren DeRidder
@73rhodes
@dan-castillo from what I've seen, it won't do aggregation out of the box.
Al Tsang
@altsang
@douglaslira and @73rhodes if you’d like to think about maintaining the project, I can reopen and we chat about govenrnance
moninm
@moninm
Hello, is it possible to send multipart/form-data through the gateway ?
moninm
@moninm
In fact when I add "- request-transformer:
action:
body:
add:
user: req.user"
I loose all multipart data
Ghost
@ghost~60064d62d73408ce4ff92107

What are the plugins that I can use to integrate express-gateway with keycloak auth server ?

I couldn't find a solution that worked for me, I just posted this one: https://www.npmjs.com/package/express-gateway-plugin-keycloak-connect . It's a wrapper over the keycloak-connect js package.

Than890
@Than890
why not work jwt verification expired time in accessTokens?
Ghost
@ghost~60064d62d73408ce4ff92107

why not work jwt verification expired time in accessTokens?

I couldn't make it work I don't know why si I wen't for the one soliction that I've already deployed before.

MohammedShabeeb
@MohammedShabeeb
Hi, Where the credentials and users get stored in express gateway? in my case its not working after the service restart
Al Tsang
@altsang
Read the docs - it goes to memory instance redis like storage
Jaime Arias Almeida
@himito

In fact when I add "- request-transformer:
action:
body:
add:
user: req.user"

I have the same problem :(

@moninm sorry but, did you find a solution for that? :(
Harun Kilic
@HarunKilic
Hi guys, i am a bit new with gateways and microservices. I am trying to find the best gateway that works nice with express. I see that express-gateway isnt maintaned anymore. Is there any nice gateway which works nicely with express?
Al Tsang
@altsang
I’m working on getting it actively maintained in the near future
Harun Kilic
@HarunKilic
@altsang Nice! Then i will rather use express-gateway than the others. Will see if i can somehow contribute.
Azlan Aziz
@azizazlan

curl https://thuleen.ddns.net:4444/ip -k works on the same machine but get connection refused when do on remote machine:

curl: (7) Failed to connect to thuleen.ddns.net port 4444: Connection refused

I already check UFW status:

[ 7] 4444 ALLOW IN Anywhere

Any idea how to resolve this. Thank you!

Azlan Aziz
@azizazlan
Solved. Apparently I have to remove the hostname under the https, so the config file:
https:                                                                                                                                                                                                                                                                          
  port: 4444
  hostname: localhost   // remove this line
  tls:
    "default":
        key: server.key
        cert: server.crt
Rajen Rawal
@rajenrawal_gitlab
Hi guys
How can I use environment variables
Rajen Rawal
@rajenrawal_gitlab
I made .env file on root directory then use it on config port: ${HTTP_PORT:-8080}
like this
1 reply
but something not good here
Abdullah khan
@mrabd423_twitter
Hello all, Does any one know any simplest tutorial on how to use express api gateway ?
Samuel Kitazume
@samuelkitazume
Abdullah, you will probably find the documentation quite good. I had no problem getting a test up and running in a few minutes
Btw, guys, quick question on some conditions: pathMatch (built-in) and pathmatch (from rewrite plugin). Why do they use req.url instead of req.path? I think a better solution would be creating a urlMatch and a pathMatch to distinguish... I faced a situation this week that I had to dig into the code to understand how it was handling it.
Job Schipper
@desjob
Anyone has experience with using express gateway to create a REST API for a SOAP service?
ive been searching if there are existing plugins for it, but so far nothing came up. anyone can point me in the right direction on how i could implement it?
Samuel Kitazume
@samuelkitazume:matrix.org
[m]
Never done that but they do have a Request Transformer policy... it’s not so customizable as you need but that means you can create your own policy for your business rules
Although I think what you need is morr a BFF than a Gateway, so you may want to take another approach
ardianp
@ardianp
Hi everybody. When I restart the express-gateway, the users are gone.
How can I get around this?
Al Tsang
@altsang
Get Redis
Read the documentation - you are using the in-memory db
rabiaalam
@rabiaalam
Hi, how to add a custom policy with no action parameters to a pipeline?
Samuel Kitazume
@samuelkitazume:matrix.org
[m]
Why would you want that?
Praveen TVS
@PraveenTvs_twitter
hi i am looking for API gateway
would like to know is express api gateway is community version or it also have liceneced version and where can i check pricing
Samuel Kitazume
@samuelkitazume:matrix.org
[m]
Seems like express-gateway is free to use
malsubmal
@malsubmal
guys
do we have to create a consumer for every new end user?
or am i missing sth?
Samuel Kitazume
@samuelkitazume:matrix.org
[m]
I think it depends on your app actually... do you need some level of authentication? In my case I have no consumers
malsubmal
@malsubmal
ohhhh okay I read the Getting-started and assumed
thanks !
Juan C Soto
@jcsotoarvelaiz
Hi, Is this project maintained? Any idea when node 14 will be supported?
Samuel Kitazume
@samuelkitazume:matrix.org
[m]
jcsotoarvelaiz (Juan C Soto): I’m getting the feeling the project is not very active
But you can take a look at the roadmap in their website
smelezan
@smelezan
Hi, i'm searching a way to stream audio, but I don't know how to pass through gateway, I see the request stream plugin but not much information on this
Samuel Kitazume
@samuelkitazume:matrix.org
[m]
Hmmm it doesn’t look like those are related tho, but I’m no expert on that :(