Hi Chamin,

My question was what are the permission the user need to have to
export/import the API, not about invoking the API.

On Tue, Mar 8, 2016 at 9:43 PM, Chamin Dias <[email protected]> wrote:

> Hi,
>
> After importing the API, it will be in "Created" state. Please change the
> lifecycle of the API to "Published". After that, any user who has
> "Internal/subscriber" role can invoke the imported API.
>
> Thanks.
>
> On Wed, Mar 9, 2016 at 7:16 AM, Abimaran Kugathasan <[email protected]>
> wrote:
>
>> Hi Thilini.
>>
>> Thanks for the response. I thought it's supported through both https and
>> http only default https supported.
>>
>> Do you know what are the permission we need to have for the user who will
>> invoke this API Export/Import functionality?
>>
>> On Tue, Mar 8, 2016 at 10:27 AM, Thilini Cooray <[email protected]>
>> wrote:
>>
>>> Hi Abimaran,
>>>
>>> API Import Export tool is accessible to users with admin privileges.
>>> Admin credentials needs to be passed and all details of APIs (including
>>> their actual endpoints, security levels) are routed through public channels.
>>> Therefore we decided to restrict it only for HTTPS considering the
>>> security aspects.
>>>
>>> Thanks.
>>>
>>> On Tue, Mar 8, 2016 at 8:03 PM, Abimaran Kugathasan <[email protected]>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>>
>>>> Why API Import/Export [1] should be done only through HTTPS?
>>>>
>>>> I tried through HTTP Servlet port, it don't work
>>>>
>>>> curl -H "Authorization:Basic YWRtaW46YWRtaW4=" -X GET "
>>>> http://localhost:9763/api-import-export-v1.0.1/export-api?name=CalculatorAPI&version=1.0&provider=admin";
>>>> -k > CalculatorAPI.zip
>>>>
>>>> Following log noticed
>>>>
>>>> [2016-03-08 09:32:45,981]  WARN - CompositeValve To enable SaaS mode
>>>> for the webapp, /api-import-export-v1.0.1, configure the CarbonTomcatRealm
>>>> in META-INF/context.xml.
>>>>
>>>>
>>>> [1] :
>>>> https://docs.wso2.com/display/AM1100/Migrating+the+APIs+to+a+Different+Environment
>>>>
>>>> --
>>>> Thanks
>>>> Abimaran Kugathasan
>>>>
>>>> Software Engineer | WSO2 Inc
>>>> Data & APIs Technologies Team
>>>> Mobile : +94 773922820
>>>>
>>>> <http://stackoverflow.com/users/515034>
>>>> <http://lk.linkedin.com/in/abimaran>
>>>> <http://www.lkabimaran.blogspot.com/>  <https://github.com/abimarank>
>>>> <https://twitter.com/abimaran>
>>>>
>>>>
>>>
>>>
>>> --
>>> Best Regards,
>>>
>>> *Thilini Cooray*
>>> Software Engineer
>>> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
>>> E-mail : [email protected]
>>>
>>> WSO2 Inc. www.wso2.com
>>> lean.enterprise.middleware
>>>
>>
>>
>>
>> --
>> Thanks
>> Abimaran Kugathasan
>>
>> Software Engineer | WSO2 Inc
>> Data & APIs Technologies Team
>> Mobile : +94 773922820
>>
>> <http://stackoverflow.com/users/515034>
>> <http://lk.linkedin.com/in/abimaran>
>> <http://www.lkabimaran.blogspot.com/>  <https://github.com/abimarank>
>> <https://twitter.com/abimaran>
>>
>>
>
>
> --
> Chamin Dias
> *Software Engineer*
> Mobile : +94 (0) 716 097455 <%2B94%20%280%29%20773%20451194>
> Email : [email protected]
> Blog : https://chamindias.wordpress.com/
>



-- 
Thanks
Abimaran Kugathasan

Software Engineer | WSO2 Inc
Data & APIs Technologies Team
Mobile : +94 773922820

<http://stackoverflow.com/users/515034>
<http://lk.linkedin.com/in/abimaran>  <http://www.lkabimaran.blogspot.com/>
<https://github.com/abimarank>  <https://twitter.com/abimaran>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to