Initial commit - SOGOMS v1.0.0

- sogoctl: supervisor avec health checks et restart auto
- sogoway: gateway HTTP, auth JWT, routing par hostname
- sogoms-db: microservice MariaDB avec pool par application
- Protocol IPC Unix socket JSON length-prefixed
- Config YAML multi-application (prokov)
- Deploy script pour container Alpine gw3

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-15 19:09:00 +01:00
commit 7e27f87d6f
64 changed files with 7951 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
# Scénario: Supprimer une tâche
name: tasks_delete
version: "1.0"
description: Supprime une tâche
input:
required:
- id
validation:
id:
type: int
steps:
- id: check_task
service: db
action: query_one
params:
query: "SELECT id FROM tasks WHERE id = ? AND user_id = ?"
args: ["{{input.id}}", "{{auth.user_id}}"]
on_error: abort
error_message: "Tâche non trouvée"
error_status: 404
- id: delete_task
service: db
action: delete
params:
table: tasks
where:
id: "{{input.id}}"
output:
status: 200
body:
success: true
message: "Tâche supprimée"