new GetFeedByUrlRequest((Long) values.get("EUREKA:PLUGINID"), (String) values.get("EUREKA:FEEDURL"));
Feed feed = getMapper.execute(request);
feed.setTitle(title);
// And now find or create the subscriber.
FeedSubscriber feedSubscriber =
getFeedSubscriberMapper.execute(new GetFeedSubscriberRequest(feed.getId(), getEntityId
.getEntityId(values), type, principal.getId()));
// Add any non system key/value pairs to the feed subscribers conf settings.
feedSubscriber.getConfSettings().clear();
for (String key : values.keySet())
{
if (!key.contains("REQUIRED:") && !key.contains("EUREKA:"))
{
feedSubscriber.getConfSettings().put(key, values.get(key));
}
}
ActivityDTO activity = new ActivityDTO();
HashMap<String, String> props = new HashMap<String, String>();