[Architecture] Pre-populate API Manager with one API which can be used OOTB

2015-02-16 Thread Nisala Nanayakkara
I am working on the improvement of 'Pre-populating API Manager with one sample API in APIM'. The decided approach is create a simple API using inline implementation with script mediator in the server startup. For this,apim startup.publisher package will be re-used. There will be some changes in

Re: [Architecture] Pre-populate API Manager with one API which can be used OOTB

2015-02-16 Thread Harshan Liyanage
Hi Nisala, Normally it is unacceptable to have more than 3 arguments for a method when you write a clean code. I think you will have to refactor all these methods before proceed with your work because these methods already have too many arguments. As stated in [1], The ideal number of arguments