Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
Jira ticket: CAMS-283
  • Loading branch information
jamesobrooks committed Sep 19, 2024
1 parent a5c64eb commit 0a1ce16
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions backend/functions/lib/factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { CaseAssignmentCosmosDbRepository } from './adapters/gateways/case.assig
import CosmosClientHumble from './cosmos-humble-objects/cosmos-client-humble';
import FakeAssignmentsCosmosClientHumble from './cosmos-humble-objects/fake.assignments.cosmos-client-humble';
import { CaseDocketUseCase } from './use-cases/case-docket/case-docket';

import { DxtrCaseDocketGateway } from './adapters/gateways/dxtr/case-docket.dxtr.gateway';
import { MockCaseDocketGateway } from './adapters/gateways/dxtr/case-docket.mock.gateway';
import { ConnectionPool, config } from 'mssql';
Expand Down Expand Up @@ -141,14 +140,6 @@ export const getRuntimeStateRepository = (
return new RuntimeStateCosmosDbRepository(applicationContext);
};

// export const getCosmosDbCrudRepository = <T>(
// context: ApplicationContext,
// containerName: string,
// moduleName: string,
// ): DocumentRepository<T> => {
// return new CosmosDbRepository<T>(context, containerName, moduleName);
// };

export const getAuthorizationGateway = (context: ApplicationContext): OpenIdConnectGateway => {
if (context.config.authConfig.provider === 'okta') return OktaGateway;
if (context.config.authConfig.provider === 'mock') return MockOpenIdConnectGateway;
Expand Down

0 comments on commit 0a1ce16

Please sign in to comment.