@harnessio/react-chaos-manager-client 1.21.1 → 1.23.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/useCompareExperimentTemplateRevisionsQuery.d.ts +31 -0
- package/dist/chaos-manager/src/services/hooks/useCompareExperimentTemplateRevisionsQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useCreateExperimentFromTemplateMutation.d.ts +34 -0
- package/dist/chaos-manager/src/services/hooks/useCreateExperimentFromTemplateMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useCreateExperimentTemplateMutation.d.ts +30 -0
- package/dist/chaos-manager/src/services/hooks/useCreateExperimentTemplateMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useDeleteExperimentTemplateMutation.d.ts +30 -0
- package/dist/chaos-manager/src/services/hooks/useDeleteExperimentTemplateMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateQuery.d.ts +30 -0
- package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateRevisionsQuery.d.ts +43 -0
- package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateRevisionsQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateVariablesQuery.d.ts +30 -0
- package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateVariablesQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateYamlQuery.d.ts +30 -0
- package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateYamlQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListExperimentTemplateQuery.d.ts +40 -0
- package/dist/chaos-manager/src/services/hooks/useListExperimentTemplateQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateExperimentTemplateMutation.d.ts +33 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateExperimentTemplateMutation.js +14 -0
- package/dist/chaos-manager/src/services/index.d.ts +59 -2
- package/dist/chaos-manager/src/services/index.js +10 -0
- package/dist/chaos-manager/src/services/schemas/ActionsIdentifiers.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/ActionsImportActionTemplateRequest.d.ts +3 -3
- package/dist/chaos-manager/src/services/schemas/ChaosactiontemplateChaosActionTemplate.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateChaosExperimentTemplate.d.ts +28 -0
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateChaosExperimentTemplate.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateCompareRevisions.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateCreateExperimentFromTemplateRequest.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateCreateExperimentFromTemplateRequest.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateCreateExperimentTemplateRequest.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateCreateExperimentTemplateRequest.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateCreateExperimentTemplateResponse.d.ts +14 -0
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateCreateExperimentTemplateResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateExperimentTemplateVariables.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateExperimentTemplateVariables.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateExperimentTemplateYaml.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateExperimentTemplateYaml.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateGetExperimentTemplateResponse.d.ts +14 -0
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateGetExperimentTemplateResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateListExperimentTemplateResponse.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateListExperimentTemplateResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateUpdateExperimentTemplateRequest.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateUpdateExperimentTemplateRequest.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateUpdateExperimentTemplateResponse.d.ts +14 -0
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateUpdateExperimentTemplateResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateVariable.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateVariable.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultChaosFault.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/ChaosfaultCreateFaultRequest.d.ts +4 -2
- package/dist/chaos-manager/src/services/schemas/ChaosfaultCreateFaultResponse.d.ts +4 -2
- package/dist/chaos-manager/src/services/schemas/ChaosfaultFaultVariables.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultGetFaultResponse.d.ts +4 -2
- package/dist/chaos-manager/src/services/schemas/ChaosfaultUpdateFaultRequest.d.ts +4 -2
- package/dist/chaos-manager/src/services/schemas/ChaosfaultUpdateFaultResponse.d.ts +4 -2
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateActionTemplate.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateChaosFaultTemplate.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateRequest.d.ts +4 -2
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateResponse.d.ts +4 -2
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateUpdateFaultTemplateResponse.d.ts +4 -2
- package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateProbeTemplate.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentApiAuth.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentApiAuth.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentAuth.d.ts +16 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentAuth.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentAuthType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentAuthType.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentCleanupPolicy.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentCleanupPolicy.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentExperimentComponents.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentRedisAuth.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentRedisAuth.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentSshFaultAuth.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentSshFaultAuth.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentVmWareAuth.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentVmWareAuth.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ExperimenttemplateAction.d.ts +10 -0
- package/dist/chaos-manager/src/services/schemas/ExperimenttemplateAction.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ExperimenttemplateFault.d.ts +9 -0
- package/dist/chaos-manager/src/services/schemas/ExperimenttemplateFault.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ExperimenttemplateProbe.d.ts +14 -0
- package/dist/chaos-manager/src/services/schemas/ExperimenttemplateProbe.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ExperimenttemplateProbeConditions.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/ExperimenttemplateProbeConditions.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ExperimenttemplateSpec.d.ts +17 -0
- package/dist/chaos-manager/src/services/schemas/ExperimenttemplateSpec.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ExperimenttemplateStatusCheckTimeout.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ExperimenttemplateStatusCheckTimeout.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ExperimenttemplateVertex.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/ExperimenttemplateVertex.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ExperimenttemplateVertexChild.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/ExperimenttemplateVertexChild.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ExperimenttemplateVertexResource.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/ExperimenttemplateVertexResource.js +4 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateAuth.d.ts +14 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateAuth.js +1 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateAwsAuth.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateAwsAuth.js +4 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateAzureAuth.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateAzureAuth.js +4 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateChaosSpec.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateFaultTemplate.d.ts +4 -2
- package/dist/chaos-manager/src/services/schemas/FaulttemplateGcpAuth.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateGcpAuth.js +4 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateRedisAuth.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateRedisAuth.js +4 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateSshAuth.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateSshAuth.js +4 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateStatusCheckTimeout.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateStatusCheckTimeout.js +4 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateTls.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateTls.js +4 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateVmWareAuth.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateVmWareAuth.js +4 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprobetemplateChaosProbeTemplate.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ProbeAuthorization.d.ts +0 -1
- package/dist/chaos-manager/src/services/schemas/ProbeAuthorizationTemplate.d.ts +0 -1
- package/dist/chaos-manager/src/services/schemas/ResourceQuantity.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/TemplateVariable.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/TemplateVariableCategory.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/TemplateVariableMinimum.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/TemplateVariableType.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/TypesIdentifiers.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/TypesIdentifiers.js +4 -0
- package/dist/chaos-manager/src/services/schemas/TypesImportProbeTemplateRequest.d.ts +3 -3
- package/dist/chaos-manager/src/services/schemas/V1AppDynamicsInputs.d.ts +0 -4
- package/dist/chaos-manager/src/services/schemas/V1Authorization.d.ts +0 -1
- package/dist/chaos-manager/src/services/schemas/V1DynatraceApmProbeInputs.d.ts +0 -4
- package/dist/chaos-manager/src/services/schemas/V1NewrelicInputs.d.ts +0 -4
- package/dist/chaos-manager/src/services/schemas/V1PrometheusInputs.d.ts +2 -6
- package/dist/chaos-manager/src/services/schemas/V1SplunkObservabilityInputs.d.ts +0 -4
- package/dist/custom-fetcher/index.js +17 -5
- package/package.json +1 -1
- package/dist/chaos-manager/src/services/schemas/MongodbIdentifiers.d.ts +0 -5
- package/dist/chaos-manager/src/services/schemas/V1ApmProbeTlsConfig.d.ts +0 -14
- /package/dist/chaos-manager/src/services/schemas/{MongodbIdentifiers.js → ActionsIdentifiers.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{V1ApmProbeTlsConfig.js → ChaosexperimenttemplateCompareRevisions.js} +0 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
|
|
1
2
|
import type { ChaosfaulttemplateLink } from '../schemas/ChaosfaulttemplateLink';
|
|
2
3
|
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
3
4
|
export interface ChaosfaulttemplateChaosFaultTemplate {
|
|
@@ -5,6 +6,7 @@ export interface ChaosfaulttemplateChaosFaultTemplate {
|
|
|
5
6
|
category?: string[];
|
|
6
7
|
createdAt?: number;
|
|
7
8
|
createdBy?: string;
|
|
9
|
+
createdByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
8
10
|
description?: string;
|
|
9
11
|
/**
|
|
10
12
|
* Hub identity of the fault
|
|
@@ -21,6 +23,7 @@ export interface ChaosfaulttemplateChaosFaultTemplate {
|
|
|
21
23
|
infraType?: string;
|
|
22
24
|
infras?: string[];
|
|
23
25
|
isDefault?: boolean;
|
|
26
|
+
isEnterprise?: boolean;
|
|
24
27
|
isRemoved: boolean;
|
|
25
28
|
links?: ChaosfaulttemplateLink[];
|
|
26
29
|
name: string;
|
|
@@ -35,5 +38,6 @@ export interface ChaosfaulttemplateChaosFaultTemplate {
|
|
|
35
38
|
type?: string;
|
|
36
39
|
updatedAt?: number;
|
|
37
40
|
updatedBy?: string;
|
|
41
|
+
updatedByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
38
42
|
variables?: TemplateVariable[];
|
|
39
43
|
}
|
package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateRequest.d.ts
CHANGED
|
@@ -2,15 +2,17 @@ import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
|
|
|
2
2
|
import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
|
|
3
3
|
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
4
4
|
export interface ChaosfaulttemplateCreateFaultTemplateRequest {
|
|
5
|
+
apiVersion?: string;
|
|
5
6
|
category?: string[];
|
|
6
7
|
description?: string;
|
|
7
|
-
identity
|
|
8
|
+
identity: string;
|
|
8
9
|
infraType?: string;
|
|
9
10
|
infras?: string[];
|
|
10
11
|
isDefault?: boolean;
|
|
11
12
|
keywords?: string[];
|
|
13
|
+
kind?: string;
|
|
12
14
|
links?: FaulttemplateLink[];
|
|
13
|
-
name
|
|
15
|
+
name: string;
|
|
14
16
|
permissionsRequired?: string;
|
|
15
17
|
platforms?: string[];
|
|
16
18
|
revision?: string;
|
package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateResponse.d.ts
CHANGED
|
@@ -2,17 +2,19 @@ import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
|
|
|
2
2
|
import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
|
|
3
3
|
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
4
4
|
export interface ChaosfaulttemplateCreateFaultTemplateResponse {
|
|
5
|
+
apiVersion?: string;
|
|
5
6
|
category?: string[];
|
|
6
7
|
correlationID?: string;
|
|
7
8
|
description?: string;
|
|
8
9
|
hubIdentity?: string;
|
|
9
|
-
identity
|
|
10
|
+
identity: string;
|
|
10
11
|
infraType?: string;
|
|
11
12
|
infras?: string[];
|
|
12
13
|
isDefault?: boolean;
|
|
13
14
|
keywords?: string[];
|
|
15
|
+
kind?: string;
|
|
14
16
|
links?: FaulttemplateLink[];
|
|
15
|
-
name
|
|
17
|
+
name: string;
|
|
16
18
|
permissionsRequired?: string;
|
|
17
19
|
platforms?: string[];
|
|
18
20
|
revision?: string;
|
package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateUpdateFaultTemplateResponse.d.ts
CHANGED
|
@@ -2,17 +2,19 @@ import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
|
|
|
2
2
|
import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
|
|
3
3
|
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
4
4
|
export interface ChaosfaulttemplateUpdateFaultTemplateResponse {
|
|
5
|
+
apiVersion?: string;
|
|
5
6
|
category?: string[];
|
|
6
7
|
correlationID?: string;
|
|
7
8
|
description?: string;
|
|
8
9
|
hubIdentity?: string;
|
|
9
|
-
identity
|
|
10
|
+
identity: string;
|
|
10
11
|
infraType?: string;
|
|
11
12
|
infras?: string[];
|
|
12
13
|
isDefault?: boolean;
|
|
13
14
|
keywords?: string[];
|
|
15
|
+
kind?: string;
|
|
14
16
|
links?: FaulttemplateLink[];
|
|
15
|
-
name
|
|
17
|
+
name: string;
|
|
16
18
|
permissionsRequired?: string;
|
|
17
19
|
platforms?: string[];
|
|
18
20
|
revision?: string;
|
|
@@ -8,8 +8,10 @@ export interface ChaosprobetemplateProbeTemplate {
|
|
|
8
8
|
hubRef?: string;
|
|
9
9
|
identity?: string;
|
|
10
10
|
infrastructureType?: ProbeInfrastructureType;
|
|
11
|
+
isDefault?: boolean;
|
|
11
12
|
name: string;
|
|
12
13
|
probeProperties?: ProbeProbeTemplateProperties;
|
|
14
|
+
revision?: number;
|
|
13
15
|
runProperties?: ProbeProbeTemplateRunProperties;
|
|
14
16
|
tags?: string[];
|
|
15
17
|
type?: ProbeProbeType;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ExperimentApiAuth } from '../schemas/ExperimentApiAuth';
|
|
2
|
+
import type { ExperimentRedisAuth } from '../schemas/ExperimentRedisAuth';
|
|
3
|
+
import type { ExperimentSshFaultAuth } from '../schemas/ExperimentSshFaultAuth';
|
|
4
|
+
import type { ExperimentAuthType } from '../schemas/ExperimentAuthType';
|
|
5
|
+
import type { ExperimentVmWareAuth } from '../schemas/ExperimentVmWareAuth';
|
|
6
|
+
export interface ExperimentAuth {
|
|
7
|
+
api?: ExperimentApiAuth;
|
|
8
|
+
aws?: string;
|
|
9
|
+
azure?: string;
|
|
10
|
+
gcp?: string;
|
|
11
|
+
nodeRestart?: string;
|
|
12
|
+
redisAuth?: ExperimentRedisAuth;
|
|
13
|
+
ssh?: ExperimentSshFaultAuth;
|
|
14
|
+
type?: ExperimentAuthType;
|
|
15
|
+
vmware?: ExperimentVmWareAuth;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ExperimentAuthType = 'API' | 'AWS' | 'Azure' | 'GCP' | 'NodeRestart' | 'Redis' | 'SSH' | 'VMWare';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ExperimentCleanupPolicy = 'delete' | 'retain';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ExperimentAuth } from '../schemas/ExperimentAuth';
|
|
1
2
|
import type { ExperimentConfigMap } from '../schemas/ExperimentConfigMap';
|
|
2
3
|
import type { ExperimentHelperConfig } from '../schemas/ExperimentHelperConfig';
|
|
3
4
|
import type { ExperimentHostFile } from '../schemas/ExperimentHostFile';
|
|
@@ -10,6 +11,7 @@ import type { ExperimentSidecar } from '../schemas/ExperimentSidecar';
|
|
|
10
11
|
import type { ExperimentStatusCheckTimeout } from '../schemas/ExperimentStatusCheckTimeout';
|
|
11
12
|
import type { V1Toleration } from '../schemas/V1Toleration';
|
|
12
13
|
export interface ExperimentExperimentComponents {
|
|
14
|
+
auth?: ExperimentAuth;
|
|
13
15
|
configMaps?: ExperimentConfigMap[];
|
|
14
16
|
helper?: ExperimentHelperConfig;
|
|
15
17
|
hostFileVolumes?: ExperimentHostFile[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
|
|
2
|
+
export interface ExperimenttemplateAction {
|
|
3
|
+
continueOnCompletion?: boolean;
|
|
4
|
+
identity?: string;
|
|
5
|
+
infraId?: string;
|
|
6
|
+
isEnterprise?: boolean;
|
|
7
|
+
name?: string;
|
|
8
|
+
revision?: number;
|
|
9
|
+
values?: TemplateVariableMinimum[];
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
|
|
2
|
+
export interface ExperimenttemplateFault {
|
|
3
|
+
identity?: string;
|
|
4
|
+
infraId?: string;
|
|
5
|
+
isEnterprise?: boolean;
|
|
6
|
+
name?: string;
|
|
7
|
+
revision?: string;
|
|
8
|
+
values?: TemplateVariableMinimum[];
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ExperimenttemplateProbeConditions } from '../schemas/ExperimenttemplateProbeConditions';
|
|
2
|
+
import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
|
|
3
|
+
export interface ExperimenttemplateProbe {
|
|
4
|
+
conditions?: ExperimenttemplateProbeConditions[];
|
|
5
|
+
duration?: string;
|
|
6
|
+
enableDataCollection?: boolean;
|
|
7
|
+
identity?: string;
|
|
8
|
+
infraId?: string;
|
|
9
|
+
isEnterprise?: boolean;
|
|
10
|
+
name?: string;
|
|
11
|
+
revision?: number;
|
|
12
|
+
values?: TemplateVariableMinimum[];
|
|
13
|
+
weightage?: number;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ExperimenttemplateAction } from '../schemas/ExperimenttemplateAction';
|
|
2
|
+
import type { ExperimentCleanupPolicy } from '../schemas/ExperimentCleanupPolicy';
|
|
3
|
+
import type { ExperimenttemplateFault } from '../schemas/ExperimenttemplateFault';
|
|
4
|
+
import type { ExperimentInfraType } from '../schemas/ExperimentInfraType';
|
|
5
|
+
import type { ExperimenttemplateProbe } from '../schemas/ExperimenttemplateProbe';
|
|
6
|
+
import type { ExperimenttemplateStatusCheckTimeout } from '../schemas/ExperimenttemplateStatusCheckTimeout';
|
|
7
|
+
import type { ExperimenttemplateVertex } from '../schemas/ExperimenttemplateVertex';
|
|
8
|
+
export interface ExperimenttemplateSpec {
|
|
9
|
+
actions?: ExperimenttemplateAction[];
|
|
10
|
+
cleanupPolicy?: ExperimentCleanupPolicy;
|
|
11
|
+
faults?: ExperimenttemplateFault[];
|
|
12
|
+
infraId?: string;
|
|
13
|
+
infraType: ExperimentInfraType;
|
|
14
|
+
probes?: ExperimenttemplateProbe[];
|
|
15
|
+
statusCheckTimeouts?: ExperimenttemplateStatusCheckTimeout;
|
|
16
|
+
vertices?: ExperimenttemplateVertex[];
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ExperimenttemplateVertexResource } from '../schemas/ExperimenttemplateVertexResource';
|
|
2
|
+
export interface ExperimenttemplateVertexChild {
|
|
3
|
+
actions?: ExperimenttemplateVertexResource[];
|
|
4
|
+
faults?: ExperimenttemplateVertexResource[];
|
|
5
|
+
probes?: ExperimenttemplateVertexResource[];
|
|
6
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { FaulttemplateAwsAuth } from '../schemas/FaulttemplateAwsAuth';
|
|
2
|
+
import type { FaulttemplateAzureAuth } from '../schemas/FaulttemplateAzureAuth';
|
|
3
|
+
import type { FaulttemplateGcpAuth } from '../schemas/FaulttemplateGcpAuth';
|
|
4
|
+
import type { FaulttemplateRedisAuth } from '../schemas/FaulttemplateRedisAuth';
|
|
5
|
+
import type { FaulttemplateSshAuth } from '../schemas/FaulttemplateSshAuth';
|
|
6
|
+
import type { FaulttemplateVmWareAuth } from '../schemas/FaulttemplateVmWareAuth';
|
|
7
|
+
export interface FaulttemplateAuth {
|
|
8
|
+
aws?: FaulttemplateAwsAuth;
|
|
9
|
+
azure?: FaulttemplateAzureAuth;
|
|
10
|
+
gcp?: FaulttemplateGcpAuth;
|
|
11
|
+
redis?: FaulttemplateRedisAuth;
|
|
12
|
+
ssh?: FaulttemplateSshAuth;
|
|
13
|
+
vmware?: FaulttemplateVmWareAuth;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
+
import type { FaulttemplateAuth } from '../schemas/FaulttemplateAuth';
|
|
1
2
|
import type { FaulttemplateChaosKubernetesSpec } from '../schemas/FaulttemplateChaosKubernetesSpec';
|
|
2
3
|
import type { FaulttemplateChaosParameter } from '../schemas/FaulttemplateChaosParameter';
|
|
4
|
+
import type { FaulttemplateStatusCheckTimeout } from '../schemas/FaulttemplateStatusCheckTimeout';
|
|
5
|
+
import type { FaulttemplateTls } from '../schemas/FaulttemplateTls';
|
|
3
6
|
export interface FaulttemplateChaosSpec {
|
|
7
|
+
auth?: FaulttemplateAuth;
|
|
4
8
|
faultName?: string;
|
|
5
9
|
kubernetes?: FaulttemplateChaosKubernetesSpec;
|
|
6
10
|
params?: FaulttemplateChaosParameter[];
|
|
11
|
+
statusCheckTimeouts?: FaulttemplateStatusCheckTimeout;
|
|
12
|
+
tls?: FaulttemplateTls;
|
|
7
13
|
}
|
|
@@ -2,15 +2,17 @@ import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
|
|
|
2
2
|
import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
|
|
3
3
|
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
4
4
|
export interface FaulttemplateFaultTemplate {
|
|
5
|
+
apiVersion?: string;
|
|
5
6
|
category?: string[];
|
|
6
7
|
description?: string;
|
|
7
|
-
identity
|
|
8
|
+
identity: string;
|
|
8
9
|
infraType?: string;
|
|
9
10
|
infras?: string[];
|
|
10
11
|
isDefault?: boolean;
|
|
11
12
|
keywords?: string[];
|
|
13
|
+
kind?: string;
|
|
12
14
|
links?: FaulttemplateLink[];
|
|
13
|
-
name
|
|
15
|
+
name: string;
|
|
14
16
|
permissionsRequired?: string;
|
|
15
17
|
platforms?: string[];
|
|
16
18
|
revision?: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
|
|
1
2
|
import type { ProbeInfrastructureType } from '../schemas/ProbeInfrastructureType';
|
|
2
3
|
import type { ProbeProbeTemplateProperties } from '../schemas/ProbeProbeTemplateProperties';
|
|
3
4
|
import type { ProbeProbeTemplateRunProperties } from '../schemas/ProbeProbeTemplateRunProperties';
|
|
@@ -7,6 +8,7 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprob
|
|
|
7
8
|
accountID: string;
|
|
8
9
|
createdAt?: number;
|
|
9
10
|
createdBy?: string;
|
|
11
|
+
createdByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
10
12
|
description?: string;
|
|
11
13
|
hubRef?: string;
|
|
12
14
|
id?: string;
|
|
@@ -21,6 +23,7 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprob
|
|
|
21
23
|
* for predefined faults, latest should be set as default
|
|
22
24
|
*/
|
|
23
25
|
isDefault?: boolean;
|
|
26
|
+
isEnterprise?: boolean;
|
|
24
27
|
isRemoved: boolean;
|
|
25
28
|
name: string;
|
|
26
29
|
orgID?: string;
|
|
@@ -36,5 +39,6 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprob
|
|
|
36
39
|
type?: ProbeProbeType;
|
|
37
40
|
updatedAt?: number;
|
|
38
41
|
updatedBy?: string;
|
|
42
|
+
updatedByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
39
43
|
variables?: TemplateVariable[];
|
|
40
44
|
}
|
|
@@ -5,12 +5,12 @@ export interface TemplateVariable {
|
|
|
5
5
|
category?: TemplateVariableCategory;
|
|
6
6
|
default?: {};
|
|
7
7
|
description?: string;
|
|
8
|
-
name
|
|
8
|
+
name: string;
|
|
9
9
|
path?: string;
|
|
10
10
|
required?: boolean;
|
|
11
11
|
stringify?: boolean;
|
|
12
12
|
tags?: string[];
|
|
13
13
|
type?: TemplateVariableType;
|
|
14
14
|
validator?: string;
|
|
15
|
-
value
|
|
15
|
+
value: {};
|
|
16
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type TemplateVariableCategory = 'ActionProperties' | 'ExperimentTunable' | 'FaultTarget' | 'FaultTunable' | 'ProbeProperties' | 'RunProperties' | 'TargetInfra';
|
|
1
|
+
export type TemplateVariableCategory = 'ActionProperties' | 'ExperimentTunable' | 'FaultAuthentication' | 'FaultTarget' | 'FaultTunable' | 'ProbeProperties' | 'RunProperties' | 'TargetInfra';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type TemplateVariableType = 'Boolean' | 'Integer' | 'Number' | 'String';
|
|
1
|
+
export type TemplateVariableType = 'Boolean' | 'Integer' | 'Number' | 'SecretFile' | 'SecretText' | 'String';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TypesIdentifiers } from '../schemas/TypesIdentifiers';
|
|
2
2
|
import type { MongodbImportType } from '../schemas/MongodbImportType';
|
|
3
3
|
export interface TypesImportProbeTemplateRequest {
|
|
4
4
|
description?: string;
|
|
5
|
-
hubIdentifiers?:
|
|
6
|
-
hubRef
|
|
5
|
+
hubIdentifiers?: TypesIdentifiers;
|
|
6
|
+
hubRef?: string;
|
|
7
7
|
identity: string;
|
|
8
8
|
importType: MongodbImportType;
|
|
9
9
|
name: string;
|