Files
smart-city-digital-twin-mar…/session_resume_2026-05-04.md

46 lines
2.1 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)
## 📋 À faire (prochaine session)
1. **GeoServer** : Créer magasin WMS géoMartinique via **interface web** (5 min)
2. **OpenRemote** : Configurer MQTT Agent pour écouter EMQX (pas de flux géoMartinique !)
3. **Grafana** : Vérifier affichage carte + corriger source FIWARE Orion
## 🔗 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