auto-sync-2325

This commit is contained in:
Opus
2026-04-23 23:25:04 +02:00
parent a516d507f4
commit 86093304ff
11 changed files with 22 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
{
"ok": true,
"version": "V83-business-kpi",
"ts": "2026-04-23T21:20:46+00:00",
"ts": "2026-04-23T21:23:25+00:00",
"summary": {
"total_categories": 8,
"total_kpis": 64,

21
api/wtp-orphans-link-check.sh Executable file
View File

@@ -0,0 +1,21 @@
#!/bin/bash
# Check si wtp-orphans-registry est linké dans WTP, sinon informer
WTP=/var/www/html/weval-technology-platform.html
LINKED=$(grep -c "wtp-orphans-registry" "$WTP" 2>/dev/null || echo 0)
TOTAL_PAGES=$(ls /var/www/html/*.html 2>/dev/null | wc -l)
# Count orphans from registry
REGISTRY_LINKED=$(curl -sk -m 5 "https://weval-consulting.com/api/wtp-orphans-registry.php" 2>/dev/null | python3 -c "
import sys, json
try:
d = json.loads(sys.stdin.read())
print(d.get('linked', '?'), d.get('orphans', '?'))
except: print('? ?')
" 2>/dev/null)
echo "WTP-ORPHANS-LINK-STATUS: wtp-has-registry-link=$LINKED · total-pages=$TOTAL_PAGES · registry-linked/orphans=$REGISTRY_LINKED"
if [ "$LINKED" -gt 0 ]; then
echo "STATUS: PASS - wtp-orphans-registry.html est deja linke depuis WTP"
else
echo "STATUS: ACTION_NEEDED - ajouter lien wtp-orphans-registry.html dans weval-technology-platform.html"
fi

Binary file not shown.

After

Width:  |  Height:  |  Size: 566 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 403 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 478 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 133 KiB