From e8ecfd3f59d68db98d7848b76d2e00aad1d9e6ea Mon Sep 17 00:00:00 2001 From: Gianpaolo Coro Date: Fri, 30 Oct 2015 11:45:37 +0000 Subject: [PATCH] git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/EcologicalEngineGeoSpatialExtension@120130 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../GeothermalDataMetadataInsertSlovenia.java | 72 +++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 src/main/java/org/gcube/dataanalysis/geo/batch/GeothermalDataMetadataInsertSlovenia.java diff --git a/src/main/java/org/gcube/dataanalysis/geo/batch/GeothermalDataMetadataInsertSlovenia.java b/src/main/java/org/gcube/dataanalysis/geo/batch/GeothermalDataMetadataInsertSlovenia.java new file mode 100644 index 0000000..d7711c1 --- /dev/null +++ b/src/main/java/org/gcube/dataanalysis/geo/batch/GeothermalDataMetadataInsertSlovenia.java @@ -0,0 +1,72 @@ +package org.gcube.dataanalysis.geo.batch; + +import org.gcube.dataanalysis.geo.meta.GenericLayerMetadata; +import org.opengis.metadata.identification.TopicCategory; + +public class GeothermalDataMetadataInsertSlovenia { + + //static String geonetworkurl = "http://geonetwork.geothermaldata.d4science.org/geonetwork"; + static String geonetworkurl = "http://geoserver-dev2.d4science-ii.research-infrastructures.eu/geonetwork"; + static String geoserverurl = "http://geoserver-dev.d4science-ii.research-infrastructures.eu/geoserver"; + static String user = "admin"; + //static String password = "d4science2014"; + static String password = "admin"; + public static void main(String[] args) throws Exception{ + + for (int i=0;i0) + metadataInserter.customMetaDataInsert(urls,protocols); + } + +}