51 lines
2.5 KiB
Markdown
51 lines
2.5 KiB
Markdown
# Session Resume - 04 Mai 2026 (soir)
|
|
|
|
## ✅ Réalisé
|
|
1. **Simulateur** : Écriture InfluxDB asynchrone (threads daemon) → Grafana reçoit les données
|
|
2. **Grafana** :
|
|
- Organisation renommée "Main Org." → "Digitribe" ✅
|
|
- Nouvelle source InfluxDB créée (UID: `f9efd4b4-17cd-4ece-b4bc-087ff411051d`)
|
|
- Dashboard de test `smart-city-map-test` créé
|
|
3. **GeoServer** :
|
|
- Espace "Digitribe" créé ✅
|
|
- Flux géoMartinique identifiés (WMS/WMTS/WFS) ✅
|
|
- Documentation d'intégration créée ✅
|
|
- **Blocage XStream** : impossible créer magasin WMS cascadé via API REST
|
|
- **Workaround** : Interface web GeoServer (https://geoserver.digitribe.fr/geoserver/web/)
|
|
|
|
## ❌ Blocages
|
|
- **GeoServer XStream Security** : `java.net.URL` non autorisé malgré :
|
|
- `analyzer.properties` configuré ✅
|
|
- `-Dorg.geoserver.xstream.allowUnknownTypes=true` ✅
|
|
- Redémarrages multiples ❌
|
|
- **Grafana** : Source GeoServer WMS en `readOnly` (impossible supprimer via API)
|
|
|
|
## ✅ Tâches complétées (04 Mai soir)
|
|
- **Tâche 2** : GeoServer WMS géoMartinique - Doc + workaround créés ✅
|
|
- **Tâche 5** : FIWARE Orion Grafana - BLOQUÉ (source readOnly) ❌
|
|
- **Tâche 6** : OpenRemote MQTT Agent - BLOQUÉ (API access forbidden) ❌
|
|
|
|
## 📋 À faire (prochaine session)
|
|
1. **GeoServer** : Créer magasin WMS via **interface web** (5 min) - https://geoserver.digitribe.fr/geoserver/web/
|
|
2. **OpenRemote** : Créer MQTT Agent via **Manager UI** (see openremote_mqtt_agent_status.md)
|
|
3. **Grafana** : Vérifier affichage carte + corriger FIWARE Orion (ou supprimer source)
|
|
|
|
## 🔗 URLs importantes
|
|
- **GeoServer** : https://geoserver.digitribe.fr/geoserver/web/ (admin/Digitribe972)
|
|
- **Flux géoMartinique** :
|
|
- WMS : `https://datacarto.geomartinique.fr/wms`
|
|
- WMTS : `https://datacarto.geomartinique.fr/wmts`
|
|
- **Grafana** : https://grafana.digitribe.fr/d/smart-city-map-test
|
|
|
|
## 📝 Fichiers modifiés/créés
|
|
- `simulator.py` : Threads asynchrones pour InfluxDB/FROST
|
|
- `geoserver_geomartinique_integration.md` : Doc intégration + workaround
|
|
- `geoserver_config_status.md` : État config GeoServer
|
|
- `grafana_smart-city-overview.json` : Dashboard JSON
|
|
- `populate_influx.py` : Script peupler InfluxDB
|
|
|
|
## 🔧 Commits récents
|
|
- `c69ecb5` : WIP: Dockerfile update + Grafana dashboard JSON + InfluxDB script
|
|
- `1d12a0b` : GeoServer: flux géoMartinique + XStream issue doc + workaround
|
|
- `ee708fb` : Fix: InfluxDB async write + Grafana Org rename + GeoServer workspace
|