cfmgrv4 init...4

This commit is contained in:
최준흠 2024-10-28 10:11:54 +09:00
parent 4a288a1b5c
commit 356e0376e4

View File

@ -55,14 +55,16 @@ class AuditLogService extends CloudflareService
//해당 Zone을 Sync작업한다 //해당 Zone을 Sync작업한다
$zone_service = new ZoneService(); $zone_service = new ZoneService();
$zone_entity = $zone_service->getEntityByPK($entity->getParent()); $zone_entity = $zone_service->getEntityByPK($entity->getParent());
// $zone_entity = $zone_service->sync($entity, $zone_entity); if ($zone_entity !== null) {
// //해당 Zone의 Record reload작업한다 // $zone_entity = $zone_service->sync($entity, $zone_entity);
// $record_service = new RecordService(); // //해당 Zone의 Record reload작업한다
// $record_service->reload($zone_entity); // $record_service = new RecordService();
// //해당 Zone의 Firewall reload작업한다 // $record_service->reload($zone_entity);
// $firewall_service = new FirewallService(); // //해당 Zone의 Firewall reload작업한다
// $firewall_service->reload($zone_entity); // $firewall_service = new FirewallService();
log_message("debug", "AuditLog Process의 {$zone_entity->getTitle()} Sync및 Record,Firewall Reload 처리작업"); // $firewall_service->reload($zone_entity);
log_message("debug", "AuditLog Process의 {$zone_entity->getTitle()} Sync및 Record,Firewall Reload 처리작업");
}
} }
public function reload(AccountEntity $account_entity): void public function reload(AccountEntity $account_entity): void
{ {