@RequestMapping(value = "", method = RequestMethod.GET, params = { "moduleId" })
	@ResponseStatus(HttpStatus.OK)
	@ResponseBody
	public PagedResources<ModuleMetadataResource> listByModule(Pageable pageable,
			PagedResourcesAssembler<ModuleMetadata> assembler,
			@RequestParam("moduleId") String moduleId) {
		return maskSensitiveData(assembler.toResource(
				this.moduleMetadataRepository.findAllByModuleId(pageable, moduleId),
				moduleMetadataResourceAssembler));
	}
List the module metadata for all the modules with the given moduleId.

@param pageable pagination information
@param assembler paged resource assembler
@param moduleId the module id of the module metadata to list
@return paged {@link ModuleMetadataResource}
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/rest/ModulesMetadataController.java