Can you also come up with the resource structure and scope for the
suggested functionality?

I guess we would need to search APIs with the corresponding label and
return only the ones in PUBLISHED or PROTOTYPED states.

On Fri, May 4, 2018 at 9:57 AM, Sachini De Silva <sachi...@wso2.com> wrote:

> Hi all,
>
>
> *Design Overview*
> I am working on developing a REST API to fetch API details to APIM gateway
> from the publisher. Fetching of APIs is based on labels, i.e as mentioned
> in [1] a certain set of APIs can be grouped into a certain gateway instance
> by a label. When setting up the gateway the user executes following command
> followed by user credentials.
>
> setup <label>
>
> Then a request for APIs labeled with <label> is sent to API publisher. The
> response to this is, API details as a compressed JSON. Then based on the
> retrieved details b7a project  structure for the gateway instance will be
> created and deployed.
>
> So ideally I should be able to do this by adding a new resource to
> publisher-api.yaml to fetch APIs by label. Then this resource call has to
> be mapped to where the setup command is executed.
>
> Suggestions are highly appreciated.
>
> Related mail threads :
> [1] [Architecture][APIM] Label feature for API-Manager gateway
> [2] [Architecture][APIM][API-Manager gateway] Attaching Labels for APIs
>
> Thanks,
> Sachini
>
> --
>
> *Sachini De Silva*
> Software Engineer - WSO2
>
> Email : sachi...@wso2.com
> Mobile : +94714765495
>
>
> _______________________________________________
> Architecture mailing list
> Architecture@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
Nuwan Dias

Software Architect - WSO2, Inc. http://wso2.com
email : nuw...@wso2.com
Phone : +94 777 775 729
_______________________________________________
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to