@harnessio/react-chaos-manager-client 0.9.0 → 0.10.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/hooks/useCreateActionMutation.d.ts +26 -0
- package/dist/chaos-manager/src/services/hooks/useCreateActionMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useCreateActionTemplateMutation.d.ts +27 -0
- package/dist/chaos-manager/src/services/hooks/useCreateActionTemplateMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useCreateChaosExperimentExecutionNodeMutation.d.ts +24 -0
- package/dist/chaos-manager/src/services/hooks/useCreateChaosExperimentExecutionNodeMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useCreateChaosHubMutation.d.ts +30 -0
- package/dist/chaos-manager/src/services/hooks/useCreateChaosHubMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useDeleteActionMutation.d.ts +26 -0
- package/dist/chaos-manager/src/services/hooks/useDeleteActionMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useExperimentExecutionNodeDetailsQuery.d.ts +28 -0
- package/dist/chaos-manager/src/services/hooks/useExperimentExecutionNodeDetailsQuery.js +20 -0
- package/dist/chaos-manager/src/services/hooks/useGetActionManifestQuery.d.ts +25 -0
- package/dist/chaos-manager/src/services/hooks/useGetActionManifestQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetActionQuery.d.ts +26 -0
- package/dist/chaos-manager/src/services/hooks/useGetActionQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetActionTemplateQuery.d.ts +28 -0
- package/dist/chaos-manager/src/services/hooks/useGetActionTemplateQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetActionTemplateRevisionDifferenceQuery.d.ts +29 -0
- package/dist/chaos-manager/src/services/hooks/useGetActionTemplateRevisionDifferenceQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetChaosHubQuery.d.ts +26 -0
- package/dist/chaos-manager/src/services/hooks/useGetChaosHubQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetChaosPipelineExecutionQuery.d.ts +27 -0
- package/dist/chaos-manager/src/services/hooks/useGetChaosPipelineExecutionQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetChaosPipelineStepDetailsQuery.d.ts +28 -0
- package/dist/chaos-manager/src/services/hooks/useGetChaosPipelineStepDetailsQuery.js +20 -0
- package/dist/chaos-manager/src/services/hooks/useImportActionMutation.d.ts +27 -0
- package/dist/chaos-manager/src/services/hooks/useImportActionMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListActionTemplateQuery.d.ts +36 -0
- package/dist/chaos-manager/src/services/hooks/useListActionTemplateQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListActionTemplateRevisionsQuery.d.ts +35 -0
- package/dist/chaos-manager/src/services/hooks/useListActionTemplateRevisionsQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListActionsQuery.d.ts +36 -0
- package/dist/chaos-manager/src/services/hooks/useListActionsQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListChaosHubQuery.d.ts +33 -0
- package/dist/chaos-manager/src/services/hooks/useListChaosHubQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListVariablesInActionTemplateQuery.d.ts +28 -0
- package/dist/chaos-manager/src/services/hooks/useListVariablesInActionTemplateQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateActionMutation.d.ts +30 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateActionMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateActionTemplateMutation.d.ts +31 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateActionTemplateMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateChaosExperimentExecutionNodeMutation.d.ts +29 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateChaosExperimentExecutionNodeMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateChaosHubMutation.d.ts +30 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateChaosHubMutation.js +14 -0
- package/dist/chaos-manager/src/services/index.d.ts +90 -3
- package/dist/chaos-manager/src/services/index.js +23 -0
- package/dist/chaos-manager/src/services/requestBodies/ChaosfaulttemplateActionTemplateRequestBody.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ActionsActionDetails.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/ActionsActionDetails.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ActionsActionResponse.d.ts +29 -0
- package/dist/chaos-manager/src/services/schemas/ActionsActionResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ActionsActionRunProperties.d.ts +8 -0
- package/dist/chaos-manager/src/services/schemas/ActionsActionType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ActionsExecutedByExperiment.d.ts +9 -0
- package/dist/chaos-manager/src/services/schemas/ActionsExecutedByExperiment.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ActionsImportActionTemplateRequest.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/ActionsImportActionTemplateRequest.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ActionsInfrastructureType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ActionsInfrastructureType.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ActionsListActionTemplateResponse.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/ActionsListActionTemplateResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ActionsRecentExecutions.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/ActionsRecentExecutions.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosExecutionNode.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosExecutionResponse.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosStepStatus.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesFaultData.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/ChaosExperimentChaosExperimentRequest.d.ts +3 -3
- package/dist/chaos-manager/src/services/schemas/ChaosExperimentExperimentRunDetail.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/ChaosExperimentRunChaosExperimentRun.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/ChaosHubAuthType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosHubAuthType.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosHubConnectorScope.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosHubConnectorScope.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosHubStatus.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosHubStatus.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosInfrastructureV2ChaosInfraV2.d.ts +3 -3
- package/dist/chaos-manager/src/services/schemas/ChaosactiontemplateActionProperties.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/ChaosactiontemplateActionProperties.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosactiontemplateActionsTemplateCount.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/ChaosactiontemplateActionsTemplateCount.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosactiontemplateChaosActionTemplate.d.ts +44 -0
- package/dist/chaos-manager/src/services/schemas/ChaosactiontemplateChaosActionTemplate.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateActionTemplate.d.ts +16 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateActionTemplate.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateActionTemplateVariables.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateActionTemplateVariables.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateGetActionTemplateResponse.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateGetActionTemplateResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateListActionTemplateResponse.d.ts +9 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateListActionTemplateResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/Chaoshubv2ChaosHubResponse.d.ts +44 -0
- package/dist/chaos-manager/src/services/schemas/Chaoshubv2ChaosHubResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/Chaoshubv2CreateHubRequest.d.ts +9 -0
- package/dist/chaos-manager/src/services/schemas/Chaoshubv2CreateHubRequest.js +4 -0
- package/dist/chaos-manager/src/services/schemas/Chaoshubv2GetHubResponse.d.ts +44 -0
- package/dist/chaos-manager/src/services/schemas/Chaoshubv2GetHubResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/Chaoshubv2ListHubResponse.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/Chaoshubv2ListHubResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/Chaoshubv2UpdateHubRequest.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/Chaoshubv2UpdateHubRequest.js +4 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgActionsAction.d.ts +18 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgActionsAction.js +1 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAction.d.ts +24 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAction.js +1 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosfaulttemplateChaosFaultTemplate.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkCommonKubernetesV2ModelChaosData.d.ts +8 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkCommonKubernetesV2ModelChaosData.js +1 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1Probe.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/GithubComWingsSoftwareDdcrPkgTypesChaosInputs.d.ts +31 -5
- package/dist/chaos-manager/src/services/schemas/GithubComWingsSoftwareDdcrPkgTypesDefinition.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/InputsetInputSet.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/ModelActionData.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/ModelActionData.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ModelChaosExecutionNode.d.ts +19 -0
- package/dist/chaos-manager/src/services/schemas/ModelChaosExecutionNode.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ModelChaosStepStatus.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ModelChaosStepStatus.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ModelChaosStepType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ModelChaosStepType.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ModelCommandProbe.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/ModelCommandProbe.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ModelErrorData.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ModelErrorData.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ModelFaultData.d.ts +10 -0
- package/dist/chaos-manager/src/services/schemas/ModelFaultData.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ModelHelperPodDetails.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ModelHelperPodDetails.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ModelHttpProbe.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/ModelHttpProbe.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ModelProbeData.d.ts +8 -0
- package/dist/chaos-manager/src/services/schemas/ModelProbeData.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ModelProbeIterations.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/ModelProbeIterations.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ModelPromProbe.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/ModelPromProbe.js +4 -0
- package/dist/chaos-manager/src/services/schemas/NetworkmapGetTargetNetworkMapResponse.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/TargetnetworkmapExperimentRunDetail.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/TargetnetworkmapTargetNetworkMap.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/TargetserviceTargetService.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/TypesConfigMap.d.ts +9 -0
- package/dist/chaos-manager/src/services/schemas/TypesExperimentComponents.d.ts +39 -0
- package/dist/chaos-manager/src/services/schemas/TypesFault.d.ts +21 -0
- package/dist/chaos-manager/src/services/schemas/TypesFault.js +1 -0
- package/dist/chaos-manager/src/services/schemas/TypesFaultRef.d.ts +14 -0
- package/dist/chaos-manager/src/services/schemas/TypesFaultRef.js +4 -0
- package/dist/chaos-manager/src/services/schemas/TypesHostFile.d.ts +12 -0
- package/dist/chaos-manager/src/services/schemas/TypesProjectedVolumes.d.ts +12 -0
- package/dist/chaos-manager/src/services/schemas/TypesSecret.d.ts +9 -0
- package/dist/chaos-manager/src/services/schemas/TypesSecurityContext.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/TypesSelector.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/TypesSidecar.d.ts +15 -0
- package/dist/chaos-manager/src/services/schemas/TypesStatusCheckTimeout.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/TypesTargets.d.ts +3 -2
- package/dist/chaos-manager/src/services/schemas/TypesWorkload.d.ts +12 -0
- package/dist/chaos-manager/src/services/schemas/V1alpha1TargetDetails.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/V1alpha1TargetDetails.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1alpha1Targets.d.ts +8 -0
- package/dist/chaos-manager/src/services/schemas/V1alpha1Targets.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V2OnboardingV2Onboarding.d.ts +2 -2
- package/package.json +1 -1
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesFaultDetails.d.ts +0 -5
- package/dist/chaos-manager/src/services/schemas/TypesApplication.d.ts +0 -4
- package/dist/chaos-manager/src/services/schemas/TypesCleanupPolicy.d.ts +0 -1
- /package/dist/chaos-manager/src/services/{schemas/ChaosExecutionNodesFaultDetails.js → requestBodies/ChaosfaulttemplateActionTemplateRequestBody.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TypesApplication.js → ActionsActionRunProperties.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TypesCleanupPolicy.js → ActionsActionType.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { ChaosactiontemplateActionProperties } from '../schemas/ChaosactiontemplateActionProperties';
|
|
2
|
+
import type { ActionsInfrastructureType } from '../schemas/ActionsInfrastructureType';
|
|
3
|
+
import type { ActionsActionRunProperties } from '../schemas/ActionsActionRunProperties';
|
|
4
|
+
import type { ActionsActionType } from '../schemas/ActionsActionType';
|
|
5
|
+
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
6
|
+
export interface ChaosactiontemplateChaosActionTemplate {
|
|
7
|
+
accountID: string;
|
|
8
|
+
actionProperties?: ChaosactiontemplateActionProperties;
|
|
9
|
+
createdAt?: number;
|
|
10
|
+
createdBy?: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
hubRef?: string;
|
|
13
|
+
id?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Unique identifier (human-readable) immutable
|
|
16
|
+
* Initially it will be same as name
|
|
17
|
+
*/
|
|
18
|
+
identity?: string;
|
|
19
|
+
infrastructureType?: ActionsInfrastructureType;
|
|
20
|
+
/**
|
|
21
|
+
* isDefault indicates if it is the default version
|
|
22
|
+
* for predefined faults, latest should be set as default
|
|
23
|
+
*/
|
|
24
|
+
isDefault?: boolean;
|
|
25
|
+
isRemoved: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Fault name to sync the changes from the hub
|
|
28
|
+
* HubRef + Name should be unique
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
orgID?: string;
|
|
32
|
+
projectID?: string;
|
|
33
|
+
/**
|
|
34
|
+
* it increments every time a new version of fault is published
|
|
35
|
+
*/
|
|
36
|
+
revision?: number;
|
|
37
|
+
runProperties?: ActionsActionRunProperties;
|
|
38
|
+
tags?: string[];
|
|
39
|
+
template?: string;
|
|
40
|
+
type?: ActionsActionType;
|
|
41
|
+
updatedAt?: number;
|
|
42
|
+
updatedBy?: string;
|
|
43
|
+
variables?: TemplateVariable[];
|
|
44
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ActionsActionDetails } from '../schemas/ActionsActionDetails';
|
|
2
|
+
import type { ActionsInfrastructureType } from '../schemas/ActionsInfrastructureType';
|
|
3
|
+
import type { ActionsActionRunProperties } from '../schemas/ActionsActionRunProperties';
|
|
4
|
+
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
5
|
+
export interface ChaosfaulttemplateActionTemplate {
|
|
6
|
+
actionProperties?: ActionsActionDetails;
|
|
7
|
+
description?: string;
|
|
8
|
+
hubRef?: string;
|
|
9
|
+
identity?: string;
|
|
10
|
+
infrastructureType?: ActionsInfrastructureType;
|
|
11
|
+
name: string;
|
|
12
|
+
runProperties?: ActionsActionRunProperties;
|
|
13
|
+
tags?: string[];
|
|
14
|
+
type?: string;
|
|
15
|
+
variables?: TemplateVariable[];
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateGetActionTemplateResponse.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateListActionTemplateResponse.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ChaosactiontemplateActionsTemplateCount } from '../schemas/ChaosactiontemplateActionsTemplateCount';
|
|
2
|
+
import type { ChaosactiontemplateChaosActionTemplate } from '../schemas/ChaosactiontemplateChaosActionTemplate';
|
|
3
|
+
import type { GithubComHarnessHceSaasGraphqlServerApiPagination } from '../schemas/GithubComHarnessHceSaasGraphqlServerApiPagination';
|
|
4
|
+
export interface ChaosfaulttemplateListActionTemplateResponse {
|
|
5
|
+
correlationID?: string;
|
|
6
|
+
countDetails?: ChaosactiontemplateActionsTemplateCount[];
|
|
7
|
+
data?: ChaosactiontemplateChaosActionTemplate[];
|
|
8
|
+
pagination?: GithubComHarnessHceSaasGraphqlServerApiPagination;
|
|
9
|
+
}
|
package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateListActionTemplateResponse.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { ChaosHubAuthType } from '../schemas/ChaosHubAuthType';
|
|
2
|
+
import type { ChaosHubConnectorScope } from '../schemas/ChaosHubConnectorScope';
|
|
3
|
+
import type { ChaosHubStatus } from '../schemas/ChaosHubStatus';
|
|
4
|
+
export interface Chaoshubv2ChaosHubResponse {
|
|
5
|
+
accountID: string;
|
|
6
|
+
actionTemplateCount?: number;
|
|
7
|
+
/**
|
|
8
|
+
* TBD check if this details is available in connector details if so deprecate it
|
|
9
|
+
*/
|
|
10
|
+
authType?: ChaosHubAuthType;
|
|
11
|
+
/**
|
|
12
|
+
* TBD use ConnectorRef: org.test-connector and deprecate it
|
|
13
|
+
*/
|
|
14
|
+
connectorId?: string;
|
|
15
|
+
/**
|
|
16
|
+
* TBD db migration to populate it from ConnectorID and ConnectorScope
|
|
17
|
+
*/
|
|
18
|
+
connectorRef?: string;
|
|
19
|
+
/**
|
|
20
|
+
* TBD use ConnectorRef and deprecate it
|
|
21
|
+
*/
|
|
22
|
+
connectorScope?: ChaosHubConnectorScope;
|
|
23
|
+
createdAt?: number;
|
|
24
|
+
createdBy?: string;
|
|
25
|
+
description?: string;
|
|
26
|
+
experimentTemplateCount?: number;
|
|
27
|
+
faultTemplateCount?: number;
|
|
28
|
+
hubId: string;
|
|
29
|
+
identity: string;
|
|
30
|
+
isDefault: boolean;
|
|
31
|
+
isRemoved: boolean;
|
|
32
|
+
lastSyncedAt?: number;
|
|
33
|
+
name: string;
|
|
34
|
+
orgID?: string;
|
|
35
|
+
probeTemplateCount?: number;
|
|
36
|
+
projectID?: string;
|
|
37
|
+
repoBranch?: string;
|
|
38
|
+
repoName?: string;
|
|
39
|
+
repoUrl?: string;
|
|
40
|
+
status: ChaosHubStatus;
|
|
41
|
+
tags?: string[];
|
|
42
|
+
updatedAt?: number;
|
|
43
|
+
updatedBy?: string;
|
|
44
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { ChaosHubAuthType } from '../schemas/ChaosHubAuthType';
|
|
2
|
+
import type { ChaosHubConnectorScope } from '../schemas/ChaosHubConnectorScope';
|
|
3
|
+
import type { ChaosHubStatus } from '../schemas/ChaosHubStatus';
|
|
4
|
+
export interface Chaoshubv2GetHubResponse {
|
|
5
|
+
accountID: string;
|
|
6
|
+
actionTemplateCount?: number;
|
|
7
|
+
/**
|
|
8
|
+
* TBD check if this details is available in connector details if so deprecate it
|
|
9
|
+
*/
|
|
10
|
+
authType?: ChaosHubAuthType;
|
|
11
|
+
/**
|
|
12
|
+
* TBD use ConnectorRef: org.test-connector and deprecate it
|
|
13
|
+
*/
|
|
14
|
+
connectorId?: string;
|
|
15
|
+
/**
|
|
16
|
+
* TBD db migration to populate it from ConnectorID and ConnectorScope
|
|
17
|
+
*/
|
|
18
|
+
connectorRef?: string;
|
|
19
|
+
/**
|
|
20
|
+
* TBD use ConnectorRef and deprecate it
|
|
21
|
+
*/
|
|
22
|
+
connectorScope?: ChaosHubConnectorScope;
|
|
23
|
+
createdAt?: number;
|
|
24
|
+
createdBy?: string;
|
|
25
|
+
description?: string;
|
|
26
|
+
experimentTemplateCount?: number;
|
|
27
|
+
faultTemplateCount?: number;
|
|
28
|
+
hubId: string;
|
|
29
|
+
identity: string;
|
|
30
|
+
isDefault: boolean;
|
|
31
|
+
isRemoved: boolean;
|
|
32
|
+
lastSyncedAt?: number;
|
|
33
|
+
name: string;
|
|
34
|
+
orgID?: string;
|
|
35
|
+
probeTemplateCount?: number;
|
|
36
|
+
projectID?: string;
|
|
37
|
+
repoBranch?: string;
|
|
38
|
+
repoName?: string;
|
|
39
|
+
repoUrl?: string;
|
|
40
|
+
status: ChaosHubStatus;
|
|
41
|
+
tags?: string[];
|
|
42
|
+
updatedAt?: number;
|
|
43
|
+
updatedBy?: string;
|
|
44
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Chaoshubv2ChaosHubResponse } from '../schemas/Chaoshubv2ChaosHubResponse';
|
|
2
|
+
import type { GithubComHarnessHceSaasGraphqlServerApiPagination } from '../schemas/GithubComHarnessHceSaasGraphqlServerApiPagination';
|
|
3
|
+
export interface Chaoshubv2ListHubResponse {
|
|
4
|
+
items?: Chaoshubv2ChaosHubResponse[];
|
|
5
|
+
pagination?: GithubComHarnessHceSaasGraphqlServerApiPagination;
|
|
6
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ActionsActionDetails } from '../schemas/ActionsActionDetails';
|
|
2
|
+
import type { ActionsInfrastructureType } from '../schemas/ActionsInfrastructureType';
|
|
3
|
+
import type { ActionsActionRunProperties } from '../schemas/ActionsActionRunProperties';
|
|
4
|
+
import type { ActionsActionType } from '../schemas/ActionsActionType';
|
|
5
|
+
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
6
|
+
export interface GithubComHarnessHceSaasGraphqlServerPkgActionsAction {
|
|
7
|
+
actionProperties?: ActionsActionDetails;
|
|
8
|
+
actionsTemplateRef?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
hubRef?: string;
|
|
11
|
+
identity?: string;
|
|
12
|
+
infrastructureType?: ActionsInfrastructureType;
|
|
13
|
+
name: string;
|
|
14
|
+
runProperties?: ActionsActionRunProperties;
|
|
15
|
+
tags?: string[];
|
|
16
|
+
type?: ActionsActionType;
|
|
17
|
+
variables?: TemplateVariable[];
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { ActionsActionDetails } from '../schemas/ActionsActionDetails';
|
|
2
|
+
import type { ActionsInfrastructureType } from '../schemas/ActionsInfrastructureType';
|
|
3
|
+
import type { ActionsRecentExecutions } from '../schemas/ActionsRecentExecutions';
|
|
4
|
+
import type { ActionsActionRunProperties } from '../schemas/ActionsActionRunProperties';
|
|
5
|
+
import type { ActionsActionType } from '../schemas/ActionsActionType';
|
|
6
|
+
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
7
|
+
export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAction {
|
|
8
|
+
accountID: string;
|
|
9
|
+
actionProperties?: ActionsActionDetails;
|
|
10
|
+
actionsRef?: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
hubRef?: string;
|
|
13
|
+
identity?: string;
|
|
14
|
+
infrastructureType?: ActionsInfrastructureType;
|
|
15
|
+
isRemoved?: boolean;
|
|
16
|
+
name: string;
|
|
17
|
+
orgID?: string;
|
|
18
|
+
projectID?: string;
|
|
19
|
+
recentExecutions?: ActionsRecentExecutions[];
|
|
20
|
+
runProperties?: ActionsActionRunProperties;
|
|
21
|
+
tags?: string[];
|
|
22
|
+
type?: ActionsActionType;
|
|
23
|
+
variables?: TemplateVariable[];
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
2
2
|
export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosfaulttemplateChaosFaultTemplate {
|
|
3
|
-
accountID
|
|
3
|
+
accountID: string;
|
|
4
4
|
/**
|
|
5
5
|
* creation timestamp of the revision
|
|
6
6
|
*/
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ModelActionData } from '../schemas/ModelActionData';
|
|
2
|
+
import type { ModelFaultData } from '../schemas/ModelFaultData';
|
|
3
|
+
import type { ModelProbeData } from '../schemas/ModelProbeData';
|
|
4
|
+
export interface GithubComHarnessHceSaasHceSdkCommonKubernetesV2ModelChaosData {
|
|
5
|
+
actionData?: ModelActionData;
|
|
6
|
+
faultData?: ModelFaultData;
|
|
7
|
+
probeData?: ModelProbeData;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/chaos-manager/src/services/schemas/GithubComWingsSoftwareDdcrPkgTypesChaosInputs.d.ts
CHANGED
|
@@ -1,23 +1,49 @@
|
|
|
1
|
-
import type { TypesCleanupPolicy } from '../schemas/TypesCleanupPolicy';
|
|
2
1
|
import type { TypesExperimentComponents } from '../schemas/TypesExperimentComponents';
|
|
3
2
|
import type { V1EnvVar } from '../schemas/V1EnvVar';
|
|
4
3
|
import type { V1PullPolicy } from '../schemas/V1PullPolicy';
|
|
5
|
-
import type { GithubComHarnessHceSaasHceSdkCommonProbeV1Probe } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1Probe';
|
|
6
4
|
export interface GithubComWingsSoftwareDdcrPkgTypesChaosInputs {
|
|
5
|
+
/**
|
|
6
|
+
* Annotations to store the annotations
|
|
7
|
+
*/
|
|
7
8
|
annotations?: {
|
|
8
9
|
[key: string]: string;
|
|
9
10
|
};
|
|
11
|
+
/**
|
|
12
|
+
* Args to store the args
|
|
13
|
+
*/
|
|
10
14
|
args?: string[];
|
|
11
|
-
|
|
15
|
+
/**
|
|
16
|
+
* Command to store the command
|
|
17
|
+
*/
|
|
12
18
|
command?: string[];
|
|
19
|
+
/**
|
|
20
|
+
* Components to store the components
|
|
21
|
+
*/
|
|
13
22
|
components?: TypesExperimentComponents;
|
|
23
|
+
/**
|
|
24
|
+
* DefaultHealthCheck to store the default health check
|
|
25
|
+
*/
|
|
14
26
|
defaultHealthCheck?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* ENV to store the env
|
|
29
|
+
*/
|
|
15
30
|
env?: V1EnvVar[];
|
|
16
|
-
|
|
31
|
+
/**
|
|
32
|
+
* Fault to store the fault
|
|
33
|
+
*/
|
|
34
|
+
fault?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Image to store the image
|
|
37
|
+
*/
|
|
17
38
|
image?: string;
|
|
39
|
+
/**
|
|
40
|
+
* ImagePullPolicy to store the image pull policy
|
|
41
|
+
*/
|
|
18
42
|
imagePullPolicy?: V1PullPolicy;
|
|
43
|
+
/**
|
|
44
|
+
* Labels to store the labels
|
|
45
|
+
*/
|
|
19
46
|
labels?: {
|
|
20
47
|
[key: string]: string;
|
|
21
48
|
};
|
|
22
|
-
probes?: GithubComHarnessHceSaasHceSdkCommonProbeV1Probe[];
|
|
23
49
|
}
|
package/dist/chaos-manager/src/services/schemas/GithubComWingsSoftwareDdcrPkgTypesDefinition.d.ts
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import type { GithubComWingsSoftwareDdcrPkgTypesChaosInputs } from '../schemas/GithubComWingsSoftwareDdcrPkgTypesChaosInputs';
|
|
2
2
|
import type { TypesTargets } from '../schemas/TypesTargets';
|
|
3
3
|
export interface GithubComWingsSoftwareDdcrPkgTypesDefinition {
|
|
4
|
+
/**
|
|
5
|
+
* Chaos to store the chaos inputs
|
|
6
|
+
*/
|
|
4
7
|
chaos?: GithubComWingsSoftwareDdcrPkgTypesChaosInputs;
|
|
8
|
+
/**
|
|
9
|
+
* Type of the fault
|
|
10
|
+
*/
|
|
5
11
|
targets?: TypesTargets;
|
|
6
12
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { GithubComHarnessHceSaasHceSdkCommonKubernetesV2ModelChaosData } from '../schemas/GithubComHarnessHceSaasHceSdkCommonKubernetesV2ModelChaosData';
|
|
2
|
+
import type { ModelErrorData } from '../schemas/ModelErrorData';
|
|
3
|
+
import type { ModelChaosStepStatus } from '../schemas/ModelChaosStepStatus';
|
|
4
|
+
import type { ModelChaosStepType } from '../schemas/ModelChaosStepType';
|
|
5
|
+
export interface ModelChaosExecutionNode {
|
|
6
|
+
chaosData?: GithubComHarnessHceSaasHceSdkCommonKubernetesV2ModelChaosData;
|
|
7
|
+
errorData?: ModelErrorData;
|
|
8
|
+
estimatedTime?: number;
|
|
9
|
+
experimentID?: string;
|
|
10
|
+
experimentRunID?: string;
|
|
11
|
+
finishedAt?: number;
|
|
12
|
+
isRemoved?: boolean;
|
|
13
|
+
lastUpdatedAt?: number;
|
|
14
|
+
startedAt?: number;
|
|
15
|
+
status?: ModelChaosStepStatus;
|
|
16
|
+
stepName?: string;
|
|
17
|
+
stepType?: ModelChaosStepType;
|
|
18
|
+
streamID?: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ModelChaosStepStatus = 'COMPLETED' | 'COMPLETED_WITH_PROBE_FAILURE' | 'ERROR' | 'FAILED' | 'PASSED' | 'PENDING' | 'RUNNING' | 'SKIPPED' | 'STOPPED';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ModelChaosStepType = 'ACTION' | 'EXPERIMENT' | 'FAULT' | 'PROBE';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ModelHelperPodDetails } from '../schemas/ModelHelperPodDetails';
|
|
2
|
+
import type { V1alpha1TargetDetails } from '../schemas/V1alpha1TargetDetails';
|
|
3
|
+
import type { V1alpha1Targets } from '../schemas/V1alpha1Targets';
|
|
4
|
+
export interface ModelFaultData {
|
|
5
|
+
helperPodDetails?: ModelHelperPodDetails[];
|
|
6
|
+
name?: string;
|
|
7
|
+
namespace?: string;
|
|
8
|
+
targetChaosStatus?: V1alpha1TargetDetails[];
|
|
9
|
+
targets?: V1alpha1Targets[];
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ModelCommandProbe } from '../schemas/ModelCommandProbe';
|
|
2
|
+
import type { ModelHttpProbe } from '../schemas/ModelHttpProbe';
|
|
3
|
+
import type { ModelPromProbe } from '../schemas/ModelPromProbe';
|
|
4
|
+
export interface ModelProbeIterations {
|
|
5
|
+
commandProbe?: ModelCommandProbe;
|
|
6
|
+
duration?: number;
|
|
7
|
+
httpProbe?: ModelHttpProbe;
|
|
8
|
+
phase?: string;
|
|
9
|
+
promProbe?: ModelPromProbe;
|
|
10
|
+
timestamp?: number;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -4,7 +4,7 @@ import type { TargetnetworkmapExperimentRunDetail } from '../schemas/Targetnetwo
|
|
|
4
4
|
import type { NetworkmapTargetServiceDetails } from '../schemas/NetworkmapTargetServiceDetails';
|
|
5
5
|
import type { TargetnetworkmapStatus } from '../schemas/TargetnetworkmapStatus';
|
|
6
6
|
export interface NetworkmapGetTargetNetworkMapResponse {
|
|
7
|
-
accountID
|
|
7
|
+
accountID: string;
|
|
8
8
|
agentIdentity?: string;
|
|
9
9
|
averageResiliencyScore?: number;
|
|
10
10
|
connections?: DatabaseConnection[];
|
|
@@ -16,7 +16,7 @@ export interface NetworkmapGetTargetNetworkMapResponse {
|
|
|
16
16
|
id?: string;
|
|
17
17
|
identity?: string;
|
|
18
18
|
infrastructureId?: string;
|
|
19
|
-
isRemoved
|
|
19
|
+
isRemoved: boolean;
|
|
20
20
|
name?: string;
|
|
21
21
|
onboardingID?: string;
|
|
22
22
|
orgID?: string;
|
|
@@ -2,7 +2,7 @@ import type { TargetnetworkmapExperimentCreationMode } from '../schemas/Targetne
|
|
|
2
2
|
import type { TargetnetworkmapExperimentRunDetail } from '../schemas/TargetnetworkmapExperimentRunDetail';
|
|
3
3
|
import type { TargetnetworkmapStatus } from '../schemas/TargetnetworkmapStatus';
|
|
4
4
|
export interface TargetnetworkmapTargetNetworkMap {
|
|
5
|
-
accountID
|
|
5
|
+
accountID: string;
|
|
6
6
|
agentIdentity?: string;
|
|
7
7
|
averageResiliencyScore?: number;
|
|
8
8
|
createdAt?: number;
|
|
@@ -13,7 +13,7 @@ export interface TargetnetworkmapTargetNetworkMap {
|
|
|
13
13
|
id?: string;
|
|
14
14
|
identity?: string;
|
|
15
15
|
infrastructureId?: string;
|
|
16
|
-
isRemoved
|
|
16
|
+
isRemoved: boolean;
|
|
17
17
|
name?: string;
|
|
18
18
|
onboardingID?: string;
|
|
19
19
|
orgID?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { TargetserviceServiceSpec } from '../schemas/TargetserviceServiceSpec';
|
|
2
2
|
import type { TargetserviceServiceType } from '../schemas/TargetserviceServiceType';
|
|
3
3
|
export interface TargetserviceTargetService {
|
|
4
|
-
accountID
|
|
4
|
+
accountID: string;
|
|
5
5
|
averageResiliencyScore?: number;
|
|
6
6
|
createdAt?: number;
|
|
7
7
|
createdBy?: string;
|
|
@@ -9,7 +9,7 @@ export interface TargetserviceTargetService {
|
|
|
9
9
|
externalId?: string;
|
|
10
10
|
id?: string;
|
|
11
11
|
infrastructureId?: string;
|
|
12
|
-
isRemoved
|
|
12
|
+
isRemoved: boolean;
|
|
13
13
|
licenseId?: string;
|
|
14
14
|
name?: string;
|
|
15
15
|
orgID?: string;
|