From 63ef4ea5c0a88e534ce07425a0762fe9023e1611 Mon Sep 17 00:00:00 2001 From: Galip Tolga Erdem Date: Tue, 25 Jul 2023 18:59:12 -0400 Subject: [PATCH] moved keycloak user jobs --- .../{User => Users}/KeycloakUserCreationJob.cs | 7 ++++--- .../{User => Users}/KeycloakUserDeletionJob.cs | 7 +++++-- .../{User => Users}/KeycloakUserUpdatingJob.cs | 5 +---- 3 files changed, 10 insertions(+), 9 deletions(-) rename services/identity/src/EShopOnAbp.IdentityService.Application/BackgroundJobs/{User => Users}/KeycloakUserCreationJob.cs (95%) rename services/identity/src/EShopOnAbp.IdentityService.Application/BackgroundJobs/{User => Users}/KeycloakUserDeletionJob.cs (93%) rename services/identity/src/EShopOnAbp.IdentityService.Application/BackgroundJobs/{User => Users}/KeycloakUserUpdatingJob.cs (94%) diff --git a/services/identity/src/EShopOnAbp.IdentityService.Application/BackgroundJobs/User/KeycloakUserCreationJob.cs b/services/identity/src/EShopOnAbp.IdentityService.Application/BackgroundJobs/Users/KeycloakUserCreationJob.cs similarity index 95% rename from services/identity/src/EShopOnAbp.IdentityService.Application/BackgroundJobs/User/KeycloakUserCreationJob.cs rename to services/identity/src/EShopOnAbp.IdentityService.Application/BackgroundJobs/Users/KeycloakUserCreationJob.cs index c7671a0a..44f2e207 100644 --- a/services/identity/src/EShopOnAbp.IdentityService.Application/BackgroundJobs/User/KeycloakUserCreationJob.cs +++ b/services/identity/src/EShopOnAbp.IdentityService.Application/BackgroundJobs/Users/KeycloakUserCreationJob.cs @@ -3,13 +3,13 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using EShopOnAbp.IdentityService.Keycloak; +using Keycloak.Net.Models.Users; using Microsoft.Extensions.Logging; using Volo.Abp.BackgroundJobs; using Volo.Abp.DependencyInjection; -using Keycloak.Net.Models.Users; using Volo.Abp.Identity; -namespace EShopOnAbp.IdentityService.BackgroundJobs.User; +namespace EShopOnAbp.IdentityService.BackgroundJobs.Users; public class KeycloakUserCreationJob : AsyncBackgroundJob, ITransientDependency { @@ -25,7 +25,7 @@ public class KeycloakUserCreationJob : AsyncBackgroundJob, ITransientDependency { @@ -50,7 +50,10 @@ public class IdentityUserDeletionArgs { public string UserName { get; init; } - public IdentityUserDeletionArgs() { } + public IdentityUserDeletionArgs() + { + + } public IdentityUserDeletionArgs(string userName) { diff --git a/services/identity/src/EShopOnAbp.IdentityService.Application/BackgroundJobs/User/KeycloakUserUpdatingJob.cs b/services/identity/src/EShopOnAbp.IdentityService.Application/BackgroundJobs/Users/KeycloakUserUpdatingJob.cs similarity index 94% rename from services/identity/src/EShopOnAbp.IdentityService.Application/BackgroundJobs/User/KeycloakUserUpdatingJob.cs rename to services/identity/src/EShopOnAbp.IdentityService.Application/BackgroundJobs/Users/KeycloakUserUpdatingJob.cs index 2e52f8d7..8bda0faf 100644 --- a/services/identity/src/EShopOnAbp.IdentityService.Application/BackgroundJobs/User/KeycloakUserUpdatingJob.cs +++ b/services/identity/src/EShopOnAbp.IdentityService.Application/BackgroundJobs/Users/KeycloakUserUpdatingJob.cs @@ -2,15 +2,12 @@ using System.Linq; using System.Threading.Tasks; using EShopOnAbp.IdentityService.Keycloak; -using Keycloak.Net; using Microsoft.Extensions.Logging; -using Microsoft.Extensions.Options; using Volo.Abp; using Volo.Abp.BackgroundJobs; using Volo.Abp.DependencyInjection; -using Volo.Abp.Identity; -namespace EShopOnAbp.IdentityService.BackgroundJobs.User; +namespace EShopOnAbp.IdentityService.BackgroundJobs.Users; public class KeycloakUserUpdatingJob : AsyncBackgroundJob, ITransientDependency {