@harnessio/react-chaos-manager-client 1.58.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/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 +11 -0
- package/dist/chaos-manager/src/services/index.js +3 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosExecutionResponse.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentsDeleteDrTestResponse.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentsDeleteDrTestResponse.js +1 -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/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/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
|
@@ -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;
|
|
@@ -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';
|
|
@@ -531,6 +537,8 @@ export type { ChaoscomponentsAbortChaosComponentResponseData } from './schemas/C
|
|
|
531
537
|
export type { ChaoscomponentsCreateDrTestPipelineRequest } from './schemas/ChaoscomponentsCreateDrTestPipelineRequest';
|
|
532
538
|
export type { ChaoscomponentsCreateDrTestPipelineResponse } from './schemas/ChaoscomponentsCreateDrTestPipelineResponse';
|
|
533
539
|
export type { ChaoscomponentsCreateDrTestPipelineResponseData } from './schemas/ChaoscomponentsCreateDrTestPipelineResponseData';
|
|
540
|
+
export type { ChaoscomponentsDeleteDrTestResponse } from './schemas/ChaoscomponentsDeleteDrTestResponse';
|
|
541
|
+
export type { ChaoscomponentsDeleteDrTestResponseData } from './schemas/ChaoscomponentsDeleteDrTestResponseData';
|
|
534
542
|
export type { ChaoscomponentsDrTest } from './schemas/ChaoscomponentsDrTest';
|
|
535
543
|
export type { ChaoscomponentsDrTestRunInfo } from './schemas/ChaoscomponentsDrTestRunInfo';
|
|
536
544
|
export type { ChaoscomponentsGetChaosComponentVariableData } from './schemas/ChaoscomponentsGetChaosComponentVariableData';
|
|
@@ -540,6 +548,8 @@ export type { ChaoscomponentsRunChaosComponentRequest } from './schemas/Chaoscom
|
|
|
540
548
|
export type { ChaoscomponentsRunChaosComponentResponse } from './schemas/ChaoscomponentsRunChaosComponentResponse';
|
|
541
549
|
export type { ChaoscomponentsRunChaosComponentResponseData } from './schemas/ChaoscomponentsRunChaosComponentResponseData';
|
|
542
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';
|
|
@@ -704,6 +714,7 @@ export type { ExperimentProbeConditions } from './schemas/ExperimentProbeConditi
|
|
|
704
714
|
export type { ExperimentProbeRef } from './schemas/ExperimentProbeRef';
|
|
705
715
|
export type { ExperimentProjectedVolumes } from './schemas/ExperimentProjectedVolumes';
|
|
706
716
|
export type { ExperimentRedisAuth } from './schemas/ExperimentRedisAuth';
|
|
717
|
+
export type { ExperimentRunUpdateExperimentRunWithErrorRequest } from './schemas/ExperimentRunUpdateExperimentRunWithErrorRequest';
|
|
707
718
|
export type { ExperimentSaveChaosExperimentResponse } from './schemas/ExperimentSaveChaosExperimentResponse';
|
|
708
719
|
export type { ExperimentSecret } from './schemas/ExperimentSecret';
|
|
709
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';
|
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 @@
|
|
|
1
|
+
export {};
|
|
@@ -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