Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Brassely David
    @brasseld
    so I suppose the oauth2 policy is useless in your 3rd screen, please remove it
    oauth2 auth is handle by the oauth2 plan
    gilsonwatanabe
    @gilsonwatanabe
    Ok, same result yet
    Screenshot from 2020-01-23 10-51-00.png
    Brassely David
    @brasseld
    did you set the client_id for your CID application ?
    this one is needed to associate the call to your application
    gilsonwatanabe
    @gilsonwatanabe
    Screenshot from 2020-01-23 10-52-59.png
    Suppose it's this one
    Brassely David
    @brasseld
    I mean, from APIM, your CID application
    this one is from AM
    gilsonwatanabe
    @gilsonwatanabe
    Screenshot from 2020-01-23 10-54-24.png
    this?
    Brassely David
    @brasseld
    ok, looks good
    can you provide an export of your api ?
    gilsonwatanabe
    @gilsonwatanabe
    yes, 1 min
    gilsonwatanabe
    @gilsonwatanabe
    by the way, I'm also usin nginx as reverse proxy and/or load balance to avoid explicity ports in some url/uris; for knowledge... maybe it's useful
    Andy Johnson
    @andy-22
    Is there a way to use Mongo replica set with gravitee? If we can do that, how the
    Mongo configuration will look like for gravitee.yml?
    Brassely David
    @brasseld
    you can define multiple server, or use the mongo uri to connect to a replica set
    Andy Johnson
    @andy-22
    So I can either have multiple "host" and port combination in yml Or I can define Mongo uri in host?
    Brassely David
    @brasseld
    yes
    Andy Johnson
    @andy-22
    @brasseld Thanks a lot sir as always.
    Brassely David
    @brasseld
    you're welcome, as always :)
    Jakov Birinich
    @Impakt
    what's required to get gravitee to start proxying requests? i managed to import some APIs using swagger specs but not sure how to tell gravitee that i have nodes available to serve those APIs
    Brassely David
    @brasseld
    @Impakt you have created APIs in Gravitee ?
    Jakov Birinich
    @Impakt
    yes i imported a few APIs using my swagger specs
    Brassely David
    @brasseld
    ok cool,
    Jakov Birinich
    @Impakt
    i imported them, and started them using the REST api
    Brassely David
    @brasseld
    then, you have to create a plan to consume then
    You did it ?
    Jakov Birinich
    @Impakt
    n i haven't done that ye
    yet
    Brassely David
    @brasseld
    so that's a mandatory step to go ahead
    Jakov Birinich
    @Impakt
    so just a plan then that's it?
    Brassely David
    @brasseld
    for now, yes
    Jakov Birinich
    @Impakt
    say i have another node in the cluster, what does it need to tell gravitee that it's available and ready to take requests for a given api?
    Brassely David
    @brasseld
    by node, you mean an other api gateway ?
    Jakov Birinich
    @Impakt
    no i mean i have a cluster of servers that serve the actual APIs
    and i have one gravitee instance as the gateway
    Brassely David
    @brasseld
    ok so you may probably have to set one or multiple endpoints for your API(s)
    Jakov Birinich
    @Impakt
    as the servers in my cluster come and go, i was wondering what it needs to tell gravitee that the nodes are available
    Brassely David
    @brasseld
    from proxy screen > Endpoints
    if you're relying on service discovery, we provide support for consul / eureeka
    Jakov Birinich
    @Impakt
    ahh so if i have my software work with that, gravitee will know automatically?
    Brassely David
    @brasseld
    you still have to set some configuration on your API, but yes
    Jakov Birinich
    @Impakt
    ok i'll add consul support today to test it
    in the meantime, do i need to tell consul which APIs a given node supports?
    Brassely David
    @brasseld
    yes, from your API > Endpoint group > Discovery > Select consul
    Jakov Birinich
    @Impakt
    so when a node is added in consul, does gravitee assume it hosts every API or will it know which APIs the new node supports?