Changed structure of the library (which is now a gwt widget basically).
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@141741 82a268e6-3cf1-43bd-a215-b396298e98cffeature/18039
parent
67cf760cbb
commit
c99954c9d5
@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
entryPointModules=
|
@ -1,8 +1,8 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
|
||||
org.eclipse.jdt.core.compiler.compliance=1.7
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
|
||||
org.eclipse.jdt.core.compiler.compliance=1.8
|
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
|
||||
org.eclipse.jdt.core.compiler.source=1.7
|
||||
org.eclipse.jdt.core.compiler.source=1.8
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<faceted-project>
|
||||
<installed facet="java" version="1.7"/>
|
||||
<installed facet="jst.utility" version="1.0"/>
|
||||
<installed facet="java" version="1.8"/>
|
||||
</faceted-project>
|
||||
|
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module rename-to='ckanutilitylibrary'>
|
||||
<!-- Inherit the core Web Toolkit stuff. -->
|
||||
<inherits name='com.google.gwt.user.User' />
|
||||
|
||||
<!-- Inherit the default GWT style sheet. You can change -->
|
||||
<!-- the theme of your GWT application by uncommenting -->
|
||||
<!-- any one of the following lines. -->
|
||||
<!-- <inherits name='com.google.gwt.user.theme.standard.Standard'/> -->
|
||||
<!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> -->
|
||||
<!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/> -->
|
||||
|
||||
<!-- Other module inherits -->
|
||||
<!-- Specify the app entry point class. -->
|
||||
<entry-point
|
||||
class='org.gcube.datacatalogue.ckanutillibrary.client.CkanUtilLibrary' />
|
||||
|
||||
<!-- Specify the paths for translatable code -->
|
||||
<source path='client' />
|
||||
<source path='shared' />
|
||||
</module>
|
@ -0,0 +1,16 @@
|
||||
package org.gcube.datacatalogue.ckanutillibrary.client;
|
||||
|
||||
import com.google.gwt.core.client.EntryPoint;
|
||||
|
||||
/**
|
||||
* Empty entry point module
|
||||
* @author Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it)
|
||||
*/
|
||||
public class CkanUtilLibrary implements EntryPoint {
|
||||
|
||||
@Override
|
||||
public void onModuleLoad() {
|
||||
|
||||
}
|
||||
|
||||
}
|
@ -1,15 +1,15 @@
|
||||
package org.gcube.datacatalogue.ckanutillibrary;
|
||||
package org.gcube.datacatalogue.ckanutillibrary.server;
|
||||
|
||||
import java.io.File;
|
||||
import java.sql.SQLException;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.gcube.datacatalogue.ckanutillibrary.models.CKanUserWrapper;
|
||||
import org.gcube.datacatalogue.ckanutillibrary.models.CkanDatasetRelationship;
|
||||
import org.gcube.datacatalogue.ckanutillibrary.models.DatasetRelationships;
|
||||
import org.gcube.datacatalogue.ckanutillibrary.models.ResourceBean;
|
||||
import org.gcube.datacatalogue.ckanutillibrary.models.RolesCkanGroupOrOrg;
|
||||
import org.gcube.datacatalogue.ckanutillibrary.server.models.CKanUserWrapper;
|
||||
import org.gcube.datacatalogue.ckanutillibrary.server.models.CkanDatasetRelationship;
|
||||
import org.gcube.datacatalogue.ckanutillibrary.server.models.DatasetRelationships;
|
||||
import org.gcube.datacatalogue.ckanutillibrary.server.models.ResourceBean;
|
||||
import org.gcube.datacatalogue.ckanutillibrary.shared.RolesCkanGroupOrOrg;
|
||||
import org.json.simple.JSONObject;
|
||||
|
||||
import eu.trentorise.opendata.jackan.model.CkanDataset;
|
@ -1,4 +1,4 @@
|
||||
package org.gcube.datacatalogue.ckanutillibrary.exceptions;
|
||||
package org.gcube.datacatalogue.ckanutillibrary.server.exceptions;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
/**
|
@ -1,4 +1,4 @@
|
||||
package org.gcube.datacatalogue.ckanutillibrary.exceptions;
|
||||
package org.gcube.datacatalogue.ckanutillibrary.server.exceptions;
|
||||
|
||||
/**
|
||||
* Thrown when there are more than one application profile, but none of them was set as master
|
@ -1,4 +1,4 @@
|
||||
package org.gcube.datacatalogue.ckanutillibrary.exceptions;
|
||||
package org.gcube.datacatalogue.ckanutillibrary.server.exceptions;
|
||||
|
||||
/**
|
||||
* No Data Catalogue node found.
|
@ -1,4 +1,4 @@
|
||||
package org.gcube.datacatalogue.ckanutillibrary.exceptions;
|
||||
package org.gcube.datacatalogue.ckanutillibrary.server.exceptions;
|
||||
|
||||
/**
|
||||
* Exception thrown when it is not possible retrieve information from the ServiceEndpoint
|
@ -1,4 +1,4 @@
|
||||
package org.gcube.datacatalogue.ckanutillibrary.exceptions;
|
||||
package org.gcube.datacatalogue.ckanutillibrary.server.exceptions;
|
||||
|
||||
/**
|
||||
* Too many clusters in this scope exception.
|
@ -1,4 +1,4 @@
|
||||
package org.gcube.datacatalogue.ckanutillibrary.models;
|
||||
package org.gcube.datacatalogue.ckanutillibrary.server.models;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.gcube.datacatalogue.ckanutillibrary.models;
|
||||
package org.gcube.datacatalogue.ckanutillibrary.server.models;
|
||||
|
||||
import static com.google.common.base.Preconditions.checkNotNull;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.gcube.datacatalogue.ckanutillibrary.models;
|
||||
package org.gcube.datacatalogue.ckanutillibrary.server.models;
|
||||
|
||||
/**
|
||||
* Allowed relationships between packages(datasets). Some of them are not supported yet due to the problem
|
@ -1,4 +1,4 @@
|
||||
package org.gcube.datacatalogue.ckanutillibrary.models;
|
||||
package org.gcube.datacatalogue.ckanutillibrary.server.models;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.gcube.datacatalogue.ckanutillibrary.models;
|
||||
package org.gcube.datacatalogue.ckanutillibrary.server.models;
|
||||
|
||||
/**
|
||||
* The current state of this group/user
|
@ -1,4 +1,4 @@
|
||||
package org.gcube.datacatalogue.ckanutillibrary.utils;
|
||||
package org.gcube.datacatalogue.ckanutillibrary.server.utils;
|
||||
|
||||
/**
|
||||
* A list of attributes that are saved into http session.
|
@ -1,4 +1,4 @@
|
||||
package org.gcube.datacatalogue.ckanutillibrary.utils;
|
||||
package org.gcube.datacatalogue.ckanutillibrary.server.utils;
|
||||
|
||||
import java.net.HttpURLConnection;
|
||||
import java.net.URL;
|
@ -1,4 +1,4 @@
|
||||
package org.gcube.datacatalogue.ckanutillibrary.utils.url;
|
||||
package org.gcube.datacatalogue.ckanutillibrary.server.utils.url;
|
||||
|
||||
/**
|
||||
* Entity context for uri resolver
|
@ -1,4 +1,4 @@
|
||||
package org.gcube.datacatalogue.ckanutillibrary.models;
|
||||
package org.gcube.datacatalogue.ckanutillibrary.shared;
|
||||
|
||||
/**
|
||||
* Roles that user can have into organizations/groups.
|
Loading…
Reference in New Issue