@gravitee/ui-policy-studio-angular 7.8.0 → 7.9.1-policy-studio-step-5-2d586ea
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/components/filter-pipe/gio-flter-connectors-by-mode.pipe.mjs +40 -0
- package/esm2020/lib/components/flow-details/gio-ps-flow-details.component.mjs +5 -4
- package/esm2020/lib/components/flow-details-info-bar/gio-ps-flow-details-info-bar.component.mjs +3 -3
- package/esm2020/lib/components/flow-details-phase/gio-ps-flow-details-phase.component.mjs +40 -8
- package/esm2020/lib/components/flow-details-phase-policy/gio-ps-flow-details-phase-policy.component.mjs +15 -5
- package/esm2020/lib/components/flow-execution-form-dialog/gio-ps-flow-execution-form-dialog-result.model.mjs +17 -0
- package/esm2020/lib/components/flow-execution-form-dialog/gio-ps-flow-execution-form-dialog.component.mjs +60 -0
- package/esm2020/lib/components/flow-form-dialog/flow-message-form-dialog/gio-ps-flow-message-form-dialog.component.mjs +3 -3
- package/esm2020/lib/components/flows-menu/gio-ps-flows-menu.component.mjs +28 -3
- package/esm2020/lib/gio-policy-studio.component.mjs +17 -8
- package/esm2020/lib/gio-policy-studio.module.mjs +20 -3
- package/esm2020/lib/models/ConnectorsInfo.mjs +1 -1
- package/esm2020/lib/models/SaveOutput.mjs +1 -1
- package/esm2020/testing/lib/components/flow-details-phase/gio-ps-flow-details-phase.harness.mjs +62 -0
- package/esm2020/testing/lib/components/flow-details-phase-policy/gio-ps-flow-details-phase-policy.harness.mjs +33 -0
- package/esm2020/testing/lib/components/flow-execution-form-dialog/gio-ps-flow-execution-form-dialog.harness.mjs +60 -0
- package/esm2020/testing/lib/components/flows-menu/gio-ps-flows-menu.harness.mjs +4 -1
- package/esm2020/testing/lib/gio-policy-studio.harness.mjs +42 -1
- package/esm2020/testing/lib/models/ConnectorsInfo.fixture.mjs +152 -0
- package/esm2020/testing/lib/models/ConnectorsInfo.mjs +1 -1
- package/esm2020/testing/lib/models/SaveOutput.mjs +1 -1
- package/esm2020/testing/lib/models/flow/FlowExecution.fixture.mjs +43 -0
- package/esm2020/testing/lib/models/flow/Step.fixture.mjs +70 -0
- package/esm2020/testing/lib/models/flow/index-testing.mjs +3 -1
- package/esm2020/testing/lib/models/index-testing.mjs +2 -1
- package/fesm2015/gravitee-ui-policy-studio-angular-testing.mjs +385 -3
- package/fesm2015/gravitee-ui-policy-studio-angular-testing.mjs.map +1 -1
- package/fesm2015/gravitee-ui-policy-studio-angular.mjs +225 -61
- package/fesm2015/gravitee-ui-policy-studio-angular.mjs.map +1 -1
- package/fesm2020/gravitee-ui-policy-studio-angular-testing.mjs +453 -3
- package/fesm2020/gravitee-ui-policy-studio-angular-testing.mjs.map +1 -1
- package/fesm2020/gravitee-ui-policy-studio-angular.mjs +224 -58
- package/fesm2020/gravitee-ui-policy-studio-angular.mjs.map +1 -1
- package/lib/components/filter-pipe/gio-flter-connectors-by-mode.pipe.d.ts +8 -0
- package/lib/components/flow-details/gio-ps-flow-details.component.d.ts +3 -3
- package/lib/components/flow-details-info-bar/gio-ps-flow-details-info-bar.component.d.ts +2 -2
- package/lib/components/flow-details-phase/gio-ps-flow-details-phase.component.d.ts +20 -5
- package/lib/components/flow-details-phase-policy/gio-ps-flow-details-phase-policy.component.d.ts +4 -1
- package/lib/components/flow-execution-form-dialog/gio-ps-flow-execution-form-dialog-result.model.d.ts +2 -0
- package/lib/components/flow-execution-form-dialog/gio-ps-flow-execution-form-dialog.component.d.ts +17 -0
- package/lib/components/flow-form-dialog/flow-message-form-dialog/gio-ps-flow-message-form-dialog.component.d.ts +3 -2
- package/lib/components/flows-menu/gio-ps-flows-menu.component.d.ts +6 -3
- package/lib/gio-policy-studio.component.d.ts +7 -5
- package/lib/gio-policy-studio.module.d.ts +20 -16
- package/lib/models/ConnectorsInfo.d.ts +4 -1
- package/lib/models/SaveOutput.d.ts +2 -1
- package/package.json +1 -1
- package/testing/lib/components/flow-details-phase/gio-ps-flow-details-phase.harness.d.ts +20 -0
- package/testing/lib/components/flow-details-phase-policy/gio-ps-flow-details-phase-policy.harness.d.ts +13 -0
- package/testing/lib/components/flow-execution-form-dialog/gio-ps-flow-execution-form-dialog.harness.d.ts +13 -0
- package/testing/lib/components/flows-menu/gio-ps-flows-menu.harness.d.ts +1 -0
- package/testing/lib/gio-policy-studio.harness.d.ts +31 -1
- package/testing/lib/models/ConnectorsInfo.d.ts +4 -1
- package/testing/lib/models/ConnectorsInfo.fixture.d.ts +10 -0
- package/testing/lib/models/SaveOutput.d.ts +2 -1
- package/testing/lib/models/flow/FlowExecution.fixture.d.ts +3 -0
- package/testing/lib/models/flow/Step.fixture.d.ts +4 -0
- package/testing/lib/models/flow/index-testing.d.ts +2 -0
- package/testing/lib/models/index-testing.d.ts +1 -0
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
3
|
import { FlowVM } from '../../../gio-policy-studio.model';
|
|
4
|
+
import { ConnectorInfo } from '../../../models';
|
|
4
5
|
import { GioPolicyStudioFlowFormDialogResult } from '../gio-ps-flow-form-dialog-result.model';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare type GioPolicyStudioFlowMessageFormDialogData = {
|
|
7
8
|
flow?: FlowVM;
|
|
8
|
-
entrypoints?:
|
|
9
|
+
entrypoints?: ConnectorInfo[];
|
|
9
10
|
};
|
|
10
11
|
export declare class GioPolicyStudioFlowMessageFormDialogComponent {
|
|
11
12
|
dialogRef: MatDialogRef<GioPolicyStudioFlowMessageFormDialogComponent, GioPolicyStudioFlowFormDialogResult>;
|
|
12
|
-
entrypoints:
|
|
13
|
+
entrypoints: ConnectorInfo[];
|
|
13
14
|
flowFormGroup?: FormGroup;
|
|
14
15
|
existingFlow?: FlowVM;
|
|
15
16
|
mode: 'create' | 'edit';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { MatDialog } from '@angular/material/dialog';
|
|
3
3
|
import { FlowGroupVM, FlowVM } from '../../gio-policy-studio.model';
|
|
4
|
-
import { ApiType } from '../../models';
|
|
4
|
+
import { ApiType, ConnectorInfo, FlowExecution } from '../../models';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
interface FlowGroupMenuVM extends FlowGroupVM {
|
|
7
7
|
flows: FlowMenuVM[];
|
|
@@ -18,17 +18,20 @@ interface FlowMenuVM extends FlowVM {
|
|
|
18
18
|
export declare class GioPolicyStudioFlowsMenuComponent implements OnChanges {
|
|
19
19
|
private readonly matDialog;
|
|
20
20
|
apiType: ApiType;
|
|
21
|
+
flowExecution: FlowExecution;
|
|
21
22
|
flowsGroups: FlowGroupVM[];
|
|
22
23
|
selectedFlow?: FlowVM;
|
|
23
|
-
entrypoints:
|
|
24
|
+
entrypoints: ConnectorInfo[];
|
|
24
25
|
selectedFlowChange: EventEmitter<FlowVM>;
|
|
25
26
|
flowsGroupsChange: EventEmitter<FlowGroupVM[]>;
|
|
27
|
+
flowExecutionChange: EventEmitter<FlowExecution>;
|
|
26
28
|
flowsGroupsVMSelected: FlowGroupMenuVM[];
|
|
27
29
|
constructor(matDialog: MatDialog);
|
|
28
30
|
ngOnChanges(changes: SimpleChanges): void;
|
|
29
31
|
selectFlow(groupId: string, flowId: string): void;
|
|
30
32
|
onAddFlow(flowGroup: FlowGroupVM): void;
|
|
33
|
+
onConfigureExecution(flowExecution: FlowExecution): void;
|
|
31
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<GioPolicyStudioFlowsMenuComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioFlowsMenuComponent, "gio-ps-flows-menu", never, { "apiType": "apiType"; "flowsGroups": "flowsGroups"; "selectedFlow": "selectedFlow"; "entrypoints": "entrypoints"; }, { "selectedFlowChange": "selectedFlowChange"; "flowsGroupsChange": "flowsGroupsChange"; }, never, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioFlowsMenuComponent, "gio-ps-flows-menu", never, { "apiType": "apiType"; "flowExecution": "flowExecution"; "flowsGroups": "flowsGroups"; "selectedFlow": "selectedFlow"; "entrypoints": "entrypoints"; }, { "selectedFlowChange": "selectedFlowChange"; "flowsGroupsChange": "flowsGroupsChange"; "flowExecutionChange": "flowExecutionChange"; }, never, never>;
|
|
33
36
|
}
|
|
34
37
|
export {};
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { ApiType,
|
|
2
|
+
import { ApiType, ConnectorInfo, Flow, Plan, SaveOutput, FlowExecution } from './models';
|
|
3
3
|
import { FlowGroupVM, FlowVM } from './gio-policy-studio.model';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class GioPolicyStudioComponent implements OnChanges {
|
|
6
6
|
apiType: ApiType;
|
|
7
|
+
flowExecution: FlowExecution;
|
|
7
8
|
/**
|
|
8
9
|
* List of entrypoints to display
|
|
9
10
|
*/
|
|
10
|
-
entrypointsInfo:
|
|
11
|
+
entrypointsInfo: ConnectorInfo[];
|
|
11
12
|
/**
|
|
12
13
|
* List of endpoints to display
|
|
13
14
|
*/
|
|
14
|
-
endpointsInfo:
|
|
15
|
+
endpointsInfo: ConnectorInfo[];
|
|
15
16
|
commonFlows: Flow[];
|
|
16
17
|
plans: Plan[];
|
|
17
18
|
/**
|
|
@@ -21,14 +22,15 @@ export declare class GioPolicyStudioComponent implements OnChanges {
|
|
|
21
22
|
connectorsTooltip: string;
|
|
22
23
|
selectedFlow?: FlowVM;
|
|
23
24
|
flowsGroups: FlowGroupVM[];
|
|
24
|
-
entrypointsType: string[];
|
|
25
25
|
disableSaveButton: boolean;
|
|
26
26
|
private initialFlowsGroups;
|
|
27
|
+
private hasFlowExecutionChanged;
|
|
27
28
|
ngOnChanges(changes: SimpleChanges): void;
|
|
29
|
+
onFlowExecutionChange(flowExecution: FlowExecution): void;
|
|
28
30
|
onFlowsGroupsChange(flowsGroups: FlowGroupVM[]): void;
|
|
29
31
|
onSelectedFlowChange(flow: FlowVM): void;
|
|
30
32
|
onDeleteSelectedFlow(flow: FlowVM): void;
|
|
31
33
|
onSave(): void;
|
|
32
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<GioPolicyStudioComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioComponent, "gio-policy-studio", never, { "apiType": "apiType"; "entrypointsInfo": "entrypointsInfo"; "endpointsInfo": "endpointsInfo"; "commonFlows": "commonFlows"; "plans": "plans"; }, { "save": "save"; }, never, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioComponent, "gio-policy-studio", never, { "apiType": "apiType"; "flowExecution": "flowExecution"; "entrypointsInfo": "entrypointsInfo"; "endpointsInfo": "endpointsInfo"; "commonFlows": "commonFlows"; "plans": "plans"; }, { "save": "save"; }, never, never>;
|
|
34
36
|
}
|
|
@@ -2,23 +2,27 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./gio-policy-studio.component";
|
|
3
3
|
import * as i2 from "./components/flows-menu/gio-ps-flows-menu.component";
|
|
4
4
|
import * as i3 from "./components/flow-details/gio-ps-flow-details.component";
|
|
5
|
-
import * as i4 from "./components/flow-
|
|
6
|
-
import * as i5 from "./components/flow-form-dialog/flow-
|
|
7
|
-
import * as i6 from "./components/flow-
|
|
8
|
-
import * as i7 from "./components/flow-details-
|
|
9
|
-
import * as i8 from "./components/flow-details-phase
|
|
10
|
-
import * as i9 from "
|
|
11
|
-
import * as i10 from "
|
|
12
|
-
import * as i11 from "@angular/
|
|
13
|
-
import * as i12 from "@angular/
|
|
14
|
-
import * as i13 from "@angular/material/
|
|
15
|
-
import * as i14 from "@angular/material/
|
|
16
|
-
import * as i15 from "@angular/material/
|
|
17
|
-
import * as i16 from "@angular/material/
|
|
18
|
-
import * as i17 from "@angular/material/
|
|
19
|
-
import * as i18 from "@
|
|
5
|
+
import * as i4 from "./components/flow-execution-form-dialog/gio-ps-flow-execution-form-dialog.component";
|
|
6
|
+
import * as i5 from "./components/flow-form-dialog/flow-message-form-dialog/gio-ps-flow-message-form-dialog.component";
|
|
7
|
+
import * as i6 from "./components/flow-form-dialog/flow-proxy-form-dialog/gio-ps-flow-proxy-form-dialog.component";
|
|
8
|
+
import * as i7 from "./components/flow-details-info-bar/gio-ps-flow-details-info-bar.component";
|
|
9
|
+
import * as i8 from "./components/flow-details-phase/gio-ps-flow-details-phase.component";
|
|
10
|
+
import * as i9 from "./components/flow-details-phase-policy/gio-ps-flow-details-phase-policy.component";
|
|
11
|
+
import * as i10 from "./components/filter-pipe/gio-flter-connectors-by-mode.pipe";
|
|
12
|
+
import * as i11 from "@angular/common";
|
|
13
|
+
import * as i12 from "@angular/forms";
|
|
14
|
+
import * as i13 from "@angular/material/button";
|
|
15
|
+
import * as i14 from "@angular/material/tooltip";
|
|
16
|
+
import * as i15 from "@angular/material/form-field";
|
|
17
|
+
import * as i16 from "@angular/material/input";
|
|
18
|
+
import * as i17 from "@angular/material/select";
|
|
19
|
+
import * as i18 from "@angular/material/slide-toggle";
|
|
20
|
+
import * as i19 from "@angular/material/dialog";
|
|
21
|
+
import * as i20 from "@angular/material/tabs";
|
|
22
|
+
import * as i21 from "@angular/material/menu";
|
|
23
|
+
import * as i22 from "@gravitee/ui-particles-angular";
|
|
20
24
|
export declare class GioPolicyStudioModule {
|
|
21
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<GioPolicyStudioModule, never>;
|
|
22
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<GioPolicyStudioModule, [typeof i1.GioPolicyStudioComponent, typeof i2.GioPolicyStudioFlowsMenuComponent, typeof i3.GioPolicyStudioDetailsComponent, typeof i4.
|
|
26
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GioPolicyStudioModule, [typeof i1.GioPolicyStudioComponent, typeof i2.GioPolicyStudioFlowsMenuComponent, typeof i3.GioPolicyStudioDetailsComponent, typeof i4.GioPolicyStudioFlowExecutionFormDialogComponent, typeof i5.GioPolicyStudioFlowMessageFormDialogComponent, typeof i6.GioPolicyStudioFlowProxyFormDialogComponent, typeof i7.GioPolicyStudioDetailsInfoBarComponent, typeof i8.GioPolicyStudioDetailsPhaseComponent, typeof i9.GioPolicyStudioDetailsPhasePolicyComponent, typeof i10.GioFilterConnectorsByModePipe], [typeof i11.CommonModule, typeof i12.ReactiveFormsModule, typeof i13.MatButtonModule, typeof i14.MatTooltipModule, typeof i15.MatFormFieldModule, typeof i16.MatInputModule, typeof i17.MatSelectModule, typeof i18.MatSlideToggleModule, typeof i19.MatDialogModule, typeof i20.MatTabsModule, typeof i21.MatMenuModule, typeof i22.GioIconsModule, typeof i22.GioFormSlideToggleModule, typeof i22.GioFormTagsInputModule, typeof i22.GioBannerModule], [typeof i1.GioPolicyStudioComponent]>;
|
|
23
27
|
static ɵinj: i0.ɵɵInjectorDeclaration<GioPolicyStudioModule>;
|
|
24
28
|
}
|
package/package.json
CHANGED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
|
|
2
|
+
export declare type PhaseType = 'REQUEST' | 'RESPONSE' | 'PUBLISH' | 'SUBSCRIBE';
|
|
3
|
+
export declare type GioPolicyStudioDetailsPhaseHarnessFilters = BaseHarnessFilters & {
|
|
4
|
+
type?: PhaseType;
|
|
5
|
+
};
|
|
6
|
+
export declare class GioPolicyStudioDetailsPhaseHarness extends ComponentHarness {
|
|
7
|
+
static hostSelector: string;
|
|
8
|
+
private getHeaderName;
|
|
9
|
+
/**
|
|
10
|
+
* Get Harness with the given filter.
|
|
11
|
+
*
|
|
12
|
+
* @param options Options for filtering which input instances are considered a match.
|
|
13
|
+
* @return a `HarnessPredicate` configured with the given options.
|
|
14
|
+
*/
|
|
15
|
+
static with(options?: GioPolicyStudioDetailsPhaseHarnessFilters): HarnessPredicate<GioPolicyStudioDetailsPhaseHarness>;
|
|
16
|
+
getSteps(): Promise<{
|
|
17
|
+
text: string;
|
|
18
|
+
type: 'connector' | 'policy';
|
|
19
|
+
}[] | null>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
|
|
2
|
+
export declare type GioPolicyStudioDetailsPhasePolicyHarnessFilters = BaseHarnessFilters;
|
|
3
|
+
export declare class GioPolicyStudioDetailsPhasePolicyHarness extends ComponentHarness {
|
|
4
|
+
static hostSelector: string;
|
|
5
|
+
/**
|
|
6
|
+
* Get Harness with the given filter.
|
|
7
|
+
*
|
|
8
|
+
* @param options Options for filtering which input instances are considered a match.
|
|
9
|
+
* @return a `HarnessPredicate` configured with the given options.
|
|
10
|
+
*/
|
|
11
|
+
static with(options?: GioPolicyStudioDetailsPhasePolicyHarnessFilters): HarnessPredicate<GioPolicyStudioDetailsPhasePolicyHarness>;
|
|
12
|
+
getName(): Promise<string>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ComponentHarness } from '@angular/cdk/testing';
|
|
2
|
+
import { FlowMode } from '../../models';
|
|
3
|
+
export declare class GioPolicyStudioFlowExecutionFormDialogHarness extends ComponentHarness {
|
|
4
|
+
static hostSelector: string;
|
|
5
|
+
private getSaveBtn;
|
|
6
|
+
private getCancelBtn;
|
|
7
|
+
setFlowFormValues(flowExecution: {
|
|
8
|
+
mode?: FlowMode;
|
|
9
|
+
matchRequired?: boolean;
|
|
10
|
+
}): Promise<void>;
|
|
11
|
+
save(): Promise<void>;
|
|
12
|
+
cancel(): Promise<void>;
|
|
13
|
+
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { ComponentHarness } from '@angular/cdk/testing';
|
|
2
|
-
import { Flow } from './models';
|
|
2
|
+
import { Flow, FlowExecution } from './models';
|
|
3
|
+
import { PhaseType } from './components/flow-details-phase/gio-ps-flow-details-phase.harness';
|
|
3
4
|
export declare class GioPolicyStudioHarness extends ComponentHarness {
|
|
4
5
|
static hostSelector: string;
|
|
5
6
|
private menuHarness;
|
|
6
7
|
private detailsHarness;
|
|
8
|
+
private phaseHarness;
|
|
7
9
|
/**
|
|
8
10
|
* Add a flow to a plan or to "Common flows"
|
|
9
11
|
*
|
|
@@ -18,8 +20,21 @@ export declare class GioPolicyStudioHarness extends ComponentHarness {
|
|
|
18
20
|
* @param flow
|
|
19
21
|
*/
|
|
20
22
|
editFlowConfig(flowName: string, flow: Partial<Flow>): Promise<void>;
|
|
23
|
+
/**
|
|
24
|
+
* Delete a flow
|
|
25
|
+
*
|
|
26
|
+
* @param flowName Flow name to delete
|
|
27
|
+
*/
|
|
21
28
|
deleteFlow(flowName: string): Promise<void>;
|
|
29
|
+
/**
|
|
30
|
+
* Select a flow in the menu
|
|
31
|
+
*
|
|
32
|
+
* @param flowName Flow name to select
|
|
33
|
+
*/
|
|
22
34
|
selectFlowInMenu(flowName: string): Promise<void>;
|
|
35
|
+
/**
|
|
36
|
+
* Get the list of flows in the menu
|
|
37
|
+
*/
|
|
23
38
|
getFlowsMenu(): Promise<{
|
|
24
39
|
name: string | null;
|
|
25
40
|
flows: {
|
|
@@ -28,7 +43,22 @@ export declare class GioPolicyStudioHarness extends ComponentHarness {
|
|
|
28
43
|
infos: string | null;
|
|
29
44
|
}[];
|
|
30
45
|
}[]>;
|
|
46
|
+
/**
|
|
47
|
+
* Get selected flow infos
|
|
48
|
+
*/
|
|
31
49
|
getSelectedFlowInfos(): Promise<Record<string, (string | null)[]>>;
|
|
50
|
+
/**
|
|
51
|
+
* Get selected flow steps phase
|
|
52
|
+
* @param tabLabel Select tabs before try to find phase. Useful to find Event phases for Message API
|
|
53
|
+
*/
|
|
54
|
+
getSelectedFlowSteps(phaseType: PhaseType, tabLabel?: string): Promise<{
|
|
55
|
+
text: string;
|
|
56
|
+
type: 'connector' | 'policy';
|
|
57
|
+
}[] | 'DISABLED'>;
|
|
58
|
+
/**
|
|
59
|
+
* Click on the "Save" button
|
|
60
|
+
*/
|
|
32
61
|
save(): Promise<void>;
|
|
33
62
|
private setFlowFormDialog;
|
|
63
|
+
setFlowExecutionConfig(flowExecution: FlowExecution): Promise<void>;
|
|
34
64
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ConnectorInfo } from './ConnectorsInfo';
|
|
2
|
+
export declare function fakeSSEMessageEntrypoint(modifier?: Partial<ConnectorInfo> | ((base: ConnectorInfo) => ConnectorInfo)): ConnectorInfo;
|
|
3
|
+
export declare function fakeWebsocketMessageEntrypoint(modifier?: Partial<ConnectorInfo> | ((base: ConnectorInfo) => ConnectorInfo)): ConnectorInfo;
|
|
4
|
+
export declare function fakeHTTPPostMessageEntrypoint(modifier?: Partial<ConnectorInfo> | ((base: ConnectorInfo) => ConnectorInfo)): ConnectorInfo;
|
|
5
|
+
export declare function fakeHTTPGetMessageEntrypoint(modifier?: Partial<ConnectorInfo> | ((base: ConnectorInfo) => ConnectorInfo)): ConnectorInfo;
|
|
6
|
+
export declare function fakeWebhookMessageEntrypoint(modifier?: Partial<ConnectorInfo> | ((base: ConnectorInfo) => ConnectorInfo)): ConnectorInfo;
|
|
7
|
+
export declare function fakeHTTPProxyEntrypoint(modifier?: Partial<ConnectorInfo> | ((base: ConnectorInfo) => ConnectorInfo)): ConnectorInfo;
|
|
8
|
+
export declare function fakeMockMessageEndpoint(modifier?: Partial<ConnectorInfo> | ((base: ConnectorInfo) => ConnectorInfo)): ConnectorInfo;
|
|
9
|
+
export declare function fakeKafkaMessageEndpoint(modifier?: Partial<ConnectorInfo> | ((base: ConnectorInfo) => ConnectorInfo)): ConnectorInfo;
|
|
10
|
+
export declare function fakeHTTPProxyEndpoint(modifier?: Partial<ConnectorInfo> | ((base: ConnectorInfo) => ConnectorInfo)): ConnectorInfo;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { FlowExecution } from './FlowExecution';
|
|
2
|
+
export declare function fakeBestMatchFlowExecution(modifier?: Partial<FlowExecution> | ((baseApi: FlowExecution) => FlowExecution)): FlowExecution;
|
|
3
|
+
export declare function fakeDefaultFlowExecution(modifier?: Partial<FlowExecution> | ((baseApi: FlowExecution) => FlowExecution)): FlowExecution;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Step } from './Step';
|
|
2
|
+
export declare function fakeMockPolicyStep(modifier?: Partial<Step> | ((base: Step) => Step)): Step;
|
|
3
|
+
export declare function fakeRateLimitStep(modifier?: Partial<Step> | ((base: Step) => Step)): Step;
|
|
4
|
+
export declare function fakeXmlToJsonStep(modifier?: Partial<Step> | ((base: Step) => Step)): Step;
|