Skip to content

Commit

Permalink
add more unit test to test cluster_manager role
Browse files Browse the repository at this point in the history
Signed-off-by: Anan Zhuang <[email protected]>
  • Loading branch information
ananzh committed May 24, 2022
1 parent ad55ab4 commit 3ec9f0d
Show file tree
Hide file tree
Showing 6 changed files with 183 additions and 434 deletions.
22 changes: 9 additions & 13 deletions api/requestParams.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ export interface ClusterPutSettings<T = RequestBody> extends Generic {
body: T;
}

export interface ClusterRemoteInfo extends Generic {}
export interface ClusterRemoteInfo extends Generic { }

export interface ClusterReroute<T = RequestBody> extends Generic {
dry_run?: boolean;
Expand Down Expand Up @@ -546,7 +546,7 @@ export interface DanglingIndicesImportDanglingIndex extends Generic {
master_timeout?: string;
}

export interface DanglingIndicesListDanglingIndices extends Generic {}
export interface DanglingIndicesListDanglingIndices extends Generic { }

export interface Delete extends Generic {
id: string;
Expand Down Expand Up @@ -677,7 +677,7 @@ export interface FeaturesGetFeatures extends Generic {
master_timeout?: string;
}

export interface FeaturesResetFeatures extends Generic {}
export interface FeaturesResetFeatures extends Generic { }

export interface FieldCaps<T = RequestBody> extends Generic {
index?: string | string[];
Expand Down Expand Up @@ -715,9 +715,9 @@ export interface GetScript extends Generic {
master_timeout?: string;
}

export interface GetScriptContext extends Generic {}
export interface GetScriptContext extends Generic { }

export interface GetScriptLanguages extends Generic {}
export interface GetScriptLanguages extends Generic { }

export interface GetSource extends Generic {
id: string;
Expand Down Expand Up @@ -1266,7 +1266,7 @@ export interface IndicesValidateQuery<T = RequestBody> extends Generic {
body?: T;
}

export interface Info extends Generic {}
export interface Info extends Generic { }

export interface IngestDeletePipeline extends Generic {
id: string;
Expand All @@ -1278,7 +1278,7 @@ export interface IngestDeletePipeline extends Generic {
timeout?: string;
}

export interface IngestGeoIpStats extends Generic {}
export interface IngestGeoIpStats extends Generic { }

export interface IngestGetPipeline extends Generic {
id?: string;
Expand All @@ -1290,7 +1290,7 @@ export interface IngestGetPipeline extends Generic {
master_timeout?: string;
}

export interface IngestProcessorGrok extends Generic {}
export interface IngestProcessorGrok extends Generic { }

export interface IngestPutPipeline<T = RequestBody> extends Generic {
id: string;
Expand Down Expand Up @@ -1416,7 +1416,7 @@ export interface NodesUsage extends Generic {
timeout?: string;
}

export interface Ping extends Generic {}
export interface Ping extends Generic { }

export interface PutScript<T = RequestBody> extends Generic {
id: string;
Expand Down Expand Up @@ -1812,8 +1812,4 @@ export interface UpdateByQuery<T = RequestBody> extends Generic {
export interface UpdateByQueryRethrottle extends Generic {
task_id: string;
requests_per_second: number;
<<<<<<< HEAD
}
=======
}
>>>>>>> d1478ecc... [2.0] Deprecate the "Master" nomenclature in nodejs client
Loading

0 comments on commit 3ec9f0d

Please sign in to comment.