Loading CHANGELOG.md +4 −0 Original line number Diff line number Diff line Journal des modifications ========================= 2.2.0 ----- - Migration apigility => laminas-api-tools. 2.1.0 ----- - Service 'thèse' : ajout du code SISE de la discipline. Loading doc/release-notes/v2.2.0.md 0 → 100644 +40 −0 Original line number Diff line number Diff line Version 2.2.0 ============= Sources PHP ----------- Sur le serveur d'application, placez-vous dans le répertoire du web service (sans doute `/var/www/sygal-import-ws`) puis lancez les commandes suivantes pour installer la nouvelle version : ```bash git fetch && git fetch --tags && git checkout --force 2.2.0 && rm -rf vendor/* && bash install.sh ``` Rechargez le service PHP-FPM : ```bash service php7.4-fpm reload ``` Tests ----- Vérifiez que l'API répond bien en lançant les commandes suivantes après les avoir adaptées à votre situation (cf. éventuellement le [README.md](../../README.md)). - Interrogation du service `version` (base de données non sollicitée) : ```bash TOKEN=$(echo -n 'sygal-app:motdepasse' | base64) curl --insecure --header "Accept: application/json" --header "Authorization: Basic ${TOKEN}" https://localhost/v2/version/current # Réponse attendue du genre : # {"id":"2.1.0","number":"2.1.0","date":"13\/06\/2022 09:53:53","_links":{"self":{"href":"https:\/\/localhost\/v2\/version\/2.1.0"}}} ``` - Interrogation du service `variable` (base de données sollicitée) : ```bash curl --insecure --header "Accept: application/json" --header "Authorization: Basic ${TOKEN}" https://localhost/v2/variable/ETB_LIB_NOM_RESP # Réponse attendue du genre : # {"sourceCode":"ETB_LIB_NOM_RESP","sourceId":"apogee",[...],"id":"ETB_LIB_NOM_RESP","_links":{"self":{"href":"https:\/\/localhost\/v2\/variable\/ETB_LIB_NOM_RESP"}}} ``` Loading
CHANGELOG.md +4 −0 Original line number Diff line number Diff line Journal des modifications ========================= 2.2.0 ----- - Migration apigility => laminas-api-tools. 2.1.0 ----- - Service 'thèse' : ajout du code SISE de la discipline. Loading
doc/release-notes/v2.2.0.md 0 → 100644 +40 −0 Original line number Diff line number Diff line Version 2.2.0 ============= Sources PHP ----------- Sur le serveur d'application, placez-vous dans le répertoire du web service (sans doute `/var/www/sygal-import-ws`) puis lancez les commandes suivantes pour installer la nouvelle version : ```bash git fetch && git fetch --tags && git checkout --force 2.2.0 && rm -rf vendor/* && bash install.sh ``` Rechargez le service PHP-FPM : ```bash service php7.4-fpm reload ``` Tests ----- Vérifiez que l'API répond bien en lançant les commandes suivantes après les avoir adaptées à votre situation (cf. éventuellement le [README.md](../../README.md)). - Interrogation du service `version` (base de données non sollicitée) : ```bash TOKEN=$(echo -n 'sygal-app:motdepasse' | base64) curl --insecure --header "Accept: application/json" --header "Authorization: Basic ${TOKEN}" https://localhost/v2/version/current # Réponse attendue du genre : # {"id":"2.1.0","number":"2.1.0","date":"13\/06\/2022 09:53:53","_links":{"self":{"href":"https:\/\/localhost\/v2\/version\/2.1.0"}}} ``` - Interrogation du service `variable` (base de données sollicitée) : ```bash curl --insecure --header "Accept: application/json" --header "Authorization: Basic ${TOKEN}" https://localhost/v2/variable/ETB_LIB_NOM_RESP # Réponse attendue du genre : # {"sourceCode":"ETB_LIB_NOM_RESP","sourceId":"apogee",[...],"id":"ETB_LIB_NOM_RESP","_links":{"self":{"href":"https:\/\/localhost\/v2\/variable\/ETB_LIB_NOM_RESP"}}} ```