@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.
- package/dist/chaos-manager/src/services/index.d.ts +0 -2
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosExecutionNode.d.ts +4 -4
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosExecutionResponse.d.ts +5 -4
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesFaultData.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExperimentRunChaosExperimentRun.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ExecutionChaosStepStatus.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppdMetrics.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ModelWorkflowRun.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ResourceQuantity.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/V1AppdMetrics.d.ts +4 -0
- package/package.json +1 -1
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosStepStatus.d.ts +0 -1
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosStepStatus.js +0 -4
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosStepType.d.ts +0 -1
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosStepType.js +0 -4
|
@@ -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 {
|
|
4
|
-
import type {
|
|
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?:
|
|
20
|
+
status?: ExecutionChaosStepStatus;
|
|
21
21
|
stepName?: string;
|
|
22
|
-
stepType?:
|
|
22
|
+
stepType?: ExecutionChaosStepType;
|
|
23
23
|
streamID?: string;
|
|
24
24
|
}
|
package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosExecutionResponse.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ChaosExecutionNodesChaosExecutionNode } from '../schemas/ChaosExecutionNodesChaosExecutionNode';
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
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?:
|
|
21
|
+
status?: ExecutionChaosStepStatus;
|
|
21
22
|
stepName?: string;
|
|
22
|
-
stepType?:
|
|
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
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type ExecutionChaosStepStatus = '
|
|
1
|
+
export type ExecutionChaosStepStatus = 'Completed' | 'Completed_With_Probe_Failure' | 'Error' | 'Failed' | 'Interrupted' | 'Passed' | 'Pending' | 'Queued' | 'Running' | 'Skipped' | 'Stopped';
|
|
@@ -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
|
*/
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type ChaosExecutionNodesChaosStepStatus = 'COMPLETED' | 'FAILED' | 'PENDING' | 'RUNNING' | 'SKIPPED' | 'STOPPED';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type ChaosExecutionNodesChaosStepType = 'ACTION' | 'EXPERIMENT' | 'FAULT' | 'PROBE';
|