fix: Rename LDAP files to include .ee (no-changelog) (#9943)

This commit is contained in:
Val
2024-07-05 08:51:16 +01:00
committed by GitHub
parent 34019d62b0
commit 1d5b9836ca
11 changed files with 17 additions and 17 deletions

View File

@@ -9,8 +9,8 @@ import { WorkflowRepository } from '@db/repositories/workflow.repository';
import { CredentialsRepository } from '@db/repositories/credentials.repository';
import { SharedWorkflowRepository } from '@db/repositories/sharedWorkflow.repository';
import { SharedCredentialsRepository } from '@db/repositories/sharedCredentials.repository';
import { getLdapSynchronizations, saveLdapSynchronization } from '@/Ldap/helpers';
import { LdapService } from '@/Ldap/ldap.service';
import { getLdapSynchronizations, saveLdapSynchronization } from '@/Ldap/helpers.ee';
import { LdapService } from '@/Ldap/ldap.service.ee';
import { Push } from '@/push';
import { Telemetry } from '@/telemetry';

View File

@@ -8,8 +8,8 @@ import type { User } from '@db/entities/User';
import { UserRepository } from '@db/repositories/user.repository';
import { AuthProviderSyncHistoryRepository } from '@db/repositories/authProviderSyncHistory.repository';
import { LDAP_DEFAULT_CONFIGURATION } from '@/Ldap/constants';
import { LdapService } from '@/Ldap/ldap.service';
import { saveLdapSynchronization } from '@/Ldap/helpers';
import { LdapService } from '@/Ldap/ldap.service.ee';
import { saveLdapSynchronization } from '@/Ldap/helpers.ee';
import { getCurrentAuthenticationMethod, setCurrentAuthenticationMethod } from '@/sso/ssoHelpers';
import { randomEmail, randomName, uniqueId } from './../shared/random';

View File

@@ -162,8 +162,8 @@ export const setupTestServer = ({
break;
case 'ldap':
const { LdapService } = await import('@/Ldap/ldap.service');
await import('@/Ldap/ldap.controller');
const { LdapService } = await import('@/Ldap/ldap.service.ee');
await import('@/Ldap/ldap.controller.ee');
testServer.license.enable('feat:ldap');
await Container.get(LdapService).init();
break;