SONAR-5417 Refactor existing batch WS to more easily add a new action