@harnessio/react-chaos-manager-client 1.22.0 → 1.23.1
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/useListFaultTemplateQuery.d.ts +16 -7
- package/dist/chaos-manager/src/services/index.d.ts +18 -5
- package/dist/chaos-manager/src/services/schemas/ChaosfaultFaultVariables.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ExecutionChaosStepStatus.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/ExperimentApiAuth.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentAuth.d.ts +16 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentAuthType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentExperimentComponents.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentFaultRef.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentRedisAuth.d.ts +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/FaulttemplateAuth.d.ts +14 -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/FaulttemplateChaosKubernetesSpec.d.ts +0 -2
- package/dist/chaos-manager/src/services/schemas/FaulttemplateChaosSpec.d.ts +6 -0
- 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/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/ProbeApmProbeTemplate.d.ts +2 -2
- 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/{ProbeNewrelicMetric.d.ts → ProbeNewRelicMetric.d.ts} +1 -1
- package/dist/chaos-manager/src/services/schemas/ProbeNewRelicMetric.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ProbeNewRelicProbeInputs.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/ProbeNewRelicProbeInputs.js +1 -0
- package/dist/chaos-manager/src/services/schemas/TemplateVariableCategory.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/TemplateVariableType.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/V1ApmProbeInputs.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 +15 -0
- package/dist/chaos-manager/src/services/schemas/V1NewRelicInputs.js +1 -0
- package/dist/chaos-manager/src/services/schemas/{V1NewrelicMetric.d.ts → V1NewRelicMetric.d.ts} +1 -1
- package/dist/chaos-manager/src/services/schemas/V1NewRelicMetric.js +4 -0
- 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/package.json +1 -1
- package/dist/chaos-manager/src/services/schemas/ProbeNewrelicProbeInputs.d.ts +0 -5
- package/dist/chaos-manager/src/services/schemas/V1ApmProbeTlsConfig.d.ts +0 -14
- package/dist/chaos-manager/src/services/schemas/V1NewrelicInputs.d.ts +0 -19
- /package/dist/chaos-manager/src/services/schemas/{ProbeNewrelicMetric.js → ExperimentApiAuth.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ProbeNewrelicProbeInputs.js → ExperimentAuth.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{V1ApmProbeTlsConfig.js → ExperimentAuthType.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{V1NewrelicMetric.js → ExperimentRedisAuth.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{V1NewrelicInputs.js → FaulttemplateAuth.js} +0 -0
|
@@ -3,18 +3,27 @@ import type { ChaosfaulttemplateListFaultTemplateResponse } from '../schemas/Cha
|
|
|
3
3
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
4
4
|
export interface ListFaultTemplateQueryQueryParams {
|
|
5
5
|
accountIdentifier: string;
|
|
6
|
-
|
|
7
|
-
projectIdentifier: string;
|
|
8
|
-
hubIdentity: string;
|
|
6
|
+
category?: string;
|
|
9
7
|
correlationID?: string;
|
|
8
|
+
hubIdentity?: string;
|
|
9
|
+
infrastructure?: 'KubernetesV2';
|
|
10
|
+
infrastructureType?: 'Kubernetes';
|
|
11
|
+
isEnterprise?: boolean;
|
|
10
12
|
/**
|
|
11
|
-
* @default
|
|
13
|
+
* @default 10
|
|
12
14
|
*/
|
|
13
|
-
|
|
15
|
+
limit?: number;
|
|
16
|
+
organizationIdentifier?: string;
|
|
14
17
|
/**
|
|
15
|
-
* @default
|
|
18
|
+
* @default 0
|
|
16
19
|
*/
|
|
17
|
-
|
|
20
|
+
page?: number;
|
|
21
|
+
projectIdentifier?: string;
|
|
22
|
+
search?: string;
|
|
23
|
+
sortAscending?: boolean;
|
|
24
|
+
sortField?: 'lastUpdated' | 'name';
|
|
25
|
+
tags?: string;
|
|
26
|
+
type?: string;
|
|
18
27
|
}
|
|
19
28
|
export type ListFaultTemplateOkResponse = ChaosfaulttemplateListFaultTemplateResponse;
|
|
20
29
|
export type ListFaultTemplateErrorResponse = unknown;
|
|
@@ -499,7 +499,10 @@ export type { ExecutionProbeData } from './schemas/ExecutionProbeData';
|
|
|
499
499
|
export type { ExecutionProbeIterations } from './schemas/ExecutionProbeIterations';
|
|
500
500
|
export type { ExecutionPromProbe } from './schemas/ExecutionPromProbe';
|
|
501
501
|
export type { ExperimentActionRef } from './schemas/ExperimentActionRef';
|
|
502
|
+
export type { ExperimentApiAuth } from './schemas/ExperimentApiAuth';
|
|
502
503
|
export type { ExperimentApplication } from './schemas/ExperimentApplication';
|
|
504
|
+
export type { ExperimentAuth } from './schemas/ExperimentAuth';
|
|
505
|
+
export type { ExperimentAuthType } from './schemas/ExperimentAuthType';
|
|
503
506
|
export type { ExperimentChaosInputs } from './schemas/ExperimentChaosInputs';
|
|
504
507
|
export type { ExperimentCleanupPolicy } from './schemas/ExperimentCleanupPolicy';
|
|
505
508
|
export type { ExperimentConfigMap } from './schemas/ExperimentConfigMap';
|
|
@@ -513,13 +516,16 @@ export type { ExperimentProbeActions } from './schemas/ExperimentProbeActions';
|
|
|
513
516
|
export type { ExperimentProbeConditions } from './schemas/ExperimentProbeConditions';
|
|
514
517
|
export type { ExperimentProbeRef } from './schemas/ExperimentProbeRef';
|
|
515
518
|
export type { ExperimentProjectedVolumes } from './schemas/ExperimentProjectedVolumes';
|
|
519
|
+
export type { ExperimentRedisAuth } from './schemas/ExperimentRedisAuth';
|
|
516
520
|
export type { ExperimentSaveChaosExperimentResponse } from './schemas/ExperimentSaveChaosExperimentResponse';
|
|
517
521
|
export type { ExperimentSecret } from './schemas/ExperimentSecret';
|
|
518
522
|
export type { ExperimentSecurityContext } from './schemas/ExperimentSecurityContext';
|
|
519
523
|
export type { ExperimentSelector } from './schemas/ExperimentSelector';
|
|
520
524
|
export type { ExperimentSidecar } from './schemas/ExperimentSidecar';
|
|
525
|
+
export type { ExperimentSshFaultAuth } from './schemas/ExperimentSshFaultAuth';
|
|
521
526
|
export type { ExperimentStatusCheckTimeout } from './schemas/ExperimentStatusCheckTimeout';
|
|
522
527
|
export type { ExperimentTargets } from './schemas/ExperimentTargets';
|
|
528
|
+
export type { ExperimentVmWareAuth } from './schemas/ExperimentVmWareAuth';
|
|
523
529
|
export type { ExperimentWorkload } from './schemas/ExperimentWorkload';
|
|
524
530
|
export type { ExperimentWorkloadKind } from './schemas/ExperimentWorkloadKind';
|
|
525
531
|
export type { ExperimenttemplateAction } from './schemas/ExperimenttemplateAction';
|
|
@@ -533,19 +539,27 @@ export type { ExperimenttemplateVertexChild } from './schemas/Experimenttemplate
|
|
|
533
539
|
export type { ExperimenttemplateVertexResource } from './schemas/ExperimenttemplateVertexResource';
|
|
534
540
|
export type { FaultLink } from './schemas/FaultLink';
|
|
535
541
|
export type { FaulttemplateApplicationTarget } from './schemas/FaulttemplateApplicationTarget';
|
|
542
|
+
export type { FaulttemplateAuth } from './schemas/FaulttemplateAuth';
|
|
543
|
+
export type { FaulttemplateAwsAuth } from './schemas/FaulttemplateAwsAuth';
|
|
544
|
+
export type { FaulttemplateAzureAuth } from './schemas/FaulttemplateAzureAuth';
|
|
536
545
|
export type { FaulttemplateChaosKubernetesSpec } from './schemas/FaulttemplateChaosKubernetesSpec';
|
|
537
546
|
export type { FaulttemplateChaosParameter } from './schemas/FaulttemplateChaosParameter';
|
|
538
547
|
export type { FaulttemplateChaosSpec } from './schemas/FaulttemplateChaosSpec';
|
|
539
548
|
export type { FaulttemplateConfigMapVolume } from './schemas/FaulttemplateConfigMapVolume';
|
|
540
549
|
export type { FaulttemplateFaultTemplate } from './schemas/FaulttemplateFaultTemplate';
|
|
550
|
+
export type { FaulttemplateGcpAuth } from './schemas/FaulttemplateGcpAuth';
|
|
541
551
|
export type { FaulttemplateHostPathVolume } from './schemas/FaulttemplateHostPathVolume';
|
|
542
552
|
export type { FaulttemplateKubernetesTarget } from './schemas/FaulttemplateKubernetesTarget';
|
|
543
553
|
export type { FaulttemplateLink } from './schemas/FaulttemplateLink';
|
|
554
|
+
export type { FaulttemplateRedisAuth } from './schemas/FaulttemplateRedisAuth';
|
|
544
555
|
export type { FaulttemplateResourceRequirements } from './schemas/FaulttemplateResourceRequirements';
|
|
545
556
|
export type { FaulttemplateSecretVolume } from './schemas/FaulttemplateSecretVolume';
|
|
546
557
|
export type { FaulttemplateSpec } from './schemas/FaulttemplateSpec';
|
|
558
|
+
export type { FaulttemplateSshAuth } from './schemas/FaulttemplateSshAuth';
|
|
547
559
|
export type { FaulttemplateStatusCheckTimeout } from './schemas/FaulttemplateStatusCheckTimeout';
|
|
548
560
|
export type { FaulttemplateTarget } from './schemas/FaulttemplateTarget';
|
|
561
|
+
export type { FaulttemplateTls } from './schemas/FaulttemplateTls';
|
|
562
|
+
export type { FaulttemplateVmWareAuth } from './schemas/FaulttemplateVmWareAuth';
|
|
549
563
|
export type { Gamedayrunv2ApprovalStatus } from './schemas/Gamedayrunv2ApprovalStatus';
|
|
550
564
|
export type { Gamedayrunv2PrerequisiteStatus } from './schemas/Gamedayrunv2PrerequisiteStatus';
|
|
551
565
|
export type { Gamedayv2GamedayRunStatus } from './schemas/Gamedayv2GamedayRunStatus';
|
|
@@ -753,8 +767,8 @@ export type { ProbeLinuxCmdProbe } from './schemas/ProbeLinuxCmdProbe';
|
|
|
753
767
|
export type { ProbeMethod } from './schemas/ProbeMethod';
|
|
754
768
|
export type { ProbeMethodTemplate } from './schemas/ProbeMethodTemplate';
|
|
755
769
|
export type { ProbeMetrics } from './schemas/ProbeMetrics';
|
|
756
|
-
export type {
|
|
757
|
-
export type {
|
|
770
|
+
export type { ProbeNewRelicMetric } from './schemas/ProbeNewRelicMetric';
|
|
771
|
+
export type { ProbeNewRelicProbeInputs } from './schemas/ProbeNewRelicProbeInputs';
|
|
758
772
|
export type { ProbeProbeTemplateProperties } from './schemas/ProbeProbeTemplateProperties';
|
|
759
773
|
export type { ProbeProbeTemplateRunProperties } from './schemas/ProbeProbeTemplateRunProperties';
|
|
760
774
|
export type { ProbeProbeType } from './schemas/ProbeProbeType';
|
|
@@ -891,7 +905,6 @@ export type { TypesUpdatePrerequisiteRequest } from './schemas/TypesUpdatePrereq
|
|
|
891
905
|
export type { TypesUpdateStakeHolderActionRequest } from './schemas/TypesUpdateStakeHolderActionRequest';
|
|
892
906
|
export type { TypesWeightages } from './schemas/TypesWeightages';
|
|
893
907
|
export type { V1ApmProbeInputs } from './schemas/V1ApmProbeInputs';
|
|
894
|
-
export type { V1ApmProbeTlsConfig } from './schemas/V1ApmProbeTlsConfig';
|
|
895
908
|
export type { V1AppDynamicsInputs } from './schemas/V1AppDynamicsInputs';
|
|
896
909
|
export type { V1AppdMetrics } from './schemas/V1AppdMetrics';
|
|
897
910
|
export type { V1Authorization } from './schemas/V1Authorization';
|
|
@@ -953,8 +966,8 @@ export type { V1ManagedFieldsEntry } from './schemas/V1ManagedFieldsEntry';
|
|
|
953
966
|
export type { V1ManagedFieldsOperationType } from './schemas/V1ManagedFieldsOperationType';
|
|
954
967
|
export type { V1Metrics } from './schemas/V1Metrics';
|
|
955
968
|
export type { V1MountPropagationMode } from './schemas/V1MountPropagationMode';
|
|
956
|
-
export type {
|
|
957
|
-
export type {
|
|
969
|
+
export type { V1NewRelicInputs } from './schemas/V1NewRelicInputs';
|
|
970
|
+
export type { V1NewRelicMetric } from './schemas/V1NewRelicMetric';
|
|
958
971
|
export type { V1NewrelicMetrics } from './schemas/V1NewrelicMetrics';
|
|
959
972
|
export type { V1NewrelicProbeInputs } from './schemas/V1NewrelicProbeInputs';
|
|
960
973
|
export type { V1NfsVolumeSource } from './schemas/V1NfsVolumeSource';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
2
2
|
export interface ChaosfaultFaultVariables {
|
|
3
3
|
correlationID?: string;
|
|
4
|
+
faultAuthentication?: TemplateVariable[];
|
|
4
5
|
faultTargets?: TemplateVariable[];
|
|
5
6
|
faultTunable?: TemplateVariable[];
|
|
6
7
|
variables?: TemplateVariable[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type ExecutionChaosStepStatus = 'Completed' | 'Completed_With_Probe_Failure' | 'Error' | 'Failed' | 'Interrupted' | 'Passed' | 'Pending' | 'Queued' | 'Running' | 'Skipped' | 'Stopped';
|
|
1
|
+
export type ExecutionChaosStepStatus = 'Completed' | 'Completed_With_Probe_Absent' | 'Completed_With_Probe_Failure' | 'Error' | 'Failed' | 'Interrupted' | 'Passed' | 'Pending' | 'Queued' | 'Running' | 'Skipped' | 'Stopped';
|
|
@@ -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 type ExperimentAuthType = 'API' | 'AWS' | 'Azure' | 'GCP' | 'NodeRestart' | 'Redis' | 'SSH' | 'VMWare';
|
|
@@ -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[];
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
|
|
2
2
|
export interface ExperimentFaultRef {
|
|
3
|
+
/**
|
|
4
|
+
* AuthEnabled denotes whether authentication is enabled for the fault
|
|
5
|
+
*/
|
|
6
|
+
authEnabled?: boolean;
|
|
3
7
|
/**
|
|
4
8
|
* Identity of the fault reference
|
|
5
9
|
*/
|
|
@@ -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
|
+
}
|
|
@@ -6,7 +6,6 @@ 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';
|
|
10
9
|
import type { V1Toleration } from '../schemas/V1Toleration';
|
|
11
10
|
export interface FaulttemplateChaosKubernetesSpec {
|
|
12
11
|
annotations?: {
|
|
@@ -33,6 +32,5 @@ export interface FaulttemplateChaosKubernetesSpec {
|
|
|
33
32
|
podSecurityContext?: V1PodSecurityContext;
|
|
34
33
|
resourceRequirements?: FaulttemplateResourceRequirements;
|
|
35
34
|
secretVolume?: FaulttemplateSecretVolume[];
|
|
36
|
-
statusCheckTimeouts?: FaulttemplateStatusCheckTimeout;
|
|
37
35
|
toleration?: V1Toleration[];
|
|
38
36
|
}
|
|
@@ -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
|
}
|
|
@@ -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 { ProbeNewRelicProbeInputs } from '../schemas/ProbeNewRelicProbeInputs';
|
|
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
|
-
|
|
12
|
+
newRelicProbeInputs?: ProbeNewRelicProbeInputs;
|
|
13
13
|
prometheusProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs;
|
|
14
14
|
splunkObservabilityProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs;
|
|
15
15
|
type?: ProbeApmProbeType;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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,7 +1,7 @@
|
|
|
1
1
|
import type { V1AppDynamicsInputs } from '../schemas/V1AppDynamicsInputs';
|
|
2
2
|
import type { V1ComparatorInfo } from '../schemas/V1ComparatorInfo';
|
|
3
3
|
import type { V1DynatraceApmProbeInputs } from '../schemas/V1DynatraceApmProbeInputs';
|
|
4
|
-
import type {
|
|
4
|
+
import type { V1NewRelicInputs } from '../schemas/V1NewRelicInputs';
|
|
5
5
|
import type { V1PrometheusInputs } from '../schemas/V1PrometheusInputs';
|
|
6
6
|
import type { V1SplunkObservabilityInputs } from '../schemas/V1SplunkObservabilityInputs';
|
|
7
7
|
export interface V1ApmProbeInputs {
|
|
@@ -18,9 +18,9 @@ export interface V1ApmProbeInputs {
|
|
|
18
18
|
*/
|
|
19
19
|
dynatraceApmProbeInputs?: V1DynatraceApmProbeInputs;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* NewRelicInputs contains the inputs required for NewRelic probe
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
newRelicInputs?: V1NewRelicInputs;
|
|
24
24
|
/**
|
|
25
25
|
* PrometheusInputs contains the inputs required for prometheus probe
|
|
26
26
|
*/
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { V1NewRelicMetric } from '../schemas/V1NewRelicMetric';
|
|
2
|
+
export interface V1NewRelicInputs {
|
|
3
|
+
/**
|
|
4
|
+
* AccountID for the NewRelic probe
|
|
5
|
+
*/
|
|
6
|
+
accountId?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Endpoint for the NewRelic probe
|
|
9
|
+
*/
|
|
10
|
+
endpoint?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Raw metrics details of the NewRelic probe
|
|
13
|
+
*/
|
|
14
|
+
newRelicMetric?: V1NewRelicMetric;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { V1TlsConfig } from '../schemas/V1TlsConfig';
|
|
2
2
|
export interface V1PrometheusInputs {
|
|
3
|
-
/**
|
|
4
|
-
* AuthSecretName secret name for the authentication
|
|
5
|
-
*/
|
|
6
|
-
authSecretName?: string;
|
|
7
3
|
/**
|
|
8
4
|
* Endpoint for the prometheus probe
|
|
9
5
|
*/
|
|
@@ -15,5 +11,5 @@ export interface V1PrometheusInputs {
|
|
|
15
11
|
/**
|
|
16
12
|
* TLSConfig contains the tls configuration for the prometheus probe
|
|
17
13
|
*/
|
|
18
|
-
tlsConfig?:
|
|
14
|
+
tlsConfig?: V1TlsConfig;
|
|
19
15
|
}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import type { V1SplunkObservabilityMetrics } from '../schemas/V1SplunkObservabilityMetrics';
|
|
2
2
|
export interface V1SplunkObservabilityInputs {
|
|
3
|
-
/**
|
|
4
|
-
* AuthSecretName secret name for the authentication
|
|
5
|
-
*/
|
|
6
|
-
authSecretName?: string;
|
|
7
3
|
/**
|
|
8
4
|
* Endpoint for the Splunk Observability probe
|
|
9
5
|
*/
|
package/package.json
CHANGED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export interface V1ApmProbeTlsConfig {
|
|
2
|
-
/**
|
|
3
|
-
* InsecureSkipVerify flag to skip certificate checks
|
|
4
|
-
*/
|
|
5
|
-
insecureSkipVerify?: boolean;
|
|
6
|
-
/**
|
|
7
|
-
* SecretName contains the secret name for the TLS configuration
|
|
8
|
-
*/
|
|
9
|
-
secretName?: string;
|
|
10
|
-
/**
|
|
11
|
-
* ServerName contains the server name for the TLS configuration
|
|
12
|
-
*/
|
|
13
|
-
serverName?: string;
|
|
14
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { V1NewrelicMetric } from '../schemas/V1NewrelicMetric';
|
|
2
|
-
export interface V1NewrelicInputs {
|
|
3
|
-
/**
|
|
4
|
-
* AccountID for the Newrelic probe
|
|
5
|
-
*/
|
|
6
|
-
accountId?: string;
|
|
7
|
-
/**
|
|
8
|
-
* AuthSecretName secret name for the authentication
|
|
9
|
-
*/
|
|
10
|
-
authSecretName?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Endpoint for the Newrelic probe
|
|
13
|
-
*/
|
|
14
|
-
endpoint?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Raw metrcis details of the Newrelic probe
|
|
17
|
-
*/
|
|
18
|
-
newrelicMetric?: V1NewrelicMetric;
|
|
19
|
-
}
|
/package/dist/chaos-manager/src/services/schemas/{ProbeNewrelicMetric.js → ExperimentApiAuth.js}
RENAMED
|
File without changes
|
/package/dist/chaos-manager/src/services/schemas/{ProbeNewrelicProbeInputs.js → ExperimentAuth.js}
RENAMED
|
File without changes
|
/package/dist/chaos-manager/src/services/schemas/{V1ApmProbeTlsConfig.js → ExperimentAuthType.js}
RENAMED
|
File without changes
|
/package/dist/chaos-manager/src/services/schemas/{V1NewrelicMetric.js → ExperimentRedisAuth.js}
RENAMED
|
File without changes
|
/package/dist/chaos-manager/src/services/schemas/{V1NewrelicInputs.js → FaulttemplateAuth.js}
RENAMED
|
File without changes
|