From 42e7e9bed3ded5765a644a4d22087ea7ca86b790 Mon Sep 17 00:00:00 2001 From: ypc-faros <99700024+ypc-faros@users.noreply.github.com> Date: Thu, 26 Dec 2024 13:34:38 -0500 Subject: [PATCH] FAI-14493 Clean up alias okta => okta-faros (#1868) --- .../src/converters/okta-faros/common.ts | 5 ---- .../src/converters/okta-faros/users.ts | 26 ------------------- 2 files changed, 31 deletions(-) delete mode 100644 destinations/airbyte-faros-destination/src/converters/okta-faros/common.ts delete mode 100644 destinations/airbyte-faros-destination/src/converters/okta-faros/users.ts diff --git a/destinations/airbyte-faros-destination/src/converters/okta-faros/common.ts b/destinations/airbyte-faros-destination/src/converters/okta-faros/common.ts deleted file mode 100644 index 2b3a7513b..000000000 --- a/destinations/airbyte-faros-destination/src/converters/okta-faros/common.ts +++ /dev/null @@ -1,5 +0,0 @@ -import {Converter} from '../converter'; - -export abstract class OktaFarosConverter extends Converter { - source = 'Okta-Faros'; -} diff --git a/destinations/airbyte-faros-destination/src/converters/okta-faros/users.ts b/destinations/airbyte-faros-destination/src/converters/okta-faros/users.ts deleted file mode 100644 index c26863174..000000000 --- a/destinations/airbyte-faros-destination/src/converters/okta-faros/users.ts +++ /dev/null @@ -1,26 +0,0 @@ -import {AirbyteRecord} from 'faros-airbyte-cdk'; - -import {DestinationModel, DestinationRecord} from '../converter'; -import {Users as OktaUsers} from '../okta/users'; -import {OktaFarosConverter} from './common'; - -/** - * This converter is identical to OktaUsers for Okta community source. - * It is here to support the Okta source we developed at Faros. - */ -export class Users extends OktaFarosConverter { - private alias = new OktaUsers(); - - readonly destinationModels: ReadonlyArray = - this.alias.destinationModels; - - id(record: AirbyteRecord): any { - return this.alias.id(record); - } - - async convert( - record: AirbyteRecord - ): Promise> { - return this.alias.convert(record); - } -}