Project

General

Profile

« Previous | Next » 

Revision 780bbb51

Added by Katja Luther almost 8 years ago

comment the changes out, to fix jenkins

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/dataimport/DataImportEditorContextMenu.java
94 94
                                            Set<String[]> unitIds = new HashSet<String[]>();
95 95
                                            String[] tripleId = {response.getUnitId()};
96 96
                                            unitIds.add(tripleId);
97
                                            final BioCaseEditorInput input = new BioCaseEditorInput(new OccurenceQuery(unitIds), response.getEndpoint());
97
                                           /* final BioCaseEditorInput input = new BioCaseEditorInput(new OccurenceQuery(unitIds), response.getEndpoint());
98 98
                                           // EditorUtil.open(input);
99 99
                                            Job queryJob = new Job("Querying for original record...") {
100 100

  
......
104 104
                                                    return Status.OK_STATUS;
105 105
                                                }
106 106
                                            };
107
                                            queryJob.schedule();
107
                                            queryJob.schedule();*/
108 108
                                        } catch (ClientProtocolException e) {
109 109
                                            logger.error("Query for single record failed.", e);
110 110
                                        } catch (IOException e) {
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/dataimport/SaveImportedSpecimenAction.java
54 54
            }
55 55
                for (GbifResponse response:checkedResults){
56 56
                	if (response != null){
57
                		System.err.println("response: " + response.getDataSetUri() + " " + response.getDataSetProtocol());
58
                		
59
                			String[] tripleId = response.getTripleID();
60
                			unitIds.add(tripleId);
61
	                		
57
                		/*String[] tripleId = response.getTripleID();
58
                		unitIds.add(tripleId);
59
	                		*/
62 60
                	}
63 61
                }
64 62
                
65 63
                DwcaImportConfigurator configurator = DwcaImportConfigurator.NewInstance(null, null);
66
                OccurenceQuery query = new OccurenceQuery(unitIds);
64
               /* OccurenceQuery query = new OccurenceQuery(unitIds);
67 65
                configurator.setQuery(query);
68
               
69
                Job job = CdmStore.getImportManager().createIOServiceJob(configurator);
66
               */
67
                /*Job job = CdmStore.getImportManager().createIOServiceJob(configurator);
70 68
                CdmStore.getImportManager().run(job);
71
                
69
                */
72 70
                
73 71
            }
74 72
        }

Also available in: Unified diff