You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- License.LoadFromDisk(path)
- Backported elasticsearch node improvements from master branch
- Added bat file generations for the various clusters, allows you to
manually start one of our test clusters with the right settings
- Make sure tests that inherit ApiTestBase directly do not use a "real"
client in `mixed` testing mode
- Validate license information on startup, if this fails all tests
fails. From the commandline we always start a fresh cluster so the
trial license'll stay valid. If you manually start a node with no
license but you have ES_LICENSE_FILE pointing to a license file we will
try and register that.
where T : class => this.DoRequestAsync<T>(POST, Url($"_xpack/security/user/{username.NotNull("username")}"), cancellationToken, body, _params(requestParameters));
8870
8870
8871
+
///<summary>Represents a DELETE on /_license
8872
+
///<para></para>Returns: ElasticsearchResponse<T> where the behavior depends on the type of T:
8873
+
///<para> - T, an object you own that the elasticsearch response will be deserialized to </para>
8874
+
///<para> - byte[], no deserialization, but the response stream will be closed </para>
8875
+
///<para> - Stream, no deserialization, response stream is your responsibility </para>
8876
+
///<para> - VoidResponse, no deserialization, response stream never read and closed </para>
8877
+
///<para> - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth </para>
///<param name="requestParameters">A func that allows you to describe the querystring parameters & request specific connection settings.</param>
8382
+
ElasticsearchResponse<T> LicenseDelete<T>(Func<DeleteLicenseRequestParameters, DeleteLicenseRequestParameters> requestParameters = null) where T : class;
8383
+
8384
+
///<summary>Represents a DELETE on /_license
8385
+
///<para></para>Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T:
8386
+
///<para> - T, an object you own that the elasticsearch response will be deserialized to </para>
8387
+
///<para> - byte[], no deserialization, but the response stream will be closed </para>
8388
+
///<para> - Stream, no deserialization, response stream is your responsibility </para>
8389
+
///<para> - VoidResponse, no deserialization, response stream never read and closed </para>
8390
+
///<para> - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth </para>
///<param name="requestParameters">A func that allows you to describe the querystring parameters & request specific connection settings.</param>
8394
+
Task<ElasticsearchResponse<T>> LicenseDeleteAsync<T>(Func<DeleteLicenseRequestParameters, DeleteLicenseRequestParameters> requestParameters = null) where T : class;
8395
+
8396
+
///<summary>Represents a GET on /_license
8397
+
///<para></para>Returns: ElasticsearchResponse<T> where the behavior depends on the type of T:
8398
+
///<para> - T, an object you own that the elasticsearch response will be deserialized to </para>
8399
+
///<para> - byte[], no deserialization, but the response stream will be closed </para>
8400
+
///<para> - Stream, no deserialization, response stream is your responsibility </para>
8401
+
///<para> - VoidResponse, no deserialization, response stream never read and closed </para>
8402
+
///<para> - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth </para>
///<param name="requestParameters">A func that allows you to describe the querystring parameters & request specific connection settings.</param>
8418
+
Task<ElasticsearchResponse<T>> LicenseGetAsync<T>(Func<GetLicenseRequestParameters, GetLicenseRequestParameters> requestParameters = null) where T : class;
8419
+
8420
+
///<summary>Represents a PUT on /_license
8421
+
///<para></para>Returns: ElasticsearchResponse<T> where the behavior depends on the type of T:
8422
+
///<para> - T, an object you own that the elasticsearch response will be deserialized to </para>
8423
+
///<para> - byte[], no deserialization, but the response stream will be closed </para>
8424
+
///<para> - Stream, no deserialization, response stream is your responsibility </para>
8425
+
///<para> - VoidResponse, no deserialization, response stream never read and closed </para>
8426
+
///<para> - DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth </para>
0 commit comments