Hi Tharindu, Yes. This is a distributed setup and it is having correct configurations in Pub/Store node. APIs are getting published correctly for sandbox and production gateways. Here problem is in the swagger console, when we have two gateways in different types (as "production" and "sandbox"), its not allowing to select API Gateway and when we select Sandbox key request always going to production gateway endpoint.
Thanks Godwin On Sat, Oct 20, 2018 at 11:21 AM Tharindu Dharmarathna <[email protected]> wrote: > Hi Godwin, > > Is this a distributed setup ?, If so please check gateway configuration > under store node, as we use those configurations to call endpoints, and > also if you correctly publish APIs as sandbox and production, You'll not be > able to invoke APIs in production node as we not defining the sandbox > endpoint. > > On Sat, Oct 20, 2018 at 12:01 PM Godwin Shrimal <[email protected]> wrote: > >> Hi Nuwan, >> >> I am using two gateways with one is having "production" and other one >> having "sandbox" type. According to the offline chat had with Thilini, it >> is showing drop-down only if there are more than one gateways from *one >> gateway type*. So since we can't select sandbox endpoint, even we select >> sandbox key its calling production gateway endpoint. >> >> Thanks >> Godwin >> >> On Sat, Oct 20, 2018 at 3:53 AM Thilini Shanika <[email protected]> >> wrote: >> >>> Hi Godwin, >>> >>> Further, if you don't have more than one gateway environments defined >>> under a given type (production, sandbox, or hybrid), API Gateway drop-down >>> won't be showing up in API console, since you don't have multiple gateway >>> endpoints to select in the drop down. That is by design and not a bug. >>> >>> On Sat, Oct 20, 2018 at 5:16 AM Nuwan Dias <[email protected]> wrote: >>> >>>> Valid types are "production", "sandbox" and "hybrid". Are you using one >>>> of these or something called "production and sandbox"? >>>> >>>> On Fri, Oct 19, 2018 at 9:11 PM Harsha Kumara <[email protected]> wrote: >>>> >>>>> @Thilini Shanika <[email protected]> >>>>> >>>>> On Fri, Oct 19, 2018 at 3:20 PM Godwin Shrimal <[email protected]> >>>>> wrote: >>>>> >>>>>> Hi APIM Team, >>>>>> >>>>>> We can't see gateways in API Store Console when we use type as >>>>>> production and sandbox. If we use both gateways as hybrid then I can see >>>>>> the API Gateways in the swagger console. >>>>>> Is it a known issue? >>>>>> >>>>>> Thanks >>>>>> Godwin >>>>>> -- >>>>>> *Godwin Amila Shrimal* >>>>>> Associate Technical Lead >>>>>> WSO2 Inc.; http://wso2.com >>>>>> lean.enterprise.middleware >>>>>> >>>>>> mobile: *+94761124419* >>>>>> linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/ >>>>>> <https://www.linkedin.com/in/godwin-amila-2ba26844/>* >>>>>> twitter: https://twitter.com/godwinamila >>>>>> <http://wso2.com/signature> >>>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> *Harsha Kumara* >>>>> >>>>> Associate Technical Lead, WSO2 Inc. >>>>> Mobile: +94775505618 >>>>> Email: [email protected] >>>>> Blog: harshcreationz.blogspot.com >>>>> >>>>> GET INTEGRATION AGILE >>>>> Integration Agility for Digitally Driven Business >>>>> _______________________________________________ >>>>> Dev mailing list >>>>> [email protected] >>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>> >>>> >>>> >>>> -- >>>> *Nuwan Dias* | Director | WSO2 Inc. >>>> (m) +94 777 775 729 | (e) [email protected] >>>> [image: Signature.jpg] >>>> >>> >>> >>> -- >>> Thilini Shanika >>> Associate Technical Lead >>> WSO2, Inc.; http://wso2.com >>> 20, Palmgrove Avenue, Colombo 3 >>> >>> E-mail: [email protected] >>> >>> >> >> -- >> *Godwin Amila Shrimal* >> Associate Technical Lead >> WSO2 Inc.; http://wso2.com >> lean.enterprise.middleware >> >> mobile: *+94761124419* >> linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/ >> <https://www.linkedin.com/in/godwin-amila-2ba26844/>* >> twitter: https://twitter.com/godwinamila >> <http://wso2.com/signature> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> > > > -- > > *Tharindu Dharmarathna*Associate Technical Lead > WSO2 Inc.; http://wso2.com > lean.enterprise.middleware > > mobile: *+94779109091* > -- *Godwin Amila Shrimal* Associate Technical Lead WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94761124419* linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/ <https://www.linkedin.com/in/godwin-amila-2ba26844/>* twitter: https://twitter.com/godwinamila <http://wso2.com/signature>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
