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:17:04 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
92a7e3761aaae490bb5968cecdf8f72c74e64d83
92a7e376
1 parent
3cfbae3c
Suppression ajout accidentel.
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
32 deletions
migration/creeV3Country.sql
src/main/java/org/legrog/configuration/SolrJConfiguration.java
src/main/java/org/legrog/configuration/SolrTemplateProducer.java
migration/creeV3Country.sql
View file @
92a7e37
tee
creeV3Country
.
log
create
table
Country
(
countryId
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
countryName
varchar
(
100
)
DEFAULT
NULL
,
PRIMARY
KEY
(
'countryId'
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
--
create table Country (
--
countryId int(11) NOT NULL AUTO_INCREMENT,
--
countryName varchar(100) DEFAULT NULL,
--
PRIMARY KEY ('countryId')
--
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
insert
into
Country
(
countryId
,
countryName
)
select
ID_PAYS
,
LIB_PAYS
from
pays
;
select
ID_PAYS
,
LIB_PAYS
from
v2
.
pays
;
show
create
table
Country
;
\ No newline at end of file
-- show create table Country;
\ No newline at end of file
...
...
src/main/java/org/legrog/configuration/SolrJConfiguration.java
deleted
100644 → 0
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
deleted
100644 → 0
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());
}
}
*/
Please
register
or
login
to post a comment