Re: [Dhis2-devs-core] ApiVersioning redux

2016-06-13 Thread Halvdan Hoem Grelland
OK I will. On Mon, Jun 13, 2016 at 4:27 AM, Morten Olav Hansen wrote: > Halvdan > > I haven't been able to reproduce all of your issues, but I have added some > more tests.. when you merge in this branch, please let me know.. and I will > test against programStageNotifications

Re: [Dhis2-devs-core] ApiVersioning redux

2016-06-12 Thread Morten Olav Hansen
Halvdan I haven't been able to reproduce all of your issues, but I have added some more tests.. when you merge in this branch, please let me know.. and I will test against programStageNotifications endpoint directly, all of /api/23/programStageNotifications should of course return 404 in this

Re: [Dhis2-devs-core] ApiVersioning redux

2016-06-09 Thread Morten Olav Hansen
Regarding 404 vs 405, that's up to Spring MVC, if there is at least one method mapped at the endpoint, it will usually return 405, if not 404.. I'm looking into this, and adding a few new use-cases to the testing suite -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo