Skip to content

Commit

Permalink
Merge branch 'main' into fix/namespacing/ingest
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Farr <tsfarr@amazon.com>
  • Loading branch information
Xtansia authored May 10, 2023
2 parents f7ec06b + 1163877 commit 87ffe07
Show file tree
Hide file tree
Showing 431 changed files with 576 additions and 372 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

## [Unreleased]
### ⚠️ Breaking Changes ⚠️
- Moved `OpenSearch.Client` request classes into their respective namespaces to match those in `OpenSearch.Net` ([#206](https://github.com/opensearch-project/opensearch-net/pull/206))
- Moved `OpenSearch.Client` request classes into their respective namespaces to match those in `OpenSearch.Net` ([#200](https://github.com/opensearch-project/opensearch-net/pull/200), [#202](https://github.com/opensearch-project/opensearch-net/pull/202), [#203](https://github.com/opensearch-project/opensearch-net/pull/203), [#205](https://github.com/opensearch-project/opensearch-net/pull/205), [#206](https://github.com/opensearch-project/opensearch-net/pull/206))

### Dependencies
- Bumps `System.Reflection.Emit` from 4.3.0 to 4.7.0
Expand All @@ -14,7 +14,8 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Bumps `Fake.Core.Environment` from 5.23.1 to 6.0.0
- Bumps `Microsoft.TestPlatform.ObjectModel` from 17.4.1 to 17.5.0
- Bumps `SharpZipLib` from 1.4.1 to 1.4.2
- Bumps `AWSSDK.Core` from 3.7.103.17 to 3.7.106.24
- Bumps `AWSSDK.Core` from 3.7.103.17 to 3.7.106.29
- Bumps `Newtonsoft.Json` from 13.0.2 to 13.0.3

## [1.3.0]
### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@
},
"Newtonsoft.Json": {
"type": "Transitive",
"resolved": "13.0.2",
"contentHash": "R2pZ3B0UjeyHShm9vG+Tu0EBb2lC8b0dFzV9gVn50ofHXh9Smjk6kTn7A/FdAsC8B5cKib1OnGYOXxRBz5XQDg=="
"resolved": "13.0.3",
"contentHash": "HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ=="
},
"NuGet.Frameworks": {
"type": "Transitive",
Expand Down Expand Up @@ -883,7 +883,7 @@
"opensearch.client.jsonnetserializer": {
"type": "Project",
"dependencies": {
"Newtonsoft.Json": "[13.0.2, )",
"Newtonsoft.Json": "[13.0.3, )",
"OpenSearch.Client": "[1.3.0, )"
}
},
Expand Down Expand Up @@ -951,7 +951,7 @@
"type": "Project",
"dependencies": {
"Bogus": "[34.0.2, )",
"Newtonsoft.Json": "[13.0.2, )",
"Newtonsoft.Json": "[13.0.3, )",
"OpenSearch.Client": "[1.3.0, )",
"OpenSearch.OpenSearch.Managed": "[1.3.0, )",
"Tests.Configuration": "[1.3.0, )"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@
},
"Newtonsoft.Json": {
"type": "Transitive",
"resolved": "13.0.2",
"contentHash": "R2pZ3B0UjeyHShm9vG+Tu0EBb2lC8b0dFzV9gVn50ofHXh9Smjk6kTn7A/FdAsC8B5cKib1OnGYOXxRBz5XQDg=="
"resolved": "13.0.3",
"contentHash": "HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ=="
},
"NuGet.Frameworks": {
"type": "Transitive",
Expand Down Expand Up @@ -883,7 +883,7 @@
"opensearch.client.jsonnetserializer": {
"type": "Project",
"dependencies": {
"Newtonsoft.Json": "[13.0.2, )",
"Newtonsoft.Json": "[13.0.3, )",
"OpenSearch.Client": "[1.3.0, )"
}
},
Expand Down Expand Up @@ -951,7 +951,7 @@
"type": "Project",
"dependencies": {
"Bogus": "[34.0.2, )",
"Newtonsoft.Json": "[13.0.2, )",
"Newtonsoft.Json": "[13.0.3, )",
"OpenSearch.Client": "[1.3.0, )",
"OpenSearch.OpenSearch.Managed": "[1.3.0, )",
"Tests.Configuration": "[1.3.0, )"
Expand Down
6 changes: 3 additions & 3 deletions build/scripts/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@
},
"Newtonsoft.Json": {
"type": "Direct",
"requested": "[13.0.2, )",
"resolved": "13.0.2",
"contentHash": "R2pZ3B0UjeyHShm9vG+Tu0EBb2lC8b0dFzV9gVn50ofHXh9Smjk6kTn7A/FdAsC8B5cKib1OnGYOXxRBz5XQDg=="
"requested": "[13.0.3, )",
"resolved": "13.0.3",
"contentHash": "HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ=="
},
"Octokit": {
"type": "Direct",
Expand Down
2 changes: 1 addition & 1 deletion build/scripts/scripts.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<PackageReference Include="Fake.IO.Zip" Version="5.23.1" />
<PackageReference Include="Fake.Tools.Git" Version="5.23.1" />

<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />

<PackageReference Include="Octokit" Version="5.0.2" />
<PackageReference Include="Proc" Version="0.6.1" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
<PropertyGroup>
<PackageId>OpenSearch.Client.JsonNetSerializer</PackageId>
Expand All @@ -16,6 +16,6 @@
<ProjectReference Include="..\OpenSearch.Client\OpenSearch.Client.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>
</Project>
12 changes: 6 additions & 6 deletions src/OpenSearch.Client.JsonNetSerializer/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
},
"Newtonsoft.Json": {
"type": "Direct",
"requested": "[13.0.2, )",
"resolved": "13.0.2",
"contentHash": "R2pZ3B0UjeyHShm9vG+Tu0EBb2lC8b0dFzV9gVn50ofHXh9Smjk6kTn7A/FdAsC8B5cKib1OnGYOXxRBz5XQDg=="
"requested": "[13.0.3, )",
"resolved": "13.0.3",
"contentHash": "HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ=="
},
"Microsoft.Build.Tasks.Git": {
"type": "Transitive",
Expand Down Expand Up @@ -139,9 +139,9 @@
},
"Newtonsoft.Json": {
"type": "Direct",
"requested": "[13.0.2, )",
"resolved": "13.0.2",
"contentHash": "R2pZ3B0UjeyHShm9vG+Tu0EBb2lC8b0dFzV9gVn50ofHXh9Smjk6kTn7A/FdAsC8B5cKib1OnGYOXxRBz5XQDg=="
"requested": "[13.0.3, )",
"resolved": "13.0.3",
"contentHash": "HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ=="
},
"Microsoft.Build.Tasks.Git": {
"type": "Transitive",
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch.Client/Cat/CatAliases/CatAliasesRecord.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

using System.Runtime.Serialization;

namespace OpenSearch.Client
namespace OpenSearch.Client.Specification.CatApi
{
[DataContract]
public class CatAliasesRecord : ICatRecord
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch.Client/Cat/CatAliases/CatAliasesRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* under the License.
*/

namespace OpenSearch.Client
namespace OpenSearch.Client.Specification.CatApi
{
[MapsApi("cat.aliases.json")]
public partial interface ICatAliasesRequest { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
using System;
using System.Runtime.Serialization;

namespace OpenSearch.Client
namespace OpenSearch.Client.Specification.CatApi
{
[DataContract]
public class CatAllocationRecord : ICatRecord
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* under the License.
*/

namespace OpenSearch.Client
namespace OpenSearch.Client.Specification.CatApi
{
[MapsApi("cat.allocation.json")]
public partial interface ICatAllocationRequest { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

using System.Runtime.Serialization;

namespace OpenSearch.Client
namespace OpenSearch.Client.Specification.CatApi
{
/// <summary>
/// See docs <see href="https://opensearch.org/docs/2.0/opensearch/rest-api/cat/cat-cluster_manager/">here</see>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* under the License.
*/

namespace OpenSearch.Client
namespace OpenSearch.Client.Specification.CatApi
{
[MapsApi("cat.cluster_manager.json")]
///<remarks>Introduced in OpenSearch 2.0 instead of <see cref="ICatMasterRequest"/></remarks>
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch.Client/Cat/CatCount/CatCountRecord.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

using System.Runtime.Serialization;

namespace OpenSearch.Client
namespace OpenSearch.Client.Specification.CatApi
{
[DataContract]
public class CatCountRecord : ICatRecord
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch.Client/Cat/CatCount/CatCountRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* under the License.
*/

namespace OpenSearch.Client
namespace OpenSearch.Client.Specification.CatApi
{
[MapsApi("cat.count.json")]
public partial interface ICatCountRequest { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
using System.Runtime.Serialization;
using OpenSearch.Net.Utf8Json;

namespace OpenSearch.Client
namespace OpenSearch.Client.Specification.CatApi
{
[DataContract]
[JsonFormatter(typeof(CatFielddataRecordFormatter))]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
using OpenSearch.Net.Utf8Json.Internal;


namespace OpenSearch.Client
namespace OpenSearch.Client.Specification.CatApi
{
internal class CatFielddataRecordFormatter : IJsonFormatter<CatFielddataRecord>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* under the License.
*/

namespace OpenSearch.Client
namespace OpenSearch.Client.Specification.CatApi
{
[MapsApi("cat.fielddata.json")]
public partial interface ICatFielddataRequest { }
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch.Client/Cat/CatHealth/CatHealthRecord.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

using System.Runtime.Serialization;

namespace OpenSearch.Client
namespace OpenSearch.Client.Specification.CatApi
{
[DataContract]
public class CatHealthRecord : ICatRecord
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch.Client/Cat/CatHealth/CatHealthRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* under the License.
*/

namespace OpenSearch.Client
namespace OpenSearch.Client.Specification.CatApi
{
[MapsApi("cat.health.json")]
public partial interface ICatHealthRequest { }
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch.Client/Cat/CatHelp/CatHelpRecord.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

using System.Runtime.Serialization;

namespace OpenSearch.Client
namespace OpenSearch.Client.Specification.CatApi
{
[DataContract]
public class CatHelpRecord : ICatRecord
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch.Client/Cat/CatHelp/CatHelpRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* under the License.
*/

namespace OpenSearch.Client
namespace OpenSearch.Client.Specification.CatApi
{
[MapsApi("cat.help.json")]
public partial interface ICatHelpRequest { }
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch.Client/Cat/CatHelpResponseBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
using System.Threading.Tasks;
using OpenSearch.Net;

namespace OpenSearch.Client
namespace OpenSearch.Client.Specification.CatApi
{
internal class CatHelpResponseBuilder : CustomResponseBuilderBase
{
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch.Client/Cat/CatIndices/CatIndicesRecord.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

using System.Runtime.Serialization;

namespace OpenSearch.Client
namespace OpenSearch.Client.Specification.CatApi
{
[DataContract]
public class CatIndicesRecord : ICatRecord
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch.Client/Cat/CatIndices/CatIndicesRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* under the License.
*/

namespace OpenSearch.Client
namespace OpenSearch.Client.Specification.CatApi
{
[MapsApi("cat.indices.json")]
public partial interface ICatIndicesRequest { }
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch.Client/Cat/CatMaster/CatMasterRecord.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

using System.Runtime.Serialization;

namespace OpenSearch.Client
namespace OpenSearch.Client.Specification.CatApi
{
/// <summary>
/// See docs <see href="https://opensearch.org/docs/1.2/opensearch/rest-api/cat/cat-master/">here</see>
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch.Client/Cat/CatMaster/CatMasterRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* under the License.
*/

namespace OpenSearch.Client
namespace OpenSearch.Client.Specification.CatApi
{
[MapsApi("cat.master.json")]
/// <remarks>Deprecated as of OpenSearch 2.0, use <see cref="ICatClusterManagerRequest"/> instead</remarks>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

using System.Runtime.Serialization;

namespace OpenSearch.Client
namespace OpenSearch.Client.Specification.CatApi
{
[DataContract]
public class CatNodeAttributesRecord : ICatRecord
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

#pragma warning disable 612, 618

namespace OpenSearch.Client
namespace OpenSearch.Client.Specification.CatApi
{
[MapsApi("cat.nodeattrs.json")]
public partial interface ICatNodeAttributesRequest { }
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch.Client/Cat/CatNodes/CatNodesRecord.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

using System.Runtime.Serialization;

namespace OpenSearch.Client
namespace OpenSearch.Client.Specification.CatApi
{
[DataContract]
public class CatNodesRecord : ICatRecord
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch.Client/Cat/CatNodes/CatNodesRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* under the License.
*/

namespace OpenSearch.Client
namespace OpenSearch.Client.Specification.CatApi
{
[MapsApi("cat.nodes.json")]
public partial interface ICatNodesRequest { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
using System.Runtime.Serialization;
using OpenSearch.Net.Utf8Json;

namespace OpenSearch.Client
namespace OpenSearch.Client.Specification.CatApi
{
[DataContract]
public class CatPendingTasksRecord : ICatRecord
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* under the License.
*/

namespace OpenSearch.Client
namespace OpenSearch.Client.Specification.CatApi
{
[MapsApi("cat.pending_tasks.json")]
public partial interface ICatPendingTasksRequest { }
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch.Client/Cat/CatPlugins/CatPluginsRecord.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

using System.Runtime.Serialization;

namespace OpenSearch.Client
namespace OpenSearch.Client.Specification.CatApi
{
[DataContract]
public class CatPluginsRecord : ICatRecord
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch.Client/Cat/CatPlugins/CatPluginsRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* under the License.
*/

namespace OpenSearch.Client
namespace OpenSearch.Client.Specification.CatApi
{
[MapsApi("cat.plugins.json")]
public partial interface ICatPluginsRequest { }
Expand Down
Loading

0 comments on commit 87ffe07

Please sign in to comment.