Toggle navigation
Toggle navigation
This project
Loading...
Sign in
grogv3
/
grog-cubi
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jean-Francois Leveque
2017-02-01 11:13:09 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3cfbae3cb73d77b435aee6e8429a74c9a1fdb5c2
3cfbae3c
1 parent
af20b350
Correction bug détecté à la documentation
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
1 deletions
src/main/java/org/legrog/configuration/SolrJConfiguration.java
src/main/java/org/legrog/configuration/SolrTemplateProducer.java
src/main/java/org/legrog/entities/PublisherActionRepository.java
src/main/java/org/legrog/configuration/SolrJConfiguration.java
0 → 100644
View file @
3cfbae3
package
org
.
legrog
.
configuration
;
/**
* Created by leveque on 31/01/17.
*/
public
class
SolrJConfiguration
{
}
src/main/java/org/legrog/configuration/SolrTemplateProducer.java
0 → 100644
View file @
3cfbae3
/*
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());
}
}
*/
src/main/java/org/legrog/entities/PublisherActionRepository.java
View file @
3cfbae3
...
...
@@ -7,7 +7,7 @@ import java.util.List;
public
interface
PublisherActionRepository
extends
JpaRepository
<
PublisherAction
,
Integer
>
{
PublisherAction
findFirstByActionTypeAndPublisherOrderByPublisherActionDatetime
(
ActionType
actionType
,
Publisher
publisher
);
PublisherAction
findFirstByActionTypeAndPublisherOrderByPublisherActionDatetime
Desc
(
ActionType
actionType
,
Publisher
publisher
);
List
<
PublisherAction
>
findByPublisherVersion
(
PublisherVersion
publisherVersion
);
}
...
...
Please
register
or
login
to post a comment