Hi Roshan,
I will try that

Thank you,
Nadeesha

On Mon, Nov 19, 2018 at 6:12 AM Rajith Roshan <[email protected]> wrote:

> Hi Nadeesha,
> May be an issue reading -e CLI parameters from ballerina config API. Can
> you try setting the environment variable explicitly[1] as well.
>
> [1] - export InventoryAPI_1_0_prod_endpoint_0="http://localhost:8080/xxxxx
> "
>
> Thanks!
> Rajith
>
> On Mon, Nov 19, 2018 at 8:22 AM Nadeesha Gamage <[email protected]> wrote:
>
>>
>> + API M team
>>
>> ---------- Forwarded message ---------
>> From: Nadeesha Gamage <[email protected]>
>> Date: Sun, Nov 18, 2018 at 11:16 AM
>> Subject: [API M] Overridding endpoint information doesnt work as expected
>> in API Micro Gateway 2.6
>> To: dev <[email protected]>
>>
>>
>> Hi Devs,
>> I am trying to override an existing backend API endpoint exposed via MG
>> (after building the MG). I am executing the the following command to run
>> the MG but it still goes to the old endpoint. I have attached the source
>> .bal file generated in setup. The command that I executed is also given
>> below
>>
>> gateway -e InventoryAPI.1.0.prod.endpoint.0="http://localhost:8080/xxxxx";
>>
>> I am running this on a Windows environment.
>>
>> Can anyone let me know if I am doing something wrong or is this an issue?
>>
>>
>> --
>> Nadeesha Gamage
>> Senior Lead Solutions Engineer
>> T : +94 77 394 5706
>> B : https://nadeesha678.wordpress.com/
>> --
>> Nadeesha Gamage
>> Senior Lead Solutions Engineer
>> T : +94 77 394 5706
>> B : https://nadeesha678.wordpress.com/
>>
>
>
> --
> Rajith Roshan
> Senior Software Engineer, WSO2 Inc.
> Mobile: +94-7 <%2B94-71-554-8430>17-064-214
>


-- 
Nadeesha Gamage
Senior Lead Solutions Engineer
T : +94 77 394 5706
B : https://nadeesha678.wordpress.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to