@harnessio/react-chaos-manager-client 1.49.1-beta.3 → 1.51.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/useCreateChaosComponentMutation.d.ts +2 -2
- package/dist/chaos-manager/src/services/hooks/useGetChaosV2ExperimentVariablesQuery.d.ts +2 -2
- package/dist/chaos-manager/src/services/hooks/useGetExperimentOrTemplateVariableQuery.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetExperimentOrTemplateVariableQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateVariablesQuery.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateVariablesQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateYamlQuery.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateYamlQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetFaultTemplateVariablesQuery.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetFaultTemplateVariablesQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetFaultTemplateYamlQuery.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetFaultTemplateYamlQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetFaultVariablesQuery.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetFaultVariablesQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useListChaosComponentQuery.d.ts +2 -2
- package/dist/chaos-manager/src/services/hooks/useListVariablesInActionTemplateQuery.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useListVariablesInActionTemplateQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useListVariablesInProbeTemplateQuery.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useListVariablesInProbeTemplateQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useUpdateChaosComponentMutation.d.ts +2 -2
- package/dist/chaos-manager/src/services/index.d.ts +21 -19
- package/dist/chaos-manager/src/services/schemas/ActionActionTemplateRunProperties.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ActionsActionResponse.d.ts +5 -1
- package/dist/chaos-manager/src/services/schemas/ChaosactiontemplateChaosActionTemplate.d.ts +5 -1
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentActionData.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentChaosComponentExecutionNode.d.ts +26 -0
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentChaosComponentType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentChaosData.d.ts +8 -0
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentCommandProbe.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/{ChaosComponentErrorData.d.ts → ChaoscomponentErrorData.d.ts} +1 -1
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentFaultData.d.ts +8 -0
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentHelperPodDetails.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/{ChaosComponentHttpProbe.d.ts → ChaoscomponentHttpProbe.d.ts} +1 -1
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentInfraType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentProbeData.d.ts +8 -0
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentProbeIterations.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentPromProbe.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/{ChaosComponentStatus.d.ts → ChaoscomponentStatus.d.ts} +1 -1
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentsRunChaosComponentRequest.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/ChaosexperimentpipelineReferenceEntities.d.ts +0 -2
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateChaosExperimentTemplate.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateExperimentTemplateVariables.d.ts +4 -4
- package/dist/chaos-manager/src/services/schemas/{ChaosexperimenttemplateVariable.d.ts → ChaosexperimenttemplateInputs.d.ts} +5 -1
- package/dist/chaos-manager/src/services/schemas/ChaosfaultChaosFault.d.ts +5 -1
- package/dist/chaos-manager/src/services/schemas/ChaosfaultCreateFaultRequest.d.ts +2 -1
- package/dist/chaos-manager/src/services/schemas/ChaosfaultCreateFaultResponse.d.ts +2 -1
- package/dist/chaos-manager/src/services/schemas/ChaosfaultFaultVariables.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultGetFaultResponse.d.ts +2 -1
- package/dist/chaos-manager/src/services/schemas/ChaosfaultUpdateFaultRequest.d.ts +2 -1
- package/dist/chaos-manager/src/services/schemas/ChaosfaultUpdateFaultResponse.d.ts +2 -1
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateActionTemplate.d.ts +5 -1
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateActionTemplateVariables.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateChaosFaultTemplate.d.ts +5 -1
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateRequest.d.ts +2 -1
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateResponse.d.ts +2 -1
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateFaultTemplateVariables.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateUpdateFaultTemplateResponse.d.ts +2 -1
- package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateProbeTemplate.d.ts +5 -1
- package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateProbeTemplateVariables.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentActionRef.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/ExperimentFaultRef.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/ExperimentProbeRef.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/FaulttemplateFaultTemplate.d.ts +2 -1
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgActionsAction.d.ts +5 -1
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAction.d.ts +5 -1
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprobetemplateChaosProbeTemplate.d.ts +5 -1
- package/dist/chaos-manager/src/services/schemas/InputsetInputSet.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/ProbeApmProbeTemplate.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ProbeApmProbeType.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/ProbeSplunkEnterpriseProbeInputs.d.ts +8 -0
- package/dist/chaos-manager/src/services/schemas/TemplateInputCategory.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/TemplateInputType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/{TemplateRunTimeVariables.d.ts → TemplateRunTimeInputs.d.ts} +1 -1
- package/dist/chaos-manager/src/services/schemas/TemplateRunTimeInputs.js +1 -0
- package/dist/chaos-manager/src/services/schemas/TemplateVariable.d.ts +4 -4
- package/dist/chaos-manager/src/services/schemas/TypesCreateProbeResponse.d.ts +5 -1
- package/dist/chaos-manager/src/services/schemas/TypesGetProbeResponse.d.ts +5 -1
- package/dist/chaos-manager/src/services/schemas/TypesProbeRequest.d.ts +5 -1
- package/dist/chaos-manager/src/services/schemas/V1ApmProbeInputs.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/V1SplunkEnterpriseInputs.d.ts +23 -0
- package/dist/chaos-manager/src/services/schemas/V1SplunkEnterpriseInputs.js +1 -0
- package/package.json +1 -1
- package/dist/chaos-manager/src/services/schemas/ChaosComponentActionData.d.ts +0 -4
- package/dist/chaos-manager/src/services/schemas/ChaosComponentChaosComponentExecutionNode.d.ts +0 -26
- package/dist/chaos-manager/src/services/schemas/ChaosComponentChaosComponentType.d.ts +0 -1
- package/dist/chaos-manager/src/services/schemas/ChaosComponentChaosData.d.ts +0 -8
- package/dist/chaos-manager/src/services/schemas/ChaosComponentCommandProbe.d.ts +0 -3
- package/dist/chaos-manager/src/services/schemas/ChaosComponentFaultData.d.ts +0 -8
- package/dist/chaos-manager/src/services/schemas/ChaosComponentHelperPodDetails.d.ts +0 -4
- package/dist/chaos-manager/src/services/schemas/ChaosComponentInfraType.d.ts +0 -1
- package/dist/chaos-manager/src/services/schemas/ChaosComponentProbeData.d.ts +0 -8
- package/dist/chaos-manager/src/services/schemas/ChaosComponentProbeIterations.d.ts +0 -11
- package/dist/chaos-manager/src/services/schemas/ChaosComponentPromProbe.d.ts +0 -3
- package/dist/chaos-manager/src/services/schemas/ChaosComponentType.d.ts +0 -1
- package/dist/chaos-manager/src/services/schemas/TemplateVariableCategory.d.ts +0 -1
- package/dist/chaos-manager/src/services/schemas/TemplateVariableType.d.ts +0 -1
- /package/dist/chaos-manager/src/services/schemas/{ChaosComponentActionData.js → ChaoscomponentActionData.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ChaosComponentChaosComponentExecutionNode.js → ChaoscomponentChaosComponentExecutionNode.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ChaosComponentChaosComponentType.js → ChaoscomponentChaosComponentType.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ChaosComponentChaosData.js → ChaoscomponentChaosData.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ChaosComponentCommandProbe.js → ChaoscomponentCommandProbe.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ChaosComponentErrorData.js → ChaoscomponentErrorData.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ChaosComponentFaultData.js → ChaoscomponentFaultData.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ChaosComponentHelperPodDetails.js → ChaoscomponentHelperPodDetails.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ChaosComponentHttpProbe.js → ChaoscomponentHttpProbe.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ChaosComponentInfraType.js → ChaoscomponentInfraType.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ChaosComponentProbeData.js → ChaoscomponentProbeData.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ChaosComponentProbeIterations.js → ChaoscomponentProbeIterations.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ChaosComponentPromProbe.js → ChaoscomponentPromProbe.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ChaosComponentStatus.js → ChaoscomponentStatus.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ChaosComponentType.js → ChaoscomponentType.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ChaosexperimenttemplateVariable.js → ChaosexperimenttemplateInputs.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TemplateRunTimeVariables.js → ProbeSplunkEnterpriseProbeInputs.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TemplateVariableCategory.js → TemplateInputCategory.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TemplateVariableType.js → TemplateInputType.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { GithubComHarnessHceSaasGraphqlServerApiEmpty } from '../schemas/GithubComHarnessHceSaasGraphqlServerApiEmpty';
|
|
3
3
|
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
-
import type {
|
|
4
|
+
import type { ChaoscomponentChaosComponentExecutionNode } from '../schemas/ChaoscomponentChaosComponentExecutionNode';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface CreateChaosComponentMutationPathParams {
|
|
7
7
|
identity: string;
|
|
@@ -13,7 +13,7 @@ export interface CreateChaosComponentMutationQueryParams {
|
|
|
13
13
|
organizationIdentifier?: string;
|
|
14
14
|
projectIdentifier?: string;
|
|
15
15
|
}
|
|
16
|
-
export type CreateChaosComponentRequestBody =
|
|
16
|
+
export type CreateChaosComponentRequestBody = ChaoscomponentChaosComponentExecutionNode[];
|
|
17
17
|
export type CreateChaosComponentOkResponse = GithubComHarnessHceSaasGraphqlServerApiEmpty;
|
|
18
18
|
export type CreateChaosComponentErrorResponse = ApiRestError;
|
|
19
19
|
export interface CreateChaosComponentProps extends CreateChaosComponentMutationPathParams, Omit<FetcherOptions<CreateChaosComponentMutationQueryParams, CreateChaosComponentRequestBody>, 'url'> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import type {
|
|
2
|
+
import type { TemplateRunTimeInputs } from '../schemas/TemplateRunTimeInputs';
|
|
3
3
|
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface GetChaosV2ExperimentVariablesQueryPathParams {
|
|
@@ -11,7 +11,7 @@ export interface GetChaosV2ExperimentVariablesQueryQueryParams {
|
|
|
11
11
|
projectIdentifier: string;
|
|
12
12
|
isIdentity: boolean;
|
|
13
13
|
}
|
|
14
|
-
export type GetChaosV2ExperimentVariablesOkResponse =
|
|
14
|
+
export type GetChaosV2ExperimentVariablesOkResponse = TemplateRunTimeInputs;
|
|
15
15
|
export type GetChaosV2ExperimentVariablesErrorResponse = ApiRestError;
|
|
16
16
|
export interface GetChaosV2ExperimentVariablesProps extends GetChaosV2ExperimentVariablesQueryPathParams, Omit<FetcherOptions<GetChaosV2ExperimentVariablesQueryQueryParams, unknown>, 'url'> {
|
|
17
17
|
queryParams: GetChaosV2ExperimentVariablesQueryQueryParams;
|
|
@@ -23,6 +23,6 @@ export interface GetExperimentOrTemplateVariableResponseContainer {
|
|
|
23
23
|
}
|
|
24
24
|
export declare function getExperimentOrTemplateVariable(props: GetExperimentOrTemplateVariableProps): Promise<GetExperimentOrTemplateVariableResponseContainer>;
|
|
25
25
|
/**
|
|
26
|
-
* gets experiment or template
|
|
26
|
+
* gets experiment or template inputs
|
|
27
27
|
*/
|
|
28
28
|
export declare function useGetExperimentOrTemplateVariableQuery(props: GetExperimentOrTemplateVariableProps, options?: Omit<UseQueryOptions<GetExperimentOrTemplateVariableResponseContainer, GetExperimentOrTemplateVariableErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetExperimentOrTemplateVariableResponseContainer, ApiRestError>;
|
|
@@ -7,7 +7,7 @@ export function getExperimentOrTemplateVariable(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/v3/integrations/get-experiment-or-template-variable`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* gets experiment or template
|
|
10
|
+
* gets experiment or template inputs
|
|
11
11
|
*/
|
|
12
12
|
export function useGetExperimentOrTemplateVariableQuery(props, options) {
|
|
13
13
|
return useQuery(['getExperimentOrTemplateVariable', props.queryParams], ({ signal }) => getExperimentOrTemplateVariable(Object.assign(Object.assign({}, props), { signal })), options);
|
|
@@ -26,6 +26,6 @@ export interface GetExperimentTemplateVariablesResponseContainer {
|
|
|
26
26
|
}
|
|
27
27
|
export declare function getExperimentTemplateVariables(props: GetExperimentTemplateVariablesProps): Promise<GetExperimentTemplateVariablesResponseContainer>;
|
|
28
28
|
/**
|
|
29
|
-
* Get the list of
|
|
29
|
+
* Get the list of inputs in an experiment template based on revision
|
|
30
30
|
*/
|
|
31
31
|
export declare function useGetExperimentTemplateVariablesQuery(props: GetExperimentTemplateVariablesProps, options?: Omit<UseQueryOptions<GetExperimentTemplateVariablesResponseContainer, GetExperimentTemplateVariablesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetExperimentTemplateVariablesResponseContainer, ApiRestError>;
|
|
@@ -7,7 +7,7 @@ export function getExperimentTemplateVariables(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/rest/experimenttemplates/${props.identity}/variables`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Get the list of
|
|
10
|
+
* Get the list of inputs in an experiment template based on revision
|
|
11
11
|
*/
|
|
12
12
|
export function useGetExperimentTemplateVariablesQuery(props, options) {
|
|
13
13
|
return useQuery(['getExperimentTemplateVariables', props.identity, props.queryParams], ({ signal }) => getExperimentTemplateVariables(Object.assign(Object.assign({}, props), { signal })), options);
|
|
@@ -26,6 +26,6 @@ export interface GetExperimentTemplateYamlResponseContainer {
|
|
|
26
26
|
}
|
|
27
27
|
export declare function getExperimentTemplateYaml(props: GetExperimentTemplateYamlProps): Promise<GetExperimentTemplateYamlResponseContainer>;
|
|
28
28
|
/**
|
|
29
|
-
* Get
|
|
29
|
+
* Get experiment template yaml based on revision
|
|
30
30
|
*/
|
|
31
31
|
export declare function useGetExperimentTemplateYamlQuery(props: GetExperimentTemplateYamlProps, options?: Omit<UseQueryOptions<GetExperimentTemplateYamlResponseContainer, GetExperimentTemplateYamlErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetExperimentTemplateYamlResponseContainer, ApiRestError>;
|
|
@@ -7,7 +7,7 @@ export function getExperimentTemplateYaml(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/rest/experimenttemplates/${props.identity}/yaml`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Get
|
|
10
|
+
* Get experiment template yaml based on revision
|
|
11
11
|
*/
|
|
12
12
|
export function useGetExperimentTemplateYamlQuery(props, options) {
|
|
13
13
|
return useQuery(['getExperimentTemplateYaml', props.identity, props.queryParams], ({ signal }) => getExperimentTemplateYaml(Object.assign(Object.assign({}, props), { signal })), options);
|
|
@@ -24,6 +24,6 @@ export interface GetFaultTemplateVariablesResponseContainer {
|
|
|
24
24
|
}
|
|
25
25
|
export declare function getFaultTemplateVariables(props: GetFaultTemplateVariablesProps): Promise<GetFaultTemplateVariablesResponseContainer>;
|
|
26
26
|
/**
|
|
27
|
-
* Get the list of
|
|
27
|
+
* Get the list of inputs in a fault template based on revision
|
|
28
28
|
*/
|
|
29
29
|
export declare function useGetFaultTemplateVariablesQuery(props: GetFaultTemplateVariablesProps, options?: Omit<UseQueryOptions<GetFaultTemplateVariablesResponseContainer, GetFaultTemplateVariablesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetFaultTemplateVariablesResponseContainer, ApiRestError>;
|
|
@@ -7,7 +7,7 @@ export function getFaultTemplateVariables(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/rest/faulttemplates/${props.identity}/variables`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Get the list of
|
|
10
|
+
* Get the list of inputs in a fault template based on revision
|
|
11
11
|
*/
|
|
12
12
|
export function useGetFaultTemplateVariablesQuery(props, options) {
|
|
13
13
|
return useQuery(['getFaultTemplateVariables', props.identity, props.queryParams], ({ signal }) => getFaultTemplateVariables(Object.assign(Object.assign({}, props), { signal })), options);
|
|
@@ -24,6 +24,6 @@ export interface GetFaultTemplateYamlResponseContainer {
|
|
|
24
24
|
}
|
|
25
25
|
export declare function getFaultTemplateYaml(props: GetFaultTemplateYamlProps): Promise<GetFaultTemplateYamlResponseContainer>;
|
|
26
26
|
/**
|
|
27
|
-
* Get
|
|
27
|
+
* Get a fault template yaml based on revision
|
|
28
28
|
*/
|
|
29
29
|
export declare function useGetFaultTemplateYamlQuery(props: GetFaultTemplateYamlProps, options?: Omit<UseQueryOptions<GetFaultTemplateYamlResponseContainer, GetFaultTemplateYamlErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetFaultTemplateYamlResponseContainer, ApiRestError>;
|
|
@@ -7,7 +7,7 @@ export function getFaultTemplateYaml(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/rest/faulttemplates/${props.identity}/yaml`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Get
|
|
10
|
+
* Get a fault template yaml based on revision
|
|
11
11
|
*/
|
|
12
12
|
export function useGetFaultTemplateYamlQuery(props, options) {
|
|
13
13
|
return useQuery(['getFaultTemplateYaml', props.identity, props.queryParams], ({ signal }) => getFaultTemplateYaml(Object.assign(Object.assign({}, props), { signal })), options);
|
|
@@ -23,6 +23,6 @@ export interface GetFaultVariablesResponseContainer {
|
|
|
23
23
|
}
|
|
24
24
|
export declare function getFaultVariables(props: GetFaultVariablesProps): Promise<GetFaultVariablesResponseContainer>;
|
|
25
25
|
/**
|
|
26
|
-
* Get the list of
|
|
26
|
+
* Get the list of inputs in a fault
|
|
27
27
|
*/
|
|
28
28
|
export declare function useGetFaultVariablesQuery(props: GetFaultVariablesProps, options?: Omit<UseQueryOptions<GetFaultVariablesResponseContainer, GetFaultVariablesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetFaultVariablesResponseContainer, ApiRestError>;
|
|
@@ -7,7 +7,7 @@ export function getFaultVariables(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/rest/faults/${props.identity}/variables`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Get the list of
|
|
10
|
+
* Get the list of inputs in a fault
|
|
11
11
|
*/
|
|
12
12
|
export function useGetFaultVariablesQuery(props, options) {
|
|
13
13
|
return useQuery(['getFaultVariables', props.identity, props.queryParams], ({ signal }) => getFaultVariables(Object.assign(Object.assign({}, props), { signal })), options);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ChaoscomponentChaosComponentExecutionNode } from '../schemas/ChaoscomponentChaosComponentExecutionNode';
|
|
3
3
|
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface ListChaosComponentQueryPathParams {
|
|
@@ -13,7 +13,7 @@ export interface ListChaosComponentQueryQueryParams {
|
|
|
13
13
|
organizationIdentifier?: string;
|
|
14
14
|
projectIdentifier?: string;
|
|
15
15
|
}
|
|
16
|
-
export type ListChaosComponentOkResponse =
|
|
16
|
+
export type ListChaosComponentOkResponse = ChaoscomponentChaosComponentExecutionNode[];
|
|
17
17
|
export type ListChaosComponentErrorResponse = ApiRestError;
|
|
18
18
|
export interface ListChaosComponentProps extends ListChaosComponentQueryPathParams, Omit<FetcherOptions<ListChaosComponentQueryQueryParams, unknown>, 'url'> {
|
|
19
19
|
queryParams: ListChaosComponentQueryQueryParams;
|
|
@@ -23,6 +23,6 @@ export interface ListVariablesInActionTemplateResponseContainer {
|
|
|
23
23
|
}
|
|
24
24
|
export declare function listVariablesInActionTemplate(props: ListVariablesInActionTemplateProps): Promise<ListVariablesInActionTemplateResponseContainer>;
|
|
25
25
|
/**
|
|
26
|
-
* Get the list of
|
|
26
|
+
* Get the list of inputs in a fault template based on revision
|
|
27
27
|
*/
|
|
28
28
|
export declare function useListVariablesInActionTemplateQuery(props: ListVariablesInActionTemplateProps, options?: Omit<UseQueryOptions<ListVariablesInActionTemplateResponseContainer, ListVariablesInActionTemplateErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListVariablesInActionTemplateResponseContainer, ApiRestError>;
|
|
@@ -7,7 +7,7 @@ export function listVariablesInActionTemplate(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/rest/templates/actions/${props.identity}/variables`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Get the list of
|
|
10
|
+
* Get the list of inputs in a fault template based on revision
|
|
11
11
|
*/
|
|
12
12
|
export function useListVariablesInActionTemplateQuery(props, options) {
|
|
13
13
|
return useQuery(['listVariablesInActionTemplate', props.identity, props.queryParams], ({ signal }) => listVariablesInActionTemplate(Object.assign(Object.assign({}, props), { signal })), options);
|
|
@@ -23,6 +23,6 @@ export interface ListVariablesInProbeTemplateResponseContainer {
|
|
|
23
23
|
}
|
|
24
24
|
export declare function listVariablesInProbeTemplate(props: ListVariablesInProbeTemplateProps): Promise<ListVariablesInProbeTemplateResponseContainer>;
|
|
25
25
|
/**
|
|
26
|
-
* Get the list of
|
|
26
|
+
* Get the list of inputs in a fault template based on revision
|
|
27
27
|
*/
|
|
28
28
|
export declare function useListVariablesInProbeTemplateQuery(props: ListVariablesInProbeTemplateProps, options?: Omit<UseQueryOptions<ListVariablesInProbeTemplateResponseContainer, ListVariablesInProbeTemplateErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListVariablesInProbeTemplateResponseContainer, ApiRestError>;
|
|
@@ -7,7 +7,7 @@ export function listVariablesInProbeTemplate(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/rest/templates/probes/${props.identity}/variables`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Get the list of
|
|
10
|
+
* Get the list of inputs in a fault template based on revision
|
|
11
11
|
*/
|
|
12
12
|
export function useListVariablesInProbeTemplateQuery(props, options) {
|
|
13
13
|
return useQuery(['listVariablesInProbeTemplate', props.identity, props.queryParams], ({ signal }) => listVariablesInProbeTemplate(Object.assign(Object.assign({}, props), { signal })), options);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { GithubComHarnessHceSaasGraphqlServerApiEmpty } from '../schemas/GithubComHarnessHceSaasGraphqlServerApiEmpty';
|
|
3
3
|
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
-
import type {
|
|
4
|
+
import type { ChaoscomponentChaosComponentExecutionNode } from '../schemas/ChaoscomponentChaosComponentExecutionNode';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface UpdateChaosComponentMutationPathParams {
|
|
7
7
|
identity: string;
|
|
@@ -15,7 +15,7 @@ export interface UpdateChaosComponentMutationQueryParams {
|
|
|
15
15
|
organizationIdentifier?: string;
|
|
16
16
|
projectIdentifier?: string;
|
|
17
17
|
}
|
|
18
|
-
export type UpdateChaosComponentRequestBody =
|
|
18
|
+
export type UpdateChaosComponentRequestBody = ChaoscomponentChaosComponentExecutionNode;
|
|
19
19
|
export type UpdateChaosComponentOkResponse = GithubComHarnessHceSaasGraphqlServerApiEmpty;
|
|
20
20
|
export type UpdateChaosComponentErrorResponse = ApiRestError;
|
|
21
21
|
export interface UpdateChaosComponentProps extends UpdateChaosComponentMutationPathParams, Omit<FetcherOptions<UpdateChaosComponentMutationQueryParams, UpdateChaosComponentRequestBody>, 'url'> {
|
|
@@ -458,21 +458,6 @@ export type { BulkactionBulkAddTagsInExperimetsInput } from './schemas/Bulkactio
|
|
|
458
458
|
export type { BulkactionBulkAddTagsInExperimetsResponse } from './schemas/BulkactionBulkAddTagsInExperimetsResponse';
|
|
459
459
|
export type { BulkactionBulkDeleteExperimetsInput } from './schemas/BulkactionBulkDeleteExperimetsInput';
|
|
460
460
|
export type { BulkactionBulkDeleteExperimetsResponse } from './schemas/BulkactionBulkDeleteExperimetsResponse';
|
|
461
|
-
export type { ChaosComponentActionData } from './schemas/ChaosComponentActionData';
|
|
462
|
-
export type { ChaosComponentChaosComponentExecutionNode } from './schemas/ChaosComponentChaosComponentExecutionNode';
|
|
463
|
-
export type { ChaosComponentChaosComponentType } from './schemas/ChaosComponentChaosComponentType';
|
|
464
|
-
export type { ChaosComponentChaosData } from './schemas/ChaosComponentChaosData';
|
|
465
|
-
export type { ChaosComponentCommandProbe } from './schemas/ChaosComponentCommandProbe';
|
|
466
|
-
export type { ChaosComponentErrorData } from './schemas/ChaosComponentErrorData';
|
|
467
|
-
export type { ChaosComponentFaultData } from './schemas/ChaosComponentFaultData';
|
|
468
|
-
export type { ChaosComponentHelperPodDetails } from './schemas/ChaosComponentHelperPodDetails';
|
|
469
|
-
export type { ChaosComponentHttpProbe } from './schemas/ChaosComponentHttpProbe';
|
|
470
|
-
export type { ChaosComponentInfraType } from './schemas/ChaosComponentInfraType';
|
|
471
|
-
export type { ChaosComponentProbeData } from './schemas/ChaosComponentProbeData';
|
|
472
|
-
export type { ChaosComponentProbeIterations } from './schemas/ChaosComponentProbeIterations';
|
|
473
|
-
export type { ChaosComponentPromProbe } from './schemas/ChaosComponentPromProbe';
|
|
474
|
-
export type { ChaosComponentStatus } from './schemas/ChaosComponentStatus';
|
|
475
|
-
export type { ChaosComponentType } from './schemas/ChaosComponentType';
|
|
476
461
|
export type { ChaosExecutionNodesActionData } from './schemas/ChaosExecutionNodesActionData';
|
|
477
462
|
export type { ChaosExecutionNodesChaosData } from './schemas/ChaosExecutionNodesChaosData';
|
|
478
463
|
export type { ChaosExecutionNodesChaosExecutionNode } from './schemas/ChaosExecutionNodesChaosExecutionNode';
|
|
@@ -514,6 +499,21 @@ export type { ChaosInfrastructureV2InfraType } from './schemas/ChaosInfrastructu
|
|
|
514
499
|
export type { ChaosInfrastructureV2K8sInfraV2SpecIdentifiers } from './schemas/ChaosInfrastructureV2K8sInfraV2SpecIdentifiers';
|
|
515
500
|
export type { ChaosactiontemplateActionsTemplateCount } from './schemas/ChaosactiontemplateActionsTemplateCount';
|
|
516
501
|
export type { ChaosactiontemplateChaosActionTemplate } from './schemas/ChaosactiontemplateChaosActionTemplate';
|
|
502
|
+
export type { ChaoscomponentActionData } from './schemas/ChaoscomponentActionData';
|
|
503
|
+
export type { ChaoscomponentChaosComponentExecutionNode } from './schemas/ChaoscomponentChaosComponentExecutionNode';
|
|
504
|
+
export type { ChaoscomponentChaosComponentType } from './schemas/ChaoscomponentChaosComponentType';
|
|
505
|
+
export type { ChaoscomponentChaosData } from './schemas/ChaoscomponentChaosData';
|
|
506
|
+
export type { ChaoscomponentCommandProbe } from './schemas/ChaoscomponentCommandProbe';
|
|
507
|
+
export type { ChaoscomponentErrorData } from './schemas/ChaoscomponentErrorData';
|
|
508
|
+
export type { ChaoscomponentFaultData } from './schemas/ChaoscomponentFaultData';
|
|
509
|
+
export type { ChaoscomponentHelperPodDetails } from './schemas/ChaoscomponentHelperPodDetails';
|
|
510
|
+
export type { ChaoscomponentHttpProbe } from './schemas/ChaoscomponentHttpProbe';
|
|
511
|
+
export type { ChaoscomponentInfraType } from './schemas/ChaoscomponentInfraType';
|
|
512
|
+
export type { ChaoscomponentProbeData } from './schemas/ChaoscomponentProbeData';
|
|
513
|
+
export type { ChaoscomponentProbeIterations } from './schemas/ChaoscomponentProbeIterations';
|
|
514
|
+
export type { ChaoscomponentPromProbe } from './schemas/ChaoscomponentPromProbe';
|
|
515
|
+
export type { ChaoscomponentStatus } from './schemas/ChaoscomponentStatus';
|
|
516
|
+
export type { ChaoscomponentType } from './schemas/ChaoscomponentType';
|
|
517
517
|
export type { ChaoscomponentsAbortChaosComponentRequest } from './schemas/ChaoscomponentsAbortChaosComponentRequest';
|
|
518
518
|
export type { ChaoscomponentsAbortChaosComponentResponse } from './schemas/ChaoscomponentsAbortChaosComponentResponse';
|
|
519
519
|
export type { ChaoscomponentsAbortChaosComponentResponseData } from './schemas/ChaoscomponentsAbortChaosComponentResponseData';
|
|
@@ -541,10 +541,10 @@ export type { ChaosexperimenttemplateCreateExperimentTemplateResponse } from './
|
|
|
541
541
|
export type { ChaosexperimenttemplateExperimentTemplateVariables } from './schemas/ChaosexperimenttemplateExperimentTemplateVariables';
|
|
542
542
|
export type { ChaosexperimenttemplateExperimentTemplateYaml } from './schemas/ChaosexperimenttemplateExperimentTemplateYaml';
|
|
543
543
|
export type { ChaosexperimenttemplateGetExperimentTemplateResponse } from './schemas/ChaosexperimenttemplateGetExperimentTemplateResponse';
|
|
544
|
+
export type { ChaosexperimenttemplateInputs } from './schemas/ChaosexperimenttemplateInputs';
|
|
544
545
|
export type { ChaosexperimenttemplateListExperimentTemplateResponse } from './schemas/ChaosexperimenttemplateListExperimentTemplateResponse';
|
|
545
546
|
export type { ChaosexperimenttemplateUpdateExperimentTemplateRequest } from './schemas/ChaosexperimenttemplateUpdateExperimentTemplateRequest';
|
|
546
547
|
export type { ChaosexperimenttemplateUpdateExperimentTemplateResponse } from './schemas/ChaosexperimenttemplateUpdateExperimentTemplateResponse';
|
|
547
|
-
export type { ChaosexperimenttemplateVariable } from './schemas/ChaosexperimenttemplateVariable';
|
|
548
548
|
export type { ChaosfaultChaosFault } from './schemas/ChaosfaultChaosFault';
|
|
549
549
|
export type { ChaosfaultCreateFaultRequest } from './schemas/ChaosfaultCreateFaultRequest';
|
|
550
550
|
export type { ChaosfaultCreateFaultResponse } from './schemas/ChaosfaultCreateFaultResponse';
|
|
@@ -987,6 +987,7 @@ export type { ProbeSloProbe } from './schemas/ProbeSloProbe';
|
|
|
987
987
|
export type { ProbeSloProbeTemplate } from './schemas/ProbeSloProbeTemplate';
|
|
988
988
|
export type { ProbeSloSourceMetadata } from './schemas/ProbeSloSourceMetadata';
|
|
989
989
|
export type { ProbeSloSourceMetadataTemplate } from './schemas/ProbeSloSourceMetadataTemplate';
|
|
990
|
+
export type { ProbeSplunkEnterpriseProbeInputs } from './schemas/ProbeSplunkEnterpriseProbeInputs';
|
|
990
991
|
export type { ProbeSyntheticsTest } from './schemas/ProbeSyntheticsTest';
|
|
991
992
|
export type { ProbeSyntheticsTestTemplate } from './schemas/ProbeSyntheticsTestTemplate';
|
|
992
993
|
export type { ProbeTlsConfig } from './schemas/ProbeTlsConfig';
|
|
@@ -1057,11 +1058,11 @@ export type { TargetserviceServiceType } from './schemas/TargetserviceServiceTyp
|
|
|
1057
1058
|
export type { TargetserviceTargetService } from './schemas/TargetserviceTargetService';
|
|
1058
1059
|
export type { TemplateChaosComponentInputsetSpec } from './schemas/TemplateChaosComponentInputsetSpec';
|
|
1059
1060
|
export type { TemplateChaosExperimentInputsetSpec } from './schemas/TemplateChaosExperimentInputsetSpec';
|
|
1060
|
-
export type {
|
|
1061
|
+
export type { TemplateInputCategory } from './schemas/TemplateInputCategory';
|
|
1062
|
+
export type { TemplateInputType } from './schemas/TemplateInputType';
|
|
1063
|
+
export type { TemplateRunTimeInputs } from './schemas/TemplateRunTimeInputs';
|
|
1061
1064
|
export type { TemplateVariable } from './schemas/TemplateVariable';
|
|
1062
|
-
export type { TemplateVariableCategory } from './schemas/TemplateVariableCategory';
|
|
1063
1065
|
export type { TemplateVariableMinimum } from './schemas/TemplateVariableMinimum';
|
|
1064
|
-
export type { TemplateVariableType } from './schemas/TemplateVariableType';
|
|
1065
1066
|
export type { TypesActionItem } from './schemas/TypesActionItem';
|
|
1066
1067
|
export type { TypesCreateExperimentFromTemplateRequest } from './schemas/TypesCreateExperimentFromTemplateRequest';
|
|
1067
1068
|
export type { TypesCreateGamedayRequest } from './schemas/TypesCreateGamedayRequest';
|
|
@@ -1241,6 +1242,7 @@ export type { V1SessionAffinityConfig } from './schemas/V1SessionAffinityConfig'
|
|
|
1241
1242
|
export type { V1SloProbeInputs } from './schemas/V1SloProbeInputs';
|
|
1242
1243
|
export type { V1SloSourceMetadata } from './schemas/V1SloSourceMetadata';
|
|
1243
1244
|
export type { V1SourceDetails } from './schemas/V1SourceDetails';
|
|
1245
|
+
export type { V1SplunkEnterpriseInputs } from './schemas/V1SplunkEnterpriseInputs';
|
|
1244
1246
|
export type { V1SplunkObservabilityInputs } from './schemas/V1SplunkObservabilityInputs';
|
|
1245
1247
|
export type { V1SplunkObservabilityMetrics } from './schemas/V1SplunkObservabilityMetrics';
|
|
1246
1248
|
export type { V1StorageMedium } from './schemas/V1StorageMedium';
|
|
@@ -2,11 +2,11 @@ import type { ActionActionTemplateProperties } from '../schemas/ActionActionTemp
|
|
|
2
2
|
import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
|
|
3
3
|
import type { MongodbImportType } from '../schemas/MongodbImportType';
|
|
4
4
|
import type { ActionsInfrastructureType } from '../schemas/ActionsInfrastructureType';
|
|
5
|
+
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
5
6
|
import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
|
|
6
7
|
import type { ActionsRecentExecutions } from '../schemas/ActionsRecentExecutions';
|
|
7
8
|
import type { ActionActionTemplateRunProperties } from '../schemas/ActionActionTemplateRunProperties';
|
|
8
9
|
import type { ActionsActionType } from '../schemas/ActionsActionType';
|
|
9
|
-
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
10
10
|
export interface ActionsActionResponse {
|
|
11
11
|
accountID: string;
|
|
12
12
|
actionProperties?: ActionActionTemplateProperties;
|
|
@@ -21,6 +21,7 @@ export interface ActionsActionResponse {
|
|
|
21
21
|
identity?: string;
|
|
22
22
|
importType?: MongodbImportType;
|
|
23
23
|
infrastructureType?: ActionsInfrastructureType;
|
|
24
|
+
inputs?: TemplateVariable[];
|
|
24
25
|
isImported?: boolean;
|
|
25
26
|
isRemoved?: boolean;
|
|
26
27
|
managedBy?: MongodbManagedBy;
|
|
@@ -33,5 +34,8 @@ export interface ActionsActionResponse {
|
|
|
33
34
|
type?: ActionsActionType;
|
|
34
35
|
updatedAt?: number;
|
|
35
36
|
updatedBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
37
|
+
/**
|
|
38
|
+
* CHAOS-11100
|
|
39
|
+
*/
|
|
36
40
|
variables?: TemplateVariable[];
|
|
37
41
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { ActionActionTemplateProperties } from '../schemas/ActionActionTemplateProperties';
|
|
2
2
|
import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
|
|
3
3
|
import type { ActionsInfrastructureType } from '../schemas/ActionsInfrastructureType';
|
|
4
|
+
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
4
5
|
import type { ActionActionTemplateRunProperties } from '../schemas/ActionActionTemplateRunProperties';
|
|
5
6
|
import type { ActionsActionType } from '../schemas/ActionsActionType';
|
|
6
|
-
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
7
7
|
export interface ChaosactiontemplateChaosActionTemplate {
|
|
8
8
|
accountID: string;
|
|
9
9
|
/**
|
|
@@ -22,6 +22,7 @@ export interface ChaosactiontemplateChaosActionTemplate {
|
|
|
22
22
|
*/
|
|
23
23
|
identity?: string;
|
|
24
24
|
infrastructureType?: ActionsInfrastructureType;
|
|
25
|
+
inputs?: TemplateVariable[];
|
|
25
26
|
/**
|
|
26
27
|
* isDefault indicates if it is the default version
|
|
27
28
|
* for predefined faults, latest should be set as default
|
|
@@ -47,5 +48,8 @@ export interface ChaosactiontemplateChaosActionTemplate {
|
|
|
47
48
|
updatedAt?: number;
|
|
48
49
|
updatedBy?: string;
|
|
49
50
|
updatedByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
51
|
+
/**
|
|
52
|
+
* CHAOS-11100
|
|
53
|
+
*/
|
|
50
54
|
variables?: TemplateVariable[];
|
|
51
55
|
}
|
package/dist/chaos-manager/src/services/schemas/ChaoscomponentChaosComponentExecutionNode.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ChaoscomponentChaosData } from '../schemas/ChaoscomponentChaosData';
|
|
2
|
+
import type { ChaoscomponentErrorData } from '../schemas/ChaoscomponentErrorData';
|
|
3
|
+
import type { ChaoscomponentInfraType } from '../schemas/ChaoscomponentInfraType';
|
|
4
|
+
import type { ChaoscomponentStatus } from '../schemas/ChaoscomponentStatus';
|
|
5
|
+
import type { ChaoscomponentType } from '../schemas/ChaoscomponentType';
|
|
6
|
+
export interface ChaoscomponentChaosComponentExecutionNode {
|
|
7
|
+
accountID?: string;
|
|
8
|
+
chaosData?: ChaoscomponentChaosData;
|
|
9
|
+
errorData?: ChaoscomponentErrorData;
|
|
10
|
+
finishedAt?: number;
|
|
11
|
+
identity?: string;
|
|
12
|
+
infraID?: string;
|
|
13
|
+
infraType?: ChaoscomponentInfraType;
|
|
14
|
+
isRemoved?: boolean;
|
|
15
|
+
lastUpdatedAt?: number;
|
|
16
|
+
name?: string;
|
|
17
|
+
notifyID?: string;
|
|
18
|
+
orgID?: string;
|
|
19
|
+
projectID?: string;
|
|
20
|
+
runID?: string;
|
|
21
|
+
spec?: string;
|
|
22
|
+
startedAt?: number;
|
|
23
|
+
status?: ChaoscomponentStatus;
|
|
24
|
+
streamID?: string;
|
|
25
|
+
type?: ChaoscomponentType;
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ChaoscomponentChaosComponentType = 'Action' | 'Fault' | 'Probe';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ChaoscomponentActionData } from '../schemas/ChaoscomponentActionData';
|
|
2
|
+
import type { ChaoscomponentFaultData } from '../schemas/ChaoscomponentFaultData';
|
|
3
|
+
import type { ChaoscomponentProbeData } from '../schemas/ChaoscomponentProbeData';
|
|
4
|
+
export interface ChaoscomponentChaosData {
|
|
5
|
+
actionData?: ChaoscomponentActionData;
|
|
6
|
+
faultData?: ChaoscomponentFaultData;
|
|
7
|
+
probeData?: ChaoscomponentProbeData;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ChaoscomponentHelperPodDetails } from '../schemas/ChaoscomponentHelperPodDetails';
|
|
2
|
+
import type { V1alpha1Targets } from '../schemas/V1alpha1Targets';
|
|
3
|
+
export interface ChaoscomponentFaultData {
|
|
4
|
+
helperPodDetails?: ChaoscomponentHelperPodDetails[];
|
|
5
|
+
name?: string;
|
|
6
|
+
namespace?: string;
|
|
7
|
+
targets?: V1alpha1Targets[];
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ChaoscomponentInfraType = 'Kubernetes';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ChaoscomponentProbeIterations } from '../schemas/ChaoscomponentProbeIterations';
|
|
2
|
+
export interface ChaoscomponentProbeData {
|
|
3
|
+
description?: string;
|
|
4
|
+
iterations?: ChaoscomponentProbeIterations[];
|
|
5
|
+
name?: string;
|
|
6
|
+
probeType?: string;
|
|
7
|
+
risks?: string[];
|
|
8
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ChaoscomponentCommandProbe } from '../schemas/ChaoscomponentCommandProbe';
|
|
2
|
+
import type { ChaoscomponentHttpProbe } from '../schemas/ChaoscomponentHttpProbe';
|
|
3
|
+
import type { ChaoscomponentPromProbe } from '../schemas/ChaoscomponentPromProbe';
|
|
4
|
+
export interface ChaoscomponentProbeIterations {
|
|
5
|
+
commandProbe?: ChaoscomponentCommandProbe;
|
|
6
|
+
duration?: number;
|
|
7
|
+
httpProbe?: ChaoscomponentHttpProbe;
|
|
8
|
+
phase?: string;
|
|
9
|
+
promProbe?: ChaoscomponentPromProbe;
|
|
10
|
+
timestamp?: number;
|
|
11
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type ChaoscomponentStatus = 'Completed' | 'Error' | 'Failed' | 'Interrupted' | 'Passed' | 'Pending' | 'Running' | 'Skipped' | 'Stopped';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ChaoscomponentType = 'ACTION' | 'FAULT' | 'PROBE';
|
package/dist/chaos-manager/src/services/schemas/ChaoscomponentsRunChaosComponentRequest.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { TemplateChaosComponentInputsetSpec } from '../schemas/TemplateChaosComponentInputsetSpec';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ChaoscomponentChaosComponentType } from '../schemas/ChaoscomponentChaosComponentType';
|
|
3
3
|
import type { ChaoscomponentsUserMetaData } from '../schemas/ChaoscomponentsUserMetaData';
|
|
4
4
|
export interface ChaoscomponentsRunChaosComponentRequest {
|
|
5
5
|
duration?: string;
|
|
6
6
|
identity?: string;
|
|
7
7
|
infraReference?: string;
|
|
8
8
|
runtimeInputs?: TemplateChaosComponentInputsetSpec;
|
|
9
|
-
type?:
|
|
9
|
+
type?: ChaoscomponentChaosComponentType;
|
|
10
10
|
userMetaData?: ChaoscomponentsUserMetaData;
|
|
11
11
|
}
|
package/dist/chaos-manager/src/services/schemas/ChaosexperimentpipelineReferenceEntities.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import type { ExperimentActionRef } from '../schemas/ExperimentActionRef';
|
|
2
2
|
import type { ExperimentFaultRef } from '../schemas/ExperimentFaultRef';
|
|
3
3
|
import type { ExperimentProbeRef } from '../schemas/ExperimentProbeRef';
|
|
4
|
-
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
5
4
|
export interface ChaosexperimentpipelineReferenceEntities {
|
|
6
5
|
actionRef?: ExperimentActionRef;
|
|
7
6
|
faultRef?: ExperimentFaultRef;
|
|
8
7
|
probeRef?: ExperimentProbeRef;
|
|
9
|
-
variables?: TemplateVariable[];
|
|
10
8
|
}
|
package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateChaosExperimentTemplate.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export interface ChaosexperimenttemplateChaosExperimentTemplate {
|
|
|
16
16
|
identity?: string;
|
|
17
17
|
infraType?: ExperimentInfraType;
|
|
18
18
|
infras?: string[];
|
|
19
|
+
inputs?: TemplateVariable[];
|
|
19
20
|
isDefault?: boolean;
|
|
20
21
|
isEnterprise?: boolean;
|
|
21
22
|
isRemoved: boolean;
|
|
@@ -28,5 +29,8 @@ export interface ChaosexperimenttemplateChaosExperimentTemplate {
|
|
|
28
29
|
updatedAt?: number;
|
|
29
30
|
updatedBy?: string;
|
|
30
31
|
updatedByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
32
|
+
/**
|
|
33
|
+
* CHAOS-11100
|
|
34
|
+
*/
|
|
31
35
|
variables?: TemplateVariable[];
|
|
32
36
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ChaosexperimenttemplateInputs } from '../schemas/ChaosexperimenttemplateInputs';
|
|
2
2
|
export interface ChaosexperimenttemplateExperimentTemplateVariables {
|
|
3
|
-
actions?:
|
|
3
|
+
actions?: ChaosexperimenttemplateInputs[];
|
|
4
4
|
correlationID?: string;
|
|
5
|
-
faults?:
|
|
6
|
-
probes?:
|
|
5
|
+
faults?: ChaosexperimenttemplateInputs[];
|
|
6
|
+
probes?: ChaosexperimenttemplateInputs[];
|
|
7
7
|
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
2
|
-
export interface
|
|
2
|
+
export interface ChaosexperimenttemplateInputs {
|
|
3
|
+
inputs?: TemplateVariable[];
|
|
3
4
|
name?: string;
|
|
5
|
+
/**
|
|
6
|
+
* CHAOS-11100
|
|
7
|
+
*/
|
|
4
8
|
variables?: TemplateVariable[];
|
|
5
9
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
|
|
2
2
|
import type { MongodbImportType } from '../schemas/MongodbImportType';
|
|
3
|
+
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
3
4
|
import type { ChaosfaultLink } from '../schemas/ChaosfaultLink';
|
|
4
5
|
import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
|
|
5
|
-
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
6
6
|
export interface ChaosfaultChaosFault {
|
|
7
7
|
accountID: string;
|
|
8
8
|
category?: string[];
|
|
@@ -22,6 +22,7 @@ export interface ChaosfaultChaosFault {
|
|
|
22
22
|
importType?: MongodbImportType;
|
|
23
23
|
infraType?: string;
|
|
24
24
|
infras?: string[];
|
|
25
|
+
inputs?: TemplateVariable[];
|
|
25
26
|
isEnterprise?: boolean;
|
|
26
27
|
isRemoved: boolean;
|
|
27
28
|
links?: ChaosfaultLink[];
|
|
@@ -39,5 +40,8 @@ export interface ChaosfaultChaosFault {
|
|
|
39
40
|
updatedAt?: number;
|
|
40
41
|
updatedBy?: string;
|
|
41
42
|
updatedByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
43
|
+
/**
|
|
44
|
+
* CHAOS-11100
|
|
45
|
+
*/
|
|
42
46
|
variables?: TemplateVariable[];
|
|
43
47
|
}
|