-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Unzip ML integration test data tar archives using SharpZipLib. Add net45 compatible version to Tests - Derive XPackMachineLearningCluster from XPackCluster that seeds ML data and includes additional methods for testing ML APIs - Skip ML integration tests for versions < 5.4.0 - Introduce IntegrationTeardown method to close jobs that may be opened as part of tests - Increase concurrent ML job allocations and max open jobs when starting ML cluster - Explain why certain URL parts are not replaced during code generation Remove special treatment for task_id. This no longer seems to be needed. - Specify node startup timeout on ClusterBase starting up an ML cluster with Fiddler attached could take some time so bump the start timeout for it. - Increase the FAKE process tooling timeout
- Loading branch information
Showing
233 changed files
with
16,442 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
|
||
GROUP build | ||
NUGET | ||
remote: https://www.nuget.org/api/v2 | ||
Elasticsearch.Net (5.3) - framework: net45 | ||
FAKE (4.57.4) | ||
FSharp.Data (2.3.2) | ||
Zlib.Portable (>= 1.11) - framework: >= netstandard11, portable-net45+sl5+win8, portable-net45+win8, portable-net45+win8+wp8+wpa81 | ||
NEST (5.3) - framework: net45 | ||
Elasticsearch.Net (>= 5.3 < 6.0) - framework: net45, >= net46, >= netstandard13 | ||
Newtonsoft.Json (>= 9.0 < 10.0) - framework: net45, >= net46, >= netstandard13 | ||
Newtonsoft.Json (9.0.1) - framework: net45 | ||
Zlib.Portable (1.11) - framework: >= netstandard11, portable-net45+sl5+win8, portable-net45+win8, portable-net45+win8+wp8+wpa81 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
src/CodeGeneration/ApiGenerator/Overrides/Descriptors/FlushJobDescriptorOverrides.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace ApiGenerator.Overrides.Descriptors | ||
{ | ||
public class FlushJobDescriptorOverrides : DescriptorOverridesBase | ||
{ | ||
public override IEnumerable<string> SkipQueryStringParams => new[] | ||
{ | ||
"advance_time", | ||
"end", | ||
"start", | ||
"calc_interim", | ||
}; | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...CodeGeneration/ApiGenerator/Overrides/Descriptors/GetAnomalyRecordsDescriptorOverrides.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using ApiGenerator.Domain; | ||
|
||
namespace ApiGenerator.Overrides.Descriptors | ||
{ | ||
public class GetAnomalyRecordsDescriptorOverrides : DescriptorOverridesBase | ||
{ | ||
public override IEnumerable<string> SkipQueryStringParams => new[] | ||
{ | ||
"exclude_interim", | ||
"from", | ||
"size", | ||
"start", | ||
"end", | ||
"record_score", | ||
"sort", | ||
"desc" | ||
}; | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
src/CodeGeneration/ApiGenerator/Overrides/Descriptors/GetBucketsDescriptorOverrides.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using ApiGenerator.Domain; | ||
|
||
namespace ApiGenerator.Overrides.Descriptors | ||
{ | ||
public class GetBucketsDescriptorOverrides : DescriptorOverridesBase | ||
{ | ||
public override IEnumerable<string> SkipQueryStringParams => new[] | ||
{ | ||
"expand", | ||
"exclude_interim", | ||
"from", | ||
"size", | ||
"start", | ||
"end", | ||
"anomaly_score", | ||
"sort", | ||
"desc" | ||
}; | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
src/CodeGeneration/ApiGenerator/Overrides/Descriptors/GetCategoriesDescriptorOverrides.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using ApiGenerator.Domain; | ||
|
||
namespace ApiGenerator.Overrides.Descriptors | ||
{ | ||
public class GetCategoriesDescriptorOverrides : DescriptorOverridesBase | ||
{ | ||
public override IEnumerable<string> SkipQueryStringParams => new[] | ||
{ | ||
"from", | ||
"size" | ||
}; | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
src/CodeGeneration/ApiGenerator/Overrides/Descriptors/GetInfluencersDescriptorOverrides.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using ApiGenerator.Domain; | ||
|
||
namespace ApiGenerator.Overrides.Descriptors | ||
{ | ||
public class GetInfluencersDescriptorOverrides : DescriptorOverridesBase | ||
{ | ||
public override IEnumerable<string> SkipQueryStringParams => new[] | ||
{ | ||
"exclude_interim", | ||
"from", | ||
"size", | ||
"start", | ||
"end", | ||
"influencer_score", | ||
"sort", | ||
"desc" | ||
}; | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...CodeGeneration/ApiGenerator/Overrides/Descriptors/GetModelSnapshotsDescriptorOverrides.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using ApiGenerator.Domain; | ||
|
||
namespace ApiGenerator.Overrides.Descriptors | ||
{ | ||
public class GetModelSnapshotsDescriptorOverrides : DescriptorOverridesBase | ||
{ | ||
public override IEnumerable<string> SkipQueryStringParams => new[] | ||
{ | ||
"from", | ||
"size", | ||
"start", | ||
"end", | ||
"sort", | ||
"desc" | ||
}; | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
src/CodeGeneration/ApiGenerator/Overrides/Descriptors/PostJobDataDescriptorOverrides.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using ApiGenerator.Domain; | ||
|
||
namespace ApiGenerator.Overrides.Descriptors | ||
{ | ||
public class PostJobDataDescriptorOverrides : DescriptorOverridesBase | ||
{ | ||
public override CsharpMethod PatchMethod(CsharpMethod method) | ||
{ | ||
method.Url.Params["reset_start"].Type = "date"; | ||
method.Url.Params["reset_end"].Type = "date"; | ||
return method; | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...deGeneration/ApiGenerator/Overrides/Descriptors/RevertModelSnapshotDescriptorOverrides.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using ApiGenerator.Domain; | ||
|
||
namespace ApiGenerator.Overrides.Descriptors | ||
{ | ||
public class RevertModelSnapshotDescriptorOverrides : DescriptorOverridesBase | ||
{ | ||
public override IEnumerable<string> SkipQueryStringParams => new[] | ||
{ | ||
"delete_intervening_results" | ||
}; | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
src/CodeGeneration/ApiGenerator/Overrides/Descriptors/StartDatafeedDescriptorOverrides.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace ApiGenerator.Overrides.Descriptors | ||
{ | ||
public class StartDatafeedDescriptorOverrides : DescriptorOverridesBase | ||
{ | ||
public override IEnumerable<string> SkipQueryStringParams => new[] | ||
{ | ||
"timeout", | ||
"start", | ||
"end", | ||
}; | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
src/CodeGeneration/ApiGenerator/Overrides/Descriptors/StopDatafeedDescriptorOverrides.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace ApiGenerator.Overrides.Descriptors | ||
{ | ||
public class StopDatafeedDescriptorOverrides : DescriptorOverridesBase | ||
{ | ||
public override IEnumerable<string> SkipQueryStringParams => new[] | ||
{ | ||
"timeout", | ||
"force" | ||
}; | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...deGeneration/ApiGenerator/Overrides/Descriptors/UpdateModelSnapshotDescriptorOverrides.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace ApiGenerator.Overrides.Descriptors | ||
{ | ||
public class UpdateModelSnapshotDescriptorOverrides : DescriptorOverridesBase | ||
{ | ||
public override IEnumerable<string> SkipQueryStringParams => new[] | ||
{ | ||
"description", | ||
"retain" | ||
}; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 0 additions & 17 deletions
17
...neration/ApiGenerator/RestSpecification/XPack/MachineLearning/xpack.ml.delete_filter.json
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.