Revision 39139
Added by Andrea Mannocci about 9 years ago
modules/dnet-openaireplus-workflows/trunk/src/main/java/eu/dnetlib/msro/openaireplus/workflows/nodes/dataFlowMonitoring/TriggerPrepublicMonitoringScenarioJobNode.java | ||
---|---|---|
12 | 12 |
|
13 | 13 |
import eu.dnetlib.enabling.is.lookup.rmi.ISLookUpException; |
14 | 14 |
import eu.dnetlib.enabling.locators.UniqueServiceLocator; |
15 |
import eu.dnetlib.monitoring.core.sensors.SensorCreationException; |
|
15 | 16 |
import eu.dnetlib.monitoring.core.sensors.SensorFactory; |
16 | 17 |
import eu.dnetlib.monitoring.core.sensors.collection.SensorWrapper; |
17 | 18 |
import eu.dnetlib.monitoring.core.sensors.collection.index.solr.SolrSensor; |
... | ... | |
33 | 34 |
private SensorWrapper wrapper; |
34 | 35 |
|
35 | 36 |
@Override |
36 |
protected String execute(final NodeToken token) throws IOException, InstantiationException, IllegalAccessException, InterruptedException, ISLookUpException { |
|
37 |
protected String execute(final NodeToken token) throws IOException, InstantiationException, IllegalAccessException, InterruptedException, |
|
38 |
ISLookUpException, SensorCreationException { |
|
37 | 39 |
log.info("Execution of TriggerPrepublicMonitoringScenarioJobNode"); |
38 | 40 |
|
39 | 41 |
/* Configuring SOLR sensor */ |
Also available in: Unified diff
added throw SensorCreationException clause