Subversion Repositories eFlore/Projets.eflore-projets

Rev

Go to most recent revision | Hide changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
832 3907 d 18 h raphael /trunk/services/modules/0.1/nvjfl/ nom-vernaculaires: multiplexage des requêtes ontologiques amélioré [ontologie "genre" pris en compte]

Les requêtes multi-critères sont désormais utilisées pour plusieurs ontologies différentes, du moment
que le webservice distant est le même. Ainsi les performances sont augmentées significativement
lors plusieurs retour.champs appartement à un même webservice d'ontologies sont demandés.

Exemple, pour le taxon nt=1382, la langue français lg=fra et les retour.champs=conseil_emploi,genre:
(/nvjfl/noms-vernaculaires/attributions?masque.nt=1382&masque.lg=fra&retour.champs=conseil_emploi,genre&navigation.limite=4)

La requête d'ontologies interne est désormais:
* /nvjfl/ontologies/numStatut:1,genreNombre:11,genreNombre:10

Alors qu'auparavant elle aurait induit:
* /nvjfl/ontologies/numStatut:1 # multiplage actif, mais une seule valeur pour cette ontologie
* /nvjfl/ontologies/genreNombre:11 # ontologie différente (non-multiplexé par ailleurs)
* /nvjfl/ontologies/genreNombre:10 # idem
 
/trunk/services/modules/0.1/nvjfl/NomsVernaculaires.php
831 3907 d 20 h raphael /trunk/services/modules/0.1/nvjfl/ nvjfl: ontologies, 2 bugfixes
1) l'attribut _result_ontologies@nvjfl était présent dans le JSON renvoyé à cause
de l'utilisation de isset() sur une valeur de tableau existante mais NULL.
array_key_exists() devait être utilisé

2) Lorsque la recherche d'ontologies est nécessaire, mais que 1 seule l'est, le
JSON d'ontologies renvoyé n'a pas la même structure (il n'est pas indexé par critère
de requête). Ce cas n'était pas traité correctement ce qui amenait à retourner un
"conseil_emploi" NULL.
exemple d'URL: /nvjfl//noms-vernaculaires/attributions?masque.nt=1382&masque.lg=fra&retour.champs=conseil_emploi&navigation.limite=2
 
/trunk/services/modules/0.1/nvjfl/NomsVernaculaires.php
830 3908 d 0 h raphael /trunk/services/modules/0.1/commun/ aide: en cas d'erreur, ne pas générer d'E_NOTICE de variable non-existente ce qui ne pourrait qu'amplifier le problème  
/trunk/services/modules/0.1/commun/Aide.php
815 3910 d 3 h raphael /trunk/services/modules/0.1/ trivial syntax error  
/trunk/services/modules/0.1/Projets.php
814 3910 d 3 h raphael /trunk/services/modules/0.1/ class-name conflict: "moissonnage" vs "moissonnnage"...  
/trunk/services/modules/0.1/Projets.php
/trunk/services/modules/0.1/moissonnage/Ontologies.php
811 3912 d 19 h raphael /trunk/services/modules/0.1/ projets/tests: fix class-name conflict sur "Cartes"  
/trunk/services/modules/0.1/Projets.php
/trunk/services/modules/0.1/bdtxa/Cartes.php
/trunk/services/modules/0.1/chorodep/Cartes.php
/trunk/services/modules/0.1/eflore/Cartes.php
/trunk/services/modules/0.1/moissonnage/Cartes.php
809 3912 d 21 h raphael /trunk/services/modules/0.1/nvjfl/ nvjfl: utilisation de la bonne URL de webservice (prod-prod, test-test)  
/trunk/services/modules/0.1/nvjfl/NomsVernaculaires.php
808 3912 d 22 h raphael /trunk/services/modules/0.1/baseflor/ r807 follow-up: conflit de nom de méthode pour convertirEnPNGAvecRsvg|indexerFichierPng dans CommunGraphiques.php  
/trunk/services/modules/0.1/baseflor/CommunGraphiques.php
807 3912 d 22 h raphael /trunk/services/modules/0.1/ chorodep|bdtxa/cartes: factorisation du code de génération du fichier de carte PNG, dans Commun  
/trunk/services/modules/0.1/bdtxa/cartes/TaxonsCartes.php
/trunk/services/modules/0.1/chorodep/cartes/TaxonsCartes.php
/trunk/services/modules/0.1/commun/Commun.php
805 3913 d 3 h raphael /trunk/services/modules/0.1/chorodep/cartes/ chorodep/cartes: test du retour de exec(rsvg-convert)  
/trunk/services/modules/0.1/chorodep/cartes/TaxonsCartes.php
804 3913 d 3 h raphael /trunk/services/modules/0.1/chorodep/cartes/ chorodep/cartes: test présence répertoire de cache lors de la génération des vignettes png  
/trunk/services/modules/0.1/chorodep/cartes/TaxonsCartes.php
803 3913 d 22 h raphael /trunk/services/modules/0.1/nvjfl/ nvjfl: compat PHP-5.2, utilisation de "self::m" au lieu de "static::m"  
/trunk/services/modules/0.1/nvjfl/NomsVernaculaires.php
801 3913 d 22 h raphael /trunk/services/ cache: fix de l'obtention de la durée du cache auprès de Commun  
/trunk/services/bibliotheque/CacheEflore.php
/trunk/services/modules/0.1/commun/Commun.php
797 3914 d 2 h raphael /trunk/services/ config: substitution des directives de configuration `cache.*` par `cache_*`

Commande effectuée:
$ sed -i -r \
-e 's/cache\.(stockageChemin|miseEnCache|dureeDeVie)/cache_\1/' \
-e "s/\$this->config\['cache'\]\['(stockageChemin|miseEnCache|dureeDeVie)'\]/\$this->config['cache_\1']/" \
$(egrep -rl 'cache.*(miseEnCache|dureeDeVie|stockageChemin)')
 
/trunk/services/configurations/config_baseflor.ini
/trunk/services/configurations/config_bdtxa.ini
/trunk/services/configurations/config_chorodep.ini
/trunk/services/configurations/config_eflore.ini
/trunk/services/configurations/config_moissonnage.ini
/trunk/services/modules/0.1/baseflor/CommunGraphiques.php
/trunk/services/modules/0.1/bdtxa/cartes/TaxonsCartes.php
/trunk/services/modules/0.1/chorodep/cartes/TaxonsCartes.php
795 3914 d 2 h raphael /trunk/services/ config: substitution de cache.stockageChemin par cache_stockageChemin car
framework::Config() ne sait pas traiter une variable dotée d'un point dont
la partie gauche ne représente pas une section d'un fichier .ini.

Commande effectuée:
$ sed -i \
-e 's/cache.stockageChemin/cache_stockageChemin/' \
-e "s/\$this->config['cache']['stockageChemin']/\$this->config['cache_stockageChemin']/" \
configurations/* modules/0.1/*/*/*.php modules/0.1/eflore/Cartes.php tests/0.1/baseflor/GraphiquesBaseflorTest.php
 
/trunk/services/configurations/config_baseflor.ini
/trunk/services/configurations/config_bdtxa.ini
/trunk/services/configurations/config_chorodep.ini
/trunk/services/configurations/config_coste.ini
/trunk/services/configurations/config_eflore.ini
/trunk/services/configurations/config_moissonnage.ini
/trunk/services/modules/0.1/eflore/Cartes.php
/trunk/services/modules/0.1/eflore/cartes/CbnmedFormateur.php
/trunk/services/modules/0.1/eflore/cartes/CelFormateur.php
/trunk/services/modules/0.1/eflore/cartes/CenlrFormateur.php
/trunk/services/modules/0.1/eflore/cartes/GeneralFormateur.php
/trunk/services/modules/0.1/eflore/cartes/SophyFormateur.php
794 3914 d 20 h raphael /trunk/services/modules/0.1/ projets/tests: correction d'une régression de r791: les segments d'URL supplémentaires n'étaient pas pris en compte  
/trunk/services/modules/0.1/Projets.php
/trunk/services/modules/0.1/baseflor/Ontologies.php
792 3914 d 21 h raphael /trunk/services/modules/0.1/ typo: francisation  
/trunk/services/modules/0.1/Projets.php
791 3914 d 21 h raphael /trunk/services/modules/0.1/ projets/tests: workaround autour du fait qu'on cherche à utiliser parfois simultanément
plusieurs classes distinctes utilisant le même nom sans namespace (PHP-5.2)... no comment
testsuite "services": 13 échecs
 
/trunk/services/modules/0.1/Projets.php
/trunk/services/modules/0.1/baseflor/Ontologies.php
/trunk/services/modules/0.1/baseveg/Ontologies.php
/trunk/services/modules/0.1/chorodep/Ontologies.php
/trunk/services/modules/0.1/eflore/Ontologies.php
/trunk/services/modules/0.1/moissonnage/Ontologies.php
788 3915 d 20 h raphael /trunk/services/ webservices: fix des tests sur baseflor/informations (paramètres depart/limite)  
/trunk/services/modules/0.1/baseflor/Informations.php
/trunk/services/tests/0.1/baseflor/InformationsBaseflorTest.php
787 3915 d 21 h raphael /trunk/services/modules/0.1/eflore/ cartes: fix pour les dates d'observations nulles, le nom de colonne "nom" pour tb_cel.cel_zones_geo et l'omission de certains paramètres au webservice  
/trunk/services/modules/0.1/eflore/Cartes.php
/trunk/services/modules/0.1/eflore/cartes/GeneralFormateur.php

Show All