Project

General

Profile

« Previous | Next » 

Revision 55561

Removed dep to gcube registry and ignore integration tests

View differences:

CatalogueLicense.java
30 30

  
31 31
	public static CatalogueLicense getCatalogueLicenseFor(final String license){
32 32
		//TODO: get the best from the data we have, if we are able to clean the string, this method wil be much simpler...
33
		//TODO: not specified is not a valid value for the new gcat API and requesting the list of licensing fails, ask Luca.
33 34
		if(StringUtils.isBlank(license)) return NotSpecified;
34 35
		if(license.equalsIgnoreCase("CC") || license.equalsIgnoreCase("Free/ CC") || license.equalsIgnoreCase("Creative Commons CC0 1.0 Universal Public Domain Dedication")) return CC0;
35 36
		if(license.equalsIgnoreCase("CC-BY") || license.equalsIgnoreCase("CC BY")) return CCBY;

Also available in: Unified diff