import org.apache.commons.lang3.tuple.ImmutablePair;
import org.apache.commons.lang3.tuple.Pair;
-//import org.json.JSONObject;
import org.openecomp.sdc.tosca.parser.api.ISdcCsarHelper;
import org.openecomp.sdc.tosca.parser.utils.GeneralUtility;
import org.openecomp.sdc.tosca.parser.utils.SdcToscaUtility;
return cps;
}
+ @SuppressWarnings("unchecked")
private void buildPathMappedToValue(String path, Object property, Map<String, Object> pathsMap) {
if (property instanceof Map) {
for (Map.Entry<String, Object> item : ((Map<String, Object>) property).entrySet()) {
return null;
}
+ @SuppressWarnings({ "unchecked", "rawtypes" })
private Object iterateProcessPath(Integer index, Object current, String[] split) {
if (current == null) {
log.error("iterateProcessPath - this input has no default");
@Override
//Sunny flow - covered with UT
+ @SuppressWarnings("unchecked")
public List<Pair<NodeTemplate, NodeTemplate>> getNodeTemplatePairsByReqName(
List<NodeTemplate> listOfReqNodeTemplates, List<NodeTemplate> listOfCapNodeTemplates, String reqName) {
if (listOfReqNodeTemplates == null || listOfCapNodeTemplates == null || reqName == null) {
return nt.getType().endsWith("VnfConfiguration");
}
+ @SuppressWarnings("unchecked")
private Map<String, String> filterProperties(Object property, String path, FilterType filterType, String pattern, Map<String, String> filterMap) {
if (property instanceof Map) {