@RequestMapping(value = "", method = RequestMethod.GET, params = { "containerId", "moduleId" })
	@ResponseStatus(HttpStatus.OK)
	@ResponseBody
	public ModuleMetadataResource listByContainerAndModuleId(
			@RequestParam("containerId") String containerId,
			@RequestParam("moduleId") String moduleId) {
		ModuleMetadata moduleMetadata = this.moduleMetadataRepository.findOne(containerId, moduleId);
		if (moduleMetadata == null) {
			throw new ModuleNotDeployedException(containerId, moduleId);
		}
		return maskSensitiveData(moduleMetadataResourceAssembler.toResource(moduleMetadata));

	}
List the module metadata for the given moduleId and deployed to the given containerId.

@param containerId the container id of the container to choose
@param moduleId the module id of the module metadata to list
@return the {@link ModuleMetadataResource} of the module
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/rest/ModulesMetadataController.java