Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 07 10:33
    XVincentX closed #1012
  • Jan 07 10:33
    XVincentX commented #1012
  • Jan 06 15:21
    73rhodes edited #1012
  • Jan 06 15:20
    73rhodes opened #1012
  • Dec 18 2020 23:36
    fourlincoln10 commented #1011
  • Dec 18 2020 22:42
    XVincentX commented #1011
  • Dec 18 2020 22:14
    fourlincoln10 commented #1011
  • Dec 18 2020 22:10
    Brian-McBride opened #1011
  • Dec 14 2020 07:05
    prof2k closed #1008
  • Dec 05 2020 18:11
    vasanthk97 closed #1010
  • Dec 05 2020 18:11
    vasanthk97 commented #1010
  • Dec 04 2020 09:36
    vasanthk97 edited #1010
  • Dec 04 2020 09:36
    vasanthk97 opened #1010
  • Dec 03 2020 07:45
    prof2k commented #1008
  • Dec 03 2020 07:42
    prof2k commented #1008
  • Dec 02 2020 19:38
    bhanuc commented #1008
  • Nov 14 2020 15:04
    pdkproitf commented #1004
  • Nov 14 2020 15:01
    pdkproitf commented #1004
  • Nov 14 2020 14:44
    pdkproitf commented #1004
  • Oct 30 2020 20:05
    leeogrady commented #962
ImenHassine
@ImenHassine
and when i did that the route in gateway.config.yml
does not work very well
William Chance
@wchance
I would like to sign all proxied transactions is there a way to do it from express-gateway
found some plug-in called hmac-request but not sure if this is recommended
Sameh Fakoua
@fakoua
Hello everyone
I have the following configuration:
apiEndpoints:
  api:
    host: localhost
    paths: "/ip"
  todos:
    host: localhost
    paths: "/todos"
serviceEndpoints:
  httpbin:
    url: "https://httpbin.org"
  todosService:
    url: "https://jsonplaceholder.cypress.io"
pipelines:
  default:
    apiEndpoints:
      - api
    policies:
      - proxy:
          - action:
              serviceEndpoint: httpbin
              changeOrigin: true
  todosPipeline:
    apiEndpoints:
      - todos
    policies:
      - proxy:
          - action:
              serviceEndpoint: todosService
              changeOrigin: true
now if i want to request httpbin: http://localhost:8080/ip
and if I want to request jsonplaceholder: http://localhost:8080/todos
how can i prefix to each service, for example for jsonplaceholder: http://localhost:8080/PREFIX/todos which will fetch the original domain/todos
TamKings
@lord-zeus

try this

apiEndpoints:
  api:
    host: localhost
    paths: “/ip/*"
  todos:
    host: localhost
    paths: “/todos/*"

add “/*” to the api endpoints

Sameh Fakoua
@fakoua
Many thanks, i found the solution with proxies in the action as follow:
       -action:
            ....
             prependPath: true
              ignorePath: false
              stripPath: true
TamKings
@lord-zeus

Many thanks, i found the solution with proxies in the action as follow:

Ok Cool

Miruako
@Miruako
Guys, I've got an error [EG-Policy] socket hang up randomly when I send a request, anybody know what it means exactly???
Sameh Fakoua
@fakoua
Happy New Year Express-Gatewaysters!
Can I enable CORS on the admin interface port 9876 ?
ThaDaVos
@ThaDaVos
Curiosity question: Is it possible to have multiple configuration files? So for example one per service/pipeline? Because mine is getting huge...
neerajnitw3
@neerajnitw3
Hi, want to deploy express-gateway app on azure but I am getting "iisnode was unable to establish named pipe connection to the node.exe process"
Douglas Lira
@douglaslira
How to customize message "Unauthorized" with express-gateway?
equintanar-openpay
@equintanar-openpay
hi
i want deploy express-gateway app on aws lambda, any example or documentation? thanks
Douglas Lira
@douglaslira
Hi guys
how to intercept a "Unauthorize" with JWT or how to check a token expired?
Dishant Rathi
@dishantr16
why can't i fetch the details
There is showing typeError failed to fetch
does anyone can help??
Douglas Lira
@douglaslira
I think this project was abandoned. Because I don't see anyone answering... just questions.
Doqnach
@Doqnach
last version was Sep 2019... so yeah kinda
Douglas Lira
@douglaslira
Sad because I met recently and liked it very much had a great potential
Doqnach
@Doqnach
We had the plan to use this for our API Gateway at first... until we found out the total lack of support. That does not weigh up to the fact that is actually has all the requirements we are looking for, if no updates are coming at all.
Douglas Lira
@douglaslira
I have also seriously thought about using this project, but I have been looking for more detailed help for some time now and can't find it anywhere
Doqnach
@Doqnach
we decided to try out Tyk. amazing product but having some issues getting it to run like expected on minikube.
Douglas Lira
@douglaslira
I decided to create something from scratch. I think it will be the best way
For example, you're the first person I've talked to here... and I finally realized that you have the same difficulties
Doqnach
@Doqnach
yup
actually, I just saw some activity... but not in a good way: ExpressGateway/express-gateway#1012
Unfortunately the project has been halted and I currently have nor the time nor plans to resume it.
The time to resemble the context of all this would be significant and I do prefer to leave the project as it is right now.
Douglas Lira
@douglaslira
Sad... :(
Doqnach
@Doqnach
very, back when we made our PoC it looked like a very nice product
the project is now also archived I see
Douglas Lira
@douglaslira
I've been thinking about how to contribute in some way, I think I'll make a fork
Darren DeRidder
@73rhodes
I'm in the same boat; the PR I sent was closed and the project was archived as read only, so they won't be accepting new commits or issues apparently. Are there enough people interested in keeping it going to form a group and move forward with a fork?
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
German Llop
@germanllop

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.