@RequestMapping(value = "", method = RequestMethod.GET)
	@ResponseStatus(HttpStatus.OK)
	@ResponseBody
	public PagedResources<ModuleMetadataResource> list(Pageable pageable,
			PagedResourcesAssembler<ModuleMetadata> assembler) {

		final Page<ModuleMetadata> page = this.moduleMetadataRepository.findAll(pageable);
		return maskSensitiveData(assembler.toResource(page, moduleMetadataResourceAssembler));
	}
List module metadata for all the deployed modules.

@param pageable pagination information
@param assembler paged resource assembler
@return paged {@link ModuleMetadataResource}
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/rest/ModulesMetadataController.java