@harnessio/react-chaos-manager-client 0.5.0 → 0.6.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/useDeleteProbeMutation.d.ts +26 -0
- package/dist/chaos-manager/src/services/hooks/useDeleteProbeMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useEnableProbeMutation.d.ts +29 -0
- package/dist/chaos-manager/src/services/hooks/useEnableProbeMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetChaosV2ExperimentVariablesQuery.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useGetInputSetQuery.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useListInputSetQuery.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useRunChaosV2ExperimentMutation.d.ts +1 -0
- package/dist/chaos-manager/src/services/index.d.ts +8 -7
- package/dist/chaos-manager/src/services/index.js +2 -0
- package/dist/chaos-manager/src/services/schemas/{ProbeKubernetesDatadogProbe.d.ts → ProbeDatadogProbe.d.ts} +1 -1
- package/dist/chaos-manager/src/services/schemas/{ProbeKubernetesDynatraceProbe.d.ts → ProbeDynatraceProbe.d.ts} +1 -1
- package/dist/chaos-manager/src/services/schemas/{ProbeKubernetesHttpProbe.d.ts → ProbeHttpProbe.d.ts} +1 -1
- package/dist/chaos-manager/src/services/schemas/ProbeLinuxCmdProbe.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/TypesCreateProbeResponse.d.ts +10 -14
- package/dist/chaos-manager/src/services/schemas/TypesExperimentV2.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/TypesGetProbeResponse.d.ts +0 -1
- package/dist/chaos-manager/src/services/schemas/TypesProbeBulkEnableRequest.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/TypesProbeBulkEnableRequest.js +4 -0
- package/dist/chaos-manager/src/services/schemas/TypesProbeRequest.d.ts +0 -1
- package/package.json +1 -1
- package/dist/chaos-manager/src/services/schemas/ProbeLinuxDatadogProbe.d.ts +0 -13
- package/dist/chaos-manager/src/services/schemas/ProbeLinuxDatadogProbe.js +0 -1
- package/dist/chaos-manager/src/services/schemas/ProbeLinuxDynatraceProbe.d.ts +0 -14
- package/dist/chaos-manager/src/services/schemas/ProbeLinuxDynatraceProbe.js +0 -1
- package/dist/chaos-manager/src/services/schemas/ProbeLinuxHttpProbe.d.ts +0 -17
- package/dist/chaos-manager/src/services/schemas/ProbeLinuxHttpProbe.js +0 -1
- package/dist/chaos-manager/src/services/schemas/ProbeWindowsHttpProbe.d.ts +0 -17
- package/dist/chaos-manager/src/services/schemas/ProbeWindowsHttpProbe.js +0 -1
- /package/dist/chaos-manager/src/services/schemas/{ProbeKubernetesDatadogProbe.js → ProbeDatadogProbe.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ProbeKubernetesDynatraceProbe.js → ProbeDynatraceProbe.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ProbeKubernetesHttpProbe.js → ProbeHttpProbe.js} +0 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
3
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
4
|
+
export interface DeleteProbeMutationPathParams {
|
|
5
|
+
probeId: string;
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteProbeMutationQueryParams {
|
|
8
|
+
accountIdentifier: string;
|
|
9
|
+
organizationIdentifier: string;
|
|
10
|
+
projectIdentifier: string;
|
|
11
|
+
}
|
|
12
|
+
export type DeleteProbeOkResponse = string;
|
|
13
|
+
export type DeleteProbeErrorResponse = ApiRestError;
|
|
14
|
+
export interface DeleteProbeProps extends DeleteProbeMutationPathParams, Omit<FetcherOptions<DeleteProbeMutationQueryParams, unknown>, 'url'> {
|
|
15
|
+
queryParams: DeleteProbeMutationQueryParams;
|
|
16
|
+
}
|
|
17
|
+
export interface DeleteProbeResponseContainer {
|
|
18
|
+
body: DeleteProbeOkResponse;
|
|
19
|
+
headers: Headers;
|
|
20
|
+
}
|
|
21
|
+
export declare function deleteProbe(props: DeleteProbeProps): Promise<DeleteProbeResponseContainer>;
|
|
22
|
+
export type DeleteProbeMutationProps<T extends keyof DeleteProbeProps> = Omit<DeleteProbeProps, T> & Partial<Pick<DeleteProbeProps, T>>;
|
|
23
|
+
/**
|
|
24
|
+
* Delete a probe with a provided identifier
|
|
25
|
+
*/
|
|
26
|
+
export declare function useDeleteProbeMutation<T extends keyof DeleteProbeProps>(props: Pick<Partial<DeleteProbeProps>, T>, options?: Omit<UseMutationOptions<DeleteProbeResponseContainer, DeleteProbeErrorResponse, DeleteProbeMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteProbeResponseContainer, ApiRestError, DeleteProbeMutationProps<T>, unknown>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function deleteProbe(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/v2/probes/${props.probeId}`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Delete a probe with a provided identifier
|
|
11
|
+
*/
|
|
12
|
+
export function useDeleteProbeMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => deleteProbe(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
3
|
+
import type { TypesProbeBulkEnableRequest } from '../schemas/TypesProbeBulkEnableRequest';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface EnableProbeMutationPathParams {
|
|
6
|
+
probeId: string;
|
|
7
|
+
}
|
|
8
|
+
export interface EnableProbeMutationQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
organizationIdentifier: string;
|
|
11
|
+
projectIdentifier: string;
|
|
12
|
+
}
|
|
13
|
+
export type EnableProbeRequestBody = TypesProbeBulkEnableRequest;
|
|
14
|
+
export type EnableProbeOkResponse = string;
|
|
15
|
+
export type EnableProbeErrorResponse = ApiRestError;
|
|
16
|
+
export interface EnableProbeProps extends EnableProbeMutationPathParams, Omit<FetcherOptions<EnableProbeMutationQueryParams, EnableProbeRequestBody>, 'url'> {
|
|
17
|
+
queryParams: EnableProbeMutationQueryParams;
|
|
18
|
+
body: EnableProbeRequestBody;
|
|
19
|
+
}
|
|
20
|
+
export interface EnableProbeResponseContainer {
|
|
21
|
+
body: EnableProbeOkResponse;
|
|
22
|
+
headers: Headers;
|
|
23
|
+
}
|
|
24
|
+
export declare function enableProbe(props: EnableProbeProps): Promise<EnableProbeResponseContainer>;
|
|
25
|
+
export type EnableProbeMutationProps<T extends keyof EnableProbeProps> = Omit<EnableProbeProps, T> & Partial<Pick<EnableProbeProps, T>>;
|
|
26
|
+
/**
|
|
27
|
+
* Enable and disable probes across experiments
|
|
28
|
+
*/
|
|
29
|
+
export declare function useEnableProbeMutation<T extends keyof EnableProbeProps>(props: Pick<Partial<EnableProbeProps>, T>, options?: Omit<UseMutationOptions<EnableProbeResponseContainer, EnableProbeErrorResponse, EnableProbeMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<EnableProbeResponseContainer, ApiRestError, EnableProbeMutationProps<T>, unknown>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function enableProbe(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/v2/probes/${props.probeId}/enable`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Enable and disable probes across experiments
|
|
11
|
+
*/
|
|
12
|
+
export function useEnableProbeMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => enableProbe(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -9,6 +9,7 @@ export interface GetChaosV2ExperimentVariablesQueryQueryParams {
|
|
|
9
9
|
accountIdentifier: string;
|
|
10
10
|
organizationIdentifier: string;
|
|
11
11
|
projectIdentifier: string;
|
|
12
|
+
isIdentity: boolean;
|
|
12
13
|
}
|
|
13
14
|
export type GetChaosV2ExperimentVariablesOkResponse = TemplateRunTimeVariables;
|
|
14
15
|
export type GetChaosV2ExperimentVariablesErrorResponse = ApiRestError;
|
|
@@ -10,6 +10,7 @@ export interface GetInputSetQueryQueryParams {
|
|
|
10
10
|
accountIdentifier: string;
|
|
11
11
|
organizationIdentifier: string;
|
|
12
12
|
projectIdentifier: string;
|
|
13
|
+
isIdentity: boolean;
|
|
13
14
|
}
|
|
14
15
|
export type GetInputSetOkResponse = InputsetsGetInputSetResponse;
|
|
15
16
|
export type GetInputSetErrorResponse = ApiRestError;
|
|
@@ -11,6 +11,7 @@ export interface RunChaosV2ExperimentMutationQueryParams {
|
|
|
11
11
|
organizationIdentifier: string;
|
|
12
12
|
projectIdentifier: string;
|
|
13
13
|
isOnboardingRun: boolean;
|
|
14
|
+
isIdentity: boolean;
|
|
14
15
|
}
|
|
15
16
|
export type RunChaosV2ExperimentRequestBody = TypesExperimentRunRequest;
|
|
16
17
|
export type RunChaosV2ExperimentOkResponse = ModelReRunChaosWorkflowResponse;
|
|
@@ -26,8 +26,12 @@ export type { DeleteInfraV2ErrorResponse, DeleteInfraV2MutationPathParams, Delet
|
|
|
26
26
|
export { deleteInfraV2, useDeleteInfraV2Mutation } from './hooks/useDeleteInfraV2Mutation';
|
|
27
27
|
export type { DeleteInputSetErrorResponse, DeleteInputSetMutationPathParams, DeleteInputSetMutationProps, DeleteInputSetMutationQueryParams, DeleteInputSetOkResponse, DeleteInputSetProps, } from './hooks/useDeleteInputSetMutation';
|
|
28
28
|
export { deleteInputSet, useDeleteInputSetMutation } from './hooks/useDeleteInputSetMutation';
|
|
29
|
+
export type { DeleteProbeErrorResponse, DeleteProbeMutationPathParams, DeleteProbeMutationProps, DeleteProbeMutationQueryParams, DeleteProbeOkResponse, DeleteProbeProps, } from './hooks/useDeleteProbeMutation';
|
|
30
|
+
export { deleteProbe, useDeleteProbeMutation } from './hooks/useDeleteProbeMutation';
|
|
29
31
|
export type { DeleteTargetNetworkMapErrorResponse, DeleteTargetNetworkMapMutationPathParams, DeleteTargetNetworkMapMutationProps, DeleteTargetNetworkMapMutationQueryParams, DeleteTargetNetworkMapOkResponse, DeleteTargetNetworkMapProps, } from './hooks/useDeleteTargetNetworkMapMutation';
|
|
30
32
|
export { deleteTargetNetworkMap, useDeleteTargetNetworkMapMutation, } from './hooks/useDeleteTargetNetworkMapMutation';
|
|
33
|
+
export type { EnableProbeErrorResponse, EnableProbeMutationPathParams, EnableProbeMutationProps, EnableProbeMutationQueryParams, EnableProbeOkResponse, EnableProbeProps, EnableProbeRequestBody, } from './hooks/useEnableProbeMutation';
|
|
34
|
+
export { enableProbe, useEnableProbeMutation } from './hooks/useEnableProbeMutation';
|
|
31
35
|
export type { GetAccountServiceDetailsErrorResponse, GetAccountServiceDetailsOkResponse, GetAccountServiceDetailsProps, GetAccountServiceDetailsQueryPathParams, GetAccountServiceDetailsQueryQueryParams, } from './hooks/useGetAccountServiceDetailsQuery';
|
|
32
36
|
export { getAccountServiceDetails, useGetAccountServiceDetailsQuery, } from './hooks/useGetAccountServiceDetailsQuery';
|
|
33
37
|
export type { GetAccountServiceUsageStatsErrorResponse, GetAccountServiceUsageStatsOkResponse, GetAccountServiceUsageStatsProps, GetAccountServiceUsageStatsQueryPathParams, GetAccountServiceUsageStatsQueryQueryParams, } from './hooks/useGetAccountServiceUsageStatsQuery';
|
|
@@ -319,18 +323,15 @@ export type { PipelinesExperimentSpec } from './schemas/PipelinesExperimentSpec'
|
|
|
319
323
|
export type { ProbeAuthorization } from './schemas/ProbeAuthorization';
|
|
320
324
|
export type { ProbeComparator } from './schemas/ProbeComparator';
|
|
321
325
|
export type { ProbeDatadogMetrics } from './schemas/ProbeDatadogMetrics';
|
|
326
|
+
export type { ProbeDatadogProbe } from './schemas/ProbeDatadogProbe';
|
|
322
327
|
export type { ProbeDatadogSyntheticsTestType } from './schemas/ProbeDatadogSyntheticsTestType';
|
|
328
|
+
export type { ProbeDynatraceProbe } from './schemas/ProbeDynatraceProbe';
|
|
323
329
|
export type { ProbeGet } from './schemas/ProbeGet';
|
|
324
330
|
export type { ProbeHeaders } from './schemas/ProbeHeaders';
|
|
331
|
+
export type { ProbeHttpProbe } from './schemas/ProbeHttpProbe';
|
|
325
332
|
export type { ProbeK8SProbe } from './schemas/ProbeK8SProbe';
|
|
326
333
|
export type { ProbeKubernetesCmdProbe } from './schemas/ProbeKubernetesCmdProbe';
|
|
327
|
-
export type { ProbeKubernetesDatadogProbe } from './schemas/ProbeKubernetesDatadogProbe';
|
|
328
|
-
export type { ProbeKubernetesDynatraceProbe } from './schemas/ProbeKubernetesDynatraceProbe';
|
|
329
|
-
export type { ProbeKubernetesHttpProbe } from './schemas/ProbeKubernetesHttpProbe';
|
|
330
334
|
export type { ProbeLinuxCmdProbe } from './schemas/ProbeLinuxCmdProbe';
|
|
331
|
-
export type { ProbeLinuxDatadogProbe } from './schemas/ProbeLinuxDatadogProbe';
|
|
332
|
-
export type { ProbeLinuxDynatraceProbe } from './schemas/ProbeLinuxDynatraceProbe';
|
|
333
|
-
export type { ProbeLinuxHttpProbe } from './schemas/ProbeLinuxHttpProbe';
|
|
334
335
|
export type { ProbeMethod } from './schemas/ProbeMethod';
|
|
335
336
|
export type { ProbeMetrics } from './schemas/ProbeMetrics';
|
|
336
337
|
export type { ProbePost } from './schemas/ProbePost';
|
|
@@ -338,7 +339,6 @@ export type { ProbePromProbe } from './schemas/ProbePromProbe';
|
|
|
338
339
|
export type { ProbeSloProbe } from './schemas/ProbeSloProbe';
|
|
339
340
|
export type { ProbeSyntheticsTest } from './schemas/ProbeSyntheticsTest';
|
|
340
341
|
export type { ProbeTlsConfig } from './schemas/ProbeTlsConfig';
|
|
341
|
-
export type { ProbeWindowsHttpProbe } from './schemas/ProbeWindowsHttpProbe';
|
|
342
342
|
export type { ResourceQuantity } from './schemas/ResourceQuantity';
|
|
343
343
|
export type { SecurityGovernanceApplicationSpec } from './schemas/SecurityGovernanceApplicationSpec';
|
|
344
344
|
export type { SecurityGovernanceChaosServiceAccountSpec } from './schemas/SecurityGovernanceChaosServiceAccountSpec';
|
|
@@ -412,6 +412,7 @@ export type { TypesNotes } from './schemas/TypesNotes';
|
|
|
412
412
|
export type { TypesPost } from './schemas/TypesPost';
|
|
413
413
|
export type { TypesPrerequisite } from './schemas/TypesPrerequisite';
|
|
414
414
|
export type { TypesPrerequisiteForRun } from './schemas/TypesPrerequisiteForRun';
|
|
415
|
+
export type { TypesProbeBulkEnableRequest } from './schemas/TypesProbeBulkEnableRequest';
|
|
415
416
|
export type { TypesProbeRecentExecutions } from './schemas/TypesProbeRecentExecutions';
|
|
416
417
|
export type { TypesProbeRequest } from './schemas/TypesProbeRequest';
|
|
417
418
|
export type { TypesProbeType } from './schemas/TypesProbeType';
|
|
@@ -12,7 +12,9 @@ export { deleteChaosV2Experiment, useDeleteChaosV2ExperimentMutation, } from './
|
|
|
12
12
|
export { deleteGamedayV2, useDeleteGamedayV2Mutation } from './hooks/useDeleteGamedayV2Mutation';
|
|
13
13
|
export { deleteInfraV2, useDeleteInfraV2Mutation } from './hooks/useDeleteInfraV2Mutation';
|
|
14
14
|
export { deleteInputSet, useDeleteInputSetMutation } from './hooks/useDeleteInputSetMutation';
|
|
15
|
+
export { deleteProbe, useDeleteProbeMutation } from './hooks/useDeleteProbeMutation';
|
|
15
16
|
export { deleteTargetNetworkMap, useDeleteTargetNetworkMapMutation, } from './hooks/useDeleteTargetNetworkMapMutation';
|
|
17
|
+
export { enableProbe, useEnableProbeMutation } from './hooks/useEnableProbeMutation';
|
|
16
18
|
export { getAccountServiceDetails, useGetAccountServiceDetailsQuery, } from './hooks/useGetAccountServiceDetailsQuery';
|
|
17
19
|
export { getAccountServiceUsageStats, useGetAccountServiceUsageStatsQuery, } from './hooks/useGetAccountServiceUsageStatsQuery';
|
|
18
20
|
export { getChaosDashboard, useGetChaosDashboardQuery } from './hooks/useGetChaosDashboardQuery';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ProbeDatadogMetrics } from '../schemas/ProbeDatadogMetrics';
|
|
2
2
|
import type { ProbeSyntheticsTest } from '../schemas/ProbeSyntheticsTest';
|
|
3
|
-
export interface
|
|
3
|
+
export interface ProbeDatadogProbe {
|
|
4
4
|
attempt?: number;
|
|
5
5
|
datadogCredentialsSecretName?: string;
|
|
6
6
|
datadogSite?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ProbeComparator } from '../schemas/ProbeComparator';
|
|
2
2
|
import type { ProbeMetrics } from '../schemas/ProbeMetrics';
|
|
3
|
-
export interface
|
|
3
|
+
export interface ProbeDynatraceProbe {
|
|
4
4
|
apiTokenSecretName?: string;
|
|
5
5
|
attempt?: number;
|
|
6
6
|
comparator?: ProbeComparator;
|
|
@@ -2,7 +2,7 @@ import type { ProbeAuthorization } from '../schemas/ProbeAuthorization';
|
|
|
2
2
|
import type { ProbeHeaders } from '../schemas/ProbeHeaders';
|
|
3
3
|
import type { ProbeMethod } from '../schemas/ProbeMethod';
|
|
4
4
|
import type { ProbeTlsConfig } from '../schemas/ProbeTlsConfig';
|
|
5
|
-
export interface
|
|
5
|
+
export interface ProbeHttpProbe {
|
|
6
6
|
attempt?: number;
|
|
7
7
|
auth?: ProbeAuthorization;
|
|
8
8
|
headers?: ProbeHeaders[];
|
|
@@ -1,31 +1,27 @@
|
|
|
1
1
|
import type { ProbeK8SProbe } from '../schemas/ProbeK8SProbe';
|
|
2
2
|
import type { ProbeKubernetesCmdProbe } from '../schemas/ProbeKubernetesCmdProbe';
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
3
|
+
import type { ProbeDatadogProbe } from '../schemas/ProbeDatadogProbe';
|
|
4
|
+
import type { ProbeDynatraceProbe } from '../schemas/ProbeDynatraceProbe';
|
|
5
|
+
import type { ProbeHttpProbe } from '../schemas/ProbeHttpProbe';
|
|
6
6
|
import type { ProbeLinuxCmdProbe } from '../schemas/ProbeLinuxCmdProbe';
|
|
7
|
-
import type { ProbeLinuxDatadogProbe } from '../schemas/ProbeLinuxDatadogProbe';
|
|
8
|
-
import type { ProbeLinuxDynatraceProbe } from '../schemas/ProbeLinuxDynatraceProbe';
|
|
9
|
-
import type { ProbeLinuxHttpProbe } from '../schemas/ProbeLinuxHttpProbe';
|
|
10
7
|
import type { ProbePromProbe } from '../schemas/ProbePromProbe';
|
|
11
8
|
import type { ProbeSloProbe } from '../schemas/ProbeSloProbe';
|
|
12
|
-
import type { ProbeWindowsHttpProbe } from '../schemas/ProbeWindowsHttpProbe';
|
|
13
9
|
export interface TypesCreateProbeResponse {
|
|
14
10
|
description?: string;
|
|
15
11
|
k8sProperties?: ProbeK8SProbe;
|
|
16
12
|
kubernetesCmdProperties?: ProbeKubernetesCmdProbe;
|
|
17
|
-
kubernetesDatadogProperties?:
|
|
18
|
-
kubernetesDynatraceProperties?:
|
|
19
|
-
kubernetesHttpProperties?:
|
|
13
|
+
kubernetesDatadogProperties?: ProbeDatadogProbe;
|
|
14
|
+
kubernetesDynatraceProperties?: ProbeDynatraceProbe;
|
|
15
|
+
kubernetesHttpProperties?: ProbeHttpProbe;
|
|
20
16
|
linuxCmdProperties?: ProbeLinuxCmdProbe;
|
|
21
|
-
linuxDatadogProperties?:
|
|
22
|
-
linuxDynatraceProperties?:
|
|
23
|
-
linuxHttpProperties?:
|
|
17
|
+
linuxDatadogProperties?: ProbeDatadogProbe;
|
|
18
|
+
linuxDynatraceProperties?: ProbeDynatraceProbe;
|
|
19
|
+
linuxHttpProperties?: ProbeHttpProbe;
|
|
24
20
|
name?: string;
|
|
25
21
|
probeId?: string;
|
|
26
22
|
promProperties?: ProbePromProbe;
|
|
27
23
|
revisionId?: string;
|
|
28
24
|
sloProperties?: ProbeSloProbe;
|
|
29
25
|
tags?: string[];
|
|
30
|
-
windowsHttpProperties?:
|
|
26
|
+
windowsHttpProperties?: ProbeHttpProbe;
|
|
31
27
|
}
|
|
@@ -4,6 +4,7 @@ import type { GithubComHarnessHceSaasGraphqlServerGraphModelIdentifiers } from '
|
|
|
4
4
|
import type { ChaosInfrastructureV2ChaosInfraV2 } from '../schemas/ChaosInfrastructureV2ChaosInfraV2';
|
|
5
5
|
import type { ModelRecentWorkflowRun } from '../schemas/ModelRecentWorkflowRun';
|
|
6
6
|
import type { ChaosExperimentRecommendation } from '../schemas/ChaosExperimentRecommendation';
|
|
7
|
+
import type { ChaosExperimentSingleClickOnboardMetadata } from '../schemas/ChaosExperimentSingleClickOnboardMetadata';
|
|
7
8
|
import type { TargetserviceServiceMetadata } from '../schemas/TargetserviceServiceMetadata';
|
|
8
9
|
import type { TypesWeightages } from '../schemas/TypesWeightages';
|
|
9
10
|
export interface TypesExperimentV2 {
|
|
@@ -22,6 +23,7 @@ export interface TypesExperimentV2 {
|
|
|
22
23
|
name?: string;
|
|
23
24
|
recentWorkflowRunDetails?: ModelRecentWorkflowRun[];
|
|
24
25
|
recommendation?: ChaosExperimentRecommendation;
|
|
26
|
+
singleClickOnboardMetadata?: ChaosExperimentSingleClickOnboardMetadata;
|
|
25
27
|
tags?: string[];
|
|
26
28
|
targetNetworkService?: TargetserviceServiceMetadata[];
|
|
27
29
|
updatedAt?: string;
|
|
@@ -19,7 +19,6 @@ export interface TypesGetProbeResponse {
|
|
|
19
19
|
dynatraceProbe?: TypesDynatraceProbe;
|
|
20
20
|
httpProbe?: TypesHttpProbe;
|
|
21
21
|
infrastructureType?: TypesInfrastructureType;
|
|
22
|
-
isBulkEnableTrue?: boolean;
|
|
23
22
|
isEnabled?: boolean;
|
|
24
23
|
k8sProbe?: TypesK8SProbe;
|
|
25
24
|
name?: string;
|
package/package.json
CHANGED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { ProbeDatadogMetrics } from '../schemas/ProbeDatadogMetrics';
|
|
2
|
-
import type { ProbeSyntheticsTest } from '../schemas/ProbeSyntheticsTest';
|
|
3
|
-
export interface ProbeLinuxDatadogProbe {
|
|
4
|
-
attempt?: number;
|
|
5
|
-
datadogSite?: string;
|
|
6
|
-
initialDelay?: string;
|
|
7
|
-
interval?: string;
|
|
8
|
-
metrics?: ProbeDatadogMetrics;
|
|
9
|
-
pollingInterval?: string;
|
|
10
|
-
probeTimeout?: string;
|
|
11
|
-
stopOnFailure?: boolean;
|
|
12
|
-
syntheticsTest?: ProbeSyntheticsTest;
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { ProbeComparator } from '../schemas/ProbeComparator';
|
|
2
|
-
import type { ProbeMetrics } from '../schemas/ProbeMetrics';
|
|
3
|
-
export interface ProbeLinuxDynatraceProbe {
|
|
4
|
-
attempt?: number;
|
|
5
|
-
comparator?: ProbeComparator;
|
|
6
|
-
endpoint?: string;
|
|
7
|
-
initialDelay?: string;
|
|
8
|
-
interval?: string;
|
|
9
|
-
metrics?: ProbeMetrics;
|
|
10
|
-
pollingInterval?: string;
|
|
11
|
-
probeTimeout?: string;
|
|
12
|
-
stopOnFailure?: boolean;
|
|
13
|
-
timeFrame?: string;
|
|
14
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { ProbeAuthorization } from '../schemas/ProbeAuthorization';
|
|
2
|
-
import type { ProbeHeaders } from '../schemas/ProbeHeaders';
|
|
3
|
-
import type { ProbeMethod } from '../schemas/ProbeMethod';
|
|
4
|
-
import type { ProbeTlsConfig } from '../schemas/ProbeTlsConfig';
|
|
5
|
-
export interface ProbeLinuxHttpProbe {
|
|
6
|
-
attempt?: number;
|
|
7
|
-
auth?: ProbeAuthorization;
|
|
8
|
-
headers?: ProbeHeaders[];
|
|
9
|
-
initialDelay?: string;
|
|
10
|
-
interval?: string;
|
|
11
|
-
method?: ProbeMethod;
|
|
12
|
-
pollingInterval?: string;
|
|
13
|
-
probeTimeout?: string;
|
|
14
|
-
stopOnFailure?: boolean;
|
|
15
|
-
tlsConfig?: ProbeTlsConfig;
|
|
16
|
-
url?: string;
|
|
17
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { ProbeAuthorization } from '../schemas/ProbeAuthorization';
|
|
2
|
-
import type { ProbeHeaders } from '../schemas/ProbeHeaders';
|
|
3
|
-
import type { ProbeMethod } from '../schemas/ProbeMethod';
|
|
4
|
-
import type { ProbeTlsConfig } from '../schemas/ProbeTlsConfig';
|
|
5
|
-
export interface ProbeWindowsHttpProbe {
|
|
6
|
-
attempt?: number;
|
|
7
|
-
auth?: ProbeAuthorization;
|
|
8
|
-
headers?: ProbeHeaders[];
|
|
9
|
-
initialDelay?: string;
|
|
10
|
-
interval?: string;
|
|
11
|
-
method?: ProbeMethod;
|
|
12
|
-
pollingInterval?: string;
|
|
13
|
-
probeTimeout?: string;
|
|
14
|
-
stopOnFailure?: boolean;
|
|
15
|
-
tlsConfig?: ProbeTlsConfig;
|
|
16
|
-
url?: string;
|
|
17
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
File without changes
|
|
File without changes
|
/package/dist/chaos-manager/src/services/schemas/{ProbeKubernetesHttpProbe.js → ProbeHttpProbe.js}
RENAMED
|
File without changes
|