@harnessio/react-chaos-manager-client 1.72.0 → 1.74.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/useCleanupChaosResourcesV3Mutation.d.ts +34 -0
- package/dist/chaos-manager/src/services/hooks/useCleanupChaosResourcesV3Mutation.js +16 -0
- package/dist/chaos-manager/src/services/hooks/useGetChaosCleanupStatusV3Query.d.ts +29 -0
- package/dist/chaos-manager/src/services/hooks/useGetChaosCleanupStatusV3Query.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetCleanupCommandUnitStatusesQuery.d.ts +25 -0
- package/dist/chaos-manager/src/services/hooks/useGetCleanupCommandUnitStatusesQuery.js +15 -0
- package/dist/chaos-manager/src/services/hooks/useGetServiceRiskScanQuery.d.ts +27 -0
- package/dist/chaos-manager/src/services/hooks/useGetServiceRiskScanQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListChaosServiceLoadTestsQuery.d.ts +46 -0
- package/dist/chaos-manager/src/services/hooks/useListChaosServiceLoadTestsQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmServiceRiskScanMutation.d.ts +28 -0
- package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmServiceRiskScanMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useSkipOnboardingMutation.d.ts +28 -0
- package/dist/chaos-manager/src/services/hooks/useSkipOnboardingMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useTriggerServiceRiskScanMutation.d.ts +28 -0
- package/dist/chaos-manager/src/services/hooks/useTriggerServiceRiskScanMutation.js +14 -0
- package/dist/chaos-manager/src/services/index.d.ts +29 -0
- package/dist/chaos-manager/src/services/index.js +8 -0
- package/dist/chaos-manager/src/services/schemas/ActionActionTemplateRunProperties.d.ts +2 -6
- package/dist/chaos-manager/src/services/schemas/ChaosExperimentRunChaosExperimentRun.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExperimentRunRunContainerStatus.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExperimentRunRunContainerStatus.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExperimentRunRunFailureDetails.d.ts +8 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExperimentRunRunFailureDetails.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosservicesExperimentExecutionResponse.d.ts +4 -1
- package/dist/chaos-manager/src/services/schemas/ChaosservicesExperimentExecutionResponse.js +0 -3
- package/dist/chaos-manager/src/services/schemas/ChaosservicesListLoadTestsResponse.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/ChaosservicesListLoadTestsResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosservicesLoadTestSummaryResponse.d.ts +31 -0
- package/dist/chaos-manager/src/services/schemas/ChaosservicesLoadTestSummaryResponse.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ExecutionExecutionOutputResponse.d.ts +1 -3
- package/dist/chaos-manager/src/services/schemas/ExperimentRunUpdateExperimentRunWithErrorRequest.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentRunUpdateExperimentRunWithErrorRequest.js +0 -3
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsCleanupExperimentRunResourcesBody.d.ts +13 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsCleanupExperimentRunResourcesBody.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsCleanupExperimentRunResourcesResponse.d.ts +16 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsCleanupExperimentRunResourcesResponse.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsGetCleanupStatusResponse.d.ts +55 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsGetCleanupStatusResponse.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsGetExperimentRunResponse.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppdMetrics.d.ts +1 -3
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogApmProbeInputs.d.ts +1 -3
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDynatraceApmProbeInputs.d.ts +1 -3
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkEnterpriseProbeInputs.d.ts +1 -3
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityMetrics.d.ts +1 -3
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppdMetrics.d.ts +1 -3
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogApmProbeInputs.d.ts +1 -3
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs.d.ts +1 -3
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkEnterpriseProbeInputs.d.ts +1 -3
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityMetrics.d.ts +1 -3
- package/dist/chaos-manager/src/services/schemas/ModelInput.d.ts +2 -6
- package/dist/chaos-manager/src/services/schemas/PipelinesCreatePipelineResponse.d.ts +1 -3
- package/dist/chaos-manager/src/services/schemas/ProbeApmProbe.d.ts +3 -9
- package/dist/chaos-manager/src/services/schemas/ProbeCmdProbeTemplate.d.ts +1 -3
- package/dist/chaos-manager/src/services/schemas/ProbeContainerProbe.d.ts +3 -9
- package/dist/chaos-manager/src/services/schemas/ProbeDatadogProbe.d.ts +3 -9
- package/dist/chaos-manager/src/services/schemas/ProbeDynatraceProbe.d.ts +3 -9
- package/dist/chaos-manager/src/services/schemas/ProbeEvaluationWindow.d.ts +2 -6
- package/dist/chaos-manager/src/services/schemas/ProbeEvaluationWindowTemplate.d.ts +2 -6
- package/dist/chaos-manager/src/services/schemas/ProbeHttpProbe.d.ts +3 -9
- package/dist/chaos-manager/src/services/schemas/ProbeK8SProbe.d.ts +3 -9
- package/dist/chaos-manager/src/services/schemas/ProbeKubernetesCmdProbe.d.ts +4 -12
- package/dist/chaos-manager/src/services/schemas/ProbeLinuxCmdProbe.d.ts +4 -12
- package/dist/chaos-manager/src/services/schemas/ProbeProbeTemplateRunProperties.d.ts +2 -6
- package/dist/chaos-manager/src/services/schemas/ProbePromProbe.d.ts +3 -9
- package/dist/chaos-manager/src/services/schemas/ProbeSloProbe.d.ts +3 -9
- package/dist/chaos-manager/src/services/schemas/ProbeTlsConfigSm.d.ts +1 -3
- package/dist/chaos-manager/src/services/schemas/ProbeWindowsCmdProbe.d.ts +3 -9
- package/dist/chaos-manager/src/services/schemas/TemplateInput.d.ts +3 -9
- package/dist/chaos-manager/src/services/schemas/TemplateInputMinimum.d.ts +1 -3
- package/dist/chaos-manager/src/services/schemas/TemplateVariable.d.ts +1 -3
- package/dist/chaos-manager/src/services/schemas/V2OnboardingConfirmServiceRiskScanResponse.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/V2OnboardingConfirmServiceRiskScanResponse.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V2OnboardingGetServiceRiskScanResponse.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/V2OnboardingGetServiceRiskScanResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V2OnboardingRiskScanStatus.d.ts +10 -0
- package/dist/chaos-manager/src/services/schemas/V2OnboardingRiskScanStatus.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V2OnboardingRiskScanSummary.d.ts +10 -0
- package/dist/chaos-manager/src/services/schemas/V2OnboardingRiskScanSummary.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V2OnboardingSkipOnboardingResponse.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/V2OnboardingSkipOnboardingResponse.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V2OnboardingTriggerServiceRiskScanResponse.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/V2OnboardingTriggerServiceRiskScanResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V2OnboardingV2Onboarding.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/V2OnboardingV2OnboardingStatus.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ChaosExperimentRunAction } from '../schemas/ChaosExperimentRunAction';
|
|
2
2
|
import type { ChaosExperimentRunExperimentType } from '../schemas/ChaosExperimentRunExperimentType';
|
|
3
|
+
import type { ChaosExperimentRunRunFailureDetails } from '../schemas/ChaosExperimentRunRunFailureDetails';
|
|
3
4
|
import type { ChaosExperimentRunFaults } from '../schemas/ChaosExperimentRunFaults';
|
|
4
5
|
import type { ChaosExperimentRunProbe } from '../schemas/ChaosExperimentRunProbe';
|
|
5
6
|
import type { ChaosExperimentRunSecurityGovernanceNode } from '../schemas/ChaosExperimentRunSecurityGovernanceNode';
|
|
@@ -20,6 +21,7 @@ export interface ChaosExperimentRunChaosExperimentRun {
|
|
|
20
21
|
experimentTags?: string[];
|
|
21
22
|
experimentType?: ChaosExperimentRunExperimentType;
|
|
22
23
|
experimentYaml?: string;
|
|
24
|
+
failureDetails?: ChaosExperimentRunRunFailureDetails;
|
|
23
25
|
faultIDs?: string[];
|
|
24
26
|
faultsAwaited?: number;
|
|
25
27
|
faultsFailed?: number;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ChaosExperimentRunRunContainerStatus } from '../schemas/ChaosExperimentRunRunContainerStatus';
|
|
2
|
+
export interface ChaosExperimentRunRunFailureDetails {
|
|
3
|
+
containerStatuses?: ChaosExperimentRunRunContainerStatus[];
|
|
4
|
+
diagnosticEvents?: string[];
|
|
5
|
+
failedResourceName?: string;
|
|
6
|
+
failureCategory?: string;
|
|
7
|
+
podPhase?: string;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/chaos-manager/src/services/schemas/ChaosservicesExperimentExecutionResponse.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import type { HcesdkUserDetails } from '../schemas/HcesdkUserDetails';
|
|
1
2
|
export interface ChaosservicesExperimentExecutionResponse {
|
|
2
3
|
completed?: boolean;
|
|
3
4
|
createdAt?: number;
|
|
5
|
+
createdBy?: HcesdkUserDetails;
|
|
4
6
|
experimentID?: string;
|
|
5
7
|
experimentIdentifier?: string;
|
|
6
8
|
experimentName?: string;
|
|
@@ -12,10 +14,11 @@ export interface ChaosservicesExperimentExecutionResponse {
|
|
|
12
14
|
faultsPassed?: number;
|
|
13
15
|
faultsStopped?: number;
|
|
14
16
|
infraID?: string;
|
|
17
|
+
isRemoved: boolean;
|
|
15
18
|
phase?: string;
|
|
16
19
|
resiliencyScore?: number;
|
|
17
20
|
runSequence?: number;
|
|
18
21
|
totalFaults?: number;
|
|
19
22
|
updatedAt?: number;
|
|
20
|
-
updatedBy?:
|
|
23
|
+
updatedBy?: HcesdkUserDetails;
|
|
21
24
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ChaosservicesLoadTestSummaryResponse } from '../schemas/ChaosservicesLoadTestSummaryResponse';
|
|
2
|
+
import type { SharedPaginationResponse } from '../schemas/SharedPaginationResponse';
|
|
3
|
+
export interface ChaosservicesListLoadTestsResponse {
|
|
4
|
+
correlationID?: string;
|
|
5
|
+
data?: ChaosservicesLoadTestSummaryResponse[];
|
|
6
|
+
pagination?: SharedPaginationResponse;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export interface ChaosservicesLoadTestSummaryResponse {
|
|
2
|
+
/**
|
|
3
|
+
* account id to access the resource
|
|
4
|
+
*/
|
|
5
|
+
accountIdentifier: string;
|
|
6
|
+
createdAt?: number;
|
|
7
|
+
createdBy?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
envId?: string;
|
|
10
|
+
identity?: string;
|
|
11
|
+
infraId?: string;
|
|
12
|
+
lastExecuted?: number;
|
|
13
|
+
name?: string;
|
|
14
|
+
/**
|
|
15
|
+
* organization id to access the resource
|
|
16
|
+
*/
|
|
17
|
+
organizationIdentifier?: string;
|
|
18
|
+
/**
|
|
19
|
+
* resolved parent scope unique ID (from scope-info API or query param)
|
|
20
|
+
*/
|
|
21
|
+
parentUniqueId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* project id to access the resource
|
|
24
|
+
*/
|
|
25
|
+
projectIdentifier?: string;
|
|
26
|
+
serviceReferences?: string[];
|
|
27
|
+
tags?: string[];
|
|
28
|
+
toolType?: string;
|
|
29
|
+
updatedAt?: number;
|
|
30
|
+
updatedBy?: string;
|
|
31
|
+
}
|
|
@@ -1,8 +1,15 @@
|
|
|
1
|
+
import type { ChaosExperimentRunRunFailureDetails } from '../schemas/ChaosExperimentRunRunFailureDetails';
|
|
1
2
|
export interface ExperimentRunUpdateExperimentRunWithErrorRequest {
|
|
2
3
|
accountIdentifier: string;
|
|
3
4
|
errorResponse?: string;
|
|
4
5
|
experimentID: string;
|
|
5
6
|
experimentRunID: string;
|
|
7
|
+
/**
|
|
8
|
+
* FailureDetails carries optional structured apply-failure diagnostics from
|
|
9
|
+
* k8s-ifs. Absent on the legacy path / older delegates / successful runs, so
|
|
10
|
+
* it is purely additive - existing callers that omit it are unaffected.
|
|
11
|
+
*/
|
|
12
|
+
failureDetails?: ChaosExperimentRunRunFailureDetails;
|
|
6
13
|
notifyID: string;
|
|
7
14
|
organizationIdentifier?: string;
|
|
8
15
|
parentUniqueId?: string;
|
package/dist/chaos-manager/src/services/schemas/ExperimentrunsCleanupExperimentRunResourcesBody.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface ExperimentrunsCleanupExperimentRunResourcesBody {
|
|
2
|
+
confirmMassDeletion?: boolean;
|
|
3
|
+
dryRun?: boolean;
|
|
4
|
+
experimentRunId: string;
|
|
5
|
+
forceDelete?: boolean;
|
|
6
|
+
gracePeriodSeconds?: number;
|
|
7
|
+
/**
|
|
8
|
+
* MaxDeletions / ConfirmMassDeletion drive the ng-manager mass-deletion
|
|
9
|
+
* safety gate. Leave zero for the default behaviour; set ConfirmMassDeletion
|
|
10
|
+
* (or a higher/negative MaxDeletions) to proceed after a BLOCKED cleanup.
|
|
11
|
+
*/
|
|
12
|
+
maxDeletions?: number;
|
|
13
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface ExperimentrunsCleanupExperimentRunResourcesResponse {
|
|
2
|
+
/**
|
|
3
|
+
* correlation id is used to debug micro svc communication
|
|
4
|
+
*/
|
|
5
|
+
correlationID?: string;
|
|
6
|
+
experimentId?: string;
|
|
7
|
+
experimentName?: string;
|
|
8
|
+
isCleanedUp?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* LogUID is the unique-per-cleanup log-streaming id for THIS cleanup. Cleanup
|
|
11
|
+
* is N:1 with a run, so the UI passes logUid (not the run id) as the `uid` to
|
|
12
|
+
* the cleanup command-unit-status endpoint to stream this cleanup's logs.
|
|
13
|
+
*/
|
|
14
|
+
logUid?: string;
|
|
15
|
+
taskId?: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export interface ExperimentrunsGetCleanupStatusResponse {
|
|
2
|
+
canStartNewCleanup?: boolean;
|
|
3
|
+
/**
|
|
4
|
+
* CleanupBlockedReason explains why CanStartNewCleanup is false, so the UI can
|
|
5
|
+
* render an actionable message and gate the cleanup CTA to the phase-appropriate
|
|
6
|
+
* TERMINATE action from a single authoritative signal:
|
|
7
|
+
* - "experimentRunning" (run is Running -> Stop it first),
|
|
8
|
+
* - "queuedNotAborted" (run is Queued/Pending -> Abort it first),
|
|
9
|
+
* - "notTerminal" (any other non-terminal/unknown phase -> terminate first),
|
|
10
|
+
* - "inProgress" (a cleanup is already in-flight).
|
|
11
|
+
* Empty when cleanup is allowed. None are time-retryable: cleanup only ever
|
|
12
|
+
* proceeds once the run is terminal, and the sole bridge there is the terminate
|
|
13
|
+
* action (Stop/Abort), never elapsed time.
|
|
14
|
+
*/
|
|
15
|
+
cleanupBlockedReason?: string;
|
|
16
|
+
/**
|
|
17
|
+
* correlation id is used to debug micro svc communication
|
|
18
|
+
*/
|
|
19
|
+
correlationID?: string;
|
|
20
|
+
createdAt?: number;
|
|
21
|
+
/**
|
|
22
|
+
* DeletedResources is the itemized set the cleanup acted on. On a DRY RUN it is
|
|
23
|
+
* the "would-delete" preview list the UI renders before a real delete; on
|
|
24
|
+
* FAILED/PARTIAL it lists what was removed. Empty on a fully successful real
|
|
25
|
+
* delete (trimmed upstream to bound storage).
|
|
26
|
+
*/
|
|
27
|
+
deletedResources?: string[];
|
|
28
|
+
dryRun?: boolean;
|
|
29
|
+
errorMessage?: string;
|
|
30
|
+
experimentId?: string;
|
|
31
|
+
experimentName?: string;
|
|
32
|
+
experimentRunId?: string;
|
|
33
|
+
failedDeletions?: number;
|
|
34
|
+
failedResources?: string[];
|
|
35
|
+
found?: boolean;
|
|
36
|
+
inProgress?: boolean;
|
|
37
|
+
labelSelector?: string;
|
|
38
|
+
/**
|
|
39
|
+
* LogUID is the unique-per-cleanup log-streaming id of the latest cleanup task;
|
|
40
|
+
* the UI passes it (not the run id) as the `uid` to the cleanup
|
|
41
|
+
* command-unit-status endpoint so the log key resolves to THIS cleanup's logs.
|
|
42
|
+
*/
|
|
43
|
+
logUid?: string;
|
|
44
|
+
namespace?: string;
|
|
45
|
+
status?: string;
|
|
46
|
+
successfulDeletions?: number;
|
|
47
|
+
taskId?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Counts are ALWAYS emitted (no omitempty): a cleanup that legitimately found
|
|
50
|
+
* or deleted 0 resources must serialize as 0, not be dropped to null - the UI
|
|
51
|
+
* cannot otherwise distinguish "found zero" from "not reported".
|
|
52
|
+
*/
|
|
53
|
+
totalResourcesFound?: number;
|
|
54
|
+
updatedAt?: number;
|
|
55
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ChaosExperimentRunAction } from '../schemas/ChaosExperimentRunAction';
|
|
2
2
|
import type { HcesdkUserDetails } from '../schemas/HcesdkUserDetails';
|
|
3
|
+
import type { ChaosExperimentRunRunFailureDetails } from '../schemas/ChaosExperimentRunRunFailureDetails';
|
|
3
4
|
import type { ChaosExperimentRunFaults } from '../schemas/ChaosExperimentRunFaults';
|
|
4
5
|
import type { ChaosExperimentRunProbe } from '../schemas/ChaosExperimentRunProbe';
|
|
5
6
|
import type { ChaosExperimentRunSecurityGovernanceNode } from '../schemas/ChaosExperimentRunSecurityGovernanceNode';
|
|
@@ -27,6 +28,7 @@ export interface ExperimentrunsGetExperimentRunResponse {
|
|
|
27
28
|
*/
|
|
28
29
|
experimentType?: string;
|
|
29
30
|
experimentYaml?: string;
|
|
31
|
+
failureDetails?: ChaosExperimentRunRunFailureDetails;
|
|
30
32
|
faultIDs?: string[];
|
|
31
33
|
faultsAwaited?: number;
|
|
32
34
|
faultsFailed?: number;
|
|
@@ -3,9 +3,7 @@ import type { ProbeSyntheticsTest } from '../schemas/ProbeSyntheticsTest';
|
|
|
3
3
|
export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogApmProbeInputs {
|
|
4
4
|
aggregation?: string;
|
|
5
5
|
connectorID?: string;
|
|
6
|
-
durationInMin?: {
|
|
7
|
-
[key: string]: any;
|
|
8
|
-
};
|
|
6
|
+
durationInMin?: {};
|
|
9
7
|
formula?: string;
|
|
10
8
|
queries?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogV2Query[];
|
|
11
9
|
query?: string;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import type { ProbeMetrics } from '../schemas/ProbeMetrics';
|
|
2
2
|
export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDynatraceApmProbeInputs {
|
|
3
3
|
connectorID?: string;
|
|
4
|
-
durationInMin?: {
|
|
5
|
-
[key: string]: any;
|
|
6
|
-
};
|
|
4
|
+
durationInMin?: {};
|
|
7
5
|
metrics?: ProbeMetrics;
|
|
8
6
|
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import type { ProbeApmtlsConfig } from '../schemas/ProbeApmtlsConfig';
|
|
2
2
|
export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkEnterpriseProbeInputs {
|
|
3
3
|
connectorID?: string;
|
|
4
|
-
durationInMin?: {
|
|
5
|
-
[key: string]: any;
|
|
6
|
-
};
|
|
4
|
+
durationInMin?: {};
|
|
7
5
|
fieldToFetch?: string;
|
|
8
6
|
searchQuery?: string;
|
|
9
7
|
tlsConfig?: ProbeApmtlsConfig;
|
|
@@ -3,9 +3,7 @@ import type { ProbeSyntheticsTestTemplate } from '../schemas/ProbeSyntheticsTest
|
|
|
3
3
|
export interface GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogApmProbeInputs {
|
|
4
4
|
aggregation?: string;
|
|
5
5
|
connectorID?: string;
|
|
6
|
-
durationInMin?: {
|
|
7
|
-
[key: string]: any;
|
|
8
|
-
};
|
|
6
|
+
durationInMin?: {};
|
|
9
7
|
formula?: string;
|
|
10
8
|
queries?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogV2Query[];
|
|
11
9
|
query?: string;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import type { ProbeDynatraceMetricsTemplate } from '../schemas/ProbeDynatraceMetricsTemplate';
|
|
2
2
|
export interface GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs {
|
|
3
3
|
connectorID?: string;
|
|
4
|
-
durationInMin?: {
|
|
5
|
-
[key: string]: any;
|
|
6
|
-
};
|
|
4
|
+
durationInMin?: {};
|
|
7
5
|
metrics?: ProbeDynatraceMetricsTemplate;
|
|
8
6
|
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import type { ProbeTlsConfigSm } from '../schemas/ProbeTlsConfigSm';
|
|
2
2
|
export interface GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkEnterpriseProbeInputs {
|
|
3
3
|
connectorID?: string;
|
|
4
|
-
durationInMin?: {
|
|
5
|
-
[key: string]: any;
|
|
6
|
-
};
|
|
4
|
+
durationInMin?: {};
|
|
7
5
|
fieldToFetch?: string;
|
|
8
6
|
searchQuery?: string;
|
|
9
7
|
tlsConfig?: ProbeTlsConfigSm;
|
|
@@ -6,9 +6,7 @@ export interface ModelInput {
|
|
|
6
6
|
/**
|
|
7
7
|
* Default value for the input
|
|
8
8
|
*/
|
|
9
|
-
default?: {
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
};
|
|
9
|
+
default?: {};
|
|
12
10
|
/**
|
|
13
11
|
* Description of the input (minimum 10 characters)
|
|
14
12
|
*/
|
|
@@ -36,7 +34,5 @@ export interface ModelInput {
|
|
|
36
34
|
/**
|
|
37
35
|
* Value of the input - can be static or runtime (string, boolean, or number)
|
|
38
36
|
*/
|
|
39
|
-
value?: {
|
|
40
|
-
[key: string]: any;
|
|
41
|
-
};
|
|
37
|
+
value?: {};
|
|
42
38
|
}
|
|
@@ -9,25 +9,19 @@ import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkE
|
|
|
9
9
|
import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityProbeInputs } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityProbeInputs';
|
|
10
10
|
export interface ProbeApmProbe {
|
|
11
11
|
appDynamicsProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppDynamicsProbeInputs;
|
|
12
|
-
attempt?: {
|
|
13
|
-
[key: string]: any;
|
|
14
|
-
};
|
|
12
|
+
attempt?: {};
|
|
15
13
|
comparator?: ProbeComparator;
|
|
16
14
|
datadogApmProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogApmProbeInputs;
|
|
17
15
|
dynatraceApmProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDynatraceApmProbeInputs;
|
|
18
16
|
gcpCloudMonitoringProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeGcpCloudMonitoringProbeInputs;
|
|
19
17
|
initialDelay?: string;
|
|
20
|
-
initialDelaySeconds?: {
|
|
21
|
-
[key: string]: any;
|
|
22
|
-
};
|
|
18
|
+
initialDelaySeconds?: {};
|
|
23
19
|
interval?: string;
|
|
24
20
|
newRelicProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeNewRelicProbeInputs;
|
|
25
21
|
pollingInterval?: string;
|
|
26
22
|
probeTimeout?: string;
|
|
27
23
|
prometheusProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePrometheusProbeInputs;
|
|
28
|
-
retry?: {
|
|
29
|
-
[key: string]: any;
|
|
30
|
-
};
|
|
24
|
+
retry?: {};
|
|
31
25
|
splunkEnterpriseProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkEnterpriseProbeInputs;
|
|
32
26
|
splunkObservabilityProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityProbeInputs;
|
|
33
27
|
stopOnFailure?: boolean;
|
|
@@ -14,9 +14,7 @@ export interface ProbeContainerProbe {
|
|
|
14
14
|
[key: string]: string;
|
|
15
15
|
};
|
|
16
16
|
args?: string;
|
|
17
|
-
attempt?: {
|
|
18
|
-
[key: string]: any;
|
|
19
|
-
};
|
|
17
|
+
attempt?: {};
|
|
20
18
|
command?: string[];
|
|
21
19
|
comparator?: ProbeComparator;
|
|
22
20
|
containerSecurityContext?: V1SecurityContext;
|
|
@@ -28,9 +26,7 @@ export interface ProbeContainerProbe {
|
|
|
28
26
|
imagePullPolicy?: V1PullPolicy;
|
|
29
27
|
imagePullSecrets?: string[];
|
|
30
28
|
initialDelay?: string;
|
|
31
|
-
initialDelaySeconds?: {
|
|
32
|
-
[key: string]: any;
|
|
33
|
-
};
|
|
29
|
+
initialDelaySeconds?: {};
|
|
34
30
|
interval?: string;
|
|
35
31
|
labels?: {
|
|
36
32
|
[key: string]: string;
|
|
@@ -43,9 +39,7 @@ export interface ProbeContainerProbe {
|
|
|
43
39
|
pollingInterval?: string;
|
|
44
40
|
probeTimeout?: string;
|
|
45
41
|
resources?: CommonResourceRequirements;
|
|
46
|
-
retry?: {
|
|
47
|
-
[key: string]: any;
|
|
48
|
-
};
|
|
42
|
+
retry?: {};
|
|
49
43
|
serviceAccountName?: string;
|
|
50
44
|
stopOnFailure?: boolean;
|
|
51
45
|
tolerations?: V1Toleration[];
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import type { ProbeDatadogMetrics } from '../schemas/ProbeDatadogMetrics';
|
|
2
2
|
import type { ProbeSyntheticsTest } from '../schemas/ProbeSyntheticsTest';
|
|
3
3
|
export interface ProbeDatadogProbe {
|
|
4
|
-
attempt?: {
|
|
5
|
-
[key: string]: any;
|
|
6
|
-
};
|
|
4
|
+
attempt?: {};
|
|
7
5
|
datadogCredentialsSecretName?: string;
|
|
8
6
|
datadogSite?: string;
|
|
9
7
|
initialDelay?: string;
|
|
10
|
-
initialDelaySeconds?: {
|
|
11
|
-
[key: string]: any;
|
|
12
|
-
};
|
|
8
|
+
initialDelaySeconds?: {};
|
|
13
9
|
interval?: string;
|
|
14
10
|
metrics?: ProbeDatadogMetrics;
|
|
15
11
|
pollingInterval?: string;
|
|
16
12
|
probeTimeout?: string;
|
|
17
|
-
retry?: {
|
|
18
|
-
[key: string]: any;
|
|
19
|
-
};
|
|
13
|
+
retry?: {};
|
|
20
14
|
stopOnFailure?: boolean;
|
|
21
15
|
syntheticsTest?: ProbeSyntheticsTest;
|
|
22
16
|
verbosity?: string;
|
|
@@ -2,22 +2,16 @@ import type { ProbeComparator } from '../schemas/ProbeComparator';
|
|
|
2
2
|
import type { ProbeMetrics } from '../schemas/ProbeMetrics';
|
|
3
3
|
export interface ProbeDynatraceProbe {
|
|
4
4
|
apiTokenSecretName?: string;
|
|
5
|
-
attempt?: {
|
|
6
|
-
[key: string]: any;
|
|
7
|
-
};
|
|
5
|
+
attempt?: {};
|
|
8
6
|
comparator?: ProbeComparator;
|
|
9
7
|
endpoint?: string;
|
|
10
8
|
initialDelay?: string;
|
|
11
|
-
initialDelaySeconds?: {
|
|
12
|
-
[key: string]: any;
|
|
13
|
-
};
|
|
9
|
+
initialDelaySeconds?: {};
|
|
14
10
|
interval?: string;
|
|
15
11
|
metrics?: ProbeMetrics;
|
|
16
12
|
pollingInterval?: string;
|
|
17
13
|
probeTimeout?: string;
|
|
18
|
-
retry?: {
|
|
19
|
-
[key: string]: any;
|
|
20
|
-
};
|
|
14
|
+
retry?: {};
|
|
21
15
|
stopOnFailure?: boolean;
|
|
22
16
|
timeFrame?: string;
|
|
23
17
|
verbosity?: string;
|
|
@@ -2,13 +2,9 @@ export interface ProbeEvaluationWindow {
|
|
|
2
2
|
/**
|
|
3
3
|
* End time of evaluation
|
|
4
4
|
*/
|
|
5
|
-
evaluationEndTime?: {
|
|
6
|
-
[key: string]: any;
|
|
7
|
-
};
|
|
5
|
+
evaluationEndTime?: {};
|
|
8
6
|
/**
|
|
9
7
|
* Start time of evaluation
|
|
10
8
|
*/
|
|
11
|
-
evaluationStartTime?: {
|
|
12
|
-
[key: string]: any;
|
|
13
|
-
};
|
|
9
|
+
evaluationStartTime?: {};
|
|
14
10
|
}
|
|
@@ -3,22 +3,16 @@ import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeHeaders
|
|
|
3
3
|
import type { ProbeMethod } from '../schemas/ProbeMethod';
|
|
4
4
|
import type { ProbeTlsConfig } from '../schemas/ProbeTlsConfig';
|
|
5
5
|
export interface ProbeHttpProbe {
|
|
6
|
-
attempt?: {
|
|
7
|
-
[key: string]: any;
|
|
8
|
-
};
|
|
6
|
+
attempt?: {};
|
|
9
7
|
auth?: ProbeAuthorization;
|
|
10
8
|
headers?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeHeaders[];
|
|
11
9
|
initialDelay?: string;
|
|
12
|
-
initialDelaySeconds?: {
|
|
13
|
-
[key: string]: any;
|
|
14
|
-
};
|
|
10
|
+
initialDelaySeconds?: {};
|
|
15
11
|
interval?: string;
|
|
16
12
|
method?: ProbeMethod;
|
|
17
13
|
pollingInterval?: string;
|
|
18
14
|
probeTimeout?: string;
|
|
19
|
-
retry?: {
|
|
20
|
-
[key: string]: any;
|
|
21
|
-
};
|
|
15
|
+
retry?: {};
|
|
22
16
|
stopOnFailure?: boolean;
|
|
23
17
|
tlsConfig?: ProbeTlsConfig;
|
|
24
18
|
url?: string;
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
export interface ProbeK8SProbe {
|
|
2
|
-
attempt?: {
|
|
3
|
-
[key: string]: any;
|
|
4
|
-
};
|
|
2
|
+
attempt?: {};
|
|
5
3
|
fieldSelector?: string;
|
|
6
4
|
group?: string;
|
|
7
5
|
initialDelay?: string;
|
|
8
|
-
initialDelaySeconds?: {
|
|
9
|
-
[key: string]: any;
|
|
10
|
-
};
|
|
6
|
+
initialDelaySeconds?: {};
|
|
11
7
|
interval?: string;
|
|
12
8
|
labelSelector?: string;
|
|
13
9
|
namespace?: string;
|
|
@@ -16,9 +12,7 @@ export interface ProbeK8SProbe {
|
|
|
16
12
|
probeTimeout?: string;
|
|
17
13
|
resource?: string;
|
|
18
14
|
resourceNames?: string;
|
|
19
|
-
retry?: {
|
|
20
|
-
[key: string]: any;
|
|
21
|
-
};
|
|
15
|
+
retry?: {};
|
|
22
16
|
stopOnFailure?: boolean;
|
|
23
17
|
verbosity?: string;
|
|
24
18
|
version?: string;
|