@harnessio/react-chaos-manager-client 1.7.0 → 1.8.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.
@@ -289,8 +289,6 @@ export type { ChaosExecutionNodesActionData } from './schemas/ChaosExecutionNode
289
289
  export type { ChaosExecutionNodesChaosData } from './schemas/ChaosExecutionNodesChaosData';
290
290
  export type { ChaosExecutionNodesChaosExecutionNode } from './schemas/ChaosExecutionNodesChaosExecutionNode';
291
291
  export type { ChaosExecutionNodesChaosExecutionResponse } from './schemas/ChaosExecutionNodesChaosExecutionResponse';
292
- export type { ChaosExecutionNodesChaosStepStatus } from './schemas/ChaosExecutionNodesChaosStepStatus';
293
- export type { ChaosExecutionNodesChaosStepType } from './schemas/ChaosExecutionNodesChaosStepType';
294
292
  export type { ChaosExecutionNodesCommandProbe } from './schemas/ChaosExecutionNodesCommandProbe';
295
293
  export type { ChaosExecutionNodesErrorData } from './schemas/ChaosExecutionNodesErrorData';
296
294
  export type { ChaosExecutionNodesFaultData } from './schemas/ChaosExecutionNodesFaultData';
@@ -1,7 +1,7 @@
1
1
  import type { ChaosExecutionNodesChaosData } from '../schemas/ChaosExecutionNodesChaosData';
2
2
  import type { ChaosExecutionNodesErrorData } from '../schemas/ChaosExecutionNodesErrorData';
3
- import type { ChaosExecutionNodesChaosStepStatus } from '../schemas/ChaosExecutionNodesChaosStepStatus';
4
- import type { ChaosExecutionNodesChaosStepType } from '../schemas/ChaosExecutionNodesChaosStepType';
3
+ import type { ExecutionChaosStepStatus } from '../schemas/ExecutionChaosStepStatus';
4
+ import type { ExecutionChaosStepType } from '../schemas/ExecutionChaosStepType';
5
5
  export interface ChaosExecutionNodesChaosExecutionNode {
6
6
  accountID: string;
7
7
  chaosData?: ChaosExecutionNodesChaosData;
@@ -17,8 +17,8 @@ export interface ChaosExecutionNodesChaosExecutionNode {
17
17
  projectID?: string;
18
18
  spec?: string;
19
19
  startedAt?: number;
20
- status?: ChaosExecutionNodesChaosStepStatus;
20
+ status?: ExecutionChaosStepStatus;
21
21
  stepName?: string;
22
- stepType?: ChaosExecutionNodesChaosStepType;
22
+ stepType?: ExecutionChaosStepType;
23
23
  streamID?: string;
24
24
  }
@@ -1,6 +1,6 @@
1
1
  import type { ChaosExecutionNodesChaosExecutionNode } from '../schemas/ChaosExecutionNodesChaosExecutionNode';
2
- import type { ChaosExecutionNodesChaosStepStatus } from '../schemas/ChaosExecutionNodesChaosStepStatus';
3
- import type { ChaosExecutionNodesChaosStepType } from '../schemas/ChaosExecutionNodesChaosStepType';
2
+ import type { ExecutionChaosStepStatus } from '../schemas/ExecutionChaosStepStatus';
3
+ import type { ExecutionChaosStepType } from '../schemas/ExecutionChaosStepType';
4
4
  export interface ChaosExecutionNodesChaosExecutionResponse {
5
5
  accountID: string;
6
6
  duration?: number;
@@ -11,13 +11,14 @@ export interface ChaosExecutionNodesChaosExecutionResponse {
11
11
  infraID?: string;
12
12
  isRemoved?: boolean;
13
13
  lastUpdatedAt?: number;
14
+ manifestVersion?: string;
14
15
  nodes?: ChaosExecutionNodesChaosExecutionNode[];
15
16
  orgID?: string;
16
17
  projectID?: string;
17
18
  resiliencyScore?: number;
18
19
  runSequence?: number;
19
20
  startedAt?: number;
20
- status?: ChaosExecutionNodesChaosStepStatus;
21
+ status?: ExecutionChaosStepStatus;
21
22
  stepName?: string;
22
- stepType?: ChaosExecutionNodesChaosStepType;
23
+ stepType?: ExecutionChaosStepType;
23
24
  }
@@ -1,8 +1,12 @@
1
1
  import type { ChaosExecutionNodesFaultDetails } from '../schemas/ChaosExecutionNodesFaultDetails';
2
2
  import type { ChaosExecutionNodesHelperPodDetails } from '../schemas/ChaosExecutionNodesHelperPodDetails';
3
+ import type { V1alpha1TargetDetails } from '../schemas/V1alpha1TargetDetails';
4
+ import type { V1alpha1Targets } from '../schemas/V1alpha1Targets';
3
5
  export interface ChaosExecutionNodesFaultData {
4
6
  faultDetails?: ChaosExecutionNodesFaultDetails;
5
7
  helperPodDetails?: ChaosExecutionNodesHelperPodDetails[];
6
8
  name?: string;
7
9
  namespace?: string;
10
+ targetChaosStatus?: V1alpha1TargetDetails[];
11
+ targets?: V1alpha1Targets[];
8
12
  }
@@ -22,6 +22,7 @@ export interface ChaosExperimentRunChaosExperimentRun {
22
22
  faultsWithProbes?: ChaosExperimentRunFaults[];
23
23
  infraID?: string;
24
24
  isRemoved: boolean;
25
+ manifestVersion?: string;
25
26
  networkMapID?: string;
26
27
  notifyID?: string;
27
28
  orgID?: string;
@@ -1 +1 @@
1
- export type ExecutionChaosStepStatus = 'COMPLETED' | 'COMPLETED_WITH_PROBE_FAILURE' | 'ERROR' | 'FAILED' | 'PASSED' | 'PENDING' | 'RUNNING' | 'SKIPPED' | 'STOPPED';
1
+ export type ExecutionChaosStepStatus = 'Completed' | 'Completed_With_Probe_Failure' | 'Error' | 'Failed' | 'Interrupted' | 'Passed' | 'Pending' | 'Queued' | 'Running' | 'Skipped' | 'Stopped';
@@ -1,4 +1,5 @@
1
1
  export interface GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppdMetrics {
2
+ applicationName?: string;
2
3
  durationInMin?: {};
3
4
  metricsFullPath?: string;
4
5
  }
@@ -70,6 +70,10 @@ export interface ModelWorkflowRun {
70
70
  * Flag to check if single run status is enabled or not
71
71
  */
72
72
  isSingleRunCronEnabled?: boolean;
73
+ /**
74
+ * kind of the experiment manifest
75
+ */
76
+ manifestVersion?: string;
73
77
  /**
74
78
  * Notify ID of the experiment run
75
79
  */
@@ -1,3 +1,3 @@
1
1
  export interface ResourceQuantity {
2
- Format?: 'BinarySI' | 'DecimalExponent' | 'DecimalSI';
2
+ Format?: string;
3
3
  }
@@ -1,4 +1,8 @@
1
1
  export interface V1AppdMetrics {
2
+ /**
3
+ * ApplicationName contains the application name
4
+ */
5
+ applicationName?: string;
2
6
  /**
3
7
  * DurationInMin contains the duration in minutes
4
8
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.7.0",
3
+ "version": "1.8.0",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",
@@ -1 +0,0 @@
1
- export type ChaosExecutionNodesChaosStepStatus = 'COMPLETED' | 'FAILED' | 'PENDING' | 'RUNNING' | 'SKIPPED' | 'STOPPED';
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
- export {};
@@ -1 +0,0 @@
1
- export type ChaosExecutionNodesChaosStepType = 'ACTION' | 'EXPERIMENT' | 'FAULT' | 'PROBE';
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
- export {};