minor fixes

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/grsf-publisher-ws@158121 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2017-11-02 11:32:41 +00:00
parent 874befaf7c
commit 05b48cd484
2 changed files with 8 additions and 4 deletions

View File

@ -6,6 +6,9 @@
<dependent-module archiveName="grsf-common-library-1.0.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/grsf-common-library/grsf-common-library">
<dependency-type>uses</dependency-type>
</dependent-module>
<dependent-module archiveName="ckan-util-library-2.4.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/ckan-util-library/ckan-util-library">
<dependency-type>uses</dependency-type>
</dependent-module>
<property name="context-root" value="grsf-publisher-ws"/>
<property name="java-output-path" value="/grsf-publisher-ws/target/classes"/>
</wb-module>

View File

@ -1,6 +1,7 @@
package org.gcube.data_catalogue.grsf_publish_ws.json.input.others;
import org.gcube.data_catalogue.grsf_publish_ws.json.input.record.Common;
import org.gcube.datacatalogue.common.Constants;
import org.json.simple.JSONObject;
import com.fasterxml.jackson.annotation.JsonProperty;
@ -11,16 +12,16 @@ import com.fasterxml.jackson.annotation.JsonProperty;
*/
public class SimilarRecordBean {
@JsonProperty("url")
@JsonProperty(Constants.SIMILAR_RECORDS_BEAN_FIELD_URL)
String url;
@JsonProperty("id")
@JsonProperty(Constants.SIMILAR_RECORDS_BEAN_FIELD_IDENTIFIER)
String id;
@JsonProperty("description")
@JsonProperty(Constants.SIMILAR_RECORDS_BEAN_FIELD_DESCRIPTION)
String description;
@JsonProperty("name")
@JsonProperty(Constants.SIMILAR_RECORDS_BEAN_FIELD_NAME)
String name;
public SimilarRecordBean() {