Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 12 23:56
    dependabot[bot] labeled #1033
  • Aug 12 23:56
    dependabot[bot] opened #1033
  • Aug 12 23:56

    dependabot[bot] on npm_and_yarn

    Bump path-parse from 1.0.5 to 1… (compare)

  • Aug 04 17:12
    jayndu opened #1032
  • Jul 29 08:08
    codezilla91 commented #1011
  • Jul 14 18:10
    krishna-gennext opened #1031
  • Jul 06 14:49
    pprathameshmore edited #1030
  • Jul 06 14:39
    pprathameshmore opened #1030
  • Jun 29 15:18
    XVincentX closed #1029
  • Jun 29 15:18
    XVincentX commented #1029
  • Jun 29 07:58
    woderchen opened #1029
  • Jun 15 12:33
    isatria edited #1028
  • Jun 15 12:21
    isatria opened #1028
  • Jun 11 22:42
    Shamith005 commented #873
  • Jun 11 06:59
    izakfhy commented #873
  • Jun 07 02:54
    philipsjp26 commented #696
  • Jun 07 00:35
    philipsjp26 commented #1004
  • Jun 06 16:05
    dependabot[bot] labeled #1027
  • Jun 06 16:05

    dependabot[bot] on npm_and_yarn

    Bump ws from 6.2.1 to 6.2.2 Bu… (compare)

  • Jun 06 16:05
    dependabot[bot] opened #1027
dinhthong173
@dinhthong173
image.png
please help me this problem
jags06
@jags06
Hi Everyone, Can someone share the how to make use of docker with express-gateway and how can expose services in container ? I am working on CI/CD pipeline from jenkins to docker
TamKings
@lord-zeus
Hello Guys i keep receiving this from a service of mine [EG:policy] warn: socket hang up when uploading file
Bogdan
@Bogdamned
Hello Everyone! Does anybody happen to know how to enable CRSF protection in express gateway?
vasanthk97
@vasanthk97

hello everyone, I want to know if we can change remote express gateway config from outside. Is there a api exposed for admins, to enable changing config without having to change the docker image of eg?

Our use case is we have an infrastructure based on tenants and want to change the config in run time without having container restarts or image changes

sohambarc
@sohambarc
Is there any way to how I can use rate-limit for a specific path ?

http:
port: 9000
admin:
port: 9876
hostname: localhost
apiEndpoints:
cust:
host: localhost
paths:

  - '/delete'
  - '/update'

serviceEndpoints:
custsurv:
url: 'http://localhost:3000'
policies:

  • basic-auth
  • cors
  • expression
  • key-auth
  • log
  • oauth2
  • proxy
  • rate-limit
    pipelines:
    default:
    apiEndpoints:
    • cust
      policies:
    • rate-limit:
      • action:

        Limit to 1 per minute

        max: 1
        windowMs: 100000
    • proxy:
      • action:
        serviceEndpoint: custsurv
        changeOrigin: true
Like I want to use rate-limit for /delete path
ImenHassine
@ImenHassine
image.png
ImenHassine
@ImenHassine
Helloo everybody , whyyy the body is sent always empty
ImenHassine
@ImenHassine
and how can i generate API documentation (swagger) from express gateway ?
also how to use scopes in oauth2 ? key-auth with scopes works but oauth2 it does not work
Doqnach
@Doqnach
hey all. is Express Gateway still under (active) development? Or is the last version really from September 2019?
omprasadnayak
@omprasadnayak
how to implement express gateway with kubernetes ?
aOmmy Indy
@aommyindy

hi, I have questions about policies: response-transformer

pipelines:
  pipeline1:
    apiEndpoints:
      - sampleEndpoint
    policies:
      - response-transformer:
        - action:
            body:
              add:
                hello: "'world'"
            headers:
              add:
                r-test: "'header value'"
      - proxy:
          - action:
              serviceEndpoint: backend

we can not proxy action serviceEndpoint: backend or not ?

I want to mock response-transformer some json
for loadtest and not loadtest 3rd party
Doqnach
@Doqnach
@XVincentX hi, is this product still active? or deprecated?
ImenHassine
@ImenHassine
How to combined multiple responses with single gateway endpoint using express gateway
And express Gateway does not really support such scenario unfortunately. So i to have to write my own plugin
and when i did that the route in gateway.config.yml
ImenHassine
@ImenHassine
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