@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.
Files changed (59) hide show
  1. package/dist/chaos-manager/src/services/hooks/useListFaultTemplateQuery.d.ts +16 -7
  2. package/dist/chaos-manager/src/services/index.d.ts +18 -5
  3. package/dist/chaos-manager/src/services/schemas/ChaosfaultFaultVariables.d.ts +1 -0
  4. package/dist/chaos-manager/src/services/schemas/ExecutionChaosStepStatus.d.ts +1 -1
  5. package/dist/chaos-manager/src/services/schemas/ExperimentApiAuth.d.ts +4 -0
  6. package/dist/chaos-manager/src/services/schemas/ExperimentAuth.d.ts +16 -0
  7. package/dist/chaos-manager/src/services/schemas/ExperimentAuthType.d.ts +1 -0
  8. package/dist/chaos-manager/src/services/schemas/ExperimentExperimentComponents.d.ts +2 -0
  9. package/dist/chaos-manager/src/services/schemas/ExperimentFaultRef.d.ts +4 -0
  10. package/dist/chaos-manager/src/services/schemas/ExperimentRedisAuth.d.ts +4 -0
  11. package/dist/chaos-manager/src/services/schemas/ExperimentSshFaultAuth.d.ts +4 -0
  12. package/dist/chaos-manager/src/services/schemas/ExperimentSshFaultAuth.js +4 -0
  13. package/dist/chaos-manager/src/services/schemas/ExperimentVmWareAuth.d.ts +6 -0
  14. package/dist/chaos-manager/src/services/schemas/ExperimentVmWareAuth.js +4 -0
  15. package/dist/chaos-manager/src/services/schemas/FaulttemplateAuth.d.ts +14 -0
  16. package/dist/chaos-manager/src/services/schemas/FaulttemplateAwsAuth.d.ts +3 -0
  17. package/dist/chaos-manager/src/services/schemas/FaulttemplateAwsAuth.js +4 -0
  18. package/dist/chaos-manager/src/services/schemas/FaulttemplateAzureAuth.d.ts +3 -0
  19. package/dist/chaos-manager/src/services/schemas/FaulttemplateAzureAuth.js +4 -0
  20. package/dist/chaos-manager/src/services/schemas/FaulttemplateChaosKubernetesSpec.d.ts +0 -2
  21. package/dist/chaos-manager/src/services/schemas/FaulttemplateChaosSpec.d.ts +6 -0
  22. package/dist/chaos-manager/src/services/schemas/FaulttemplateGcpAuth.d.ts +3 -0
  23. package/dist/chaos-manager/src/services/schemas/FaulttemplateGcpAuth.js +4 -0
  24. package/dist/chaos-manager/src/services/schemas/FaulttemplateRedisAuth.d.ts +3 -0
  25. package/dist/chaos-manager/src/services/schemas/FaulttemplateRedisAuth.js +4 -0
  26. package/dist/chaos-manager/src/services/schemas/FaulttemplateSshAuth.d.ts +4 -0
  27. package/dist/chaos-manager/src/services/schemas/FaulttemplateSshAuth.js +4 -0
  28. package/dist/chaos-manager/src/services/schemas/FaulttemplateTls.d.ts +5 -0
  29. package/dist/chaos-manager/src/services/schemas/FaulttemplateTls.js +4 -0
  30. package/dist/chaos-manager/src/services/schemas/FaulttemplateVmWareAuth.d.ts +6 -0
  31. package/dist/chaos-manager/src/services/schemas/FaulttemplateVmWareAuth.js +4 -0
  32. package/dist/chaos-manager/src/services/schemas/ProbeApmProbeTemplate.d.ts +2 -2
  33. package/dist/chaos-manager/src/services/schemas/ProbeAuthorization.d.ts +0 -1
  34. package/dist/chaos-manager/src/services/schemas/ProbeAuthorizationTemplate.d.ts +0 -1
  35. package/dist/chaos-manager/src/services/schemas/{ProbeNewrelicMetric.d.ts → ProbeNewRelicMetric.d.ts} +1 -1
  36. package/dist/chaos-manager/src/services/schemas/ProbeNewRelicMetric.js +4 -0
  37. package/dist/chaos-manager/src/services/schemas/ProbeNewRelicProbeInputs.d.ts +5 -0
  38. package/dist/chaos-manager/src/services/schemas/ProbeNewRelicProbeInputs.js +1 -0
  39. package/dist/chaos-manager/src/services/schemas/TemplateVariableCategory.d.ts +1 -1
  40. package/dist/chaos-manager/src/services/schemas/TemplateVariableType.d.ts +1 -1
  41. package/dist/chaos-manager/src/services/schemas/V1ApmProbeInputs.d.ts +3 -3
  42. package/dist/chaos-manager/src/services/schemas/V1AppDynamicsInputs.d.ts +0 -4
  43. package/dist/chaos-manager/src/services/schemas/V1Authorization.d.ts +0 -1
  44. package/dist/chaos-manager/src/services/schemas/V1DynatraceApmProbeInputs.d.ts +0 -4
  45. package/dist/chaos-manager/src/services/schemas/V1NewRelicInputs.d.ts +15 -0
  46. package/dist/chaos-manager/src/services/schemas/V1NewRelicInputs.js +1 -0
  47. package/dist/chaos-manager/src/services/schemas/{V1NewrelicMetric.d.ts → V1NewRelicMetric.d.ts} +1 -1
  48. package/dist/chaos-manager/src/services/schemas/V1NewRelicMetric.js +4 -0
  49. package/dist/chaos-manager/src/services/schemas/V1PrometheusInputs.d.ts +2 -6
  50. package/dist/chaos-manager/src/services/schemas/V1SplunkObservabilityInputs.d.ts +0 -4
  51. package/package.json +1 -1
  52. package/dist/chaos-manager/src/services/schemas/ProbeNewrelicProbeInputs.d.ts +0 -5
  53. package/dist/chaos-manager/src/services/schemas/V1ApmProbeTlsConfig.d.ts +0 -14
  54. package/dist/chaos-manager/src/services/schemas/V1NewrelicInputs.d.ts +0 -19
  55. /package/dist/chaos-manager/src/services/schemas/{ProbeNewrelicMetric.js → ExperimentApiAuth.js} +0 -0
  56. /package/dist/chaos-manager/src/services/schemas/{ProbeNewrelicProbeInputs.js → ExperimentAuth.js} +0 -0
  57. /package/dist/chaos-manager/src/services/schemas/{V1ApmProbeTlsConfig.js → ExperimentAuthType.js} +0 -0
  58. /package/dist/chaos-manager/src/services/schemas/{V1NewrelicMetric.js → ExperimentRedisAuth.js} +0 -0
  59. /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
- organizationIdentifier: string;
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 0
13
+ * @default 10
12
14
  */
13
- page: number;
15
+ limit?: number;
16
+ organizationIdentifier?: string;
14
17
  /**
15
- * @default 15
18
+ * @default 0
16
19
  */
17
- limit: number;
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 { ProbeNewrelicMetric } from './schemas/ProbeNewrelicMetric';
757
- export type { ProbeNewrelicProbeInputs } from './schemas/ProbeNewrelicProbeInputs';
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 { V1NewrelicInputs } from './schemas/V1NewrelicInputs';
957
- export type { V1NewrelicMetric } from './schemas/V1NewrelicMetric';
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,4 @@
1
+ export interface ExperimentApiAuth {
2
+ caCert?: string;
3
+ serverCert?: string;
4
+ }
@@ -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,4 @@
1
+ export interface ExperimentRedisAuth {
2
+ password?: string;
3
+ tlsFile?: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ export interface ExperimentSshFaultAuth {
2
+ key?: string;
3
+ password?: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,6 @@
1
+ export interface ExperimentVmWareAuth {
2
+ vCenterPassword?: string;
3
+ vCenterServer?: string;
4
+ vCenterUsername?: string;
5
+ vmPassword?: string;
6
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ 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,3 @@
1
+ export interface FaulttemplateAwsAuth {
2
+ identifier?: string;
3
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,3 @@
1
+ export interface FaulttemplateAzureAuth {
2
+ identifier?: string;
3
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -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
  }
@@ -0,0 +1,3 @@
1
+ export interface FaulttemplateGcpAuth {
2
+ identifier?: string;
3
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,3 @@
1
+ export interface FaulttemplateRedisAuth {
2
+ password?: string;
3
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,4 @@
1
+ export interface FaulttemplateSshAuth {
2
+ key?: string;
3
+ password?: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,5 @@
1
+ export interface FaulttemplateTls {
2
+ caFile?: string;
3
+ certFile?: string;
4
+ keyFile?: string;
5
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,6 @@
1
+ export interface FaulttemplateVmWareAuth {
2
+ vCenterPassword?: string;
3
+ vCenterServer?: string;
4
+ vCenterUsername?: string;
5
+ vmPassword?: string;
6
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -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 { ProbeNewrelicProbeInputs } from '../schemas/ProbeNewrelicProbeInputs';
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
- newrelicProbeInputs?: ProbeNewrelicProbeInputs;
12
+ newRelicProbeInputs?: ProbeNewRelicProbeInputs;
13
13
  prometheusProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs;
14
14
  splunkObservabilityProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs;
15
15
  type?: ProbeApmProbeType;
@@ -1,5 +1,4 @@
1
1
  export interface ProbeAuthorization {
2
2
  credentials?: string;
3
- credentialsFile?: string;
4
3
  type?: string;
5
4
  }
@@ -1,5 +1,4 @@
1
1
  export interface ProbeAuthorizationTemplate {
2
2
  credentials?: string;
3
- credentialsFile?: string;
4
3
  type?: string;
5
4
  }
@@ -1,4 +1,4 @@
1
- export interface ProbeNewrelicMetric {
1
+ export interface ProbeNewRelicMetric {
2
2
  query?: string;
3
3
  queryMetric?: string;
4
4
  }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,5 @@
1
+ import type { ProbeNewRelicMetric } from '../schemas/ProbeNewRelicMetric';
2
+ export interface ProbeNewRelicProbeInputs {
3
+ connectorID?: string;
4
+ newRelicMetric?: ProbeNewRelicMetric;
5
+ }
@@ -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 { V1NewrelicInputs } from '../schemas/V1NewrelicInputs';
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
- * NewrelicInputs contains the inputs required for Newrelic probe
21
+ * NewRelicInputs contains the inputs required for NewRelic probe
22
22
  */
23
- newrelicInputs?: V1NewrelicInputs;
23
+ newRelicInputs?: V1NewRelicInputs;
24
24
  /**
25
25
  * PrometheusInputs contains the inputs required for prometheus probe
26
26
  */
@@ -4,10 +4,6 @@ export interface V1AppDynamicsInputs {
4
4
  * AppdMetrics contains the appd metrics
5
5
  */
6
6
  appdMetrics?: V1AppdMetrics;
7
- /**
8
- * AuthSecretName secret name for the authentication
9
- */
10
- authSecretName?: string;
11
7
  /**
12
8
  * Endpoint for the AppDynamics probe
13
9
  */
@@ -1,5 +1,4 @@
1
1
  export interface V1Authorization {
2
2
  credentials?: string;
3
- credentialsFile?: string;
4
3
  type?: string;
5
4
  }
@@ -1,9 +1,5 @@
1
1
  import type { V1Metrics } from '../schemas/V1Metrics';
2
2
  export interface V1DynatraceApmProbeInputs {
3
- /**
4
- * AuthSecretName secret name for the authentication
5
- */
6
- authSecretName?: string;
7
3
  /**
8
4
  * DurationInMin contains the duration in minutes
9
5
  */
@@ -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
+ }
@@ -1,4 +1,4 @@
1
- export interface V1NewrelicMetric {
1
+ export interface V1NewRelicMetric {
2
2
  /**
3
3
  * Query contains the query for the metrics
4
4
  */
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -1,9 +1,5 @@
1
- import type { V1ApmProbeTlsConfig } from '../schemas/V1ApmProbeTlsConfig';
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?: V1ApmProbeTlsConfig;
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.22.0",
3
+ "version": "1.23.1",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",
@@ -1,5 +0,0 @@
1
- import type { ProbeNewrelicMetric } from '../schemas/ProbeNewrelicMetric';
2
- export interface ProbeNewrelicProbeInputs {
3
- connectorID?: string;
4
- newrelicMetric?: ProbeNewrelicMetric;
5
- }
@@ -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
- }