@harnessio/react-chaos-manager-client 1.16.0 → 1.18.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/useListExperimentRunsOfFaultQuery.d.ts +40 -0
- package/dist/chaos-manager/src/services/hooks/useListExperimentRunsOfFaultQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListFaultv2Query.d.ts +1 -1
- package/dist/chaos-manager/src/services/index.d.ts +10 -0
- package/dist/chaos-manager/src/services/index.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ActionCustomScriptActionTemplate.d.ts +2 -1
- package/dist/chaos-manager/src/services/schemas/ActionCustomScriptActionTemplate.js +0 -3
- package/dist/chaos-manager/src/services/schemas/ActionEnv.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ActionEnv.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ActionSourceActionTemplate.d.ts +2 -1
- package/dist/chaos-manager/src/services/schemas/ActionSourceActionTemplate.js +0 -3
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosExecutionNode.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExperimentChaosExperimentRequest.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExperimentRunChaosExperimentRun.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultChaosFault.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultCreateFaultRequest.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultCreateFaultResponse.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultExperimentRunOfFault.d.ts +22 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultExperimentRunOfFault.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultGetFaultResponse.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultLink.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultLink.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultListExperimentRunsInFaultResponse.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultListExperimentRunsInFaultResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultUpdateFaultRequest.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultUpdateFaultResponse.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateChaosFaultTemplate.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateRequest.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateResponse.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateLink.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateLink.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateUpdateFaultTemplateResponse.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/ExecutionChaosExecutionNode.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/FaultLink.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/FaultLink.js +4 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateChaosKubernetesSpec.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/FaulttemplateFaultTemplate.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateLink.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateLink.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ProbeWindowsCmdProbe.d.ts +14 -0
- package/dist/chaos-manager/src/services/schemas/ProbeWindowsCmdProbe.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ResourceQuantity.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/TypesCreateProbeResponse.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChaosfaultListExperimentRunsInFaultResponse } from '../schemas/ChaosfaultListExperimentRunsInFaultResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface ListExperimentRunsOfFaultQueryPathParams {
|
|
6
|
+
identity: string;
|
|
7
|
+
}
|
|
8
|
+
export interface ListExperimentRunsOfFaultQueryQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
correlationID?: string;
|
|
11
|
+
experimentType?: 'cronexperiment' | 'experiment' | 'experiment_v2';
|
|
12
|
+
isEnterprise?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* @default 10
|
|
15
|
+
*/
|
|
16
|
+
limit?: number;
|
|
17
|
+
organizationIdentifier?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @default 0
|
|
20
|
+
*/
|
|
21
|
+
page?: number;
|
|
22
|
+
projectIdentifier?: string;
|
|
23
|
+
search?: string;
|
|
24
|
+
sortAscending?: boolean;
|
|
25
|
+
sortField?: 'lastUpdated' | 'name';
|
|
26
|
+
}
|
|
27
|
+
export type ListExperimentRunsOfFaultOkResponse = ChaosfaultListExperimentRunsInFaultResponse;
|
|
28
|
+
export type ListExperimentRunsOfFaultErrorResponse = ApiRestError;
|
|
29
|
+
export interface ListExperimentRunsOfFaultProps extends ListExperimentRunsOfFaultQueryPathParams, Omit<FetcherOptions<ListExperimentRunsOfFaultQueryQueryParams, unknown>, 'url'> {
|
|
30
|
+
queryParams: ListExperimentRunsOfFaultQueryQueryParams;
|
|
31
|
+
}
|
|
32
|
+
export interface ListExperimentRunsOfFaultResponseContainer {
|
|
33
|
+
body: ListExperimentRunsOfFaultOkResponse;
|
|
34
|
+
headers: Headers;
|
|
35
|
+
}
|
|
36
|
+
export declare function listExperimentRunsOfFault(props: ListExperimentRunsOfFaultProps): Promise<ListExperimentRunsOfFaultResponseContainer>;
|
|
37
|
+
/**
|
|
38
|
+
* Lists experiment runs of a fault in a project
|
|
39
|
+
*/
|
|
40
|
+
export declare function useListExperimentRunsOfFaultQuery(props: ListExperimentRunsOfFaultProps, options?: Omit<UseQueryOptions<ListExperimentRunsOfFaultResponseContainer, ListExperimentRunsOfFaultErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListExperimentRunsOfFaultResponseContainer, ApiRestError>;
|
|
@@ -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 { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function listExperimentRunsOfFault(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/faults/${props.identity}/experimentruns`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Lists experiment runs of a fault in a project
|
|
11
|
+
*/
|
|
12
|
+
export function useListExperimentRunsOfFaultQuery(props, options) {
|
|
13
|
+
return useQuery(['listExperimentRunsOfFault', props.identity, props.queryParams], ({ signal }) => listExperimentRunsOfFault(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -4,7 +4,7 @@ import type { ApiRestError } from '../schemas/ApiRestError';
|
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface ListFaultv2QueryQueryParams {
|
|
6
6
|
accountIdentifier: string;
|
|
7
|
-
category?:
|
|
7
|
+
category?: string;
|
|
8
8
|
correlationID?: string;
|
|
9
9
|
infrastructureType?: 'KubernetesV2';
|
|
10
10
|
isEnterprise?: boolean;
|
|
@@ -180,6 +180,8 @@ export type { ListChaosHubErrorResponse, ListChaosHubOkResponse, ListChaosHubPro
|
|
|
180
180
|
export { listChaosHub, useListChaosHubQuery } from './hooks/useListChaosHubQuery';
|
|
181
181
|
export type { ListChaosV2ExperimentErrorResponse, ListChaosV2ExperimentOkResponse, ListChaosV2ExperimentProps, ListChaosV2ExperimentQueryQueryParams, } from './hooks/useListChaosV2ExperimentQuery';
|
|
182
182
|
export { listChaosV2Experiment, useListChaosV2ExperimentQuery, } from './hooks/useListChaosV2ExperimentQuery';
|
|
183
|
+
export type { ListExperimentRunsOfFaultErrorResponse, ListExperimentRunsOfFaultOkResponse, ListExperimentRunsOfFaultProps, ListExperimentRunsOfFaultQueryPathParams, ListExperimentRunsOfFaultQueryQueryParams, } from './hooks/useListExperimentRunsOfFaultQuery';
|
|
184
|
+
export { listExperimentRunsOfFault, useListExperimentRunsOfFaultQuery, } from './hooks/useListExperimentRunsOfFaultQuery';
|
|
183
185
|
export type { ListExperimentsWithActiveInfrasMinimalNotificationErrorResponse, ListExperimentsWithActiveInfrasMinimalNotificationOkResponse, ListExperimentsWithActiveInfrasMinimalNotificationProps, ListExperimentsWithActiveInfrasMinimalNotificationQueryQueryParams, } from './hooks/useListExperimentsWithActiveInfrasMinimalNotificationQuery';
|
|
184
186
|
export { listExperimentsWithActiveInfrasMinimalNotification, useListExperimentsWithActiveInfrasMinimalNotificationQuery, } from './hooks/useListExperimentsWithActiveInfrasMinimalNotificationQuery';
|
|
185
187
|
export type { ListFaultErrorResponse, ListFaultOkResponse, ListFaultProps, ListFaultQueryQueryParams, } from './hooks/useListFaultQuery';
|
|
@@ -291,6 +293,7 @@ export type { ActionActionTemplateProperties } from './schemas/ActionActionTempl
|
|
|
291
293
|
export type { ActionActionTemplateRunProperties } from './schemas/ActionActionTemplateRunProperties';
|
|
292
294
|
export type { ActionCustomScriptActionTemplate } from './schemas/ActionCustomScriptActionTemplate';
|
|
293
295
|
export type { ActionDelayActionTemplate } from './schemas/ActionDelayActionTemplate';
|
|
296
|
+
export type { ActionEnv } from './schemas/ActionEnv';
|
|
294
297
|
export type { ActionSourceActionTemplate } from './schemas/ActionSourceActionTemplate';
|
|
295
298
|
export type { ActionsActionResponse } from './schemas/ActionsActionResponse';
|
|
296
299
|
export type { ActionsActionType } from './schemas/ActionsActionType';
|
|
@@ -354,9 +357,12 @@ export type { ChaosexperimentpipelineReferenceEntities } from './schemas/Chaosex
|
|
|
354
357
|
export type { ChaosfaultChaosFault } from './schemas/ChaosfaultChaosFault';
|
|
355
358
|
export type { ChaosfaultCreateFaultRequest } from './schemas/ChaosfaultCreateFaultRequest';
|
|
356
359
|
export type { ChaosfaultCreateFaultResponse } from './schemas/ChaosfaultCreateFaultResponse';
|
|
360
|
+
export type { ChaosfaultExperimentRunOfFault } from './schemas/ChaosfaultExperimentRunOfFault';
|
|
357
361
|
export type { ChaosfaultFaultVariables } from './schemas/ChaosfaultFaultVariables';
|
|
358
362
|
export type { ChaosfaultFaultYaml } from './schemas/ChaosfaultFaultYaml';
|
|
359
363
|
export type { ChaosfaultGetFaultResponse } from './schemas/ChaosfaultGetFaultResponse';
|
|
364
|
+
export type { ChaosfaultLink } from './schemas/ChaosfaultLink';
|
|
365
|
+
export type { ChaosfaultListExperimentRunsInFaultResponse } from './schemas/ChaosfaultListExperimentRunsInFaultResponse';
|
|
360
366
|
export type { ChaosfaultListFaultResponse } from './schemas/ChaosfaultListFaultResponse';
|
|
361
367
|
export type { ChaosfaultUpdateFaultRequest } from './schemas/ChaosfaultUpdateFaultRequest';
|
|
362
368
|
export type { ChaosfaultUpdateFaultResponse } from './schemas/ChaosfaultUpdateFaultResponse';
|
|
@@ -370,6 +376,7 @@ export type { ChaosfaulttemplateFaultTemplateVariables } from './schemas/Chaosfa
|
|
|
370
376
|
export type { ChaosfaulttemplateFaultTemplateYaml } from './schemas/ChaosfaulttemplateFaultTemplateYaml';
|
|
371
377
|
export type { ChaosfaulttemplateGetActionTemplateResponse } from './schemas/ChaosfaulttemplateGetActionTemplateResponse';
|
|
372
378
|
export type { ChaosfaulttemplateGetFaultTemplateResponse } from './schemas/ChaosfaulttemplateGetFaultTemplateResponse';
|
|
379
|
+
export type { ChaosfaulttemplateLink } from './schemas/ChaosfaulttemplateLink';
|
|
373
380
|
export type { ChaosfaulttemplateListActionTemplateResponse } from './schemas/ChaosfaulttemplateListActionTemplateResponse';
|
|
374
381
|
export type { ChaosfaulttemplateListFaultTemplateResponse } from './schemas/ChaosfaulttemplateListFaultTemplateResponse';
|
|
375
382
|
export type { ChaosfaulttemplateUpdateFaultTemplateResponse } from './schemas/ChaosfaulttemplateUpdateFaultTemplateResponse';
|
|
@@ -458,6 +465,7 @@ export type { ExperimentStatusCheckTimeout } from './schemas/ExperimentStatusChe
|
|
|
458
465
|
export type { ExperimentTargets } from './schemas/ExperimentTargets';
|
|
459
466
|
export type { ExperimentWorkload } from './schemas/ExperimentWorkload';
|
|
460
467
|
export type { ExperimentWorkloadKind } from './schemas/ExperimentWorkloadKind';
|
|
468
|
+
export type { FaultLink } from './schemas/FaultLink';
|
|
461
469
|
export type { FaulttemplateApplicationTarget } from './schemas/FaulttemplateApplicationTarget';
|
|
462
470
|
export type { FaulttemplateChaosKubernetesSpec } from './schemas/FaulttemplateChaosKubernetesSpec';
|
|
463
471
|
export type { FaulttemplateChaosParameter } from './schemas/FaulttemplateChaosParameter';
|
|
@@ -466,6 +474,7 @@ export type { FaulttemplateConfigMapVolume } from './schemas/FaulttemplateConfig
|
|
|
466
474
|
export type { FaulttemplateFaultTemplate } from './schemas/FaulttemplateFaultTemplate';
|
|
467
475
|
export type { FaulttemplateHostPathVolume } from './schemas/FaulttemplateHostPathVolume';
|
|
468
476
|
export type { FaulttemplateKubernetesTarget } from './schemas/FaulttemplateKubernetesTarget';
|
|
477
|
+
export type { FaulttemplateLink } from './schemas/FaulttemplateLink';
|
|
469
478
|
export type { FaulttemplateResourceRequirements } from './schemas/FaulttemplateResourceRequirements';
|
|
470
479
|
export type { FaulttemplateSecretVolume } from './schemas/FaulttemplateSecretVolume';
|
|
471
480
|
export type { FaulttemplateSpec } from './schemas/FaulttemplateSpec';
|
|
@@ -680,6 +689,7 @@ export type { ProbeSyntheticsTestTemplate } from './schemas/ProbeSyntheticsTestT
|
|
|
680
689
|
export type { ProbeTlsConfig } from './schemas/ProbeTlsConfig';
|
|
681
690
|
export type { ProbeTlsConfigSm } from './schemas/ProbeTlsConfigSm';
|
|
682
691
|
export type { ProbeTlsConfigTemplate } from './schemas/ProbeTlsConfigTemplate';
|
|
692
|
+
export type { ProbeWindowsCmdProbe } from './schemas/ProbeWindowsCmdProbe';
|
|
683
693
|
export type { RecommendationConfigScannerEvents } from './schemas/RecommendationConfigScannerEvents';
|
|
684
694
|
export type { RecommendationEventRequest } from './schemas/RecommendationEventRequest';
|
|
685
695
|
export type { RecommendationFailure } from './schemas/RecommendationFailure';
|
|
@@ -89,6 +89,7 @@ export { listApplication, useListApplicationQuery } from './hooks/useListApplica
|
|
|
89
89
|
export { listChaosEnabledInfraV2, useListChaosEnabledInfraV2Query, } from './hooks/useListChaosEnabledInfraV2Query';
|
|
90
90
|
export { listChaosHub, useListChaosHubQuery } from './hooks/useListChaosHubQuery';
|
|
91
91
|
export { listChaosV2Experiment, useListChaosV2ExperimentQuery, } from './hooks/useListChaosV2ExperimentQuery';
|
|
92
|
+
export { listExperimentRunsOfFault, useListExperimentRunsOfFaultQuery, } from './hooks/useListExperimentRunsOfFaultQuery';
|
|
92
93
|
export { listExperimentsWithActiveInfrasMinimalNotification, useListExperimentsWithActiveInfrasMinimalNotificationQuery, } from './hooks/useListExperimentsWithActiveInfrasMinimalNotificationQuery';
|
|
93
94
|
export { listFault, useListFaultQuery } from './hooks/useListFaultQuery';
|
|
94
95
|
export { listFaultTemplate, useListFaultTemplateQuery } from './hooks/useListFaultTemplateQuery';
|
|
@@ -14,6 +14,7 @@ export interface ChaosExperimentRunChaosExperimentRun {
|
|
|
14
14
|
experimentRunID?: string;
|
|
15
15
|
experimentType?: ChaosExperimentRunExperimentType;
|
|
16
16
|
experimentYaml?: string;
|
|
17
|
+
faultIDs?: string[];
|
|
17
18
|
faultsAwaited?: number;
|
|
18
19
|
faultsFailed?: number;
|
|
19
20
|
faultsNA?: number;
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
+
import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
|
|
2
|
+
import type { ChaosfaultLink } from '../schemas/ChaosfaultLink';
|
|
1
3
|
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
2
4
|
export interface ChaosfaultChaosFault {
|
|
3
5
|
accountID: string;
|
|
4
6
|
category?: string[];
|
|
5
7
|
createdAt?: number;
|
|
6
8
|
createdBy?: string;
|
|
9
|
+
createdByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
7
10
|
description?: string;
|
|
11
|
+
experimentRunsCount?: number;
|
|
8
12
|
/**
|
|
9
13
|
* Mongo ID (primary key)
|
|
10
14
|
*/
|
|
@@ -17,13 +21,16 @@ export interface ChaosfaultChaosFault {
|
|
|
17
21
|
infras?: string[];
|
|
18
22
|
isEnterprise?: boolean;
|
|
19
23
|
isRemoved: boolean;
|
|
24
|
+
links?: ChaosfaultLink[];
|
|
20
25
|
name: string;
|
|
21
26
|
orgID?: string;
|
|
27
|
+
permissionsRequired?: string;
|
|
22
28
|
projectID?: string;
|
|
23
29
|
tags?: string[];
|
|
24
30
|
template?: string;
|
|
25
31
|
type?: string;
|
|
26
32
|
updatedAt?: number;
|
|
27
33
|
updatedBy?: string;
|
|
34
|
+
updatedByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
28
35
|
variables?: TemplateVariable[];
|
|
29
36
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { FaultLink } from '../schemas/FaultLink';
|
|
1
2
|
import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
|
|
2
3
|
import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
|
|
3
4
|
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
@@ -7,7 +8,9 @@ export interface ChaosfaultCreateFaultRequest {
|
|
|
7
8
|
identity?: string;
|
|
8
9
|
infraType?: string;
|
|
9
10
|
infras?: string[];
|
|
11
|
+
links?: FaultLink[];
|
|
10
12
|
name?: string;
|
|
13
|
+
permissionsRequired?: string;
|
|
11
14
|
spec?: FaulttemplateSpec;
|
|
12
15
|
tags?: string[];
|
|
13
16
|
templateReference?: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { FaultLink } from '../schemas/FaultLink';
|
|
1
2
|
import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
|
|
2
3
|
import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
|
|
3
4
|
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
@@ -8,7 +9,9 @@ export interface ChaosfaultCreateFaultResponse {
|
|
|
8
9
|
identity?: string;
|
|
9
10
|
infraType?: string;
|
|
10
11
|
infras?: string[];
|
|
12
|
+
links?: FaultLink[];
|
|
11
13
|
name?: string;
|
|
14
|
+
permissionsRequired?: string;
|
|
12
15
|
spec?: FaulttemplateSpec;
|
|
13
16
|
tags?: string[];
|
|
14
17
|
templateReference?: string;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
|
|
2
|
+
import type { TargetserviceServiceMetadata } from '../schemas/TargetserviceServiceMetadata';
|
|
3
|
+
export interface ChaosfaultExperimentRunOfFault {
|
|
4
|
+
accountID: string;
|
|
5
|
+
completed?: boolean;
|
|
6
|
+
createdAt?: number;
|
|
7
|
+
createdBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
8
|
+
experimentID?: string;
|
|
9
|
+
experimentName?: string;
|
|
10
|
+
experimentRunID?: string;
|
|
11
|
+
faultIDs?: string[];
|
|
12
|
+
infraID?: string;
|
|
13
|
+
notifyID?: string;
|
|
14
|
+
orgID?: string;
|
|
15
|
+
phase?: string;
|
|
16
|
+
projectID?: string;
|
|
17
|
+
resiliencyScore?: number;
|
|
18
|
+
runSequence?: number;
|
|
19
|
+
targetedServices?: TargetserviceServiceMetadata[];
|
|
20
|
+
updatedAt?: number;
|
|
21
|
+
updatedBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { FaultLink } from '../schemas/FaultLink';
|
|
1
2
|
import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
|
|
2
3
|
import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
|
|
3
4
|
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
@@ -9,7 +10,9 @@ export interface ChaosfaultGetFaultResponse {
|
|
|
9
10
|
infraType?: string;
|
|
10
11
|
infras?: string[];
|
|
11
12
|
isEnterprise?: boolean;
|
|
13
|
+
links?: FaultLink[];
|
|
12
14
|
name?: string;
|
|
15
|
+
permissionsRequired?: string;
|
|
13
16
|
spec?: FaulttemplateSpec;
|
|
14
17
|
tags?: string[];
|
|
15
18
|
templateReference?: string;
|
package/dist/chaos-manager/src/services/schemas/ChaosfaultListExperimentRunsInFaultResponse.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ChaosfaultExperimentRunOfFault } from '../schemas/ChaosfaultExperimentRunOfFault';
|
|
2
|
+
import type { GithubComHarnessHceSaasGraphqlServerApiPagination } from '../schemas/GithubComHarnessHceSaasGraphqlServerApiPagination';
|
|
3
|
+
export interface ChaosfaultListExperimentRunsInFaultResponse {
|
|
4
|
+
correlationID?: string;
|
|
5
|
+
data?: ChaosfaultExperimentRunOfFault[];
|
|
6
|
+
pagination?: GithubComHarnessHceSaasGraphqlServerApiPagination;
|
|
7
|
+
}
|
package/dist/chaos-manager/src/services/schemas/ChaosfaultListExperimentRunsInFaultResponse.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { FaultLink } from '../schemas/FaultLink';
|
|
1
2
|
import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
|
|
2
3
|
import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
|
|
3
4
|
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
@@ -7,7 +8,9 @@ export interface ChaosfaultUpdateFaultRequest {
|
|
|
7
8
|
identity?: string;
|
|
8
9
|
infraType?: string;
|
|
9
10
|
infras?: string[];
|
|
11
|
+
links?: FaultLink[];
|
|
10
12
|
name?: string;
|
|
13
|
+
permissionsRequired?: string;
|
|
11
14
|
spec?: FaulttemplateSpec;
|
|
12
15
|
tags?: string[];
|
|
13
16
|
templateReference?: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { FaultLink } from '../schemas/FaultLink';
|
|
1
2
|
import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
|
|
2
3
|
import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
|
|
3
4
|
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
@@ -8,7 +9,9 @@ export interface ChaosfaultUpdateFaultResponse {
|
|
|
8
9
|
identity?: string;
|
|
9
10
|
infraType?: string;
|
|
10
11
|
infras?: string[];
|
|
12
|
+
links?: FaultLink[];
|
|
11
13
|
name?: string;
|
|
14
|
+
permissionsRequired?: string;
|
|
12
15
|
spec?: FaulttemplateSpec;
|
|
13
16
|
tags?: string[];
|
|
14
17
|
templateReference?: string;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import type { ChaosfaulttemplateLink } from '../schemas/ChaosfaulttemplateLink';
|
|
1
2
|
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
2
3
|
export interface ChaosfaulttemplateChaosFaultTemplate {
|
|
3
4
|
accountID: string;
|
|
5
|
+
category?: string[];
|
|
4
6
|
createdAt?: number;
|
|
5
7
|
createdBy?: string;
|
|
6
8
|
description?: string;
|
|
@@ -16,14 +18,19 @@ export interface ChaosfaulttemplateChaosFaultTemplate {
|
|
|
16
18
|
* Unique identifier (human-readable) immutable
|
|
17
19
|
*/
|
|
18
20
|
identity?: string;
|
|
21
|
+
infraType?: string;
|
|
22
|
+
infras?: string[];
|
|
19
23
|
isDefault?: boolean;
|
|
20
24
|
isRemoved: boolean;
|
|
25
|
+
links?: ChaosfaulttemplateLink[];
|
|
21
26
|
name: string;
|
|
22
27
|
orgID?: string;
|
|
28
|
+
permissionsRequired?: string;
|
|
23
29
|
projectID?: string;
|
|
24
30
|
revision?: string;
|
|
25
31
|
tags?: string[];
|
|
26
32
|
template?: string;
|
|
33
|
+
type?: string;
|
|
27
34
|
updatedAt?: number;
|
|
28
35
|
updatedBy?: string;
|
|
29
36
|
variables?: TemplateVariable[];
|
package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateRequest.d.ts
CHANGED
|
@@ -1,16 +1,21 @@
|
|
|
1
|
+
import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
|
|
1
2
|
import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
|
|
2
3
|
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
3
4
|
export interface ChaosfaulttemplateCreateFaultTemplateRequest {
|
|
5
|
+
category?: string[];
|
|
4
6
|
description?: string;
|
|
5
7
|
identity?: string;
|
|
6
8
|
infraType?: string;
|
|
7
9
|
infras?: string[];
|
|
8
10
|
isDefault?: boolean;
|
|
9
11
|
keywords?: string[];
|
|
12
|
+
links?: FaulttemplateLink[];
|
|
10
13
|
name?: string;
|
|
14
|
+
permissionsRequired?: string;
|
|
11
15
|
platforms?: string[];
|
|
12
16
|
revision?: string;
|
|
13
17
|
spec?: FaulttemplateSpec;
|
|
14
18
|
tags?: string[];
|
|
19
|
+
type?: string;
|
|
15
20
|
variables?: TemplateVariable[];
|
|
16
21
|
}
|
package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateResponse.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
|
|
1
2
|
import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
|
|
2
3
|
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
3
4
|
export interface ChaosfaulttemplateCreateFaultTemplateResponse {
|
|
5
|
+
category?: string[];
|
|
4
6
|
correlationID?: string;
|
|
5
7
|
description?: string;
|
|
6
8
|
hubIdentity?: string;
|
|
@@ -9,10 +11,13 @@ export interface ChaosfaulttemplateCreateFaultTemplateResponse {
|
|
|
9
11
|
infras?: string[];
|
|
10
12
|
isDefault?: boolean;
|
|
11
13
|
keywords?: string[];
|
|
14
|
+
links?: FaulttemplateLink[];
|
|
12
15
|
name?: string;
|
|
16
|
+
permissionsRequired?: string;
|
|
13
17
|
platforms?: string[];
|
|
14
18
|
revision?: string;
|
|
15
19
|
spec?: FaulttemplateSpec;
|
|
16
20
|
tags?: string[];
|
|
21
|
+
type?: string;
|
|
17
22
|
variables?: TemplateVariable[];
|
|
18
23
|
}
|
package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateUpdateFaultTemplateResponse.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
|
|
1
2
|
import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
|
|
2
3
|
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
3
4
|
export interface ChaosfaulttemplateUpdateFaultTemplateResponse {
|
|
5
|
+
category?: string[];
|
|
4
6
|
correlationID?: string;
|
|
5
7
|
description?: string;
|
|
6
8
|
hubIdentity?: string;
|
|
@@ -9,10 +11,13 @@ export interface ChaosfaulttemplateUpdateFaultTemplateResponse {
|
|
|
9
11
|
infras?: string[];
|
|
10
12
|
isDefault?: boolean;
|
|
11
13
|
keywords?: string[];
|
|
14
|
+
links?: FaulttemplateLink[];
|
|
12
15
|
name?: string;
|
|
16
|
+
permissionsRequired?: string;
|
|
13
17
|
platforms?: string[];
|
|
14
18
|
revision?: string;
|
|
15
19
|
spec?: FaulttemplateSpec;
|
|
16
20
|
tags?: string[];
|
|
21
|
+
type?: string;
|
|
17
22
|
variables?: TemplateVariable[];
|
|
18
23
|
}
|
|
@@ -32,5 +32,5 @@ export interface FaulttemplateChaosKubernetesSpec {
|
|
|
32
32
|
podSecurityContext?: V1PodSecurityContext;
|
|
33
33
|
resourceRequirements?: FaulttemplateResourceRequirements;
|
|
34
34
|
secretVolume?: FaulttemplateSecretVolume[];
|
|
35
|
-
toleration?: V1Toleration;
|
|
35
|
+
toleration?: V1Toleration[];
|
|
36
36
|
}
|
|
@@ -1,16 +1,21 @@
|
|
|
1
|
+
import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
|
|
1
2
|
import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
|
|
2
3
|
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
3
4
|
export interface FaulttemplateFaultTemplate {
|
|
5
|
+
category?: string[];
|
|
4
6
|
description?: string;
|
|
5
7
|
identity?: string;
|
|
6
8
|
infraType?: string;
|
|
7
9
|
infras?: string[];
|
|
8
10
|
isDefault?: boolean;
|
|
9
11
|
keywords?: string[];
|
|
12
|
+
links?: FaulttemplateLink[];
|
|
10
13
|
name?: string;
|
|
14
|
+
permissionsRequired?: string;
|
|
11
15
|
platforms?: string[];
|
|
12
16
|
revision?: string;
|
|
13
17
|
spec?: FaulttemplateSpec;
|
|
14
18
|
tags?: string[];
|
|
19
|
+
type?: string;
|
|
15
20
|
variables?: TemplateVariable[];
|
|
16
21
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ProbeComparator } from '../schemas/ProbeComparator';
|
|
2
|
+
export interface ProbeWindowsCmdProbe {
|
|
3
|
+
attempt?: {};
|
|
4
|
+
command?: string;
|
|
5
|
+
comparator?: ProbeComparator;
|
|
6
|
+
initialDelay?: string;
|
|
7
|
+
initialDelaySeconds?: {};
|
|
8
|
+
interval?: string;
|
|
9
|
+
pollingInterval?: string;
|
|
10
|
+
probeTimeout?: string;
|
|
11
|
+
retry?: {};
|
|
12
|
+
stopOnFailure?: boolean;
|
|
13
|
+
verbosity?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -8,6 +8,7 @@ import type { ProbeLinuxCmdProbe } from '../schemas/ProbeLinuxCmdProbe';
|
|
|
8
8
|
import type { ProbePromProbe } from '../schemas/ProbePromProbe';
|
|
9
9
|
import type { ProbeSloProbe } from '../schemas/ProbeSloProbe';
|
|
10
10
|
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
11
|
+
import type { ProbeWindowsCmdProbe } from '../schemas/ProbeWindowsCmdProbe';
|
|
11
12
|
export interface TypesCreateProbeResponse {
|
|
12
13
|
apmProperties?: ProbeApmProbe;
|
|
13
14
|
description?: string;
|
|
@@ -27,5 +28,6 @@ export interface TypesCreateProbeResponse {
|
|
|
27
28
|
sloProperties?: ProbeSloProbe;
|
|
28
29
|
tags?: string[];
|
|
29
30
|
variables?: TemplateVariable[];
|
|
31
|
+
windowsCmdProperties?: ProbeWindowsCmdProbe;
|
|
30
32
|
windowsHttpProperties?: ProbeHttpProbe;
|
|
31
33
|
}
|
package/package.json
CHANGED