@harnessio/react-chaos-manager-client 1.20.0 → 1.21.1-beta.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/useListTargetNetworkMapsQuery.d.ts +4 -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/hooks/useVerifyProbeMutation.d.ts +29 -0
- package/dist/chaos-manager/src/services/hooks/useVerifyProbeMutation.js +14 -0
- package/dist/chaos-manager/src/services/index.d.ts +53 -3
- package/dist/chaos-manager/src/services/index.js +11 -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/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/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/ExperimentCleanupPolicy.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentCleanupPolicy.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentProbeRef.d.ts +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/FaulttemplateChaosKubernetesSpec.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateFaultTemplate.d.ts +4 -2
- 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/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprobetemplateChaosProbeTemplate.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeNewrelicMetric.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeNewrelicMetric.js +4 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeNewrelicProbeInputs.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeNewrelicProbeInputs.js +1 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1Probe.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeNewrelicMetric.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeNewrelicMetric.js +4 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeNewrelicProbeInputs.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeNewrelicProbeInputs.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ProbeApmProbe.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ProbeApmProbeTemplate.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/ResourceQuantity.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/SecurityGovernanceAccessControl.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/SecurityGovernanceAccessControl.js +4 -0
- package/dist/chaos-manager/src/services/schemas/SecurityGovernanceK8sSpec.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/TemplateVariable.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/TemplateVariableMinimum.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/TypesGetProbeResponse.d.ts +1 -0
- 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/TypesProbeRequest.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/TypesProbeVerifyRequest.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/TypesProbeVerifyRequest.js +4 -0
- package/package.json +1 -1
- package/dist/chaos-manager/src/services/schemas/MongodbIdentifiers.d.ts +0 -5
- package/dist/chaos-manager/src/services/schemas/ProbeNewrelicMetric.d.ts +0 -4
- package/dist/chaos-manager/src/services/schemas/ProbeNewrelicProbeInputs.d.ts +0 -5
- /package/dist/chaos-manager/src/services/schemas/{MongodbIdentifiers.js → ActionsIdentifiers.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ProbeNewrelicProbeInputs.js → ChaosexperimenttemplateChaosExperimentTemplate.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ProbeNewrelicMetric.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 @@
|
|
|
1
|
+
export type ExperimentCleanupPolicy = 'delete' | 'retain';
|
|
@@ -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 {};
|
|
@@ -6,6 +6,7 @@ import type { V1PullPolicy } from '../schemas/V1PullPolicy';
|
|
|
6
6
|
import type { V1PodSecurityContext } from '../schemas/V1PodSecurityContext';
|
|
7
7
|
import type { FaulttemplateResourceRequirements } from '../schemas/FaulttemplateResourceRequirements';
|
|
8
8
|
import type { FaulttemplateSecretVolume } from '../schemas/FaulttemplateSecretVolume';
|
|
9
|
+
import type { FaulttemplateStatusCheckTimeout } from '../schemas/FaulttemplateStatusCheckTimeout';
|
|
9
10
|
import type { V1Toleration } from '../schemas/V1Toleration';
|
|
10
11
|
export interface FaulttemplateChaosKubernetesSpec {
|
|
11
12
|
annotations?: {
|
|
@@ -32,5 +33,6 @@ export interface FaulttemplateChaosKubernetesSpec {
|
|
|
32
33
|
podSecurityContext?: V1PodSecurityContext;
|
|
33
34
|
resourceRequirements?: FaulttemplateResourceRequirements;
|
|
34
35
|
secretVolume?: FaulttemplateSecretVolume[];
|
|
36
|
+
statusCheckTimeouts?: FaulttemplateStatusCheckTimeout;
|
|
35
37
|
toleration?: V1Toleration[];
|
|
36
38
|
}
|
|
@@ -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
|
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeNewrelicMetric } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeNewrelicMetric';
|
|
2
|
+
export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeNewrelicProbeInputs {
|
|
3
|
+
connectorID?: string;
|
|
4
|
+
newrelicMetric?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeNewrelicMetric;
|
|
5
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1Probe.d.ts
CHANGED
|
@@ -38,6 +38,10 @@ export interface GithubComHarnessHceSaasHceSdkCommonProbeV1Probe {
|
|
|
38
38
|
* ID is the unique identifier for the probe
|
|
39
39
|
*/
|
|
40
40
|
id?: string;
|
|
41
|
+
/**
|
|
42
|
+
* IsVerified indicates whether the probe is verified or not
|
|
43
|
+
*/
|
|
44
|
+
isVerified?: boolean;
|
|
41
45
|
/**
|
|
42
46
|
* inputs needed for the k8s probe
|
|
43
47
|
*/
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeNewrelicMetric } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeNewrelicMetric';
|
|
2
|
+
export interface GithubComHarnessHceSaasHceSdkTemplateSchemaProbeNewrelicProbeInputs {
|
|
3
|
+
connectorID?: string;
|
|
4
|
+
newrelicMetric?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeNewrelicMetric;
|
|
5
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppDynamicsProbeInputs } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppDynamicsProbeInputs';
|
|
2
2
|
import type { ProbeComparator } from '../schemas/ProbeComparator';
|
|
3
3
|
import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDynatraceApmProbeInputs } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDynatraceApmProbeInputs';
|
|
4
|
+
import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeNewrelicProbeInputs } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeNewrelicProbeInputs';
|
|
4
5
|
import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePrometheusProbeInputs } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePrometheusProbeInputs';
|
|
5
6
|
import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityProbeInputs } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityProbeInputs';
|
|
6
7
|
export interface ProbeApmProbe {
|
|
@@ -11,6 +12,7 @@ export interface ProbeApmProbe {
|
|
|
11
12
|
initialDelay?: string;
|
|
12
13
|
initialDelaySeconds?: {};
|
|
13
14
|
interval?: string;
|
|
15
|
+
newrelicProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeNewrelicProbeInputs;
|
|
14
16
|
pollingInterval?: string;
|
|
15
17
|
probeTimeout?: string;
|
|
16
18
|
prometheusProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePrometheusProbeInputs;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs';
|
|
2
2
|
import type { ProbeComparatorTemplate } from '../schemas/ProbeComparatorTemplate';
|
|
3
3
|
import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs';
|
|
4
|
-
import type {
|
|
4
|
+
import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeNewrelicProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeNewrelicProbeInputs';
|
|
5
5
|
import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs';
|
|
6
6
|
import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs';
|
|
7
7
|
import type { ProbeApmProbeType } from '../schemas/ProbeApmProbeType';
|
|
@@ -9,7 +9,7 @@ export interface ProbeApmProbeTemplate {
|
|
|
9
9
|
appDynamicsProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs;
|
|
10
10
|
comparator?: ProbeComparatorTemplate;
|
|
11
11
|
dynatraceApmProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs;
|
|
12
|
-
newrelicProbeInputs?:
|
|
12
|
+
newrelicProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeNewrelicProbeInputs;
|
|
13
13
|
prometheusProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs;
|
|
14
14
|
splunkObservabilityProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs;
|
|
15
15
|
type?: ProbeApmProbeType;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type SecurityGovernanceAccessControl = 'ALLOWED' | 'BLOCKED';
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { SecurityGovernanceApplicationSpec } from '../schemas/SecurityGovernanceApplicationSpec';
|
|
2
2
|
import type { SecurityGovernanceChaosServiceAccountSpec } from '../schemas/SecurityGovernanceChaosServiceAccountSpec';
|
|
3
3
|
import type { SecurityGovernanceInfraSpec } from '../schemas/SecurityGovernanceInfraSpec';
|
|
4
|
+
import type { SecurityGovernanceAccessControl } from '../schemas/SecurityGovernanceAccessControl';
|
|
4
5
|
export interface SecurityGovernanceK8sSpec {
|
|
5
6
|
applicationSpec?: SecurityGovernanceApplicationSpec;
|
|
6
7
|
chaosServiceAccountSpec?: SecurityGovernanceChaosServiceAccountSpec;
|
|
7
8
|
infraSpec?: SecurityGovernanceInfraSpec;
|
|
9
|
+
unverifiedProbe?: SecurityGovernanceAccessControl;
|
|
8
10
|
}
|
|
@@ -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,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;
|
package/package.json
CHANGED
/package/dist/chaos-manager/src/services/schemas/{MongodbIdentifiers.js → ActionsIdentifiers.js}
RENAMED
|
File without changes
|
|
File without changes
|