Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose IsPolling. and Options from TaskManager, DNS Catching. #42

Merged
merged 27 commits into from
Jul 17, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
62ee6ee
fix: expose isPolling
Sudakatux Jun 28, 2023
77f8be2
refactor: expose options.
Sudakatux Jun 28, 2023
242a0c5
feat: add additional tests
Sudakatux Jun 28, 2023
fe17b78
fix: linting
Sudakatux Jun 28, 2023
959fa82
refactor: execute wf sync
Sudakatux Jun 28, 2023
b801791
refactor: readability renamed getter
Sudakatux Jun 28, 2023
4976782
fix: serverUrl to secret
Sudakatux Jun 28, 2023
781148e
feat: added dns cache
Sudakatux Jul 7, 2023
40b75b9
refactor: moved noop logger to ConductorLogger
Sudakatux Jul 7, 2023
3e66b11
feat: added base client factory
Sudakatux Jul 7, 2023
7017a91
fix: types
Sudakatux Jul 7, 2023
7aefcff
fix: wrong dependency type
Sudakatux Jul 7, 2023
d0d708c
chore: format
Sudakatux Jul 7, 2023
d466d8e
Moving things arround
Sudakatux Jul 10, 2023
012062e
fix: imports
Sudakatux Jul 11, 2023
77d01ec
refactor: moved generators from its package
Sudakatux Jul 11, 2023
f6de47a
fix: re add jest config
Sudakatux Jul 11, 2023
66a2c76
refactor: use sync workflow in test
Sudakatux Jul 11, 2023
ec333a2
feat: split browser support
Sudakatux Jul 11, 2023
3d89ea9
fix: imports
Sudakatux Jul 11, 2023
50fd63d
feat: export catch utils
Sudakatux Jul 11, 2023
709c9c1
fix: increment timeout
Sudakatux Jul 11, 2023
a883571
fix: revert changes
Sudakatux Jul 11, 2023
daf5b1f
fix: revert change in CancelablePromise
Sudakatux Jul 12, 2023
07496f2
chore: linting
Sudakatux Jul 12, 2023
ed50bd7
feat: added additional tests
Sudakatux Jul 12, 2023
6849f19
chore: fix linting
Sudakatux Jul 12, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor: moved generators from its package
  • Loading branch information
Sudakatux committed Jul 11, 2023
commit 77d01ec16f9e877419c3da559df7c2ae872bd7a2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { TaskType, DoWhileTaskDef } from "../types";
import { TaskType, DoWhileTaskDef } from "../../common/types";
import { DoWhileTaskDefGen, NestedTaskMapper } from "./types";
import { nameTaskNameGenerator } from "./common";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { EventTaskDef, TaskType } from "../types";
import { EventTaskDef, TaskType } from "../../common/types";
import { nameTaskNameGenerator } from "./common";

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ForkJoinTaskDef, JoinTaskDef, TaskType } from "../types";
import { ForkJoinTaskDef, JoinTaskDef, TaskType } from "../../common/types";
import { nameTaskNameGenerator } from "./common";
import { ForkJoinTaskDefGen, NestedTaskMapper } from "./types";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ForkJoinDynamicDef, TaskType } from "../types";
import { ForkJoinDynamicDef, TaskType } from "../../common/types";
import { nameTaskNameGenerator } from "./common";

export const generateForkJoinDynamic = (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { HttpTaskDef, TaskType } from "../types";
import { HttpTaskDef, TaskType } from "../../common/types";
import { nameTaskNameGenerator } from "./common";

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { InlineTaskDef, TaskType, InlineTaskInputParameters } from "../types";
import { InlineTaskDef, TaskType, InlineTaskInputParameters } from "../../common/types";
import { InlineTaskDefGen, InlineTaskInputParametersGen } from "./types";
import { nameTaskNameGenerator } from "./common";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { JsonJQTransformTaskDef, TaskType } from "../types";
import { JsonJQTransformTaskDef, TaskType } from "../../common/types";
import { nameTaskNameGenerator } from "./common";

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { KafkaPublishTaskDef, TaskType } from "../types";
import { KafkaPublishTaskDef, TaskType } from "../../common/types";
import { nameTaskNameGenerator } from "./common";

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SetVariableTaskDef, TaskType } from "../types";
import { SetVariableTaskDef, TaskType } from "../../common/types";
import { nameTaskNameGenerator } from "./common";

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SimpleTaskDef, TaskType } from "../types";
import { SimpleTaskDef, TaskType } from "../../common/types";
import { nameTaskNameGenerator } from "./common";

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SubWorkflowTaskDef, TaskType } from "../types";
import { SubWorkflowTaskDef, TaskType } from "../../common/types";
import { nameTaskNameGenerator } from "./common";

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SwitchTaskDef, TaskType, TaskDefTypes } from "../types";
import { SwitchTaskDef, TaskType, TaskDefTypes } from "../../common/types";
import { nameTaskNameGenerator, mapArrValues } from "./common";
import { NestedTaskMapper, SwitchTaskDefGen } from "./types";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { TerminateTaskDef, TaskType } from "../types";
import { TerminateTaskDef, TaskType } from "../../common/types";
import { nameTaskNameGenerator } from "./common";

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { WaitTaskDef, TaskType } from "../types";
import { WaitTaskDef, TaskType } from "../../common/types";
import { nameTaskNameGenerator } from "./common";

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { WorkflowDef } from "../types";
import { WorkflowDef } from "../../common/types";

export const workflowGenerator = (
overrides: Partial<WorkflowDef>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { expect, describe, it } from "@jest/globals";
import { generate, taskGenMapper } from "../generator";
import { generateSimpleTask } from "../SimpleTask";
import { TaskType, ForkJoinTaskDef } from "../../types";
import { TaskType, ForkJoinTaskDef } from "../../../common/types";
import { generateEvaluationCode, generateInlineTask } from "../InlineTask";
import { generateDoWhileTask } from "../DoWhileTask";
import { generateSubWorkflowTask } from "../SubWorkflowTask";
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { generateSetVariableTask } from "./SetVariableTask";
import { generateTerminateTask } from "./TerminateTask";
import { generateWaitTask } from "./WaitTask";
import { generateSwitchTask } from "./SwitchTask";
import { SimpleTaskDef, TaskDefTypes, TaskType } from "../types";
import { SimpleTaskDef, TaskDefTypes, TaskType } from "../../common/types";

const filledTaskDef = (task: Partial<TaskDefTypesGen>): TaskDefTypes => {
const taskType = task.type;
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
WaitTaskDef,
TaskDefTypes,
InlineTaskInputParameters,
} from "../types";
} from "../../common/types";

export type TaskDefTypesGen =
| SimpleTaskDef
Expand Down