The reason I moved the runtime modules by container into ContainersController was that to have the REST endpoint 'runtime/containers/{containerId}/modules'. If I move that to here in ModulesRepository then, not sure a REST endpoint URI '{containerId}/modules' would make sense under 'runtime/modules'