Verified Commit e5449d30 authored by dockx thibault's avatar dockx thibault
Browse files

:sparkles: Feat(Integrator) - Separation of orchestrator and potential CLI call

parent 703bc993
2 merge requests!52:sparkles: Releasing Fusiondirectory Integrator 1.2,!42Resolve "[Integrator] - AUDIT - Removal of audit after set period - new lib"
Pipeline #29324 failed with stages
in 1 minute and 24 seconds
Showing with 15 additions and 8 deletions
+15 -8
......@@ -11,14 +11,21 @@ use FusionDirectory\Ldap;
class AuditLib
{
private string $subTaskDN, $subTaskCN;
private int $auditRetention;
// Usage of CLI bool is to make sure we use proper method in case of direct CLI call. (Instead of Orchestrator).
private array $auditList;
private Ldap\Link $ldapBind;
private object $gateway;
public function __construct (int $auditRetention, array $auditList, $gateway = NULL, string $subTaskDN = NULL, string $subTaskCN = NULL, $ldapBind = NULL)
private int $auditRetention;
private ?string $subTaskDN;
private ?string $subTaskCN;
private array $auditList;
private ?Ldap\Link $ldapBind;
private ?object $gateway;
public function __construct (
int $auditRetention,
array $auditList,
?object $gateway = NULL,
?string $subTaskDN = NULL,
?string $subTaskCN = NULL,
?Ldap\Link $ldapBind = NULL
)
{
$this->auditRetention = $auditRetention;
$this->subTaskDN = $subTaskDN;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment