On Fri, Jul 19, 2013 at 12:35 PM, Lakmali Baminiwatta <[email protected]>wrote:

> Hi Nuwan,
>
>
> On 19 July 2013 12:19, Nuwan Dias <[email protected]> wrote:
>
>> Hi,
>>
>> I think the API should initially be in a created state rather than being
>> in a published state. The admin or whoever responsible should publish it
>> through the publisher.
>>
>> We also need to make this a generic solution so that it works even with
>> external API Management. When the API is added to the registry, it will be
>> visible on the publisher (external). And when the admin goes and publishes
>> it, the API will then be deployed onto the Store and Gateway.
>>
>
> +1. Agree.
>
> Thanks,
> Lakmali
>
>>
>> Thanks,
>> NuwanD.
>>
>>
>> On Fri, Jul 19, 2013 at 12:10 PM, Lakmali Baminiwatta 
>> <[email protected]>wrote:
>>
>>> Hi all,
>>>
>>> We have completed the implementation of the Embedded APIM functionality,
>>> to manage GREG Rest APIs. We need to clarify how are we going to publish
>>> the GREG Rest API. Publishing the API includes following tasks,
>>>
>>>    - Add the API artifact to the registry
>>>    - Add the API to the APIM database
>>>
>>> So we have three options to publish the API.
>>>
>>> 1. Admin manually create the API and publish through API Publisher app.
>>> (This is what we do at the moment)
>>>
>>
Since we're publishing internal Product APIs here, this would not be a good
option since users will not know what to publish and what information to
enter.

>
>>> 2. Publish the API at the server startup.
>>>                But since this is a one time operation, there will be an
>>> overhead at each server startup, in checking whether the API has already
>>> published.
>>>
>>
Yes, as mentioned it would be an overhead to check whether the necessary
APIs have been published at server startup.

>
>>> 3. Publish the API at the GREG pack build time.
>>>
>>
This will work with embedded API Management but this is not a solution when
going with External API Management.

>
>>> What would be the best option to procede with?
>>>
>>
Looking at the given options what I feel best is to have some kind of an
Admin page where the Product's internal APIs are listed and and
administrative user has the option of publishing them. Since we're talking
about internal production APIs, it would also be fine to publish them
directly rather than it first being in a created state.

Thanks,
NuwanD.

>
>>> Thanks,
>>> Lakmali
>>>
>>> --
>>> Lakmali Baminiwatta*
>>> *
>>> Software Engineer
>>> WSO2, Inc.: http://wso2.com
>>> lean.enterprise.middleware
>>> mobile:  +94 71 2335936
>>> blog : lakmali.com
>>> *
>>> *
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Nuwan Dias
>>
>> Senior Software Engineer - WSO2, Inc. http://wso2.com
>> email : [email protected]
>> Phone : +94 777 775 729
>>
>
>
>
> --
> Lakmali Baminiwatta*
> *
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean.enterprise.middleware
> mobile:  +94 71 2335936
> blog : lakmali.com
> *
> *
>



-- 
Nuwan Dias

Senior Software Engineer - WSO2, Inc. http://wso2.com
email : [email protected]
Phone : +94 777 775 729
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to