@harnessio/react-chaos-manager-client 1.57.0 → 1.59.0
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/dist/chaos-manager/src/services/hooks/useDelegateCallbackUpdateMutation.d.ts +20 -0
- package/dist/chaos-manager/src/services/hooks/useDelegateCallbackUpdateMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useDeleteDrTestMutation.d.ts +30 -0
- package/dist/chaos-manager/src/services/hooks/useDeleteDrTestMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListChaosV2ExperimentQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListDrTestsQuery.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useListInputSetQuery.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useStopDrTestMutation.d.ts +30 -0
- package/dist/chaos-manager/src/services/hooks/useStopDrTestMutation.js +14 -0
- package/dist/chaos-manager/src/services/index.d.ts +14 -2
- package/dist/chaos-manager/src/services/index.js +3 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosExecutionNode.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosExecutionResponse.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesExecutionOutput.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentsDeleteDrTestResponse.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentsDeleteDrTestResponseData.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentsDeleteDrTestResponseData.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentsDrTest.d.ts +6 -3
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentsListDrTestsResponse.d.ts +3 -1
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentsStage.d.ts +9 -0
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentsStage.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentsStopDrTestResponse.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentsStopDrTestResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentsStopDrTestResponseData.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentsStopDrTestResponseData.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosexperimentpipelineGetChaosPipelineNodesResponse.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ExecutionChaosExecutionNode.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ExecutionExecutionOutput.d.ts +8 -0
- package/dist/chaos-manager/src/services/schemas/ExecutionExecutionOutput.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentRunUpdateExperimentRunWithErrorRequest.d.ts +12 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentRunUpdateExperimentRunWithErrorRequest.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ModelWorkflowFilterInput.d.ts +8 -0
- package/dist/chaos-manager/src/services/schemas/PipelinesBulkExperimentRunResponse.d.ts +1 -0
- package/package.json +1 -1
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentsDrTestPipelineInfo.d.ts +0 -7
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentsDrTestSpec.d.ts +0 -4
- /package/dist/chaos-manager/src/services/schemas/{ChaoscomponentsDrTestPipelineInfo.js → ChaosExecutionNodesExecutionOutput.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ChaoscomponentsDrTestSpec.js → ChaoscomponentsDeleteDrTestResponse.js} +0 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
3
|
+
import type { ExperimentRunUpdateExperimentRunWithErrorRequest } from '../schemas/ExperimentRunUpdateExperimentRunWithErrorRequest';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export type DelegateCallbackUpdateRequestBody = ExperimentRunUpdateExperimentRunWithErrorRequest;
|
|
6
|
+
export type DelegateCallbackUpdateOkResponse = string;
|
|
7
|
+
export type DelegateCallbackUpdateErrorResponse = ApiRestError;
|
|
8
|
+
export interface DelegateCallbackUpdateProps extends Omit<FetcherOptions<unknown, DelegateCallbackUpdateRequestBody>, 'url'> {
|
|
9
|
+
body: DelegateCallbackUpdateRequestBody;
|
|
10
|
+
}
|
|
11
|
+
export interface DelegateCallbackUpdateResponseContainer {
|
|
12
|
+
body: DelegateCallbackUpdateOkResponse;
|
|
13
|
+
headers: Headers;
|
|
14
|
+
}
|
|
15
|
+
export declare function delegateCallbackUpdate(props: DelegateCallbackUpdateProps): Promise<DelegateCallbackUpdateResponseContainer>;
|
|
16
|
+
export type DelegateCallbackUpdateMutationProps<T extends keyof DelegateCallbackUpdateProps> = Omit<DelegateCallbackUpdateProps, T> & Partial<Pick<DelegateCallbackUpdateProps, T>>;
|
|
17
|
+
/**
|
|
18
|
+
* Internal endpoint for k8s-ifs to update experiment run status when delegate tasks complete
|
|
19
|
+
*/
|
|
20
|
+
export declare function useDelegateCallbackUpdateMutation<T extends keyof DelegateCallbackUpdateProps>(props: Pick<Partial<DelegateCallbackUpdateProps>, T>, options?: Omit<UseMutationOptions<DelegateCallbackUpdateResponseContainer, DelegateCallbackUpdateErrorResponse, DelegateCallbackUpdateMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DelegateCallbackUpdateResponseContainer, ApiRestError, DelegateCallbackUpdateMutationProps<T>, unknown>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function delegateCallbackUpdate(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/internalv3/integrations/delegate-callback-update`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Internal endpoint for k8s-ifs to update experiment run status when delegate tasks complete
|
|
11
|
+
*/
|
|
12
|
+
export function useDelegateCallbackUpdateMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => delegateCallbackUpdate(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChaoscomponentsDeleteDrTestResponse } from '../schemas/ChaoscomponentsDeleteDrTestResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface DeleteDrTestMutationPathParams {
|
|
6
|
+
identity: string;
|
|
7
|
+
}
|
|
8
|
+
export interface DeleteDrTestMutationQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
correlationID?: string;
|
|
11
|
+
name?: string;
|
|
12
|
+
organizationIdentifier?: string;
|
|
13
|
+
parentUniqueId?: string;
|
|
14
|
+
projectIdentifier?: string;
|
|
15
|
+
}
|
|
16
|
+
export type DeleteDrTestOkResponse = ChaoscomponentsDeleteDrTestResponse;
|
|
17
|
+
export type DeleteDrTestErrorResponse = ApiRestError;
|
|
18
|
+
export interface DeleteDrTestProps extends DeleteDrTestMutationPathParams, Omit<FetcherOptions<DeleteDrTestMutationQueryParams, unknown>, 'url'> {
|
|
19
|
+
queryParams: DeleteDrTestMutationQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export interface DeleteDrTestResponseContainer {
|
|
22
|
+
body: DeleteDrTestOkResponse;
|
|
23
|
+
headers: Headers;
|
|
24
|
+
}
|
|
25
|
+
export declare function deleteDrTest(props: DeleteDrTestProps): Promise<DeleteDrTestResponseContainer>;
|
|
26
|
+
export type DeleteDrTestMutationProps<T extends keyof DeleteDrTestProps> = Omit<DeleteDrTestProps, T> & Partial<Pick<DeleteDrTestProps, T>>;
|
|
27
|
+
/**
|
|
28
|
+
* Deletes a DR Test pipeline by its identifier
|
|
29
|
+
*/
|
|
30
|
+
export declare function useDeleteDrTestMutation<T extends keyof DeleteDrTestProps>(props: Pick<Partial<DeleteDrTestProps>, T>, options?: Omit<UseMutationOptions<DeleteDrTestResponseContainer, DeleteDrTestErrorResponse, DeleteDrTestMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteDrTestResponseContainer, ApiRestError, DeleteDrTestMutationProps<T>, unknown>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function deleteDrTest(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/dr-tests/${props.identity}`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Deletes a DR Test pipeline by its identifier
|
|
11
|
+
*/
|
|
12
|
+
export function useDeleteDrTestMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => deleteDrTest(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -25,6 +25,8 @@ export interface ListChaosV2ExperimentQueryQueryParams {
|
|
|
25
25
|
environmentIdentifier?: string;
|
|
26
26
|
targetNetworkMapIds?: string;
|
|
27
27
|
status?: string;
|
|
28
|
+
myExperiments?: boolean;
|
|
29
|
+
excludeAutomation?: boolean;
|
|
28
30
|
}
|
|
29
31
|
export type ListChaosV2ExperimentOkResponse = TypesListExperimentV2Response;
|
|
30
32
|
export type ListChaosV2ExperimentErrorResponse = ApiRestError;
|
|
@@ -18,6 +18,7 @@ export interface ListDrTestsQueryQueryParams {
|
|
|
18
18
|
projectIdentifier?: string;
|
|
19
19
|
search?: string;
|
|
20
20
|
sort?: string;
|
|
21
|
+
tags?: string;
|
|
21
22
|
}
|
|
22
23
|
export type ListDrTestsOkResponse = ChaoscomponentsListDrTestsResponse;
|
|
23
24
|
export type ListDrTestsErrorResponse = ApiRestError;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChaoscomponentsStopDrTestResponse } from '../schemas/ChaoscomponentsStopDrTestResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface StopDrTestMutationPathParams {
|
|
6
|
+
identity: string;
|
|
7
|
+
executionId: string;
|
|
8
|
+
}
|
|
9
|
+
export interface StopDrTestMutationQueryParams {
|
|
10
|
+
accountIdentifier: string;
|
|
11
|
+
correlationID?: string;
|
|
12
|
+
organizationIdentifier?: string;
|
|
13
|
+
parentUniqueId?: string;
|
|
14
|
+
projectIdentifier?: string;
|
|
15
|
+
}
|
|
16
|
+
export type StopDrTestOkResponse = ChaoscomponentsStopDrTestResponse;
|
|
17
|
+
export type StopDrTestErrorResponse = ApiRestError;
|
|
18
|
+
export interface StopDrTestProps extends StopDrTestMutationPathParams, Omit<FetcherOptions<StopDrTestMutationQueryParams, unknown>, 'url'> {
|
|
19
|
+
queryParams: StopDrTestMutationQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export interface StopDrTestResponseContainer {
|
|
22
|
+
body: StopDrTestOkResponse;
|
|
23
|
+
headers: Headers;
|
|
24
|
+
}
|
|
25
|
+
export declare function stopDrTest(props: StopDrTestProps): Promise<StopDrTestResponseContainer>;
|
|
26
|
+
export type StopDrTestMutationProps<T extends keyof StopDrTestProps> = Omit<StopDrTestProps, T> & Partial<Pick<StopDrTestProps, T>>;
|
|
27
|
+
/**
|
|
28
|
+
* Stops a running DR test pipeline execution by aborting the pipeline
|
|
29
|
+
*/
|
|
30
|
+
export declare function useStopDrTestMutation<T extends keyof StopDrTestProps>(props: Pick<Partial<StopDrTestProps>, T>, options?: Omit<UseMutationOptions<StopDrTestResponseContainer, StopDrTestErrorResponse, StopDrTestMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<StopDrTestResponseContainer, ApiRestError, StopDrTestMutationProps<T>, unknown>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function stopDrTest(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/dr-tests/${props.identity}/executions/${props.executionId}/stop`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Stops a running DR test pipeline execution by aborting the pipeline
|
|
11
|
+
*/
|
|
12
|
+
export function useStopDrTestMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => stopDrTest(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -56,6 +56,8 @@ export type { CreateRuleErrorResponse, CreateRuleMutationProps, CreateRuleMutati
|
|
|
56
56
|
export { createRule, useCreateRuleMutation } from './hooks/useCreateRuleMutation';
|
|
57
57
|
export type { CreateV2OnboardingErrorResponse, CreateV2OnboardingMutationProps, CreateV2OnboardingMutationQueryParams, CreateV2OnboardingOkResponse, CreateV2OnboardingProps, CreateV2OnboardingRequestBody, } from './hooks/useCreateV2OnboardingMutation';
|
|
58
58
|
export { createV2Onboarding, useCreateV2OnboardingMutation, } from './hooks/useCreateV2OnboardingMutation';
|
|
59
|
+
export type { DelegateCallbackUpdateErrorResponse, DelegateCallbackUpdateMutationProps, DelegateCallbackUpdateOkResponse, DelegateCallbackUpdateProps, DelegateCallbackUpdateRequestBody, } from './hooks/useDelegateCallbackUpdateMutation';
|
|
60
|
+
export { delegateCallbackUpdate, useDelegateCallbackUpdateMutation, } from './hooks/useDelegateCallbackUpdateMutation';
|
|
59
61
|
export type { DeleteActionErrorResponse, DeleteActionMutationPathParams, DeleteActionMutationProps, DeleteActionMutationQueryParams, DeleteActionOkResponse, DeleteActionProps, } from './hooks/useDeleteActionMutation';
|
|
60
62
|
export { deleteAction, useDeleteActionMutation } from './hooks/useDeleteActionMutation';
|
|
61
63
|
export type { DeleteActionTemplateErrorResponse, DeleteActionTemplateMutationPathParams, DeleteActionTemplateMutationProps, DeleteActionTemplateMutationQueryParams, DeleteActionTemplateOkResponse, DeleteActionTemplateProps, } from './hooks/useDeleteActionTemplateMutation';
|
|
@@ -64,6 +66,8 @@ export type { DeleteChaosV2ExperimentErrorResponse, DeleteChaosV2ExperimentMutat
|
|
|
64
66
|
export { deleteChaosV2Experiment, useDeleteChaosV2ExperimentMutation, } from './hooks/useDeleteChaosV2ExperimentMutation';
|
|
65
67
|
export type { DeleteConditionErrorResponse, DeleteConditionMutationPathParams, DeleteConditionMutationProps, DeleteConditionMutationQueryParams, DeleteConditionOkResponse, DeleteConditionProps, } from './hooks/useDeleteConditionMutation';
|
|
66
68
|
export { deleteCondition, useDeleteConditionMutation } from './hooks/useDeleteConditionMutation';
|
|
69
|
+
export type { DeleteDrTestErrorResponse, DeleteDrTestMutationPathParams, DeleteDrTestMutationProps, DeleteDrTestMutationQueryParams, DeleteDrTestOkResponse, DeleteDrTestProps, } from './hooks/useDeleteDrTestMutation';
|
|
70
|
+
export { deleteDrTest, useDeleteDrTestMutation } from './hooks/useDeleteDrTestMutation';
|
|
67
71
|
export type { DeleteExperimentTemplateErrorResponse, DeleteExperimentTemplateMutationPathParams, DeleteExperimentTemplateMutationProps, DeleteExperimentTemplateMutationQueryParams, DeleteExperimentTemplateOkResponse, DeleteExperimentTemplateProps, } from './hooks/useDeleteExperimentTemplateMutation';
|
|
68
72
|
export { deleteExperimentTemplate, useDeleteExperimentTemplateMutation, } from './hooks/useDeleteExperimentTemplateMutation';
|
|
69
73
|
export type { DeleteFaultErrorResponse, DeleteFaultMutationPathParams, DeleteFaultMutationProps, DeleteFaultMutationQueryParams, DeleteFaultOkResponse, DeleteFaultProps, } from './hooks/useDeleteFaultMutation';
|
|
@@ -380,6 +384,8 @@ export type { SaveChaosV2ExperimentErrorResponse, SaveChaosV2ExperimentMutationP
|
|
|
380
384
|
export { saveChaosV2Experiment, useSaveChaosV2ExperimentMutation, } from './hooks/useSaveChaosV2ExperimentMutation';
|
|
381
385
|
export type { StopChaosV2ExperimentErrorResponse, StopChaosV2ExperimentMutationPathParams, StopChaosV2ExperimentMutationProps, StopChaosV2ExperimentMutationQueryParams, StopChaosV2ExperimentOkResponse, StopChaosV2ExperimentProps, } from './hooks/useStopChaosV2ExperimentMutation';
|
|
382
386
|
export { stopChaosV2Experiment, useStopChaosV2ExperimentMutation, } from './hooks/useStopChaosV2ExperimentMutation';
|
|
387
|
+
export type { StopDrTestErrorResponse, StopDrTestMutationPathParams, StopDrTestMutationProps, StopDrTestMutationQueryParams, StopDrTestOkResponse, StopDrTestProps, } from './hooks/useStopDrTestMutation';
|
|
388
|
+
export { stopDrTest, useStopDrTestMutation } from './hooks/useStopDrTestMutation';
|
|
383
389
|
export type { StopOnboardingExperimentsErrorResponse, StopOnboardingExperimentsMutationPathParams, StopOnboardingExperimentsMutationProps, StopOnboardingExperimentsMutationQueryParams, StopOnboardingExperimentsOkResponse, StopOnboardingExperimentsProps, } from './hooks/useStopOnboardingExperimentsMutation';
|
|
384
390
|
export { stopOnboardingExperiments, useStopOnboardingExperimentsMutation, } from './hooks/useStopOnboardingExperimentsMutation';
|
|
385
391
|
export type { TestLegacyKubernetesChaosInfraConnectionErrorResponse, TestLegacyKubernetesChaosInfraConnectionOkResponse, TestLegacyKubernetesChaosInfraConnectionProps, TestLegacyKubernetesChaosInfraConnectionQueryPathParams, TestLegacyKubernetesChaosInfraConnectionQueryQueryParams, } from './hooks/useTestLegacyKubernetesChaosInfraConnectionQuery';
|
|
@@ -474,6 +480,7 @@ export type { ChaosExecutionNodesChaosExecutionNode } from './schemas/ChaosExecu
|
|
|
474
480
|
export type { ChaosExecutionNodesChaosExecutionResponse } from './schemas/ChaosExecutionNodesChaosExecutionResponse';
|
|
475
481
|
export type { ChaosExecutionNodesCommandProbe } from './schemas/ChaosExecutionNodesCommandProbe';
|
|
476
482
|
export type { ChaosExecutionNodesErrorData } from './schemas/ChaosExecutionNodesErrorData';
|
|
483
|
+
export type { ChaosExecutionNodesExecutionOutput } from './schemas/ChaosExecutionNodesExecutionOutput';
|
|
477
484
|
export type { ChaosExecutionNodesFaultData } from './schemas/ChaosExecutionNodesFaultData';
|
|
478
485
|
export type { ChaosExecutionNodesFaultDetails } from './schemas/ChaosExecutionNodesFaultDetails';
|
|
479
486
|
export type { ChaosExecutionNodesHelperPodDetails } from './schemas/ChaosExecutionNodesHelperPodDetails';
|
|
@@ -530,16 +537,19 @@ export type { ChaoscomponentsAbortChaosComponentResponseData } from './schemas/C
|
|
|
530
537
|
export type { ChaoscomponentsCreateDrTestPipelineRequest } from './schemas/ChaoscomponentsCreateDrTestPipelineRequest';
|
|
531
538
|
export type { ChaoscomponentsCreateDrTestPipelineResponse } from './schemas/ChaoscomponentsCreateDrTestPipelineResponse';
|
|
532
539
|
export type { ChaoscomponentsCreateDrTestPipelineResponseData } from './schemas/ChaoscomponentsCreateDrTestPipelineResponseData';
|
|
540
|
+
export type { ChaoscomponentsDeleteDrTestResponse } from './schemas/ChaoscomponentsDeleteDrTestResponse';
|
|
541
|
+
export type { ChaoscomponentsDeleteDrTestResponseData } from './schemas/ChaoscomponentsDeleteDrTestResponseData';
|
|
533
542
|
export type { ChaoscomponentsDrTest } from './schemas/ChaoscomponentsDrTest';
|
|
534
|
-
export type { ChaoscomponentsDrTestPipelineInfo } from './schemas/ChaoscomponentsDrTestPipelineInfo';
|
|
535
543
|
export type { ChaoscomponentsDrTestRunInfo } from './schemas/ChaoscomponentsDrTestRunInfo';
|
|
536
|
-
export type { ChaoscomponentsDrTestSpec } from './schemas/ChaoscomponentsDrTestSpec';
|
|
537
544
|
export type { ChaoscomponentsGetChaosComponentVariableData } from './schemas/ChaoscomponentsGetChaosComponentVariableData';
|
|
538
545
|
export type { ChaoscomponentsGetChaosComponentVariableResponse } from './schemas/ChaoscomponentsGetChaosComponentVariableResponse';
|
|
539
546
|
export type { ChaoscomponentsListDrTestsResponse } from './schemas/ChaoscomponentsListDrTestsResponse';
|
|
540
547
|
export type { ChaoscomponentsRunChaosComponentRequest } from './schemas/ChaoscomponentsRunChaosComponentRequest';
|
|
541
548
|
export type { ChaoscomponentsRunChaosComponentResponse } from './schemas/ChaoscomponentsRunChaosComponentResponse';
|
|
542
549
|
export type { ChaoscomponentsRunChaosComponentResponseData } from './schemas/ChaoscomponentsRunChaosComponentResponseData';
|
|
550
|
+
export type { ChaoscomponentsStage } from './schemas/ChaoscomponentsStage';
|
|
551
|
+
export type { ChaoscomponentsStopDrTestResponse } from './schemas/ChaoscomponentsStopDrTestResponse';
|
|
552
|
+
export type { ChaoscomponentsStopDrTestResponseData } from './schemas/ChaoscomponentsStopDrTestResponseData';
|
|
543
553
|
export type { ChaoscomponentsUserMetaData } from './schemas/ChaoscomponentsUserMetaData';
|
|
544
554
|
export type { ChaosexperimentListExperimentData } from './schemas/ChaosexperimentListExperimentData';
|
|
545
555
|
export type { ChaosexperimentpipelineGetChaosPipelineNodesResponse } from './schemas/ChaosexperimentpipelineGetChaosPipelineNodesResponse';
|
|
@@ -677,6 +687,7 @@ export type { ExecutionChaosStepStatus } from './schemas/ExecutionChaosStepStatu
|
|
|
677
687
|
export type { ExecutionChaosStepType } from './schemas/ExecutionChaosStepType';
|
|
678
688
|
export type { ExecutionCommandProbe } from './schemas/ExecutionCommandProbe';
|
|
679
689
|
export type { ExecutionErrorData } from './schemas/ExecutionErrorData';
|
|
690
|
+
export type { ExecutionExecutionOutput } from './schemas/ExecutionExecutionOutput';
|
|
680
691
|
export type { ExecutionFaultData } from './schemas/ExecutionFaultData';
|
|
681
692
|
export type { ExecutionHelperPodDetails } from './schemas/ExecutionHelperPodDetails';
|
|
682
693
|
export type { ExecutionHttpProbe } from './schemas/ExecutionHttpProbe';
|
|
@@ -703,6 +714,7 @@ export type { ExperimentProbeConditions } from './schemas/ExperimentProbeConditi
|
|
|
703
714
|
export type { ExperimentProbeRef } from './schemas/ExperimentProbeRef';
|
|
704
715
|
export type { ExperimentProjectedVolumes } from './schemas/ExperimentProjectedVolumes';
|
|
705
716
|
export type { ExperimentRedisAuth } from './schemas/ExperimentRedisAuth';
|
|
717
|
+
export type { ExperimentRunUpdateExperimentRunWithErrorRequest } from './schemas/ExperimentRunUpdateExperimentRunWithErrorRequest';
|
|
706
718
|
export type { ExperimentSaveChaosExperimentResponse } from './schemas/ExperimentSaveChaosExperimentResponse';
|
|
707
719
|
export type { ExperimentSecret } from './schemas/ExperimentSecret';
|
|
708
720
|
export type { ExperimentSecurityContext } from './schemas/ExperimentSecurityContext';
|
|
@@ -27,10 +27,12 @@ export { createRecommendation, useCreateRecommendationMutation, } from './hooks/
|
|
|
27
27
|
export { createRisk, useCreateRiskMutation } from './hooks/useCreateRiskMutation';
|
|
28
28
|
export { createRule, useCreateRuleMutation } from './hooks/useCreateRuleMutation';
|
|
29
29
|
export { createV2Onboarding, useCreateV2OnboardingMutation, } from './hooks/useCreateV2OnboardingMutation';
|
|
30
|
+
export { delegateCallbackUpdate, useDelegateCallbackUpdateMutation, } from './hooks/useDelegateCallbackUpdateMutation';
|
|
30
31
|
export { deleteAction, useDeleteActionMutation } from './hooks/useDeleteActionMutation';
|
|
31
32
|
export { deleteActionTemplate, useDeleteActionTemplateMutation, } from './hooks/useDeleteActionTemplateMutation';
|
|
32
33
|
export { deleteChaosV2Experiment, useDeleteChaosV2ExperimentMutation, } from './hooks/useDeleteChaosV2ExperimentMutation';
|
|
33
34
|
export { deleteCondition, useDeleteConditionMutation } from './hooks/useDeleteConditionMutation';
|
|
35
|
+
export { deleteDrTest, useDeleteDrTestMutation } from './hooks/useDeleteDrTestMutation';
|
|
34
36
|
export { deleteExperimentTemplate, useDeleteExperimentTemplateMutation, } from './hooks/useDeleteExperimentTemplateMutation';
|
|
35
37
|
export { deleteFault, useDeleteFaultMutation } from './hooks/useDeleteFaultMutation';
|
|
36
38
|
export { deleteFaultTemplate, useDeleteFaultTemplateMutation, } from './hooks/useDeleteFaultTemplateMutation';
|
|
@@ -189,6 +191,7 @@ export { runChaosV2InternalApi, useRunChaosV2InternalApiMutation, } from './hook
|
|
|
189
191
|
export { runRecommendation, useRunRecommendationMutation, } from './hooks/useRunRecommendationMutation';
|
|
190
192
|
export { saveChaosV2Experiment, useSaveChaosV2ExperimentMutation, } from './hooks/useSaveChaosV2ExperimentMutation';
|
|
191
193
|
export { stopChaosV2Experiment, useStopChaosV2ExperimentMutation, } from './hooks/useStopChaosV2ExperimentMutation';
|
|
194
|
+
export { stopDrTest, useStopDrTestMutation } from './hooks/useStopDrTestMutation';
|
|
192
195
|
export { stopOnboardingExperiments, useStopOnboardingExperimentsMutation, } from './hooks/useStopOnboardingExperimentsMutation';
|
|
193
196
|
export { testLegacyKubernetesChaosInfraConnection, useTestLegacyKubernetesChaosInfraConnectionQuery, } from './hooks/useTestLegacyKubernetesChaosInfraConnectionQuery';
|
|
194
197
|
export { updateAction, useUpdateActionMutation } from './hooks/useUpdateActionMutation';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ChaosExecutionNodesChaosData } from '../schemas/ChaosExecutionNodesChaosData';
|
|
2
2
|
import type { ChaosExecutionNodesErrorData } from '../schemas/ChaosExecutionNodesErrorData';
|
|
3
|
+
import type { ChaosExecutionNodesExecutionOutput } from '../schemas/ChaosExecutionNodesExecutionOutput';
|
|
3
4
|
import type { ExecutionChaosStepStatus } from '../schemas/ExecutionChaosStepStatus';
|
|
4
5
|
import type { ExecutionChaosStepType } from '../schemas/ExecutionChaosStepType';
|
|
5
6
|
export interface ChaosExecutionNodesChaosExecutionNode {
|
|
@@ -8,6 +9,7 @@ export interface ChaosExecutionNodesChaosExecutionNode {
|
|
|
8
9
|
duration?: number;
|
|
9
10
|
errorData?: ChaosExecutionNodesErrorData;
|
|
10
11
|
estimatedTime?: number;
|
|
12
|
+
executionOutput?: ChaosExecutionNodesExecutionOutput;
|
|
11
13
|
experimentID?: string;
|
|
12
14
|
experimentRunID?: string;
|
|
13
15
|
finishedAt?: number;
|
package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosExecutionResponse.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import type { ChaosExperimentRunTemplateDetails } from '../schemas/ChaosExperime
|
|
|
5
5
|
export interface ChaosExecutionNodesChaosExecutionResponse {
|
|
6
6
|
accountID: string;
|
|
7
7
|
duration?: number;
|
|
8
|
+
errorResponse?: string;
|
|
8
9
|
estimatedTime?: number;
|
|
9
10
|
experimentID?: string;
|
|
10
11
|
experimentIdentity?: string;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ExecutionChaosStepType } from '../schemas/ExecutionChaosStepType';
|
|
2
|
+
import type { ExecutionChaosStepStatus } from '../schemas/ExecutionChaosStepStatus';
|
|
3
|
+
export interface ChaosExecutionNodesExecutionOutput {
|
|
4
|
+
resourceType?: ExecutionChaosStepType;
|
|
5
|
+
status?: ExecutionChaosStepStatus;
|
|
6
|
+
}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ChaoscomponentsDrTestRunInfo } from '../schemas/ChaoscomponentsDrTestRunInfo';
|
|
2
|
+
import type { ChaoscomponentsStage } from '../schemas/ChaoscomponentsStage';
|
|
2
3
|
export interface ChaoscomponentsDrTest {
|
|
3
4
|
description?: string;
|
|
4
5
|
identity?: string;
|
|
6
|
+
infrastructureType?: string;
|
|
7
|
+
lastModified?: number;
|
|
5
8
|
name?: string;
|
|
6
|
-
|
|
7
|
-
|
|
9
|
+
recentRuns?: ChaoscomponentsDrTestRunInfo[];
|
|
10
|
+
stages?: ChaoscomponentsStage[];
|
|
8
11
|
tags?: {
|
|
9
12
|
[key: string]: string;
|
|
10
13
|
};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import type { ChaoscomponentsDrTest } from '../schemas/ChaoscomponentsDrTest';
|
|
2
|
+
import type { SharedPaginationResponse } from '../schemas/SharedPaginationResponse';
|
|
2
3
|
export interface ChaoscomponentsListDrTestsResponse {
|
|
3
|
-
|
|
4
|
+
items?: ChaoscomponentsDrTest[];
|
|
5
|
+
pagination?: SharedPaginationResponse;
|
|
4
6
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { ChaosExecutionNodesChaosExecutionNode } from '../schemas/ChaosExecutionNodesChaosExecutionNode';
|
|
2
|
+
import type { ChaosExecutionNodesExecutionOutput } from '../schemas/ChaosExecutionNodesExecutionOutput';
|
|
2
3
|
import type { ChaosexperimentpipelineReferenceEntities } from '../schemas/ChaosexperimentpipelineReferenceEntities';
|
|
3
4
|
export interface ChaosexperimentpipelineGetChaosPipelineNodesResponse {
|
|
4
5
|
chaosExecutionNode?: ChaosExecutionNodesChaosExecutionNode;
|
|
6
|
+
output?: ChaosExecutionNodesExecutionOutput;
|
|
5
7
|
refEntities?: ChaosexperimentpipelineReferenceEntities;
|
|
6
8
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ExecutionChaosData } from '../schemas/ExecutionChaosData';
|
|
2
2
|
import type { ExecutionErrorData } from '../schemas/ExecutionErrorData';
|
|
3
3
|
import type { ExecutionInfraType } from '../schemas/ExecutionInfraType';
|
|
4
|
+
import type { ExecutionExecutionOutput } from '../schemas/ExecutionExecutionOutput';
|
|
4
5
|
import type { ExecutionChaosStepStatus } from '../schemas/ExecutionChaosStepStatus';
|
|
5
6
|
import type { ExecutionChaosStepType } from '../schemas/ExecutionChaosStepType';
|
|
6
7
|
export interface ExecutionChaosExecutionNode {
|
|
@@ -14,6 +15,7 @@ export interface ExecutionChaosExecutionNode {
|
|
|
14
15
|
infraType?: ExecutionInfraType;
|
|
15
16
|
isRemoved?: boolean;
|
|
16
17
|
lastUpdatedAt?: number;
|
|
18
|
+
output?: ExecutionExecutionOutput;
|
|
17
19
|
spec?: string;
|
|
18
20
|
startedAt?: number;
|
|
19
21
|
status?: ExecutionChaosStepStatus;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ExecutionChaosStepStatus } from '../schemas/ExecutionChaosStepStatus';
|
|
2
|
+
export interface ExecutionExecutionOutput {
|
|
3
|
+
orgIdentifier?: string;
|
|
4
|
+
projectIdentifier?: string;
|
|
5
|
+
resourceIdentifier?: string;
|
|
6
|
+
resourceType?: string;
|
|
7
|
+
status?: ExecutionChaosStepStatus;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface ExperimentRunUpdateExperimentRunWithErrorRequest {
|
|
2
|
+
accountIdentifier: string;
|
|
3
|
+
errorResponse?: string;
|
|
4
|
+
experimentID: string;
|
|
5
|
+
experimentRunID: string;
|
|
6
|
+
notifyID: string;
|
|
7
|
+
organizationIdentifier?: string;
|
|
8
|
+
parentUniqueId?: string;
|
|
9
|
+
phase: string;
|
|
10
|
+
projectIdentifier?: string;
|
|
11
|
+
updatedBy?: string;
|
|
12
|
+
}
|
|
@@ -7,6 +7,10 @@ export interface ModelWorkflowFilterInput {
|
|
|
7
7
|
* Date range for filtering purpose
|
|
8
8
|
*/
|
|
9
9
|
dateRange?: ModelDateRange;
|
|
10
|
+
/**
|
|
11
|
+
* When true, excludes experiments created by automated sources (e.g. pipelines, system)
|
|
12
|
+
*/
|
|
13
|
+
excludeAutomation?: boolean;
|
|
10
14
|
/**
|
|
11
15
|
* Bool value indicating if Chaos Infrastructure is active
|
|
12
16
|
*/
|
|
@@ -27,6 +31,10 @@ export interface ModelWorkflowFilterInput {
|
|
|
27
31
|
* Bool value to filter data based on cron enabled state
|
|
28
32
|
*/
|
|
29
33
|
isCronEnabled?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* When true, filters to only show experiments created or updated by the current user
|
|
36
|
+
*/
|
|
37
|
+
myExperiments?: boolean;
|
|
30
38
|
/**
|
|
31
39
|
* Scenario type of the workflow i.e. CRON or NON_CRON
|
|
32
40
|
*/
|
package/package.json
CHANGED
|
File without changes
|