I think you mixed getMapping and getTargets. In fact you have to return a mapping collection in getMapping