Yes, it needs to be aborted. Since API definition contains these mediation details, AFAIU this API would not even get published to the gateway without those.
Thanks. On Thu, Oct 20, 2016 at 10:24 AM, Nuwan Dias <[email protected]> wrote: > > > On Thu, Oct 20, 2016 at 9:37 AM, Kaveesha Perera <[email protected]> > wrote: > >> Hi all, >> >> Currently I'm working on a client side tool to perform import and export >> of APIs in APIM. >> >> On proceeding with importing a exported API, I came across a doubt state, >> Should we abort the normal process of API import if we failed to upload the >> corresponding mediation policies of that API, or should we allow the normal >> API import procedure even without mediation policies? >> WDYT? >> > > I think we should abort. Because if the API gets created with a reference > to the mediation policy, the API invocation will fail at the runtime right? > >> >> Regards, >> Kaveesha. >> -- >> Kaveesha Perera >> Intern - Software Engineering >> >> mobile: 0716130471 >> > > > > -- > Nuwan Dias > > Software Architect - WSO2, Inc. http://wso2.com > email : [email protected] > Phone : +94 777 775 729 > > _______________________________________________ > Architecture mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture > > -- Best Regards, *Thilini Cooray* Software Engineer Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20774%20570112> E-mail : [email protected] WSO2 Inc. www.wso2.com lean.enterprise.middleware
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
