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
836 3909 d 8 h raphael /trunk/services/modules/0.1/baseflor/ baseflor: Support des requêtes ontologies multiplexées.
Le code des ontologies communes aux référentiels (bdnt) et celui des
ontologies baseflor était à l'origine *quasi-similaire*.

Ainsi à l'aide d'un peu de fuzzing et quelques tweaks, le patch représentant
l'historique du passage au multiplexage pour les ontologies bdnt s'applique
à baseflor:
$ svn diff -r300:HEAD services/modules/0.1/commun/Ontologies.php|patch -p4 -F3

Un peu de contexte: les ontologies baseflor sont nécessaires:
* lors de l'affichage de l'onglet "écologie" d'eflore consultation
* plus précisément dans les graphiques
* plus précisément encore dans les légendes

Ainsi ce n'était pas moins de 94 requêtes HTTP (moyenne) qui étaient
effectuées sur le modèle suivant:
/service:eflore:0.1/baseflor/ontologies/VES:8
/service:eflore:0.1/baseflor/ontologies/VEC:6
...

Avec ce commit il est désormais possible de multiplexer les critères:
/service:eflore:0.1/baseflor/ontologies/VEL:1,VEL:2,VEL:3,VEL:4,VEL:5,VEL:6,VEL:7,VEL:8 ...
Les valeurs sont retournées dans un tableau indexé par critère, eg:
{ "VEHE:7": { ... }, "VER:7": { ... } }

Le côté client sera implémenté dans:
eflore consultation: metier/api_0.1/Graphiques.php

TODO: tests phpunit
 
/trunk/services/modules/0.1/baseflor/Ontologies.php
808 3915 d 6 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
797 3916 d 10 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
794 3917 d 4 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
791 3917 d 5 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 3918 d 5 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
783 3918 d 8 h raphael /trunk/services/ webservices: actualisation de plusieurs tests (ontologies/baseflor)  
/trunk/services/modules/0.1/baseflor/Informations.php
/trunk/services/tests/0.1/baseflor/GraphiquesBaseflorTest.php
/trunk/services/tests/0.1/baseflor/InformationsBaseflorTest.php
/trunk/services/tests/0.1/commun/CommunOntologiesTest.php
/trunk/services/tests/0.1/eflore/EfloreOntologiesTest.php
/trunk/services/tests/0.1/nvjfl/NvjflNomsVernaTest.php
765 3945 d 11 h raphael /trunk/services/modules/0.1/ ontologies: follow-up r759 et r762: utilisation de Bdd::MODE_OBJET pour le fetch PDO [dépend de la r429 du Framework]  
/trunk/services/modules/0.1/baseflor/InformationsTaxonsSup.php
/trunk/services/modules/0.1/bdtfx/CommunNomsTaxons.php
764 3945 d 11 h raphael /trunk/services/modules/0.1/baseflor/ ontologies: suppression de l'appel au webservice des ontologies baseflor (InformationsBaseflor) par une requête SQL directe hyper-simplifiée [dépend de la r429 du Framework]  
/trunk/services/modules/0.1/baseflor/InformationsBaseflor.php
763 3945 d 12 h raphael /trunk/services/modules/0.1/baseflor/ ontologies: suppression de l'appel au webservice des ontologies baseflor (CommunGraphiques) par une requête SQL directe hyper-simplifiée [dépend de la r429 du Framework]  
/trunk/services/modules/0.1/baseflor/CommunGraphiques.php
762 3945 d 13 h raphael /trunk/services/modules/0.1/baseflor/ ontologies: suppression de l'appel au webservice des ontologies baseflor (InformationsTaxonsSup) par une requête SQL directe hyper-simplifiée  
/trunk/services/modules/0.1/baseflor/InformationsTaxonsSup.php
761 3945 d 13 h raphael /trunk/services/modules/0.1/baseflor/ baseflor: gestion d'erreur: reformulations/typo mineures  
/trunk/services/modules/0.1/baseflor/Informations.php
/trunk/services/modules/0.1/baseflor/InformationsBaseflor.php
/trunk/services/modules/0.1/baseflor/InformationsTaxonsSup.php
725 3980 d 11 h raphael /trunk/services/modules/0.1/baseflor/ svg: synchro trunk/eflore-test qui pose la question des valeurs à 0
pour ce qui concerne les données d'optimum écologique.
 
/trunk/services/modules/0.1/baseflor/InformationsTaxonsSup.php
712 3987 d 12 h aurelien /trunk/services/modules/0.1/baseflor/ Ajout de try catch sur la récupération d'ontologie  
/trunk/services/modules/0.1/baseflor/CommunGraphiques.php
/trunk/services/modules/0.1/baseflor/GraphiquesTaxonsSup.php
/trunk/services/modules/0.1/baseflor/InformationsTaxonsSup.php
698 4020 d 4 h delphine /trunk/services/modules/0.1/baseflor/ modification de la modif precedent  
/trunk/services/modules/0.1/baseflor/GraphiquesTaxonsSup.php
697 4020 d 12 h aurelien /trunk/services/modules/0.1/baseflor/ debug  
/trunk/services/modules/0.1/baseflor/GraphiquesBaseflor.php
/trunk/services/modules/0.1/baseflor/GraphiquesTaxonsSup.php
647 4091 d 4 h aurelien /trunk/services/modules/0.1/baseflor/ Correction fonction mal appelée sur baseflor  
/trunk/services/modules/0.1/baseflor/InformationsBaseflor.php
618 4262 d 10 h mathilde /trunk/services/modules/0.1/baseflor/ on ne renvoie pas les liens vers des graphiques sans valeurs écologiques  
/trunk/services/modules/0.1/baseflor/InformationsTaxonsSup.php
617 4262 d 11 h mathilde /trunk/services/modules/0.1/baseflor/ pas de lien vers un service-web graphique si pas de données écologiques  
/trunk/services/modules/0.1/baseflor/InformationsBaseflor.php
615 4266 d 13 h mathilde /trunk/services/modules/0.1/baseflor/  
/trunk/services/modules/0.1/baseflor/Informations.php

Show All