@Override
	public List<ModuleMetadata> findAll() {
		List<ModuleMetadata> results = new ArrayList<ModuleMetadata>();
		try {
			for (String containerId : getAvailableContainerIds()) {
				List<ModuleMetadata.Id> modules = getDeployedModules(containerId);
				for (ModuleMetadata.Id moduleId : modules) {
					ModuleMetadata metadata = findOne(moduleId);
					if (metadata != null) {
						results.add(metadata);
					}
				}
			}
			return results;
		}
		catch (Exception e) {
			throw ZooKeeperUtils.wrapThrowable(e);
		}
	}
Resolve the module option value using the module metadata.

@param metadataMap the values map from ZK module metadata
@return the resolved option values
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/module/store/ZooKeeperModuleMetadataRepository.java