Hi Érico,

As mentioned above, you can use the registry to store the content. But
Additionally you can create a different API to update the registry content.
So you can call that API once every week and update the content. In this
way you don't need to use the carbon web console which may be more
convenient.

Regards
Senduran

On Thu, Jun 4, 2020 at 9:07 PM Arunan Sugunakumar <[email protected]> wrote:

> Hi Érico,
>
> You can store the content in the registry and the use the content via
> Payload Factory mediator[1]. You can edit the content of the json every
> week via carbon web console without changing the API.
>
> [1] - https://docs.wso2.com/display/EI660/PayloadFactory+Mediator
>
> Regards,
> Arunan
>
> On Thu, May 28, 2020 at 5:38 AM Érico <[email protected]> wrote:
>
>> Hello
>>
>> Please I need to use (in an API hosted in a EI 6.6.0) the content of a
>> json which will change once per week
>>
>> This json will be sent to me directly through e-mail
>>
>> I thought I could store this json into a EI property and use it in my API
>> payload
>>
>> Would this be a way out?
>>
>> If so, how can I set this property? I mean so it can acept an uploaded
>> file (the json file itself) through carbon web console?
>>
>> I'm trying to follow this:
>>
>> https://docs.wso2.com/display/EI6xx/Working+with+JSON+Message+Payloads#WorkingwithJSONMessagePayloads-AccessingcontentfromJSONpayloads
>>
>> Thks
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>
>
> --
> *Sugunakumar Arunan*
> Software Engineer | WSO2
>
> Email : [email protected]
> Mobile : +94766016272
> Web : http://wso2.com
> <https://wso2.com/signature>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to