Project

General

Profile

« Previous | Next » 

Revision 61009

Added by Andreas Czerniak almost 3 years ago

queryParams could be emtpy

View differences:

RestCollectorPlugin.java
42 42
		if (StringUtils.isBlank(resultFormatValue)) {throw new CollectorServiceException("Param 'resultFormatValue' is null or empty");}
43 43
		// if (StringUtils.isBlank(resultSizeParam)) {throw new CollectorServiceException("Param 'resultSizeParam' is null or empty");}
44 44
		// prevent resumptionType: discover -- if (Integer.valueOf(resultSizeValue) <= 1) {throw new CollectorServiceException("Param 'resultSizeValue' is less than 2");}
45
		if (StringUtils.isBlank(queryParams)) {throw new CollectorServiceException("Param 'queryParams' is null or empty");}
45

  
46
		// queryParams could be empty like for DRIS+ API from euroCRIS
47
		//if (StringUtils.isBlank(queryParams)) {throw new CollectorServiceException("Param 'queryParams' is null or empty");}
46 48
		if (StringUtils.isBlank(entityXpath)) {throw new CollectorServiceException("Param 'entityXpath' is null or empty");}
47 49

  
48 50
		String resFormat = ifDescriptor.getParams().get("resultOutputFormat");

Also available in: Unified diff