|
|
|
@ -116,19 +116,19 @@ public class TestClientServices {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
|
public void sendJobNotification() throws Exception {
|
|
|
|
|
NotificationClient notificationsClient = new NotificationClient();
|
|
|
|
|
JobNotificationBean notification = new JobNotificationBean(
|
|
|
|
|
"luca.frosini",
|
|
|
|
|
UUID.randomUUID().toString(),
|
|
|
|
|
"SmartExecutor Social Indexer",
|
|
|
|
|
"SmartExecutor",
|
|
|
|
|
JobStatusType.SUCCEEDED,
|
|
|
|
|
"all ok");
|
|
|
|
|
notificationsClient.sendJobNotification(notification);
|
|
|
|
|
logger.debug("Sent job notification ");
|
|
|
|
|
}
|
|
|
|
|
// @Test
|
|
|
|
|
// public void sendJobNotification() throws Exception {
|
|
|
|
|
// NotificationClient notificationsClient = new NotificationClient();
|
|
|
|
|
// JobNotificationBean notification = new JobNotificationBean(
|
|
|
|
|
// "luca.frosini",
|
|
|
|
|
// UUID.randomUUID().toString(),
|
|
|
|
|
// "SmartExecutor Social Indexer",
|
|
|
|
|
// "SmartExecutor",
|
|
|
|
|
// JobStatusType.SUCCEEDED,
|
|
|
|
|
// "all ok");
|
|
|
|
|
// notificationsClient.sendJobNotification(notification);
|
|
|
|
|
// logger.debug("Sent job notification ");
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
|
public void getProfile() throws Exception {
|
|
|
|
|