fixed send catalogue event method
This commit is contained in:
parent
8c4fbb49a4
commit
272994811c
|
@ -81,7 +81,7 @@ public class NotificationClient extends BaseClient{
|
||||||
* Notify a catalogue event, types availeble see {@link CatalogueEventType}
|
* Notify a catalogue event, types availeble see {@link CatalogueEventType}
|
||||||
* @param event an instance of {@link CatalogueEvent}
|
* @param event an instance of {@link CatalogueEvent}
|
||||||
*/
|
*/
|
||||||
public void senCatalogueEvent(CatalogueEvent event) {
|
public void sendCatalogueEvent(CatalogueEvent event) {
|
||||||
Validate.isTrue(event != null, "CatalogueEvent cannot be null");
|
Validate.isTrue(event != null, "CatalogueEvent cannot be null");
|
||||||
logger.debug("Request for sending CatalogueEvent notifications");
|
logger.debug("Request for sending CatalogueEvent notifications");
|
||||||
String thisMethodSignature = "catalogue";
|
String thisMethodSignature = "catalogue";
|
||||||
|
|
|
@ -69,7 +69,7 @@ public class TestClientServices {
|
||||||
"Wyscout soccer-logs dataset",
|
"Wyscout soccer-logs dataset",
|
||||||
"submitted \"Wyscout soccer-logs dataset\", a dataset of soccer-logs for all the main soccer leagues in the world, from season 2014/2015 to the current one. ",
|
"submitted \"Wyscout soccer-logs dataset\", a dataset of soccer-logs for all the main soccer leagues in the world, from season 2014/2015 to the current one. ",
|
||||||
new URL("http://data.d4science.org/ctlg/ResourceCatalogue/wyscout_soccer-logs_dataset"));
|
new URL("http://data.d4science.org/ctlg/ResourceCatalogue/wyscout_soccer-logs_dataset"));
|
||||||
nc.senCatalogueEvent(event);
|
nc.sendCatalogueEvent(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Reference in New Issue