@@ -0,0 +1,1286 @@
+package com.github.aureliano.evtbridge.converter;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.Collections;%0Aimport java.util.List;%0Aimport java.util.Map;%0A%0Aimport com.github.aureliano.evtbridge.common.helper.StringHelper;%0Aimport com.github.aureliano.evtbridge.converter.input.InputConverterFactory;%0Aimport com.github.aureliano.evtbridge.core.config.IConfigInput;%0Aimport com.github.aureliano.evtbridge.core.config.IConfigurationConverter;%0A%0Apublic class InputConverter implements IConfigurationConverter%3CList%3CIConfigInput%3E%3E %7B%0A%0A%09public InputConverter() %7B%0A%09%09super();%0A%09%7D%0A%0A%09@Override%0A%09public List%3CIConfigInput%3E convert(Map%3CString, Object%3E data) %7B%0A%09%09@SuppressWarnings(%22unchecked%22)%0A%09%09List%3CMap%3CString, Object%3E%3E list = (List%3CMap%3CString, Object%3E%3E) data.get(%22inputs%22);%0A%09%09%0A%09%09if (list == null) %7B%0A%09%09%09return Collections.emptyList();%0A%09%09%7D%0A%09%09%0A%09%09List%3CIConfigInput%3E inputs = new ArrayList%3CIConfigInput%3E();%0A%09%09%0A%09%09for (Map%3CString, Object%3E outputMap : list) %7B%0A%09%09%09inputs.add(this.convertInput(outputMap));%0A%09%09%7D%0A%09%09%0A%09%09return inputs;%0A%09%7D%0A%09%0A%09@Override%0A%09public String id() %7B%0A%09%09return ConverterType.INPUT.name();%0A%09%7D%0A%0A%09private IConfigInput convertInput(Map%3CString, Object%3E data) %7B%0A%09%09String type = StringHelper.parse(data.get(%22type%22));%0A%09%09return (IConfigInput) InputConverterFactory.createConverter(type).convert(data);%0A%09%7D%0A%7D

Create input config converter.