@harnessio/react-chaos-manager-client 1.51.0 → 1.51.1-beta.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/index.d.ts +3 -1
- package/dist/chaos-manager/src/services/schemas/ActionsActionResponse.d.ts +3 -5
- package/dist/chaos-manager/src/services/schemas/ChaosactiontemplateChaosActionTemplate.d.ts +3 -5
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentsGetChaosComponentVariableData.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateChaosExperimentTemplate.d.ts +2 -6
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateInputs.d.ts +2 -6
- package/dist/chaos-manager/src/services/schemas/ChaosfaultChaosFault.d.ts +2 -6
- package/dist/chaos-manager/src/services/schemas/ChaosfaultCreateFaultRequest.d.ts +5 -4
- package/dist/chaos-manager/src/services/schemas/ChaosfaultCreateFaultResponse.d.ts +5 -4
- package/dist/chaos-manager/src/services/schemas/ChaosfaultFaultVariables.d.ts +5 -9
- package/dist/chaos-manager/src/services/schemas/ChaosfaultGetFaultResponse.d.ts +5 -4
- package/dist/chaos-manager/src/services/schemas/ChaosfaultUpdateFaultRequest.d.ts +5 -4
- package/dist/chaos-manager/src/services/schemas/ChaosfaultUpdateFaultResponse.d.ts +5 -4
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateActionTemplate.d.ts +3 -5
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateActionTemplateVariables.d.ts +4 -8
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateChaosFaultTemplate.d.ts +2 -6
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateRequest.d.ts +3 -2
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateResponse.d.ts +3 -2
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateFaultTemplateVariables.d.ts +5 -9
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateUpdateFaultTemplateResponse.d.ts +3 -2
- package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateProbeTemplate.d.ts +3 -5
- package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateProbeTemplateVariables.d.ts +4 -8
- package/dist/chaos-manager/src/services/schemas/ExperimentActionRef.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/ExperimentFaultRef.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/ExperimentProbeRef.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/ExperimenttemplateAction.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/ExperimenttemplateFault.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/ExperimenttemplateProbe.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/FaulttemplateFaultTemplate.d.ts +3 -2
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgActionsAction.d.ts +3 -5
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAction.d.ts +3 -5
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprobetemplateChaosProbeTemplate.d.ts +3 -5
- package/dist/chaos-manager/src/services/schemas/TemplateChaosComponentInputsetSpec.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/TemplateChaosExperimentInputsetSpec.d.ts +3 -3
- package/dist/chaos-manager/src/services/schemas/TemplateInput.d.ts +17 -0
- package/dist/chaos-manager/src/services/schemas/TemplateInput.js +1 -0
- package/dist/chaos-manager/src/services/schemas/TemplateInputMinimum.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/TemplateRunTimeInputs.d.ts +3 -3
- package/dist/chaos-manager/src/services/schemas/TemplateVariable.d.ts +2 -10
- package/dist/chaos-manager/src/services/schemas/TemplateVariableType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/TemplateVariableType.js +4 -0
- package/dist/chaos-manager/src/services/schemas/TypesCreateProbeResponse.d.ts +3 -5
- package/dist/chaos-manager/src/services/schemas/TypesGetProbeResponse.d.ts +3 -5
- package/dist/chaos-manager/src/services/schemas/TypesProbeRequest.d.ts +3 -5
- package/dist/chaos-manager/src/services/schemas/V3GetExperimentOrTemplateVariableData.d.ts +2 -2
- package/package.json +1 -1
- package/dist/chaos-manager/src/services/schemas/TemplateVariableMinimum.d.ts +0 -4
- /package/dist/chaos-manager/src/services/schemas/{TemplateVariableMinimum.js → TemplateInputMinimum.js} +0 -0
|
@@ -1058,11 +1058,13 @@ export type { TargetserviceServiceType } from './schemas/TargetserviceServiceTyp
|
|
|
1058
1058
|
export type { TargetserviceTargetService } from './schemas/TargetserviceTargetService';
|
|
1059
1059
|
export type { TemplateChaosComponentInputsetSpec } from './schemas/TemplateChaosComponentInputsetSpec';
|
|
1060
1060
|
export type { TemplateChaosExperimentInputsetSpec } from './schemas/TemplateChaosExperimentInputsetSpec';
|
|
1061
|
+
export type { TemplateInput } from './schemas/TemplateInput';
|
|
1061
1062
|
export type { TemplateInputCategory } from './schemas/TemplateInputCategory';
|
|
1063
|
+
export type { TemplateInputMinimum } from './schemas/TemplateInputMinimum';
|
|
1062
1064
|
export type { TemplateInputType } from './schemas/TemplateInputType';
|
|
1063
1065
|
export type { TemplateRunTimeInputs } from './schemas/TemplateRunTimeInputs';
|
|
1064
1066
|
export type { TemplateVariable } from './schemas/TemplateVariable';
|
|
1065
|
-
export type {
|
|
1067
|
+
export type { TemplateVariableType } from './schemas/TemplateVariableType';
|
|
1066
1068
|
export type { TypesActionItem } from './schemas/TypesActionItem';
|
|
1067
1069
|
export type { TypesCreateExperimentFromTemplateRequest } from './schemas/TypesCreateExperimentFromTemplateRequest';
|
|
1068
1070
|
export type { TypesCreateGamedayRequest } from './schemas/TypesCreateGamedayRequest';
|
|
@@ -2,11 +2,12 @@ import type { ActionActionTemplateProperties } from '../schemas/ActionActionTemp
|
|
|
2
2
|
import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
|
|
3
3
|
import type { MongodbImportType } from '../schemas/MongodbImportType';
|
|
4
4
|
import type { ActionsInfrastructureType } from '../schemas/ActionsInfrastructureType';
|
|
5
|
-
import type {
|
|
5
|
+
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
6
6
|
import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
|
|
7
7
|
import type { ActionsRecentExecutions } from '../schemas/ActionsRecentExecutions';
|
|
8
8
|
import type { ActionActionTemplateRunProperties } from '../schemas/ActionActionTemplateRunProperties';
|
|
9
9
|
import type { ActionsActionType } from '../schemas/ActionsActionType';
|
|
10
|
+
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
10
11
|
export interface ActionsActionResponse {
|
|
11
12
|
accountID: string;
|
|
12
13
|
actionProperties?: ActionActionTemplateProperties;
|
|
@@ -21,7 +22,7 @@ export interface ActionsActionResponse {
|
|
|
21
22
|
identity?: string;
|
|
22
23
|
importType?: MongodbImportType;
|
|
23
24
|
infrastructureType?: ActionsInfrastructureType;
|
|
24
|
-
inputs?:
|
|
25
|
+
inputs?: TemplateInput[];
|
|
25
26
|
isImported?: boolean;
|
|
26
27
|
isRemoved?: boolean;
|
|
27
28
|
managedBy?: MongodbManagedBy;
|
|
@@ -34,8 +35,5 @@ export interface ActionsActionResponse {
|
|
|
34
35
|
type?: ActionsActionType;
|
|
35
36
|
updatedAt?: number;
|
|
36
37
|
updatedBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
37
|
-
/**
|
|
38
|
-
* CHAOS-11100
|
|
39
|
-
*/
|
|
40
38
|
variables?: TemplateVariable[];
|
|
41
39
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { ActionActionTemplateProperties } from '../schemas/ActionActionTemplateProperties';
|
|
2
2
|
import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
|
|
3
3
|
import type { ActionsInfrastructureType } from '../schemas/ActionsInfrastructureType';
|
|
4
|
-
import type {
|
|
4
|
+
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
5
5
|
import type { ActionActionTemplateRunProperties } from '../schemas/ActionActionTemplateRunProperties';
|
|
6
6
|
import type { ActionsActionType } from '../schemas/ActionsActionType';
|
|
7
|
+
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
7
8
|
export interface ChaosactiontemplateChaosActionTemplate {
|
|
8
9
|
accountID: string;
|
|
9
10
|
/**
|
|
@@ -22,7 +23,7 @@ export interface ChaosactiontemplateChaosActionTemplate {
|
|
|
22
23
|
*/
|
|
23
24
|
identity?: string;
|
|
24
25
|
infrastructureType?: ActionsInfrastructureType;
|
|
25
|
-
inputs?:
|
|
26
|
+
inputs?: TemplateInput[];
|
|
26
27
|
/**
|
|
27
28
|
* isDefault indicates if it is the default version
|
|
28
29
|
* for predefined faults, latest should be set as default
|
|
@@ -48,8 +49,5 @@ export interface ChaosactiontemplateChaosActionTemplate {
|
|
|
48
49
|
updatedAt?: number;
|
|
49
50
|
updatedBy?: string;
|
|
50
51
|
updatedByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
51
|
-
/**
|
|
52
|
-
* CHAOS-11100
|
|
53
|
-
*/
|
|
54
52
|
variables?: TemplateVariable[];
|
|
55
53
|
}
|
package/dist/chaos-manager/src/services/schemas/ChaoscomponentsGetChaosComponentVariableData.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
2
2
|
export interface ChaoscomponentsGetChaosComponentVariableData {
|
|
3
3
|
name?: string;
|
|
4
|
-
variables?:
|
|
4
|
+
variables?: TemplateInput[];
|
|
5
5
|
}
|
package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateChaosExperimentTemplate.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
|
|
2
2
|
import type { ExperimentInfraType } from '../schemas/ExperimentInfraType';
|
|
3
|
-
import type {
|
|
3
|
+
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
4
4
|
export interface ChaosexperimenttemplateChaosExperimentTemplate {
|
|
5
5
|
accountID: string;
|
|
6
6
|
createdAt?: number;
|
|
@@ -16,7 +16,7 @@ export interface ChaosexperimenttemplateChaosExperimentTemplate {
|
|
|
16
16
|
identity?: string;
|
|
17
17
|
infraType?: ExperimentInfraType;
|
|
18
18
|
infras?: string[];
|
|
19
|
-
inputs?:
|
|
19
|
+
inputs?: TemplateInput[];
|
|
20
20
|
isDefault?: boolean;
|
|
21
21
|
isEnterprise?: boolean;
|
|
22
22
|
isRemoved: boolean;
|
|
@@ -29,8 +29,4 @@ export interface ChaosexperimenttemplateChaosExperimentTemplate {
|
|
|
29
29
|
updatedAt?: number;
|
|
30
30
|
updatedBy?: string;
|
|
31
31
|
updatedByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
32
|
-
/**
|
|
33
|
-
* CHAOS-11100
|
|
34
|
-
*/
|
|
35
|
-
variables?: TemplateVariable[];
|
|
36
32
|
}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
2
2
|
export interface ChaosexperimenttemplateInputs {
|
|
3
|
-
inputs?:
|
|
3
|
+
inputs?: TemplateInput[];
|
|
4
4
|
name?: string;
|
|
5
|
-
/**
|
|
6
|
-
* CHAOS-11100
|
|
7
|
-
*/
|
|
8
|
-
variables?: TemplateVariable[];
|
|
9
5
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
|
|
2
2
|
import type { MongodbImportType } from '../schemas/MongodbImportType';
|
|
3
|
-
import type {
|
|
3
|
+
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
4
4
|
import type { ChaosfaultLink } from '../schemas/ChaosfaultLink';
|
|
5
5
|
import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
|
|
6
6
|
export interface ChaosfaultChaosFault {
|
|
@@ -22,7 +22,7 @@ export interface ChaosfaultChaosFault {
|
|
|
22
22
|
importType?: MongodbImportType;
|
|
23
23
|
infraType?: string;
|
|
24
24
|
infras?: string[];
|
|
25
|
-
inputs?:
|
|
25
|
+
inputs?: TemplateInput[];
|
|
26
26
|
isEnterprise?: boolean;
|
|
27
27
|
isRemoved: boolean;
|
|
28
28
|
links?: ChaosfaultLink[];
|
|
@@ -40,8 +40,4 @@ export interface ChaosfaultChaosFault {
|
|
|
40
40
|
updatedAt?: number;
|
|
41
41
|
updatedBy?: string;
|
|
42
42
|
updatedByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
43
|
-
/**
|
|
44
|
-
* CHAOS-11100
|
|
45
|
-
*/
|
|
46
|
-
variables?: TemplateVariable[];
|
|
47
43
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import type { CommonImportType } from '../schemas/CommonImportType';
|
|
2
|
-
import type {
|
|
2
|
+
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
3
3
|
import type { FaultLink } from '../schemas/FaultLink';
|
|
4
4
|
import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
|
|
5
5
|
import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
|
|
6
6
|
import type { FaultTemplateReference } from '../schemas/FaultTemplateReference';
|
|
7
|
-
import type {
|
|
7
|
+
import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
|
|
8
|
+
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
8
9
|
export interface ChaosfaultCreateFaultRequest {
|
|
9
10
|
apiVersion?: string;
|
|
10
11
|
category?: string[];
|
|
@@ -13,7 +14,7 @@ export interface ChaosfaultCreateFaultRequest {
|
|
|
13
14
|
importType?: CommonImportType;
|
|
14
15
|
infraType?: string;
|
|
15
16
|
infras?: string[];
|
|
16
|
-
inputs?:
|
|
17
|
+
inputs?: TemplateInput[];
|
|
17
18
|
kind?: string;
|
|
18
19
|
links?: FaultLink[];
|
|
19
20
|
managedBy?: MongodbManagedBy;
|
|
@@ -24,6 +25,6 @@ export interface ChaosfaultCreateFaultRequest {
|
|
|
24
25
|
templateReference?: FaultTemplateReference;
|
|
25
26
|
type?: string;
|
|
26
27
|
updatedAt?: number;
|
|
27
|
-
values?:
|
|
28
|
+
values?: TemplateInputMinimum[];
|
|
28
29
|
variables?: TemplateVariable[];
|
|
29
30
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { CommonImportType } from '../schemas/CommonImportType';
|
|
2
|
-
import type {
|
|
2
|
+
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
3
3
|
import type { FaultLink } from '../schemas/FaultLink';
|
|
4
4
|
import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
|
|
5
5
|
import type { FaultTemplateReference } from '../schemas/FaultTemplateReference';
|
|
6
|
-
import type {
|
|
6
|
+
import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
|
|
7
|
+
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
7
8
|
export interface ChaosfaultCreateFaultResponse {
|
|
8
9
|
apiVersion?: string;
|
|
9
10
|
category?: string[];
|
|
@@ -14,7 +15,7 @@ export interface ChaosfaultCreateFaultResponse {
|
|
|
14
15
|
importType?: CommonImportType;
|
|
15
16
|
infraType?: string;
|
|
16
17
|
infras?: string[];
|
|
17
|
-
inputs?:
|
|
18
|
+
inputs?: TemplateInput[];
|
|
18
19
|
kind?: string;
|
|
19
20
|
links?: FaultLink[];
|
|
20
21
|
name: string;
|
|
@@ -24,6 +25,6 @@ export interface ChaosfaultCreateFaultResponse {
|
|
|
24
25
|
templateReference?: FaultTemplateReference;
|
|
25
26
|
type?: string;
|
|
26
27
|
updatedAt?: number;
|
|
27
|
-
values?:
|
|
28
|
+
values?: TemplateInputMinimum[];
|
|
28
29
|
variables?: TemplateVariable[];
|
|
29
30
|
}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
2
2
|
export interface ChaosfaultFaultVariables {
|
|
3
3
|
correlationID?: string;
|
|
4
|
-
faultAuthentication?:
|
|
5
|
-
faultTargets?:
|
|
6
|
-
faultTunable?:
|
|
7
|
-
inputs?:
|
|
8
|
-
/**
|
|
9
|
-
* CHAOS-11100
|
|
10
|
-
*/
|
|
11
|
-
variables?: TemplateVariable[];
|
|
4
|
+
faultAuthentication?: TemplateInput[];
|
|
5
|
+
faultTargets?: TemplateInput[];
|
|
6
|
+
faultTunable?: TemplateInput[];
|
|
7
|
+
inputs?: TemplateInput[];
|
|
12
8
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import type { CommonImportType } from '../schemas/CommonImportType';
|
|
2
|
-
import type {
|
|
2
|
+
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
3
3
|
import type { FaultLink } from '../schemas/FaultLink';
|
|
4
4
|
import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
|
|
5
5
|
import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
|
|
6
6
|
import type { FaultTemplateReference } from '../schemas/FaultTemplateReference';
|
|
7
|
-
import type {
|
|
7
|
+
import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
|
|
8
|
+
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
8
9
|
export interface ChaosfaultGetFaultResponse {
|
|
9
10
|
apiVersion?: string;
|
|
10
11
|
category?: string[];
|
|
@@ -14,7 +15,7 @@ export interface ChaosfaultGetFaultResponse {
|
|
|
14
15
|
importType?: CommonImportType;
|
|
15
16
|
infraType?: string;
|
|
16
17
|
infras?: string[];
|
|
17
|
-
inputs?:
|
|
18
|
+
inputs?: TemplateInput[];
|
|
18
19
|
isEnterprise?: boolean;
|
|
19
20
|
kind?: string;
|
|
20
21
|
links?: FaultLink[];
|
|
@@ -26,6 +27,6 @@ export interface ChaosfaultGetFaultResponse {
|
|
|
26
27
|
templateReference?: FaultTemplateReference;
|
|
27
28
|
type?: string;
|
|
28
29
|
updatedAt?: number;
|
|
29
|
-
values?:
|
|
30
|
+
values?: TemplateInputMinimum[];
|
|
30
31
|
variables?: TemplateVariable[];
|
|
31
32
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { CommonImportType } from '../schemas/CommonImportType';
|
|
2
|
-
import type {
|
|
2
|
+
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
3
3
|
import type { FaultLink } from '../schemas/FaultLink';
|
|
4
4
|
import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
|
|
5
5
|
import type { FaultTemplateReference } from '../schemas/FaultTemplateReference';
|
|
6
|
-
import type {
|
|
6
|
+
import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
|
|
7
|
+
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
7
8
|
export interface ChaosfaultUpdateFaultRequest {
|
|
8
9
|
apiVersion?: string;
|
|
9
10
|
category?: string[];
|
|
@@ -12,7 +13,7 @@ export interface ChaosfaultUpdateFaultRequest {
|
|
|
12
13
|
importType?: CommonImportType;
|
|
13
14
|
infraType?: string;
|
|
14
15
|
infras?: string[];
|
|
15
|
-
inputs?:
|
|
16
|
+
inputs?: TemplateInput[];
|
|
16
17
|
kind?: string;
|
|
17
18
|
links?: FaultLink[];
|
|
18
19
|
name: string;
|
|
@@ -22,6 +23,6 @@ export interface ChaosfaultUpdateFaultRequest {
|
|
|
22
23
|
templateReference?: FaultTemplateReference;
|
|
23
24
|
type?: string;
|
|
24
25
|
updatedAt?: number;
|
|
25
|
-
values?:
|
|
26
|
+
values?: TemplateInputMinimum[];
|
|
26
27
|
variables?: TemplateVariable[];
|
|
27
28
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { CommonImportType } from '../schemas/CommonImportType';
|
|
2
|
-
import type {
|
|
2
|
+
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
3
3
|
import type { FaultLink } from '../schemas/FaultLink';
|
|
4
4
|
import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
|
|
5
5
|
import type { FaultTemplateReference } from '../schemas/FaultTemplateReference';
|
|
6
|
-
import type {
|
|
6
|
+
import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
|
|
7
|
+
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
7
8
|
export interface ChaosfaultUpdateFaultResponse {
|
|
8
9
|
apiVersion?: string;
|
|
9
10
|
category?: string[];
|
|
@@ -13,7 +14,7 @@ export interface ChaosfaultUpdateFaultResponse {
|
|
|
13
14
|
importType?: CommonImportType;
|
|
14
15
|
infraType?: string;
|
|
15
16
|
infras?: string[];
|
|
16
|
-
inputs?:
|
|
17
|
+
inputs?: TemplateInput[];
|
|
17
18
|
kind?: string;
|
|
18
19
|
links?: FaultLink[];
|
|
19
20
|
name: string;
|
|
@@ -23,6 +24,6 @@ export interface ChaosfaultUpdateFaultResponse {
|
|
|
23
24
|
templateReference?: FaultTemplateReference;
|
|
24
25
|
type?: string;
|
|
25
26
|
updatedAt?: number;
|
|
26
|
-
values?:
|
|
27
|
+
values?: TemplateInputMinimum[];
|
|
27
28
|
variables?: TemplateVariable[];
|
|
28
29
|
}
|
|
@@ -1,22 +1,20 @@
|
|
|
1
1
|
import type { ActionActionTemplateProperties } from '../schemas/ActionActionTemplateProperties';
|
|
2
2
|
import type { ActionsInfrastructureType } from '../schemas/ActionsInfrastructureType';
|
|
3
|
-
import type {
|
|
3
|
+
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
4
4
|
import type { ActionActionTemplateRunProperties } from '../schemas/ActionActionTemplateRunProperties';
|
|
5
|
+
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
5
6
|
export interface ChaosfaulttemplateActionTemplate {
|
|
6
7
|
actionProperties?: ActionActionTemplateProperties;
|
|
7
8
|
description?: string;
|
|
8
9
|
hubRef?: string;
|
|
9
10
|
identity?: string;
|
|
10
11
|
infrastructureType?: ActionsInfrastructureType;
|
|
11
|
-
inputs?:
|
|
12
|
+
inputs?: TemplateInput[];
|
|
12
13
|
isDefault?: boolean;
|
|
13
14
|
name: string;
|
|
14
15
|
revision?: number;
|
|
15
16
|
runProperties?: ActionActionTemplateRunProperties;
|
|
16
17
|
tags?: string[];
|
|
17
18
|
type?: string;
|
|
18
|
-
/**
|
|
19
|
-
* CHAOS-11100
|
|
20
|
-
*/
|
|
21
19
|
variables?: TemplateVariable[];
|
|
22
20
|
}
|
package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateActionTemplateVariables.d.ts
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
2
2
|
export interface ChaosfaulttemplateActionTemplateVariables {
|
|
3
|
-
actionProperties?:
|
|
4
|
-
actionRunProperty?:
|
|
5
|
-
inputs?:
|
|
6
|
-
/**
|
|
7
|
-
* CHAOS-11100
|
|
8
|
-
*/
|
|
9
|
-
variables?: TemplateVariable[];
|
|
3
|
+
actionProperties?: TemplateInput[];
|
|
4
|
+
actionRunProperty?: TemplateInput[];
|
|
5
|
+
inputs?: TemplateInput[];
|
|
10
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
|
|
2
|
-
import type {
|
|
2
|
+
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
3
3
|
import type { ChaosfaulttemplateLink } from '../schemas/ChaosfaulttemplateLink';
|
|
4
4
|
export interface ChaosfaulttemplateChaosFaultTemplate {
|
|
5
5
|
accountID: string;
|
|
@@ -22,7 +22,7 @@ export interface ChaosfaulttemplateChaosFaultTemplate {
|
|
|
22
22
|
identity?: string;
|
|
23
23
|
infraType?: string;
|
|
24
24
|
infras?: string[];
|
|
25
|
-
inputs?:
|
|
25
|
+
inputs?: TemplateInput[];
|
|
26
26
|
isDefault?: boolean;
|
|
27
27
|
isEnterprise?: boolean;
|
|
28
28
|
isRemoved: boolean;
|
|
@@ -38,8 +38,4 @@ export interface ChaosfaulttemplateChaosFaultTemplate {
|
|
|
38
38
|
updatedAt?: number;
|
|
39
39
|
updatedBy?: string;
|
|
40
40
|
updatedByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
41
|
-
/**
|
|
42
|
-
* CHAOS-11100
|
|
43
|
-
*/
|
|
44
|
-
variables?: TemplateVariable[];
|
|
45
41
|
}
|
package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateRequest.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
2
2
|
import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
|
|
3
3
|
import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
|
|
4
|
+
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
4
5
|
export interface ChaosfaulttemplateCreateFaultTemplateRequest {
|
|
5
6
|
apiVersion?: string;
|
|
6
7
|
category?: string[];
|
|
@@ -8,7 +9,7 @@ export interface ChaosfaulttemplateCreateFaultTemplateRequest {
|
|
|
8
9
|
identity: string;
|
|
9
10
|
infraType?: string;
|
|
10
11
|
infras?: string[];
|
|
11
|
-
inputs?:
|
|
12
|
+
inputs?: TemplateInput[];
|
|
12
13
|
isDefault?: boolean;
|
|
13
14
|
keywords?: string[];
|
|
14
15
|
kind?: string;
|
package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateResponse.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
2
2
|
import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
|
|
3
3
|
import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
|
|
4
|
+
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
4
5
|
export interface ChaosfaulttemplateCreateFaultTemplateResponse {
|
|
5
6
|
apiVersion?: string;
|
|
6
7
|
category?: string[];
|
|
@@ -10,7 +11,7 @@ export interface ChaosfaulttemplateCreateFaultTemplateResponse {
|
|
|
10
11
|
identity: string;
|
|
11
12
|
infraType?: string;
|
|
12
13
|
infras?: string[];
|
|
13
|
-
inputs?:
|
|
14
|
+
inputs?: TemplateInput[];
|
|
14
15
|
isDefault?: boolean;
|
|
15
16
|
keywords?: string[];
|
|
16
17
|
kind?: string;
|
package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateFaultTemplateVariables.d.ts
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
2
2
|
export interface ChaosfaulttemplateFaultTemplateVariables {
|
|
3
3
|
correlationID?: string;
|
|
4
|
-
faultAuthentication?:
|
|
5
|
-
faultTargets?:
|
|
6
|
-
faultTunable?:
|
|
7
|
-
inputs?:
|
|
8
|
-
/**
|
|
9
|
-
* CHAOS-11100
|
|
10
|
-
*/
|
|
11
|
-
variables?: TemplateVariable[];
|
|
4
|
+
faultAuthentication?: TemplateInput[];
|
|
5
|
+
faultTargets?: TemplateInput[];
|
|
6
|
+
faultTunable?: TemplateInput[];
|
|
7
|
+
inputs?: TemplateInput[];
|
|
12
8
|
}
|
package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateUpdateFaultTemplateResponse.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
2
2
|
import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
|
|
3
3
|
import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
|
|
4
|
+
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
4
5
|
export interface ChaosfaulttemplateUpdateFaultTemplateResponse {
|
|
5
6
|
apiVersion?: string;
|
|
6
7
|
category?: string[];
|
|
@@ -10,7 +11,7 @@ export interface ChaosfaulttemplateUpdateFaultTemplateResponse {
|
|
|
10
11
|
identity: string;
|
|
11
12
|
infraType?: string;
|
|
12
13
|
infras?: string[];
|
|
13
|
-
inputs?:
|
|
14
|
+
inputs?: TemplateInput[];
|
|
14
15
|
isDefault?: boolean;
|
|
15
16
|
keywords?: string[];
|
|
16
17
|
kind?: string;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import type { ProbeInfrastructureType } from '../schemas/ProbeInfrastructureType';
|
|
2
|
-
import type {
|
|
2
|
+
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
3
3
|
import type { ProbeProbeTemplateProperties } from '../schemas/ProbeProbeTemplateProperties';
|
|
4
4
|
import type { ProbeProbeTemplateRunProperties } from '../schemas/ProbeProbeTemplateRunProperties';
|
|
5
5
|
import type { ProbeProbeType } from '../schemas/ProbeProbeType';
|
|
6
|
+
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
6
7
|
export interface ChaosprobetemplateProbeTemplate {
|
|
7
8
|
description?: string;
|
|
8
9
|
hubRef?: string;
|
|
9
10
|
identity?: string;
|
|
10
11
|
infrastructureType?: ProbeInfrastructureType;
|
|
11
|
-
inputs?:
|
|
12
|
+
inputs?: TemplateInput[];
|
|
12
13
|
isDefault?: boolean;
|
|
13
14
|
name: string;
|
|
14
15
|
probeProperties?: ProbeProbeTemplateProperties;
|
|
@@ -16,8 +17,5 @@ export interface ChaosprobetemplateProbeTemplate {
|
|
|
16
17
|
runProperties?: ProbeProbeTemplateRunProperties;
|
|
17
18
|
tags?: string[];
|
|
18
19
|
type?: ProbeProbeType;
|
|
19
|
-
/**
|
|
20
|
-
* CHAOS-11100
|
|
21
|
-
*/
|
|
22
20
|
variables?: TemplateVariable[];
|
|
23
21
|
}
|
package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateProbeTemplateVariables.d.ts
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
2
2
|
export interface ChaosprobetemplateProbeTemplateVariables {
|
|
3
|
-
inputs?:
|
|
4
|
-
probeProperties?:
|
|
5
|
-
probeRunProperty?:
|
|
6
|
-
/**
|
|
7
|
-
* CHAOS-11100
|
|
8
|
-
*/
|
|
9
|
-
variables?: TemplateVariable[];
|
|
3
|
+
inputs?: TemplateInput[];
|
|
4
|
+
probeProperties?: TemplateInput[];
|
|
5
|
+
probeRunProperty?: TemplateInput[];
|
|
10
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { K8sIoApiCoreV1EnvVar } from '../schemas/K8sIoApiCoreV1EnvVar';
|
|
2
|
-
import type {
|
|
2
|
+
import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
|
|
3
3
|
export interface ExperimentActionRef {
|
|
4
4
|
/**
|
|
5
5
|
* Args of the action
|
|
@@ -36,5 +36,5 @@ export interface ExperimentActionRef {
|
|
|
36
36
|
/**
|
|
37
37
|
* Values to store the inputs
|
|
38
38
|
*/
|
|
39
|
-
values?:
|
|
39
|
+
values?: TemplateInputMinimum[];
|
|
40
40
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
|
|
2
2
|
export interface ExperimentFaultRef {
|
|
3
3
|
/**
|
|
4
4
|
* AuthEnabled denotes whether authentication is enabled for the fault
|
|
@@ -23,5 +23,5 @@ export interface ExperimentFaultRef {
|
|
|
23
23
|
/**
|
|
24
24
|
* Values to store the inputs
|
|
25
25
|
*/
|
|
26
|
-
values?:
|
|
26
|
+
values?: TemplateInputMinimum[];
|
|
27
27
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ExperimentProbeActions } from '../schemas/ExperimentProbeActions';
|
|
2
2
|
import type { ExperimentProbeConditions } from '../schemas/ExperimentProbeConditions';
|
|
3
|
-
import type {
|
|
3
|
+
import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
|
|
4
4
|
export interface ExperimentProbeRef {
|
|
5
5
|
/**
|
|
6
6
|
* Actions to be performed
|
|
@@ -45,7 +45,7 @@ export interface ExperimentProbeRef {
|
|
|
45
45
|
/**
|
|
46
46
|
* Values to store the inputs
|
|
47
47
|
*/
|
|
48
|
-
values?:
|
|
48
|
+
values?: TemplateInputMinimum[];
|
|
49
49
|
/**
|
|
50
50
|
* Weightage of the probe
|
|
51
51
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
|
|
2
2
|
export interface ExperimenttemplateAction {
|
|
3
3
|
continueOnCompletion?: boolean;
|
|
4
4
|
identity?: string;
|
|
@@ -6,5 +6,5 @@ export interface ExperimenttemplateAction {
|
|
|
6
6
|
isEnterprise?: boolean;
|
|
7
7
|
name?: string;
|
|
8
8
|
revision?: number;
|
|
9
|
-
values?:
|
|
9
|
+
values?: TemplateInputMinimum[];
|
|
10
10
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
|
|
2
2
|
export interface ExperimenttemplateFault {
|
|
3
3
|
authEnabled?: boolean;
|
|
4
4
|
identity?: string;
|
|
@@ -6,5 +6,5 @@ export interface ExperimenttemplateFault {
|
|
|
6
6
|
isEnterprise?: boolean;
|
|
7
7
|
name?: string;
|
|
8
8
|
revision?: string;
|
|
9
|
-
values?:
|
|
9
|
+
values?: TemplateInputMinimum[];
|
|
10
10
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ExperimenttemplateProbeConditions } from '../schemas/ExperimenttemplateProbeConditions';
|
|
2
|
-
import type {
|
|
2
|
+
import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
|
|
3
3
|
export interface ExperimenttemplateProbe {
|
|
4
4
|
conditions?: ExperimenttemplateProbeConditions[];
|
|
5
5
|
duration?: string;
|
|
@@ -9,6 +9,6 @@ export interface ExperimenttemplateProbe {
|
|
|
9
9
|
isEnterprise?: boolean;
|
|
10
10
|
name?: string;
|
|
11
11
|
revision?: number;
|
|
12
|
-
values?:
|
|
12
|
+
values?: TemplateInputMinimum[];
|
|
13
13
|
weightage?: number;
|
|
14
14
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
2
2
|
import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
|
|
3
3
|
import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
|
|
4
|
+
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
4
5
|
export interface FaulttemplateFaultTemplate {
|
|
5
6
|
apiVersion?: string;
|
|
6
7
|
category?: string[];
|
|
@@ -8,7 +9,7 @@ export interface FaulttemplateFaultTemplate {
|
|
|
8
9
|
identity: string;
|
|
9
10
|
infraType?: string;
|
|
10
11
|
infras?: string[];
|
|
11
|
-
inputs?:
|
|
12
|
+
inputs?: TemplateInput[];
|
|
12
13
|
isDefault?: boolean;
|
|
13
14
|
keywords?: string[];
|
|
14
15
|
kind?: string;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { ActionActionTemplateProperties } from '../schemas/ActionActionTemplateProperties';
|
|
2
2
|
import type { ActionsInfrastructureType } from '../schemas/ActionsInfrastructureType';
|
|
3
|
-
import type {
|
|
3
|
+
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
4
4
|
import type { ActionActionTemplateRunProperties } from '../schemas/ActionActionTemplateRunProperties';
|
|
5
5
|
import type { ActionsActionType } from '../schemas/ActionsActionType';
|
|
6
|
+
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
6
7
|
export interface GithubComHarnessHceSaasGraphqlServerPkgActionsAction {
|
|
7
8
|
actionProperties?: ActionActionTemplateProperties;
|
|
8
9
|
actionsTemplateRef?: string;
|
|
@@ -10,13 +11,10 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgActionsAction {
|
|
|
10
11
|
hubRef?: string;
|
|
11
12
|
identity?: string;
|
|
12
13
|
infrastructureType?: ActionsInfrastructureType;
|
|
13
|
-
inputs?:
|
|
14
|
+
inputs?: TemplateInput[];
|
|
14
15
|
name: string;
|
|
15
16
|
runProperties?: ActionActionTemplateRunProperties;
|
|
16
17
|
tags?: string[];
|
|
17
18
|
type?: ActionsActionType;
|
|
18
|
-
/**
|
|
19
|
-
* CHAOS-11100
|
|
20
|
-
*/
|
|
21
19
|
variables?: TemplateVariable[];
|
|
22
20
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type { ActionActionTemplateProperties } from '../schemas/ActionActionTemplateProperties';
|
|
2
2
|
import type { MongodbImportType } from '../schemas/MongodbImportType';
|
|
3
3
|
import type { ActionsInfrastructureType } from '../schemas/ActionsInfrastructureType';
|
|
4
|
-
import type {
|
|
4
|
+
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
5
5
|
import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
|
|
6
6
|
import type { ActionsRecentExecutions } from '../schemas/ActionsRecentExecutions';
|
|
7
7
|
import type { ActionActionTemplateRunProperties } from '../schemas/ActionActionTemplateRunProperties';
|
|
8
8
|
import type { ActionsActionType } from '../schemas/ActionsActionType';
|
|
9
|
+
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
9
10
|
export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAction {
|
|
10
11
|
accountID: string;
|
|
11
12
|
actionProperties?: ActionActionTemplateProperties;
|
|
@@ -17,7 +18,7 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAc
|
|
|
17
18
|
identity?: string;
|
|
18
19
|
importType?: MongodbImportType;
|
|
19
20
|
infrastructureType?: ActionsInfrastructureType;
|
|
20
|
-
inputs?:
|
|
21
|
+
inputs?: TemplateInput[];
|
|
21
22
|
isRemoved?: boolean;
|
|
22
23
|
managedBy?: MongodbManagedBy;
|
|
23
24
|
name: string;
|
|
@@ -27,8 +28,5 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAc
|
|
|
27
28
|
runProperties?: ActionActionTemplateRunProperties;
|
|
28
29
|
tags?: string[];
|
|
29
30
|
type?: ActionsActionType;
|
|
30
|
-
/**
|
|
31
|
-
* CHAOS-11100
|
|
32
|
-
*/
|
|
33
31
|
variables?: TemplateVariable[];
|
|
34
32
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
|
|
2
2
|
import type { ProbeInfrastructureType } from '../schemas/ProbeInfrastructureType';
|
|
3
|
-
import type {
|
|
3
|
+
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
4
4
|
import type { ProbeProbeTemplateProperties } from '../schemas/ProbeProbeTemplateProperties';
|
|
5
5
|
import type { ProbeProbeTemplateRunProperties } from '../schemas/ProbeProbeTemplateRunProperties';
|
|
6
6
|
import type { ProbeProbeType } from '../schemas/ProbeProbeType';
|
|
7
|
+
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
7
8
|
export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprobetemplateChaosProbeTemplate {
|
|
8
9
|
accountID: string;
|
|
9
10
|
createdAt?: number;
|
|
@@ -18,7 +19,7 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprob
|
|
|
18
19
|
*/
|
|
19
20
|
identity?: string;
|
|
20
21
|
infrastructureType?: ProbeInfrastructureType;
|
|
21
|
-
inputs?:
|
|
22
|
+
inputs?: TemplateInput[];
|
|
22
23
|
/**
|
|
23
24
|
* isDefault indicates if it is the default version
|
|
24
25
|
* for predefined faults, latest should be set as default
|
|
@@ -41,8 +42,5 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprob
|
|
|
41
42
|
updatedAt?: number;
|
|
42
43
|
updatedBy?: string;
|
|
43
44
|
updatedByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
44
|
-
/**
|
|
45
|
-
* CHAOS-11100
|
|
46
|
-
*/
|
|
47
45
|
variables?: TemplateVariable[];
|
|
48
46
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
|
|
2
2
|
export interface TemplateChaosComponentInputsetSpec {
|
|
3
3
|
tasks?: {
|
|
4
|
-
[key: string]:
|
|
4
|
+
[key: string]: TemplateInputMinimum[];
|
|
5
5
|
};
|
|
6
6
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TemplateInputMinimum } from '../schemas/TemplateInputMinimum';
|
|
2
2
|
export interface TemplateChaosExperimentInputsetSpec {
|
|
3
|
-
experiment?:
|
|
3
|
+
experiment?: TemplateInputMinimum[];
|
|
4
4
|
tasks?: {
|
|
5
|
-
[key: string]:
|
|
5
|
+
[key: string]: TemplateInputMinimum[];
|
|
6
6
|
};
|
|
7
7
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { TemplateInputCategory } from '../schemas/TemplateInputCategory';
|
|
2
|
+
import type { TemplateInputType } from '../schemas/TemplateInputType';
|
|
3
|
+
export interface TemplateInput {
|
|
4
|
+
allowedValues?: Array<{}>;
|
|
5
|
+
category?: TemplateInputCategory;
|
|
6
|
+
default?: {};
|
|
7
|
+
description?: string;
|
|
8
|
+
name: string;
|
|
9
|
+
path?: string;
|
|
10
|
+
required?: boolean;
|
|
11
|
+
stringify?: boolean;
|
|
12
|
+
tags?: string[];
|
|
13
|
+
tooltipId?: string;
|
|
14
|
+
type?: TemplateInputType;
|
|
15
|
+
validator?: string;
|
|
16
|
+
value: {};
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
2
2
|
export interface TemplateRunTimeInputs {
|
|
3
|
-
experiment?:
|
|
3
|
+
experiment?: TemplateInput[];
|
|
4
4
|
tasks?: {
|
|
5
|
-
[key: string]:
|
|
5
|
+
[key: string]: TemplateInput[];
|
|
6
6
|
};
|
|
7
7
|
}
|
|
@@ -1,17 +1,9 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { TemplateInputType } from '../schemas/TemplateInputType';
|
|
1
|
+
import type { TemplateVariableType } from '../schemas/TemplateVariableType';
|
|
3
2
|
export interface TemplateVariable {
|
|
4
|
-
allowedValues?: Array<{}>;
|
|
5
|
-
category?: TemplateInputCategory;
|
|
6
|
-
default?: {};
|
|
7
3
|
description?: string;
|
|
8
4
|
name: string;
|
|
9
5
|
path?: string;
|
|
10
6
|
required?: boolean;
|
|
11
|
-
|
|
12
|
-
tags?: string[];
|
|
13
|
-
tooltipId?: string;
|
|
14
|
-
type?: TemplateInputType;
|
|
15
|
-
validator?: string;
|
|
7
|
+
type?: TemplateVariableType;
|
|
16
8
|
value: {};
|
|
17
9
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type TemplateVariableType = 'Number' | 'String';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ProbeApmProbe } from '../schemas/ProbeApmProbe';
|
|
2
2
|
import type { ProbeHttpProbe } from '../schemas/ProbeHttpProbe';
|
|
3
3
|
import type { ProbeContainerProbe } from '../schemas/ProbeContainerProbe';
|
|
4
|
-
import type {
|
|
4
|
+
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
5
5
|
import type { ProbeK8SProbe } from '../schemas/ProbeK8SProbe';
|
|
6
6
|
import type { ProbeKubernetesCmdProbe } from '../schemas/ProbeKubernetesCmdProbe';
|
|
7
7
|
import type { ProbeDatadogProbe } from '../schemas/ProbeDatadogProbe';
|
|
@@ -9,13 +9,14 @@ import type { ProbeDynatraceProbe } from '../schemas/ProbeDynatraceProbe';
|
|
|
9
9
|
import type { ProbeLinuxCmdProbe } from '../schemas/ProbeLinuxCmdProbe';
|
|
10
10
|
import type { ProbePromProbe } from '../schemas/ProbePromProbe';
|
|
11
11
|
import type { ProbeSloProbe } from '../schemas/ProbeSloProbe';
|
|
12
|
+
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
12
13
|
import type { ProbeWindowsCmdProbe } from '../schemas/ProbeWindowsCmdProbe';
|
|
13
14
|
export interface TypesCreateProbeResponse {
|
|
14
15
|
apmProperties?: ProbeApmProbe;
|
|
15
16
|
containerHttpProperties?: ProbeHttpProbe;
|
|
16
17
|
containerProbeProperties?: ProbeContainerProbe;
|
|
17
18
|
description?: string;
|
|
18
|
-
inputs?:
|
|
19
|
+
inputs?: TemplateInput[];
|
|
19
20
|
k8sProperties?: ProbeK8SProbe;
|
|
20
21
|
kubernetesCmdProperties?: ProbeKubernetesCmdProbe;
|
|
21
22
|
kubernetesDatadogProperties?: ProbeDatadogProbe;
|
|
@@ -31,9 +32,6 @@ export interface TypesCreateProbeResponse {
|
|
|
31
32
|
revisionId?: string;
|
|
32
33
|
sloProperties?: ProbeSloProbe;
|
|
33
34
|
tags?: string[];
|
|
34
|
-
/**
|
|
35
|
-
* CHAOS-11100
|
|
36
|
-
*/
|
|
37
35
|
variables?: TemplateVariable[];
|
|
38
36
|
windowsCmdProperties?: ProbeWindowsCmdProbe;
|
|
39
37
|
windowsHttpProperties?: ProbeHttpProbe;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
|
|
2
2
|
import type { MongodbImportType } from '../schemas/MongodbImportType';
|
|
3
3
|
import type { TypesInfrastructureType } from '../schemas/TypesInfrastructureType';
|
|
4
|
-
import type {
|
|
4
|
+
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
5
5
|
import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
|
|
6
6
|
import type { ProbeProbeTemplateProperties } from '../schemas/ProbeProbeTemplateProperties';
|
|
7
7
|
import type { TypesProbeRecentExecutions } from '../schemas/TypesProbeRecentExecutions';
|
|
8
8
|
import type { ProbeProbeTemplateRunProperties } from '../schemas/ProbeProbeTemplateRunProperties';
|
|
9
9
|
import type { TypesProbeType } from '../schemas/TypesProbeType';
|
|
10
|
+
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
10
11
|
export interface TypesGetProbeResponse {
|
|
11
12
|
createdAt?: number;
|
|
12
13
|
createdBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
@@ -15,7 +16,7 @@ export interface TypesGetProbeResponse {
|
|
|
15
16
|
identity?: string;
|
|
16
17
|
importType?: MongodbImportType;
|
|
17
18
|
infrastructureType?: TypesInfrastructureType;
|
|
18
|
-
inputs?:
|
|
19
|
+
inputs?: TemplateInput[];
|
|
19
20
|
isEnabled?: boolean;
|
|
20
21
|
isImported?: boolean;
|
|
21
22
|
isVerified?: boolean;
|
|
@@ -32,8 +33,5 @@ export interface TypesGetProbeResponse {
|
|
|
32
33
|
type?: TypesProbeType;
|
|
33
34
|
updatedAt?: number;
|
|
34
35
|
updatedBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
35
|
-
/**
|
|
36
|
-
* CHAOS-11100
|
|
37
|
-
*/
|
|
38
36
|
variables?: TemplateVariable[];
|
|
39
37
|
}
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import type { MongodbImportType } from '../schemas/MongodbImportType';
|
|
2
2
|
import type { TypesInfrastructureType } from '../schemas/TypesInfrastructureType';
|
|
3
|
-
import type {
|
|
3
|
+
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
4
4
|
import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
|
|
5
5
|
import type { ProbeProbeTemplateProperties } from '../schemas/ProbeProbeTemplateProperties';
|
|
6
6
|
import type { TypesProbeRecentExecutions } from '../schemas/TypesProbeRecentExecutions';
|
|
7
7
|
import type { ProbeProbeTemplateRunProperties } from '../schemas/ProbeProbeTemplateRunProperties';
|
|
8
8
|
import type { TypesProbeType } from '../schemas/TypesProbeType';
|
|
9
|
+
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
9
10
|
export interface TypesProbeRequest {
|
|
10
11
|
description?: string;
|
|
11
12
|
hubRef?: string;
|
|
12
13
|
identity?: string;
|
|
13
14
|
importType?: MongodbImportType;
|
|
14
15
|
infrastructureType?: TypesInfrastructureType;
|
|
15
|
-
inputs?:
|
|
16
|
+
inputs?: TemplateInput[];
|
|
16
17
|
isEnabled?: boolean;
|
|
17
18
|
isImported?: boolean;
|
|
18
19
|
isVerified?: boolean;
|
|
@@ -27,8 +28,5 @@ export interface TypesProbeRequest {
|
|
|
27
28
|
runProperties?: ProbeProbeTemplateRunProperties;
|
|
28
29
|
tags?: string[];
|
|
29
30
|
type?: TypesProbeType;
|
|
30
|
-
/**
|
|
31
|
-
* CHAOS-11100
|
|
32
|
-
*/
|
|
33
31
|
variables?: TemplateVariable[];
|
|
34
32
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
2
2
|
export interface V3GetExperimentOrTemplateVariableData {
|
|
3
3
|
name?: string;
|
|
4
|
-
variables?:
|
|
4
|
+
variables?: TemplateInput[];
|
|
5
5
|
}
|
package/package.json
CHANGED
|
File without changes
|