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 3923 d 14 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 3929 d 12 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 3930 d 16 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 3931 d 10 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 3931 d 11 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 3932 d 11 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 3932 d 15 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 3959 d 17 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 3959 d 17 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 3959 d 18 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 3959 d 19 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 3959 d 19 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 3994 d 17 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 4001 d 18 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 4034 d 10 h delphine /trunk/services/modules/0.1/baseflor/ modification de la modif precedent  
/trunk/services/modules/0.1/baseflor/GraphiquesTaxonsSup.php
697 4034 d 18 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 4105 d 11 h aurelien /trunk/services/modules/0.1/baseflor/ Correction fonction mal appelée sur baseflor  
/trunk/services/modules/0.1/baseflor/InformationsBaseflor.php
618 4276 d 17 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 4276 d 17 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 4280 d 19 h mathilde /trunk/services/modules/0.1/baseflor/  
/trunk/services/modules/0.1/baseflor/Informations.php
614 4281 d 12 h mathilde /trunk/services/modules/0.1/baseflor/ nouveau paramètre masque.cat  
/trunk/services/modules/0.1/baseflor/Informations.php
612 4293 d 17 h mathilde /trunk/services/modules/0.1/baseflor/ ajout parametre masque sur le catminat  
/trunk/services/modules/0.1/baseflor/Informations.php
596 4310 d 17 h mathilde /trunk/services/modules/0.1/baseflor/ correction du traitement des versions pour Informations  
/trunk/services/modules/0.1/baseflor/Informations.php
592 4316 d 14 h mathilde /trunk/services/modules/0.1/baseflor/ ajout de la possibilité d'appeler une liste de résultats sans limites  
/trunk/services/modules/0.1/baseflor/InformationsBaseflor.php
585 4316 d 16 h mathilde /trunk/services/modules/0.1/baseflor/ corrections  
/trunk/services/modules/0.1/baseflor/InformationsBaseflor.php
580 4331 d 15 h mathilde /trunk/services/modules/0.1/baseflor/ changement dans les champs.  
/trunk/services/modules/0.1/baseflor/InformationsBaseflor.php
579 4331 d 15 h mathilde /trunk/services/modules/0.1/baseflor/ modification pour ajout d'un sous-service relations/catminat  
/trunk/services/modules/0.1/baseflor/Informations.php
/trunk/services/modules/0.1/baseflor/InformationsBaseflor.php
/trunk/services/modules/0.1/baseflor/InformationsTaxonsSup.php
560 4346 d 18 h aurelien /trunk/services/modules/0.1/baseflor/ Correction d'un bug de dimension des graphiques qui les faisait planter sous chrome et safari  
/trunk/services/modules/0.1/baseflor/CommunGraphiques.php
556 4352 d 15 h mathilde /trunk/services/modules/0.1/baseflor/  
/trunk/services/modules/0.1/baseflor/InformationsTaxonsSup.php
553 4352 d 18 h mathilde /trunk/services/modules/0.1/baseflor/ correction retour.format=min  
/trunk/services/modules/0.1/baseflor/InformationsBaseflor.php
552 4352 d 18 h mathilde /trunk/services/modules/0.1/baseflor/  
/trunk/services/modules/0.1/baseflor/InformationsBaseflor.php
551 4352 d 19 h mathilde /trunk/services/modules/0.1/baseflor/  
/trunk/services/modules/0.1/baseflor/précisions sur types biologiques
550 4352 d 19 h mathilde /trunk/services/modules/0.1/baseflor/ changements importants vis à vis du champs type biologique.  
/trunk/services/modules/0.1/baseflor/InformationsBaseflor.php
549 4353 d 11 h mathilde /trunk/services/modules/0.1/baseflor/  
/trunk/services/modules/0.1/baseflor/Informations.php
/trunk/services/modules/0.1/baseflor/InformationsBaseflor.php
548 4356 d 12 h mathilde /trunk/services/modules/0.1/baseflor/ refactorisation pour plus de clarté du code  
/trunk/services/modules/0.1/baseflor/Informations.php
/trunk/services/modules/0.1/baseflor/InformationsBaseflor.php
/trunk/services/modules/0.1/baseflor/InformationsTaxonsSup.php
547 4356 d 12 h mathilde /trunk/services/modules/0.1/baseflor/  
/trunk/services/modules/0.1/baseflor/précisions sur types biologiques
546 4356 d 12 h mathilde /trunk/services/modules/0.1/baseflor/ compléments sur les types biologiques  
/trunk/services/modules/0.1/baseflor/précisions sur types biologiques
545 4356 d 13 h mathilde /trunk/services/modules/0.1/baseflor/  
/trunk/services/modules/0.1/baseflor/précisions sur types biologiques
544 4356 d 13 h mathilde /trunk/services/modules/0.1/baseflor/ informations  
/trunk/services/modules/0.1/baseflor/précisions sur types biologiques
529 4373 d 11 h mathilde /trunk/services/modules/0.1/baseflor/  
/trunk/services/modules/0.1/baseflor/Informations.php