Kloudynet-Technologies / KloudIdentity

Kloud Identity Product -- Original Description: Reference code to build a SCIM endpoint to automate provisioning --
MIT License
0 stars 1 forks source link

[Dev Task] [Inbound provisioning - Entra ID] SCIMConnector Jobs- Job executer for inbound provisioning applications #6

Open arifulkloudynet opened 1 month ago

arifulkloudynet commented 1 month ago

Introduction
InboundJobExecutorService is a service class responsible for managing inbound provisioning for each recurrence scheduler job . This class invoked when Recurrence job is created for each inbound application.

Interface

Interface: IInboundJobExecutor

Purpose:
It includes methods for Executing action for each recurrence scheduler job.

Methods

  1. ExecuteAsync

    Task ExecuteAsync(string jobId);

    Parameters:

    • string jobId: A unique identifier for the job, typically representing the application ID.

    Returns:
    Task: Represents the asynchronous operation.

    Description:
    Adds or updates a recurring job in Hangfire using the specified jobId and cronExpression.

Suggested Code Changes

  1. KN.KloudIdentity.Mapper > BackgroundJobs > IInboundJobExecutor.cs

    • Methods:
      • Task ExecuteAsync(string jobId);
  2. KN.KloudIdentity.Mapper > BackgroundJobs > InboundJobExecutorService.cs

    • Implement Interface: -IInboundJobExecutor

Expected Output

Unit Tests
Not applicable.

Impacted Components
N/A

Dependent Tasks
N/A

Document is not complete yet.