Open nicodeur opened 7 years ago
Yes that servlet is a public servlet that is currently missing the following mandatory feature for any public servlet: -Proper help message when empty call is made. -Controls of those data before trigering the execution of the servlet. -Public Call log facilities in order to log all calls made in order to identify the external system that call those public API (this is to perform the impact analyses for version migration).
I propose to keep that issue to cover the cleaning of all the following API: (not sure all of them are really public)
@nicodeur 500 error has just been fixed by the 125a82be0238ef22c1d6d5e2ff2106d45c5089e6 commit
@abourdon Hi, I just tested it, it works fine! Thanks.
Reopen as we'll use that topic to clean other public servlet. I rename the issue
Thanks to #1342, Cerberus now defines an API to write public servlets.
Let's take the opportunity of this issue to move all existing public servlets to this new API.
Regards, Aurélien
Hi,
When I call
AddToExecutionQueue
and I entered wrong argument (wrong campaign name, or wrong environment for exemple), I have only an error 500 on response, and aNullPointerException
on log file :It will be better to notify the user than
campaign name is wrong
, orenvironment is wrong
etc.On jenkins plugin, it will allow to display better errors messages when campaign is launch.
Regrads,
Nicolas