Skip to content

Commit

Permalink
Annihilate reconciliation func remnants
Browse files Browse the repository at this point in the history
This commit removes remnants of reconciliation funcs in the codebase.
Since they are unused and since their re-introduction would likely take
a different shape, we are destroying what remains. We loved you!

Signed-off-by: Nick Gerace <[email protected]>
  • Loading branch information
nickgerace committed Sep 7, 2024
1 parent 1de0c1a commit 47ff33d
Show file tree
Hide file tree
Showing 33 changed files with 21 additions and 878 deletions.
2 changes: 0 additions & 2 deletions app/web/src/store/func_runs.store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ export enum FuncBackendKind {
JsAttribute,
JsAuthentication,
Json,
JsReconciliation,
JsSchemaVariantDefinition,
JsValidation,
Map,
Expand All @@ -65,7 +64,6 @@ export enum FuncBackendResponseType {
Map,
Object,
Qualification,
Reconciliation,
SchemaVariantDefinition,
String,
Unset,
Expand Down
8 changes: 0 additions & 8 deletions bin/cyclone/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,6 @@ pub(crate) struct Args {
#[arg(long, group = "action_run")]
pub(crate) disable_action_run: bool,

/// Enables reconciliation endpoint.
#[arg(long, group = "reconciliation")]
pub(crate) enable_reconciliation: bool,

/// Disables reconciliation endpoint.
#[arg(long, group = "reconciliation")]
pub(crate) disable_reconciliation: bool,

/// Enables configuration endpoint.
#[arg(long, group = "configuration")]
pub(crate) enable_configuration: bool,
Expand Down
13 changes: 0 additions & 13 deletions bin/lang-js/src/function.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ import joi_validation, {
JoiValidationFunc,
JoiValidationResult,
} from "./function_kinds/joi_validation";
import reconciliation, {
ReconciliationFunc,
} from "./function_kinds/reconciliation";
import resolver_function, {
ResolverFunc,
} from "./function_kinds/resolver_function";
Expand All @@ -27,7 +24,6 @@ export enum FunctionKind {
Before = "before",
ResolverFunction = "resolverfunction",
Validation = "validation",
Reconciliation = "reconciliation",
SchemaVariantDefinition = "schemaVariantDefinition",
}

Expand Down Expand Up @@ -126,15 +122,6 @@ export async function executeFunction(kind: FunctionKind, request: Request, time
}),
);

break;
case FunctionKind.Reconciliation:
result = await executor(
ctx,
request as ReconciliationFunc,
kind,
timeout,
reconciliation,
);
break;
case FunctionKind.ResolverFunction:
result = await executor(
Expand Down
117 changes: 0 additions & 117 deletions bin/lang-js/src/function_kinds/reconciliation.ts

This file was deleted.

2 changes: 0 additions & 2 deletions bin/lang-js/src/request.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { ActionRunFunc } from "./function_kinds/action_run";
import { BeforeFunc } from "./function_kinds/before";
import { JoiValidationFunc } from "./function_kinds/joi_validation";
import { ReconciliationFunc } from "./function_kinds/reconciliation";
import { ResolverFunc } from "./function_kinds/resolver_function";
import {
SchemaVariantDefinitionFunc,
Expand All @@ -11,7 +10,6 @@ export type AnyFunction =
| ActionRunFunc
| JoiValidationFunc
| BeforeFunc
| ReconciliationFunc
| ResolverFunc
| SchemaVariantDefinitionFunc;

Expand Down
Loading

0 comments on commit 47ff33d

Please sign in to comment.