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
795 3959 d 0 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 3959 d 17 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
793 3959 d 18 h raphael /trunk/services/tests/0.1/commun/ tests: fix CommunMetaDonneesTest (projet "commun" => "eflore")  
/trunk/services/tests/0.1/commun/CommunMetaDonneesTest.php
792 3959 d 18 h raphael /trunk/services/modules/0.1/ typo: francisation  
/trunk/services/modules/0.1/Projets.php
791 3959 d 18 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
790 3960 d 17 h raphael /trunk/services/tests/0.1/ webservices/tests: consulterBrut() et creerUrl() statiques et passage de \$service et \$projet à consulterJson().
En effet, on peut observer que certains tests, tels que EfloreOntologiesTest::testRecherche(), se comportent
différemment selon que la suite est lancée en intégralité ou non.
Le service requêté peut par exemple s'avérer finalement être "baseflor" au
lieu initialement "eflore". L'usage extensif d'attribut de classe pourrait en être
la cause (dans le cas du lancement de tests en parallèles par exemple).
En tout état de cause, et pour faciliter la compréhension du code au détriment d'un léger
accroissement de la verbosité, consulterBrut(), creerUrl() et consulterJson() nécessitent
désormais l'intégralité des paramètres dont ils font usage.
[ le nombre de tests en échec ne change pas: 20 ]
 
/trunk/services/tests/0.1/ServiceEflorePhpUnit.php
/trunk/services/tests/0.1/baseflor/GraphiquesBaseflorTest.php
/trunk/services/tests/0.1/baseflor/InformationsBaseflorTest.php
/trunk/services/tests/0.1/baseflor/OntologiesBaseflorTest.php
/trunk/services/tests/0.1/baseveg/SyntaxonsTest.php
/trunk/services/tests/0.1/bdtfx/BdtfxNomsTest.php
/trunk/services/tests/0.1/bdtfx/BdtfxTaxonsTest.php
/trunk/services/tests/0.1/bibliobota/PublicationsTest.php
/trunk/services/tests/0.1/cel/CelImagesTest.php
/trunk/services/tests/0.1/chorodep/ChorodepCartesTest.php
/trunk/services/tests/0.1/chorodep/ChorodepObservationsTest.php
/trunk/services/tests/0.1/chorodep/ChorodepOntologiesTest.php
/trunk/services/tests/0.1/commun/CommunAideTest.php
/trunk/services/tests/0.1/commun/CommunMetaDonneesTest.php
/trunk/services/tests/0.1/commun/CommunOntologiesTest.php
/trunk/services/tests/0.1/eflore/EfloreCartesTest.php
/trunk/services/tests/0.1/eflore/EfloreOntologiesTest.php
/trunk/services/tests/0.1/iso-639-1/Iso6391LanguesTest.php
/trunk/services/tests/0.1/nvjfl/NvjflNomsVernaTest.php
/trunk/services/tests/0.1/wikipedia/WikipediaTexteTest.php
789 3960 d 17 h raphael /trunk/services/tests/0.1/eflore/ webservices/tests: fix EfloreOntologiesTest::testRecherche  
/trunk/services/tests/0.1/eflore/EfloreOntologiesTest.php
788 3960 d 18 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 3960 d 18 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
786 3960 d 19 h raphael /trunk/services/tests/0.1/baseflor/ webservices: fix GraphiquesBaseflorTest [typo => tests failures]  
/trunk/services/tests/0.1/baseflor/GraphiquesBaseflorTest.php
785 3960 d 20 h raphael /trunk/services/tests/0.1/ webservices: actualisation de plusieurs tests (aide, suite au changement du webservice "commun" => "eflore"  
/trunk/services/tests/0.1/chorodep/ChorodepOntologiesTest.php
/trunk/services/tests/0.1/commun/CommunAideTest.php
784 3960 d 20 h raphael /trunk/services/ webservices: actualisation de plusieurs tests (chorodep/nvjfl/bdtfx)  
/trunk/services/modules/0.1/chorodep/Observations.php
/trunk/services/modules/0.1/nvjfl/NomsVernaculaires.php
/trunk/services/tests/0.1/bdtfx/BdtfxTaxonsTest.php
/trunk/services/tests/0.1/chorodep/ChorodepObservationsTest.php
/trunk/services/tests/0.1/commun/CommunAideTest.php
/trunk/services/tests/0.1/nvjfl/NvjflNomsVernaTest.php
/trunk/services/tests/0.1/wikipedia/WikipediaTexteTest.php
783 3960 d 21 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
770 3981 d 17 h raphael /trunk/services/modules/0.1/bdtfx/ bdtfx/taxons: tentative manquée d'amélioration de l'API: retourner le nom_retenu_complet, sans faire appel aux ontologies (ie: retour.format=min), utile pour la détermination du Cel  
/trunk/services/modules/0.1/bdtfx/CommunNomsTaxons.php
768 3981 d 21 h raphael /trunk/services/modules/0.1/ ontologies/sptb: correction de notices + traçage des requête mysql + compat PHP-5.2  
/trunk/services/modules/0.1/commun/Ontologies.php
/trunk/services/modules/0.1/sptb/Statuts.php
767 3981 d 23 h raphael /trunk/services/modules/0.1/ services: ajout de debug aux requêtes SQL + correction d'un masque pour le service de noms bdtxa  
/trunk/services/modules/0.1/bdtxa/Noms.php
/trunk/services/modules/0.1/cel/Images.php
/trunk/services/modules/0.1/commun/Commun.php
766 3988 d 0 h raphael /trunk/services/modules/0.1/baseveg/syntaxons/ syntaxon: fix d'une notice, Commun->traiterResultat() attend 2 arguments  
/trunk/services/modules/0.1/baseveg/syntaxons/SyntaxonsCode.php
765 3988 d 0 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 3988 d 0 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 3988 d 1 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 3988 d 2 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 3988 d 2 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
759 3988 d 18 h raphael /trunk/services/modules/0.1/bdtfx/ ontologies: suppression de l'appel au webservice des ontologies "communes" par une requête SQL directe hyper-simplifiée  
/trunk/services/modules/0.1/bdtfx/CommunNomsTaxons.php
758 3989 d 17 h raphael /trunk/services/modules/0.1/commun/ ontologies communes: correction de 2 notices PHP dans le cas de l'absence de passage de
masque et de retour_champs.
Ex: /service:eflore:0.1/bdnt/ontologies/rangTaxo:220/nom
 
/trunk/services/modules/0.1/commun/Ontologies.php
751 3995 d 0 h alex /trunk/services/modules/0.1/moissonnage/cartes/ Correction bug sur requete SQL  
/trunk/services/modules/0.1/moissonnage/cartes/SourceDonnees.php
750 3995 d 0 h alex /trunk/services/modules/0.1/moissonnage/cartes/  
/trunk/services/modules/0.1/moissonnage/cartes/SourceDonnees.php
749 3995 d 0 h alex /trunk/services/configurations/  
/trunk/services/configurations/config_moissonnage.ini
748 3995 d 1 h alex /trunk/services/presentations/images/cartes/ Mise a jour de la ressource SVG contenant le fond cartographique de la France pour le web service d'eflore de moissonnage  
/trunk/services/presentations/images/cartes/france_moissonnage.svg
747 3995 d 1 h alex /trunk/services/modules/0.1/moissonnage/ Mise à jour du web service de moissonnage generant les cartes SVG de repartition des observations pour e-Flore.
Ajout de commentaires dans les classes
 
/trunk/services/modules/0.1/moissonnage/cartes/DonneesFloradata.php
/trunk/services/modules/0.1/moissonnage/cartes/DonneesMoissonnage.php
/trunk/services/modules/0.1/moissonnage/Cartes.php
/trunk/services/modules/0.1/moissonnage/cartes/FormateurSVG.php
/trunk/services/modules/0.1/moissonnage/cartes/LegendeCartes.php
/trunk/services/modules/0.1/moissonnage/cartes/SourceDonnees.php
746 3995 d 18 h alex /trunk/services/configurations/ Correction du parametre projetsDispo  
/trunk/services/configurations/config.defaut.ini
745 3995 d 19 h alex /trunk/services/configurations/ Mise à jour des fichiers de configuration pour les web services nasa-srtm et moissonnage  
/trunk/services/configurations/config_nasa-srtm.ini
/trunk/services/configurations/config_altitude.ini
/trunk/services/configurations/config.defaut.ini
/trunk/services/configurations/config_moissonnage.ini
744 3995 d 19 h alex /trunk/services/presentations/ Suppression donnees SRTM de la NASA  
/trunk/services/presentations/srtm
743 3995 d 19 h alex /trunk/services/modules/0.1/nasa-srtm/ Mise à jour de la classe altitude : correction des paramètres acceptés par le web service et ajout d'un cartouche de commentaire en début de code.  
/trunk/services/modules/0.1/nasa-srtm/Altitude.php
742 3995 d 19 h alex /trunk/services/modules/0.1/ Renommage service altitude. Le nouveau nom du web service est maintenant nasa-srtm (pour être plus en adéquation avec les ressources utilisées que sont les fichiers HGT du modèle SRTM de la NASA)  
/trunk/services/modules/0.1/nasa-srtm
/trunk/services/modules/0.1/altitude
740 3999 d 19 h raphael /trunk/services/modules/0.1/bdtfx/ service noms: debug ajout de __FILE__ comme commentaire suffixé aux requêtes
afin de faciliter l'identification des appels en cas d'activation du general_log MySQL.
 
/trunk/services/modules/0.1/bdtfx/CommunNomsTaxons.php
/trunk/services/modules/0.1/bdtfx/Noms.php
/trunk/services/modules/0.1/bdtfx/Taxons.php
736 4002 d 1 h alex /trunk/services/ Ajout d'un nouveau web service altitude qui calcule l'altitude pour un point dont on passe les coordonnees longitude/latitude dans les parametres de l'URL.
Dans le dossier présentations, ajout d'un dossier SRTM contenant les fichiers MNT par secteurs de 1*1 degré, décrivant l'altitude d'échantillons de points situés tous les 90 m
 
/trunk/services/configurations/config_altitude.ini
/trunk/services/modules/0.1/altitude
/trunk/services/modules/0.1/altitude/Altitude.php
/trunk/services/presentations/srtm
/trunk/services/presentations/srtm/N14W061.hgt.zip
/trunk/services/presentations/srtm/N14W062.hgt.zip
/trunk/services/presentations/srtm/N15W062.hgt.zip
/trunk/services/presentations/srtm/N15W064.hgt.zip
/trunk/services/presentations/srtm/N16W062.hgt.zip
/trunk/services/presentations/srtm/N16W063.hgt.zip
/trunk/services/presentations/srtm/N18W064.hgt.zip
/trunk/services/presentations/srtm/N41E008.hgt.zip
/trunk/services/presentations/srtm/N41E009.hgt.zip
/trunk/services/presentations/srtm/N42E000.hgt.zip
/trunk/services/presentations/srtm/N42E001.hgt.zip
/trunk/services/presentations/srtm/N42E002.hgt.zip
/trunk/services/presentations/srtm/N42E003.hgt.zip
/trunk/services/presentations/srtm/N42E006.hgt.zip
/trunk/services/presentations/srtm/N42E008.hgt.zip
/trunk/services/presentations/srtm/N42E009.hgt.zip
/trunk/services/presentations/srtm/N42W001.hgt.zip
/trunk/services/presentations/srtm/N43E000.hgt.zip
/trunk/services/presentations/srtm/N43E001.hgt.zip
/trunk/services/presentations/srtm/N43E002.hgt.zip
/trunk/services/presentations/srtm/N43E003.hgt.zip
/trunk/services/presentations/srtm/N43E004.hgt.zip
/trunk/services/presentations/srtm/N43E005.hgt.zip
/trunk/services/presentations/srtm/N43E006.hgt.zip
/trunk/services/presentations/srtm/N43E007.hgt.zip
/trunk/services/presentations/srtm/N43E009.hgt.zip
/trunk/services/presentations/srtm/N43W001.hgt.zip
/trunk/services/presentations/srtm/N43W002.hgt.zip
/trunk/services/presentations/srtm/N44E000.hgt.zip
/trunk/services/presentations/srtm/N44E001.hgt.zip
/trunk/services/presentations/srtm/N44E002.hgt.zip
/trunk/services/presentations/srtm/N44E003.hgt.zip
/trunk/services/presentations/srtm/N44E004.hgt.zip
/trunk/services/presentations/srtm/N44E005.hgt.zip
/trunk/services/presentations/srtm/N44E006.hgt.zip
/trunk/services/presentations/srtm/N44E007.hgt.zip
/trunk/services/presentations/srtm/N44W001.hgt.zip
/trunk/services/presentations/srtm/N44W002.hgt.zip
/trunk/services/presentations/srtm/N45E000.hgt.zip
/trunk/services/presentations/srtm/N45E001.hgt.zip
/trunk/services/presentations/srtm/N45E002.hgt.zip
/trunk/services/presentations/srtm/N45E003.hgt.zip
/trunk/services/presentations/srtm/N45E004.hgt.zip
/trunk/services/presentations/srtm/N45E005.hgt.zip
/trunk/services/presentations/srtm/N45E006.hgt.zip
/trunk/services/presentations/srtm/N45E007.hgt.zip
/trunk/services/presentations/srtm/N45W001.hgt.zip
/trunk/services/presentations/srtm/N45W002.hgt.zip
/trunk/services/presentations/srtm/N46E000.hgt.zip
/trunk/services/presentations/srtm/N46E001.hgt.zip
/trunk/services/presentations/srtm/N46E002.hgt.zip
/trunk/services/presentations/srtm/N46E003.hgt.zip
/trunk/services/presentations/srtm/N46E004.hgt.zip
/trunk/services/presentations/srtm/N46E005.hgt.zip
/trunk/services/presentations/srtm/N46E006.hgt.zip
/trunk/services/presentations/srtm/N46E007.hgt.zip
/trunk/services/presentations/srtm/N46W001.hgt.zip
/trunk/services/presentations/srtm/N46W002.hgt.zip
/trunk/services/presentations/srtm/N46W003.hgt.zip
/trunk/services/presentations/srtm/N47E000.hgt.zip
/trunk/services/presentations/srtm/N47E001.hgt.zip
/trunk/services/presentations/srtm/N47E002.hgt.zip
/trunk/services/presentations/srtm/N47E003.hgt.zip
/trunk/services/presentations/srtm/N47E004.hgt.zip
/trunk/services/presentations/srtm/N47E005.hgt.zip
/trunk/services/presentations/srtm/N47E006.hgt.zip
/trunk/services/presentations/srtm/N47E007.hgt.zip
/trunk/services/presentations/srtm/N47W001.hgt.zip
/trunk/services/presentations/srtm/N47W002.hgt.zip
/trunk/services/presentations/srtm/N47W003.hgt.zip
/trunk/services/presentations/srtm/N47W004.hgt.zip
/trunk/services/presentations/srtm/N47W005.hgt.zip
/trunk/services/presentations/srtm/N48E000.hgt.zip
/trunk/services/presentations/srtm/N48E001.hgt.zip
/trunk/services/presentations/srtm/N48E002.hgt.zip
/trunk/services/presentations/srtm/N48E003.hgt.zip
/trunk/services/presentations/srtm/N48E004.hgt.zip
/trunk/services/presentations/srtm/N48E005.hgt.zip
/trunk/services/presentations/srtm/N48E006.hgt.zip
/trunk/services/presentations/srtm/N48E007.hgt.zip
/trunk/services/presentations/srtm/N48E008.hgt.zip
/trunk/services/presentations/srtm/N48W001.hgt.zip
/trunk/services/presentations/srtm/N48W002.hgt.zip
/trunk/services/presentations/srtm/N48W003.hgt.zip
/trunk/services/presentations/srtm/N48W004.hgt.zip
/trunk/services/presentations/srtm/N48W005.hgt.zip
/trunk/services/presentations/srtm/N48W006.hgt.zip
/trunk/services/presentations/srtm/N49E000.hgt.zip
/trunk/services/presentations/srtm/N49E001.hgt.zip
/trunk/services/presentations/srtm/N49E002.hgt.zip
/trunk/services/presentations/srtm/N49E003.hgt.zip
/trunk/services/presentations/srtm/N49E004.hgt.zip
/trunk/services/presentations/srtm/N49E005.hgt.zip
/trunk/services/presentations/srtm/N49E006.hgt.zip
/trunk/services/presentations/srtm/N49E007.hgt.zip
/trunk/services/presentations/srtm/N49E008.hgt.zip
/trunk/services/presentations/srtm/N49W001.hgt.zip
/trunk/services/presentations/srtm/N49W002.hgt.zip
/trunk/services/presentations/srtm/N50E000.hgt.zip
/trunk/services/presentations/srtm/N50E001.hgt.zip
/trunk/services/presentations/srtm/N50E002.hgt.zip
/trunk/services/presentations/srtm/N50E003.hgt.zip
/trunk/services/presentations/srtm/N50E004.hgt.zip
/trunk/services/presentations/srtm/N51E001.hgt.zip
/trunk/services/presentations/srtm/N51E002.hgt.zip
/trunk/services/presentations/srtm/S21E055.hgt.zip
/trunk/services/presentations/srtm/S22E055.hgt.zip
/trunk/services/configurations/config.defaut.ini
735 4009 d 0 h alex /trunk/services/modules/0.1/moissonnage/cartes/ Correction bug sur les requêtes de récupération des stations pour un genre donné  
/trunk/services/modules/0.1/moissonnage/cartes/DonneesFloradata.php
/trunk/services/modules/0.1/moissonnage/cartes/DonneesMoissonnage.php
734 4013 d 21 h raphael /trunk/services/modules/0.1/nvjfl/ nom-vernaculaires: support de requêtes multi-critères pour NVJFL, côté client: ACTIVATION
Ce commit active la recherche d'ontologie par multi-critères
pour le web-service de nom vernaculaire JFL.
Un define(), nécessaire mais malheureusement précédemment omis, a été rajouté.
 
/trunk/services/modules/0.1/nvjfl/NomsVernaculaires.php
733 4013 d 21 h raphael /trunk/services/modules/0.1/commun/ ontologies: support de requêtes multi-critères pour les ontologies (partie 2/2).
Lorsque des ontologies sont demandées, celles-ci peuvent désormais être regroupées
au sein d'une même requête.
La modification, portée à Commun/Ontologie.php affecte donc les web-services n'ayant *pas*
redéfini leur classe d'accès aux ontologies, c'est à dire (au 28/06/2013):
* nvjfl
* bdnt

Exemple:
Avant, 3 requêtes:
/service:eflore:0.1/nvjfl/ontologies/numStatut:1
/service:eflore:0.1/nvjfl/ontologies/numStatut:2
/service:eflore:0.1/nvjfl/ontologies/genreNombre:10

Après, 1 requête:
/service:eflore:0.1/nvjfl/ontologies/numStatus:1,numStatus:2,genreNombre:10

Dans le seul cas d'une requête multi-critères le format de retour du web-service
a été modifié: Un ensemble de clef-valeurs est retourné dans lequel chaque clef
représente le nom d'un des critères demandés.
Si un critère ne correspond à rien dans la BDD, celui-ci est absent de l'ensemble retourné.


$ ddiff \
<(GET "http://eflore/$i"|json_pp) \
<(GET "http://www.tela-botanica.org/$i"|json_pp)

# service:eflore:0.1/nvjfl/noms-vernaculaires/attributions?masque.nt=1382&masque.lg=fra&retour.champs=conseil_emploi
# 2 appels d'ontologies nvjfl, résultat identique

# service:eflore:0.1/bdtxa/taxons/13517/relations/inferieurs
# 1 appel d'ontologie bdnt/nom, résultat identique

$ diff \
<(GET http://eflore/service:eflore:0.1/bdnt/ontologies/rangTaxo:70|json_pp) \
<(GET http://eflore/service:eflore:0.1/bdnt/ontologies/rangTaxo:70,rangTaxo:-1|json_pp) \
|grep -v rangTaxo:70
# même résultat (-1 n'existe pas)

Le comparatif suivant provient de l'étude de la requête suivante,
représentative d'une recherche de nom commun (cf: Cel/export XLS):
"/service:eflore:0.1/nvjfl/noms-vernaculaires/attributions?masque.nt=1382&masque.lg=fra&retour.champs=conseil_emploi"

Avant Après
Requêtes HTTP 3 2
Connexions SQL 4 3
SELECT 15 10
Temps sur 300 (*) 1m36 1m30

(*) $ time \
mysql -N tb_eflore<<<"SELECT num_taxonomique FROM bdtfx_v1_01 WHERE num_nom = num_nom_retenu ORDER BY ORD(SUBSTRING(nom_sci, 4, 1)) LIMIT 300;" | \
xargs -i -t -n 1 curl -so /dev/null "http://eflore/service:eflore:0.1/nvjfl/noms-vernaculaires/attributions?masque.nt={}&masque.lg=fra&retour.champs=conseil_emploi";

Le faible différentiel de temps observable s'explique partiellement par le fait que toutes les recherches de nom vernaculaire
n'aboutissent pas systématiquement à l'émission de plusieurs requêtes d'ontologie.
Le différentiel n'en reste pas moins décevant.
 
/trunk/services/modules/0.1/commun/Ontologies.php
732 4013 d 21 h raphael /trunk/services/modules/0.1/commun/ ontologies communes: fix cosmétiques.
1° usage du paramètre retour.champs qui n'était pas utilisé jusqu'ici et n'aurait
pas pu être utilisé dans le cas d'un retour.format différent de "max".

2° ajout d'un commentaire relatif aux SELECT imbriqués actuellement utilisés et
auxquel une série de JOIN serait à préférer.

3° clarification de formaterOntologiesId()

4° réécriture et renommage afficherDonnees() en calculerClassID().
Une variable est passée par référence en paramètre de la fonction et
les conditions imbriquées sont remplacées par des return rapides.
La gestion des champs demandés est améliorée.
 
/trunk/services/modules/0.1/commun/Ontologies.php