Jean-Francois Leveque

Correction bug détecté à la documentation

package org.legrog.configuration;
/**
* Created by leveque on 31/01/17.
*/
public class SolrJConfiguration {
}
/*
package org.legrog.configuration;
import org.apache.solr.client.solrj.impl.HttpSolrClient;
import org.springframework.data.solr.core.SolrOperations;
import org.springframework.data.solr.core.SolrTemplate;
import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.inject.Produces;
*/
/*
public class SolrTemplateProducer {
@Produces
@ApplicationScoped
public SolrOperations createSolrTemplate() {
return new SolrTemplate(new HttpSolrClient.Builder("localhost:8983/solr").build());
}
}
*/
......@@ -7,7 +7,7 @@ import java.util.List;
public interface PublisherActionRepository extends JpaRepository<PublisherAction, Integer> {
PublisherAction findFirstByActionTypeAndPublisherOrderByPublisherActionDatetime(ActionType actionType, Publisher publisher);
PublisherAction findFirstByActionTypeAndPublisherOrderByPublisherActionDatetimeDesc(ActionType actionType, Publisher publisher);
List<PublisherAction> findByPublisherVersion(PublisherVersion publisherVersion);
}
......