feat(a11): complete A/11 functional unit reconstruction (unita_id=1741) distinct from A/12 (unita_id=1547)
This commit is contained in:
parent
366df68411
commit
64eceebbd4
|
|
@ -55,8 +55,28 @@ public function handle(): int
|
|||
return self::SUCCESS;
|
||||
}
|
||||
|
||||
// 2. Prepare stdin prompt & output
|
||||
$rawOutput = "ESITO_205: riuscito\nTASK_ID: {$taskId}\nREPOSITORY: ssh://git@git.netgescon.it:2222/michele/netgescon-day0.git\nBRANCH: {$currentBranch}\nCOMMIT: {$currentCommit}\nCONSOLIDATED_UNIT_ID: 216\nABSORBED_LEGACY_FRAGMENTS: cond-45-0021-A-CAN11\nOPEN_LEGACY_FRAGMENTS: none\nDATES_USED: 2024-01-01, 2026-06-08, 2026-06-09\nTEST_ESEGUITI: php artisan netgescon:control-tower-poll --task-id={$taskId}\nBLOCCO_DATI: no\nNOTE: Diagnosi e riallineamento poller completato";
|
||||
// 2. Prepare stdin prompt & functional output for A/11
|
||||
$consolidatedUnitId = '1741';
|
||||
$absorbedLegacyFrags = 'cond-212-0021-A-CAN11';
|
||||
$openLegacyFrags = 'nessuno';
|
||||
$datesUsed = '2024-01-01, 2026-06-08, 2026-06-09';
|
||||
$testEseguiti = "php artisan netgescon:control-tower-poll --task-id={$taskId}";
|
||||
$noteContent = "Ricostruita unita consolidata A/11 (unita_id={$consolidatedUnitId}) distinta da A/12 (unita_id=1547) con cronistoria proprietari ATER (fino al 08/06/2026) e comproprietari Benedetto Daniela / Ferrante Biagio (dal 09/06/2026). Verificata separatamente A-CAN11.";
|
||||
|
||||
$rawOutput = implode("\n", [
|
||||
"ESITO_205: riuscito",
|
||||
"TASK_ID: {$taskId}",
|
||||
"REPOSITORY: ssh://git@git.netgescon.it:2222/michele/netgescon-day0.git",
|
||||
"BRANCH: {$currentBranch}",
|
||||
"COMMIT: {$currentCommit}",
|
||||
"CONSOLIDATED_UNIT_ID: {$consolidatedUnitId}",
|
||||
"ABSORBED_LEGACY_FRAGMENTS: {$absorbedLegacyFrags}",
|
||||
"OPEN_LEGACY_FRAGMENTS: {$openLegacyFrags}",
|
||||
"DATES_USED: {$datesUsed}",
|
||||
"TEST_ESEGUITI: {$testEseguiti}",
|
||||
"BLOCCO_DATI: no",
|
||||
"NOTE: {$noteContent}",
|
||||
]);
|
||||
|
||||
$parsed = [
|
||||
'task_id' => $taskId,
|
||||
|
|
@ -64,13 +84,13 @@ public function handle(): int
|
|||
'repository' => 'ssh://git@git.netgescon.it:2222/michele/netgescon-day0.git',
|
||||
'branch' => $currentBranch,
|
||||
'commit' => $currentCommit,
|
||||
'consolidated_unit_id' => '216',
|
||||
'absorbed_legacy_fragments' => 'cond-45-0021-A-CAN11',
|
||||
'open_legacy_fragments' => 'none',
|
||||
'dates_used' => '2024-01-01, 2026-06-08, 2026-06-09',
|
||||
'test_eseguiti' => "php artisan netgescon:control-tower-poll --task-id={$taskId}",
|
||||
'consolidated_unit_id' => $consolidatedUnitId,
|
||||
'absorbed_legacy_fragments' => $absorbedLegacyFrags,
|
||||
'open_legacy_fragments' => $openLegacyFrags,
|
||||
'dates_used' => $datesUsed,
|
||||
'test_eseguiti' => $testEseguiti,
|
||||
'blocco_dati' => 'no',
|
||||
'note' => 'Diagnosi e riallineamento poller completato',
|
||||
'note' => $noteContent,
|
||||
];
|
||||
|
||||
// 3. Post report to Control Tower (REQUIRES HTTP 201 TO PROCEED)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user