diff --git a/.editorconfig b/.editorconfig index 6daa71388b..9788a79bdd 100644 --- a/.editorconfig +++ b/.editorconfig @@ -2,21 +2,23 @@ root=true [*.cs] trim_trailing_whitespace=true -insert_final_newline=true [*] +charset = utf-8 +end_of_line = lf indent_style = tab indent_size = 4 +insert_final_newline=true [*.cshtml] indent_style = tab indent_size = 4 -[*.{fs,fsx}] +[*.{fs,fsx,yml}] indent_style = space indent_size = 4 -[*.{md,markdown,json,js,csproj,fsproj,targets,targets,props,yml}] +[*.{md,markdown,json,js,csproj,fsproj,targets,targets,props}] indent_style = space indent_size = 2 @@ -29,11 +31,86 @@ indent_size = 2 # --- # --- -# langugage conventions https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-code-style-settings-reference#language-conventions +# language conventions https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-code-style-settings-reference#language-conventions # Sort using and Import directives with System.* appearing first dotnet_sort_system_directives_first = true +# Style rules +# https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/naming-rules?view=vs-2017 + +# Constants always pascal case +dotnet_naming_rule.constants_should_be_pascal_case.symbols = consts +dotnet_naming_rule.constants_should_be_pascal_case.style = consts +dotnet_naming_rule.constants_should_be_pascal_case.severity = suggestion + +dotnet_naming_symbols.consts.applicable_kinds = field +dotnet_naming_symbols.consts.applicable_accessibilities = * +dotnet_naming_symbols.consts.required_modifiers = const + +dotnet_naming_style.consts.capitalization = pascal_case + +# Non-public static fields always pascal case +dotnet_naming_rule.non_public_static_fields_should_be_pascal_case.symbols = non_public_static_fields +dotnet_naming_rule.non_public_static_fields_should_be_pascal_case.style = non_public_static_fields +dotnet_naming_rule.non_public_static_fields_should_be_pascal_case.severity = suggestion + +dotnet_naming_symbols.non_public_static_fields.applicable_kinds = field +dotnet_naming_symbols.non_public_static_fields.applicable_accessibilities = private,protected,internal,protected_internal,private_protected +dotnet_naming_symbols.non_public_static_fields.required_modifiers = static + +dotnet_naming_style.non_public_static_fields.capitalization = pascal_case + +# Non-private readonly fields are pascal case +dotnet_naming_rule.non_private_readonly_fields_should_be_pascal_case.severity = suggestion +dotnet_naming_rule.non_private_readonly_fields_should_be_pascal_case.symbols = non_private_readonly_fields +dotnet_naming_rule.non_private_readonly_fields_should_be_pascal_case.style = non_private_readonly_fields + +dotnet_naming_symbols.non_private_readonly_fields.applicable_kinds = field +dotnet_naming_symbols.non_private_readonly_fields.applicable_accessibilities = public,protected,internal,protected_internal,private_protected +dotnet_naming_symbols.non_private_readonly_fields.required_modifiers = readonly + +dotnet_naming_style.non_private_readonly_fields.capitalization = pascal_case + +# Private instance fields are camel case prefixed underscore +dotnet_naming_rule.private_fields_should_be_camelcase_prefix_underscore.symbols = private_fields +dotnet_naming_rule.private_fields_should_be_camelcase_prefix_underscore.style = private_fields +dotnet_naming_rule.private_fields_should_be_camelcase_prefix_underscore.severity = suggestion + +dotnet_naming_symbols.private_fields.applicable_kinds = field +dotnet_naming_symbols.private_fields.applicable_accessibilities = private + +dotnet_naming_style.private_fields.capitalization = camel_case +dotnet_naming_style.private_fields.required_prefix = _ + +# Locals and parameters are camel case +dotnet_naming_rule.locals.severity = suggestion +dotnet_naming_rule.locals.symbols = locals +dotnet_naming_rule.locals.style = locals + +dotnet_naming_symbols.locals.applicable_kinds = parameter, local + +dotnet_naming_style.locals.capitalization = camel_case + +# Local functions are pascal case +dotnet_naming_rule.local_functions.severity = suggestion +dotnet_naming_rule.local_functions.symbols = local_functions +dotnet_naming_rule.local_functions.style = local_functions + +dotnet_naming_symbols.local_functions.applicable_kinds = local_function + +dotnet_naming_style.local_functions.capitalization = pascal_case + +# Public members always pascal case +dotnet_naming_rule.public_members_should_be_pascal_case.symbols = public_members +dotnet_naming_rule.public_members_should_be_pascal_case.style = public_members +dotnet_naming_rule.public_members_should_be_pascal_case.severity = suggestion + +dotnet_naming_symbols.public_members.applicable_kinds = property,method,field,event,delegate +dotnet_naming_symbols.public_members.applicable_accessibilities = public + +dotnet_naming_style.public_members.capitalization = pascal_case + dotnet_style_qualification_for_field = false:error dotnet_style_qualification_for_property = false:error dotnet_style_qualification_for_method = false:error @@ -82,7 +159,7 @@ csharp_prefer_braces = false:warning csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:error # --- -# formatting conventions https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-formatting-conventions +# formatting conventions https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-code-style-settings-reference#formatting-conventions # Newline settings (Allman yo!) csharp_new_line_before_open_brace = all @@ -108,15 +185,30 @@ csharp_preserve_single_line_statements = false csharp_preserve_single_line_blocks = true # Resharper -resharper_csharp_braces_for_lock=required_for_complex -resharper_csharp_braces_for_using=required_for_complex -resharper_csharp_braces_for_while=required_for_complex -resharper_csharp_braces_for_foreach=required_for_complex -resharper_csharp_braces_for_for=required_for_complex -resharper_csharp_braces_for_fixed=required_for_complex -resharper_csharp_braces_for_ifelse=required_for_complex +resharper_csharp_braces_for_lock=required_for_multiline +resharper_csharp_braces_for_using=required_for_multiline +resharper_csharp_braces_for_while=required_for_multiline +resharper_csharp_braces_for_foreach=required_for_multiline +resharper_csharp_braces_for_for=required_for_multiline +resharper_csharp_braces_for_fixed=required_for_multiline +resharper_csharp_braces_for_ifelse=required_for_multiline resharper_csharp_accessor_owner_body=expression_body resharper_redundant_case_label_highlighting=do_not_show resharper_redundant_argument_default_value_highlighting=do_not_show + +[Jenkinsfile] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.{sh,bat,ps1}] +trim_trailing_whitespace=true +insert_final_newline=true + +[*.sh] +end_of_line = lf diff --git a/.github/check-license-headers.sh b/.github/check-license-headers.sh index 5cf0718909..80f89bc7f4 100755 --- a/.github/check-license-headers.sh +++ b/.github/check-license-headers.sh @@ -36,17 +36,18 @@ set -o errexit set -o pipefail TOP=$(cd "$(dirname "$0")/.." >/dev/null && pwd) -NLINES=$(wc -l .github/license-header.txt | awk '{print $1}') +NLINES_CS=$(wc -l .github/license-header.txt | awk '{print $1}') +NLINES_FS=$(wc -l .github/license-header-fs.txt | awk '{print $1}') function check_license_header { local f f=$1 - if [[ $f == *.fs ]] && ! diff -a --strip-trailing-cr .github/license-header-fs.txt <(head -$NLINES "$f") >/dev/null; then + if [[ $f == *.fs ]] && ! diff -a --strip-trailing-cr .github/license-header-fs.txt <(head -$NLINES_FS "$f") >/dev/null; then echo $f - echo "check-license-headers: error: '$f' does not have required license header, see 'diff -u .github/license-header-fs.txt <(head -$NLINES $f)'" + echo "check-license-headers: error: '$f' does not have required license header, see 'diff -u .github/license-header-fs.txt <(head -$NLINES_FS $f)'" return 1 - elif [[ $f != *.fs ]] && ! diff -a --strip-trailing-cr .github/license-header.txt <(head -$NLINES "$f") >/dev/null; then - echo "check-license-headers: error: '$f' does not have required license header, see 'diff -u .github/license-header.txt <(head -$NLINES $f)'" + elif [[ $f != *.fs ]] && ! diff -a --strip-trailing-cr .github/license-header.txt <(head -$NLINES_CS "$f") >/dev/null; then + echo "check-license-headers: error: '$f' does not have required license header, see 'diff -u .github/license-header.txt <(head -$NLINES_CS $f)'" return 1 else return 0 diff --git a/.github/license-header-fs.txt b/.github/license-header-fs.txt index 2f7d72ae13..671c63b9f7 100644 --- a/.github/license-header-fs.txt +++ b/.github/license-header-fs.txt @@ -3,24 +3,3 @@ // The OpenSearch Contributors require contributions made to // this file be licensed under the Apache-2.0 license or a // compatible open source license. -// -// Modifications Copyright OpenSearch Contributors. See -// GitHub history for details. -// -// Licensed to Elasticsearch B.V. under one or more contributor -// license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright -// ownership. Elasticsearch B.V. licenses this file to you under -// the Apache License, Version 2.0 (the "License"); you may -// not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, -// software distributed under the License is distributed on an -// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -// KIND, either express or implied. See the License for the -// specific language governing permissions and limitations -// under the License. -// diff --git a/.github/license-header.txt b/.github/license-header.txt index a1641492e6..a95cc8883e 100644 --- a/.github/license-header.txt +++ b/.github/license-header.txt @@ -3,24 +3,4 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* -* Modifications Copyright OpenSearch Contributors. See -* GitHub history for details. -* -* Licensed to Elasticsearch B.V. under one or more contributor -* license agreements. See the NOTICE file distributed with -* this work for additional information regarding copyright -* ownership. Elasticsearch B.V. licenses this file to you under -* the Apache License, Version 2.0 (the "License"); you may -* not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, -* software distributed under the License is distributed on an -* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -* KIND, either express or implied. See the License for the -* specific language governing permissions and limitations -* under the License. */ diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index f9ecdc1e9e..7e5c7e8d85 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -12,7 +12,7 @@ jobs: fail-fast: false matrix: # 1.0.1 is skipped because it doesn't have a tag in OpenSearch repo, we can't check out to compile plugins - version: [1.3.1, 1.3.0, 1.2.4, 1.2.3, 1.2.2, 1.2.1, 1.2.0, 1.1.0, 1.0.0] + version: [2.2.0, 2.1.0, 2.0.0, 1.3.1, 1.3.0, 1.2.4, 1.2.3, 1.2.2, 1.2.1, 1.2.0, 1.1.0, 1.0.0] steps: # Due to https://github.com/opensearch-project/project-website/issues/737 diff --git a/.gitignore b/.gitignore index 88f04bb544..192b199099 100644 --- a/.gitignore +++ b/.gitignore @@ -20,6 +20,7 @@ *.cache *.ilk *.log +*.nupkg *.ncrunchsolution [Bb]in [Dd]ebug/ @@ -27,20 +28,20 @@ test-results test-results/* *.lib *.sbr -*.DotSettings.user +*.DotSettings obj/ [Rr]elease*/ -!docs/release-notes _ReSharper*/ _NCrunch*/ [Tt]est[Rr]esult* .fake/* .fake +packages/* +!.paket/paket.bootstrapper.exe paket.exe paket-files/*.cached -BenchmarkDotNet.Artifacts build/* !build/tools !build/keys @@ -54,17 +55,15 @@ build/tools/* !build/*.nuspec !build/*.png !build/*.targets -!build/*.sh !build/scripts -.ci/output - /dep/Newtonsoft.Json.4.0.2 !docs/build docs/node_modules doc/Help +/src/Osc.Tests.Unit/*.ncrunchproject *.ncrunchproject Cache YamlCache @@ -79,13 +78,12 @@ launchSettings.json project.lock.json .vs .vs/* +.vscode/* +.sonarqube/* .ionide .ionide/* + .idea/ *.sln.iml /src/.vs/restore.dg -# temporary location for doc generation -docs-temp -*.binlog -dotnet-tool/* diff --git a/COMPATIBILITY.md b/COMPATIBILITY.md index 9e0f6aee82..60e3b98d38 100644 --- a/COMPATIBILITY.md +++ b/COMPATIBILITY.md @@ -1,18 +1,15 @@ - [Compatibility with OpenSearch](#compatibility-with-opensearch) +- [Upgrading](#upgrading) ## Compatibility with OpenSearch -The below matrix shows the compatibility of the `opensearch-net` with versions of [`OpenSearch`](https://opensearch.org/downloads.html#opensearch). Currently this client is in a pre-release phase. The below matrix shows compatibility for the upcoming version. +The below matrix shows the compatibility of the [`opensearch-net`](https://www.nuget.org/profiles/opensearchproject) with versions of [`OpenSearch`](https://opensearch.org/downloads.html#opensearch). | OpenSearch Version | Client Version | -| --- | --- | -| 1.0.0 | 1.0.0 | -| 1.0.1 | 1.0.0 | -| 1.1.0 | 1.0.0 | -| 1.2.0 | 1.0.0 | -| 1.2.1 | 1.0.0 | -| 1.2.2 | 1.0.0 | -| 1.2.3 | 1.0.0 | -| 1.2.4 | 1.0.0 | -| 1.3.0 | 1.0.0 | -| 1.3.1 | 1.0.0 | +|--------------------|----------------| +| 1.x | 1.0.0, 1.1.0 | +| 2.x | 1.1.0 | + +## Upgrading + +Major versions of OpenSearch introduce breaking changes that require careful upgrades of the client. While `opensearch-net` client 1.1.0 works against the latest OpenSearch 1.x, certain deprecated features removed in OpenSearch 2.0 have also been removed from the client. Please refer to the [OpenSearch documentation](https://opensearch.org/docs/latest/clients/index/) for more information. diff --git a/Directory.Build.props b/Directory.Build.props index 8eb474cb78..062e9adf3d 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -21,7 +21,8 @@ Apache-2.0 See https://github.com/opensearch-project/opensearch-net/releases https://github.com/opensearch-project/opensearch-net - https://raw.githubusercontent.com/opensearch-project/opensearch-net/master/build/nuget-icon.png + https://raw.githubusercontent.com/opensearch-project/opensearch-net/main/build/nuget-icon.png + Git diff --git a/Directory.Build.targets b/Directory.Build.targets index 2a3efcc303..fedd06d16c 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -1,8 +1,8 @@ - - + + true - $(SolutionRoot)\build\keys\keypair.snk + $(MSBuildThisFileDirectory)\build\keys\keypair.snk bin/$(Configuration)/$(TargetFramework)/ diff --git a/MAINTAINERS.md b/MAINTAINERS.md index 2599f627a0..38b7ab472b 100644 --- a/MAINTAINERS.md +++ b/MAINTAINERS.md @@ -18,14 +18,16 @@ This document explains who the maintainers are (see below), what they do in this ## Current Maintainers -| Maintainer | GitHub ID | Affiliation | -| ------------------------ | --------------------------------------------------- | ----------- | -| Anirudha Jadhav | [anirudha](https://github.com/anirudha) | Amazon | -| Joshua Li | [joshuali925](https://github.com/joshuali925) | Amazon | -| Alex Meizer | [alexmeizer](https://github.com/alexmeizer) | Bit Quill | -| Guian Gumpac | [guiangumpac](https://github.com/guiangumpac) | Bit Quill | -| Raymond Lum | [raymond-lum](https://github.com/raymond-lum) | Bit Quill | -| Yury Fridlyand | [Yury-Fridlyand](https://github.com/Yury-Fridlyand) | Bit Quill | +| Maintainer | GitHub ID | Affiliation | +| ------------------------ | ------------------------------------------------------------------ | ----------- | +| Anirudha Jadhav | [anirudha](https://github.com/anirudha) | Amazon | +| Joshua Li | [joshuali925](https://github.com/joshuali925) | Amazon | +| Guian Gumpac | [guiangumpac](https://github.com/guiangumpac) | Bit Quill | +| Raymond Lum | [raymond-lum](https://github.com/raymond-lum) | Bit Quill | +| Yury Fridlyand | [Yury-Fridlyand](https://github.com/Yury-Fridlyand) | Bit Quill | +| Max Ksyunz | [MaxKsyunz](https://github.com/MaxKsyunz) | Bit Quill | +| Forest Vey | [forestmvey](https://github.com/forestmvey) | Bit Quill | +| Mitchell Gale | [MitchellGale-BitQuill](https://github.com/MitchellGale-BitQuill) | Bit Quill | ## Maintainer Responsibilities diff --git a/OpenSearch.sln b/OpenSearch.sln index 82e3d58a1d..d2c0f49b5a 100644 --- a/OpenSearch.sln +++ b/OpenSearch.sln @@ -12,10 +12,10 @@ EndProject Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "scripts", "build\scripts\scripts.fsproj", "{D6997ADC-E933-418E-831C-DE1A78897493}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{6C4A2627-AF22-4388-9DF7-7A9AEACFD635}" -ProjectSection(SolutionItems) = preProject - tests\Directory.Build.props = tests\Directory.Build.props - tests\.runsettings = tests\.runsettings -EndProjectSection + ProjectSection(SolutionItems) = preProject + tests\Directory.Build.props = tests\Directory.Build.props + tests\.runsettings = tests\.runsettings + EndProjectSection EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "tests\Tests\Tests.csproj", "{5B393962-7586-49BA-BD99-3B1E35F48E94}" EndProject @@ -32,40 +32,66 @@ EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests.ScratchPad", "tests\Tests.ScratchPad\Tests.ScratchPad.csproj", "{CE7AC1D4-15AF-47FB-83FA-F7137DFD9076}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Root", "Root", "{EAE89579-CCA9-45CE-AF83-3DCD98690EA8}" -ProjectSection(SolutionItems) = preProject - .editorconfig = .editorconfig - .gitignore = .gitignore - global.json = global.json - nuget.config = nuget.config - dotnet-tools.json = dotnet-tools.json -EndProjectSection + ProjectSection(SolutionItems) = preProject + .editorconfig = .editorconfig + .gitignore = .gitignore + global.json = global.json + nuget.config = nuget.config + dotnet-tools.json = dotnet-tools.json + EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Markdown", "Markdown", "{2FABB663-F4DB-499A-89F8-3A08828D1D91}" -ProjectSection(SolutionItems) = preProject - contributing.md = contributing.md - license.txt = license.txt - readme.md = readme.md -EndProjectSection + ProjectSection(SolutionItems) = preProject + admins.md = admins.md + code_of_conduct.md = code_of_conduct.md + compatibility.md = compatibility.md + contributing.md = contributing.md + maintainers.md = maintainers.md + license.txt = license.txt + readme.md = readme.md + releasing.md = releasing.md + security.md = security.md + user_guide.md = user_guide.md + EndProjectSection EndProject Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Tests.YamlRunner", "tests\Tests.YamlRunner\Tests.YamlRunner.fsproj", "{81473437-5722-4829-A5CD-125B17CCA238}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{3EA11364-0513-44B7-AD6D-A675485E7448}" -ProjectSection(SolutionItems) = preProject - src\_PublishArtifacts.Build.props = src\_PublishArtifacts.Build.props -EndProjectSection + ProjectSection(SolutionItems) = preProject + src\_PublishArtifacts.Build.props = src\_PublishArtifacts.Build.props + EndProjectSection EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ApiGenerator", "src\ApiGenerator\ApiGenerator.csproj", "{CA508E92-50AE-4858-BD94-8637E88A8FAC}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSearch.Net.VirtualizedCluster", "src\OpenSearch.Net.VirtualizedCluster\OpenSearch.Net.VirtualizedCluster.csproj", "{CFE97627-8DD3-470B-B7CF-78B62E1D305D}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{29E53C13-34F7-4F0D-8D28-41EF768793E7}" -ProjectSection(SolutionItems) = preProject - Directory.Build.props = Directory.Build.props - Directory.Build.targets = Directory.Build.targets -EndProjectSection + ProjectSection(SolutionItems) = preProject + Directory.Build.props = Directory.Build.props + Directory.Build.targets = Directory.Build.targets + EndProjectSection EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSearch.Client.JsonNetSerializer", "src\OpenSearch.Client.JsonNetSerializer\OpenSearch.Client.JsonNetSerializer.csproj", "{B16AAB37-9FF4-4940-AC7D-437DFD18A6F6}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSearch.Stack.ArtifactsApiTests", "abstractions\src\OpenSearch.Stack.ArtifactsApiTests\OpenSearch.Stack.ArtifactsApiTests.csproj", "{1F5A7B1A-2566-481F-91B5-A63D7F939973}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "abstractions", "abstractions", "{87ABA679-F3F4-48CE-82B3-1AAE5D0A5935}" + ProjectSection(SolutionItems) = preProject + abstractions\README.md = abstractions\README.md + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{ABE3B7EE-5B31-4C9A-976A-AD28D257B147}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSearch.OpenSearch.Ephemeral", "abstractions\src\OpenSearch.OpenSearch.Ephemeral\OpenSearch.OpenSearch.Ephemeral.csproj", "{31668B33-6157-4A5B-8D4C-18AF760DCA1B}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSearch.OpenSearch.EphemeralTests", "abstractions\src\OpenSearch.OpenSearch.EphemeralTests\OpenSearch.OpenSearch.EphemeralTests.csproj", "{C80D225C-F072-4B24-9ACE-82EFD9362237}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSearch.OpenSearch.Managed", "abstractions\src\OpenSearch.OpenSearch.Managed\OpenSearch.OpenSearch.Managed.csproj", "{A9125BAC-71B5-4DC8-879D-1154A0A7DE5C}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSearch.OpenSearch.Xunit", "abstractions\src\OpenSearch.OpenSearch.Xunit\OpenSearch.OpenSearch.Xunit.csproj", "{39B7E62B-BDDF-46F2-9306-CE5FC68573A2}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSearch.Stack.ArtifactsApi", "abstractions\src\OpenSearch.Stack.ArtifactsApi\OpenSearch.Stack.ArtifactsApi.csproj", "{E7C0BDC2-28AD-4582-8FEA-0F6327A42C0E}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -95,6 +121,12 @@ Global {D6997ADC-E933-418E-831C-DE1A78897493} = {29E53C13-34F7-4F0D-8D28-41EF768793E7} {432D5575-2347-4D3C-BF8C-3E38410C46CA} = {29E53C13-34F7-4F0D-8D28-41EF768793E7} {B16AAB37-9FF4-4940-AC7D-437DFD18A6F6} = {3EA11364-0513-44B7-AD6D-A675485E7448} + {ABE3B7EE-5B31-4C9A-976A-AD28D257B147} = {87ABA679-F3F4-48CE-82B3-1AAE5D0A5935} + {31668B33-6157-4A5B-8D4C-18AF760DCA1B} = {ABE3B7EE-5B31-4C9A-976A-AD28D257B147} + {C80D225C-F072-4B24-9ACE-82EFD9362237} = {ABE3B7EE-5B31-4C9A-976A-AD28D257B147} + {A9125BAC-71B5-4DC8-879D-1154A0A7DE5C} = {ABE3B7EE-5B31-4C9A-976A-AD28D257B147} + {39B7E62B-BDDF-46F2-9306-CE5FC68573A2} = {ABE3B7EE-5B31-4C9A-976A-AD28D257B147} + {E7C0BDC2-28AD-4582-8FEA-0F6327A42C0E} = {ABE3B7EE-5B31-4C9A-976A-AD28D257B147} EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {5B393962-7586-49BA-BD99-3B1E35F48E94}.Debug|Any CPU.ActiveCfg = Debug|Any CPU @@ -157,5 +189,29 @@ Global {B16AAB37-9FF4-4940-AC7D-437DFD18A6F6}.Debug|Any CPU.Build.0 = Debug|Any CPU {B16AAB37-9FF4-4940-AC7D-437DFD18A6F6}.Release|Any CPU.ActiveCfg = Release|Any CPU {B16AAB37-9FF4-4940-AC7D-437DFD18A6F6}.Release|Any CPU.Build.0 = Release|Any CPU + {1F5A7B1A-2566-481F-91B5-A63D7F939973}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1F5A7B1A-2566-481F-91B5-A63D7F939973}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1F5A7B1A-2566-481F-91B5-A63D7F939973}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1F5A7B1A-2566-481F-91B5-A63D7F939973}.Release|Any CPU.Build.0 = Release|Any CPU + {31668B33-6157-4A5B-8D4C-18AF760DCA1B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {31668B33-6157-4A5B-8D4C-18AF760DCA1B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {31668B33-6157-4A5B-8D4C-18AF760DCA1B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {31668B33-6157-4A5B-8D4C-18AF760DCA1B}.Release|Any CPU.Build.0 = Release|Any CPU + {C80D225C-F072-4B24-9ACE-82EFD9362237}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C80D225C-F072-4B24-9ACE-82EFD9362237}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C80D225C-F072-4B24-9ACE-82EFD9362237}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C80D225C-F072-4B24-9ACE-82EFD9362237}.Release|Any CPU.Build.0 = Release|Any CPU + {A9125BAC-71B5-4DC8-879D-1154A0A7DE5C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A9125BAC-71B5-4DC8-879D-1154A0A7DE5C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A9125BAC-71B5-4DC8-879D-1154A0A7DE5C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A9125BAC-71B5-4DC8-879D-1154A0A7DE5C}.Release|Any CPU.Build.0 = Release|Any CPU + {39B7E62B-BDDF-46F2-9306-CE5FC68573A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {39B7E62B-BDDF-46F2-9306-CE5FC68573A2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {39B7E62B-BDDF-46F2-9306-CE5FC68573A2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {39B7E62B-BDDF-46F2-9306-CE5FC68573A2}.Release|Any CPU.Build.0 = Release|Any CPU + {E7C0BDC2-28AD-4582-8FEA-0F6327A42C0E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E7C0BDC2-28AD-4582-8FEA-0F6327A42C0E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E7C0BDC2-28AD-4582-8FEA-0F6327A42C0E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E7C0BDC2-28AD-4582-8FEA-0F6327A42C0E}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection EndGlobal diff --git a/abstractions/README.md b/abstractions/README.md new file mode 100644 index 0000000000..661e579b85 --- /dev/null +++ b/abstractions/README.md @@ -0,0 +1,46 @@ +![OpenSearch logo](../OpenSearch.svg) + +- [OpenSearch .NET abstractions](#opensearch-net-abstractions) + - [OpenSearch.OpenSearch.Managed](#opensearchopensearchmanaged) + - [OpenSearch.OpenSearch.Ephemeral](#opensearchopensearchephemeral) + - [OpenSearch.OpenSearch.Xunit](#opensearchopensearchxunit) + - [OpenSearch.Stack.ArtifactsApi](#opensearchstackartifactsapi) + +## Welcome! + +# OpenSearch .NET abstractions + +You've reached the home for several auxiliary projects from the .NET team within OpenSearch. + +Current projects: + +### [OpenSearch.OpenSearch.Managed](src/OpenSearch.OpenSearch.Managed/README.md) + +Provides an easy to start/stop one or more OpenSearch instances that exists on disk already + +### [OpenSearch.OpenSearch.Ephemeral](src/OpenSearch.OpenSearch.Ephemeral/README.md) + +Bootstrap (download, install, configure) and run OpenSearch clusters with ease. +Started nodes are run in a new ephemeral location each time they are started and will clean up after they +are disposed. + +### [OpenSearch.OpenSearch.Xunit](src/OpenSearch.OpenSearch.Xunit/README.md) + +Write integration tests against OpenSearch. +Works with `.NET Core` and `.NET 4.6` and up. + +Supports `dotnet xunit`, `dotnet test`, `xunit.console.runner` and tests will be runnable in your IDE through VSTest and jetBrains Rider. + +### [OpenSearch.Stack.ArtifactsApi](src/OpenSearch.Stack.ArtifactsApi/README.md) + +Library to fetch the url and metadata for released artifacts. + +Supports: + +1. Snapshots builds + * `latest-MAJOR` where `MAJOR` is a single integer representing the major you want + * `latest` latest greatest + +2. Released versions + * `MAJOR.MINOR.PATH` where `MAJOR` is still supported as defined by the EOL policy of OpenSearch. + * Note if the version exists but is not yet released it will resolve as a build candidate diff --git a/abstractions/src/OpenSearch.OpenSearch.Ephemeral/ClusterAuthentication.cs b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/ClusterAuthentication.cs new file mode 100644 index 0000000000..9f69796b96 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/ClusterAuthentication.cs @@ -0,0 +1,61 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +namespace OpenSearch.OpenSearch.Ephemeral +{ + /// + /// Authentication credentials for the cluster + /// + public class ClusterAuthentication + { + /// + /// Administrator credentials + /// + public static Credentials Admin => new Credentials {Username = "admin", Role = "admin"}; + + /// + /// User credentials + /// + public static Credentials User => new Credentials {Username = "admin", Role = "admin"}; + + /// + /// Credentials for all users + /// + public static Credentials[] AllUsers { get; } = {Admin, User}; + + /// + /// Authentication credentials + /// + public class Credentials + { + public string Username { get; set; } + public string Role { get; set; } + public string Password => Username; + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Ephemeral/ClusterFeatures.cs b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/ClusterFeatures.cs new file mode 100644 index 0000000000..ce36b0d436 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/ClusterFeatures.cs @@ -0,0 +1,50 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; + +namespace OpenSearch.OpenSearch.Ephemeral +{ + /// + /// Hints to what features the cluster to be started should have. + /// It's up to the to actually bootstrap these features. + /// + [Flags] + public enum ClusterFeatures + { + /// + /// No features + /// + None = 1 << 0, + + /// + /// SSL/TLS for HTTP and Transport layers + /// + SSL = 1 << 3, + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Ephemeral/EphemeralCluster.cs b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/EphemeralCluster.cs new file mode 100644 index 0000000000..5f6cae0882 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/EphemeralCluster.cs @@ -0,0 +1,133 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.IO; +using System.Linq; +using System.Security.Cryptography; +using System.Text; +using OpenSearch.OpenSearch.Managed; +using OpenSearch.Stack.ArtifactsApi; + +namespace OpenSearch.OpenSearch.Ephemeral +{ + public class EphemeralCluster : EphemeralCluster + { + public EphemeralCluster(OpenSearchVersion version, int numberOfNodes = 1) + : base(new EphemeralClusterConfiguration(version, ServerType.DEFAULT, ClusterFeatures.None, numberOfNodes: numberOfNodes)) + { + } + + public EphemeralCluster(EphemeralClusterConfiguration clusterConfiguration) : base(clusterConfiguration) + { + } + } + + public abstract class EphemeralCluster : ClusterBase, + IEphemeralCluster + where TConfiguration : EphemeralClusterConfiguration + { + protected EphemeralCluster(TConfiguration clusterConfiguration) : base(clusterConfiguration) => + Composer = new EphemeralClusterComposer(this); + + protected EphemeralClusterComposer Composer { get; } + + public virtual ICollection NodesUris(string hostName = null) + { + hostName = hostName ?? (ClusterConfiguration.HttpFiddlerAware && Process.GetProcessesByName("fiddler").Any() + ? "ipv4.fiddler" + : "localhost"); + var ssl = ClusterConfiguration.EnableSsl ? "s" : ""; + return Nodes + .Select(n => $"http{ssl}://{hostName}:{n.Port ?? 9200}") + .Distinct() + .Select(n => new Uri(n)) + .ToList(); + } + + public bool CachingAndCachedHomeExists() + { + if (!ClusterConfiguration.CacheOpenSearchHomeInstallation) return false; + var cachedOpenSearchHomeFolder = Path.Combine(FileSystem.LocalFolder, GetCacheFolderName()); + return Directory.Exists(cachedOpenSearchHomeFolder); + } + + public virtual string GetCacheFolderName() + { + var config = ClusterConfiguration; + + var sb = new StringBuilder(); + sb.Append(EphemeralClusterComposerBase.InstallationTasks.Count()); + sb.Append("-"); + if (config.EnableSsl) sb.Append("ssl"); + if (config.Plugins != null && config.Plugins.Count > 0) + { + sb.Append("-"); + foreach (var p in config.Plugins.OrderBy(p => p.SubProductName)) + sb.Append(p.SubProductName.ToLowerInvariant()); + } + + var name = sb.ToString(); + + return CalculateSha1(name, Encoding.UTF8); + } + + protected override void OnBeforeStart() + { + Composer.Install(); + Composer.OnBeforeStart(); + } + + protected override void OnDispose() => Composer.OnStop(); + + protected override void OnAfterStarted() => Composer.OnAfterStart(); + + protected override string SeeLogsMessage(string message) + { + var log = Path.Combine(FileSystem.LogsPath, $"{ClusterConfiguration.ClusterName}.log"); + if (!File.Exists(log) || ClusterConfiguration.ShowOpenSearchOutputAfterStarted) return message; + if (!Started) return message; + using (var fileStream = new FileStream(log, FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) + using (var textReader = new StreamReader(fileStream)) + { + var logContents = textReader.ReadToEnd(); + return message + $" contents of {log}:{Environment.NewLine}" + logContents; + } + } + + public static string CalculateSha1(string text, Encoding enc) + { + var buffer = enc.GetBytes(text); + var cryptoTransformSha1 = new SHA1CryptoServiceProvider(); + return BitConverter.ToString(cryptoTransformSha1.ComputeHash(buffer)) + .Replace("-", "").ToLowerInvariant().Substring(0, 12); + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Ephemeral/EphemeralClusterComposer.cs b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/EphemeralClusterComposer.cs new file mode 100644 index 0000000000..bd055f4874 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/EphemeralClusterComposer.cs @@ -0,0 +1,135 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.Collections.Generic; +using OpenSearch.OpenSearch.Ephemeral.Tasks; +using OpenSearch.OpenSearch.Ephemeral.Tasks.AfterNodeStoppedTasks; +using OpenSearch.OpenSearch.Ephemeral.Tasks.BeforeStartNodeTasks; +using OpenSearch.OpenSearch.Ephemeral.Tasks.InstallationTasks; +using OpenSearch.OpenSearch.Ephemeral.Tasks.ValidationTasks; +using OpenSearch.OpenSearch.Managed.FileSystem; + +namespace OpenSearch.OpenSearch.Ephemeral +{ + public class EphemeralClusterComposerBase + { + protected EphemeralClusterComposerBase() + { + } + + internal static IEnumerable InstallationTasks { get; } = new List + { + new PrintConfiguration(), + new CreateLocalApplicationDirectory(), + new CopyCachedOpenSearchInstallation(), + new EnsureJavaHomeEnvironmentVariableIsSet(), + new DownloadOpenSearchVersion(), + new UnzipOpenSearch(), + new SetOpenSearchBundledJdkJavaHome(), + new InstallPlugins(), + new InitialConfiguration() + }; + + protected static IEnumerable BeforeStart { get; } = new List + { + new CreateEphemeralDirectory(), + new CacheOpenSearchInstallation() + }; + + protected static IEnumerable NodeStoppedTasks { get; } = new List + { + new CleanUpDirectoriesAfterNodeStopped() + }; + + protected static IEnumerable AfterStartedTasks { get; } = new List + { + new ValidateRunningVersion(), + new ValidateClusterStateTask(), + new ValidatePluginsTask(), + }; + } + + + public class EphemeralClusterComposer : EphemeralClusterComposerBase + where TConfiguration : EphemeralClusterConfiguration + { + private readonly object _lock = new object(); + public EphemeralClusterComposer(IEphemeralCluster cluster) => Cluster = cluster; + + private IEphemeralCluster Cluster { get; } + + private bool NodeStarted { get; set; } + + public void OnStop() => Itterate(NodeStoppedTasks, (t, c, fs) => t.Run(c, NodeStarted), false); + + public void Install() => Itterate(InstallationTasks, (t, c, fs) => t.Run(c)); + + public void OnBeforeStart() + { + var tasks = new List(BeforeStart); + if (Cluster.ClusterConfiguration.AdditionalBeforeNodeStartedTasks != null) + tasks.AddRange(Cluster.ClusterConfiguration.AdditionalBeforeNodeStartedTasks); + + if (Cluster.ClusterConfiguration.PrintYamlFilesInConfigFolder) + tasks.Add(new PrintYamlContents()); + + Itterate(tasks, (t, c, fs) => t.Run(c)); + + NodeStarted = true; + } + + public void OnAfterStart() + { + if (Cluster.ClusterConfiguration.SkipBuiltInAfterStartTasks) return; + var tasks = new List(AfterStartedTasks); + if (Cluster.ClusterConfiguration.AdditionalAfterStartedTasks != null) + tasks.AddRange(Cluster.ClusterConfiguration.AdditionalAfterStartedTasks); + Itterate(tasks, (t, c, fs) => t.Run(c), false); + } + + private void Itterate(IEnumerable collection, + Action, INodeFileSystem> act, bool callOnStop = true) + { + lock (_lock) + { + var cluster = Cluster; + foreach (var task in collection) + try + { + act(task, cluster, cluster.FileSystem); + } + catch (Exception) + { + if (callOnStop) OnStop(); + throw; + } + } + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Ephemeral/EphemeralClusterConfiguration.cs b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/EphemeralClusterConfiguration.cs new file mode 100644 index 0000000000..748763faff --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/EphemeralClusterConfiguration.cs @@ -0,0 +1,102 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text.RegularExpressions; +using OpenSearch.OpenSearch.Ephemeral.Plugins; +using OpenSearch.OpenSearch.Ephemeral.Tasks; +using OpenSearch.OpenSearch.Managed.Configuration; +using OpenSearch.Stack.ArtifactsApi; +using OpenSearch.Stack.ArtifactsApi.Products; + +namespace OpenSearch.OpenSearch.Ephemeral +{ + public class EphemeralClusterConfiguration : ClusterConfiguration + { + public EphemeralClusterConfiguration(OpenSearchVersion version, ServerType serverType, OpenSearchPlugins plugins = null, + int numberOfNodes = 1) + : this(version, serverType, ClusterFeatures.None, plugins, numberOfNodes) + { + } + + public EphemeralClusterConfiguration(OpenSearchVersion version, ServerType serverType, ClusterFeatures features, + OpenSearchPlugins plugins = null, int numberOfNodes = 1) + : base(version, serverType, (v, s) => new EphemeralFileSystem(v, s), numberOfNodes, EphemeralClusterName) + { + Features = features; + + var pluginsList = plugins?.ToList() ?? new List(); + Plugins = new OpenSearchPlugins(pluginsList); + } + + private static string UniqueishSuffix => Guid.NewGuid().ToString("N").Substring(0, 6); + private static string EphemeralClusterName => $"ephemeral-cluster-{UniqueishSuffix}"; + + /// + /// The features supported by the cluster + /// + public ClusterFeatures Features { get; } + + /// + /// The collection of plugins to install + /// + public OpenSearchPlugins Plugins { get; } + + /// + /// Validates that the plugins to install can be installed on the target OpenSearch version. + /// This can be useful to fail early when subsequent operations are relying on installation + /// succeeding. + /// + public bool ValidatePluginsToInstall { get; } = true; + + public bool EnableSsl => Features.HasFlag(ClusterFeatures.SSL); + + public IList AdditionalBeforeNodeStartedTasks { get; } = new List(); + + public IList AdditionalAfterStartedTasks { get; } = new List(); + + /// + /// Expert level setting, skips all built-in validation tasks for cases where you need to guarantee your call is the + /// first call into the cluster + /// + public bool SkipBuiltInAfterStartTasks { get; set; } + + /// Bootstrapping HTTP calls should attempt to auto route traffic through fiddler if its running + public bool HttpFiddlerAware { get; set; } + + protected virtual string NodePrefix => "ephemeral"; + + public override string CreateNodeName(int? node) + { + var suffix = Guid.NewGuid().ToString("N").Substring(0, 6); + return $"{NodePrefix}-node-{suffix}{node}"; + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Ephemeral/EphemeralFileSystem.cs b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/EphemeralFileSystem.cs new file mode 100644 index 0000000000..9eebfa981c --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/EphemeralFileSystem.cs @@ -0,0 +1,87 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System.IO; +using OpenSearch.OpenSearch.Managed.FileSystem; +using OpenSearch.Stack.ArtifactsApi; +using OpenSearch.Stack.ArtifactsApi.Products; + +namespace OpenSearch.OpenSearch.Ephemeral +{ + public class EphemeralFileSystem : NodeFileSystem + { + public EphemeralFileSystem(OpenSearchVersion version, string clusterName) : base(version, + EphemeralHome(version, clusterName)) => ClusterName = clusterName; + + private string ClusterName { get; } + + public string TempFolder => Path.Combine(Path.GetTempPath(), SubFolder, Artifact.LocalFolderName, ClusterName); + + public override string ConfigPath => Path.Combine(TempFolder, "config"); + public override string LogsPath => Path.Combine(TempFolder, "logs"); + public override string RepositoryPath => Path.Combine(TempFolder, "repositories"); + public override string DataPath => Path.Combine(TempFolder, "data"); + + //certificates + public string CertificateFolderName => "node-certificates"; + public string CertificateNodeName => "node01"; + public string ClientCertificateName => "cn=John Doe,ou=example,o=com"; + public string ClientCertificateFilename => "john_doe"; + + public string CertificatesPath => Path.Combine(ConfigPath, CertificateFolderName); + + public string CaCertificate => Path.Combine(CertificatesPath, "ca", "ca") + ".crt"; + + public string NodePrivateKey => + Path.Combine(CertificatesPath, CertificateNodeName, CertificateNodeName) + ".key"; + + public string NodeCertificate => + Path.Combine(CertificatesPath, CertificateNodeName, CertificateNodeName) + ".crt"; + + public string ClientCertificate => + Path.Combine(CertificatesPath, ClientCertificateFilename, ClientCertificateFilename) + ".crt"; + + public string ClientPrivateKey => + Path.Combine(CertificatesPath, ClientCertificateFilename, ClientCertificateFilename) + ".key"; + + public string UnusedCertificateFolderName => $"unused-{CertificateFolderName}"; + public string UnusedCertificatesPath => Path.Combine(ConfigPath, UnusedCertificateFolderName); + public string UnusedCaCertificate => Path.Combine(UnusedCertificatesPath, "ca", "ca") + ".crt"; + + public string UnusedClientCertificate => + Path.Combine(UnusedCertificatesPath, ClientCertificateFilename, ClientCertificateFilename) + ".crt"; + + + protected static string EphemeralHome(OpenSearchVersion version, string clusterName) + { + var temp = Path.Combine(Path.GetTempPath(), SubFolder, + version.Artifact(Product.OpenSearch).LocalFolderName, clusterName); + return Path.Combine(temp, "home"); + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Ephemeral/IEphemeralCluster.cs b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/IEphemeralCluster.cs new file mode 100644 index 0000000000..d97995713a --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/IEphemeralCluster.cs @@ -0,0 +1,46 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.Collections.Generic; +using OpenSearch.OpenSearch.Managed; + +namespace OpenSearch.OpenSearch.Ephemeral +{ + public interface IEphemeralCluster + { + ICollection NodesUris(string hostName = null); + string GetCacheFolderName(); + bool CachingAndCachedHomeExists(); + } + + public interface IEphemeralCluster : IEphemeralCluster, ICluster + where TConfiguration : EphemeralClusterConfiguration + { + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Ephemeral/OpenSearch.OpenSearch.Ephemeral.csproj b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/OpenSearch.OpenSearch.Ephemeral.csproj new file mode 100644 index 0000000000..ecf5947967 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/OpenSearch.OpenSearch.Ephemeral.csproj @@ -0,0 +1,18 @@ + + + + netstandard2.0;net461 + Provides an EphemeralCluster implementation that can download/bootstrap/run a throwaway customizable OpenSearch cluster + opensearch,opensearch,cluster,ephemeral + false + + true + + + + + + + + + diff --git a/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Plugins/OpenSearchPlugins.cs b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Plugins/OpenSearchPlugins.cs new file mode 100644 index 0000000000..c74af2f9eb --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Plugins/OpenSearchPlugins.cs @@ -0,0 +1,75 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using OpenSearch.Stack.ArtifactsApi.Products; + +namespace OpenSearch.OpenSearch.Ephemeral.Plugins +{ + public class OpenSearchPlugins : ReadOnlyCollection + { + public OpenSearchPlugins(IList list) : base(list) + { + } + + public OpenSearchPlugins(params OpenSearchPlugin[] list) : base(list) + { + } + + public static OpenSearchPlugins Supported { get; } = + new OpenSearchPlugins(new List + { + OpenSearchPlugin.AnalysisIcu, + OpenSearchPlugin.AnalysisKuromoji, + OpenSearchPlugin.AnalysisPhonetic, + OpenSearchPlugin.AnalysisSmartCn, + OpenSearchPlugin.AnalysisStempel, + OpenSearchPlugin.AnalysisUkrainian, + OpenSearchPlugin.DiscoveryAzureClassic, + OpenSearchPlugin.DiscoveryEC2, + OpenSearchPlugin.DiscoveryFile, + OpenSearchPlugin.DiscoveryGCE, + OpenSearchPlugin.IngestAttachment, + OpenSearchPlugin.IngestGeoIp, + OpenSearchPlugin.IngestUserAgent, + OpenSearchPlugin.MapperAttachment, + OpenSearchPlugin.MapperMurmur3, + OpenSearchPlugin.MapperSize, + OpenSearchPlugin.RepositoryAzure, + OpenSearchPlugin.RepositoryGCS, + OpenSearchPlugin.RepositoryHDFS, + OpenSearchPlugin.RepositoryS3, + OpenSearchPlugin.StoreSMB, + OpenSearchPlugin.DeleteByQuery, + }); + + public override string ToString() => string.Join(", ", Items.Select(s => s.SubProductName)); + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Ephemeral/README.md b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/README.md new file mode 100644 index 0000000000..39f5814d22 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/README.md @@ -0,0 +1,60 @@ +# OpenSearch.Managed.Ephemeral + +Bootstrap (download, install, configure) and run OpenSearch clusters with ease. +Started nodes are run in a new ephemeral location each time they are started and will clean up after they +are disposed. + + +## EphemeralCluster + +A `ClusterBase` implementation from `OpenSearch.Managed` that can: + +* download opensearch versions (stable releases, snapshots, build candidates) +* download opensearch plugins (stable releases, snapshots, build candidates) +* install opensearch and desired plugins in an ephemeral location. The source downloaded zips are cached +on disk (LocalAppData). +* Ships with builtin knowledge on how to enable SSL on the running cluster. +* Start opensearch using ephemeral locations for OPENSEARCH_HOME and conf/logs/data paths. + + +#### Examples: + +The easiest way to get started is by simply passing the version you want to be bootstrapped to `EphemeralCluster`. +`Start` starts the `OpenSearchNode`'s and waits for them to be started. The default overload waits `2 minutes`. + +```csharp +using (var cluster = new EphemeralCluster("1.0.0")) +{ + cluster.Start(); +} +``` + +If you want the full configuration possibilities inject a `EphemeralClusterConfiguration` instead: + + +```csharp +var plugins = new OpenSearchPlugins(OpenSearchPlugin.RepositoryAzure, OpenSearchPlugin.IngestAttachment); +var config = new EphemeralClusterConfiguration("1.0.0", ServerType.OpenSearch, ClusterFeatures.None, plugins, numberOfNodes: 2); +using (var cluster = new EphemeralCluster(config)) +{ + cluster.Start(); + + var nodes = cluster.NodesUris(); + var connectionPool = new StaticConnectionPool(nodes); + var settings = new ConnectionSettings(connectionPool).EnableDebugMode(); + var client = new OpenSearchClient(settings); + + Console.Write(client.CatPlugins().DebugInformation); +} +``` +Here we first create a `OpenSearchPlugins` collection of the plugins that we want to bootstrap. +Then we create an instance of `EphemeralClusterConfiguration` that dictates we want a 2 node cluster +running opensearch using the previous declared `plugins`. + +We then Start the node and after its up create a `OSC` client using the `NodeUris()` that the cluster +started. + +We call `/_cat/plugins` and write `OSC`'s debug information to the console. + +When the cluster exits the using block and disposes the cluster all nodes will be shutdown gracefully. + diff --git a/abstractions/src/OpenSearch.OpenSearch.Ephemeral/SecurityRealms.cs b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/SecurityRealms.cs new file mode 100644 index 0000000000..76bf8c751c --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/SecurityRealms.cs @@ -0,0 +1,37 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +namespace OpenSearch.OpenSearch.Ephemeral +{ + public static class SecurityRealms + { + public const string FileRealm = "file1"; + + public const string PkiRealm = "pki1"; + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/AfterNodeStoppedTasks/CleanUpDirectoriesAfterNodeStopped.cs b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/AfterNodeStoppedTasks/CleanUpDirectoriesAfterNodeStopped.cs new file mode 100644 index 0000000000..8acaa36384 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/AfterNodeStoppedTasks/CleanUpDirectoriesAfterNodeStopped.cs @@ -0,0 +1,84 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System.IO; +using OpenSearch.OpenSearch.Managed.ConsoleWriters; +using ProcNet.Std; + +namespace OpenSearch.OpenSearch.Ephemeral.Tasks.AfterNodeStoppedTasks +{ + public class CleanUpDirectoriesAfterNodeStopped : IClusterTeardownTask + { + public void Run(IEphemeralCluster cluster, bool nodeStarted) + { + var fs = cluster.FileSystem; + var w = cluster.Writer; + var a = cluster.ClusterConfiguration.Artifact; + if (cluster.ClusterConfiguration.NoCleanupAfterNodeStopped) + { + w.WriteDiagnostic( + $"{{{nameof(CleanUpDirectoriesAfterNodeStopped)}}} skipping cleanup as requested on cluster configuration"); + return; + } + + DeleteDirectory(w, "cluster data", fs.DataPath); + DeleteDirectory(w, "cluster config", fs.ConfigPath); + DeleteDirectory(w, "cluster logs", fs.LogsPath); + DeleteDirectory(w, "repositories", fs.RepositoryPath); + var efs = fs as EphemeralFileSystem; + if (!string.IsNullOrWhiteSpace(efs?.TempFolder)) + DeleteDirectory(w, "cluster temp folder", efs.TempFolder); + + if (efs != null) + { + var extractedFolder = Path.Combine(fs.LocalFolder, a.FolderInZip); + if (extractedFolder != fs.OpenSearchHome) + DeleteDirectory(w, "ephemeral OPENSEARCH_HOME", fs.OpenSearchHome); + //if the node was not started delete the cached extractedFolder + if (!nodeStarted) + DeleteDirectory(w, "cached extracted folder - node failed to start", extractedFolder); + } + + //if the node did not start make sure we delete the cached folder as we can not assume its in a good state + var cachedOpenSearchHomeFolder = Path.Combine(fs.LocalFolder, cluster.GetCacheFolderName()); + if (cluster.ClusterConfiguration.CacheOpenSearchHomeInstallation && !nodeStarted) + DeleteDirectory(w, "cached installation - node failed to start", cachedOpenSearchHomeFolder); + else + w.WriteDiagnostic( + $"{{{nameof(CleanUpDirectoriesAfterNodeStopped)}}} Leaving [cached folder] on disk: {{{cachedOpenSearchHomeFolder}}}"); + } + + private static void DeleteDirectory(IConsoleLineHandler w, string description, string path) + { + if (!Directory.Exists(path)) return; + w.WriteDiagnostic( + $"{{{nameof(CleanUpDirectoriesAfterNodeStopped)}}} attempting to delete [{description}]: {{{path}}}"); + Directory.Delete(path, true); + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/BeforeStartNodeTasks/CacheOpenSearchInstallation.cs b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/BeforeStartNodeTasks/CacheOpenSearchInstallation.cs new file mode 100644 index 0000000000..85a0a1fc89 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/BeforeStartNodeTasks/CacheOpenSearchInstallation.cs @@ -0,0 +1,57 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System.IO; +using OpenSearch.OpenSearch.Managed.ConsoleWriters; + +namespace OpenSearch.OpenSearch.Ephemeral.Tasks.BeforeStartNodeTasks +{ + public class CacheOpenSearchInstallation : ClusterComposeTask + { + public override void Run(IEphemeralCluster cluster) + { + if (!cluster.ClusterConfiguration.CacheOpenSearchHomeInstallation) return; + + var fs = cluster.FileSystem; + var cachedOpenSearchHomeFolder = Path.Combine(fs.LocalFolder, cluster.GetCacheFolderName()); + var cachedOpenSearchConfig = Path.Combine(cachedOpenSearchHomeFolder, "config"); + if (File.Exists(cachedOpenSearchConfig)) + { + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(CacheOpenSearchInstallation)}}} cached home already exists [{cachedOpenSearchHomeFolder}]"); + return; + } + + var source = fs.OpenSearchHome; + var target = cachedOpenSearchHomeFolder; + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(CacheOpenSearchInstallation)}}} caching {{{source}}} to [{target}]"); + CopyFolder(source, target, false); + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/BeforeStartNodeTasks/CreateEphemeralDirectory.cs b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/BeforeStartNodeTasks/CreateEphemeralDirectory.cs new file mode 100644 index 0000000000..67e77cbc8b --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/BeforeStartNodeTasks/CreateEphemeralDirectory.cs @@ -0,0 +1,85 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System.IO; +using OpenSearch.OpenSearch.Managed.ConsoleWriters; +using OpenSearch.OpenSearch.Managed.FileSystem; + +namespace OpenSearch.OpenSearch.Ephemeral.Tasks.BeforeStartNodeTasks +{ + public class CreateEphemeralDirectory : ClusterComposeTask + { + public override void Run(IEphemeralCluster cluster) + { + var fs = cluster.FileSystem; + if (!(fs is EphemeralFileSystem f)) + { + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(CreateEphemeralDirectory)}}} unexpected IFileSystem implementation {{{fs.GetType()}}}"); + return; + } + + cluster.Writer?.WriteDiagnostic($"{{{nameof(CreateEphemeralDirectory)}}} creating {{{f.TempFolder}}}"); + + Directory.CreateDirectory(f.TempFolder); + + if (!Directory.Exists(f.ConfigPath)) + { + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(CreateEphemeralDirectory)}}} creating config folder {{{f.ConfigPath}}}"); + Directory.CreateDirectory(f.ConfigPath); + } + + CopyHomeConfigToEphemeralConfig(cluster, f, fs); + } + + private static void CopyHomeConfigToEphemeralConfig(IEphemeralCluster cluster, + EphemeralFileSystem ephemeralFileSystem, INodeFileSystem fs) + { + var target = ephemeralFileSystem.ConfigPath; + var cachedOpenSearchHomeFolder = Path.Combine(fs.LocalFolder, cluster.GetCacheFolderName()); + var cachedOpenSearchYaml = Path.Combine(cachedOpenSearchHomeFolder, "config", "opensearch.yaml"); + + var homeSource = + cluster.ClusterConfiguration.CacheOpenSearchHomeInstallation && File.Exists(cachedOpenSearchYaml) + ? cachedOpenSearchHomeFolder + : fs.OpenSearchHome; + var source = Path.Combine(homeSource, "config"); + if (!Directory.Exists(source)) + { + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(CreateEphemeralDirectory)}}} source config {{{source}}} does not exist nothing to copy"); + return; + } + + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(CreateEphemeralDirectory)}}} copying cached {{{source}}} as to [{target}]"); + CopyFolder(source, target); + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/BeforeStartNodeTasks/PrintYamlContents.cs b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/BeforeStartNodeTasks/PrintYamlContents.cs new file mode 100644 index 0000000000..d525d8eb65 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/BeforeStartNodeTasks/PrintYamlContents.cs @@ -0,0 +1,63 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System.IO; +using System.Linq; +using OpenSearch.OpenSearch.Managed.ConsoleWriters; + +namespace OpenSearch.OpenSearch.Ephemeral.Tasks.BeforeStartNodeTasks +{ + public class PrintYamlContents : ClusterComposeTask + { + public override void Run(IEphemeralCluster cluster) + { + var c = cluster.ClusterConfiguration; + var v = c.Version; + var fs = cluster.FileSystem; + + var files = Directory.GetFiles(fs.ConfigPath, "*.yml", SearchOption.AllDirectories); + foreach (var file in files) DumpFile(cluster, file); + } + + private static void DumpFile(IEphemeralCluster cluster, string configFile) + { + if (!File.Exists(configFile)) + { + cluster.Writer.WriteDiagnostic( + $"{{{nameof(PrintYamlContents)}}} skipped printing [{configFile}] as it does not exists"); + return; + } + + var fileName = Path.GetFileName(configFile); + cluster.Writer.WriteDiagnostic($"{{{nameof(PrintYamlContents)}}} printing [{configFile}]"); + var lines = File.ReadAllLines(configFile).ToList(); + foreach (var l in lines.Where(l => !string.IsNullOrWhiteSpace(l) && !l.StartsWith("#"))) + cluster.Writer.WriteDiagnostic($"{{{nameof(PrintYamlContents)}}} [{fileName}] {l}"); + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/IClusterComposeTask.cs b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/IClusterComposeTask.cs new file mode 100644 index 0000000000..3117162100 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/IClusterComposeTask.cs @@ -0,0 +1,270 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.Collections.Generic; +using System.IO; +using System.IO.Compression; +using System.Linq; +using System.Net; +using System.Net.Http; +using System.Net.Http.Headers; +using System.Net.Security; +using System.Runtime.InteropServices; +using System.Security.Cryptography.X509Certificates; +using System.Text; +using System.Threading; +using System.Threading.Tasks; +using OpenSearch.OpenSearch.Managed.ConsoleWriters; +using ICSharpCode.SharpZipLib.GZip; +using ICSharpCode.SharpZipLib.Tar; +using ProcNet; +using ProcNet.Std; + +namespace OpenSearch.OpenSearch.Ephemeral.Tasks +{ + public interface IClusterComposeTask + { + void Run(IEphemeralCluster cluster); + } + + public interface IClusterTeardownTask + { + /// + /// Called when the cluster disposes, used to clean up after itself. + /// + /// The cluster configuration of the node that was started + /// Whether the cluster composer was successful in starting the node + void Run(IEphemeralCluster cluster, bool nodeStarted); + } + + public abstract class ClusterComposeTask : IClusterComposeTask + { + protected static bool IsWindows { get; } = RuntimeInformation.IsOSPlatform(OSPlatform.Windows); + protected static string BinarySuffix => IsWindows ? ".bat" : string.Empty; + public abstract void Run(IEphemeralCluster cluster); + + protected static void DownloadFile(string from, string to) + { + if (File.Exists(to)) return; + var http = new HttpClient(); + using (var stream = http.GetStreamAsync(new Uri(from)).GetAwaiter().GetResult()) + using (var fileStream = File.Create(to)) + { + stream.CopyTo(fileStream); + fileStream.Flush(); + } + } + + protected string GetResponseException(HttpResponseMessage m) => + $"Code: {m?.StatusCode} Reason: {m?.ReasonPhrase} Content: {GetResponseString(m)}"; + + protected string GetResponseString(HttpResponseMessage m) => + m?.Content?.ReadAsStringAsync().ConfigureAwait(false).GetAwaiter().GetResult() ?? string.Empty; + + protected HttpResponseMessage Get(IEphemeralCluster cluster, string path, + string query) => + Call(cluster, path, query, (c, u, t) => c.GetAsync(u, t)); + + protected HttpResponseMessage Post(IEphemeralCluster cluster, string path, + string query, string json) => + Call(cluster, path, query, + (c, u, t) => c.PostAsync(u, new StringContent(json, Encoding.UTF8, "application/json"), t)); + + private HttpResponseMessage Call( + IEphemeralCluster cluster, + string path, + string query, + Func> verb) + { + var q = string.IsNullOrEmpty(query) ? "pretty=true" : query + "&pretty=true"; + var statusUrl = new UriBuilder(cluster.NodesUris().First()) {Path = path, Query = q}.Uri; + + var tokenSource = new CancellationTokenSource(TimeSpan.FromSeconds(20)); + var handler = new HttpClientHandler + { + AutomaticDecompression = + DecompressionMethods.Deflate | DecompressionMethods.GZip | DecompressionMethods.None, + }; + cluster.Writer.WriteDiagnostic( + $"{{{nameof(Call)}}} [{statusUrl}] SSL: {cluster.ClusterConfiguration.EnableSsl}"); + if (cluster.ClusterConfiguration.EnableSsl) + { +#if !NETSTANDARD + ServicePointManager.ServerCertificateValidationCallback += ServerCertificateValidationCallback; +#else + handler.ServerCertificateCustomValidationCallback += (m, c, cn, p) => true; +#endif + } + + using (var client = new HttpClient(handler) {Timeout = TimeSpan.FromSeconds(20)}) + { + if (cluster.ClusterConfiguration.EnableSsl) + { + var byteArray = + Encoding.ASCII.GetBytes( + $"{ClusterAuthentication.Admin.Username}:{ClusterAuthentication.Admin.Password}"); + client.DefaultRequestHeaders.Authorization = + new AuthenticationHeaderValue("Basic", Convert.ToBase64String(byteArray)); + } + + try + { + var response = verb(client, statusUrl, tokenSource.Token).ConfigureAwait(false).GetAwaiter() + .GetResult(); + if (!response.IsSuccessStatusCode) + { + cluster.Writer.WriteDiagnostic( + $"{{{nameof(Call)}}} [{statusUrl}] Unsuccessful status code: [{(int) response.StatusCode}]"); + var body = response.Content.ReadAsStringAsync().GetAwaiter().GetResult(); + foreach (var l in (body ?? string.Empty).Split('\n', '\r')) + cluster.Writer.WriteDiagnostic($"{{{nameof(Call)}}} [{statusUrl}] returned [{l}]"); + } + + return response; + } + catch (Exception e) + { + cluster.Writer.WriteError($"{{{nameof(Call)}}} [{statusUrl}] exception: {e}"); + throw; + } + finally + { +#if !NETSTANDARD + ServicePointManager.ServerCertificateValidationCallback -= ServerCertificateValidationCallback; +#endif + } + } + } + + private static bool ServerCertificateValidationCallback(object sender, X509Certificate certificate, + X509Chain chain, SslPolicyErrors sslpolicyerrors) => true; + + protected static void WriteFileIfNotExist(string fileLocation, string contents) + { + if (!File.Exists(fileLocation)) File.WriteAllText(fileLocation, contents); + } + + protected static void ExecuteBinary(EphemeralClusterConfiguration config, IConsoleLineHandler writer, + string binary, string description, params string[] arguments) => + ExecuteBinaryInternal(config, writer, binary, description, null, arguments); + + protected static void ExecuteBinary(EphemeralClusterConfiguration config, IConsoleLineHandler writer, + string binary, string description, StartedHandler startedHandler, params string[] arguments) => + ExecuteBinaryInternal(config, writer, binary, description, startedHandler, arguments); + + private static void ExecuteBinaryInternal(EphemeralClusterConfiguration config, IConsoleLineHandler writer, + string binary, string description, StartedHandler startedHandler, params string[] arguments) + { + var command = $"{{{binary}}} {{{string.Join(" ", arguments)}}}"; + writer?.WriteDiagnostic($"{{{nameof(ExecuteBinary)}}} starting process [{description}] {command}"); + + var timeout = TimeSpan.FromSeconds(420); + var processStartArguments = new StartArguments(binary, arguments) + { + Environment = new Dictionary + { + {config.FileSystem.ConfigEnvironmentVariableName, config.FileSystem.ConfigPath}, + {"OPENSEARCH_HOME", config.FileSystem.OpenSearchHome}, + // Duplicate all env vars for ES_* prefix for backward compatibility with OpenDistro and ElasticSearch; + // unused env vars would be just ignored. + {config.FileSystem.ConfigEnvironmentVariableName.Replace("OPENSEARCH", "ES"), config.FileSystem.ConfigPath}, + {"ES_HOME", config.FileSystem.OpenSearchHome} + } + }; + + var result = startedHandler != null + ? Proc.Start(processStartArguments, timeout, new ConsoleOutColorWriter(), startedHandler) + : Proc.Start(processStartArguments, timeout, new ConsoleOutColorWriter()); + + if (!result.Completed) + throw new Exception($"Timeout while executing {description} exceeded {timeout}"); + + if (result.ExitCode != 0) + throw new Exception( + $"Expected exit code 0 but received ({result.ExitCode}) while executing {description}: {command}"); + + var errorOut = result.ConsoleOut.Where(c => c.Error).ToList(); + + if (errorOut.Any(e => + !string.IsNullOrWhiteSpace(e.Line) && !e.Line.Contains("usage of JAVA_HOME is deprecated")) && + !binary.Contains("plugin") && !binary.Contains("cert")) + throw new Exception( + $"Received error out with exitCode ({result.ExitCode}) while executing {description}: {command}"); + + writer?.WriteDiagnostic( + $"{{{nameof(ExecuteBinary)}}} finished process [{description}] {{{result.ExitCode}}}"); + } + + protected static void CopyFolder(string source, string target, bool overwrite = true) + { + foreach (var sourceDir in Directory.GetDirectories(source, "*", SearchOption.AllDirectories)) + { + var targetDir = sourceDir.Replace(source, target); + Directory.CreateDirectory(targetDir); + } + + foreach (var sourcePath in Directory.GetFiles(source, "*.*", SearchOption.AllDirectories)) + { + var targetPath = sourcePath.Replace(source, target); + if (!overwrite && File.Exists(targetPath)) continue; + File.Copy(sourcePath, targetPath, overwrite); + } + } + + protected static void Extract(string file, string toFolder) + { + if (file.EndsWith(".zip")) ExtractZip(file, toFolder); + else if (file.EndsWith(".tar.gz")) ExtractTarGz(file, toFolder); + else if (file.EndsWith(".tar")) ExtractTar(file, toFolder); + else throw new Exception("Can not extract:" + file); + } + + private static void ExtractTar(string file, string toFolder) + { + using (var inStream = File.OpenRead(file)) + using (var tarArchive = TarArchive.CreateInputTarArchive(inStream)) + tarArchive.ExtractContents(toFolder); + } + + private static void ExtractTarGz(string file, string toFolder) + { + if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) + using (var inStream = File.OpenRead(file)) + using (var gzipStream = new GZipInputStream(inStream)) + using (var tarArchive = TarArchive.CreateInputTarArchive(gzipStream)) + tarArchive.ExtractContents(toFolder); + else + //SharpZipLib loses permissions when untarring + Proc.Exec("tar", "-xvf", file, "-C", toFolder); + } + + private static void ExtractZip(string file, string toFolder) => + ZipFile.ExtractToDirectory(file, toFolder); + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/InstallationTasks/CopyCachedOpenSearchInstallation.cs b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/InstallationTasks/CopyCachedOpenSearchInstallation.cs new file mode 100644 index 0000000000..5c7862de44 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/InstallationTasks/CopyCachedOpenSearchInstallation.cs @@ -0,0 +1,51 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System.IO; +using OpenSearch.OpenSearch.Managed.ConsoleWriters; + +namespace OpenSearch.OpenSearch.Ephemeral.Tasks.InstallationTasks +{ + public class CopyCachedOpenSearchInstallation : ClusterComposeTask + { + public override void Run(IEphemeralCluster cluster) + { + if (!cluster.ClusterConfiguration.CacheOpenSearchHomeInstallation) return; + + var fs = cluster.FileSystem; + var cachedOpenSearchHomeFolder = Path.Combine(fs.LocalFolder, cluster.GetCacheFolderName()); + if (!Directory.Exists(cachedOpenSearchHomeFolder)) return; + + var source = cachedOpenSearchHomeFolder; + var target = fs.OpenSearchHome; + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(CopyCachedOpenSearchInstallation)}}} using cached OPENSEARCH_HOME {{{source}}} and copying it to [{target}]"); + CopyFolder(source, target); + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/InstallationTasks/CreateLocalApplicationDirectory.cs b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/InstallationTasks/CreateLocalApplicationDirectory.cs new file mode 100644 index 0000000000..35c8e98ec0 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/InstallationTasks/CreateLocalApplicationDirectory.cs @@ -0,0 +1,52 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System.IO; +using OpenSearch.OpenSearch.Managed.ConsoleWriters; + +namespace OpenSearch.OpenSearch.Ephemeral.Tasks.InstallationTasks +{ + public class CreateLocalApplicationDirectory : ClusterComposeTask + { + public override void Run(IEphemeralCluster cluster) + { + var fs = cluster.FileSystem; + if (Directory.Exists(fs.LocalFolder)) + { + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(CreateLocalApplicationDirectory)}}} already exists: {{{fs.LocalFolder}}}"); + return; + } + + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(CreateLocalApplicationDirectory)}}} creating {{{fs.LocalFolder}}}"); + + Directory.CreateDirectory(fs.LocalFolder); + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/InstallationTasks/DownloadOpenSearchVersion.cs b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/InstallationTasks/DownloadOpenSearchVersion.cs new file mode 100644 index 0000000000..e652724364 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/InstallationTasks/DownloadOpenSearchVersion.cs @@ -0,0 +1,60 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System.IO; +using OpenSearch.OpenSearch.Managed.ConsoleWriters; +using OpenSearch.Stack.ArtifactsApi.Products; + +namespace OpenSearch.OpenSearch.Ephemeral.Tasks.InstallationTasks +{ + public class DownloadOpenSearchVersion : ClusterComposeTask + { + public override void Run(IEphemeralCluster cluster) + { + if (cluster.CachingAndCachedHomeExists()) return; + + var fs = cluster.FileSystem; + var v = cluster.ClusterConfiguration.Version; + var a = cluster.ClusterConfiguration.Artifact; + var from = v.Artifact(Product.OpenSearch).DownloadUrl; + var to = Path.Combine(fs.LocalFolder, a.Archive); + if (File.Exists(to)) + { + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(DownloadOpenSearchVersion)}}} {v} was already downloaded"); + return; + } + + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(DownloadOpenSearchVersion)}}} downloading OpenSearch [{v}] from {{{from}}} {{{to}}}"); + DownloadFile(from, to); + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(DownloadOpenSearchVersion)}}} downloaded OpenSearch [{v}] from {{{from}}} {{{to}}}"); + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/InstallationTasks/EnsureJavaHomeEnvironmentVariableIsSet.cs b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/InstallationTasks/EnsureJavaHomeEnvironmentVariableIsSet.cs new file mode 100644 index 0000000000..faa8a00641 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/InstallationTasks/EnsureJavaHomeEnvironmentVariableIsSet.cs @@ -0,0 +1,63 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.IO; +using OpenSearch.OpenSearch.Managed.ConsoleWriters; + +namespace OpenSearch.OpenSearch.Ephemeral.Tasks.InstallationTasks +{ + public class EnsureJavaHomeEnvironmentVariableIsSet : ClusterComposeTask + { + public override void Run(IEphemeralCluster cluster) + { + var fs = cluster.FileSystem; + + var envVarName = cluster.ClusterConfiguration.JavaHomeEnvironmentVariable; + var javaHome = Environment.GetEnvironmentVariable(envVarName); + var cachedOpenSearchHomeFolder = Path.Combine(fs.LocalFolder, cluster.GetCacheFolderName()); + var jdkFolder = Path.Combine(cachedOpenSearchHomeFolder, "jdk"); + if (Directory.Exists(jdkFolder)) + { + //prefer bundled jdk + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(EnsureJavaHomeEnvironmentVariableIsSet)}}} [{envVarName}] is set to bundled jdk: {{{jdkFolder}}} "); + Environment.SetEnvironmentVariable("JAVA_HOME", jdkFolder); + } + else if (!string.IsNullOrWhiteSpace(javaHome)) + { + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(EnsureJavaHomeEnvironmentVariableIsSet)}}} [{envVarName}] is set; clearing value for process to prefer bundled jdk..."); + Environment.SetEnvironmentVariable(envVarName, null); + } + else + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(EnsureJavaHomeEnvironmentVariableIsSet)}}} {envVarName} is not set proceeding or using default JDK"); + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/InstallationTasks/InitialConfiguration.cs b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/InstallationTasks/InitialConfiguration.cs new file mode 100644 index 0000000000..c806617546 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/InstallationTasks/InitialConfiguration.cs @@ -0,0 +1,77 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.IO; +using OpenSearch.OpenSearch.Managed.ConsoleWriters; +using OpenSearch.Stack.ArtifactsApi; + +namespace OpenSearch.OpenSearch.Ephemeral.Tasks.InstallationTasks +{ + public class InitialConfiguration : ClusterComposeTask + { + public override void Run(IEphemeralCluster cluster) + { + if (cluster.CachingAndCachedHomeExists()) return; + + if (cluster.ClusterConfiguration.Artifact.ServerType == ServerType.ElasticSearch) + { + cluster.Writer?.WriteDiagnostic($"{{{nameof(Run)}}} skipping for ElasticSearch"); + return; + } + + var fs = cluster.FileSystem; + var script = Path.Combine(fs.OpenSearchHome, "server-initial-config.sh"); + + if (cluster.ClusterConfiguration.Artifact.ServerType == ServerType.OpenSearch) + File.WriteAllText(script, InitialConfigurationOpenSearch.GetConfigurationScript(cluster.ClusterConfiguration.Version)); + if (cluster.ClusterConfiguration.Artifact.ServerType == ServerType.OpenDistro) + File.WriteAllText(script, InitialConfigurationOpenDistro.GetConfigurationScript()); + + cluster.Writer?.WriteDiagnostic($"{{{nameof(Run)}}} going to run [server-initial-config.sh]"); + + ExecuteBinary( + cluster.ClusterConfiguration, + cluster.Writer, + "/bin/bash", + "run initial cluster configuration", + script); + + if (!cluster.ClusterConfiguration.EnableSsl) + { + if (cluster.ClusterConfiguration.Artifact.ServerType == ServerType.OpenSearch) + File.AppendAllText(Path.Combine(fs.OpenSearchHome, "config", "opensearch.yml"), "plugins.security.disabled: true"); + if (cluster.ClusterConfiguration.Artifact.ServerType == ServerType.OpenDistro) + File.AppendAllText(Path.Combine(fs.OpenSearchHome, "config", "elasticsearch.yml"), "opendistro_security.disabled: true"); + } + + if (cluster.ClusterConfiguration.Artifact.ServerType == ServerType.ElasticSearch && cluster.ClusterConfiguration.EnableSsl) + throw new NotImplementedException("ElasticSearch with SSL is not supported"); + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/InstallationTasks/InitialConfigurationOpenDistro.cs b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/InstallationTasks/InitialConfigurationOpenDistro.cs new file mode 100644 index 0000000000..43647a60b9 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/InstallationTasks/InitialConfigurationOpenDistro.cs @@ -0,0 +1,98 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +namespace OpenSearch.OpenSearch.Ephemeral.Tasks.InstallationTasks +{ + internal class InitialConfigurationOpenDistro + { + // Actually, it is content of file `opendistro-tar-install.sh` shipped + // in the tarball, but due to (1) this file might be changed and + // (2) we have to modify the file before execution, because it launches + // the server what we want to do on our own, it is decided to have a + // snapshot of this file. + // The script is taken from v.1.13.3, last 3 lines omitted. + public static string GetConfigurationScript() => +@"#!/bin/bash + +ES_HOME=`dirname $(realpath $0)`; cd $ES_HOME +ES_KNN_LIB_DIR=$ES_HOME/plugins/opendistro-knn/knn-lib +##Security Plugin +bash $ES_HOME/plugins/opendistro_security/tools/install_demo_configuration.sh -y -i -s + +##Perf Plugin +chmod 755 $ES_HOME/plugins/opendistro-performance-analyzer/pa_bin/performance-analyzer-agent +chmod 755 $ES_HOME/bin/performance-analyzer-agent-cli +echo ""done security"" +PA_AGENT_JAVA_OPTS=""-Dlog4j.configurationFile=$ES_HOME/plugins/opendistro-performance-analyzer/pa_config/log4j2.xml \ + -Xms64M -Xmx64M -XX:+UseSerialGC -XX:CICompilerCount=1 -XX:-TieredCompilation -XX:InitialCodeCacheSize=4096 \ + -XX:InitialBootClassLoaderMetaspaceSize=30720 -XX:MaxRAM=400m"" + +ES_MAIN_CLASS=""com.amazon.opendistro.elasticsearch.performanceanalyzer.PerformanceAnalyzerApp"" \ +ES_ADDITIONAL_CLASSPATH_DIRECTORIES=plugins/opendistro-performance-analyzer \ +ES_JAVA_OPTS=$PA_AGENT_JAVA_OPTS + +if ! grep -q '## OpenDistro Performance Analyzer' $ES_HOME/config/jvm.options; then + CLK_TCK=`/usr/bin/getconf CLK_TCK` + echo >> $ES_HOME/config/jvm.options + echo '## OpenDistro Performance Analyzer' >> $ES_HOME/config/jvm.options + echo ""-Dclk.tck=$CLK_TCK"" >> $ES_HOME/config/jvm.options + echo ""-Djdk.attach.allowAttachSelf=true"" >> $ES_HOME/config/jvm.options + echo ""-Djava.security.policy=$ES_HOME/plugins/opendistro-performance-analyzer/pa_config/es_security.policy"" >> $ES_HOME/config/jvm.options +fi +echo ""done plugins"" + +##Check KNN lib existence in ES TAR distribution +echo ""Checking kNN library"" +FILE=`ls $ES_KNN_LIB_DIR/libKNNIndex*.so` +if test -f ""$FILE""; then + echo ""FILE EXISTS $FILE"" +else + echo ""TEST FAILED OR FILE NOT EXIST $FILE"" +fi + +##Set KNN Dylib Path for macOS and *nix systems +if echo ""$OSTYPE"" | grep -qi ""darwin""; then + if echo ""$JAVA_LIBRARY_PATH"" | grep -q ""$ES_KNN_LIB_DIR""; then + echo ""KNN lib path has been set"" + else + export JAVA_LIBRARY_PATH=$JAVA_LIBRARY_PATH:$ES_KNN_LIB_DIR + echo ""KNN lib path not found, set new path"" + echo $JAVA_LIBRARY_PATH + fi +else + if echo ""$LD_LIBRARY_PATH"" | grep -q ""$ES_KNN_LIB_DIR""; then + echo ""KNN lib path has been set"" + else + export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ES_KNN_LIB_DIR + echo ""KNN lib path not found, set new path"" + echo $LD_LIBRARY_PATH + fi +fi +"; + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/InstallationTasks/InitialConfigurationOpenSearch.cs b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/InstallationTasks/InitialConfigurationOpenSearch.cs new file mode 100644 index 0000000000..6dd58b203b --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/InstallationTasks/InitialConfigurationOpenSearch.cs @@ -0,0 +1,148 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using OpenSearch.Stack.ArtifactsApi; + +namespace OpenSearch.OpenSearch.Ephemeral.Tasks.InstallationTasks +{ + internal class InitialConfigurationOpenSearch + { + // Actually, it is content of file `opensearch-tar-install.sh` shipped + // in the tarball, but due to (1) this file might be changed and + // (2) we have to modify the file before execution, because it launches + // the server what we want to do on our own, it is decided to have a + // snapshot of this file. + // The script is taken from v.1.2.4, last 3 lines omitted. + public static string GetConfigurationScript(OpenSearchVersion version) + { + if (version < (OpenSearchVersion)"2.0.0") + return +@"#!/bin/bash + +# Copyright OpenSearch Contributors +# SPDX-License-Identifier: Apache-2.0 + +OPENSEARCH_HOME=`dirname $(realpath $0)`; cd $OPENSEARCH_HOME +KNN_LIB_DIR=$OPENSEARCH_HOME/plugins/opensearch-knn/knnlib +##Security Plugin +bash $OPENSEARCH_HOME/plugins/opensearch-security/tools/install_demo_configuration.sh -y -i -s + +##Perf Plugin +chmod 755 $OPENSEARCH_HOME/plugins/opensearch-performance-analyzer/pa_bin/performance-analyzer-agent +chmod 755 $OPENSEARCH_HOME/bin/performance-analyzer-agent-cli +echo ""done security"" +PA_AGENT_JAVA_OPTS=""-Dlog4j.configurationFile=$OPENSEARCH_HOME/plugins/opensearch-performance-analyzer/pa_config/log4j2.xml \ + -Xms64M -Xmx64M -XX:+UseSerialGC -XX:CICompilerCount=1 -XX:-TieredCompilation -XX:InitialCodeCacheSize=4096 \ + -XX:InitialBootClassLoaderMetaspaceSize=30720 -XX:MaxRAM=400m"" + +OPENSEARCH_MAIN_CLASS=""org.opensearch.performanceanalyzer.PerformanceAnalyzerApp"" \ +OPENSEARCH_ADDITIONAL_CLASSPATH_DIRECTORIES=plugins/opensearch-performance-analyzer \ +OPENSEARCH_JAVA_OPTS=$PA_AGENT_JAVA_OPTS + +if ! grep -q '## OpenSearch Performance Analyzer' $OPENSEARCH_HOME/config/jvm.options; then + CLK_TCK=`/usr/bin/getconf CLK_TCK` + echo >> $OPENSEARCH_HOME/config/jvm.options + echo '## OpenSearch Performance Analyzer' >> $OPENSEARCH_HOME/config/jvm.options + echo ""-Dclk.tck=$CLK_TCK"" >> $OPENSEARCH_HOME/config/jvm.options + echo ""-Djdk.attach.allowAttachSelf=true"" >> $OPENSEARCH_HOME/config/jvm.options + echo ""-Djava.security.policy=$OPENSEARCH_HOME/plugins/opensearch-performance-analyzer/pa_config/opensearch_security.policy"" >> $OPENSEARCH_HOME/config/jvm.options +fi +echo ""done plugins"" + +##Set KNN Dylib Path for macOS and *nix systems +if echo ""$OSTYPE"" | grep -qi ""darwin""; then + if echo ""$JAVA_LIBRARY_PATH"" | grep -q ""$KNN_LIB_DIR""; then + echo ""k-NN libraries found in JAVA_LIBRARY_PATH"" + else + export JAVA_LIBRARY_PATH=$JAVA_LIBRARY_PATH:$KNN_LIB_DIR + echo ""k-NN libraries not found in JAVA_LIBRARY_PATH. Updating path to: $JAVA_LIBRARY_PATH."" + fi +else + if echo ""$LD_LIBRARY_PATH"" | grep -q ""$KNN_LIB_DIR""; then + echo ""k-NN libraries found in LD_LIBRARY_PATH"" + else + export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$KNN_LIB_DIR + echo ""k-NN libraries not found in LD_LIBRARY_PATH. Updating path to: $LD_LIBRARY_PATH."" + fi +fi +"; + return + //script from 2.0.0 + @"#!/bin/bash + +# Copyright OpenSearch Contributors +# SPDX-License-Identifier: Apache-2.0 + +export OPENSEARCH_HOME=`dirname $(realpath $0)` +export OPENSEARCH_PATH_CONF=$OPENSEARCH_HOME/config +cd $OPENSEARCH_HOME + +KNN_LIB_DIR=$OPENSEARCH_HOME/plugins/opensearch-knn/lib +##Security Plugin +bash $OPENSEARCH_HOME/plugins/opensearch-security/tools/install_demo_configuration.sh -y -i -s + +echo ""done security"" +PA_AGENT_JAVA_OPTS=""-Dlog4j.configurationFile=$OPENSEARCH_PATH_CONF/opensearch-performance-analyzer/log4j2.xml \ + -Xms64M -Xmx64M -XX:+UseSerialGC -XX:CICompilerCount=1 -XX:-TieredCompilation -XX:InitialCodeCacheSize=4096 \ + -XX:MaxRAM=400m"" + +OPENSEARCH_MAIN_CLASS=""org.opensearch.performanceanalyzer.PerformanceAnalyzerApp"" \ +OPENSEARCH_ADDITIONAL_CLASSPATH_DIRECTORIES=plugins/opensearch-performance-analyzer \ +OPENSEARCH_JAVA_OPTS=$PA_AGENT_JAVA_OPTS + +if ! grep -q '## OpenSearch Performance Analyzer' $OPENSEARCH_PATH_CONF/jvm.options; then + CLK_TCK=`/usr/bin/getconf CLK_TCK` + echo >> $OPENSEARCH_PATH_CONF/jvm.options + echo '## OpenSearch Performance Analyzer' >> $OPENSEARCH_PATH_CONF/jvm.options + echo ""-Dclk.tck=$CLK_TCK"" >> $OPENSEARCH_PATH_CONF/jvm.options + echo ""-Djdk.attach.allowAttachSelf=true"" >> $OPENSEARCH_PATH_CONF/jvm.options + echo ""-Djava.security.policy=$OPENSEARCH_PATH_CONF/opensearch-performance-analyzer/opensearch_security.policy"" >> $OPENSEARCH_PATH_CONF/jvm.options + echo ""--add-opens=jdk.attach/sun.tools.attach=ALL-UNNAMED"" >> $OPENSEARCH_PATH_CONF/jvm.options +fi +echo ""done plugins"" + +##Set KNN Dylib Path for macOS and *nix systems +if echo ""$OSTYPE"" | grep -qi ""darwin""; then + if echo ""$JAVA_LIBRARY_PATH"" | grep -q ""$KNN_LIB_DIR""; then + echo ""k-NN libraries found in JAVA_LIBRARY_PATH"" + else + export JAVA_LIBRARY_PATH=$JAVA_LIBRARY_PATH:$KNN_LIB_DIR + echo ""k-NN libraries not found in JAVA_LIBRARY_PATH. Updating path to: $JAVA_LIBRARY_PATH."" + fi +else + if echo ""$LD_LIBRARY_PATH"" | grep -q ""$KNN_LIB_DIR""; then + echo ""k-NN libraries found in LD_LIBRARY_PATH"" + else + export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$KNN_LIB_DIR + echo ""k-NN libraries not found in LD_LIBRARY_PATH. Updating path to: $LD_LIBRARY_PATH."" + fi +fi +"; + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/InstallationTasks/InstallPlugins.cs b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/InstallationTasks/InstallPlugins.cs new file mode 100644 index 0000000000..bb8e06049e --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/InstallationTasks/InstallPlugins.cs @@ -0,0 +1,136 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.IO; +using System.Linq; +using OpenSearch.OpenSearch.Managed; +using OpenSearch.OpenSearch.Managed.ConsoleWriters; +using OpenSearch.OpenSearch.Managed.FileSystem; +using OpenSearch.Stack.ArtifactsApi; +using OpenSearch.Stack.ArtifactsApi.Products; +using ProcNet.Std; + +namespace OpenSearch.OpenSearch.Ephemeral.Tasks.InstallationTasks +{ + public class InstallPlugins : ClusterComposeTask + { + public override void Run(IEphemeralCluster cluster) + { + if (cluster.CachingAndCachedHomeExists()) return; + + var v = cluster.ClusterConfiguration.Version; + + var fs = cluster.FileSystem; + var requiredPlugins = cluster.ClusterConfiguration.Plugins; + + if (cluster.ClusterConfiguration.ValidatePluginsToInstall) + { + var invalidPlugins = requiredPlugins + .Where(p => !p.IsValid(v)) + .Select(p => p.SubProductName).ToList(); + if (invalidPlugins.Any()) + throw new OpenSearchCleanExitException( + $"Can not install the following plugins for version {v}: {string.Join(", ", invalidPlugins)} "); + } + + foreach (var plugin in requiredPlugins) + { + var includedByDefault = plugin.IsIncludedOutOfTheBox(v); + if (includedByDefault) + { + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(Run)}}} SKIP plugin [{plugin.SubProductName}] shipped OOTB as of: {{{plugin.ShippedByDefaultAsOf}}}"); + continue; + } + + var validForCurrentVersion = plugin.IsValid(v); + if (!validForCurrentVersion) + { + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(Run)}}} SKIP plugin [{plugin.SubProductName}] not valid for version: {{{v}}}"); + continue; + } + + var alreadyInstalled = AlreadyInstalled(fs, plugin.SubProductName); + if (alreadyInstalled) + { + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(Run)}}} SKIP plugin [{plugin.SubProductName}] already installed"); + continue; + } + + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(Run)}}} attempting install [{plugin.SubProductName}] as it's not OOTB: {{{plugin.ShippedByDefaultAsOf}}} and valid for {v}: {{{plugin.IsValid(v)}}}"); + + if (!Directory.Exists(fs.ConfigPath)) Directory.CreateDirectory(fs.ConfigPath); + ExecuteBinary( + cluster.ClusterConfiguration, + cluster.Writer, + fs.PluginBinary, + $"install opensearch plugin: {plugin.SubProductName}", + "install --batch", GetPluginLocation(plugin, v)); + + CopyConfigDirectoryToHomeCacheConfigDirectory(cluster, plugin); + } + } + + private static string GetPluginLocation(OpenSearchPlugin plugin, OpenSearchVersion v) + { + // OpenSearch 1.0.0 artifacts were not published. The plugins are built in the workflow and used here. + if (v == "1.0.0") + // The environment variable is set in the integration workflow in + // https://github.com/opensearch-project/opensearch-net/blob/main/.github/workflows/integration.yml + return "file://" + Environment.GetEnvironmentVariable("plugins-directory") + $"/{plugin.SubProductName}-{v}.zip"; + else + return plugin.SubProductName; + } + + private static void CopyConfigDirectoryToHomeCacheConfigDirectory( + IEphemeralCluster cluster, OpenSearchPlugin plugin) + { + if (!cluster.ClusterConfiguration.CacheOpenSearchHomeInstallation) return; + var fs = cluster.FileSystem; + var cachedOpenSearchHomeFolder = Path.Combine(fs.LocalFolder, cluster.GetCacheFolderName()); + var configTarget = Path.Combine(cachedOpenSearchHomeFolder, "config"); + + var configPluginPath = Path.Combine(fs.ConfigPath, plugin.SubProductName); + var configPluginPathCached = Path.Combine(configTarget, plugin.SubProductName); + if (!Directory.Exists(configPluginPath) || Directory.Exists(configPluginPathCached)) return; + + Directory.CreateDirectory(configPluginPathCached); + CopyFolder(configPluginPath, configPluginPathCached); + } + + private static bool AlreadyInstalled(INodeFileSystem fileSystem, string folderName) + { + var pluginFolder = Path.Combine(fileSystem.OpenSearchHome, "plugins", folderName); + return Directory.Exists(pluginFolder); + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/InstallationTasks/PrintConfiguration.cs b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/InstallationTasks/PrintConfiguration.cs new file mode 100644 index 0000000000..42248300c5 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/InstallationTasks/PrintConfiguration.cs @@ -0,0 +1,76 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.Linq; +using OpenSearch.OpenSearch.Managed.ConsoleWriters; +using static OpenSearch.OpenSearch.Ephemeral.ClusterFeatures; + +namespace OpenSearch.OpenSearch.Ephemeral.Tasks.InstallationTasks +{ + public class PrintConfiguration : ClusterComposeTask + { + public override void Run(IEphemeralCluster cluster) + { + var c = cluster.ClusterConfiguration; + var version = c.Version; + + string F(ClusterFeatures feature) + { + return c.Features.HasFlag(feature) ? Enum.GetName(typeof(ClusterFeatures), feature) : string.Empty; + } + + var features = string.Join("|", + new[] { F(SSL)}.Where(v => !string.IsNullOrWhiteSpace(v))); + features = string.IsNullOrWhiteSpace(features) ? "None" : features; + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(PrintConfiguration)}}} starting {{{version}}} with features [{features}]"); + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(PrintConfiguration)}}} {{{nameof(c.NumberOfNodes)}}} [{c.NumberOfNodes}]"); + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(PrintConfiguration)}}} {{{nameof(c.ClusterName)}}} [{c.ClusterName}]"); + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(PrintConfiguration)}}} {{{nameof(c.EnableSsl)}}} [{c.EnableSsl}]"); + cluster.Writer?.WriteDiagnostic($"{{{nameof(PrintConfiguration)}}} {{{nameof(c.Plugins)}}} [{c.Plugins}]"); + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(PrintConfiguration)}}} {{{nameof(c.CacheOpenSearchHomeInstallation)}}} [{c.CacheOpenSearchHomeInstallation}]"); + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(PrintConfiguration)}}} {{{nameof(c.ShowOpenSearchOutputAfterStarted)}}} [{c.ShowOpenSearchOutputAfterStarted}]"); + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(PrintConfiguration)}}} {{{nameof(c.ValidatePluginsToInstall)}}} [{c.ValidatePluginsToInstall}]"); + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(PrintConfiguration)}}} {{{nameof(c.PrintYamlFilesInConfigFolder)}}} [{c.PrintYamlFilesInConfigFolder}]"); + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(PrintConfiguration)}}} {{{nameof(c.SkipBuiltInAfterStartTasks)}}} [{c.SkipBuiltInAfterStartTasks}]"); + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(PrintConfiguration)}}} {{{nameof(c.HttpFiddlerAware)}}} [{c.HttpFiddlerAware}]"); + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(PrintConfiguration)}}} {{{nameof(c.NoCleanupAfterNodeStopped)}}} [{c.NoCleanupAfterNodeStopped}]"); + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/InstallationTasks/SetOpenSearchBundledJdkJavaHome.cs b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/InstallationTasks/SetOpenSearchBundledJdkJavaHome.cs new file mode 100644 index 0000000000..82a28dac64 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/InstallationTasks/SetOpenSearchBundledJdkJavaHome.cs @@ -0,0 +1,53 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.IO; +using OpenSearch.OpenSearch.Managed.ConsoleWriters; + +namespace OpenSearch.OpenSearch.Ephemeral.Tasks.InstallationTasks +{ + public class SetOpenSearchBundledJdkJavaHome : ClusterComposeTask + { + public override void Run(IEphemeralCluster cluster) + { + var fs = cluster.FileSystem; + var jdkFolder = Path.Combine(fs.OpenSearchHome, "jdk"); + if (Directory.Exists(jdkFolder)) + { + var envVarName = cluster.ClusterConfiguration.JavaHomeEnvironmentVariable; + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(SetOpenSearchBundledJdkJavaHome)}}} [{envVarName}] is set to bundled jdk: {{{jdkFolder}}} "); + Environment.SetEnvironmentVariable(envVarName, jdkFolder); + } + else + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(SetOpenSearchBundledJdkJavaHome)}}} [No bundled jdk found] looked in: {{{jdkFolder}}} "); + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/InstallationTasks/UnzipOpenSearch.cs b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/InstallationTasks/UnzipOpenSearch.cs new file mode 100644 index 0000000000..81a80693f4 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/InstallationTasks/UnzipOpenSearch.cs @@ -0,0 +1,68 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System.IO; +using OpenSearch.OpenSearch.Managed.ConsoleWriters; + +namespace OpenSearch.OpenSearch.Ephemeral.Tasks.InstallationTasks +{ + public class UnzipOpenSearch : ClusterComposeTask + { + public override void Run(IEphemeralCluster cluster) + { + if (cluster.CachingAndCachedHomeExists()) return; + + var fs = cluster.FileSystem; + var v = cluster.ClusterConfiguration.Version; + var a = cluster.ClusterConfiguration.Artifact; + if (Directory.Exists(fs.OpenSearchHome)) + { + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(UnzipOpenSearch)}}} skipping [{fs.OpenSearchHome}] already exists"); + return; + } + + var from = Path.Combine(fs.LocalFolder, a.Archive); + var extractedFolder = Path.Combine(fs.LocalFolder, a.FolderInZip); + if (!Directory.Exists(extractedFolder)) + { + cluster.Writer?.WriteDiagnostic($"{{{nameof(UnzipOpenSearch)}}} unzipping version [{v}] {{{from}}}"); + Extract(from, fs.LocalFolder); + + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(UnzipOpenSearch)}}} extracted version [{v}] to {{{fs.LocalFolder}}}"); + } + + if (extractedFolder == fs.OpenSearchHome) return; + + cluster.Writer?.WriteDiagnostic( + $"{{{nameof(UnzipOpenSearch)}}} Copying extracted folder {{{extractedFolder}}} => {fs.OpenSearchHome}"); + CopyFolder(extractedFolder, fs.OpenSearchHome); + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/ValidationTasks/ValidateClusterStateTask.cs b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/ValidationTasks/ValidateClusterStateTask.cs new file mode 100644 index 0000000000..1778867b89 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/ValidationTasks/ValidateClusterStateTask.cs @@ -0,0 +1,47 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.Net; +using OpenSearch.OpenSearch.Managed.ConsoleWriters; + +namespace OpenSearch.OpenSearch.Ephemeral.Tasks.ValidationTasks +{ + public class ValidateClusterStateTask : ClusterComposeTask + { + public override void Run(IEphemeralCluster cluster) + { + cluster.Writer.WriteDiagnostic( + $"{{{nameof(ValidateClusterStateTask)}}} waiting cluster to go into yellow health state"); + var healthyResponse = Get(cluster, "_cluster/health", "wait_for_status=yellow&timeout=20s"); + if (healthyResponse == null || healthyResponse.StatusCode != HttpStatusCode.OK) + throw new Exception( + $"Cluster health waiting for status yellow failed after 20s {GetResponseException(healthyResponse)}"); + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/ValidationTasks/ValidatePluginsTask.cs b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/ValidationTasks/ValidatePluginsTask.cs new file mode 100644 index 0000000000..045a53b263 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/ValidationTasks/ValidatePluginsTask.cs @@ -0,0 +1,68 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.Linq; +using OpenSearch.OpenSearch.Ephemeral.Tasks.InstallationTasks; +using OpenSearch.OpenSearch.Managed.ConsoleWriters; +using OpenSearch.Stack.ArtifactsApi; + +namespace OpenSearch.OpenSearch.Ephemeral.Tasks.ValidationTasks +{ + public class ValidatePluginsTask : ClusterComposeTask + { + public override void Run(IEphemeralCluster cluster) + { + var v = cluster.ClusterConfiguration.Version; + var requestPlugins = cluster.ClusterConfiguration.Plugins + .Where(p => p.IsValid(v)) + .Where(p => !p.IsIncludedOutOfTheBox(v)) + .Select(p => p.GetExistsMoniker(v)) + .ToList(); + if (!requestPlugins.Any()) return; + + cluster.Writer.WriteDiagnostic( + $"{{{nameof(ValidatePluginsTask)}}} validating the cluster is running the requested plugins"); + var catPlugins = Get(cluster, "_cat/plugins", "h=component"); + if (catPlugins == null || !catPlugins.IsSuccessStatusCode) + throw new Exception( + $"Calling _cat/plugins did not result in an OK response {GetResponseException(catPlugins)}"); + + var installedPlugins = GetResponseString(catPlugins) + .Split(new[] {'\n'}, StringSplitOptions.RemoveEmptyEntries).ToList(); + + var missingPlugins = requestPlugins.Except(installedPlugins).ToList(); + if (!missingPlugins.Any()) return; + + var missingString = string.Join(", ", missingPlugins); + var pluginsString = string.Join(", ", installedPlugins); + throw new Exception( + $"Already running opensearch missed the following plugin(s): {missingString} currently installed: {pluginsString}."); + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/ValidationTasks/ValidateRunningVersion.cs b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/ValidationTasks/ValidateRunningVersion.cs new file mode 100644 index 0000000000..286e0cb294 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/Tasks/ValidationTasks/ValidateRunningVersion.cs @@ -0,0 +1,81 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.Linq; +using System.Net.Http; +using System.Threading; +using OpenSearch.OpenSearch.Managed.ConsoleWriters; +using OpenSearch.Stack.ArtifactsApi; + +namespace OpenSearch.OpenSearch.Ephemeral.Tasks.ValidationTasks +{ + public class ValidateRunningVersion : ClusterComposeTask + { + public override void Run(IEphemeralCluster cluster) + { + void WriteDiagnostic(string message) => + cluster.Writer?.WriteDiagnostic($"{{{nameof(ValidateRunningVersion)}}} {message}"); + var requestedVersion = cluster.ClusterConfiguration.Version; + if (cluster.ClusterConfiguration.Artifact.ServerType == ServerType.OpenDistro) + //All supported version of OpenDistro are based on ElasticSearch v.7.10.2 + requestedVersion = OpenSearchVersion.From("7.10.2"); + + + WriteDiagnostic($"validating the cluster is running the requested version: {requestedVersion}"); + + HttpResponseMessage catNodes = null; + var retryCount = 4; + var initialRetryWait = 5; + foreach (var retry in Enumerable.Range(1, retryCount)) + { + catNodes = Get(cluster, "_cat/nodes", "h=version"); + if (catNodes.IsSuccessStatusCode) break; + var retryWait = TimeSpan.FromSeconds(initialRetryWait * retry); + WriteDiagnostic($"{catNodes.StatusCode} response for GET _cat/nodes. Waiting to retry #{retry}"); + Thread.Sleep(retryWait); + } + if (catNodes is not {IsSuccessStatusCode: true}) + { + throw new Exception( + $"Calling _cat/nodes for version checking did not result in an OK response {GetResponseException(catNodes)}"); + } + + var nodeVersions = GetResponseString(catNodes).Split(new[] {'\n'}, StringSplitOptions.RemoveEmptyEntries) + .ToList(); + + var anchorVersion = $"{requestedVersion.Major}.{requestedVersion.Minor}.{requestedVersion.Patch}"; + var allOnRequestedVersion = nodeVersions.All(v => v.Trim() == anchorVersion); + if (!allOnRequestedVersion) + { + throw new Exception( + $"Not all the running nodes in the cluster are on requested version: {anchorVersion} received: {string.Join(", ", nodeVersions)}"); + } + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Ephemeral/packages.lock.json b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/packages.lock.json new file mode 100644 index 0000000000..f8bdb40018 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Ephemeral/packages.lock.json @@ -0,0 +1,949 @@ +{ + "version": 1, + "dependencies": { + ".NETFramework,Version=v4.6.1": { + "Microsoft.NETFramework.ReferenceAssemblies": { + "type": "Direct", + "requested": "[1.0.0-preview.2, )", + "resolved": "1.0.0-preview.2", + "contentHash": "m+pJPEO7HyXvrOna5Sr3s77ewXonjYWJTNL6drh8xACnMNxnlqUDKx9HfGeSE9wmfY0lQwppaeZpFTPGaH7kZg==", + "dependencies": { + "Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.0-preview.2" + } + }, + "SharpZipLib.NETStandard": { + "type": "Direct", + "requested": "[1.0.7, )", + "resolved": "1.0.7", + "contentHash": "mYKPizF2CY32RQB8FITYy0e30gVgItFA63SFquruaxq+votwL1T+yOfssK10v4enBcxklr8ks48hS1emw5TTXg==" + }, + "System.Runtime.InteropServices.RuntimeInformation": { + "type": "Direct", + "requested": "[4.3.0, )", + "resolved": "4.3.0", + "contentHash": "cbz4YJMqRDR7oLeMRbdYv7mYzc++17lNhScCX0goO2XpGWdvAt60CGN+FHdePUEHCe/Jy9jUlvNAiNdM+7jsOw==" + }, + "Microsoft.Bcl.AsyncInterfaces": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "UcSjPsst+DfAdJGVDsu346FX0ci0ah+lw3WRtn18NUwEqRt70HaOQ7lI72vy3+1LxtqI3T5GWwV39rQSrCzAeg==", + "dependencies": { + "System.Threading.Tasks.Extensions": "4.5.4" + } + }, + "Microsoft.NETFramework.ReferenceAssemblies.net461": { + "type": "Transitive", + "resolved": "1.0.0-preview.2", + "contentHash": "59D9ISjzCpfHG41r5x4BNZNNOCmE2o5YX8vcdOwsqfxOA0+6vQnxZrYq8KtthUU2JSvC13g941rSr5GRaNQOJg==" + }, + "Proc": { + "type": "Transitive", + "resolved": "0.6.1", + "contentHash": "xRSCfgQNoGy60MOuvD2X1euzqvWDoyfpB8NAfVs2E5K5U1I8cA9MvVY6NbUkp5ApbOmVXls2JEPrOn8rQi2Pzg==" + }, + "SemanticVersioning": { + "type": "Transitive", + "resolved": "0.8.0", + "contentHash": "hUCnQL79hU0W6X4jPeMAtGDwoEJeBEZfGBnkT+jPG45lD7KHn4h61HgYN8y1HAjPrXmC5oJcLx3l8ygPJOqvlA==" + }, + "System.Buffers": { + "type": "Transitive", + "resolved": "4.5.1", + "contentHash": "Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==" + }, + "System.Memory": { + "type": "Transitive", + "resolved": "4.5.4", + "contentHash": "1MbJTHS1lZ4bS4FmsJjnuGJOu88ZzTT2rLvrhW7Ygic+pC0NWA+3hgAen0HRdsocuQXCkUTdFn9yHJJhsijDXw==", + "dependencies": { + "System.Buffers": "4.5.1", + "System.Numerics.Vectors": "4.5.0", + "System.Runtime.CompilerServices.Unsafe": "4.5.3" + } + }, + "System.Net.Http": { + "type": "Transitive", + "resolved": "4.3.4", + "contentHash": "aOa2d51SEbmM+H+Csw7yJOuNZoHkrP2XnAurye5HWYgGVVU54YZDvsLUYRv6h18X3sPnjNCANmN7ZhIPiqMcjA==", + "dependencies": { + "System.Security.Cryptography.X509Certificates": "4.3.0" + } + }, + "System.Numerics.Vectors": { + "type": "Transitive", + "resolved": "4.5.0", + "contentHash": "QQTlPTl06J/iiDbJCiepZ4H//BVraReU4O4EoRw1U02H5TLUIT7xn3GnDp9AXPSlJUDyFs4uWjWafNX6WrAojQ==" + }, + "System.Runtime.CompilerServices.Unsafe": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" + }, + "System.Security.Cryptography.Algorithms": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "W1kd2Y8mYSCgc3ULTAZ0hOP2dSdG5YauTb1089T0/kRcN2MpSAW1izOFROrJgxSlMn3ArsgHXagigyi+ibhevg==", + "dependencies": { + "System.Security.Cryptography.Primitives": "4.3.0" + } + }, + "System.Security.Cryptography.Encoding": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "1DEWjZZly9ae9C79vFwqaO5kaOlI5q+3/55ohmq/7dpDyDfc8lYe7YVxJUZ5MF/NtbkRjwFRo14yM4OEo9EmDw==" + }, + "System.Security.Cryptography.Primitives": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "7bDIyVFNL/xKeFHjhobUAQqSpJq9YTOpbEs6mR233Et01STBMXNAc/V+BM6dwYGc95gVh/Zf+iVXWzj3mE8DWg==" + }, + "System.Security.Cryptography.X509Certificates": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "t2Tmu6Y2NtJ2um0RtcuhP7ZdNNxXEgUm2JeoA/0NvlMjAhKCnM1NX07TDl3244mVp3QU6LPEhT3HTtH1uF7IYw==", + "dependencies": { + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0" + } + }, + "System.Text.Encodings.Web": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "Vg8eB5Tawm1IFqj4TVK1czJX89rhFxJo9ELqc/Eiq0eXy13RK00eubyU6TJE6y+GQXjyV5gSfiewDUZjQgSE0w==", + "dependencies": { + "System.Buffers": "4.5.1", + "System.Memory": "4.5.4", + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "System.Text.Json": { + "type": "Transitive", + "resolved": "6.0.5", + "contentHash": "SSH+YYrMpvLcy7Orzb5K1tSyffnFacWahyxCCjYH1PbSHdAF4dekmIetBurFKgtTHDmwEe/J2Csi/7niRH6d/g==", + "dependencies": { + "Microsoft.Bcl.AsyncInterfaces": "6.0.0", + "System.Buffers": "4.5.1", + "System.Memory": "4.5.4", + "System.Numerics.Vectors": "4.5.0", + "System.Runtime.CompilerServices.Unsafe": "6.0.0", + "System.Text.Encodings.Web": "6.0.0", + "System.Threading.Tasks.Extensions": "4.5.4", + "System.ValueTuple": "4.5.0" + } + }, + "System.Threading.Tasks.Extensions": { + "type": "Transitive", + "resolved": "4.5.4", + "contentHash": "zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==", + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "4.5.3" + } + }, + "System.ValueTuple": { + "type": "Transitive", + "resolved": "4.5.0", + "contentHash": "okurQJO6NRE/apDIP23ajJ0hpiNmJ+f0BwOlB/cSqTLQlw5upkf+5+96+iG2Jw40G1fCVCyPz/FhIABUjMR+RQ==" + }, + "opensearch.opensearch.managed": { + "type": "Project", + "dependencies": { + "OpenSearch.Stack.ArtifactsApi": "1.0.0", + "Proc": "0.6.1", + "System.Net.Http": "4.3.4" + } + }, + "opensearch.stack.artifactsapi": { + "type": "Project", + "dependencies": { + "SemanticVersioning": "0.8.0", + "System.Net.Http": "4.3.4", + "System.Runtime.InteropServices.RuntimeInformation": "4.3.0", + "System.Text.Json": "6.0.5" + } + } + }, + ".NETStandard,Version=v2.0": { + "Microsoft.NETFramework.ReferenceAssemblies": { + "type": "Direct", + "requested": "[1.0.0-preview.2, )", + "resolved": "1.0.0-preview.2", + "contentHash": "m+pJPEO7HyXvrOna5Sr3s77ewXonjYWJTNL6drh8xACnMNxnlqUDKx9HfGeSE9wmfY0lQwppaeZpFTPGaH7kZg==" + }, + "NETStandard.Library": { + "type": "Direct", + "requested": "[2.0.3, )", + "resolved": "2.0.3", + "contentHash": "st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0" + } + }, + "SharpZipLib.NETStandard": { + "type": "Direct", + "requested": "[1.0.7, )", + "resolved": "1.0.7", + "contentHash": "mYKPizF2CY32RQB8FITYy0e30gVgItFA63SFquruaxq+votwL1T+yOfssK10v4enBcxklr8ks48hS1emw5TTXg==", + "dependencies": { + "NETStandard.Library": "1.6.1" + } + }, + "Microsoft.Bcl.AsyncInterfaces": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "UcSjPsst+DfAdJGVDsu346FX0ci0ah+lw3WRtn18NUwEqRt70HaOQ7lI72vy3+1LxtqI3T5GWwV39rQSrCzAeg==", + "dependencies": { + "System.Threading.Tasks.Extensions": "4.5.4" + } + }, + "Microsoft.NETCore.Platforms": { + "type": "Transitive", + "resolved": "1.1.1", + "contentHash": "TMBuzAHpTenGbGgk0SMTwyEkyijY/Eae4ZGsFNYJvAr/LDn1ku3Etp3FPxChmDp5HHF3kzJuoaa08N0xjqAJfQ==" + }, + "Microsoft.NETCore.Targets": { + "type": "Transitive", + "resolved": "1.1.0", + "contentHash": "aOZA3BWfz9RXjpzt0sRJJMjAscAUm3Hoa4UWAfceV9UTYxgwZ1lZt5nO2myFf+/jetYQo4uTP7zS8sJY67BBxg==" + }, + "Microsoft.Win32.Primitives": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "9ZQKCWxH7Ijp9BfahvL2Zyf1cJIk8XYLF6Yjzr2yi0b2cOut/HQ31qf1ThHAgCc3WiZMdnWcfJCgN82/0UunxA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "Microsoft.Win32.Registry": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "Lw1/VwLH1yxz6SfFEjVRCN0pnflLEsWgnV4qsdJ512/HhTwnKXUG+zDQ4yTO3K/EJQemGoNaBHX5InISNKTzUQ==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.Collections": "4.3.0", + "System.Globalization": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0" + } + }, + "Proc": { + "type": "Transitive", + "resolved": "0.6.1", + "contentHash": "xRSCfgQNoGy60MOuvD2X1euzqvWDoyfpB8NAfVs2E5K5U1I8cA9MvVY6NbUkp5ApbOmVXls2JEPrOn8rQi2Pzg==", + "dependencies": { + "System.Diagnostics.Process": "[4.3.0]", + "System.Threading.Thread": "[4.3.0]" + } + }, + "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "7VSGO0URRKoMEAq0Sc9cRz8mb6zbyx/BZDEWhgPdzzpmFhkam3fJ1DAGWFXBI4nGlma+uPKpfuMQP5LXRnOH5g==" + }, + "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "0oAaTAm6e2oVH+/Zttt0cuhGaePQYKII1dY8iaqP7CvOpVKgLybKRFvQjXR2LtxXOXTVPNv14j0ot8uV+HrUmw==" + }, + "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "G24ibsCNi5Kbz0oXWynBoRgtGvsw5ZSVEWjv13/KiCAM8C6wz9zzcCniMeQFIkJ2tasjo2kXlvlBZhplL51kGg==" + }, + "runtime.native.System": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "c/qWt2LieNZIj1jGnVNsE2Kl23Ya2aSTBuXMD6V7k9KWr6l16Tqdwq+hJScEpWER9753NWC8h96PaVNY5Ld7Jw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0" + } + }, + "runtime.native.System.Net.Http": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "ZVuZJqnnegJhd2k/PtAbbIcZ3aZeITq3sj06oKfMBSfphW3HDmk/t4ObvbOk/JA/swGR0LNqMksAh/f7gpTROg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0" + } + }, + "runtime.native.System.Security.Cryptography.Apple": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "DloMk88juo0OuOWr56QG7MNchmafTLYWvABy36izkrLI5VledI0rq28KGs1i9wbpeT9NPQrx/wTf8U2vazqQ3Q==", + "dependencies": { + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "4.3.0" + } + }, + "runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "QR1OwtwehHxSeQvZKXe+iSd+d3XZNkEcuWMFYa2i0aG1l+lR739HPicKMlTbJst3spmeekDVBUS7SeS26s4U/g==", + "dependencies": { + "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2" + } + }, + "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "I+GNKGg2xCHueRd1m9PzeEW7WLbNNLznmTuEi8/vZX71HudUbx1UTwlGkiwMri7JLl8hGaIAWnA/GONhu+LOyQ==" + }, + "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "1Z3TAq1ytS1IBRtPXJvEUZdVsfWfeNEhBkbiOCGEl9wwAfsjP2lz3ZFDx5tq8p60/EqbS0HItG5piHuB71RjoA==" + }, + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "kVXCuMTrTlxq4XOOMAysuNwsXWpYeboGddNGpIgNSZmv1b6r/s/DPk0fYMB7Q5Qo4bY68o48jt4T4y5BVecbCQ==" + }, + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "6mU/cVmmHtQiDXhnzUImxIcDL48GbTk+TsptXyJA+MIOG9LRjPoAQC/qBFB7X+UNyK86bmvGwC8t+M66wsYC8w==" + }, + "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "vjwG0GGcTW/PPg6KVud8F9GLWYuAV1rrw1BKAqY0oh4jcUqg15oYF1+qkGR2x2ZHM4DQnWKQ7cJgYbfncz/lYg==" + }, + "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "7KMFpTkHC/zoExs+PwP8jDCWcrK9H6L7soowT80CUx3e+nxP/AFnq0AQAW5W76z2WYbLAYCRyPfwYFG6zkvQRw==" + }, + "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "xrlmRCnKZJLHxyyLIqkZjNXqgxnKdZxfItrPkjI+6pkRo5lHX8YvSZlWrSI5AVwLMi4HbNWP7064hcAWeZKp5w==" + }, + "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "leXiwfiIkW7Gmn7cgnNcdtNAU70SjmKW3jxGj1iKHOvdn0zRWsgv/l2OJUO5zdGdiv2VRFnAsxxhDgMzofPdWg==" + }, + "SemanticVersioning": { + "type": "Transitive", + "resolved": "0.8.0", + "contentHash": "hUCnQL79hU0W6X4jPeMAtGDwoEJeBEZfGBnkT+jPG45lD7KHn4h61HgYN8y1HAjPrXmC5oJcLx3l8ygPJOqvlA==", + "dependencies": { + "NETStandard.Library": "1.6.0" + } + }, + "System.Buffers": { + "type": "Transitive", + "resolved": "4.5.1", + "contentHash": "Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==" + }, + "System.Collections": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "3Dcj85/TBdVpL5Zr+gEEBUuFe2icOnLalmEh9hfck1PTYbbyWuZgh4fmm2ysCLTrqLQw6t3TgTyJ+VLp+Qb+Lw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Collections.Concurrent": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "ztl69Xp0Y/UXCL+3v3tEU+lIy+bvjKNUmopn1wep/a291pVPK7dxBd6T7WnlQqRog+d1a/hSsgRsmFnIBKTPLQ==", + "dependencies": { + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Diagnostics.Tracing": "4.3.0", + "System.Globalization": "4.3.0", + "System.Reflection": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Threading": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.Diagnostics.Debug": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "ZUhUOdqmaG5Jk3Xdb8xi5kIyQYAA4PnTNlHx1mu9ZY3qv4ELIdKbnL/akbGaKi2RnNUWaZsAs31rvzFdewTj2g==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Diagnostics.DiagnosticSource": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "tD6kosZnTAGdrEa0tZSuFyunMbt/5KYDnHdndJYGqZoNy00XVXyACd5d6KnE1YgYv3ne2CjtAfNXo/fwEhnKUA==", + "dependencies": { + "System.Collections": "4.3.0", + "System.Diagnostics.Tracing": "4.3.0", + "System.Reflection": "4.3.0", + "System.Runtime": "4.3.0", + "System.Threading": "4.3.0" + } + }, + "System.Diagnostics.Process": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "J0wOX07+QASQblsfxmIMFc9Iq7KTXYL3zs2G/Xc704Ylv3NpuVdo6gij6V3PGiptTxqsK0K7CdXenRvKUnkA2g==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.Win32.Primitives": "4.3.0", + "Microsoft.Win32.Registry": "4.3.0", + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Globalization": "4.3.0", + "System.IO": "4.3.0", + "System.IO.FileSystem": "4.3.0", + "System.IO.FileSystem.Primitives": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Text.Encoding.Extensions": "4.3.0", + "System.Threading": "4.3.0", + "System.Threading.Tasks": "4.3.0", + "System.Threading.Thread": "4.3.0", + "System.Threading.ThreadPool": "4.3.0", + "runtime.native.System": "4.3.0" + } + }, + "System.Diagnostics.Tracing": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "rswfv0f/Cqkh78rA5S8eN8Neocz234+emGCtTF3lxPY96F+mmmUen6tbn0glN6PMvlKQb9bPAY5e9u7fgPTkKw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Globalization": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "kYdVd2f2PAdFGblzFswE4hkNANJBKRmsfa2X5LG2AcWE1c7/4t0pYae1L8vfZ5xvE2nK/R9JprtToA61OSHWIg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Globalization.Calendars": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "GUlBtdOWT4LTV3I+9/PJW+56AnnChTaOqqTLFtdmype/L500M2LIyXgmtd9X2P2VOkmJd5c67H5SaC2QcL1bFA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Globalization": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Globalization.Extensions": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "FhKmdR6MPG+pxow6wGtNAWdZh7noIOpdD5TwQ3CprzgIE1bBBoim0vbR1+AWsWjQmU7zXHgQo4TWSP6lCeiWcQ==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.Globalization": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.InteropServices": "4.3.0" + } + }, + "System.IO": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "3qjaHvxQPDpSOYICjUoTsmoq5u6QJAFRUITgeT/4gqkF1bajbSmb1kwSxEA8AHlofqgcKJcM8udgieRNhaJ5Cg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.IO.FileSystem": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "3wEMARTnuio+ulnvi+hkRNROYwa1kylvYahhcLk4HSoVdl+xxTFVeVlYOfLwrDPImGls0mDqbMhrza8qnWPTdA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.IO": "4.3.0", + "System.IO.FileSystem.Primitives": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.IO.FileSystem.Primitives": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "6QOb2XFLch7bEc4lIcJH49nJN2HV+OC3fHDgsLVsBVBk3Y4hFAnOBGzJ2lUu7CyDDFo9IBWkSsnbkT6IBwwiMw==", + "dependencies": { + "System.Runtime": "4.3.0" + } + }, + "System.Linq": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "5DbqIUpsDp0dFftytzuMmc0oeMdQwjcP/EWxsksIz/w1TcFRkZ3yKKz0PqiYFMmEwPSWw+qNVqD7PJ889JzHbw==", + "dependencies": { + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0" + } + }, + "System.Memory": { + "type": "Transitive", + "resolved": "4.5.4", + "contentHash": "1MbJTHS1lZ4bS4FmsJjnuGJOu88ZzTT2rLvrhW7Ygic+pC0NWA+3hgAen0HRdsocuQXCkUTdFn9yHJJhsijDXw==", + "dependencies": { + "System.Buffers": "4.5.1", + "System.Numerics.Vectors": "4.4.0", + "System.Runtime.CompilerServices.Unsafe": "4.5.3" + } + }, + "System.Net.Http": { + "type": "Transitive", + "resolved": "4.3.4", + "contentHash": "aOa2d51SEbmM+H+Csw7yJOuNZoHkrP2XnAurye5HWYgGVVU54YZDvsLUYRv6h18X3sPnjNCANmN7ZhIPiqMcjA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.1", + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Diagnostics.DiagnosticSource": "4.3.0", + "System.Diagnostics.Tracing": "4.3.0", + "System.Globalization": "4.3.0", + "System.Globalization.Extensions": "4.3.0", + "System.IO": "4.3.0", + "System.IO.FileSystem": "4.3.0", + "System.Net.Primitives": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.OpenSsl": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Security.Cryptography.X509Certificates": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading": "4.3.0", + "System.Threading.Tasks": "4.3.0", + "runtime.native.System": "4.3.0", + "runtime.native.System.Net.Http": "4.3.0", + "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2" + } + }, + "System.Net.Primitives": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "qOu+hDwFwoZPbzPvwut2qATe3ygjeQBDQj91xlsaqGFQUI5i4ZnZb8yyQuLGpDGivEPIt8EJkd1BVzVoP31FXA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0", + "System.Runtime.Handles": "4.3.0" + } + }, + "System.Numerics.Vectors": { + "type": "Transitive", + "resolved": "4.5.0", + "contentHash": "QQTlPTl06J/iiDbJCiepZ4H//BVraReU4O4EoRw1U02H5TLUIT7xn3GnDp9AXPSlJUDyFs4uWjWafNX6WrAojQ==" + }, + "System.Reflection": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "KMiAFoW7MfJGa9nDFNcfu+FpEdiHpWgTcS2HdMpDvt9saK3y/G4GwprPyzqjFH9NTaGPQeWNHU+iDlDILj96aQ==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.IO": "4.3.0", + "System.Reflection.Primitives": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Reflection.Extensions": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "rJkrJD3kBI5B712aRu4DpSIiHRtr6QlfZSQsb0hYHrDCZORXCFjQfoipo2LaMUHoT9i1B7j7MnfaEKWDFmFQNQ==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Reflection": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Reflection.Primitives": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "5RXItQz5As4xN2/YUDxdpsEkMhvw3e6aNveFXUn4Hl/udNTCNhnKp8lT9fnc3MhvGKh1baak5CovpuQUXHAlIA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Resources.ResourceManager": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "/zrcPkkWdZmI4F92gL/TPumP98AVDu/Wxr3CSJGQQ+XN6wbRZcyfSKVoPo17ilb3iOr0cCRqJInGwNMolqhS8A==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Globalization": "4.3.0", + "System.Reflection": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Runtime": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "JufQi0vPQ0xGnAczR13AUFglDyVYt4Kqnz1AZaiKZ5+GICq0/1MH/mO/eAJHt/mHW1zjKBJd7kV26SrxddAhiw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0" + } + }, + "System.Runtime.CompilerServices.Unsafe": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" + }, + "System.Runtime.Extensions": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "guW0uK0fn5fcJJ1tJVXYd7/1h5F+pea1r7FLSOz/f8vPEqbR2ZAknuRDvTQ8PzAilDveOxNjSfr0CHfIQfFk8g==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Runtime.Handles": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "OKiSUN7DmTWeYb3l51A7EYaeNMnvxwE249YtZz7yooT4gOZhmTjIn48KgSsw2k2lYdLgTKNJw/ZIfSElwDRVgg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Runtime.InteropServices": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "uv1ynXqiMK8mp1GM3jDqPCFN66eJ5w5XNomaK2XD+TuCroNTLFGeZ+WCmBMcBDyTFKou3P6cR6J/QsaqDp7fGQ==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Reflection": "4.3.0", + "System.Reflection.Primitives": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Handles": "4.3.0" + } + }, + "System.Runtime.InteropServices.RuntimeInformation": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "cbz4YJMqRDR7oLeMRbdYv7mYzc++17lNhScCX0goO2XpGWdvAt60CGN+FHdePUEHCe/Jy9jUlvNAiNdM+7jsOw==", + "dependencies": { + "System.Reflection": "4.3.0", + "System.Reflection.Extensions": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Threading": "4.3.0", + "runtime.native.System": "4.3.0" + } + }, + "System.Runtime.Numerics": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "yMH+MfdzHjy17l2KESnPiF2dwq7T+xLnSJar7slyimAkUh/gTrS9/UQOtv7xarskJ2/XDSNvfLGOBQPjL7PaHQ==", + "dependencies": { + "System.Globalization": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0" + } + }, + "System.Security.Cryptography.Algorithms": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "W1kd2Y8mYSCgc3ULTAZ0hOP2dSdG5YauTb1089T0/kRcN2MpSAW1izOFROrJgxSlMn3ArsgHXagigyi+ibhevg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.Collections": "4.3.0", + "System.IO": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Runtime.Numerics": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0", + "runtime.native.System.Security.Cryptography.Apple": "4.3.0", + "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" + } + }, + "System.Security.Cryptography.Cng": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "03idZOqFlsKRL4W+LuCpJ6dBYDUWReug6lZjBa3uJWnk5sPCUXckocevTaUA8iT/MFSrY/2HXkOt753xQ/cf8g==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.IO": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0" + } + }, + "System.Security.Cryptography.Csp": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "X4s/FCkEUnRGnwR3aSfVIkldBmtURMhmexALNTwpjklzxWU7yjMk7GHLKOZTNkgnWnE0q7+BCf9N2LVRWxewaA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.IO": "4.3.0", + "System.Reflection": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading": "4.3.0" + } + }, + "System.Security.Cryptography.Encoding": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "1DEWjZZly9ae9C79vFwqaO5kaOlI5q+3/55ohmq/7dpDyDfc8lYe7YVxJUZ5MF/NtbkRjwFRo14yM4OEo9EmDw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.Collections": "4.3.0", + "System.Collections.Concurrent": "4.3.0", + "System.Linq": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0", + "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" + } + }, + "System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "h4CEgOgv5PKVF/HwaHzJRiVboL2THYCou97zpmhjghx5frc7fIvlkY1jL+lnIQyChrJDMNEXS6r7byGif8Cy4w==", + "dependencies": { + "System.Collections": "4.3.0", + "System.IO": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Runtime.Numerics": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0", + "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" + } + }, + "System.Security.Cryptography.Primitives": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "7bDIyVFNL/xKeFHjhobUAQqSpJq9YTOpbEs6mR233Et01STBMXNAc/V+BM6dwYGc95gVh/Zf+iVXWzj3mE8DWg==", + "dependencies": { + "System.Diagnostics.Debug": "4.3.0", + "System.Globalization": "4.3.0", + "System.IO": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Threading": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.Security.Cryptography.X509Certificates": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "t2Tmu6Y2NtJ2um0RtcuhP7ZdNNxXEgUm2JeoA/0NvlMjAhKCnM1NX07TDl3244mVp3QU6LPEhT3HTtH1uF7IYw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Globalization": "4.3.0", + "System.Globalization.Calendars": "4.3.0", + "System.IO": "4.3.0", + "System.IO.FileSystem": "4.3.0", + "System.IO.FileSystem.Primitives": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Runtime.Numerics": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Cng": "4.3.0", + "System.Security.Cryptography.Csp": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.OpenSsl": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading": "4.3.0", + "runtime.native.System": "4.3.0", + "runtime.native.System.Net.Http": "4.3.0", + "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" + } + }, + "System.Text.Encoding": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "BiIg+KWaSDOITze6jGQynxg64naAPtqGHBwDrLaCtixsa5bKiR8dpPOHA7ge3C0JJQizJE+sfkz1wV+BAKAYZw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Text.Encoding.Extensions": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "YVMK0Bt/A43RmwizJoZ22ei2nmrhobgeiYwFzC4YAN+nue8RF6djXDMog0UCn+brerQoYVyaS+ghy9P/MUVcmw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0", + "System.Text.Encoding": "4.3.0" + } + }, + "System.Text.Encodings.Web": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "Vg8eB5Tawm1IFqj4TVK1czJX89rhFxJo9ELqc/Eiq0eXy13RK00eubyU6TJE6y+GQXjyV5gSfiewDUZjQgSE0w==", + "dependencies": { + "System.Buffers": "4.5.1", + "System.Memory": "4.5.4", + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "System.Text.Json": { + "type": "Transitive", + "resolved": "6.0.5", + "contentHash": "SSH+YYrMpvLcy7Orzb5K1tSyffnFacWahyxCCjYH1PbSHdAF4dekmIetBurFKgtTHDmwEe/J2Csi/7niRH6d/g==", + "dependencies": { + "Microsoft.Bcl.AsyncInterfaces": "6.0.0", + "System.Buffers": "4.5.1", + "System.Memory": "4.5.4", + "System.Numerics.Vectors": "4.5.0", + "System.Runtime.CompilerServices.Unsafe": "6.0.0", + "System.Text.Encodings.Web": "6.0.0", + "System.Threading.Tasks.Extensions": "4.5.4" + } + }, + "System.Threading": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "VkUS0kOBcUf3Wwm0TSbrevDDZ6BlM+b/HRiapRFWjM5O0NS0LviG0glKmFK+hhPDd1XFeSdU1GmlLhb2CoVpIw==", + "dependencies": { + "System.Runtime": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.Threading.Tasks": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "LbSxKEdOUhVe8BezB/9uOGGppt+nZf6e1VFyw6v3DN6lqitm0OSn2uXMOdtP0M3W4iMcqcivm2J6UgqiwwnXiA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Threading.Tasks.Extensions": { + "type": "Transitive", + "resolved": "4.5.4", + "contentHash": "zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==", + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "4.5.3" + } + }, + "System.Threading.Thread": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "OHmbT+Zz065NKII/ZHcH9XO1dEuLGI1L2k7uYss+9C1jLxTC9kTZZuzUOyXHayRk+dft9CiDf3I/QZ0t8JKyBQ==", + "dependencies": { + "System.Runtime": "4.3.0" + } + }, + "System.Threading.ThreadPool": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "k/+g4b7vjdd4aix83sTgC9VG6oXYKAktSfNIJUNGxPEj7ryEOfzHHhfnmsZvjxawwcD9HyWXKCXmPjX8U4zeSw==", + "dependencies": { + "System.Runtime": "4.3.0", + "System.Runtime.Handles": "4.3.0" + } + }, + "opensearch.opensearch.managed": { + "type": "Project", + "dependencies": { + "OpenSearch.Stack.ArtifactsApi": "1.0.0", + "Proc": "0.6.1", + "System.Net.Http": "4.3.4" + } + }, + "opensearch.stack.artifactsapi": { + "type": "Project", + "dependencies": { + "SemanticVersioning": "0.8.0", + "System.Net.Http": "4.3.4", + "System.Runtime.InteropServices.RuntimeInformation": "4.3.0", + "System.Text.Json": "6.0.5" + } + } + } + } +} \ No newline at end of file diff --git a/abstractions/src/OpenSearch.OpenSearch.EphemeralTests/EphemeralClusterTests.cs b/abstractions/src/OpenSearch.OpenSearch.EphemeralTests/EphemeralClusterTests.cs new file mode 100644 index 0000000000..48dc376658 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.EphemeralTests/EphemeralClusterTests.cs @@ -0,0 +1,81 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System.Collections; +using System.Collections.Generic; +using OpenSearch.OpenSearch.Ephemeral; +using OpenSearch.Stack.ArtifactsApi; +using Xunit; + +namespace OpenSearch.OpenSearch.EphemeralTests +{ + public class EphemeralClusterTests + { + [Theory] + [ClassData(typeof(SampleClusters))] + public void TestEphemeralCluster(OpenSearchVersion version, ServerType serverType, ClusterFeatures features) + { + var numberOfNodes = 1; + var clusterConfiguration = + new EphemeralClusterConfiguration(version, serverType, features, null, numberOfNodes) + { + ShowOpenSearchOutputAfterStarted = true + }; + using var cluster = new EphemeralCluster(clusterConfiguration); + var timeout = new System.TimeSpan(0, 5, 30); + using (cluster.Start(timeout)) + { + Assert.True(cluster.Started, "OpenSearch cluster started"); + foreach (var n in cluster.Nodes) + { + n.SendControlC(); + Assert.True(n.WaitForCompletion(timeout), $"Failed to stop node {n.ProcessId}"); + } + } + } + + private class SampleClusters : IEnumerable + { + public IEnumerator GetEnumerator() + { + yield return new object[] {OpenSearchVersion.From("1.2.0"), ServerType.OpenSearch, ClusterFeatures.None}; + yield return new object[] + { + OpenSearchVersion.From("opendistro-latest"), ServerType.OpenDistro, ClusterFeatures.None + }; + yield return new object[] {OpenSearchVersion.From("1.2.0"), ServerType.OpenSearch, ClusterFeatures.SSL}; + yield return new object[] + { + OpenSearchVersion.From("opendistro-latest"), ServerType.OpenDistro, ClusterFeatures.SSL + }; + } + + IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.EphemeralTests/OpenSearch.OpenSearch.EphemeralTests.csproj b/abstractions/src/OpenSearch.OpenSearch.EphemeralTests/OpenSearch.OpenSearch.EphemeralTests.csproj new file mode 100644 index 0000000000..d14069227a --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.EphemeralTests/OpenSearch.OpenSearch.EphemeralTests.csproj @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + + + false + net5.0 + false + + + diff --git a/abstractions/src/OpenSearch.OpenSearch.EphemeralTests/packages.lock.json b/abstractions/src/OpenSearch.OpenSearch.EphemeralTests/packages.lock.json new file mode 100644 index 0000000000..60ab2b8fff --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.EphemeralTests/packages.lock.json @@ -0,0 +1,1224 @@ +{ + "version": 1, + "dependencies": { + ".NETCoreApp,Version=v5.0": { + "Microsoft.NET.Test.Sdk": { + "type": "Direct", + "requested": "[16.5.0, )", + "resolved": "16.5.0", + "contentHash": "yHZOhVSPuGqgHi+KhHiAZqNY08avkQraXKvgKgDU8c/ztmGzw7gmukkv49EaTq6T3xmp4XroWk3gAlbJHMxl8w==", + "dependencies": { + "Microsoft.CodeCoverage": "16.5.0", + "Microsoft.TestPlatform.TestHost": "16.5.0" + } + }, + "Microsoft.NETFramework.ReferenceAssemblies": { + "type": "Direct", + "requested": "[1.0.0-preview.2, )", + "resolved": "1.0.0-preview.2", + "contentHash": "m+pJPEO7HyXvrOna5Sr3s77ewXonjYWJTNL6drh8xACnMNxnlqUDKx9HfGeSE9wmfY0lQwppaeZpFTPGaH7kZg==" + }, + "xunit": { + "type": "Direct", + "requested": "[2.4.1, )", + "resolved": "2.4.1", + "contentHash": "XNR3Yz9QTtec16O0aKcO6+baVNpXmOnPUxDkCY97J+8krUYxPvXT1szYYEUdKk4sB8GOI2YbAjRIOm8ZnXRfzQ==", + "dependencies": { + "xunit.analyzers": "0.10.0", + "xunit.assert": "[2.4.1]", + "xunit.core": "[2.4.1]" + } + }, + "xunit.runner.visualstudio": { + "type": "Direct", + "requested": "[2.4.3, )", + "resolved": "2.4.3", + "contentHash": "kZZSmOmKA8OBlAJaquPXnJJLM9RwQ27H7BMVqfMLUcTi9xHinWGJiWksa3D4NEtz0wZ/nxd2mogObvBgJKCRhQ==" + }, + "Microsoft.CodeCoverage": { + "type": "Transitive", + "resolved": "16.5.0", + "contentHash": "PM5YLtyN45EyUGePJpaNogndlaQPrMgQQXHKMhMESC6KfSVvt+j7+dxBi8NYC6X6dZVysf7ngwhSW3wwvPJRSQ==" + }, + "Microsoft.CSharp": { + "type": "Transitive", + "resolved": "4.0.1", + "contentHash": "17h8b5mXa87XYKrrVqdgZ38JefSUqLChUQpXgSnpzsM0nDOhE40FTeNWOJ/YmySGV6tG6T8+hjz6vxbknHJr6A==", + "dependencies": { + "System.Collections": "4.0.11", + "System.Diagnostics.Debug": "4.0.11", + "System.Dynamic.Runtime": "4.0.11", + "System.Globalization": "4.0.11", + "System.Linq": "4.1.0", + "System.Linq.Expressions": "4.1.0", + "System.ObjectModel": "4.0.12", + "System.Reflection": "4.1.0", + "System.Reflection.Extensions": "4.0.1", + "System.Reflection.Primitives": "4.0.1", + "System.Reflection.TypeExtensions": "4.1.0", + "System.Resources.ResourceManager": "4.0.1", + "System.Runtime": "4.1.0", + "System.Runtime.Extensions": "4.1.0", + "System.Runtime.InteropServices": "4.1.0", + "System.Threading": "4.0.11" + } + }, + "Microsoft.NETCore.Platforms": { + "type": "Transitive", + "resolved": "1.1.1", + "contentHash": "TMBuzAHpTenGbGgk0SMTwyEkyijY/Eae4ZGsFNYJvAr/LDn1ku3Etp3FPxChmDp5HHF3kzJuoaa08N0xjqAJfQ==" + }, + "Microsoft.NETCore.Targets": { + "type": "Transitive", + "resolved": "1.1.0", + "contentHash": "aOZA3BWfz9RXjpzt0sRJJMjAscAUm3Hoa4UWAfceV9UTYxgwZ1lZt5nO2myFf+/jetYQo4uTP7zS8sJY67BBxg==" + }, + "Microsoft.TestPlatform.ObjectModel": { + "type": "Transitive", + "resolved": "16.5.0", + "contentHash": "NnLFxmFBCAS6kye2JFszD5WKgj4Zve5KX/R0mhYwh6BVnSeybI2unRnjEPtLyY3CAVhwrY4bh/8LNFtslAcGZg==", + "dependencies": { + "NuGet.Frameworks": "5.0.0" + } + }, + "Microsoft.TestPlatform.TestHost": { + "type": "Transitive", + "resolved": "16.5.0", + "contentHash": "ytGymboQIvjNX5pLC0yp/Bz9sGDHqSnLQgBRtd4VrqOUgKmmcfxMYZ6p0TBZgAT1oijdC6xqUZ7rl8mbaaXTJw==", + "dependencies": { + "Microsoft.TestPlatform.ObjectModel": "16.5.0", + "Newtonsoft.Json": "9.0.1" + } + }, + "Microsoft.Win32.Primitives": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "9ZQKCWxH7Ijp9BfahvL2Zyf1cJIk8XYLF6Yjzr2yi0b2cOut/HQ31qf1ThHAgCc3WiZMdnWcfJCgN82/0UunxA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "Microsoft.Win32.Registry": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "Lw1/VwLH1yxz6SfFEjVRCN0pnflLEsWgnV4qsdJ512/HhTwnKXUG+zDQ4yTO3K/EJQemGoNaBHX5InISNKTzUQ==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.Collections": "4.3.0", + "System.Globalization": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0" + } + }, + "NETStandard.Library": { + "type": "Transitive", + "resolved": "1.6.1", + "contentHash": "WcSp3+vP+yHNgS8EV5J7pZ9IRpeDuARBPN28by8zqff1wJQXm26PVU8L3/fYLBJVU7BtDyqNVWq2KlCVvSSR4A==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.Win32.Primitives": "4.3.0", + "System.AppContext": "4.3.0", + "System.Collections": "4.3.0", + "System.Collections.Concurrent": "4.3.0", + "System.Console": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Diagnostics.Tools": "4.3.0", + "System.Diagnostics.Tracing": "4.3.0", + "System.Globalization": "4.3.0", + "System.Globalization.Calendars": "4.3.0", + "System.IO": "4.3.0", + "System.IO.Compression": "4.3.0", + "System.IO.Compression.ZipFile": "4.3.0", + "System.IO.FileSystem": "4.3.0", + "System.IO.FileSystem.Primitives": "4.3.0", + "System.Linq": "4.3.0", + "System.Linq.Expressions": "4.3.0", + "System.Net.Http": "4.3.0", + "System.Net.Primitives": "4.3.0", + "System.Net.Sockets": "4.3.0", + "System.ObjectModel": "4.3.0", + "System.Reflection": "4.3.0", + "System.Reflection.Extensions": "4.3.0", + "System.Reflection.Primitives": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Runtime.InteropServices.RuntimeInformation": "4.3.0", + "System.Runtime.Numerics": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Security.Cryptography.X509Certificates": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Text.Encoding.Extensions": "4.3.0", + "System.Text.RegularExpressions": "4.3.0", + "System.Threading": "4.3.0", + "System.Threading.Tasks": "4.3.0", + "System.Threading.Timer": "4.3.0", + "System.Xml.ReaderWriter": "4.3.0", + "System.Xml.XDocument": "4.3.0" + } + }, + "Newtonsoft.Json": { + "type": "Transitive", + "resolved": "9.0.1", + "contentHash": "U82mHQSKaIk+lpSVCbWYKNavmNH1i5xrExDEquU1i6I5pV6UMOqRnJRSlKO3cMPfcpp0RgDY+8jUXHdQ4IfXvw==", + "dependencies": { + "Microsoft.CSharp": "4.0.1", + "System.Collections": "4.0.11", + "System.Diagnostics.Debug": "4.0.11", + "System.Dynamic.Runtime": "4.0.11", + "System.Globalization": "4.0.11", + "System.IO": "4.1.0", + "System.Linq": "4.1.0", + "System.Linq.Expressions": "4.1.0", + "System.ObjectModel": "4.0.12", + "System.Reflection": "4.1.0", + "System.Reflection.Extensions": "4.0.1", + "System.Resources.ResourceManager": "4.0.1", + "System.Runtime": "4.1.0", + "System.Runtime.Extensions": "4.1.0", + "System.Runtime.Serialization.Primitives": "4.1.1", + "System.Text.Encoding": "4.0.11", + "System.Text.Encoding.Extensions": "4.0.11", + "System.Text.RegularExpressions": "4.1.0", + "System.Threading": "4.0.11", + "System.Threading.Tasks": "4.0.11", + "System.Xml.ReaderWriter": "4.0.11", + "System.Xml.XDocument": "4.0.11" + } + }, + "NuGet.Frameworks": { + "type": "Transitive", + "resolved": "5.0.0", + "contentHash": "c5JVjuVAm4f7E9Vj+v09Z9s2ZsqFDjBpcsyS3M9xRo0bEdm/LVZSzLxxNvfvAwRiiE8nwe1h2G4OwiwlzFKXlA==" + }, + "Proc": { + "type": "Transitive", + "resolved": "0.6.1", + "contentHash": "xRSCfgQNoGy60MOuvD2X1euzqvWDoyfpB8NAfVs2E5K5U1I8cA9MvVY6NbUkp5ApbOmVXls2JEPrOn8rQi2Pzg==", + "dependencies": { + "System.Diagnostics.Process": "[4.3.0]", + "System.Threading.Thread": "[4.3.0]" + } + }, + "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "7VSGO0URRKoMEAq0Sc9cRz8mb6zbyx/BZDEWhgPdzzpmFhkam3fJ1DAGWFXBI4nGlma+uPKpfuMQP5LXRnOH5g==" + }, + "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "0oAaTAm6e2oVH+/Zttt0cuhGaePQYKII1dY8iaqP7CvOpVKgLybKRFvQjXR2LtxXOXTVPNv14j0ot8uV+HrUmw==" + }, + "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "G24ibsCNi5Kbz0oXWynBoRgtGvsw5ZSVEWjv13/KiCAM8C6wz9zzcCniMeQFIkJ2tasjo2kXlvlBZhplL51kGg==" + }, + "runtime.native.System": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "c/qWt2LieNZIj1jGnVNsE2Kl23Ya2aSTBuXMD6V7k9KWr6l16Tqdwq+hJScEpWER9753NWC8h96PaVNY5Ld7Jw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0" + } + }, + "runtime.native.System.IO.Compression": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "INBPonS5QPEgn7naufQFXJEp3zX6L4bwHgJ/ZH78aBTpeNfQMtf7C6VrAFhlq2xxWBveIOWyFzQjJ8XzHMhdOQ==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0" + } + }, + "runtime.native.System.Net.Http": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "ZVuZJqnnegJhd2k/PtAbbIcZ3aZeITq3sj06oKfMBSfphW3HDmk/t4ObvbOk/JA/swGR0LNqMksAh/f7gpTROg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0" + } + }, + "runtime.native.System.Security.Cryptography.Apple": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "DloMk88juo0OuOWr56QG7MNchmafTLYWvABy36izkrLI5VledI0rq28KGs1i9wbpeT9NPQrx/wTf8U2vazqQ3Q==", + "dependencies": { + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "4.3.0" + } + }, + "runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "QR1OwtwehHxSeQvZKXe+iSd+d3XZNkEcuWMFYa2i0aG1l+lR739HPicKMlTbJst3spmeekDVBUS7SeS26s4U/g==", + "dependencies": { + "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2" + } + }, + "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "I+GNKGg2xCHueRd1m9PzeEW7WLbNNLznmTuEi8/vZX71HudUbx1UTwlGkiwMri7JLl8hGaIAWnA/GONhu+LOyQ==" + }, + "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "1Z3TAq1ytS1IBRtPXJvEUZdVsfWfeNEhBkbiOCGEl9wwAfsjP2lz3ZFDx5tq8p60/EqbS0HItG5piHuB71RjoA==" + }, + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "kVXCuMTrTlxq4XOOMAysuNwsXWpYeboGddNGpIgNSZmv1b6r/s/DPk0fYMB7Q5Qo4bY68o48jt4T4y5BVecbCQ==" + }, + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "6mU/cVmmHtQiDXhnzUImxIcDL48GbTk+TsptXyJA+MIOG9LRjPoAQC/qBFB7X+UNyK86bmvGwC8t+M66wsYC8w==" + }, + "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "vjwG0GGcTW/PPg6KVud8F9GLWYuAV1rrw1BKAqY0oh4jcUqg15oYF1+qkGR2x2ZHM4DQnWKQ7cJgYbfncz/lYg==" + }, + "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "7KMFpTkHC/zoExs+PwP8jDCWcrK9H6L7soowT80CUx3e+nxP/AFnq0AQAW5W76z2WYbLAYCRyPfwYFG6zkvQRw==" + }, + "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "xrlmRCnKZJLHxyyLIqkZjNXqgxnKdZxfItrPkjI+6pkRo5lHX8YvSZlWrSI5AVwLMi4HbNWP7064hcAWeZKp5w==" + }, + "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "leXiwfiIkW7Gmn7cgnNcdtNAU70SjmKW3jxGj1iKHOvdn0zRWsgv/l2OJUO5zdGdiv2VRFnAsxxhDgMzofPdWg==" + }, + "SemanticVersioning": { + "type": "Transitive", + "resolved": "0.8.0", + "contentHash": "hUCnQL79hU0W6X4jPeMAtGDwoEJeBEZfGBnkT+jPG45lD7KHn4h61HgYN8y1HAjPrXmC5oJcLx3l8ygPJOqvlA==", + "dependencies": { + "NETStandard.Library": "1.6.0" + } + }, + "SharpZipLib.NETStandard": { + "type": "Transitive", + "resolved": "1.0.7", + "contentHash": "mYKPizF2CY32RQB8FITYy0e30gVgItFA63SFquruaxq+votwL1T+yOfssK10v4enBcxklr8ks48hS1emw5TTXg==", + "dependencies": { + "NETStandard.Library": "1.6.1" + } + }, + "System.AppContext": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "fKC+rmaLfeIzUhagxY17Q9siv/sPrjjKcfNg1Ic8IlQkZLipo8ljcaZQu4VtI4Jqbzjc2VTjzGLF6WmsRXAEgA==", + "dependencies": { + "System.Runtime": "4.3.0" + } + }, + "System.Buffers": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "ratu44uTIHgeBeI0dE8DWvmXVBSo4u7ozRZZHOMmK/JPpYyo0dAfgSiHlpiObMQ5lEtEyIXA40sKRYg5J6A8uQ==", + "dependencies": { + "System.Diagnostics.Debug": "4.3.0", + "System.Diagnostics.Tracing": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Threading": "4.3.0" + } + }, + "System.Collections": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "3Dcj85/TBdVpL5Zr+gEEBUuFe2icOnLalmEh9hfck1PTYbbyWuZgh4fmm2ysCLTrqLQw6t3TgTyJ+VLp+Qb+Lw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Collections.Concurrent": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "ztl69Xp0Y/UXCL+3v3tEU+lIy+bvjKNUmopn1wep/a291pVPK7dxBd6T7WnlQqRog+d1a/hSsgRsmFnIBKTPLQ==", + "dependencies": { + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Diagnostics.Tracing": "4.3.0", + "System.Globalization": "4.3.0", + "System.Reflection": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Threading": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.Console": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "DHDrIxiqk1h03m6khKWV2X8p/uvN79rgSqpilL6uzpmSfxfU5ng8VcPtW4qsDsQDHiTv6IPV9TmD5M/vElPNLg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.IO": "4.3.0", + "System.Runtime": "4.3.0", + "System.Text.Encoding": "4.3.0" + } + }, + "System.Diagnostics.Debug": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "ZUhUOdqmaG5Jk3Xdb8xi5kIyQYAA4PnTNlHx1mu9ZY3qv4ELIdKbnL/akbGaKi2RnNUWaZsAs31rvzFdewTj2g==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Diagnostics.DiagnosticSource": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "tD6kosZnTAGdrEa0tZSuFyunMbt/5KYDnHdndJYGqZoNy00XVXyACd5d6KnE1YgYv3ne2CjtAfNXo/fwEhnKUA==", + "dependencies": { + "System.Collections": "4.3.0", + "System.Diagnostics.Tracing": "4.3.0", + "System.Reflection": "4.3.0", + "System.Runtime": "4.3.0", + "System.Threading": "4.3.0" + } + }, + "System.Diagnostics.Process": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "J0wOX07+QASQblsfxmIMFc9Iq7KTXYL3zs2G/Xc704Ylv3NpuVdo6gij6V3PGiptTxqsK0K7CdXenRvKUnkA2g==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.Win32.Primitives": "4.3.0", + "Microsoft.Win32.Registry": "4.3.0", + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Globalization": "4.3.0", + "System.IO": "4.3.0", + "System.IO.FileSystem": "4.3.0", + "System.IO.FileSystem.Primitives": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Text.Encoding.Extensions": "4.3.0", + "System.Threading": "4.3.0", + "System.Threading.Tasks": "4.3.0", + "System.Threading.Thread": "4.3.0", + "System.Threading.ThreadPool": "4.3.0", + "runtime.native.System": "4.3.0" + } + }, + "System.Diagnostics.Tools": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "UUvkJfSYJMM6x527dJg2VyWPSRqIVB0Z7dbjHst1zmwTXz5CcXSYJFWRpuigfbO1Lf7yfZiIaEUesfnl/g5EyA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Diagnostics.Tracing": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "rswfv0f/Cqkh78rA5S8eN8Neocz234+emGCtTF3lxPY96F+mmmUen6tbn0glN6PMvlKQb9bPAY5e9u7fgPTkKw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Dynamic.Runtime": { + "type": "Transitive", + "resolved": "4.0.11", + "contentHash": "db34f6LHYM0U0JpE+sOmjar27BnqTVkbLJhgfwMpTdgTigG/Hna3m2MYVwnFzGGKnEJk2UXFuoVTr8WUbU91/A==", + "dependencies": { + "System.Collections": "4.0.11", + "System.Diagnostics.Debug": "4.0.11", + "System.Globalization": "4.0.11", + "System.Linq": "4.1.0", + "System.Linq.Expressions": "4.1.0", + "System.ObjectModel": "4.0.12", + "System.Reflection": "4.1.0", + "System.Reflection.Emit": "4.0.1", + "System.Reflection.Emit.ILGeneration": "4.0.1", + "System.Reflection.Primitives": "4.0.1", + "System.Reflection.TypeExtensions": "4.1.0", + "System.Resources.ResourceManager": "4.0.1", + "System.Runtime": "4.1.0", + "System.Runtime.Extensions": "4.1.0", + "System.Threading": "4.0.11" + } + }, + "System.Globalization": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "kYdVd2f2PAdFGblzFswE4hkNANJBKRmsfa2X5LG2AcWE1c7/4t0pYae1L8vfZ5xvE2nK/R9JprtToA61OSHWIg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Globalization.Calendars": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "GUlBtdOWT4LTV3I+9/PJW+56AnnChTaOqqTLFtdmype/L500M2LIyXgmtd9X2P2VOkmJd5c67H5SaC2QcL1bFA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Globalization": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Globalization.Extensions": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "FhKmdR6MPG+pxow6wGtNAWdZh7noIOpdD5TwQ3CprzgIE1bBBoim0vbR1+AWsWjQmU7zXHgQo4TWSP6lCeiWcQ==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.Globalization": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.InteropServices": "4.3.0" + } + }, + "System.IO": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "3qjaHvxQPDpSOYICjUoTsmoq5u6QJAFRUITgeT/4gqkF1bajbSmb1kwSxEA8AHlofqgcKJcM8udgieRNhaJ5Cg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.IO.Compression": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "YHndyoiV90iu4iKG115ibkhrG+S3jBm8Ap9OwoUAzO5oPDAWcr0SFwQFm0HjM8WkEZWo0zvLTyLmbvTkW1bXgg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.Buffers": "4.3.0", + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.IO": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading": "4.3.0", + "System.Threading.Tasks": "4.3.0", + "runtime.native.System": "4.3.0", + "runtime.native.System.IO.Compression": "4.3.0" + } + }, + "System.IO.Compression.ZipFile": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "G4HwjEsgIwy3JFBduZ9quBkAu+eUwjIdJleuNSgmUojbH6O3mlvEIme+GHx/cLlTAPcrnnL7GqvB9pTlWRfhOg==", + "dependencies": { + "System.Buffers": "4.3.0", + "System.IO": "4.3.0", + "System.IO.Compression": "4.3.0", + "System.IO.FileSystem": "4.3.0", + "System.IO.FileSystem.Primitives": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Text.Encoding": "4.3.0" + } + }, + "System.IO.FileSystem": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "3wEMARTnuio+ulnvi+hkRNROYwa1kylvYahhcLk4HSoVdl+xxTFVeVlYOfLwrDPImGls0mDqbMhrza8qnWPTdA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.IO": "4.3.0", + "System.IO.FileSystem.Primitives": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.IO.FileSystem.Primitives": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "6QOb2XFLch7bEc4lIcJH49nJN2HV+OC3fHDgsLVsBVBk3Y4hFAnOBGzJ2lUu7CyDDFo9IBWkSsnbkT6IBwwiMw==", + "dependencies": { + "System.Runtime": "4.3.0" + } + }, + "System.Linq": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "5DbqIUpsDp0dFftytzuMmc0oeMdQwjcP/EWxsksIz/w1TcFRkZ3yKKz0PqiYFMmEwPSWw+qNVqD7PJ889JzHbw==", + "dependencies": { + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0" + } + }, + "System.Linq.Expressions": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "PGKkrd2khG4CnlyJwxwwaWWiSiWFNBGlgXvJpeO0xCXrZ89ODrQ6tjEWS/kOqZ8GwEOUATtKtzp1eRgmYNfclg==", + "dependencies": { + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Globalization": "4.3.0", + "System.IO": "4.3.0", + "System.Linq": "4.3.0", + "System.ObjectModel": "4.3.0", + "System.Reflection": "4.3.0", + "System.Reflection.Emit": "4.3.0", + "System.Reflection.Emit.ILGeneration": "4.3.0", + "System.Reflection.Emit.Lightweight": "4.3.0", + "System.Reflection.Extensions": "4.3.0", + "System.Reflection.Primitives": "4.3.0", + "System.Reflection.TypeExtensions": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Threading": "4.3.0" + } + }, + "System.Net.Http": { + "type": "Transitive", + "resolved": "4.3.4", + "contentHash": "aOa2d51SEbmM+H+Csw7yJOuNZoHkrP2XnAurye5HWYgGVVU54YZDvsLUYRv6h18X3sPnjNCANmN7ZhIPiqMcjA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.1", + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Diagnostics.DiagnosticSource": "4.3.0", + "System.Diagnostics.Tracing": "4.3.0", + "System.Globalization": "4.3.0", + "System.Globalization.Extensions": "4.3.0", + "System.IO": "4.3.0", + "System.IO.FileSystem": "4.3.0", + "System.Net.Primitives": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.OpenSsl": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Security.Cryptography.X509Certificates": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading": "4.3.0", + "System.Threading.Tasks": "4.3.0", + "runtime.native.System": "4.3.0", + "runtime.native.System.Net.Http": "4.3.0", + "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2" + } + }, + "System.Net.Primitives": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "qOu+hDwFwoZPbzPvwut2qATe3ygjeQBDQj91xlsaqGFQUI5i4ZnZb8yyQuLGpDGivEPIt8EJkd1BVzVoP31FXA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0", + "System.Runtime.Handles": "4.3.0" + } + }, + "System.Net.Sockets": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "m6icV6TqQOAdgt5N/9I5KNpjom/5NFtkmGseEH+AK/hny8XrytLH3+b5M8zL/Ycg3fhIocFpUMyl/wpFnVRvdw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.IO": "4.3.0", + "System.Net.Primitives": "4.3.0", + "System.Runtime": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.ObjectModel": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "bdX+80eKv9bN6K4N+d77OankKHGn6CH711a6fcOpMQu2Fckp/Ft4L/kW9WznHpyR0NRAvJutzOMHNNlBGvxQzQ==", + "dependencies": { + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Threading": "4.3.0" + } + }, + "System.Reflection": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "KMiAFoW7MfJGa9nDFNcfu+FpEdiHpWgTcS2HdMpDvt9saK3y/G4GwprPyzqjFH9NTaGPQeWNHU+iDlDILj96aQ==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.IO": "4.3.0", + "System.Reflection.Primitives": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Reflection.Emit": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "228FG0jLcIwTVJyz8CLFKueVqQK36ANazUManGaJHkO0icjiIypKW7YLWLIWahyIkdh5M7mV2dJepllLyA1SKg==", + "dependencies": { + "System.IO": "4.3.0", + "System.Reflection": "4.3.0", + "System.Reflection.Emit.ILGeneration": "4.3.0", + "System.Reflection.Primitives": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Reflection.Emit.ILGeneration": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "59tBslAk9733NXLrUJrwNZEzbMAcu8k344OYo+wfSVygcgZ9lgBdGIzH/nrg3LYhXceynyvTc8t5/GD4Ri0/ng==", + "dependencies": { + "System.Reflection": "4.3.0", + "System.Reflection.Primitives": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Reflection.Emit.Lightweight": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "oadVHGSMsTmZsAF864QYN1t1QzZjIcuKU3l2S9cZOwDdDueNTrqq1yRj7koFfIGEnKpt6NjpL3rOzRhs4ryOgA==", + "dependencies": { + "System.Reflection": "4.3.0", + "System.Reflection.Emit.ILGeneration": "4.3.0", + "System.Reflection.Primitives": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Reflection.Extensions": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "rJkrJD3kBI5B712aRu4DpSIiHRtr6QlfZSQsb0hYHrDCZORXCFjQfoipo2LaMUHoT9i1B7j7MnfaEKWDFmFQNQ==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Reflection": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Reflection.Primitives": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "5RXItQz5As4xN2/YUDxdpsEkMhvw3e6aNveFXUn4Hl/udNTCNhnKp8lT9fnc3MhvGKh1baak5CovpuQUXHAlIA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Reflection.TypeExtensions": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "7u6ulLcZbyxB5Gq0nMkQttcdBTx57ibzw+4IOXEfR+sXYQoHvjW5LTLyNr8O22UIMrqYbchJQJnos4eooYzYJA==", + "dependencies": { + "System.Reflection": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Resources.ResourceManager": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "/zrcPkkWdZmI4F92gL/TPumP98AVDu/Wxr3CSJGQQ+XN6wbRZcyfSKVoPo17ilb3iOr0cCRqJInGwNMolqhS8A==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Globalization": "4.3.0", + "System.Reflection": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Runtime": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "JufQi0vPQ0xGnAczR13AUFglDyVYt4Kqnz1AZaiKZ5+GICq0/1MH/mO/eAJHt/mHW1zjKBJd7kV26SrxddAhiw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0" + } + }, + "System.Runtime.CompilerServices.Unsafe": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" + }, + "System.Runtime.Extensions": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "guW0uK0fn5fcJJ1tJVXYd7/1h5F+pea1r7FLSOz/f8vPEqbR2ZAknuRDvTQ8PzAilDveOxNjSfr0CHfIQfFk8g==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Runtime.Handles": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "OKiSUN7DmTWeYb3l51A7EYaeNMnvxwE249YtZz7yooT4gOZhmTjIn48KgSsw2k2lYdLgTKNJw/ZIfSElwDRVgg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Runtime.InteropServices": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "uv1ynXqiMK8mp1GM3jDqPCFN66eJ5w5XNomaK2XD+TuCroNTLFGeZ+WCmBMcBDyTFKou3P6cR6J/QsaqDp7fGQ==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Reflection": "4.3.0", + "System.Reflection.Primitives": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Handles": "4.3.0" + } + }, + "System.Runtime.InteropServices.RuntimeInformation": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "cbz4YJMqRDR7oLeMRbdYv7mYzc++17lNhScCX0goO2XpGWdvAt60CGN+FHdePUEHCe/Jy9jUlvNAiNdM+7jsOw==", + "dependencies": { + "System.Reflection": "4.3.0", + "System.Reflection.Extensions": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Threading": "4.3.0", + "runtime.native.System": "4.3.0" + } + }, + "System.Runtime.Numerics": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "yMH+MfdzHjy17l2KESnPiF2dwq7T+xLnSJar7slyimAkUh/gTrS9/UQOtv7xarskJ2/XDSNvfLGOBQPjL7PaHQ==", + "dependencies": { + "System.Globalization": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0" + } + }, + "System.Runtime.Serialization.Primitives": { + "type": "Transitive", + "resolved": "4.1.1", + "contentHash": "HZ6Du5QrTG8MNJbf4e4qMO3JRAkIboGT5Fk804uZtg3Gq516S7hAqTm2UZKUHa7/6HUGdVy3AqMQKbns06G/cg==", + "dependencies": { + "System.Resources.ResourceManager": "4.0.1", + "System.Runtime": "4.1.0" + } + }, + "System.Security.Cryptography.Algorithms": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "W1kd2Y8mYSCgc3ULTAZ0hOP2dSdG5YauTb1089T0/kRcN2MpSAW1izOFROrJgxSlMn3ArsgHXagigyi+ibhevg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.Collections": "4.3.0", + "System.IO": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Runtime.Numerics": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0", + "runtime.native.System.Security.Cryptography.Apple": "4.3.0", + "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" + } + }, + "System.Security.Cryptography.Cng": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "03idZOqFlsKRL4W+LuCpJ6dBYDUWReug6lZjBa3uJWnk5sPCUXckocevTaUA8iT/MFSrY/2HXkOt753xQ/cf8g==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.IO": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0" + } + }, + "System.Security.Cryptography.Csp": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "X4s/FCkEUnRGnwR3aSfVIkldBmtURMhmexALNTwpjklzxWU7yjMk7GHLKOZTNkgnWnE0q7+BCf9N2LVRWxewaA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.IO": "4.3.0", + "System.Reflection": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading": "4.3.0" + } + }, + "System.Security.Cryptography.Encoding": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "1DEWjZZly9ae9C79vFwqaO5kaOlI5q+3/55ohmq/7dpDyDfc8lYe7YVxJUZ5MF/NtbkRjwFRo14yM4OEo9EmDw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.Collections": "4.3.0", + "System.Collections.Concurrent": "4.3.0", + "System.Linq": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0", + "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" + } + }, + "System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "h4CEgOgv5PKVF/HwaHzJRiVboL2THYCou97zpmhjghx5frc7fIvlkY1jL+lnIQyChrJDMNEXS6r7byGif8Cy4w==", + "dependencies": { + "System.Collections": "4.3.0", + "System.IO": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Runtime.Numerics": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0", + "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" + } + }, + "System.Security.Cryptography.Primitives": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "7bDIyVFNL/xKeFHjhobUAQqSpJq9YTOpbEs6mR233Et01STBMXNAc/V+BM6dwYGc95gVh/Zf+iVXWzj3mE8DWg==", + "dependencies": { + "System.Diagnostics.Debug": "4.3.0", + "System.Globalization": "4.3.0", + "System.IO": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Threading": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.Security.Cryptography.X509Certificates": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "t2Tmu6Y2NtJ2um0RtcuhP7ZdNNxXEgUm2JeoA/0NvlMjAhKCnM1NX07TDl3244mVp3QU6LPEhT3HTtH1uF7IYw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Globalization": "4.3.0", + "System.Globalization.Calendars": "4.3.0", + "System.IO": "4.3.0", + "System.IO.FileSystem": "4.3.0", + "System.IO.FileSystem.Primitives": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Runtime.Numerics": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Cng": "4.3.0", + "System.Security.Cryptography.Csp": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.OpenSsl": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading": "4.3.0", + "runtime.native.System": "4.3.0", + "runtime.native.System.Net.Http": "4.3.0", + "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" + } + }, + "System.Text.Encoding": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "BiIg+KWaSDOITze6jGQynxg64naAPtqGHBwDrLaCtixsa5bKiR8dpPOHA7ge3C0JJQizJE+sfkz1wV+BAKAYZw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Text.Encoding.Extensions": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "YVMK0Bt/A43RmwizJoZ22ei2nmrhobgeiYwFzC4YAN+nue8RF6djXDMog0UCn+brerQoYVyaS+ghy9P/MUVcmw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0", + "System.Text.Encoding": "4.3.0" + } + }, + "System.Text.Encodings.Web": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "Vg8eB5Tawm1IFqj4TVK1czJX89rhFxJo9ELqc/Eiq0eXy13RK00eubyU6TJE6y+GQXjyV5gSfiewDUZjQgSE0w==", + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "System.Text.Json": { + "type": "Transitive", + "resolved": "6.0.5", + "contentHash": "SSH+YYrMpvLcy7Orzb5K1tSyffnFacWahyxCCjYH1PbSHdAF4dekmIetBurFKgtTHDmwEe/J2Csi/7niRH6d/g==", + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0", + "System.Text.Encodings.Web": "6.0.0" + } + }, + "System.Text.RegularExpressions": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "RpT2DA+L660cBt1FssIE9CAGpLFdFPuheB7pLpKpn6ZXNby7jDERe8Ua/Ne2xGiwLVG2JOqziiaVCGDon5sKFA==", + "dependencies": { + "System.Runtime": "4.3.0" + } + }, + "System.Threading": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "VkUS0kOBcUf3Wwm0TSbrevDDZ6BlM+b/HRiapRFWjM5O0NS0LviG0glKmFK+hhPDd1XFeSdU1GmlLhb2CoVpIw==", + "dependencies": { + "System.Runtime": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.Threading.Tasks": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "LbSxKEdOUhVe8BezB/9uOGGppt+nZf6e1VFyw6v3DN6lqitm0OSn2uXMOdtP0M3W4iMcqcivm2J6UgqiwwnXiA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Threading.Tasks.Extensions": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "npvJkVKl5rKXrtl1Kkm6OhOUaYGEiF9wFbppFRWSMoApKzt2PiPHT2Bb8a5sAWxprvdOAtvaARS9QYMznEUtug==", + "dependencies": { + "System.Collections": "4.3.0", + "System.Runtime": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.Threading.Thread": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "OHmbT+Zz065NKII/ZHcH9XO1dEuLGI1L2k7uYss+9C1jLxTC9kTZZuzUOyXHayRk+dft9CiDf3I/QZ0t8JKyBQ==", + "dependencies": { + "System.Runtime": "4.3.0" + } + }, + "System.Threading.ThreadPool": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "k/+g4b7vjdd4aix83sTgC9VG6oXYKAktSfNIJUNGxPEj7ryEOfzHHhfnmsZvjxawwcD9HyWXKCXmPjX8U4zeSw==", + "dependencies": { + "System.Runtime": "4.3.0", + "System.Runtime.Handles": "4.3.0" + } + }, + "System.Threading.Timer": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "Z6YfyYTCg7lOZjJzBjONJTFKGN9/NIYKSxhU5GRd+DTwHSZyvWp1xuI5aR+dLg+ayyC5Xv57KiY4oJ0tMO89fQ==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Xml.ReaderWriter": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "GrprA+Z0RUXaR4N7/eW71j1rgMnEnEVlgii49GZyAjTH7uliMnrOU3HNFBr6fEDBCJCIdlVNq9hHbaDR621XBA==", + "dependencies": { + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Globalization": "4.3.0", + "System.IO": "4.3.0", + "System.IO.FileSystem": "4.3.0", + "System.IO.FileSystem.Primitives": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Text.Encoding.Extensions": "4.3.0", + "System.Text.RegularExpressions": "4.3.0", + "System.Threading.Tasks": "4.3.0", + "System.Threading.Tasks.Extensions": "4.3.0" + } + }, + "System.Xml.XDocument": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "5zJ0XDxAIg8iy+t4aMnQAu0MqVbqyvfoUVl1yDV61xdo3Vth45oA2FoY4pPkxYAH5f8ixpmTqXeEIya95x0aCQ==", + "dependencies": { + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Diagnostics.Tools": "4.3.0", + "System.Globalization": "4.3.0", + "System.IO": "4.3.0", + "System.Reflection": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading": "4.3.0", + "System.Xml.ReaderWriter": "4.3.0" + } + }, + "xunit.abstractions": { + "type": "Transitive", + "resolved": "2.0.3", + "contentHash": "pot1I4YOxlWjIb5jmwvvQNbTrZ3lJQ+jUGkGjWE3hEFM0l5gOnBWS+H3qsex68s5cO52g+44vpGzhAt+42vwKg==" + }, + "xunit.analyzers": { + "type": "Transitive", + "resolved": "0.10.0", + "contentHash": "4/IDFCJfIeg6bix9apmUtIMwvOsiwqdEexeO/R2D4GReIGPLIRODTpId/l4LRSrAJk9lEO3Zx1H0Zx6uohJDNg==" + }, + "xunit.assert": { + "type": "Transitive", + "resolved": "2.4.1", + "contentHash": "O/Oe0BS5RmSsM+LQOb041TzuPo5MdH2Rov+qXGS37X+KFG1Hxz7kopYklM5+1Y+tRGeXrOx5+Xne1RuqLFQoyQ==", + "dependencies": { + "NETStandard.Library": "1.6.1" + } + }, + "xunit.core": { + "type": "Transitive", + "resolved": "2.4.1", + "contentHash": "Zsj5OMU6JasNGERXZy8s72+pcheG6Q15atS5XpZXqAtULuyQiQ6XNnUsp1gyfC6WgqScqMvySiEHmHcOG6Eg0Q==", + "dependencies": { + "xunit.extensibility.core": "[2.4.1]", + "xunit.extensibility.execution": "[2.4.1]" + } + }, + "xunit.extensibility.core": { + "type": "Transitive", + "resolved": "2.4.1", + "contentHash": "yKZKm/8QNZnBnGZFD9SewkllHBiK0DThybQD/G4PiAmQjKtEZyHi6ET70QPU9KtSMJGRYS6Syk7EyR2EVDU4Kg==", + "dependencies": { + "NETStandard.Library": "1.6.1", + "xunit.abstractions": "2.0.3" + } + }, + "xunit.extensibility.execution": { + "type": "Transitive", + "resolved": "2.4.1", + "contentHash": "7e/1jqBpcb7frLkB6XDrHCGXAbKN4Rtdb88epYxCSRQuZDRW8UtTfdTEVpdTl8s4T56e07hOBVd4G0OdCxIY2A==", + "dependencies": { + "NETStandard.Library": "1.6.1", + "xunit.extensibility.core": "[2.4.1]" + } + }, + "opensearch.opensearch.ephemeral": { + "type": "Project", + "dependencies": { + "OpenSearch.OpenSearch.Managed": "1.0.0", + "SharpZipLib.NETStandard": "1.0.7" + } + }, + "opensearch.opensearch.managed": { + "type": "Project", + "dependencies": { + "OpenSearch.Stack.ArtifactsApi": "1.0.0", + "Proc": "0.6.1", + "System.Net.Http": "4.3.4" + } + }, + "opensearch.stack.artifactsapi": { + "type": "Project", + "dependencies": { + "SemanticVersioning": "0.8.0", + "System.Net.Http": "4.3.4", + "System.Runtime.InteropServices.RuntimeInformation": "4.3.0", + "System.Text.Json": "6.0.5" + } + } + } + } +} \ No newline at end of file diff --git a/abstractions/src/OpenSearch.OpenSearch.Managed/ClusterBase.cs b/abstractions/src/OpenSearch.OpenSearch.Managed/ClusterBase.cs new file mode 100644 index 0000000000..4643374b8c --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Managed/ClusterBase.cs @@ -0,0 +1,223 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.IO; +using System.Linq; +using System.Threading; +using OpenSearch.OpenSearch.Managed.Configuration; +using OpenSearch.OpenSearch.Managed.ConsoleWriters; +using OpenSearch.OpenSearch.Managed.FileSystem; +using OpenSearch.Stack.ArtifactsApi; +using ProcNet.Std; + +namespace OpenSearch.OpenSearch.Managed +{ + public interface ICluster : IDisposable + where TConfiguration : IClusterConfiguration + { + string ClusterMoniker { get; } + TConfiguration ClusterConfiguration { get; } + INodeFileSystem FileSystem { get; } + bool Started { get; } + ReadOnlyCollection Nodes { get; } + IConsoleLineHandler Writer { get; } + + IDisposable Start(); + + IDisposable Start(TimeSpan waitForStarted); + + IDisposable Start(IConsoleLineHandler writer, TimeSpan waitForStarted); + } + + + public abstract class ClusterBase : ClusterBase + { + protected ClusterBase(ClusterConfiguration clusterConfiguration) : base(clusterConfiguration) + { + } + } + + public abstract class ClusterBase : ICluster + where TConfiguration : IClusterConfiguration + { + private Action _defaultConfigSelector = (n, i) => { }; + + protected ClusterBase(TConfiguration clusterConfiguration) + { + ClusterConfiguration = clusterConfiguration; + ClusterMoniker = GetType().Name.Replace("Cluster", ""); + + NodeConfiguration Modify(NodeConfiguration n, int p) + { + ModifyNodeConfiguration(n, p); + return n; + } + + var nodes = + (from port in Enumerable.Range(ClusterConfiguration.StartingPortNumber, + ClusterConfiguration.NumberOfNodes) + let config = new NodeConfiguration(clusterConfiguration, port, ClusterMoniker) + { + ShowOpenSearchOutputAfterStarted = + clusterConfiguration.ShowOpenSearchOutputAfterStarted, + } + let node = new OpenSearchNode(Modify(config, port)) + { + AssumeStartedOnNotEnoughMasterPing = ClusterConfiguration.NumberOfNodes > 1, + } + select node).ToList(); + + var initialMasterNodes = string.Join(",", nodes.Select(n => n.NodeConfiguration.DesiredNodeName)); + foreach (var node in nodes) + node.NodeConfiguration.InitialMasterNodes(initialMasterNodes); + + Nodes = new ReadOnlyCollection(nodes); + } + + /// + /// A short name to identify the cluster defaults to the subclass name with Cluster + /// removed + /// + public virtual string ClusterMoniker { get; } + + public TConfiguration ClusterConfiguration { get; } + public INodeFileSystem FileSystem => ClusterConfiguration.FileSystem; + + public ReadOnlyCollection Nodes { get; } + public bool Started { get; private set; } + public IConsoleLineHandler Writer { get; private set; } = NoopConsoleLineWriter.Instance; + + public IDisposable Start() => Start(TimeSpan.FromMinutes(2)); + + public IDisposable Start(TimeSpan waitForStarted) + { + var nodes = Nodes.Select(n => n.NodeConfiguration.DesiredNodeName).ToArray(); + var lineHighlightWriter = new LineHighlightWriter(nodes, LineOutParser.From(ClusterConfiguration.ServerType)); + return Start(lineHighlightWriter, waitForStarted); + } + + public IDisposable Start(IConsoleLineHandler writer, TimeSpan waitForStarted) + { + Writer = writer ?? NoopConsoleLineWriter.Instance; + + OnBeforeStart(); + + var subscriptions = new Subscriptions(); + foreach (var node in Nodes) subscriptions.Add(node.SubscribeLines(writer)); + + var waitHandles = Nodes.Select(w => w.StartedHandle).ToArray(); + if (!WaitHandle.WaitAll(waitHandles, waitForStarted)) + { + var nodeExceptions = Nodes.Select(n => n.LastSeenException).Where(e => e != null).ToList(); + writer?.WriteError( + $"{{{GetType().Name}.{nameof(Start)}}} cluster did not start after {waitForStarted}"); + throw new AggregateException($"Not all nodes started after waiting {waitForStarted}", nodeExceptions); + } + + Started = Nodes.All(n => n.NodeStarted); + if (!Started) + { + var nodeExceptions = Nodes.Select(n => n.LastSeenException).Where(e => e != null).ToList(); + var message = $"{{{GetType().Name}.{nameof(Start)}}} cluster did not start successfully"; + var seeLogsMessage = SeeLogsMessage(message); + writer?.WriteError(seeLogsMessage); + throw new AggregateException(seeLogsMessage, nodeExceptions); + } + + try + { + OnAfterStarted(); + SeedCluster(); + } + catch (Exception e) + { + writer?.WriteError(e.ToString()); + throw; + } + + return subscriptions; + } + + public void Dispose() + { + Started = false; + foreach (var node in Nodes) + node?.Dispose(); + + OnDispose(); + } + + protected virtual void ModifyNodeConfiguration(NodeConfiguration nodeConfiguration, int port) + { + } + + protected virtual void SeedCluster() + { + } + + + protected virtual string SeeLogsMessage(string message) + { + var log = Path.Combine(FileSystem.LogsPath, $"{ClusterConfiguration.ClusterName}.log"); + return $"{message} see {log} to diagnose the issue"; + } + + public void WaitForExit(TimeSpan waitForCompletion) + { + foreach (var node in Nodes) + node.WaitForCompletion(waitForCompletion); + } + + protected virtual void OnAfterStarted() + { + } + + protected virtual void OnBeforeStart() + { + } + + protected virtual void OnDispose() + { + } + + private class Subscriptions : IDisposable + { + private List Disposables { get; } = new List(); + + public void Dispose() + { + foreach (var d in Disposables) d.Dispose(); + } + + internal void Add(IDisposable disposable) => Disposables.Add(disposable); + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Managed/Configuration/ClusterConfiguration.cs b/abstractions/src/OpenSearch.OpenSearch.Managed/Configuration/ClusterConfiguration.cs new file mode 100644 index 0000000000..dc301f30b5 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Managed/Configuration/ClusterConfiguration.cs @@ -0,0 +1,172 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.Globalization; +using System.IO; +using OpenSearch.OpenSearch.Managed.FileSystem; +using OpenSearch.Stack.ArtifactsApi; +using OpenSearch.Stack.ArtifactsApi.Products; + +namespace OpenSearch.OpenSearch.Managed.Configuration +{ + public interface IClusterConfiguration where TFileSystem : INodeFileSystem + { + TFileSystem FileSystem { get; } + + string ClusterName { get; } + NodeSettings DefaultNodeSettings { get; } + OpenSearchVersion Version { get; } + ServerType ServerType { get; } + int NumberOfNodes { get; } + int StartingPortNumber { get; set; } + bool NoCleanupAfterNodeStopped { get; set; } + + bool ShowOpenSearchOutputAfterStarted { get; set; } + bool CacheOpenSearchHomeInstallation { get; set; } + + string CreateNodeName(int? node); + } + + public class ClusterConfiguration : ClusterConfiguration + { + public ClusterConfiguration(OpenSearchVersion version, ServerType serverType, string openSearchHome, int numberOfNodes = 1) + : base(version, serverType, (v, s) => new NodeFileSystem(v, openSearchHome), numberOfNodes, null) + { + } + + public ClusterConfiguration(OpenSearchVersion version, ServerType serverType, + Func fileSystem = null, int numberOfNodes = 1, + string clusterName = null) + : base(version, serverType, fileSystem ?? ((v, s) => new NodeFileSystem(v, s)), numberOfNodes, clusterName) + { + } + } + + public class ClusterConfiguration : IClusterConfiguration + where TFileSystem : INodeFileSystem + { + /// + /// Creates a new instance of a configuration for an OpenSearch cluster. + /// + /// The version of OpenSearch + /// + /// A delegate to create the instance of . + /// Passed the OpenSearch version and the Cluster name + /// + /// The number of nodes in the cluster + /// The name of the cluster + public ClusterConfiguration(OpenSearchVersion version, ServerType serverType, Func fileSystem, + int numberOfNodes = 1, string clusterName = null) + { + if (fileSystem == null) throw new ArgumentException(nameof(fileSystem)); + + ClusterName = clusterName; + Version = version; + ServerType = serverType; + Artifact = version.Artifact(Product.From("opensearch", serverType: serverType)); + FileSystem = fileSystem(Version, ClusterName); + NumberOfNodes = numberOfNodes; + + var fs = FileSystem; + Add("node.max_local_storage_nodes", numberOfNodes.ToString(CultureInfo.InvariantCulture), "1.0.0"); + + Add("cluster.name", clusterName); + Add("path.repo", fs.RepositoryPath); + Add("path.data", fs.DataPath); + var logsPathDefault = Path.Combine(fs.OpenSearchHome, "logs"); + if (logsPathDefault != fs.LogsPath) Add("path.logs", fs.LogsPath); + } + + public Artifact Artifact { get; } + + public string JavaHomeEnvironmentVariable => "JAVA_HOME"; + + /// Will print the contents of all the yaml files when starting the cluster up, great for debugging purposes + public bool PrintYamlFilesInConfigFolder { get; set; } + + public string ClusterName { get; } + public OpenSearchVersion Version { get; } + public ServerType ServerType { get; } + public TFileSystem FileSystem { get; } + public int NumberOfNodes { get; } + public int StartingPortNumber { get; set; } = 9200; + public bool NoCleanupAfterNodeStopped { get; set; } + + /// + /// Whether should continue to write output to console after it has started. + /// Defaults to true + /// + public bool ShowOpenSearchOutputAfterStarted { get; set; } = true; + + public bool CacheOpenSearchHomeInstallation { get; set; } + + /// The node settings to apply to each started node + public NodeSettings DefaultNodeSettings { get; } = new NodeSettings(); + + /// + /// Creates a node name + /// + public virtual string CreateNodeName(int? node) => + node.HasValue ? $"managed-opensearch-{node}" : " managed-opensearch"; + + /// + /// Calculates the quorum given the number of instances + /// + private static int Quorum(int instanceCount) => Math.Max(1, (int) Math.Floor((double) instanceCount / 2) + 1); + + /// + /// Creates a node attribute for the version of OpenSearch + /// + public string AttributeKey(string attribute) + { + var attr = "attr."; + return $"node.{attr}{attribute}"; + } + + /// + /// Adds a node setting to the default node settings + /// + protected void Add(string key, string value) + { + if (string.IsNullOrEmpty(key) || string.IsNullOrEmpty(value)) return; + DefaultNodeSettings.Add(key, value); + } + + /// + /// Adds a node setting to the default node settings only if the OpenSearch + /// version is in the range. + /// + protected void Add(string key, string value, string range) + { + if (string.IsNullOrEmpty(key) || string.IsNullOrEmpty(value)) return; + if (string.IsNullOrWhiteSpace(range) || Version.InRange(range)) + DefaultNodeSettings.Add(key, value, range); + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Managed/Configuration/NodeConfiguration.cs b/abstractions/src/OpenSearch.OpenSearch.Managed/Configuration/NodeConfiguration.cs new file mode 100644 index 0000000000..6758c71c06 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Managed/Configuration/NodeConfiguration.cs @@ -0,0 +1,109 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.Globalization; +using OpenSearch.OpenSearch.Managed.FileSystem; +using OpenSearch.Stack.ArtifactsApi; +using ProcNet; + +namespace OpenSearch.OpenSearch.Managed.Configuration +{ + public class NodeConfiguration + { + private Action _defaultStartArgs = s => { }; + + public NodeConfiguration(OpenSearchVersion version, int? port = null) : this(new ClusterConfiguration(version, ServerType.DEFAULT), + port) + { + } + + public NodeConfiguration(IClusterConfiguration clusterConfiguration, int? port = null, + string nodePrefix = null) + { + ClusterConfiguration = clusterConfiguration; + DesiredPort = port; + DesiredNodeName = CreateNodeName(port, nodePrefix) ?? clusterConfiguration.CreateNodeName(port); + Settings = new NodeSettings(clusterConfiguration.DefaultNodeSettings); + + if (!string.IsNullOrWhiteSpace(DesiredNodeName)) Settings.Add("node.name", DesiredNodeName); + if (DesiredPort.HasValue) + Settings.Add("http.port", DesiredPort.Value.ToString(CultureInfo.InvariantCulture)); + } + + private IClusterConfiguration ClusterConfiguration { get; } + + public int? DesiredPort { get; } + public string DesiredNodeName { get; } + + public Action ModifyStartArguments + { + get => _defaultStartArgs; + set => _defaultStartArgs = value ?? (s => { }); + } + + /// + /// Wheter should continue to write output to console after it has started. + /// Defaults to true but useful to turn of if it proofs to be too noisy + /// + public bool ShowOpenSearchOutputAfterStarted { get; set; } = true; + + /// + /// The expected duration of the shut down sequence for OpenSearch. After this wait duration a hard kill will occur. + /// + public TimeSpan WaitForShutdown { get; set; } = TimeSpan.FromSeconds(10); + + /// + /// Copy of . Add individual node settings here. + /// + public NodeSettings Settings { get; } + + public INodeFileSystem FileSystem => ClusterConfiguration.FileSystem; + public OpenSearchVersion Version => ClusterConfiguration.Version; + public ServerType ServerType => ClusterConfiguration.ServerType; + public string[] CommandLineArguments => Settings.ToCommandLineArguments(Version); + + public void InitialMasterNodes(string initialMasterNodes) => + Settings.Add("cluster.initial_master_nodes", initialMasterNodes, ">=1.0.0"); + + public string AttributeKey(string attribute) + { + var attr = "attr."; + return $"node.{attr}{attribute}"; + } + + public void Add(string key, string value) => Settings.Add(key, value); + + private string CreateNodeName(int? node, string prefix = null) + { + if (prefix == null) return null; + var suffix = Guid.NewGuid().ToString("N").Substring(0, 6); + return $"{prefix.Replace("Cluster", "").ToLowerInvariant()}-node-{suffix}{node}"; + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Managed/Configuration/NodeSetting.cs b/abstractions/src/OpenSearch.OpenSearch.Managed/Configuration/NodeSetting.cs new file mode 100644 index 0000000000..8d2c8f40f2 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Managed/Configuration/NodeSetting.cs @@ -0,0 +1,50 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +namespace OpenSearch.OpenSearch.Managed.Configuration +{ + public struct NodeSetting + { + public string Key { get; } + public string Value { get; } + + /// + /// Stores for which opensearch version range this setting is applicable + /// + public string VersionRange { get; } + + public NodeSetting(string key, string value, string range) + { + Key = key; + Value = value; + VersionRange = range; + } + + public override string ToString() => $"{Key}={Value}"; + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Managed/Configuration/NodeSettings.cs b/abstractions/src/OpenSearch.OpenSearch.Managed/Configuration/NodeSettings.cs new file mode 100644 index 0000000000..0ce531141c --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Managed/Configuration/NodeSettings.cs @@ -0,0 +1,73 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.Collections.Generic; +using System.Linq; +using OpenSearch.Stack.ArtifactsApi; + +namespace OpenSearch.OpenSearch.Managed.Configuration +{ + public class NodeSettings : List + { + public NodeSettings() + { + } + + public NodeSettings(NodeSettings settings) : base(settings) + { + } + + public void Add(string setting) + { + var s = setting.Split(new[] {'='}, 2, StringSplitOptions.RemoveEmptyEntries); + if (s.Length != 2) + throw new ArgumentException($"Can only add node settings in key=value from but received: {setting}"); + Add(new NodeSetting(s[0], s[1], null)); + } + + public void Add(string key, string value) => Add(new NodeSetting(key, value, null)); + + public void Add(string key, string value, string versionRange) => + Add(new NodeSetting(key, value, versionRange)); + + public string[] ToCommandLineArguments(OpenSearchVersion version) + { + var settingArgument = "-E "; + return this + //if a node setting is only applicable for a certain version make sure its filtered out + .Where(s => string.IsNullOrEmpty(s.VersionRange) || version.InRange(s.VersionRange)) + //allow additional settings to take precedence over already DefaultNodeSettings + //without relying on opensearch to dedup + .GroupBy(setting => setting.Key) + .Select(g => g.Last()) + .Select(s => s.Key.StartsWith(settingArgument) ? s.ToString() : $"{settingArgument}{s}") + .ToArray(); + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Managed/ConsoleWriters/ConsoleLineWriter.cs b/abstractions/src/OpenSearch.OpenSearch.Managed/ConsoleWriters/ConsoleLineWriter.cs new file mode 100644 index 0000000000..1f8e2911e7 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Managed/ConsoleWriters/ConsoleLineWriter.cs @@ -0,0 +1,44 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using ProcNet.Std; + +namespace OpenSearch.OpenSearch.Managed.ConsoleWriters +{ + public class ConsoleLineWriter : IConsoleLineHandler + { + public void Handle(LineOut lineOut) + { + var w = lineOut.Error ? Console.Error : Console.Out; + w.WriteLine(lineOut); + } + + public void Handle(Exception e) => Console.Error.WriteLine(e); + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Managed/ConsoleWriters/ExceptionLineParser.cs b/abstractions/src/OpenSearch.OpenSearch.Managed/ConsoleWriters/ExceptionLineParser.cs new file mode 100644 index 0000000000..f54b8eb648 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Managed/ConsoleWriters/ExceptionLineParser.cs @@ -0,0 +1,65 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System.Text.RegularExpressions; + +namespace OpenSearch.OpenSearch.Managed.ConsoleWriters +{ + public static class ExceptionLineParser + { + private static readonly Regex CauseRegex = new Regex(@"^(?.*?Exception:)(?.*?)$"); + + private static readonly Regex + LocRegex = new Regex(@"^(?\s*?at )(?.*?)\((?.*?)\)(?.*?)$"); + + public static bool TryParseCause(string line, out string cause, out string message) + { + cause = message = null; + if (string.IsNullOrEmpty(line)) return false; + var match = CauseRegex.Match(line); + if (!match.Success) return false; + cause = match.Groups["cause"].Value.Trim(); + message = match.Groups["message"].Value.Trim(); + return true; + } + + public static bool TryParseStackTrace(string line, out string at, out string method, out string file, + out string jar) + { + at = method = file = jar = null; + if (string.IsNullOrEmpty(line)) return false; + var match = LocRegex.Match(line); + if (!match.Success) return false; + at = match.Groups["at"].Value; + method = match.Groups["method"].Value.Trim(); + file = match.Groups["file"].Value.Trim(); + jar = match.Groups["jar"].Value.Trim(); + return true; + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Managed/ConsoleWriters/IConsoleLineWriter.cs b/abstractions/src/OpenSearch.OpenSearch.Managed/ConsoleWriters/IConsoleLineWriter.cs new file mode 100644 index 0000000000..000c2c78b8 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Managed/ConsoleWriters/IConsoleLineWriter.cs @@ -0,0 +1,53 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using ProcNet.Std; + +namespace OpenSearch.OpenSearch.Managed.ConsoleWriters +{ + public static class LineWriterExtensions + { + public static void WriteDiagnostic(this IConsoleLineHandler writer, string message) => + writer.Handle(Info(message)); + + public static void WriteDiagnostic(this IConsoleLineHandler writer, string message, string node) => + writer?.Handle(Info(node != null ? $"[{node}] {message}" : message)); + + public static void WriteError(this IConsoleLineHandler writer, string message) => writer.Handle(Error(message)); + + public static void WriteError(this IConsoleLineHandler writer, string message, string node) => + writer?.Handle(Error(node != null ? $"[{node}] {message}" : message)); + + private static string Format(bool error, string message) => + $"[{DateTime.UtcNow:yyyy-MM-ddThh:mm:ss,fff}][{(error ? "ERROR" : "INFO ")}][Managed OpenSearch\t] {message}"; + + private static LineOut Info(string message) => ConsoleOut.Out(Format(false, message)); + private static LineOut Error(string message) => ConsoleOut.ErrorOut(Format(true, message)); + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Managed/ConsoleWriters/LineHighlightWriter.cs b/abstractions/src/OpenSearch.OpenSearch.Managed/ConsoleWriters/LineHighlightWriter.cs new file mode 100644 index 0000000000..53e3ab08b7 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Managed/ConsoleWriters/LineHighlightWriter.cs @@ -0,0 +1,251 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using ProcNet.Std; + +namespace OpenSearch.OpenSearch.Managed.ConsoleWriters +{ + public class LineHighlightWriter : IConsoleLineHandler + { + private readonly LineOutParser _lineOutParser; + + private static readonly ConsoleColor[] AvailableNodeColors = + { + ConsoleColor.DarkGreen, ConsoleColor.DarkBlue, ConsoleColor.DarkRed, ConsoleColor.DarkCyan, + ConsoleColor.DarkYellow, ConsoleColor.Blue, + }; + + private static readonly object Lock = new object(); + + private static readonly char[] Anchors = {'[', ']', '{', '}'}; + + private readonly Dictionary _nodeColors; + + public LineHighlightWriter() + { + } + + public LineHighlightWriter(IList nodes, LineOutParser lineOutParser) + { + _lineOutParser = lineOutParser ?? throw new NullReferenceException(nameof(lineOutParser)); + if (nodes == null) throw new NullReferenceException(nameof(nodes)); + + var colors = new Dictionary(); + for (var i = 0; i < nodes.Count; i++) + { + var color = i % AvailableNodeColors.Length; + colors.Add(nodes[i], AvailableNodeColors[color]); + } + + _nodeColors = colors; + } + + public void Handle(Exception e) + { + lock (Lock) + { + Console.BackgroundColor = ConsoleColor.Red; + Console.ForegroundColor = ConsoleColor.White; + Console.Error.WriteLine(e); + Console.ResetColor(); + } + } + + public void Handle(LineOut lineOut) + { + var parsed = _lineOutParser.TryParse(lineOut.Line, out var date, out var level, out var section, + out var node, out var message, out _); + if (parsed) Write(lineOut.Error, date, level, section, node, message, NodeColor); + else if (ExceptionLineParser.TryParseCause(lineOut.Line, out var cause, out var causeMessage)) + WriteCausedBy(lineOut.Error, cause, causeMessage); + + else if (ExceptionLineParser.TryParseStackTrace(lineOut.Line, out var at, out var method, out var file, + out var jar)) + WriteStackTraceLine(lineOut.Error, at, method, file, jar); + + else Write(lineOut.Error, lineOut.Line); + } + + private ConsoleColor NodeColor(string node) => + _nodeColors != null && _nodeColors.TryGetValue(node, out var color) ? color : AvailableNodeColors[0]; + + private static void Write(bool error, string date, string level, string section, string node, string message, + Func getNodeColor = null) + { + lock (Lock) + { + var w = error ? Console.Error : Console.Out; + WriteBlock(w, ConsoleColor.DarkGray, date); + WriteBlock(w, LevelColor(level), level, 5); + + if (!string.IsNullOrWhiteSpace(section)) + { + WriteBlock(w, ConsoleColor.DarkCyan, section, 25); + WriteSpace(w); + } + + WriteBlock(w, getNodeColor?.Invoke(node) ?? ConsoleColor.DarkGreen, node); + WriteSpace(w); + + var messageColor = error || level == "ERROR" ? ConsoleColor.Red : ConsoleColor.White; + WriteMessage(w, messageColor, message); + + Console.ResetColor(); + w.Flush(); + } + } + + private static void WriteCausedBy(bool error, string cause, string causeMessage) + { + lock (Lock) + { + var w = error ? Console.Error : Console.Out; + Write(w, ConsoleColor.DarkRed, cause); + WriteSpace(w); + Write(w, ConsoleColor.Red, causeMessage); + w.WriteLine(); + Console.ResetColor(); + w.Flush(); + } + } + + private static void WriteStackTraceLine(bool error, string at, string method, string file, string jar) + { + lock (Lock) + { + var w = error ? Console.Error : Console.Out; + Write(w, ConsoleColor.DarkGray, at); + Write(w, ConsoleColor.DarkBlue, method); + Write(w, ConsoleColor.DarkGray, "("); + Write(w, ConsoleColor.Blue, file); + Write(w, ConsoleColor.DarkGray, ")"); + WriteSpace(w); + Write(w, ConsoleColor.Gray, jar); + w.WriteLine(); + + Console.ResetColor(); + w.Flush(); + } + } + + private static void Write(bool error, string message) + { + lock (Lock) + { + var w = error ? Console.Error : Console.Out; + var messageColor = error ? ConsoleColor.Red : ConsoleColor.White; + WriteMessage(w, messageColor, message); + Console.ResetColor(); + w.Flush(); + } + } + + private static ConsoleColor LevelColor(string level) + { + switch (level ?? "") + { + case "WARN": return ConsoleColor.Yellow; + case "FATAL": + case "ERROR": + return ConsoleColor.Red; + case "DEBUG": + case "TRACE": + return ConsoleColor.DarkGray; + default: + return ConsoleColor.Cyan; + } + } + + private static IEnumerable Parts(string s) + { + int start = 0, index; + while ((index = s.IndexOfAny(Anchors, start)) != -1) + { + if (index - start > 0) + yield return s.Substring(start, index - start); + + yield return s.Substring(index, 1); + start = index + 1; + } + + if (start < s.Length) + yield return s.Substring(start); + } + + private static void WriteMessage(TextWriter w, ConsoleColor color, string message) + { + var insideSquareBracket = 0; + var insideCurlyBracket = 0; + foreach (var p in Parts(message)) + { + if (p.Length == 0) continue; + if (p[0] == '[') insideSquareBracket++; + else if (p[0] == ']') insideSquareBracket--; + else if (p[0] == '{') insideCurlyBracket++; + else if (p[0] == '}') insideCurlyBracket--; + + if (Anchors.Contains(p[0])) Console.ForegroundColor = ConsoleColor.DarkGray; + else if (insideSquareBracket > 0) Console.ForegroundColor = ConsoleColor.Yellow; + else if (insideCurlyBracket > 0) Console.ForegroundColor = ConsoleColor.Blue; + else Console.ForegroundColor = color; + + w.Write(p); + } + + Console.ResetColor(); + w.WriteLine(); + } + + private static void WriteSpace(TextWriter w) => w.Write(" "); + + private static void WriteBlock(TextWriter w, ConsoleColor color, string block, int? pad = null) + { + if (string.IsNullOrEmpty(block)) return; + var b = pad != null ? block.PadRight(pad.Value) : block; + Console.ForegroundColor = ConsoleColor.DarkGray; + w.Write("["); + Console.ForegroundColor = color; + w.Write(b); + Console.ForegroundColor = ConsoleColor.DarkGray; + w.Write("]"); + } + + private static void Write(TextWriter w, ConsoleColor color, string block, int? pad = null) + { + var b = pad != null ? block.PadRight(pad.Value) : block; + var original = Console.ForegroundColor; + Console.ForegroundColor = color; + w.Write(b); + Console.ForegroundColor = original; + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Managed/ConsoleWriters/LineOutParser.cs b/abstractions/src/OpenSearch.OpenSearch.Managed/ConsoleWriters/LineOutParser.cs new file mode 100644 index 0000000000..28d3053902 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Managed/ConsoleWriters/LineOutParser.cs @@ -0,0 +1,165 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.Text.RegularExpressions; +using OpenSearch.Stack.ArtifactsApi; + +namespace OpenSearch.OpenSearch.Managed.ConsoleWriters +{ + public class LineOutParser + { + private LineOutParser() { } + + public static readonly LineOutParser OpenSearch = new(shortNamePrefix: "o.o", fullNamePrefix: "org.opensearch", + securityPluginName: "OpenSearchSecurityPlugin"); + + public static readonly LineOutParser OpenDistro = new(shortNamePrefix: "o.e", fullNamePrefix: "org.elastic", + securityPluginName: "OpenDistroSecurityPlugin"); + public static LineOutParser From(ServerType serverType) + { + switch (serverType) + { + case ServerType.OpenDistro: + case ServerType.ElasticSearch: + return LineOutParser.OpenDistro; + case ServerType.OpenSearch: + return LineOutParser.OpenSearch; + default: + throw new ApplicationException( + $"Unexpected value for {nameof(serverType)} -- {serverType}"); + } + } + +/* +[2016-09-26T11:43:17,314][INFO ][o.e.n.Node ] [readonly-node-a9c5f4] initializing ... +[2016-09-26T11:43:17,470][INFO ][o.e.e.NodeEnvironment ] [readonly-node-a9c5f4] using [1] data paths, mounts [[BOOTCAMP (C:)]], net usable_space [27.7gb], net total_space [129.7gb], spins? [unknown], types [NTFS] +[2016-09-26T11:43:17,471][INFO ][o.e.e.NodeEnvironment ] [readonly-node-a9c5f4] heap size [1.9gb], compressed ordinary object pointers [true] +[2016-09-26T11:43:17,475][INFO ][o.e.n.Node ] [readonly-node-a9c5f4] version[5.0.0-beta1], pid[13172], build[7eb6260/2016-09-20T23:10:37.942Z], OS[Windows 10/10.0/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_101/25.101-b13] +[2016-09-26T11:43:19,160][INFO ][o.e.p.PluginsService ] [readonly-node-a9c5f4] loaded module [aggs-matrix-stats] +[2016-09-26T11:43:19,160][INFO ][o.e.p.PluginsService ] [readonly-node-a9c5f4] loaded module [ingest-common] +[2016-09-26T11:43:19,161][INFO ][o.e.p.PluginsService ] [readonly-node-a9c5f4] loaded module [lang-expression] +[2016-09-26T11:43:19,161][INFO ][o.e.p.PluginsService ] [readonly-node-a9c5f4] loaded module [lang-groovy] +[2016-09-26T11:43:19,161][INFO ][o.e.p.PluginsService ] [readonly-node-a9c5f4] loaded module [lang-mustache] +[2016-09-26T11:43:19,162][INFO ][o.e.p.PluginsService ] [readonly-node-a9c5f4] loaded module [lang-painless] +[2016-09-26T11:43:19,162][INFO ][o.e.p.PluginsService ] [readonly-node-a9c5f4] loaded module [percolator] +[2016-09-26T11:43:19,162][INFO ][o.e.p.PluginsService ] [readonly-node-a9c5f4] loaded module [reindex] +[2016-09-26T11:43:19,162][INFO ][o.e.p.PluginsService ] [readonly-node-a9c5f4] loaded module [transport-netty3] +[2016-09-26T11:43:19,163][INFO ][o.e.p.PluginsService ] [readonly-node-a9c5f4] loaded module [transport-netty4] +[2016-09-26T11:43:19,163][INFO ][o.e.p.PluginsService ] [readonly-node-a9c5f4] loaded plugin [ingest-attachment] +[2016-09-26T11:43:19,164][INFO ][o.e.p.PluginsService ] [readonly-node-a9c5f4] loaded plugin [ingest-geoip] +[2016-09-26T11:43:19,164][INFO ][o.e.p.PluginsService ] [readonly-node-a9c5f4] loaded plugin [mapper-attachments] +[2016-09-26T11:43:19,164][INFO ][o.e.p.PluginsService ] [readonly-node-a9c5f4] loaded plugin [mapper-murmur3] +[2016-09-26T11:43:19,374][WARN ][d.m.attachment ] [mapper-attachments] plugin has been deprecated and will be replaced by [ingest-attachment] plugin. +[2016-09-26T11:43:22,179][INFO ][o.e.n.Node ] [readonly-node-a9c5f4] initialized +[2016-09-26T11:43:22,180][INFO ][o.e.n.Node ] [readonly-node-a9c5f4] starting ... +*/ + private static readonly Regex ConsoleLineParser = + new Regex(@"\[(?.*?)\]\[(?.*?)\](?:\[(?
.*?)\])(?: \[(?.*?)\])? (?.+)"); + + private static readonly Regex PortParser = new Regex(@"bound_address(es)?(opensearch)? {.+\:(?\d+)}"); + + //[2016-09-26T11:43:17,475][INFO ][o.e.n.Node ] [readonly-node-a9c5f4] version[5.0.0-beta1], pid[13172], build[7eb6260/2016-09-20T23:10:37.942Z], OS[Windows 10/10.0/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_101/25.101-b13] + private static readonly Regex InfoParser = + new Regex(@"version\[(?.*)\], pid\[(?.*)\], build\[(?.+)\]"); + + private LineOutParser(string shortNamePrefix, string fullNamePrefix, string securityPluginName) : this() + { + _shortNamePrefix = shortNamePrefix; + _fullNamePrefix = fullNamePrefix; + _securityPluginRegex = new Regex(Regex.Escape(securityPluginName)); + } + + private readonly Regex _securityPluginRegex; + private readonly string _shortNamePrefix; + private readonly string _fullNamePrefix ; + + public bool TryParse(string line, + out string date, out string level, out string section, out string node, out string message, + out bool started) + { + date = level = section = node = message = null; + started = false; + if (string.IsNullOrEmpty(line)) return false; + + var match = ConsoleLineParser.Match(line); + if (!match.Success) return false; + date = match.Groups["date"].Value.Trim(); + level = match.Groups["level"].Value.Trim(); + section = match.Groups["section"].Value.Trim().Replace(_fullNamePrefix + ".", ""); + node = match.Groups["node"].Value.Trim(); + message = match.Groups["message"].Value.Trim(); + started = TryGetStartedConfirmation(section, message); + return true; + } + + private bool TryGetStartedConfirmation(string section, string message) + { + return section == ShortName("n.Node") && message == "started"; + } + + public bool TryGetPortNumber(string section, string message, out int port) + { + port = 0; + var inHttpSection = + section == ShortName("h.HttpServer") + || section == "http" + || section == ShortName("h.AbstractHttpServerTransport") + || section == ShortName("h.n.Netty4HttpServerTransport") + || section == ShortName("x.s.t.n.SecurityNetty4HttpServerTransport"); + if (!inHttpSection) return false; + + if (string.IsNullOrWhiteSpace(message)) return false; + + var match = PortParser.Match(message); + if (!match.Success) return false; + + var portString = match.Groups["port"].Value.Trim(); + port = int.Parse(portString); + return true; + } + + public bool TryParseNodeInfo(string section, string message, out string version, out int? pid) + { + var inNodeSection = section == ShortName("n.Node") || section == "node"; + + version = null; + pid = null; + if (!inNodeSection) return false; + + var match = InfoParser.Match(message.Replace(Environment.NewLine, "")); + if (!match.Success) return false; + + version = match.Groups["version"].Value.Trim(); + pid = int.Parse(match.Groups["pid"].Value.Trim()); + return true; + } + + private string ShortName(string suffix) => $"{_shortNamePrefix}.{suffix}"; + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Managed/ConsoleWriters/NoopConsoleLineWriter.cs b/abstractions/src/OpenSearch.OpenSearch.Managed/ConsoleWriters/NoopConsoleLineWriter.cs new file mode 100644 index 0000000000..e8e24c3900 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Managed/ConsoleWriters/NoopConsoleLineWriter.cs @@ -0,0 +1,46 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using ProcNet.Std; + +namespace OpenSearch.OpenSearch.Managed.ConsoleWriters +{ + internal class NoopConsoleLineWriter : IConsoleLineHandler + { + public static NoopConsoleLineWriter Instance { get; } = new NoopConsoleLineWriter(); + + public void Handle(LineOut lineOut) + { + } + + public void Handle(Exception e) + { + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Managed/FileSystem/INodeFileSystem.cs b/abstractions/src/OpenSearch.OpenSearch.Managed/FileSystem/INodeFileSystem.cs new file mode 100644 index 0000000000..ff71128c20 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Managed/FileSystem/INodeFileSystem.cs @@ -0,0 +1,79 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +namespace OpenSearch.OpenSearch.Managed.FileSystem +{ + /// + /// The file system for an OpenSearch node + /// + public interface INodeFileSystem + { + /// + /// The path to the script to start OpenSearch + /// + string Binary { get; } + + /// + /// The path to the script to manage plugins + /// + string PluginBinary { get; } + + /// + /// The path to the home directory + /// + string OpenSearchHome { get; } + + /// + /// The path to the config directory + /// + string ConfigPath { get; } + + /// + /// The path to the data directory + /// + string DataPath { get; } + + /// + /// The path to the logs directory + /// + string LogsPath { get; } + + /// + /// The path to the repository directory + /// + string RepositoryPath { get; } + + /// + /// The path to the directory in which this node resides + /// + string LocalFolder { get; } + + /// The config environment variable to use for this version + string ConfigEnvironmentVariableName { get; } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Managed/FileSystem/NodeFileSystem.cs b/abstractions/src/OpenSearch.OpenSearch.Managed/FileSystem/NodeFileSystem.cs new file mode 100644 index 0000000000..fdca8d4681 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Managed/FileSystem/NodeFileSystem.cs @@ -0,0 +1,116 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.IO; +using System.Runtime.InteropServices; +using OpenSearch.Stack.ArtifactsApi; +using OpenSearch.Stack.ArtifactsApi.Products; + +namespace OpenSearch.OpenSearch.Managed.FileSystem +{ + /// + public class NodeFileSystem : INodeFileSystem + { + protected const string SubFolder = "OpenSearchManaged"; + + public NodeFileSystem(OpenSearchVersion version, string openSearchHome = null) + { + Version = version; + Artifact = version.Artifact(Product.OpenSearch); + LocalFolder = AppDataFolder(version); + OpenSearchHome = openSearchHome ?? + GetOpenSearchHomeVariable() ?? throw new ArgumentNullException(nameof(openSearchHome)); + + ConfigEnvironmentVariableName = "OPENSEARCH_PATH_CONF"; + } + + protected OpenSearchVersion Version { get; } + protected Artifact Artifact { get; } + + private static bool IsMono { get; } = Type.GetType("Mono.Runtime") != null; + + protected static string BinarySuffix => IsMono || Path.DirectorySeparatorChar == '/' ? "" : ".bat"; + + /// + public string Binary + { + get + { + if (Artifact.ServerType == ServerType.OpenSearch) + return Path.Combine(OpenSearchHome, "bin", "opensearch") + BinarySuffix; + return Path.Combine(OpenSearchHome, "bin", "elasticsearch") + BinarySuffix; + } + } + + /// + public string PluginBinary + { + get + { + if (Artifact.ServerType == ServerType.OpenSearch) + return Path.Combine(OpenSearchHome, "bin", "opensearch-plugin") + BinarySuffix; + return Path.Combine(OpenSearchHome, "bin", "elasticsearch-plugin") + BinarySuffix; + } + } + + /// + public string OpenSearchHome { get; } + + /// + public string LocalFolder { get; } + + /// + public virtual string ConfigPath => null; + + /// + public virtual string DataPath => null; + + /// + public virtual string LogsPath => null; + + /// + public virtual string RepositoryPath => null; + + public string ConfigEnvironmentVariableName { get; } + + protected static string AppDataFolder(OpenSearchVersion version) + { + var appData = GetApplicationDataDirectory(); + return Path.Combine(appData, SubFolder, version.Artifact(Product.OpenSearch).LocalFolderName); + } + + protected static string GetOpenSearchHomeVariable() => Environment.GetEnvironmentVariable("OPENSEARCH_HOME"); + + protected static string GetApplicationDataDirectory() => + RuntimeInformation.IsOSPlatform(OSPlatform.Windows) + ? Environment.GetEnvironmentVariable("LocalAppData") + : Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData, + Environment.SpecialFolderOption.Create); + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Managed/OpenSearch.OpenSearch.Managed.csproj b/abstractions/src/OpenSearch.OpenSearch.Managed/OpenSearch.OpenSearch.Managed.csproj new file mode 100644 index 0000000000..6a233a336e --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Managed/OpenSearch.OpenSearch.Managed.csproj @@ -0,0 +1,22 @@ + + + + netstandard2.0;net461 + + Provides an observable OpenSearchNode abstraction that can be used to wrap an opensearch process. + Also ships with an cluster abstraction that can start one or more OpenSearchNode's + + opensearch,opensearch,cluster,observable,rx + false + + true + + + + + + + + + + diff --git a/abstractions/src/OpenSearch.OpenSearch.Managed/OpenSearchCleanExitException.cs b/abstractions/src/OpenSearch.OpenSearch.Managed/OpenSearchCleanExitException.cs new file mode 100644 index 0000000000..4200fa39d5 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Managed/OpenSearchCleanExitException.cs @@ -0,0 +1,43 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; + +namespace OpenSearch.OpenSearch.Managed +{ + public class OpenSearchCleanExitException : Exception + { + public OpenSearchCleanExitException(string message) : base(message) + { + } + + public OpenSearchCleanExitException(string message, Exception innerException) : base(message, innerException) + { + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Managed/OpenSearchCluster.cs b/abstractions/src/OpenSearch.OpenSearch.Managed/OpenSearchCluster.cs new file mode 100644 index 0000000000..97456a376b --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Managed/OpenSearchCluster.cs @@ -0,0 +1,39 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using OpenSearch.OpenSearch.Managed.Configuration; + +namespace OpenSearch.OpenSearch.Managed +{ + public class OpenSearchCluster : ClusterBase + { + public OpenSearchCluster(ClusterConfiguration clusterConfiguration) : base(clusterConfiguration) + { + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Managed/OpenSearchNode.cs b/abstractions/src/OpenSearch.OpenSearch.Managed/OpenSearchNode.cs new file mode 100644 index 0000000000..8da8e33026 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Managed/OpenSearchNode.cs @@ -0,0 +1,268 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.Threading; +using OpenSearch.OpenSearch.Managed.Configuration; +using OpenSearch.OpenSearch.Managed.ConsoleWriters; +using OpenSearch.OpenSearch.Managed.FileSystem; +using OpenSearch.Stack.ArtifactsApi; +using ProcNet; +using ProcNet.Std; + +namespace OpenSearch.OpenSearch.Managed +{ + public class OpenSearchNode : ObservableProcess + { + private readonly ManualResetEvent _startedHandle = new ManualResetEvent(false); + + public OpenSearchNode(OpenSearchVersion version, string openSearchHome = null) + : this(new NodeConfiguration(new ClusterConfiguration(version, ServerType.DEFAULT, + (v, s) => new NodeFileSystem(v, openSearchHome)))) + { + } + + public OpenSearchNode(NodeConfiguration config) : base(StartArgs(config)) => NodeConfiguration = config; + public string Version { get; private set; } + public int? Port { get; private set; } + public bool NodeStarted { get; private set; } + public NodeConfiguration NodeConfiguration { get; } + + private int? JavaProcessId { get; set; } + public override int? ProcessId => JavaProcessId ?? base.ProcessId; + public int? HostProcessId => base.ProcessId; + + /// + /// Set this true if you want the node to go into assumed started state as soon as its waiting for more nodes to start + /// doing the election. + /// Useful to speed up starting multi node clusters + /// + public bool AssumeStartedOnNotEnoughMasterPing { get; set; } + + internal IConsoleLineHandler Writer { get; private set; } + + public Exception LastSeenException { get; set; } + public WaitHandle StartedHandle => _startedHandle; + + private static StartArguments StartArgs(NodeConfiguration config) + { + //var args = new[] {config.FileSystem.Binary}.Concat(config.CommandLineArguments); + + var startArguments = new StartArguments(config.FileSystem.Binary, config.CommandLineArguments) + { + SendControlCFirst = true, + Environment = EnvVars(config), + WaitForExit = config.WaitForShutdown, + WaitForStreamReadersTimeout = config.WaitForShutdown + }; + config.ModifyStartArguments(startArguments); + return startArguments; + } + + private static Dictionary EnvVars(NodeConfiguration config) + { + var environmentVariables = new Dictionary {{"OPENSEARCH_JAVA_OPTS", "-Xms1g -Xmx1g"}}; + if (!string.IsNullOrWhiteSpace(config.FileSystem.ConfigPath)) + environmentVariables.Add(config.FileSystem.ConfigEnvironmentVariableName, config.FileSystem.ConfigPath); + + if (!string.IsNullOrWhiteSpace(config.FileSystem.OpenSearchHome)) + environmentVariables.Add("OPENSEARCH_HOME", config.FileSystem.OpenSearchHome); + + // Duplicate all env vars for ES_* prefix for backward compatibility with OpenDistro and ElasticSearch; + // unused env vars would be just ignored. + environmentVariables.Add("ES_JAVA_OPTS", "-Xms1g -Xmx1g"); + if (!string.IsNullOrWhiteSpace(config.FileSystem.ConfigPath)) + environmentVariables.Add(config.FileSystem.ConfigEnvironmentVariableName.Replace("OPENSEARCH", "ES"), config.FileSystem.ConfigPath); + + if (!string.IsNullOrWhiteSpace(config.FileSystem.OpenSearchHome)) + environmentVariables.Add("ES_HOME", config.FileSystem.OpenSearchHome); + + return environmentVariables; + } + + private bool AssumedStartedStateChecker(string section, string message) + { + if (AssumeStartedOnNotEnoughMasterPing + && section.Contains("ZenDiscovery") + && message.Contains("not enough master nodes discovered during pinging")) + return true; + return false; + } + + public IDisposable Start() => Start(TimeSpan.FromMinutes(2)); + + public IDisposable Start(TimeSpan waitForStarted) => Start(new LineHighlightWriter(), waitForStarted); + + public IDisposable Start(IConsoleLineHandler writer, TimeSpan waitForStarted) + { + var node = NodeConfiguration.DesiredNodeName; + var subscription = SubscribeLines(writer); + if (WaitForStarted(waitForStarted)) return subscription; + subscription.Dispose(); + throw new OpenSearchCleanExitException( + $"Failed to start node: {node} before the configured timeout of: {waitForStarted}"); + } + + public IDisposable SubscribeLines() => SubscribeLines(new LineHighlightWriter()); + + public IDisposable SubscribeLines(IConsoleLineHandler writer) => + SubscribeLines(writer, delegate { }, delegate { }, delegate { }); + + public IDisposable SubscribeLines(IConsoleLineHandler writer, Action onNext) => + SubscribeLines(writer, onNext, delegate { }, delegate { }); + + public IDisposable SubscribeLines(IConsoleLineHandler writer, Action onNext, + Action onError) => + SubscribeLines(writer, onNext, onError, delegate { }); + + public IDisposable SubscribeLines(IConsoleLineHandler writer, Action onNext, Action onError, + Action onCompleted) + { + Writer = writer; + var node = NodeConfiguration.DesiredNodeName; + writer?.WriteDiagnostic($"OpenSearch location: [{Binary}]", node); + writer?.WriteDiagnostic($"Settings: {{{string.Join(" ", NodeConfiguration.CommandLineArguments)}}}", node); + + var envVarName = "JAVA_HOME"; + var javaHome = Environment.GetEnvironmentVariable(envVarName); + writer?.WriteDiagnostic($"{envVarName}: {{{javaHome}}}", node); + Process.StartInfo.Environment[envVarName] = javaHome; + + return SubscribeLines( + l => + { + writer?.Handle(l); + onNext?.Invoke(l); + }, + e => + { + LastSeenException = e; + writer?.Handle(e); + onError?.Invoke(e); + _startedHandle.Set(); + }, + () => + { + onCompleted?.Invoke(); + _startedHandle.Set(); + }); + } + + public bool WaitForStarted(TimeSpan timeout) => _startedHandle.WaitOne(timeout); + + protected override void OnBeforeSetCompletedHandle() + { + _startedHandle.Set(); + base.OnBeforeSetCompletedHandle(); + } + + protected override void OnBeforeWaitForEndOfStreamsError(TimeSpan waited) + { + // The wait for streams finished before streams were fully read. + // this usually indicates the process is still running. + // Proc will successfully kill the host but will leave the JavaProcess the bat file starts running + // The opensearch jar is closing down so won't leak but might prevent EphemeralClusterComposer to do its clean up. + // We do a hard kill on both here to make sure both processes are gone. + HardKill(HostProcessId); + HardKill(JavaProcessId); + } + + private static void HardKill(int? processId) + { + if (!processId.HasValue) return; + try + { + var p = Process.GetProcessById(processId.Value); + p.Kill(); + } + catch (Exception) + { + } + } + + protected override bool ContinueReadingFromProcessReaders() + { + if (!NodeStarted) return true; + return true; + + // some how if we return false here it leads to Task starvation in Proc and tests in e.g will OpenSearch.OpenSearch.Xunit will start + // to timeout. This makes little sense to me now, so leaving this performance optimization out for now. Hopefully another fresh look will yield + // to (not so) obvious. + //return this.NodeConfiguration.ShowOpenSearchOutputAfterStarted; + } + + protected override bool KeepBufferingLines(LineOut c) + { + var lineOutParser = LineOutParser.From(NodeConfiguration.ServerType); + //if the node is already started only keep buffering lines while we have a writer and the nodeconfiguration wants output after started + if (NodeStarted) + { + var keepBuffering = Writer != null && NodeConfiguration.ShowOpenSearchOutputAfterStarted; + if (!keepBuffering) CancelAsyncReads(); + return keepBuffering; + } + + var parsed = lineOutParser.TryParse(c?.Line, out _, out _, out var section, out _, out var message, + out var started); + + if (!parsed) return Writer != null; + + if (JavaProcessId == null && lineOutParser.TryParseNodeInfo(section, message, out var version, out var pid)) + { + JavaProcessId = pid; + Version = version; + } + + else if (lineOutParser.TryGetPortNumber(section, message, out var port)) + { + Port = port; + var dp = NodeConfiguration.DesiredPort; + if (dp.HasValue && Port != dp.Value) + throw new OpenSearchCleanExitException( + $"Node started on port {port} but {dp.Value} was requested"); + } + + if (!started) started = AssumedStartedStateChecker(section, message); + if (started) + { + if (!Port.HasValue) + throw new OpenSearchCleanExitException( + $"Node started but OpenSearchNode did not grab its port number"); + NodeStarted = true; + _startedHandle.Set(); + } + + // if we have dont a writer always return true + if (Writer != null) return true; + //otherwise only keep buffering if we are not started + return !started; + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Managed/README.md b/abstractions/src/OpenSearch.OpenSearch.Managed/README.md new file mode 100644 index 0000000000..7b336efe43 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Managed/README.md @@ -0,0 +1,86 @@ +# OpenSearch.Managed +Provides an easy to start/stop one or more OpenSearch instances that exists on disk already + + +## OpenSearchNode + +A `Proc.ObservableProcess` implementation that starts an OpenSearch instance from the specified +location. It is able to optionally block untill the node goes into started state and it sniffs the output +to expose useful information such as the java process id, port number and others. + +Because its a subclass of `Proc.ObservableProcess` its completely reactive and allows you to seperate the act +of listening to the output and proxying stdout/err. + +#### Examples: + +All the examples assume the following are defined. `openSearchHome` points to a local folder where `OpenSearch` is installed/unzipped. + +```csharp +var version = "1.0.0"; +var openSearchHome = Environment.ExpandEnvironmentVariables($@"%LOCALAPPDATA%\OpenSearchManaged\{version}\opensearch-{version}"); +``` + +The easiest way to get going pass the `version` and `openSearchHome` to `OpenSearchNode`. +`OpenSearchNode` implements `IDisposable` and will try to shutdown gracefully when disposed. +Simply new'ing `OpenSearchNode` won't actually start the node. We need to explicitly call `Start()`. +`Start()` has several overloads but the default waits `2 minutes` for a started confirmation and proxies +the consoleout using `HighlightWriter` which pretty prints the opensearch output. + + +```csharp +using (var node = new OpenSearchNode(version, openSearchHome)) +{ + node.Start(); +} +``` + +`Start` is simply sugar over + +```csharp +using (var node = new OpenSearchNode(version, openSearchHome)) +{ + node.SubscribeLines(new HighlightWriter()); + + if (!node.WaitForStarted(TimeSpan.FromMinutes(2))) throw new Exception(); +} +``` + +As mentioned before `OpenSearchNode` is really an `IObservable` by virtue of being an +subclass of `Proc.ObservableProcess`. `SubscribeLines` is a specialized +`Subscribe` that buffers `CharactersOut` untill a line is formed and emits a `LineOut`. Overloads exists that +take additional `onNext/onError/onCompleted` handlers. + +A node can also be started using a `NodeConfiguration` + +```csharp +var clusterConfiguration = new ClusterConfiguration(version, ServerType.OpenSearch, openSearchHome); +var nodeConfiguration = new NodeConfiguration(clusterConfiguration, 9200) +{ + ShowOpenSearchOutputAfterStarted = false, + Settings = { "node.attr.x", "y" } +}; +using (var node = new OpenSearchNode(nodeConfiguration)) +{ + node.Start(); +} +``` + +Which exposes the full range of options e.g here `ShowOpenSearchOutputAfterStarted` will dispose +of the console out subscriptions as soon as we've parsed the started message to minimize the resources we consume. +`Settings` here allows you to pass opensearch node settings to use for the node. + +## OpenSearchCluster + +A simple abstraction that can can start and stop one or more `OpenSearchNodes` and wait for all of them to +be started + +```csharp +var clusterConfiguration = new ClusterConfiguration(version, ServerType.OpenSearch, openSearchHome, numberOfNodes: 2); +using (var cluster = new OpenSearchCluster(clusterConfiguration)) +{ + cluster.Start(); +} +``` + +`OpenSearchCluster` is simply a barebones `ClusterBase` implementation, which is more powerful then it seems +and serves as the base for `OpenSearch.Managed.Ephemeral`. diff --git a/abstractions/src/OpenSearch.OpenSearch.Managed/packages.lock.json b/abstractions/src/OpenSearch.OpenSearch.Managed/packages.lock.json new file mode 100644 index 0000000000..486e0dd14f --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Managed/packages.lock.json @@ -0,0 +1,921 @@ +{ + "version": 1, + "dependencies": { + ".NETFramework,Version=v4.6.1": { + "Microsoft.NETFramework.ReferenceAssemblies": { + "type": "Direct", + "requested": "[1.0.0-preview.2, )", + "resolved": "1.0.0-preview.2", + "contentHash": "m+pJPEO7HyXvrOna5Sr3s77ewXonjYWJTNL6drh8xACnMNxnlqUDKx9HfGeSE9wmfY0lQwppaeZpFTPGaH7kZg==", + "dependencies": { + "Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.0-preview.2" + } + }, + "Proc": { + "type": "Direct", + "requested": "[0.6.1, )", + "resolved": "0.6.1", + "contentHash": "xRSCfgQNoGy60MOuvD2X1euzqvWDoyfpB8NAfVs2E5K5U1I8cA9MvVY6NbUkp5ApbOmVXls2JEPrOn8rQi2Pzg==" + }, + "System.Net.Http": { + "type": "Direct", + "requested": "[4.3.4, )", + "resolved": "4.3.4", + "contentHash": "aOa2d51SEbmM+H+Csw7yJOuNZoHkrP2XnAurye5HWYgGVVU54YZDvsLUYRv6h18X3sPnjNCANmN7ZhIPiqMcjA==", + "dependencies": { + "System.Security.Cryptography.X509Certificates": "4.3.0" + } + }, + "Microsoft.Bcl.AsyncInterfaces": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "UcSjPsst+DfAdJGVDsu346FX0ci0ah+lw3WRtn18NUwEqRt70HaOQ7lI72vy3+1LxtqI3T5GWwV39rQSrCzAeg==", + "dependencies": { + "System.Threading.Tasks.Extensions": "4.5.4" + } + }, + "Microsoft.NETFramework.ReferenceAssemblies.net461": { + "type": "Transitive", + "resolved": "1.0.0-preview.2", + "contentHash": "59D9ISjzCpfHG41r5x4BNZNNOCmE2o5YX8vcdOwsqfxOA0+6vQnxZrYq8KtthUU2JSvC13g941rSr5GRaNQOJg==" + }, + "SemanticVersioning": { + "type": "Transitive", + "resolved": "0.8.0", + "contentHash": "hUCnQL79hU0W6X4jPeMAtGDwoEJeBEZfGBnkT+jPG45lD7KHn4h61HgYN8y1HAjPrXmC5oJcLx3l8ygPJOqvlA==" + }, + "System.Buffers": { + "type": "Transitive", + "resolved": "4.5.1", + "contentHash": "Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==" + }, + "System.Memory": { + "type": "Transitive", + "resolved": "4.5.4", + "contentHash": "1MbJTHS1lZ4bS4FmsJjnuGJOu88ZzTT2rLvrhW7Ygic+pC0NWA+3hgAen0HRdsocuQXCkUTdFn9yHJJhsijDXw==", + "dependencies": { + "System.Buffers": "4.5.1", + "System.Numerics.Vectors": "4.5.0", + "System.Runtime.CompilerServices.Unsafe": "4.5.3" + } + }, + "System.Numerics.Vectors": { + "type": "Transitive", + "resolved": "4.5.0", + "contentHash": "QQTlPTl06J/iiDbJCiepZ4H//BVraReU4O4EoRw1U02H5TLUIT7xn3GnDp9AXPSlJUDyFs4uWjWafNX6WrAojQ==" + }, + "System.Runtime.CompilerServices.Unsafe": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" + }, + "System.Runtime.InteropServices.RuntimeInformation": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "cbz4YJMqRDR7oLeMRbdYv7mYzc++17lNhScCX0goO2XpGWdvAt60CGN+FHdePUEHCe/Jy9jUlvNAiNdM+7jsOw==" + }, + "System.Security.Cryptography.Algorithms": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "W1kd2Y8mYSCgc3ULTAZ0hOP2dSdG5YauTb1089T0/kRcN2MpSAW1izOFROrJgxSlMn3ArsgHXagigyi+ibhevg==", + "dependencies": { + "System.Security.Cryptography.Primitives": "4.3.0" + } + }, + "System.Security.Cryptography.Encoding": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "1DEWjZZly9ae9C79vFwqaO5kaOlI5q+3/55ohmq/7dpDyDfc8lYe7YVxJUZ5MF/NtbkRjwFRo14yM4OEo9EmDw==" + }, + "System.Security.Cryptography.Primitives": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "7bDIyVFNL/xKeFHjhobUAQqSpJq9YTOpbEs6mR233Et01STBMXNAc/V+BM6dwYGc95gVh/Zf+iVXWzj3mE8DWg==" + }, + "System.Security.Cryptography.X509Certificates": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "t2Tmu6Y2NtJ2um0RtcuhP7ZdNNxXEgUm2JeoA/0NvlMjAhKCnM1NX07TDl3244mVp3QU6LPEhT3HTtH1uF7IYw==", + "dependencies": { + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0" + } + }, + "System.Text.Encodings.Web": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "Vg8eB5Tawm1IFqj4TVK1czJX89rhFxJo9ELqc/Eiq0eXy13RK00eubyU6TJE6y+GQXjyV5gSfiewDUZjQgSE0w==", + "dependencies": { + "System.Buffers": "4.5.1", + "System.Memory": "4.5.4", + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "System.Text.Json": { + "type": "Transitive", + "resolved": "6.0.5", + "contentHash": "SSH+YYrMpvLcy7Orzb5K1tSyffnFacWahyxCCjYH1PbSHdAF4dekmIetBurFKgtTHDmwEe/J2Csi/7niRH6d/g==", + "dependencies": { + "Microsoft.Bcl.AsyncInterfaces": "6.0.0", + "System.Buffers": "4.5.1", + "System.Memory": "4.5.4", + "System.Numerics.Vectors": "4.5.0", + "System.Runtime.CompilerServices.Unsafe": "6.0.0", + "System.Text.Encodings.Web": "6.0.0", + "System.Threading.Tasks.Extensions": "4.5.4", + "System.ValueTuple": "4.5.0" + } + }, + "System.Threading.Tasks.Extensions": { + "type": "Transitive", + "resolved": "4.5.4", + "contentHash": "zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==", + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "4.5.3" + } + }, + "System.ValueTuple": { + "type": "Transitive", + "resolved": "4.5.0", + "contentHash": "okurQJO6NRE/apDIP23ajJ0hpiNmJ+f0BwOlB/cSqTLQlw5upkf+5+96+iG2Jw40G1fCVCyPz/FhIABUjMR+RQ==" + }, + "opensearch.stack.artifactsapi": { + "type": "Project", + "dependencies": { + "SemanticVersioning": "0.8.0", + "System.Net.Http": "4.3.4", + "System.Runtime.InteropServices.RuntimeInformation": "4.3.0", + "System.Text.Json": "6.0.5" + } + } + }, + ".NETStandard,Version=v2.0": { + "Microsoft.NETFramework.ReferenceAssemblies": { + "type": "Direct", + "requested": "[1.0.0-preview.2, )", + "resolved": "1.0.0-preview.2", + "contentHash": "m+pJPEO7HyXvrOna5Sr3s77ewXonjYWJTNL6drh8xACnMNxnlqUDKx9HfGeSE9wmfY0lQwppaeZpFTPGaH7kZg==" + }, + "NETStandard.Library": { + "type": "Direct", + "requested": "[2.0.3, )", + "resolved": "2.0.3", + "contentHash": "st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0" + } + }, + "Proc": { + "type": "Direct", + "requested": "[0.6.1, )", + "resolved": "0.6.1", + "contentHash": "xRSCfgQNoGy60MOuvD2X1euzqvWDoyfpB8NAfVs2E5K5U1I8cA9MvVY6NbUkp5ApbOmVXls2JEPrOn8rQi2Pzg==", + "dependencies": { + "System.Diagnostics.Process": "[4.3.0]", + "System.Threading.Thread": "[4.3.0]" + } + }, + "System.Net.Http": { + "type": "Direct", + "requested": "[4.3.4, )", + "resolved": "4.3.4", + "contentHash": "aOa2d51SEbmM+H+Csw7yJOuNZoHkrP2XnAurye5HWYgGVVU54YZDvsLUYRv6h18X3sPnjNCANmN7ZhIPiqMcjA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.1", + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Diagnostics.DiagnosticSource": "4.3.0", + "System.Diagnostics.Tracing": "4.3.0", + "System.Globalization": "4.3.0", + "System.Globalization.Extensions": "4.3.0", + "System.IO": "4.3.0", + "System.IO.FileSystem": "4.3.0", + "System.Net.Primitives": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.OpenSsl": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Security.Cryptography.X509Certificates": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading": "4.3.0", + "System.Threading.Tasks": "4.3.0", + "runtime.native.System": "4.3.0", + "runtime.native.System.Net.Http": "4.3.0", + "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2" + } + }, + "Microsoft.Bcl.AsyncInterfaces": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "UcSjPsst+DfAdJGVDsu346FX0ci0ah+lw3WRtn18NUwEqRt70HaOQ7lI72vy3+1LxtqI3T5GWwV39rQSrCzAeg==", + "dependencies": { + "System.Threading.Tasks.Extensions": "4.5.4" + } + }, + "Microsoft.NETCore.Platforms": { + "type": "Transitive", + "resolved": "1.1.1", + "contentHash": "TMBuzAHpTenGbGgk0SMTwyEkyijY/Eae4ZGsFNYJvAr/LDn1ku3Etp3FPxChmDp5HHF3kzJuoaa08N0xjqAJfQ==" + }, + "Microsoft.NETCore.Targets": { + "type": "Transitive", + "resolved": "1.1.0", + "contentHash": "aOZA3BWfz9RXjpzt0sRJJMjAscAUm3Hoa4UWAfceV9UTYxgwZ1lZt5nO2myFf+/jetYQo4uTP7zS8sJY67BBxg==" + }, + "Microsoft.Win32.Primitives": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "9ZQKCWxH7Ijp9BfahvL2Zyf1cJIk8XYLF6Yjzr2yi0b2cOut/HQ31qf1ThHAgCc3WiZMdnWcfJCgN82/0UunxA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "Microsoft.Win32.Registry": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "Lw1/VwLH1yxz6SfFEjVRCN0pnflLEsWgnV4qsdJ512/HhTwnKXUG+zDQ4yTO3K/EJQemGoNaBHX5InISNKTzUQ==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.Collections": "4.3.0", + "System.Globalization": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0" + } + }, + "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "7VSGO0URRKoMEAq0Sc9cRz8mb6zbyx/BZDEWhgPdzzpmFhkam3fJ1DAGWFXBI4nGlma+uPKpfuMQP5LXRnOH5g==" + }, + "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "0oAaTAm6e2oVH+/Zttt0cuhGaePQYKII1dY8iaqP7CvOpVKgLybKRFvQjXR2LtxXOXTVPNv14j0ot8uV+HrUmw==" + }, + "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "G24ibsCNi5Kbz0oXWynBoRgtGvsw5ZSVEWjv13/KiCAM8C6wz9zzcCniMeQFIkJ2tasjo2kXlvlBZhplL51kGg==" + }, + "runtime.native.System": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "c/qWt2LieNZIj1jGnVNsE2Kl23Ya2aSTBuXMD6V7k9KWr6l16Tqdwq+hJScEpWER9753NWC8h96PaVNY5Ld7Jw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0" + } + }, + "runtime.native.System.Net.Http": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "ZVuZJqnnegJhd2k/PtAbbIcZ3aZeITq3sj06oKfMBSfphW3HDmk/t4ObvbOk/JA/swGR0LNqMksAh/f7gpTROg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0" + } + }, + "runtime.native.System.Security.Cryptography.Apple": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "DloMk88juo0OuOWr56QG7MNchmafTLYWvABy36izkrLI5VledI0rq28KGs1i9wbpeT9NPQrx/wTf8U2vazqQ3Q==", + "dependencies": { + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "4.3.0" + } + }, + "runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "QR1OwtwehHxSeQvZKXe+iSd+d3XZNkEcuWMFYa2i0aG1l+lR739HPicKMlTbJst3spmeekDVBUS7SeS26s4U/g==", + "dependencies": { + "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2" + } + }, + "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "I+GNKGg2xCHueRd1m9PzeEW7WLbNNLznmTuEi8/vZX71HudUbx1UTwlGkiwMri7JLl8hGaIAWnA/GONhu+LOyQ==" + }, + "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "1Z3TAq1ytS1IBRtPXJvEUZdVsfWfeNEhBkbiOCGEl9wwAfsjP2lz3ZFDx5tq8p60/EqbS0HItG5piHuB71RjoA==" + }, + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "kVXCuMTrTlxq4XOOMAysuNwsXWpYeboGddNGpIgNSZmv1b6r/s/DPk0fYMB7Q5Qo4bY68o48jt4T4y5BVecbCQ==" + }, + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "6mU/cVmmHtQiDXhnzUImxIcDL48GbTk+TsptXyJA+MIOG9LRjPoAQC/qBFB7X+UNyK86bmvGwC8t+M66wsYC8w==" + }, + "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "vjwG0GGcTW/PPg6KVud8F9GLWYuAV1rrw1BKAqY0oh4jcUqg15oYF1+qkGR2x2ZHM4DQnWKQ7cJgYbfncz/lYg==" + }, + "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "7KMFpTkHC/zoExs+PwP8jDCWcrK9H6L7soowT80CUx3e+nxP/AFnq0AQAW5W76z2WYbLAYCRyPfwYFG6zkvQRw==" + }, + "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "xrlmRCnKZJLHxyyLIqkZjNXqgxnKdZxfItrPkjI+6pkRo5lHX8YvSZlWrSI5AVwLMi4HbNWP7064hcAWeZKp5w==" + }, + "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "leXiwfiIkW7Gmn7cgnNcdtNAU70SjmKW3jxGj1iKHOvdn0zRWsgv/l2OJUO5zdGdiv2VRFnAsxxhDgMzofPdWg==" + }, + "SemanticVersioning": { + "type": "Transitive", + "resolved": "0.8.0", + "contentHash": "hUCnQL79hU0W6X4jPeMAtGDwoEJeBEZfGBnkT+jPG45lD7KHn4h61HgYN8y1HAjPrXmC5oJcLx3l8ygPJOqvlA==", + "dependencies": { + "NETStandard.Library": "1.6.0" + } + }, + "System.Buffers": { + "type": "Transitive", + "resolved": "4.5.1", + "contentHash": "Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==" + }, + "System.Collections": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "3Dcj85/TBdVpL5Zr+gEEBUuFe2icOnLalmEh9hfck1PTYbbyWuZgh4fmm2ysCLTrqLQw6t3TgTyJ+VLp+Qb+Lw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Collections.Concurrent": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "ztl69Xp0Y/UXCL+3v3tEU+lIy+bvjKNUmopn1wep/a291pVPK7dxBd6T7WnlQqRog+d1a/hSsgRsmFnIBKTPLQ==", + "dependencies": { + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Diagnostics.Tracing": "4.3.0", + "System.Globalization": "4.3.0", + "System.Reflection": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Threading": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.Diagnostics.Debug": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "ZUhUOdqmaG5Jk3Xdb8xi5kIyQYAA4PnTNlHx1mu9ZY3qv4ELIdKbnL/akbGaKi2RnNUWaZsAs31rvzFdewTj2g==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Diagnostics.DiagnosticSource": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "tD6kosZnTAGdrEa0tZSuFyunMbt/5KYDnHdndJYGqZoNy00XVXyACd5d6KnE1YgYv3ne2CjtAfNXo/fwEhnKUA==", + "dependencies": { + "System.Collections": "4.3.0", + "System.Diagnostics.Tracing": "4.3.0", + "System.Reflection": "4.3.0", + "System.Runtime": "4.3.0", + "System.Threading": "4.3.0" + } + }, + "System.Diagnostics.Process": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "J0wOX07+QASQblsfxmIMFc9Iq7KTXYL3zs2G/Xc704Ylv3NpuVdo6gij6V3PGiptTxqsK0K7CdXenRvKUnkA2g==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.Win32.Primitives": "4.3.0", + "Microsoft.Win32.Registry": "4.3.0", + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Globalization": "4.3.0", + "System.IO": "4.3.0", + "System.IO.FileSystem": "4.3.0", + "System.IO.FileSystem.Primitives": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Text.Encoding.Extensions": "4.3.0", + "System.Threading": "4.3.0", + "System.Threading.Tasks": "4.3.0", + "System.Threading.Thread": "4.3.0", + "System.Threading.ThreadPool": "4.3.0", + "runtime.native.System": "4.3.0" + } + }, + "System.Diagnostics.Tracing": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "rswfv0f/Cqkh78rA5S8eN8Neocz234+emGCtTF3lxPY96F+mmmUen6tbn0glN6PMvlKQb9bPAY5e9u7fgPTkKw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Globalization": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "kYdVd2f2PAdFGblzFswE4hkNANJBKRmsfa2X5LG2AcWE1c7/4t0pYae1L8vfZ5xvE2nK/R9JprtToA61OSHWIg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Globalization.Calendars": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "GUlBtdOWT4LTV3I+9/PJW+56AnnChTaOqqTLFtdmype/L500M2LIyXgmtd9X2P2VOkmJd5c67H5SaC2QcL1bFA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Globalization": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Globalization.Extensions": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "FhKmdR6MPG+pxow6wGtNAWdZh7noIOpdD5TwQ3CprzgIE1bBBoim0vbR1+AWsWjQmU7zXHgQo4TWSP6lCeiWcQ==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.Globalization": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.InteropServices": "4.3.0" + } + }, + "System.IO": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "3qjaHvxQPDpSOYICjUoTsmoq5u6QJAFRUITgeT/4gqkF1bajbSmb1kwSxEA8AHlofqgcKJcM8udgieRNhaJ5Cg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.IO.FileSystem": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "3wEMARTnuio+ulnvi+hkRNROYwa1kylvYahhcLk4HSoVdl+xxTFVeVlYOfLwrDPImGls0mDqbMhrza8qnWPTdA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.IO": "4.3.0", + "System.IO.FileSystem.Primitives": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.IO.FileSystem.Primitives": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "6QOb2XFLch7bEc4lIcJH49nJN2HV+OC3fHDgsLVsBVBk3Y4hFAnOBGzJ2lUu7CyDDFo9IBWkSsnbkT6IBwwiMw==", + "dependencies": { + "System.Runtime": "4.3.0" + } + }, + "System.Linq": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "5DbqIUpsDp0dFftytzuMmc0oeMdQwjcP/EWxsksIz/w1TcFRkZ3yKKz0PqiYFMmEwPSWw+qNVqD7PJ889JzHbw==", + "dependencies": { + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0" + } + }, + "System.Memory": { + "type": "Transitive", + "resolved": "4.5.4", + "contentHash": "1MbJTHS1lZ4bS4FmsJjnuGJOu88ZzTT2rLvrhW7Ygic+pC0NWA+3hgAen0HRdsocuQXCkUTdFn9yHJJhsijDXw==", + "dependencies": { + "System.Buffers": "4.5.1", + "System.Numerics.Vectors": "4.4.0", + "System.Runtime.CompilerServices.Unsafe": "4.5.3" + } + }, + "System.Net.Primitives": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "qOu+hDwFwoZPbzPvwut2qATe3ygjeQBDQj91xlsaqGFQUI5i4ZnZb8yyQuLGpDGivEPIt8EJkd1BVzVoP31FXA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0", + "System.Runtime.Handles": "4.3.0" + } + }, + "System.Numerics.Vectors": { + "type": "Transitive", + "resolved": "4.5.0", + "contentHash": "QQTlPTl06J/iiDbJCiepZ4H//BVraReU4O4EoRw1U02H5TLUIT7xn3GnDp9AXPSlJUDyFs4uWjWafNX6WrAojQ==" + }, + "System.Reflection": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "KMiAFoW7MfJGa9nDFNcfu+FpEdiHpWgTcS2HdMpDvt9saK3y/G4GwprPyzqjFH9NTaGPQeWNHU+iDlDILj96aQ==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.IO": "4.3.0", + "System.Reflection.Primitives": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Reflection.Extensions": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "rJkrJD3kBI5B712aRu4DpSIiHRtr6QlfZSQsb0hYHrDCZORXCFjQfoipo2LaMUHoT9i1B7j7MnfaEKWDFmFQNQ==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Reflection": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Reflection.Primitives": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "5RXItQz5As4xN2/YUDxdpsEkMhvw3e6aNveFXUn4Hl/udNTCNhnKp8lT9fnc3MhvGKh1baak5CovpuQUXHAlIA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Resources.ResourceManager": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "/zrcPkkWdZmI4F92gL/TPumP98AVDu/Wxr3CSJGQQ+XN6wbRZcyfSKVoPo17ilb3iOr0cCRqJInGwNMolqhS8A==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Globalization": "4.3.0", + "System.Reflection": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Runtime": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "JufQi0vPQ0xGnAczR13AUFglDyVYt4Kqnz1AZaiKZ5+GICq0/1MH/mO/eAJHt/mHW1zjKBJd7kV26SrxddAhiw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0" + } + }, + "System.Runtime.CompilerServices.Unsafe": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" + }, + "System.Runtime.Extensions": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "guW0uK0fn5fcJJ1tJVXYd7/1h5F+pea1r7FLSOz/f8vPEqbR2ZAknuRDvTQ8PzAilDveOxNjSfr0CHfIQfFk8g==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Runtime.Handles": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "OKiSUN7DmTWeYb3l51A7EYaeNMnvxwE249YtZz7yooT4gOZhmTjIn48KgSsw2k2lYdLgTKNJw/ZIfSElwDRVgg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Runtime.InteropServices": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "uv1ynXqiMK8mp1GM3jDqPCFN66eJ5w5XNomaK2XD+TuCroNTLFGeZ+WCmBMcBDyTFKou3P6cR6J/QsaqDp7fGQ==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Reflection": "4.3.0", + "System.Reflection.Primitives": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Handles": "4.3.0" + } + }, + "System.Runtime.InteropServices.RuntimeInformation": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "cbz4YJMqRDR7oLeMRbdYv7mYzc++17lNhScCX0goO2XpGWdvAt60CGN+FHdePUEHCe/Jy9jUlvNAiNdM+7jsOw==", + "dependencies": { + "System.Reflection": "4.3.0", + "System.Reflection.Extensions": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Threading": "4.3.0", + "runtime.native.System": "4.3.0" + } + }, + "System.Runtime.Numerics": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "yMH+MfdzHjy17l2KESnPiF2dwq7T+xLnSJar7slyimAkUh/gTrS9/UQOtv7xarskJ2/XDSNvfLGOBQPjL7PaHQ==", + "dependencies": { + "System.Globalization": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0" + } + }, + "System.Security.Cryptography.Algorithms": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "W1kd2Y8mYSCgc3ULTAZ0hOP2dSdG5YauTb1089T0/kRcN2MpSAW1izOFROrJgxSlMn3ArsgHXagigyi+ibhevg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.Collections": "4.3.0", + "System.IO": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Runtime.Numerics": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0", + "runtime.native.System.Security.Cryptography.Apple": "4.3.0", + "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" + } + }, + "System.Security.Cryptography.Cng": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "03idZOqFlsKRL4W+LuCpJ6dBYDUWReug6lZjBa3uJWnk5sPCUXckocevTaUA8iT/MFSrY/2HXkOt753xQ/cf8g==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.IO": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0" + } + }, + "System.Security.Cryptography.Csp": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "X4s/FCkEUnRGnwR3aSfVIkldBmtURMhmexALNTwpjklzxWU7yjMk7GHLKOZTNkgnWnE0q7+BCf9N2LVRWxewaA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.IO": "4.3.0", + "System.Reflection": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading": "4.3.0" + } + }, + "System.Security.Cryptography.Encoding": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "1DEWjZZly9ae9C79vFwqaO5kaOlI5q+3/55ohmq/7dpDyDfc8lYe7YVxJUZ5MF/NtbkRjwFRo14yM4OEo9EmDw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.Collections": "4.3.0", + "System.Collections.Concurrent": "4.3.0", + "System.Linq": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0", + "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" + } + }, + "System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "h4CEgOgv5PKVF/HwaHzJRiVboL2THYCou97zpmhjghx5frc7fIvlkY1jL+lnIQyChrJDMNEXS6r7byGif8Cy4w==", + "dependencies": { + "System.Collections": "4.3.0", + "System.IO": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Runtime.Numerics": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0", + "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" + } + }, + "System.Security.Cryptography.Primitives": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "7bDIyVFNL/xKeFHjhobUAQqSpJq9YTOpbEs6mR233Et01STBMXNAc/V+BM6dwYGc95gVh/Zf+iVXWzj3mE8DWg==", + "dependencies": { + "System.Diagnostics.Debug": "4.3.0", + "System.Globalization": "4.3.0", + "System.IO": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Threading": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.Security.Cryptography.X509Certificates": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "t2Tmu6Y2NtJ2um0RtcuhP7ZdNNxXEgUm2JeoA/0NvlMjAhKCnM1NX07TDl3244mVp3QU6LPEhT3HTtH1uF7IYw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Globalization": "4.3.0", + "System.Globalization.Calendars": "4.3.0", + "System.IO": "4.3.0", + "System.IO.FileSystem": "4.3.0", + "System.IO.FileSystem.Primitives": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Runtime.Numerics": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Cng": "4.3.0", + "System.Security.Cryptography.Csp": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.OpenSsl": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading": "4.3.0", + "runtime.native.System": "4.3.0", + "runtime.native.System.Net.Http": "4.3.0", + "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" + } + }, + "System.Text.Encoding": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "BiIg+KWaSDOITze6jGQynxg64naAPtqGHBwDrLaCtixsa5bKiR8dpPOHA7ge3C0JJQizJE+sfkz1wV+BAKAYZw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Text.Encoding.Extensions": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "YVMK0Bt/A43RmwizJoZ22ei2nmrhobgeiYwFzC4YAN+nue8RF6djXDMog0UCn+brerQoYVyaS+ghy9P/MUVcmw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0", + "System.Text.Encoding": "4.3.0" + } + }, + "System.Text.Encodings.Web": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "Vg8eB5Tawm1IFqj4TVK1czJX89rhFxJo9ELqc/Eiq0eXy13RK00eubyU6TJE6y+GQXjyV5gSfiewDUZjQgSE0w==", + "dependencies": { + "System.Buffers": "4.5.1", + "System.Memory": "4.5.4", + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "System.Text.Json": { + "type": "Transitive", + "resolved": "6.0.5", + "contentHash": "SSH+YYrMpvLcy7Orzb5K1tSyffnFacWahyxCCjYH1PbSHdAF4dekmIetBurFKgtTHDmwEe/J2Csi/7niRH6d/g==", + "dependencies": { + "Microsoft.Bcl.AsyncInterfaces": "6.0.0", + "System.Buffers": "4.5.1", + "System.Memory": "4.5.4", + "System.Numerics.Vectors": "4.5.0", + "System.Runtime.CompilerServices.Unsafe": "6.0.0", + "System.Text.Encodings.Web": "6.0.0", + "System.Threading.Tasks.Extensions": "4.5.4" + } + }, + "System.Threading": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "VkUS0kOBcUf3Wwm0TSbrevDDZ6BlM+b/HRiapRFWjM5O0NS0LviG0glKmFK+hhPDd1XFeSdU1GmlLhb2CoVpIw==", + "dependencies": { + "System.Runtime": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.Threading.Tasks": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "LbSxKEdOUhVe8BezB/9uOGGppt+nZf6e1VFyw6v3DN6lqitm0OSn2uXMOdtP0M3W4iMcqcivm2J6UgqiwwnXiA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Threading.Tasks.Extensions": { + "type": "Transitive", + "resolved": "4.5.4", + "contentHash": "zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==", + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "4.5.3" + } + }, + "System.Threading.Thread": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "OHmbT+Zz065NKII/ZHcH9XO1dEuLGI1L2k7uYss+9C1jLxTC9kTZZuzUOyXHayRk+dft9CiDf3I/QZ0t8JKyBQ==", + "dependencies": { + "System.Runtime": "4.3.0" + } + }, + "System.Threading.ThreadPool": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "k/+g4b7vjdd4aix83sTgC9VG6oXYKAktSfNIJUNGxPEj7ryEOfzHHhfnmsZvjxawwcD9HyWXKCXmPjX8U4zeSw==", + "dependencies": { + "System.Runtime": "4.3.0", + "System.Runtime.Handles": "4.3.0" + } + }, + "opensearch.stack.artifactsapi": { + "type": "Project", + "dependencies": { + "SemanticVersioning": "0.8.0", + "System.Net.Http": "4.3.4", + "System.Runtime.InteropServices.RuntimeInformation": "4.3.0", + "System.Text.Json": "6.0.5" + } + } + } + } +} \ No newline at end of file diff --git a/abstractions/src/OpenSearch.OpenSearch.Xunit/OpenSearch.OpenSearch.Xunit.csproj b/abstractions/src/OpenSearch.OpenSearch.Xunit/OpenSearch.OpenSearch.Xunit.csproj new file mode 100644 index 0000000000..565ce08a9a --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Xunit/OpenSearch.OpenSearch.Xunit.csproj @@ -0,0 +1,16 @@ + + + + netstandard2.0;net461 + Provides an Xunit test framework allowing you to run integration tests against local ephemeral OpenSearch clusters + false + + true + + + + + + + + diff --git a/abstractions/src/OpenSearch.OpenSearch.Xunit/OpenSearchXunitConfigurationAttribute.cs b/abstractions/src/OpenSearch.OpenSearch.Xunit/OpenSearchXunitConfigurationAttribute.cs new file mode 100644 index 0000000000..4efb622b98 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Xunit/OpenSearchXunitConfigurationAttribute.cs @@ -0,0 +1,57 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; + +namespace OpenSearch.OpenSearch.Xunit +{ + /// + /// An assembly attribute that specifies the + /// for Xunit tests within the assembly. + /// + [AttributeUsage(AttributeTargets.Assembly)] + public class OpenSearchXunitConfigurationAttribute : Attribute + { + /// + /// Creates a new instance of + /// + /// + /// A type deriving from that specifies the run options + /// + public OpenSearchXunitConfigurationAttribute(Type type) + { + var options = Activator.CreateInstance(type) as OpenSearchXunitRunOptions; + Options = options ?? new OpenSearchXunitRunOptions(); + } + + /// + /// The run options + /// + public OpenSearchXunitRunOptions Options { get; } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Xunit/OpenSearchXunitRunOptions.cs b/abstractions/src/OpenSearch.OpenSearch.Xunit/OpenSearchXunitRunOptions.cs new file mode 100644 index 0000000000..ff841b76c3 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Xunit/OpenSearchXunitRunOptions.cs @@ -0,0 +1,97 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.Collections.Concurrent; +using System.Collections.Generic; +using System.Diagnostics; +using OpenSearch.OpenSearch.Xunit.XunitPlumbing; +using OpenSearch.Stack.ArtifactsApi; + +namespace OpenSearch.OpenSearch.Xunit +{ + /// + /// The Xunit test runner options + /// + public class OpenSearchXunitRunOptions + { + /// + /// Informs the runner whether we expect to run integration tests. Defaults to true + /// + public bool RunIntegrationTests { get; set; } = true; + + /// + /// Setting this to true will assume the cluster that is currently running was started for the purpose of these tests + /// Defaults to false + /// + public bool IntegrationTestsMayUseAlreadyRunningNode { get; set; } = false; + + /// + /// Informs the runner whether unit tests will be run. Defaults to false. + /// If set to true and is false, the runner will run all the + /// tests in parallel with the maximum degree of parallelism + /// + public bool RunUnitTests { get; set; } + + /// + /// A global test filter that can be used to only run certain tests. + /// Accepts a comma separated list of filters + /// + public string TestFilter { get; set; } + + /// + /// A global cluster filter that can be used to only run certain cluster's tests. + /// Accepts a comma separated list of filters + /// + public string ClusterFilter { get; set; } + + /// + /// Informs the runner what version of OpenSearch is under test. Required for + /// to kick in + /// + public OpenSearchVersion Version { get; set; } + + /// + /// Called when the tests have finished running successfully + /// + /// Per cluster timings of the total test time, including starting OpenSearch + /// All collection of failed cluster, failed tests tuples + public virtual void OnTestsFinished(Dictionary runnerClusterTotals, + ConcurrentBag> runnerFailedCollections) + { + } + + /// + /// Called before tests run. An ideal place to perform actions such as writing information to + /// . + /// + public virtual void OnBeforeTestsRun() + { + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Xunit/OpenSearchXunitRunner.cs b/abstractions/src/OpenSearch.OpenSearch.Xunit/OpenSearchXunitRunner.cs new file mode 100644 index 0000000000..b9ba0fec81 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Xunit/OpenSearchXunitRunner.cs @@ -0,0 +1,37 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using OpenSearch.OpenSearch.Ephemeral; + +namespace OpenSearch.OpenSearch.Xunit +{ + public static class OpenSearchXunitRunner + { + public static IEphemeralCluster CurrentCluster { get; internal set; } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Xunit/PrintXunitAfterStartedTask.cs b/abstractions/src/OpenSearch.OpenSearch.Xunit/PrintXunitAfterStartedTask.cs new file mode 100644 index 0000000000..eea8e4f381 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Xunit/PrintXunitAfterStartedTask.cs @@ -0,0 +1,47 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using OpenSearch.OpenSearch.Ephemeral; +using OpenSearch.OpenSearch.Ephemeral.Tasks; +using OpenSearch.OpenSearch.Managed.ConsoleWriters; + +namespace OpenSearch.OpenSearch.Xunit +{ + /// + /// A task that writes a diagnostic message to indicate that tests will now run + /// + public class PrintXunitAfterStartedTask : ClusterComposeTask + { + /// + public override void Run(IEphemeralCluster cluster) + { + var name = cluster.GetType().Name; + cluster.Writer.WriteDiagnostic($"All good! kicking off [{name}] tests now"); + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Xunit/README.md b/abstractions/src/OpenSearch.OpenSearch.Xunit/README.md new file mode 100644 index 0000000000..5177cd4268 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Xunit/README.md @@ -0,0 +1,104 @@ +# OpenSearch.OpenSearch.Xunit + +Write integration tests against OpenSearch. +Works with `.NET Core` and `.NET 4.6` and up. + +Supports `dotnet xunit`, `dotnet test`, `xunit.console.runner` and tests will be runnable in your IDE through VSTest and jetBrains Rider. + + +## Getting started + +**NOTE:** `OpenSearch.Xunit` supports both .NET core and Full Framework 4.6 and up. The getting started uses the new csproj +from core but you can also use a full framework project. + +### Create a class library project + +```xml + + + netcoreapp3.0 + + + + + + + + + + + +``` + +### Use OpenSearch.OpenSearch.Xunit's test framework + +Add the following Assembly attribute anywhere in your project. This informs Xunit to use our +test framework to orchestrate and discover the tests. + +```csharp +[assembly: Xunit.TestFrameworkAttribute("OpenSearch.OpenSearch.Xunit.Sdk.OpenSearchTestFramework", "OpenSearch.OpenSearch.Xunit")] +``` + +### Create a cluster + +This is the cluster that we'll write our integration test against. You can have multiple cluster. +`OpenSearch.OpenSearch.Xunit` will only ever start one cluster at a time and then run all tests belonging to that cluster. + +```csharp +/// Declare our cluster that we want to inject into our test classes +public class MyTestCluster : XunitClusterBase +{ + /// + /// We pass our configuration instance to the base class. + /// We only configure it to run version 1.0.0 here but lots of additional options are available. + /// + public MyTestCluster() : base(new XunitClusterConfiguration("1.0.0")) { } +} +``` + +### Create a test class + +```csharp +public class ExampleTest : IClusterFixture +{ + public ExampleTest(MyTestCluster cluster) + { + // This registers a single client for the whole clusters lifetime to be reused and shared. + // we do not expose Client on the passed cluster directly for two reasons + // + // 1) We do not want to prescribe how to new up the client + // + // 2) We do not want OpenSearch.Xunit to depend on OSC. OpenSearch.Xunit can start clusters + // and OSC Major.x is only tested and supported against OpenSearch Major.x. + // + this.Client = cluster.GetOrAddClient(c => + { + var nodes = cluster.NodesUris(); + var connectionPool = new StaticConnectionPool(nodes); + var settings = new ConnectionSettings(connectionPool) + .EnableDebugMode(); + return new OpenSearchClient(settings); + ); + } + + private OpenSearchClient Client { get; } + + /// [I] marks an integration test (like [Fact] would for plain Xunit) + [I] public void SomeTest() + { + var rootNodeInfo = this.Client.RootNodeInfo(); + + rootNodeInfo.Name.Should().NotBeNullOrEmpty(); + } +} + +``` + +### Run your integration tests! + +![jetBrains rider integration](ide-integration.png) + +Or on the command line using `dotnet test` + +![sample output](output.gif) + diff --git a/abstractions/src/OpenSearch.OpenSearch.Xunit/Sdk/ForEachAsyncExtensions.cs b/abstractions/src/OpenSearch.OpenSearch.Xunit/Sdk/ForEachAsyncExtensions.cs new file mode 100644 index 0000000000..8e2f4c61ff --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Xunit/Sdk/ForEachAsyncExtensions.cs @@ -0,0 +1,49 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.Collections.Concurrent; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; + +namespace OpenSearch.OpenSearch.Xunit.Sdk +{ + internal static class ForEachAsyncExtensions + { + internal static Task ForEachAsync(this IEnumerable source, int dop, Func body) => + Task.WhenAll( + from partition in Partitioner.Create(source).GetPartitions(dop) + select Task.Run(async delegate + { + using (partition) + while (partition.MoveNext()) + await body(partition.Current).ConfigureAwait(false); + })); + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Xunit/Sdk/OpenSearchTestFramework.cs b/abstractions/src/OpenSearch.OpenSearch.Xunit/Sdk/OpenSearchTestFramework.cs new file mode 100644 index 0000000000..621b6f0d84 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Xunit/Sdk/OpenSearchTestFramework.cs @@ -0,0 +1,56 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System.Reflection; +using Xunit.Abstractions; +using Xunit.Sdk; + +namespace OpenSearch.OpenSearch.Xunit.Sdk +{ + public class OpenSearchTestFramework : XunitTestFramework + { + public OpenSearchTestFramework(IMessageSink messageSink) : base(messageSink) + { + } + + protected override ITestFrameworkDiscoverer CreateDiscoverer(IAssemblyInfo assemblyInfo) => + new OpenSearchTestFrameworkDiscoverer(assemblyInfo, SourceInformationProvider, DiagnosticMessageSink); + + protected override ITestFrameworkExecutor CreateExecutor(AssemblyName assemblyName) + { + var assembly = Assembly.Load(assemblyName); + var options = assembly.GetCustomAttribute()?.Options ?? + new OpenSearchXunitRunOptions(); + + return new TestFrameworkExecutor(assemblyName, SourceInformationProvider, DiagnosticMessageSink) + { + Options = options + }; + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Xunit/Sdk/OpenSearchTestFrameworkDiscoverer.cs b/abstractions/src/OpenSearch.OpenSearch.Xunit/Sdk/OpenSearchTestFrameworkDiscoverer.cs new file mode 100644 index 0000000000..b59692b347 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Xunit/Sdk/OpenSearchTestFrameworkDiscoverer.cs @@ -0,0 +1,65 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System.Reflection; +using Xunit.Abstractions; +using Xunit.Sdk; + +namespace OpenSearch.OpenSearch.Xunit.Sdk +{ + public class OpenSearchTestFrameworkDiscoverer : XunitTestFrameworkDiscoverer + { + public OpenSearchTestFrameworkDiscoverer(IAssemblyInfo assemblyInfo, ISourceInformationProvider sourceProvider, + IMessageSink diagnosticMessageSink, IXunitTestCollectionFactory collectionFactory = null) : base( + assemblyInfo, sourceProvider, diagnosticMessageSink, collectionFactory) + { + var a = Assembly.Load(new AssemblyName(assemblyInfo.Name)); + var options = a.GetCustomAttribute()?.Options ?? + new OpenSearchXunitRunOptions(); + Options = options; + } + + /// + /// The options for + /// + public OpenSearchXunitRunOptions Options { get; } + + protected override bool FindTestsForType(ITestClass testClass, bool includeSourceInformation, + IMessageBus messageBus, ITestFrameworkDiscoveryOptions discoveryOptions) + { + discoveryOptions.SetValue(nameof(OpenSearchXunitRunOptions.Version), Options.Version); + discoveryOptions.SetValue(nameof(OpenSearchXunitRunOptions.RunIntegrationTests), Options.RunIntegrationTests); + discoveryOptions.SetValue(nameof(OpenSearchXunitRunOptions.IntegrationTestsMayUseAlreadyRunningNode), + Options.IntegrationTestsMayUseAlreadyRunningNode); + discoveryOptions.SetValue(nameof(OpenSearchXunitRunOptions.RunUnitTests), Options.RunUnitTests); + discoveryOptions.SetValue(nameof(OpenSearchXunitRunOptions.TestFilter), Options.TestFilter); + discoveryOptions.SetValue(nameof(OpenSearchXunitRunOptions.ClusterFilter), Options.ClusterFilter); + return base.FindTestsForType(testClass, includeSourceInformation, messageBus, discoveryOptions); + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Xunit/Sdk/TestAssemblyRunner.cs b/abstractions/src/OpenSearch.OpenSearch.Xunit/Sdk/TestAssemblyRunner.cs new file mode 100644 index 0000000000..1b8f46420b --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Xunit/Sdk/TestAssemblyRunner.cs @@ -0,0 +1,307 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.Collections.Concurrent; +using System.Collections.Generic; +using System.Diagnostics; +using System.Linq; +using System.Reflection; +using System.Threading; +using System.Threading.Tasks; +using OpenSearch.OpenSearch.Ephemeral; +using OpenSearch.OpenSearch.Ephemeral.Tasks.ValidationTasks; +using OpenSearch.OpenSearch.Xunit.XunitPlumbing; +using Xunit.Abstractions; +using Xunit.Sdk; + +namespace OpenSearch.OpenSearch.Xunit.Sdk +{ + internal class TestAssemblyRunner : XunitTestAssemblyRunner + { + private readonly Dictionary> _assemblyFixtureMappings = + new Dictionary>(); + + private readonly List, GroupedByCluster>> _grouped; + + public TestAssemblyRunner(ITestAssembly testAssembly, + IEnumerable testCases, + IMessageSink diagnosticMessageSink, + IMessageSink executionMessageSink, + ITestFrameworkExecutionOptions executionOptions) + : base(testAssembly, testCases, diagnosticMessageSink, executionMessageSink, executionOptions) + { + var tests = OrderTestCollections(); + RunIntegrationTests = executionOptions.GetValue(nameof(OpenSearchXunitRunOptions.RunIntegrationTests)); + IntegrationTestsMayUseAlreadyRunningNode = + executionOptions.GetValue(nameof(OpenSearchXunitRunOptions + .IntegrationTestsMayUseAlreadyRunningNode)); + RunUnitTests = executionOptions.GetValue(nameof(OpenSearchXunitRunOptions.RunUnitTests)); + TestFilter = executionOptions.GetValue(nameof(OpenSearchXunitRunOptions.TestFilter)); + ClusterFilter = executionOptions.GetValue(nameof(OpenSearchXunitRunOptions.ClusterFilter)); + + //bit side effecty, sets up _assemblyFixtureMappings before possibly letting xunit do its regular concurrency thing + _grouped = (from c in tests + let cluster = ClusterFixture(c.Item2.First().TestMethod.TestClass) + let testcase = new GroupedByCluster {Collection = c.Item1, TestCases = c.Item2, Cluster = cluster} + group testcase by testcase.Cluster + into g + orderby g.Count() descending + select g).ToList(); + } + + public ConcurrentBag Summaries { get; } = new ConcurrentBag(); + + public ConcurrentBag> FailedCollections { get; } = + new ConcurrentBag>(); + + public Dictionary ClusterTotals { get; } = new Dictionary(); + + private bool RunIntegrationTests { get; } + private bool IntegrationTestsMayUseAlreadyRunningNode { get; } + private bool RunUnitTests { get; } + private string TestFilter { get; } + private string ClusterFilter { get; } + + protected override Task RunTestCollectionAsync(IMessageBus b, ITestCollection c, + IEnumerable t, CancellationTokenSource s) + { + var aggregator = new ExceptionAggregator(Aggregator); + var fixtureObjects = new Dictionary(); + foreach (var kv in _assemblyFixtureMappings) fixtureObjects.Add(kv.Key, kv.Value); + return new TestCollectionRunner(fixtureObjects, c, t, DiagnosticMessageSink, b, TestCaseOrderer, aggregator, + s) + .RunAsync(); + } + + protected override async Task RunTestCollectionsAsync(IMessageBus messageBus, + CancellationTokenSource cancellationTokenSource) + { + //threading guess + var defaultMaxConcurrency = Environment.ProcessorCount * 4; + + if (RunUnitTests && !RunIntegrationTests) + return await UnitTestPipeline(defaultMaxConcurrency, messageBus, cancellationTokenSource) + .ConfigureAwait(false); + + return await IntegrationPipeline(defaultMaxConcurrency, messageBus, cancellationTokenSource) + .ConfigureAwait(false); + } + + + private async Task UnitTestPipeline(int defaultMaxConcurrency, IMessageBus messageBus, + CancellationTokenSource ctx) + { + //make sure all clusters go in started state (won't actually start clusters in unit test mode) + //foreach (var g in this._grouped) g.Key?.Start(); + + var testFilters = CreateTestFilters(TestFilter); + await _grouped.SelectMany(g => g) + .ForEachAsync(defaultMaxConcurrency, + async g => { await RunTestCollections(messageBus, ctx, g, testFilters).ConfigureAwait(false); }) + .ConfigureAwait(false); + //foreach (var g in this._grouped) g.Key?.Dispose(); + + return new RunSummary + { + Total = Summaries.Sum(s => s.Total), + Failed = Summaries.Sum(s => s.Failed), + Skipped = Summaries.Sum(s => s.Skipped) + }; + } + + private async Task IntegrationPipeline(int defaultMaxConcurrency, IMessageBus messageBus, + CancellationTokenSource ctx) + { + var testFilters = CreateTestFilters(TestFilter); + foreach (var group in _grouped) + { + OpenSearchXunitRunner.CurrentCluster = @group.Key; + if (@group.Key == null) + { + var testCount = @group.SelectMany(q => q.TestCases).Count(); + Console.WriteLine($" -> Several tests skipped because they have no cluster associated"); + Summaries.Add(new RunSummary {Total = testCount, Skipped = testCount}); + continue; + } + + var type = @group.Key.GetType(); + var clusterName = type.Name.Replace("Cluster", string.Empty) ?? "UNKNOWN"; + if (!MatchesClusterFilter(clusterName)) continue; + + var dop = @group.Key.ClusterConfiguration?.MaxConcurrency ?? defaultMaxConcurrency; + dop = dop <= 0 ? defaultMaxConcurrency : dop; + + var timeout = @group.Key.ClusterConfiguration?.Timeout ?? TimeSpan.FromMinutes(2); + + var skipReasons = @group.SelectMany(g => g.TestCases.Select(t => t.SkipReason)).ToList(); + var allSkipped = skipReasons.All(r => !string.IsNullOrWhiteSpace(r)); + if (allSkipped) + { + Console.WriteLine($" -> All tests from {clusterName} are skipped under the current configuration"); + Summaries.Add(new RunSummary {Total = skipReasons.Count, Skipped = skipReasons.Count}); + continue; + } + + ClusterTotals.Add(clusterName, Stopwatch.StartNew()); + + bool ValidateRunningVersion() + { + try + { + var t = new ValidateRunningVersion(); + t.Run(@group.Key); + return true; + } + catch (Exception) + { + return false; + } + } + + using (@group.Key) + { + if (!IntegrationTestsMayUseAlreadyRunningNode || !ValidateRunningVersion()) + @group.Key?.Start(timeout); + + await @group.ForEachAsync(dop, + async g => + { + await RunTestCollections(messageBus, ctx, g, testFilters).ConfigureAwait(false); + }) + .ConfigureAwait(false); + } + + ClusterTotals[clusterName].Stop(); + } + + return new RunSummary + { + Total = Summaries.Sum(s => s.Total), + Failed = Summaries.Sum(s => s.Failed), + Skipped = Summaries.Sum(s => s.Skipped) + }; + } + + private async Task RunTestCollections(IMessageBus messageBus, CancellationTokenSource ctx, GroupedByCluster g, + string[] testFilters) + { + var test = g.Collection.DisplayName.Replace("Test collection for", string.Empty).Trim(); + if (!MatchesATestFilter(test, testFilters)) return; + if (testFilters.Length > 0) Console.WriteLine(" -> " + test); + + try + { + var summary = await RunTestCollectionAsync(messageBus, g.Collection, g.TestCases, ctx) + .ConfigureAwait(false); + var type = g.Cluster?.GetType(); + var clusterName = type?.Name.Replace("Cluster", "") ?? "UNKNOWN"; + if (summary.Failed > 0) + FailedCollections.Add(Tuple.Create(clusterName, test)); + Summaries.Add(summary); + } + catch (TaskCanceledException) + { + // TODO: What should happen here? + } + } + + private static string[] CreateTestFilters(string testFilters) => + testFilters?.Split(',').Select(s => s.Trim()).Where(s => !string.IsNullOrWhiteSpace(s)).ToArray() + ?? new string[] { }; + + private static bool MatchesATestFilter(string test, IReadOnlyCollection testFilters) + { + if (testFilters.Count == 0 || string.IsNullOrWhiteSpace(test)) return true; + return testFilters + .Any(filter => test.IndexOf(filter, StringComparison.OrdinalIgnoreCase) >= 0); + } + + private bool MatchesClusterFilter(string cluster) + { + if (string.IsNullOrWhiteSpace(cluster) || string.IsNullOrWhiteSpace(ClusterFilter)) return true; + return ClusterFilter + .Split(new[] {','}, StringSplitOptions.RemoveEmptyEntries) + .Select(c => c.Trim()) + .Any(c => cluster.IndexOf(c, StringComparison.OrdinalIgnoreCase) >= 0); + } + + private IEphemeralCluster ClusterFixture(ITestClass testMethodTestClass) + { + var clusterType = GetClusterForClass(testMethodTestClass.Class); + if (clusterType == null) return null; + + if (_assemblyFixtureMappings.TryGetValue(clusterType, out var cluster)) return cluster; + Aggregator.Run(() => + { + var o = Activator.CreateInstance(clusterType); + cluster = o as IEphemeralCluster; + }); + _assemblyFixtureMappings.Add(clusterType, cluster); + return cluster; + } + + public static bool IsAnIntegrationTestClusterType(Type type) => + typeof(XunitClusterBase).GetTypeInfo().IsAssignableFrom(type.GetTypeInfo()) + || IsSubclassOfRawGeneric(typeof(XunitClusterBase<>), type); + + public static Type GetClusterForClass(ITypeInfo testClass) => + GetClusterFromClassClusterFixture(testClass) ?? GetClusterFromIntegrationAttribute(testClass); + + private static Type GetClusterFromClassClusterFixture(ITypeInfo testClass) => ( + from i in testClass.Interfaces + where i.IsGenericType + from a in i.GetGenericArguments() + select a.ToRuntimeType() + ).FirstOrDefault(IsAnIntegrationTestClusterType); + + private static Type GetClusterFromIntegrationAttribute(ITypeInfo testClass) => + testClass.GetCustomAttributes(typeof(IntegrationTestClusterAttribute)) + .FirstOrDefault()?.GetNamedArgument(nameof(IntegrationTestClusterAttribute.ClusterType)); + + private static bool IsSubclassOfRawGeneric(Type generic, Type toCheck) + { + while (toCheck != null && toCheck != typeof(object)) + { + var cur = toCheck.GetTypeInfo().IsGenericType ? toCheck.GetGenericTypeDefinition() : toCheck; + if (generic == cur) return true; + + toCheck = toCheck.GetTypeInfo().BaseType; + } + + return false; + } + + private class GroupedByCluster + { + public IEphemeralCluster Cluster { get; set; } + public ITestCollection Collection { get; set; } + public List TestCases { get; set; } + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Xunit/Sdk/TestCollectionRunner.cs b/abstractions/src/OpenSearch.OpenSearch.Xunit/Sdk/TestCollectionRunner.cs new file mode 100644 index 0000000000..0f9711cc0e --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Xunit/Sdk/TestCollectionRunner.cs @@ -0,0 +1,72 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; +using Xunit.Abstractions; +using Xunit.Sdk; + +namespace OpenSearch.OpenSearch.Xunit.Sdk +{ + internal class TestCollectionRunner : XunitTestCollectionRunner + { + private readonly Dictionary _assemblyFixtureMappings; + private readonly IMessageSink _diagnosticMessageSink; + + public TestCollectionRunner(Dictionary assemblyFixtureMappings, + ITestCollection testCollection, + IEnumerable testCases, + IMessageSink diagnosticMessageSink, + IMessageBus messageBus, + ITestCaseOrderer testCaseOrderer, + ExceptionAggregator aggregator, + CancellationTokenSource cancellationTokenSource) + : base(testCollection, testCases, diagnosticMessageSink, messageBus, testCaseOrderer, aggregator, + cancellationTokenSource) + { + _assemblyFixtureMappings = assemblyFixtureMappings; + _diagnosticMessageSink = diagnosticMessageSink; + } + + protected override Task RunTestClassAsync(ITestClass testClass, IReflectionTypeInfo @class, + IEnumerable testCases) + { + // whats this doing exactly?? + var combinedFixtures = new Dictionary(_assemblyFixtureMappings); + foreach (var kvp in CollectionFixtureMappings) + combinedFixtures[kvp.Key] = kvp.Value; + + // We've done everything we need, so hand back off to default Xunit implementation for class runner + return new XunitTestClassRunner(testClass, @class, testCases, _diagnosticMessageSink, MessageBus, + TestCaseOrderer, new ExceptionAggregator(Aggregator), CancellationTokenSource, combinedFixtures) + .RunAsync(); + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Xunit/Sdk/TestFrameworkExecutor.cs b/abstractions/src/OpenSearch.OpenSearch.Xunit/Sdk/TestFrameworkExecutor.cs new file mode 100644 index 0000000000..2ec6b3df2e --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Xunit/Sdk/TestFrameworkExecutor.cs @@ -0,0 +1,115 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using OpenSearch.OpenSearch.Managed; +using Xunit.Abstractions; +using Xunit.Sdk; + +namespace OpenSearch.OpenSearch.Xunit.Sdk +{ + internal class TestFrameworkExecutor : XunitTestFrameworkExecutor + { + public TestFrameworkExecutor(AssemblyName a, ISourceInformationProvider sip, IMessageSink d) : base(a, sip, d) + { + } + + public OpenSearchXunitRunOptions Options { get; set; } + + public override void RunAll(IMessageSink executionMessageSink, ITestFrameworkDiscoveryOptions discoveryOptions, + ITestFrameworkExecutionOptions executionOptions) + { + discoveryOptions.SetValue(nameof(OpenSearchXunitRunOptions.Version), Options.Version); + discoveryOptions.SetValue(nameof(OpenSearchXunitRunOptions.RunIntegrationTests), Options.RunIntegrationTests); + discoveryOptions.SetValue(nameof(OpenSearchXunitRunOptions.IntegrationTestsMayUseAlreadyRunningNode), + Options.IntegrationTestsMayUseAlreadyRunningNode); + discoveryOptions.SetValue(nameof(OpenSearchXunitRunOptions.RunUnitTests), Options.RunUnitTests); + discoveryOptions.SetValue(nameof(OpenSearchXunitRunOptions.TestFilter), Options.TestFilter); + discoveryOptions.SetValue(nameof(OpenSearchXunitRunOptions.ClusterFilter), Options.ClusterFilter); + + executionOptions.SetValue(nameof(OpenSearchXunitRunOptions.Version), Options.Version); + executionOptions.SetValue(nameof(OpenSearchXunitRunOptions.RunIntegrationTests), Options.RunIntegrationTests); + executionOptions.SetValue(nameof(OpenSearchXunitRunOptions.IntegrationTestsMayUseAlreadyRunningNode), + Options.IntegrationTestsMayUseAlreadyRunningNode); + executionOptions.SetValue(nameof(OpenSearchXunitRunOptions.RunUnitTests), Options.RunUnitTests); + executionOptions.SetValue(nameof(OpenSearchXunitRunOptions.TestFilter), Options.TestFilter); + executionOptions.SetValue(nameof(OpenSearchXunitRunOptions.ClusterFilter), Options.ClusterFilter); + + base.RunAll(executionMessageSink, discoveryOptions, executionOptions); + } + + + public override void RunTests(IEnumerable testCases, IMessageSink executionMessageSink, + ITestFrameworkExecutionOptions executionOptions) + { + executionOptions.SetValue(nameof(OpenSearchXunitRunOptions.Version), Options.Version); + executionOptions.SetValue(nameof(OpenSearchXunitRunOptions.RunIntegrationTests), Options.RunIntegrationTests); + executionOptions.SetValue(nameof(OpenSearchXunitRunOptions.IntegrationTestsMayUseAlreadyRunningNode), + Options.IntegrationTestsMayUseAlreadyRunningNode); + executionOptions.SetValue(nameof(OpenSearchXunitRunOptions.RunUnitTests), Options.RunUnitTests); + executionOptions.SetValue(nameof(OpenSearchXunitRunOptions.TestFilter), Options.TestFilter); + executionOptions.SetValue(nameof(OpenSearchXunitRunOptions.ClusterFilter), Options.ClusterFilter); + base.RunTests(testCases, executionMessageSink, executionOptions); + } + + protected override async void RunTestCases(IEnumerable testCases, IMessageSink sink, + ITestFrameworkExecutionOptions options) + { + options.SetValue(nameof(OpenSearchXunitRunOptions.Version), Options.Version); + options.SetValue(nameof(OpenSearchXunitRunOptions.RunIntegrationTests), Options.RunIntegrationTests); + options.SetValue(nameof(OpenSearchXunitRunOptions.IntegrationTestsMayUseAlreadyRunningNode), + Options.IntegrationTestsMayUseAlreadyRunningNode); + options.SetValue(nameof(OpenSearchXunitRunOptions.RunUnitTests), Options.RunUnitTests); + options.SetValue(nameof(OpenSearchXunitRunOptions.TestFilter), Options.TestFilter); + options.SetValue(nameof(OpenSearchXunitRunOptions.ClusterFilter), Options.ClusterFilter); + try + { + using (var runner = + new TestAssemblyRunner(TestAssembly, testCases, DiagnosticMessageSink, sink, options)) + { + Options.OnBeforeTestsRun(); + await runner.RunAsync().ConfigureAwait(false); + Options.OnTestsFinished(runner.ClusterTotals, runner.FailedCollections); + } + } + catch (Exception e) + { + if (e is OpenSearchCleanExitException || e is AggregateException ae && + ae.Flatten().InnerException is OpenSearchCleanExitException) + sink.OnMessage(new TestAssemblyCleanupFailure(Enumerable.Empty(), TestAssembly, + new OpenSearchCleanExitException("Node failed to start", e))); + else + sink.OnMessage(new TestAssemblyCleanupFailure(Enumerable.Empty(), TestAssembly, e)); + throw; + } + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Xunit/XunitClusterBase.cs b/abstractions/src/OpenSearch.OpenSearch.Xunit/XunitClusterBase.cs new file mode 100644 index 0000000000..2c7f5d15b7 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Xunit/XunitClusterBase.cs @@ -0,0 +1,53 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using OpenSearch.OpenSearch.Ephemeral; + +namespace OpenSearch.OpenSearch.Xunit +{ + /// + /// Base class for a cluster that integrates with Xunit tests + /// + public abstract class XunitClusterBase : XunitClusterBase + { + protected XunitClusterBase(XunitClusterConfiguration configuration) : base(configuration) + { + } + } + + /// + /// Base class for a cluster that integrates with Xunit tests + /// + public abstract class XunitClusterBase : EphemeralCluster + where TConfiguration : XunitClusterConfiguration + { + protected XunitClusterBase(TConfiguration configuration) : base(configuration) + { + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Xunit/XunitClusterConfiguration.cs b/abstractions/src/OpenSearch.OpenSearch.Xunit/XunitClusterConfiguration.cs new file mode 100644 index 0000000000..058ed676a8 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Xunit/XunitClusterConfiguration.cs @@ -0,0 +1,60 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using OpenSearch.OpenSearch.Ephemeral; +using OpenSearch.OpenSearch.Ephemeral.Plugins; +using OpenSearch.Stack.ArtifactsApi; + +namespace OpenSearch.OpenSearch.Xunit +{ + public class XunitClusterConfiguration : EphemeralClusterConfiguration + { + public XunitClusterConfiguration( + OpenSearchVersion version, + ServerType serverType, + ClusterFeatures features = ClusterFeatures.None, + OpenSearchPlugins plugins = null, + int numberOfNodes = 1) + : base(version, serverType, features, plugins, numberOfNodes) => + AdditionalAfterStartedTasks.Add(new PrintXunitAfterStartedTask()); + + /// + protected override string NodePrefix => "xunit"; + + /// + /// The maximum number of tests that can run concurrently against a cluster using this configuration. + /// + public int MaxConcurrency { get; set; } + + /// + /// The maximum amount of time a cluster can run using this configuration. + /// + public TimeSpan? Timeout { get; set; } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Xunit/XunitClusterExtensions.cs b/abstractions/src/OpenSearch.OpenSearch.Xunit/XunitClusterExtensions.cs new file mode 100644 index 0000000000..f27ca8208f --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Xunit/XunitClusterExtensions.cs @@ -0,0 +1,53 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.Collections.Concurrent; +using OpenSearch.OpenSearch.Ephemeral; + +namespace OpenSearch.OpenSearch.Xunit +{ + /// + /// Extension methods for + /// + public static class XunitClusterExtensions + { + private static readonly ConcurrentDictionary Clients = + new ConcurrentDictionary(); + + /// + /// Gets a client for the cluster if one exists, or creates a new client if one doesn't. + /// + /// the cluster to create a client for + /// A delegate to create a client, given the cluster to create it for + /// the type of the client + /// An instance of a client + public static T GetOrAddClient(this IEphemeralCluster cluster, Func getOrAdd) => + (T) Clients.GetOrAdd(cluster, c => getOrAdd(c)); + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Xunit/XunitPlumbing/IClusterFixture.cs b/abstractions/src/OpenSearch.OpenSearch.Xunit/XunitPlumbing/IClusterFixture.cs new file mode 100644 index 0000000000..852f47775b --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Xunit/XunitPlumbing/IClusterFixture.cs @@ -0,0 +1,40 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using OpenSearch.OpenSearch.Ephemeral; +using OpenSearch.OpenSearch.Managed; + +namespace OpenSearch.OpenSearch.Xunit.XunitPlumbing +{ + // ReSharper disable once UnusedTypeParameter + // used by the runner to new() the proper cluster + public interface IClusterFixture + where TCluster : ICluster, new() + { + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Xunit/XunitPlumbing/IntegrationTestClusterAttribute.cs b/abstractions/src/OpenSearch.OpenSearch.Xunit/XunitPlumbing/IntegrationTestClusterAttribute.cs new file mode 100644 index 0000000000..0f074e6d3b --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Xunit/XunitPlumbing/IntegrationTestClusterAttribute.cs @@ -0,0 +1,47 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using OpenSearch.OpenSearch.Xunit.Sdk; + +namespace OpenSearch.OpenSearch.Xunit.XunitPlumbing +{ + [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)] + public class IntegrationTestClusterAttribute : Attribute + { + public IntegrationTestClusterAttribute(Type clusterType) + { + if (!TestAssemblyRunner.IsAnIntegrationTestClusterType(clusterType)) + throw new ArgumentException( + $"Cluster must be subclass of {nameof(XunitClusterBase)} or {nameof(XunitClusterBase)}<>"); + ClusterType = clusterType; + } + + public Type ClusterType { get; } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Xunit/XunitPlumbing/IntegrationTestDiscoverer.cs b/abstractions/src/OpenSearch.OpenSearch.Xunit/XunitPlumbing/IntegrationTestDiscoverer.cs new file mode 100644 index 0000000000..4f92d63780 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Xunit/XunitPlumbing/IntegrationTestDiscoverer.cs @@ -0,0 +1,136 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.Collections.Generic; +using System.Linq; +using OpenSearch.OpenSearch.Xunit.Sdk; +using OpenSearch.Stack.ArtifactsApi; +using SemVer; +using Xunit; +using Xunit.Abstractions; +using Xunit.Sdk; +using Enumerable = System.Linq.Enumerable; + +namespace OpenSearch.OpenSearch.Xunit.XunitPlumbing +{ + /// + /// An Xunit test that should be skipped, and a reason why. + /// + public abstract class SkipTestAttributeBase : Attribute + { + /// + /// Whether the test should be skipped + /// + public abstract bool Skip { get; } + + /// + /// The reason why the test should be skipped + /// + public abstract string Reason { get; } + } + + /// + /// An Xunit integration test + /// + [XunitTestCaseDiscoverer("OpenSearch.OpenSearch.Xunit.XunitPlumbing.IntegrationTestDiscoverer", + "OpenSearch.OpenSearch.Xunit")] + public class I : FactAttribute + { + } + + /// + /// A test discoverer used to discover integration tests cases attached + /// to test methods that are attributed with attribute + /// + public class IntegrationTestDiscoverer : OpenSearchTestCaseDiscoverer + { + public IntegrationTestDiscoverer(IMessageSink diagnosticMessageSink) : base(diagnosticMessageSink) + { + } + + /// + protected override bool SkipMethod(ITestFrameworkDiscoveryOptions discoveryOptions, ITestMethod testMethod, + out string skipReason) + { + skipReason = null; + var runIntegrationTests = + discoveryOptions.GetValue(nameof(OpenSearchXunitRunOptions.RunIntegrationTests)); + if (!runIntegrationTests) return true; + + var cluster = TestAssemblyRunner.GetClusterForClass(testMethod.TestClass.Class); + if (cluster == null) + { + skipReason += + $"{testMethod.TestClass.Class.Name} does not define a cluster through IClusterFixture or {nameof(IntegrationTestClusterAttribute)}"; + return true; + } + + var openSearchVersion = + discoveryOptions.GetValue(nameof(OpenSearchXunitRunOptions.Version)); + + // Skip if the version we are testing against is attributed to be skipped do not run the test nameof(SkipVersionAttribute.Ranges) + var skipVersionAttribute = Enumerable.FirstOrDefault(GetAttributes(testMethod)); + if (skipVersionAttribute != null) + { + var skipVersionRanges = + skipVersionAttribute.GetNamedArgument>(nameof(SkipVersionAttribute.Ranges)) ?? + new List(); + if (openSearchVersion == null && skipVersionRanges.Count > 0) + { + skipReason = $"{nameof(SkipVersionAttribute)} has ranges defined for this test but " + + $"no {nameof(OpenSearchXunitRunOptions.Version)} has been provided to {nameof(OpenSearchXunitRunOptions)}"; + return true; + } + + if (openSearchVersion != null) + { + var reason = skipVersionAttribute.GetNamedArgument(nameof(SkipVersionAttribute.Reason)); + for (var index = 0; index < skipVersionRanges.Count; index++) + { + var range = skipVersionRanges[index]; + // inrange takes prereleases into account + if (!openSearchVersion.InRange(range)) continue; + skipReason = + $"{nameof(SkipVersionAttribute)} has range {range} that {openSearchVersion} satisfies"; + if (!string.IsNullOrWhiteSpace(reason)) skipReason += $": {reason}"; + return true; + } + } + } + + var skipTests = GetAttributes(testMethod) + .FirstOrDefault(a => a.GetNamedArgument(nameof(SkipTestAttributeBase.Skip))); + + if (skipTests == null) return false; + + skipReason = skipTests.GetNamedArgument(nameof(SkipTestAttributeBase.Reason)); + return true; + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Xunit/XunitPlumbing/OpenSearchTestCaseDiscoverer.cs b/abstractions/src/OpenSearch.OpenSearch.Xunit/XunitPlumbing/OpenSearchTestCaseDiscoverer.cs new file mode 100644 index 0000000000..d3e16b90cb --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Xunit/XunitPlumbing/OpenSearchTestCaseDiscoverer.cs @@ -0,0 +1,107 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.Collections.Generic; +using System.Linq; +using Xunit.Abstractions; +using Xunit.Sdk; + +namespace OpenSearch.OpenSearch.Xunit.XunitPlumbing +{ + /// + /// Base test discoverer used to discover tests cases attached + /// to test methods that are attributed with (or a subclass). + /// + public abstract class OpenSearchTestCaseDiscoverer : IXunitTestCaseDiscoverer + { + protected readonly IMessageSink DiagnosticMessageSink; + + protected OpenSearchTestCaseDiscoverer(IMessageSink diagnosticMessageSink) => + DiagnosticMessageSink = diagnosticMessageSink; + + /// + public IEnumerable Discover(ITestFrameworkDiscoveryOptions discoveryOptions, + ITestMethod testMethod, IAttributeInfo factAttribute) => + SkipMethod(discoveryOptions, testMethod, out var skipReason) + ? string.IsNullOrEmpty(skipReason) + ? new IXunitTestCase[] { } + : new IXunitTestCase[] {new SkippingTestCase(skipReason, testMethod, null)} + : new[] + { + new XunitTestCase(DiagnosticMessageSink, discoveryOptions.MethodDisplayOrDefault(), + discoveryOptions.MethodDisplayOptionsOrDefault(), testMethod) + }; + + /// + /// Detemines whether a test method should be skipped, and the reason why + /// + /// The discovery options + /// The test method + /// The reason to skip + /// + protected virtual bool SkipMethod(ITestFrameworkDiscoveryOptions discoveryOptions, ITestMethod testMethod, + out string skipReason) + { + skipReason = null; + return false; + } + + protected static TValue GetAttribute(ITestMethod testMethod, string propertyName) + where TAttribute : Attribute + { + var classAttributes = testMethod.TestClass.Class.GetCustomAttributes(typeof(TAttribute)) ?? + Enumerable.Empty(); + var methodAttributes = testMethod.Method.GetCustomAttributes(typeof(TAttribute)) ?? + Enumerable.Empty(); + var attribute = classAttributes.Concat(methodAttributes).FirstOrDefault(); + return attribute == null ? default(TValue) : attribute.GetNamedArgument(propertyName); + } + + protected static IList GetAttributes(ITestMethod testMethod) + where TAttribute : Attribute + { + var classAttributes = testMethod.TestClass.Class.GetCustomAttributes(typeof(TAttribute)) ?? + Enumerable.Empty(); + var methodAttributes = testMethod.Method.GetCustomAttributes(typeof(TAttribute)) ?? + Enumerable.Empty(); + return classAttributes.Concat(methodAttributes).ToList(); + } + + protected static IEnumerable GetAttributes(ITestMethod testMethod, + string propertyName) + where TAttribute : Attribute + { + var classAttributes = testMethod.TestClass.Class.GetCustomAttributes(typeof(TAttribute)); + var methodAttributes = testMethod.Method.GetCustomAttributes(typeof(TAttribute)); + return classAttributes + .Concat(methodAttributes) + .Select(a => a.GetNamedArgument(propertyName)); + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Xunit/XunitPlumbing/SkipVersionAttribute.cs b/abstractions/src/OpenSearch.OpenSearch.Xunit/XunitPlumbing/SkipVersionAttribute.cs new file mode 100644 index 0000000000..be3607cdc0 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Xunit/XunitPlumbing/SkipVersionAttribute.cs @@ -0,0 +1,65 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.Collections.Generic; +using System.Linq; +using SemVer; + +namespace OpenSearch.OpenSearch.Xunit.XunitPlumbing +{ + /// + /// An Xunit test that should be skipped for given OpenSearch versions, and a reason why. + /// + public class SkipVersionAttribute : Attribute + { + // ReSharper disable once UnusedParameter.Local + // reason is used to allow the test its used on to self document why its been put in place + public SkipVersionAttribute(string skipVersionRangesSeparatedByComma, string reason) + { + Reason = reason; + Ranges = string.IsNullOrEmpty(skipVersionRangesSeparatedByComma) + ? new List() + : skipVersionRangesSeparatedByComma.Split(',') + .Select(r => r.Trim()) + .Where(r => !string.IsNullOrWhiteSpace(r)) + .Select(r => new Range(r)) + .ToList(); + } + + /// + /// The reason why the test should be skipped + /// + public string Reason { get; } + + /// + /// The version ranges for which the test should be skipped + /// + public IList Ranges { get; } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Xunit/XunitPlumbing/SkippingTestCase.cs b/abstractions/src/OpenSearch.OpenSearch.Xunit/XunitPlumbing/SkippingTestCase.cs new file mode 100644 index 0000000000..b5c8b44e09 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Xunit/XunitPlumbing/SkippingTestCase.cs @@ -0,0 +1,71 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System.Threading; +using System.Threading.Tasks; +using Xunit.Abstractions; +using Xunit.Sdk; + +namespace OpenSearch.OpenSearch.Xunit.XunitPlumbing +{ + public class SkippingTestCase : TestMethodTestCase, IXunitTestCase + { + /// Used for de-serialization. + public SkippingTestCase() + { + } + + /// + /// Initializes a new instance of the class. + /// + /// The test method this test case belongs to. + /// The arguments for the test method. + public SkippingTestCase(string skipReason, ITestMethod testMethod, object[] testMethodArguments = null) + : base(TestMethodDisplay.ClassAndMethod, TestMethodDisplayOptions.None, testMethod, testMethodArguments) => + SkipReason = skipReason ?? "skipped"; + + public int Timeout => 0; + + /// + public Task RunAsync( + IMessageSink diagnosticMessageSink, + IMessageBus messageBus, + object[] constructorArguments, + ExceptionAggregator aggregator, + CancellationTokenSource cancellationTokenSource) => + new XunitTestCaseRunner( + this, + DisplayName, + SkipReason, + constructorArguments, + TestMethodArguments, + messageBus, + aggregator, + cancellationTokenSource).RunAsync(); + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Xunit/XunitPlumbing/UnitTestDiscoverer.cs b/abstractions/src/OpenSearch.OpenSearch.Xunit/XunitPlumbing/UnitTestDiscoverer.cs new file mode 100644 index 0000000000..763a385c48 --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Xunit/XunitPlumbing/UnitTestDiscoverer.cs @@ -0,0 +1,72 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System.Linq; +using Xunit; +using Xunit.Abstractions; +using Xunit.Sdk; + +namespace OpenSearch.OpenSearch.Xunit.XunitPlumbing +{ + /// + /// An Xunit unit test + /// + [XunitTestCaseDiscoverer("OpenSearch.OpenSearch.Xunit.XunitPlumbing.UnitTestDiscoverer", + "OpenSearch.OpenSearch.Xunit")] + public class U : FactAttribute + { + } + + /// + /// A test discoverer used to discover unit tests cases attached + /// to test methods that are attributed with attribute + /// + public class UnitTestDiscoverer : OpenSearchTestCaseDiscoverer + { + public UnitTestDiscoverer(IMessageSink diagnosticMessageSink) : base(diagnosticMessageSink) + { + } + + /// + protected override bool SkipMethod(ITestFrameworkDiscoveryOptions discoveryOptions, ITestMethod testMethod, + out string skipReason) + { + skipReason = null; + var runUnitTests = discoveryOptions.GetValue(nameof(OpenSearchXunitRunOptions.RunUnitTests)); + if (!runUnitTests) return true; + + var skipTests = GetAttributes(testMethod) + .FirstOrDefault(a => a.GetNamedArgument(nameof(SkipTestAttributeBase.Skip))); + + if (skipTests == null) return false; + + skipReason = skipTests.GetNamedArgument(nameof(SkipTestAttributeBase.Reason)); + return true; + } + } +} diff --git a/abstractions/src/OpenSearch.OpenSearch.Xunit/ide-integration.png b/abstractions/src/OpenSearch.OpenSearch.Xunit/ide-integration.png new file mode 100644 index 0000000000..d0923170e0 Binary files /dev/null and b/abstractions/src/OpenSearch.OpenSearch.Xunit/ide-integration.png differ diff --git a/abstractions/src/OpenSearch.OpenSearch.Xunit/output.gif b/abstractions/src/OpenSearch.OpenSearch.Xunit/output.gif new file mode 100644 index 0000000000..34f941dc22 Binary files /dev/null and b/abstractions/src/OpenSearch.OpenSearch.Xunit/output.gif differ diff --git a/abstractions/src/OpenSearch.OpenSearch.Xunit/packages.lock.json b/abstractions/src/OpenSearch.OpenSearch.Xunit/packages.lock.json new file mode 100644 index 0000000000..8009e82b8e --- /dev/null +++ b/abstractions/src/OpenSearch.OpenSearch.Xunit/packages.lock.json @@ -0,0 +1,1068 @@ +{ + "version": 1, + "dependencies": { + ".NETFramework,Version=v4.6.1": { + "Microsoft.NETFramework.ReferenceAssemblies": { + "type": "Direct", + "requested": "[1.0.0-preview.2, )", + "resolved": "1.0.0-preview.2", + "contentHash": "m+pJPEO7HyXvrOna5Sr3s77ewXonjYWJTNL6drh8xACnMNxnlqUDKx9HfGeSE9wmfY0lQwppaeZpFTPGaH7kZg==", + "dependencies": { + "Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.0-preview.2" + } + }, + "xunit": { + "type": "Direct", + "requested": "[2.4.2, )", + "resolved": "2.4.2", + "contentHash": "6Mj73Ont3zj2CJuoykVJfE0ZmRwn7C+pTuRP8c4bnaaTFjwNG6tGe0prJ1yIbMe9AHrpDys63ctWacSsFJWK/w==", + "dependencies": { + "xunit.analyzers": "1.0.0", + "xunit.assert": "2.4.2", + "xunit.core": "[2.4.2]" + } + }, + "Microsoft.Bcl.AsyncInterfaces": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "UcSjPsst+DfAdJGVDsu346FX0ci0ah+lw3WRtn18NUwEqRt70HaOQ7lI72vy3+1LxtqI3T5GWwV39rQSrCzAeg==", + "dependencies": { + "System.Threading.Tasks.Extensions": "4.5.4" + } + }, + "Microsoft.NETFramework.ReferenceAssemblies.net461": { + "type": "Transitive", + "resolved": "1.0.0-preview.2", + "contentHash": "59D9ISjzCpfHG41r5x4BNZNNOCmE2o5YX8vcdOwsqfxOA0+6vQnxZrYq8KtthUU2JSvC13g941rSr5GRaNQOJg==" + }, + "Proc": { + "type": "Transitive", + "resolved": "0.6.1", + "contentHash": "xRSCfgQNoGy60MOuvD2X1euzqvWDoyfpB8NAfVs2E5K5U1I8cA9MvVY6NbUkp5ApbOmVXls2JEPrOn8rQi2Pzg==" + }, + "SemanticVersioning": { + "type": "Transitive", + "resolved": "0.8.0", + "contentHash": "hUCnQL79hU0W6X4jPeMAtGDwoEJeBEZfGBnkT+jPG45lD7KHn4h61HgYN8y1HAjPrXmC5oJcLx3l8ygPJOqvlA==" + }, + "SharpZipLib.NETStandard": { + "type": "Transitive", + "resolved": "1.0.7", + "contentHash": "mYKPizF2CY32RQB8FITYy0e30gVgItFA63SFquruaxq+votwL1T+yOfssK10v4enBcxklr8ks48hS1emw5TTXg==" + }, + "System.Buffers": { + "type": "Transitive", + "resolved": "4.5.1", + "contentHash": "Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==" + }, + "System.Memory": { + "type": "Transitive", + "resolved": "4.5.4", + "contentHash": "1MbJTHS1lZ4bS4FmsJjnuGJOu88ZzTT2rLvrhW7Ygic+pC0NWA+3hgAen0HRdsocuQXCkUTdFn9yHJJhsijDXw==", + "dependencies": { + "System.Buffers": "4.5.1", + "System.Numerics.Vectors": "4.5.0", + "System.Runtime.CompilerServices.Unsafe": "4.5.3" + } + }, + "System.Net.Http": { + "type": "Transitive", + "resolved": "4.3.4", + "contentHash": "aOa2d51SEbmM+H+Csw7yJOuNZoHkrP2XnAurye5HWYgGVVU54YZDvsLUYRv6h18X3sPnjNCANmN7ZhIPiqMcjA==", + "dependencies": { + "System.Security.Cryptography.X509Certificates": "4.3.0" + } + }, + "System.Numerics.Vectors": { + "type": "Transitive", + "resolved": "4.5.0", + "contentHash": "QQTlPTl06J/iiDbJCiepZ4H//BVraReU4O4EoRw1U02H5TLUIT7xn3GnDp9AXPSlJUDyFs4uWjWafNX6WrAojQ==" + }, + "System.Runtime.CompilerServices.Unsafe": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" + }, + "System.Runtime.InteropServices.RuntimeInformation": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "cbz4YJMqRDR7oLeMRbdYv7mYzc++17lNhScCX0goO2XpGWdvAt60CGN+FHdePUEHCe/Jy9jUlvNAiNdM+7jsOw==" + }, + "System.Security.Cryptography.Algorithms": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "W1kd2Y8mYSCgc3ULTAZ0hOP2dSdG5YauTb1089T0/kRcN2MpSAW1izOFROrJgxSlMn3ArsgHXagigyi+ibhevg==", + "dependencies": { + "System.Security.Cryptography.Primitives": "4.3.0" + } + }, + "System.Security.Cryptography.Encoding": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "1DEWjZZly9ae9C79vFwqaO5kaOlI5q+3/55ohmq/7dpDyDfc8lYe7YVxJUZ5MF/NtbkRjwFRo14yM4OEo9EmDw==" + }, + "System.Security.Cryptography.Primitives": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "7bDIyVFNL/xKeFHjhobUAQqSpJq9YTOpbEs6mR233Et01STBMXNAc/V+BM6dwYGc95gVh/Zf+iVXWzj3mE8DWg==" + }, + "System.Security.Cryptography.X509Certificates": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "t2Tmu6Y2NtJ2um0RtcuhP7ZdNNxXEgUm2JeoA/0NvlMjAhKCnM1NX07TDl3244mVp3QU6LPEhT3HTtH1uF7IYw==", + "dependencies": { + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0" + } + }, + "System.Text.Encodings.Web": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "Vg8eB5Tawm1IFqj4TVK1czJX89rhFxJo9ELqc/Eiq0eXy13RK00eubyU6TJE6y+GQXjyV5gSfiewDUZjQgSE0w==", + "dependencies": { + "System.Buffers": "4.5.1", + "System.Memory": "4.5.4", + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "System.Text.Json": { + "type": "Transitive", + "resolved": "6.0.5", + "contentHash": "SSH+YYrMpvLcy7Orzb5K1tSyffnFacWahyxCCjYH1PbSHdAF4dekmIetBurFKgtTHDmwEe/J2Csi/7niRH6d/g==", + "dependencies": { + "Microsoft.Bcl.AsyncInterfaces": "6.0.0", + "System.Buffers": "4.5.1", + "System.Memory": "4.5.4", + "System.Numerics.Vectors": "4.5.0", + "System.Runtime.CompilerServices.Unsafe": "6.0.0", + "System.Text.Encodings.Web": "6.0.0", + "System.Threading.Tasks.Extensions": "4.5.4", + "System.ValueTuple": "4.5.0" + } + }, + "System.Threading.Tasks.Extensions": { + "type": "Transitive", + "resolved": "4.5.4", + "contentHash": "zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==", + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "4.5.3" + } + }, + "System.ValueTuple": { + "type": "Transitive", + "resolved": "4.5.0", + "contentHash": "okurQJO6NRE/apDIP23ajJ0hpiNmJ+f0BwOlB/cSqTLQlw5upkf+5+96+iG2Jw40G1fCVCyPz/FhIABUjMR+RQ==" + }, + "xunit.abstractions": { + "type": "Transitive", + "resolved": "2.0.3", + "contentHash": "pot1I4YOxlWjIb5jmwvvQNbTrZ3lJQ+jUGkGjWE3hEFM0l5gOnBWS+H3qsex68s5cO52g+44vpGzhAt+42vwKg==" + }, + "xunit.analyzers": { + "type": "Transitive", + "resolved": "1.0.0", + "contentHash": "BeO8hEgs/c8Ls2647fPfieMngncvf0D0xYNDfIO59MolxtCtVjFRd6SRc+7tj8VMqkVOuJcnc9eh4ngI2cAmLQ==" + }, + "xunit.assert": { + "type": "Transitive", + "resolved": "2.4.2", + "contentHash": "pxJISOFjn2XTTi1mcDCkRZrTFb9OtRRCtx2kZFNF51GdReLr1ls2rnyxvAS4JO247K3aNtflvh5Q0346K5BROA==" + }, + "xunit.core": { + "type": "Transitive", + "resolved": "2.4.2", + "contentHash": "KB4yGCxNqIVyekhJLXtKSEq6BaXVp/JO3mbGVE1hxypZTLEe7h+sTbAhpA+yZW2dPtXTuiW+C1B2oxxHEkrmOw==", + "dependencies": { + "xunit.extensibility.core": "[2.4.2]", + "xunit.extensibility.execution": "[2.4.2]" + } + }, + "xunit.extensibility.core": { + "type": "Transitive", + "resolved": "2.4.2", + "contentHash": "W1BoXTIN1C6kpVSMw25huSet25ky6IAQUNovu3zGOGN/jWnbgSoTyCrlIhmXSg0tH5nEf8q7h3OjNHOjyu5PfA==", + "dependencies": { + "xunit.abstractions": "2.0.3" + } + }, + "xunit.extensibility.execution": { + "type": "Transitive", + "resolved": "2.4.2", + "contentHash": "CZmgcKkwpyo8FlupZdWpJCryrAOWLh1FBPG6gmVZuPQkGQsim/oL4PcP4nfrC2hHgXUFtluvaJ0Sp9PQKUMNpg==", + "dependencies": { + "xunit.extensibility.core": "[2.4.2]" + } + }, + "opensearch.opensearch.ephemeral": { + "type": "Project", + "dependencies": { + "OpenSearch.OpenSearch.Managed": "1.0.0", + "SharpZipLib.NETStandard": "1.0.7", + "System.Runtime.InteropServices.RuntimeInformation": "4.3.0" + } + }, + "opensearch.opensearch.managed": { + "type": "Project", + "dependencies": { + "OpenSearch.Stack.ArtifactsApi": "1.0.0", + "Proc": "0.6.1", + "System.Net.Http": "4.3.4" + } + }, + "opensearch.stack.artifactsapi": { + "type": "Project", + "dependencies": { + "SemanticVersioning": "0.8.0", + "System.Net.Http": "4.3.4", + "System.Runtime.InteropServices.RuntimeInformation": "4.3.0", + "System.Text.Json": "6.0.5" + } + } + }, + ".NETStandard,Version=v2.0": { + "Microsoft.NETFramework.ReferenceAssemblies": { + "type": "Direct", + "requested": "[1.0.0-preview.2, )", + "resolved": "1.0.0-preview.2", + "contentHash": "m+pJPEO7HyXvrOna5Sr3s77ewXonjYWJTNL6drh8xACnMNxnlqUDKx9HfGeSE9wmfY0lQwppaeZpFTPGaH7kZg==" + }, + "NETStandard.Library": { + "type": "Direct", + "requested": "[2.0.3, )", + "resolved": "2.0.3", + "contentHash": "st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0" + } + }, + "xunit": { + "type": "Direct", + "requested": "[2.4.2, )", + "resolved": "2.4.2", + "contentHash": "6Mj73Ont3zj2CJuoykVJfE0ZmRwn7C+pTuRP8c4bnaaTFjwNG6tGe0prJ1yIbMe9AHrpDys63ctWacSsFJWK/w==", + "dependencies": { + "xunit.analyzers": "1.0.0", + "xunit.assert": "2.4.2", + "xunit.core": "[2.4.2]" + } + }, + "Microsoft.Bcl.AsyncInterfaces": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "UcSjPsst+DfAdJGVDsu346FX0ci0ah+lw3WRtn18NUwEqRt70HaOQ7lI72vy3+1LxtqI3T5GWwV39rQSrCzAeg==", + "dependencies": { + "System.Threading.Tasks.Extensions": "4.5.4" + } + }, + "Microsoft.NETCore.Platforms": { + "type": "Transitive", + "resolved": "1.1.1", + "contentHash": "TMBuzAHpTenGbGgk0SMTwyEkyijY/Eae4ZGsFNYJvAr/LDn1ku3Etp3FPxChmDp5HHF3kzJuoaa08N0xjqAJfQ==" + }, + "Microsoft.NETCore.Targets": { + "type": "Transitive", + "resolved": "1.1.0", + "contentHash": "aOZA3BWfz9RXjpzt0sRJJMjAscAUm3Hoa4UWAfceV9UTYxgwZ1lZt5nO2myFf+/jetYQo4uTP7zS8sJY67BBxg==" + }, + "Microsoft.Win32.Primitives": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "9ZQKCWxH7Ijp9BfahvL2Zyf1cJIk8XYLF6Yjzr2yi0b2cOut/HQ31qf1ThHAgCc3WiZMdnWcfJCgN82/0UunxA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "Microsoft.Win32.Registry": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "Lw1/VwLH1yxz6SfFEjVRCN0pnflLEsWgnV4qsdJ512/HhTwnKXUG+zDQ4yTO3K/EJQemGoNaBHX5InISNKTzUQ==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.Collections": "4.3.0", + "System.Globalization": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0" + } + }, + "Proc": { + "type": "Transitive", + "resolved": "0.6.1", + "contentHash": "xRSCfgQNoGy60MOuvD2X1euzqvWDoyfpB8NAfVs2E5K5U1I8cA9MvVY6NbUkp5ApbOmVXls2JEPrOn8rQi2Pzg==", + "dependencies": { + "System.Diagnostics.Process": "[4.3.0]", + "System.Threading.Thread": "[4.3.0]" + } + }, + "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "7VSGO0URRKoMEAq0Sc9cRz8mb6zbyx/BZDEWhgPdzzpmFhkam3fJ1DAGWFXBI4nGlma+uPKpfuMQP5LXRnOH5g==" + }, + "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "0oAaTAm6e2oVH+/Zttt0cuhGaePQYKII1dY8iaqP7CvOpVKgLybKRFvQjXR2LtxXOXTVPNv14j0ot8uV+HrUmw==" + }, + "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "G24ibsCNi5Kbz0oXWynBoRgtGvsw5ZSVEWjv13/KiCAM8C6wz9zzcCniMeQFIkJ2tasjo2kXlvlBZhplL51kGg==" + }, + "runtime.native.System": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "c/qWt2LieNZIj1jGnVNsE2Kl23Ya2aSTBuXMD6V7k9KWr6l16Tqdwq+hJScEpWER9753NWC8h96PaVNY5Ld7Jw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0" + } + }, + "runtime.native.System.Net.Http": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "ZVuZJqnnegJhd2k/PtAbbIcZ3aZeITq3sj06oKfMBSfphW3HDmk/t4ObvbOk/JA/swGR0LNqMksAh/f7gpTROg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0" + } + }, + "runtime.native.System.Security.Cryptography.Apple": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "DloMk88juo0OuOWr56QG7MNchmafTLYWvABy36izkrLI5VledI0rq28KGs1i9wbpeT9NPQrx/wTf8U2vazqQ3Q==", + "dependencies": { + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "4.3.0" + } + }, + "runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "QR1OwtwehHxSeQvZKXe+iSd+d3XZNkEcuWMFYa2i0aG1l+lR739HPicKMlTbJst3spmeekDVBUS7SeS26s4U/g==", + "dependencies": { + "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2" + } + }, + "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "I+GNKGg2xCHueRd1m9PzeEW7WLbNNLznmTuEi8/vZX71HudUbx1UTwlGkiwMri7JLl8hGaIAWnA/GONhu+LOyQ==" + }, + "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "1Z3TAq1ytS1IBRtPXJvEUZdVsfWfeNEhBkbiOCGEl9wwAfsjP2lz3ZFDx5tq8p60/EqbS0HItG5piHuB71RjoA==" + }, + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "kVXCuMTrTlxq4XOOMAysuNwsXWpYeboGddNGpIgNSZmv1b6r/s/DPk0fYMB7Q5Qo4bY68o48jt4T4y5BVecbCQ==" + }, + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "6mU/cVmmHtQiDXhnzUImxIcDL48GbTk+TsptXyJA+MIOG9LRjPoAQC/qBFB7X+UNyK86bmvGwC8t+M66wsYC8w==" + }, + "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "vjwG0GGcTW/PPg6KVud8F9GLWYuAV1rrw1BKAqY0oh4jcUqg15oYF1+qkGR2x2ZHM4DQnWKQ7cJgYbfncz/lYg==" + }, + "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "7KMFpTkHC/zoExs+PwP8jDCWcrK9H6L7soowT80CUx3e+nxP/AFnq0AQAW5W76z2WYbLAYCRyPfwYFG6zkvQRw==" + }, + "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "xrlmRCnKZJLHxyyLIqkZjNXqgxnKdZxfItrPkjI+6pkRo5lHX8YvSZlWrSI5AVwLMi4HbNWP7064hcAWeZKp5w==" + }, + "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "leXiwfiIkW7Gmn7cgnNcdtNAU70SjmKW3jxGj1iKHOvdn0zRWsgv/l2OJUO5zdGdiv2VRFnAsxxhDgMzofPdWg==" + }, + "SemanticVersioning": { + "type": "Transitive", + "resolved": "0.8.0", + "contentHash": "hUCnQL79hU0W6X4jPeMAtGDwoEJeBEZfGBnkT+jPG45lD7KHn4h61HgYN8y1HAjPrXmC5oJcLx3l8ygPJOqvlA==", + "dependencies": { + "NETStandard.Library": "1.6.0" + } + }, + "SharpZipLib.NETStandard": { + "type": "Transitive", + "resolved": "1.0.7", + "contentHash": "mYKPizF2CY32RQB8FITYy0e30gVgItFA63SFquruaxq+votwL1T+yOfssK10v4enBcxklr8ks48hS1emw5TTXg==", + "dependencies": { + "NETStandard.Library": "1.6.1" + } + }, + "System.Buffers": { + "type": "Transitive", + "resolved": "4.5.1", + "contentHash": "Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==" + }, + "System.Collections": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "3Dcj85/TBdVpL5Zr+gEEBUuFe2icOnLalmEh9hfck1PTYbbyWuZgh4fmm2ysCLTrqLQw6t3TgTyJ+VLp+Qb+Lw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Collections.Concurrent": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "ztl69Xp0Y/UXCL+3v3tEU+lIy+bvjKNUmopn1wep/a291pVPK7dxBd6T7WnlQqRog+d1a/hSsgRsmFnIBKTPLQ==", + "dependencies": { + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Diagnostics.Tracing": "4.3.0", + "System.Globalization": "4.3.0", + "System.Reflection": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Threading": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.Diagnostics.Debug": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "ZUhUOdqmaG5Jk3Xdb8xi5kIyQYAA4PnTNlHx1mu9ZY3qv4ELIdKbnL/akbGaKi2RnNUWaZsAs31rvzFdewTj2g==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Diagnostics.DiagnosticSource": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "tD6kosZnTAGdrEa0tZSuFyunMbt/5KYDnHdndJYGqZoNy00XVXyACd5d6KnE1YgYv3ne2CjtAfNXo/fwEhnKUA==", + "dependencies": { + "System.Collections": "4.3.0", + "System.Diagnostics.Tracing": "4.3.0", + "System.Reflection": "4.3.0", + "System.Runtime": "4.3.0", + "System.Threading": "4.3.0" + } + }, + "System.Diagnostics.Process": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "J0wOX07+QASQblsfxmIMFc9Iq7KTXYL3zs2G/Xc704Ylv3NpuVdo6gij6V3PGiptTxqsK0K7CdXenRvKUnkA2g==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.Win32.Primitives": "4.3.0", + "Microsoft.Win32.Registry": "4.3.0", + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Globalization": "4.3.0", + "System.IO": "4.3.0", + "System.IO.FileSystem": "4.3.0", + "System.IO.FileSystem.Primitives": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Text.Encoding.Extensions": "4.3.0", + "System.Threading": "4.3.0", + "System.Threading.Tasks": "4.3.0", + "System.Threading.Thread": "4.3.0", + "System.Threading.ThreadPool": "4.3.0", + "runtime.native.System": "4.3.0" + } + }, + "System.Diagnostics.Tracing": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "rswfv0f/Cqkh78rA5S8eN8Neocz234+emGCtTF3lxPY96F+mmmUen6tbn0glN6PMvlKQb9bPAY5e9u7fgPTkKw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Globalization": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "kYdVd2f2PAdFGblzFswE4hkNANJBKRmsfa2X5LG2AcWE1c7/4t0pYae1L8vfZ5xvE2nK/R9JprtToA61OSHWIg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Globalization.Calendars": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "GUlBtdOWT4LTV3I+9/PJW+56AnnChTaOqqTLFtdmype/L500M2LIyXgmtd9X2P2VOkmJd5c67H5SaC2QcL1bFA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Globalization": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Globalization.Extensions": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "FhKmdR6MPG+pxow6wGtNAWdZh7noIOpdD5TwQ3CprzgIE1bBBoim0vbR1+AWsWjQmU7zXHgQo4TWSP6lCeiWcQ==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.Globalization": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.InteropServices": "4.3.0" + } + }, + "System.IO": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "3qjaHvxQPDpSOYICjUoTsmoq5u6QJAFRUITgeT/4gqkF1bajbSmb1kwSxEA8AHlofqgcKJcM8udgieRNhaJ5Cg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.IO.FileSystem": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "3wEMARTnuio+ulnvi+hkRNROYwa1kylvYahhcLk4HSoVdl+xxTFVeVlYOfLwrDPImGls0mDqbMhrza8qnWPTdA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.IO": "4.3.0", + "System.IO.FileSystem.Primitives": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.IO.FileSystem.Primitives": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "6QOb2XFLch7bEc4lIcJH49nJN2HV+OC3fHDgsLVsBVBk3Y4hFAnOBGzJ2lUu7CyDDFo9IBWkSsnbkT6IBwwiMw==", + "dependencies": { + "System.Runtime": "4.3.0" + } + }, + "System.Linq": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "5DbqIUpsDp0dFftytzuMmc0oeMdQwjcP/EWxsksIz/w1TcFRkZ3yKKz0PqiYFMmEwPSWw+qNVqD7PJ889JzHbw==", + "dependencies": { + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0" + } + }, + "System.Memory": { + "type": "Transitive", + "resolved": "4.5.4", + "contentHash": "1MbJTHS1lZ4bS4FmsJjnuGJOu88ZzTT2rLvrhW7Ygic+pC0NWA+3hgAen0HRdsocuQXCkUTdFn9yHJJhsijDXw==", + "dependencies": { + "System.Buffers": "4.5.1", + "System.Numerics.Vectors": "4.4.0", + "System.Runtime.CompilerServices.Unsafe": "4.5.3" + } + }, + "System.Net.Http": { + "type": "Transitive", + "resolved": "4.3.4", + "contentHash": "aOa2d51SEbmM+H+Csw7yJOuNZoHkrP2XnAurye5HWYgGVVU54YZDvsLUYRv6h18X3sPnjNCANmN7ZhIPiqMcjA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.1", + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Diagnostics.DiagnosticSource": "4.3.0", + "System.Diagnostics.Tracing": "4.3.0", + "System.Globalization": "4.3.0", + "System.Globalization.Extensions": "4.3.0", + "System.IO": "4.3.0", + "System.IO.FileSystem": "4.3.0", + "System.Net.Primitives": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.OpenSsl": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Security.Cryptography.X509Certificates": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading": "4.3.0", + "System.Threading.Tasks": "4.3.0", + "runtime.native.System": "4.3.0", + "runtime.native.System.Net.Http": "4.3.0", + "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2" + } + }, + "System.Net.Primitives": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "qOu+hDwFwoZPbzPvwut2qATe3ygjeQBDQj91xlsaqGFQUI5i4ZnZb8yyQuLGpDGivEPIt8EJkd1BVzVoP31FXA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0", + "System.Runtime.Handles": "4.3.0" + } + }, + "System.Numerics.Vectors": { + "type": "Transitive", + "resolved": "4.5.0", + "contentHash": "QQTlPTl06J/iiDbJCiepZ4H//BVraReU4O4EoRw1U02H5TLUIT7xn3GnDp9AXPSlJUDyFs4uWjWafNX6WrAojQ==" + }, + "System.Reflection": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "KMiAFoW7MfJGa9nDFNcfu+FpEdiHpWgTcS2HdMpDvt9saK3y/G4GwprPyzqjFH9NTaGPQeWNHU+iDlDILj96aQ==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.IO": "4.3.0", + "System.Reflection.Primitives": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Reflection.Extensions": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "rJkrJD3kBI5B712aRu4DpSIiHRtr6QlfZSQsb0hYHrDCZORXCFjQfoipo2LaMUHoT9i1B7j7MnfaEKWDFmFQNQ==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Reflection": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Reflection.Primitives": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "5RXItQz5As4xN2/YUDxdpsEkMhvw3e6aNveFXUn4Hl/udNTCNhnKp8lT9fnc3MhvGKh1baak5CovpuQUXHAlIA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Resources.ResourceManager": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "/zrcPkkWdZmI4F92gL/TPumP98AVDu/Wxr3CSJGQQ+XN6wbRZcyfSKVoPo17ilb3iOr0cCRqJInGwNMolqhS8A==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Globalization": "4.3.0", + "System.Reflection": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Runtime": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "JufQi0vPQ0xGnAczR13AUFglDyVYt4Kqnz1AZaiKZ5+GICq0/1MH/mO/eAJHt/mHW1zjKBJd7kV26SrxddAhiw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0" + } + }, + "System.Runtime.CompilerServices.Unsafe": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" + }, + "System.Runtime.Extensions": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "guW0uK0fn5fcJJ1tJVXYd7/1h5F+pea1r7FLSOz/f8vPEqbR2ZAknuRDvTQ8PzAilDveOxNjSfr0CHfIQfFk8g==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Runtime.Handles": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "OKiSUN7DmTWeYb3l51A7EYaeNMnvxwE249YtZz7yooT4gOZhmTjIn48KgSsw2k2lYdLgTKNJw/ZIfSElwDRVgg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Runtime.InteropServices": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "uv1ynXqiMK8mp1GM3jDqPCFN66eJ5w5XNomaK2XD+TuCroNTLFGeZ+WCmBMcBDyTFKou3P6cR6J/QsaqDp7fGQ==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Reflection": "4.3.0", + "System.Reflection.Primitives": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Handles": "4.3.0" + } + }, + "System.Runtime.InteropServices.RuntimeInformation": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "cbz4YJMqRDR7oLeMRbdYv7mYzc++17lNhScCX0goO2XpGWdvAt60CGN+FHdePUEHCe/Jy9jUlvNAiNdM+7jsOw==", + "dependencies": { + "System.Reflection": "4.3.0", + "System.Reflection.Extensions": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Threading": "4.3.0", + "runtime.native.System": "4.3.0" + } + }, + "System.Runtime.Numerics": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "yMH+MfdzHjy17l2KESnPiF2dwq7T+xLnSJar7slyimAkUh/gTrS9/UQOtv7xarskJ2/XDSNvfLGOBQPjL7PaHQ==", + "dependencies": { + "System.Globalization": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0" + } + }, + "System.Security.Cryptography.Algorithms": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "W1kd2Y8mYSCgc3ULTAZ0hOP2dSdG5YauTb1089T0/kRcN2MpSAW1izOFROrJgxSlMn3ArsgHXagigyi+ibhevg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.Collections": "4.3.0", + "System.IO": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Runtime.Numerics": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0", + "runtime.native.System.Security.Cryptography.Apple": "4.3.0", + "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" + } + }, + "System.Security.Cryptography.Cng": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "03idZOqFlsKRL4W+LuCpJ6dBYDUWReug6lZjBa3uJWnk5sPCUXckocevTaUA8iT/MFSrY/2HXkOt753xQ/cf8g==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.IO": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0" + } + }, + "System.Security.Cryptography.Csp": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "X4s/FCkEUnRGnwR3aSfVIkldBmtURMhmexALNTwpjklzxWU7yjMk7GHLKOZTNkgnWnE0q7+BCf9N2LVRWxewaA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.IO": "4.3.0", + "System.Reflection": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading": "4.3.0" + } + }, + "System.Security.Cryptography.Encoding": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "1DEWjZZly9ae9C79vFwqaO5kaOlI5q+3/55ohmq/7dpDyDfc8lYe7YVxJUZ5MF/NtbkRjwFRo14yM4OEo9EmDw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.Collections": "4.3.0", + "System.Collections.Concurrent": "4.3.0", + "System.Linq": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0", + "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" + } + }, + "System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "h4CEgOgv5PKVF/HwaHzJRiVboL2THYCou97zpmhjghx5frc7fIvlkY1jL+lnIQyChrJDMNEXS6r7byGif8Cy4w==", + "dependencies": { + "System.Collections": "4.3.0", + "System.IO": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Runtime.Numerics": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0", + "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" + } + }, + "System.Security.Cryptography.Primitives": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "7bDIyVFNL/xKeFHjhobUAQqSpJq9YTOpbEs6mR233Et01STBMXNAc/V+BM6dwYGc95gVh/Zf+iVXWzj3mE8DWg==", + "dependencies": { + "System.Diagnostics.Debug": "4.3.0", + "System.Globalization": "4.3.0", + "System.IO": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Threading": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.Security.Cryptography.X509Certificates": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "t2Tmu6Y2NtJ2um0RtcuhP7ZdNNxXEgUm2JeoA/0NvlMjAhKCnM1NX07TDl3244mVp3QU6LPEhT3HTtH1uF7IYw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Globalization": "4.3.0", + "System.Globalization.Calendars": "4.3.0", + "System.IO": "4.3.0", + "System.IO.FileSystem": "4.3.0", + "System.IO.FileSystem.Primitives": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Runtime.Numerics": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Cng": "4.3.0", + "System.Security.Cryptography.Csp": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.OpenSsl": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading": "4.3.0", + "runtime.native.System": "4.3.0", + "runtime.native.System.Net.Http": "4.3.0", + "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" + } + }, + "System.Text.Encoding": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "BiIg+KWaSDOITze6jGQynxg64naAPtqGHBwDrLaCtixsa5bKiR8dpPOHA7ge3C0JJQizJE+sfkz1wV+BAKAYZw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Text.Encoding.Extensions": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "YVMK0Bt/A43RmwizJoZ22ei2nmrhobgeiYwFzC4YAN+nue8RF6djXDMog0UCn+brerQoYVyaS+ghy9P/MUVcmw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0", + "System.Text.Encoding": "4.3.0" + } + }, + "System.Text.Encodings.Web": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "Vg8eB5Tawm1IFqj4TVK1czJX89rhFxJo9ELqc/Eiq0eXy13RK00eubyU6TJE6y+GQXjyV5gSfiewDUZjQgSE0w==", + "dependencies": { + "System.Buffers": "4.5.1", + "System.Memory": "4.5.4", + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "System.Text.Json": { + "type": "Transitive", + "resolved": "6.0.5", + "contentHash": "SSH+YYrMpvLcy7Orzb5K1tSyffnFacWahyxCCjYH1PbSHdAF4dekmIetBurFKgtTHDmwEe/J2Csi/7niRH6d/g==", + "dependencies": { + "Microsoft.Bcl.AsyncInterfaces": "6.0.0", + "System.Buffers": "4.5.1", + "System.Memory": "4.5.4", + "System.Numerics.Vectors": "4.5.0", + "System.Runtime.CompilerServices.Unsafe": "6.0.0", + "System.Text.Encodings.Web": "6.0.0", + "System.Threading.Tasks.Extensions": "4.5.4" + } + }, + "System.Threading": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "VkUS0kOBcUf3Wwm0TSbrevDDZ6BlM+b/HRiapRFWjM5O0NS0LviG0glKmFK+hhPDd1XFeSdU1GmlLhb2CoVpIw==", + "dependencies": { + "System.Runtime": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.Threading.Tasks": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "LbSxKEdOUhVe8BezB/9uOGGppt+nZf6e1VFyw6v3DN6lqitm0OSn2uXMOdtP0M3W4iMcqcivm2J6UgqiwwnXiA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Threading.Tasks.Extensions": { + "type": "Transitive", + "resolved": "4.5.4", + "contentHash": "zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==", + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "4.5.3" + } + }, + "System.Threading.Thread": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "OHmbT+Zz065NKII/ZHcH9XO1dEuLGI1L2k7uYss+9C1jLxTC9kTZZuzUOyXHayRk+dft9CiDf3I/QZ0t8JKyBQ==", + "dependencies": { + "System.Runtime": "4.3.0" + } + }, + "System.Threading.ThreadPool": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "k/+g4b7vjdd4aix83sTgC9VG6oXYKAktSfNIJUNGxPEj7ryEOfzHHhfnmsZvjxawwcD9HyWXKCXmPjX8U4zeSw==", + "dependencies": { + "System.Runtime": "4.3.0", + "System.Runtime.Handles": "4.3.0" + } + }, + "xunit.abstractions": { + "type": "Transitive", + "resolved": "2.0.3", + "contentHash": "pot1I4YOxlWjIb5jmwvvQNbTrZ3lJQ+jUGkGjWE3hEFM0l5gOnBWS+H3qsex68s5cO52g+44vpGzhAt+42vwKg==" + }, + "xunit.analyzers": { + "type": "Transitive", + "resolved": "1.0.0", + "contentHash": "BeO8hEgs/c8Ls2647fPfieMngncvf0D0xYNDfIO59MolxtCtVjFRd6SRc+7tj8VMqkVOuJcnc9eh4ngI2cAmLQ==" + }, + "xunit.assert": { + "type": "Transitive", + "resolved": "2.4.2", + "contentHash": "pxJISOFjn2XTTi1mcDCkRZrTFb9OtRRCtx2kZFNF51GdReLr1ls2rnyxvAS4JO247K3aNtflvh5Q0346K5BROA==", + "dependencies": { + "NETStandard.Library": "1.6.1" + } + }, + "xunit.core": { + "type": "Transitive", + "resolved": "2.4.2", + "contentHash": "KB4yGCxNqIVyekhJLXtKSEq6BaXVp/JO3mbGVE1hxypZTLEe7h+sTbAhpA+yZW2dPtXTuiW+C1B2oxxHEkrmOw==", + "dependencies": { + "xunit.extensibility.core": "[2.4.2]", + "xunit.extensibility.execution": "[2.4.2]" + } + }, + "xunit.extensibility.core": { + "type": "Transitive", + "resolved": "2.4.2", + "contentHash": "W1BoXTIN1C6kpVSMw25huSet25ky6IAQUNovu3zGOGN/jWnbgSoTyCrlIhmXSg0tH5nEf8q7h3OjNHOjyu5PfA==", + "dependencies": { + "NETStandard.Library": "1.6.1", + "xunit.abstractions": "2.0.3" + } + }, + "xunit.extensibility.execution": { + "type": "Transitive", + "resolved": "2.4.2", + "contentHash": "CZmgcKkwpyo8FlupZdWpJCryrAOWLh1FBPG6gmVZuPQkGQsim/oL4PcP4nfrC2hHgXUFtluvaJ0Sp9PQKUMNpg==", + "dependencies": { + "NETStandard.Library": "1.6.1", + "xunit.extensibility.core": "[2.4.2]" + } + }, + "opensearch.opensearch.ephemeral": { + "type": "Project", + "dependencies": { + "OpenSearch.OpenSearch.Managed": "1.0.0", + "SharpZipLib.NETStandard": "1.0.7" + } + }, + "opensearch.opensearch.managed": { + "type": "Project", + "dependencies": { + "OpenSearch.Stack.ArtifactsApi": "1.0.0", + "Proc": "0.6.1", + "System.Net.Http": "4.3.4" + } + }, + "opensearch.stack.artifactsapi": { + "type": "Project", + "dependencies": { + "SemanticVersioning": "0.8.0", + "System.Net.Http": "4.3.4", + "System.Runtime.InteropServices.RuntimeInformation": "4.3.0", + "System.Text.Json": "6.0.5" + } + } + } + } +} \ No newline at end of file diff --git a/abstractions/src/OpenSearch.Stack.ArtifactsApi/Artifact.cs b/abstractions/src/OpenSearch.Stack.ArtifactsApi/Artifact.cs new file mode 100644 index 0000000000..5c235a16c7 --- /dev/null +++ b/abstractions/src/OpenSearch.Stack.ArtifactsApi/Artifact.cs @@ -0,0 +1,113 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.IO; +using OpenSearch.Stack.ArtifactsApi.Products; +using OpenSearch.Stack.ArtifactsApi.Resolvers; +using Version = SemVer.Version; + +namespace OpenSearch.Stack.ArtifactsApi +{ + public class Artifact + { + private static readonly Uri BaseUri = new Uri("http://localhost"); + + internal Artifact(Product product, Version version, string downloadUrl, ArtifactBuildState state, + string buildHash) + { + ServerType = product.ServerType; + switch (ServerType) + { + case ServerType.OpenSearch: ProductName = "opensearch"; break; // actually = product.ProductName + case ServerType.OpenDistro: ProductName = "opendistroforelasticsearch"; break; + case ServerType.ElasticSearch: ProductName = "elasticsearch"; break; + } + Version = version; + DownloadUrl = product?.PatchDownloadUrl(downloadUrl); + State = state; + BuildHash = buildHash; + } + + internal Artifact(Product product, Version version, SearchPackage package, string buildHash = null) + { + ProductName = product.ProductName; + Version = version; + State = ArtifactBuildState.Snapshot; + DownloadUrl = product?.PatchDownloadUrl(package.DownloadUrl); + ShaUrl = package.ShaUrl; + AscUrl = package.AscUrl; + BuildHash = buildHash; + } + + public string LocalFolderName + { + get + { + var hashed = string.IsNullOrWhiteSpace(BuildHash) ? string.Empty : $"-build-{BuildHash}"; + switch (State) + { + case ArtifactBuildState.Released: + return $"{ProductName}-{Version}"; + case ArtifactBuildState.Snapshot: + return $"{ProductName}-{Version}{hashed}"; + case ArtifactBuildState.BuildCandidate: + return $"{ProductName}-{Version}{hashed}"; + default: + throw new ArgumentOutOfRangeException(nameof(State), $"{State} not expected here"); + } + } + } + + public string FolderInZip => $"{ProductName}-{Version}"; + + public string Archive + { + get + { + if (!Uri.TryCreate(DownloadUrl, UriKind.Absolute, out var uri)) + uri = new Uri(BaseUri, DownloadUrl); + + return Path.GetFileName(uri.LocalPath); + } + } + + // ReSharper disable UnusedAutoPropertyAccessor.Global + public ServerType ServerType { get; } + public string ProductName { get; } + public Version Version { get; } + public string DownloadUrl { get; } + + public ArtifactBuildState State { get; } + public string BuildHash { get; } + public string ShaUrl { get; } + + public string AscUrl { get; } + // ReSharper restore UnusedAutoPropertyAccessor.Global + } +} diff --git a/abstractions/src/OpenSearch.Stack.ArtifactsApi/ArtifactBuildState.cs b/abstractions/src/OpenSearch.Stack.ArtifactsApi/ArtifactBuildState.cs new file mode 100644 index 0000000000..eb0c47d236 --- /dev/null +++ b/abstractions/src/OpenSearch.Stack.ArtifactsApi/ArtifactBuildState.cs @@ -0,0 +1,37 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +namespace OpenSearch.Stack.ArtifactsApi +{ + public enum ArtifactBuildState + { + Released, + Snapshot, + BuildCandidate + } +} diff --git a/abstractions/src/OpenSearch.Stack.ArtifactsApi/OpenSearch.Stack.ArtifactsApi.csproj b/abstractions/src/OpenSearch.Stack.ArtifactsApi/OpenSearch.Stack.ArtifactsApi.csproj new file mode 100644 index 0000000000..4d8b4716b4 --- /dev/null +++ b/abstractions/src/OpenSearch.Stack.ArtifactsApi/OpenSearch.Stack.ArtifactsApi.csproj @@ -0,0 +1,19 @@ + + + netstandard2.0;net461 + Provides a set of classes to resolve the location of OpenSearch stack products in various stages: released, snapshot and build candidates + opensearch,opensearch,stack,versioning,artifacts + false + + true + + + + + + + + + + + diff --git a/abstractions/src/OpenSearch.Stack.ArtifactsApi/OpenSearchVersion.cs b/abstractions/src/OpenSearch.Stack.ArtifactsApi/OpenSearchVersion.cs new file mode 100644 index 0000000000..9393a8cd16 --- /dev/null +++ b/abstractions/src/OpenSearch.Stack.ArtifactsApi/OpenSearchVersion.cs @@ -0,0 +1,174 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.Collections.Concurrent; +using System.Linq; +using System.Runtime.InteropServices; +using OpenSearch.Stack.ArtifactsApi.Platform; +using OpenSearch.Stack.ArtifactsApi.Products; +using OpenSearch.Stack.ArtifactsApi.Resolvers; +using SemVer; +using Version = SemVer.Version; + +namespace OpenSearch.Stack.ArtifactsApi +{ + public class OpenSearchVersion : Version, IComparable + { + private readonly ConcurrentDictionary _resolved = new(); + + protected OpenSearchVersion(string version, ArtifactBuildState state, string buildHash = null) : base(version) + { + ArtifactBuildState = state; + BuildHash = buildHash; + } + + public ArtifactBuildState ArtifactBuildState { get; } + private string BuildHash { get; } + + public int CompareTo(string other) + { + var v = (OpenSearchVersion)other; + return CompareTo(v); + } + + public Artifact Artifact(Product product) + { + var cacheKey = product.ToString(); + if (_resolved.TryGetValue(cacheKey, out var artifact)) + return artifact; + var currentPlatform = OsMonikers.CurrentPlatform(); + switch (ArtifactBuildState) + { + case ArtifactBuildState.Released: + ReleasedVersionResolver.TryResolve(product, this, currentPlatform, RuntimeInformation.OSArchitecture, out artifact); + break; + case ArtifactBuildState.Snapshot: + SnapshotApiResolver.TryResolve(product, this, currentPlatform, null, out artifact); + break; + case ArtifactBuildState.BuildCandidate: + StagingVersionResolver.TryResolve(product, this, BuildHash, out artifact); + break; + default: + throw new ArgumentOutOfRangeException(nameof(ArtifactBuildState), + $"{ArtifactBuildState} not expected here"); + } + + _resolved.TryAdd(cacheKey, artifact); + + return artifact; + } + + /// + /// Resolves an OpenSearch version using either format '$version' or '$ServerType-$version', where version could be 'x.y.z' or 'latest' or even 'latest-x' + /// + public static OpenSearchVersion From(string managedVersionString) + { + if (managedVersionString == null) + return null; + + var serverType = ServerType.DEFAULT; + var hasServerType = Enum.GetNames(typeof(ServerType)).Any(s => managedVersionString.StartsWith(s, StringComparison.InvariantCultureIgnoreCase)); + if (hasServerType) + { + var parts = managedVersionString.Split('-'); + serverType = (ServerType)Enum.Parse(typeof(ServerType), parts[0], true); + managedVersionString = string.Join("-", parts.Skip(1)); + } + + if (managedVersionString.StartsWith("latest") && serverType == ServerType.OpenDistro) + // No releases for OpenDistro after 1.13.3 - all deveploment afterwards goes to OpenSearch + managedVersionString = "1.13.3"; + if (managedVersionString.StartsWith("latest") && serverType == ServerType.ElasticSearch) + // OpenDistro (1.13.x - another not supported) and OpenSearch both based on Elasticsearch v.7.10.2, other versions are incompatible + managedVersionString = "7.10.2"; + + // TODO resolve `latest` and `latest-x` for OpenSearch + + return new OpenSearchVersion(managedVersionString, ArtifactBuildState.Released, ""); + } + + internal static bool TryParseBuildCandidate(string passedVersion, out string version, out string gitHash) + { + version = null; + gitHash = null; + var tokens = passedVersion.Split(':'); + if (tokens.Length < 2) + return false; + version = tokens[1].Trim(); + gitHash = tokens[0].Trim(); + return true; + } + + public bool InRange(string range) + { + var versionRange = new Range(range); + return InRange(versionRange); + } + + public bool InRange(Range versionRange) + { + var satisfied = versionRange.IsSatisfied(this); + if (satisfied) + return true; + + //Semver can only match snapshot version with ranges on the same major and minor + //anything else fails but we want to know e.g 1.0.0-SNAPSHOT satisfied by 1.0.0; + var wholeVersion = $"{Major}.{Minor}.{Patch}"; + return versionRange.IsSatisfied(wholeVersion); + } + + + public static implicit operator OpenSearchVersion(string version) => From(version); + + public static bool operator <(OpenSearchVersion first, string second) => first < (OpenSearchVersion)second; + public static bool operator >(OpenSearchVersion first, string second) => first > (OpenSearchVersion)second; + + public static bool operator <(string first, OpenSearchVersion second) => (OpenSearchVersion)first < second; + public static bool operator >(string first, OpenSearchVersion second) => (OpenSearchVersion)first > second; + + public static bool operator <=(OpenSearchVersion first, string second) => first <= (OpenSearchVersion)second; + public static bool operator >=(OpenSearchVersion first, string second) => first >= (OpenSearchVersion)second; + + public static bool operator <=(string first, OpenSearchVersion second) => (OpenSearchVersion)first <= second; + public static bool operator >=(string first, OpenSearchVersion second) => (OpenSearchVersion)first >= second; + + public static bool operator ==(OpenSearchVersion first, string second) => first == (OpenSearchVersion)second; + public static bool operator !=(OpenSearchVersion first, string second) => first != (OpenSearchVersion)second; + + + public static bool operator ==(string first, OpenSearchVersion second) => (OpenSearchVersion)first == second; + public static bool operator !=(string first, OpenSearchVersion second) => (OpenSearchVersion)first != second; + + // ReSharper disable once UnusedMember.Local + private bool Equals(OpenSearchVersion other) => base.Equals(other); + public override bool Equals(object obj) => base.Equals(obj); + + public override int GetHashCode() => base.GetHashCode(); + } +} diff --git a/abstractions/src/OpenSearch.Stack.ArtifactsApi/Platform/OsMonikers.cs b/abstractions/src/OpenSearch.Stack.ArtifactsApi/Platform/OsMonikers.cs new file mode 100644 index 0000000000..2ecdc77ebc --- /dev/null +++ b/abstractions/src/OpenSearch.Stack.ArtifactsApi/Platform/OsMonikers.cs @@ -0,0 +1,121 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +namespace OpenSearch.Stack.ArtifactsApi.Platform +{ + internal static class OsMonikers + { + public static readonly string Windows = "windows"; + public static readonly string Linux = "linux"; + public static readonly string OSX = "darwin"; + + public static string From(OSPlatform platform) + { + if (platform == OSPlatform.Windows) return Windows; + if (platform == OSPlatform.Linux) return Linux; + if (platform == OSPlatform.OSX) return OSX; + return "unknown"; + } + + public static OSPlatform CurrentPlatform() + { + if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) return OSPlatform.Windows; + if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) return OSPlatform.OSX; + if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) return OSPlatform.Linux; + throw new Exception( + $"{RuntimeInformation.OSDescription} is currently not supported please open an issue @opensearch-project/opensearch-net"); + } + + /// + /// Maps from current os and architecture to a suffix used for tagging platform-specific OpenSearch releases. + /// + /// + public static string GetOpenSearchPlatformMoniker(OSPlatform platform, Architecture architecture) + { + if (platform == OSPlatform.Windows) + { + if (architecture == Architecture.X64) return "windows-x64"; + if (architecture == Architecture.X86) return "windows-x86"; + } + + if (platform == OSPlatform.OSX) + { + if (architecture == Architecture.X64) return "macos-x64"; + if (architecture == Architecture.Arm64) return "macos-arm64"; + + } + + if (platform == OSPlatform.Linux) + { + if (architecture == Architecture.X64) return "linux-x64"; + if (architecture == Architecture.Arm64) return "linux-arm64"; + } + throw new Exception( + $"{RuntimeInformation.OSDescription} is currently not supported please open an issue @opensearch-project/opensearch-net"); + } + + public static string GetPlatformArchiveExtension(OSPlatform platform) + { + if (platform == OSPlatform.Linux) return "tar.gz"; + if (platform == OSPlatform.OSX) return "tar.gz"; + if (platform == OSPlatform.Windows) return "zip"; + throw new Exception( + $"{RuntimeInformation.OSDescription} is currently not supported please open an issue @opensearch-project/opensearch-net"); + + } + public static string CurrentPlatformArchiveExtension() + { + var platform = CurrentPlatform(); + return GetPlatformArchiveExtension(platform); + } + + public static string CurrentPlatformPackageSuffix() + { + var intelX86Suffix = "x86_64"; + if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) return $"{Windows}-{intelX86Suffix}"; + if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) return $"{OSX}-{intelX86Suffix}"; + if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) return $"{Linux}-{intelX86Suffix}"; + + throw new Exception( + $"{RuntimeInformation.OSDescription} is currently not supported please open an issue @opensearch-project/opensearch-net"); + } + + internal static string CurrentPlatformSearchFilter() + { + if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) return "zip"; + if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) return "tar"; + if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) return "tar"; + + throw new Exception( + $"{RuntimeInformation.OSDescription} is currently not supported please open an issue @opensearch-project/opensearch-net"); + } + } +} diff --git a/abstractions/src/OpenSearch.Stack.ArtifactsApi/Products/OpenSearchPlugin.cs b/abstractions/src/OpenSearch.Stack.ArtifactsApi/Products/OpenSearchPlugin.cs new file mode 100644 index 0000000000..de83502aac --- /dev/null +++ b/abstractions/src/OpenSearch.Stack.ArtifactsApi/Products/OpenSearchPlugin.cs @@ -0,0 +1,91 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; + +namespace OpenSearch.Stack.ArtifactsApi.Products +{ + /// An OpenSearch plugin + public class OpenSearchPlugin : SubProduct + { + public OpenSearchPlugin(string plugin, Func isValid = null, + Func listName = null) + : base(plugin, isValid, listName) + { + PlatformDependent = false; + PatchDownloadUrl = s => + { + //Temporary correct plugin download urls as reported by the snapshot API as it currently has a bug + var correct = $"downloads/opensearch-plugins/{plugin}"; + return !s.Contains(correct) ? s.Replace("downloads/opensearch", correct) : s; + }; + } // ReSharper disable InconsistentNaming + public static OpenSearchPlugin AnalysisIcu { get; } = new OpenSearchPlugin("analysis-icu"); + public static OpenSearchPlugin AnalysisKuromoji { get; } = new OpenSearchPlugin("analysis-kuromoji"); + public static OpenSearchPlugin AnalysisPhonetic { get; } = new OpenSearchPlugin("analysis-phonetic"); + public static OpenSearchPlugin AnalysisSmartCn { get; } = new OpenSearchPlugin("analysis-smartcn"); + public static OpenSearchPlugin AnalysisStempel { get; } = new OpenSearchPlugin("analysis-stempel"); + public static OpenSearchPlugin AnalysisUkrainian { get; } = new OpenSearchPlugin("analysis-ukrainian"); + + public static OpenSearchPlugin DiscoveryAzureClassic { get; } = + new OpenSearchPlugin("discovery-azure-classic"); + + public static OpenSearchPlugin DiscoveryEC2 { get; } = new OpenSearchPlugin("discovery-ec2"); + public static OpenSearchPlugin DiscoveryFile { get; } = new OpenSearchPlugin("discovery-file"); + public static OpenSearchPlugin DiscoveryGCE { get; } = new OpenSearchPlugin("discovery-gce"); + + public static OpenSearchPlugin IngestAttachment { get; } = + new OpenSearchPlugin("ingest-attachment", version => version >= "1.0.0"); + + public static OpenSearchPlugin IngestGeoIp { get; } = + new OpenSearchPlugin("ingest-geoip", version => version >= "1.0.0") + { + ShippedByDefaultAsOf = "1.0.0" + }; + + public static OpenSearchPlugin IngestUserAgent { get; } = + new OpenSearchPlugin("ingest-user-agent", version => version >= "1.0.0") + { + ShippedByDefaultAsOf = "1.0.0" + }; + + public static OpenSearchPlugin MapperAttachment { get; } = new OpenSearchPlugin("mapper-attachments"); + public static OpenSearchPlugin MapperMurmur3 { get; } = new OpenSearchPlugin("mapper-murmur3"); + public static OpenSearchPlugin MapperSize { get; } = new OpenSearchPlugin("mapper-size"); + + public static OpenSearchPlugin RepositoryAzure { get; } = new OpenSearchPlugin("repository-azure"); + public static OpenSearchPlugin RepositoryGCS { get; } = new OpenSearchPlugin("repository-gcs"); + public static OpenSearchPlugin RepositoryHDFS { get; } = new OpenSearchPlugin("repository-hdfs"); + public static OpenSearchPlugin RepositoryS3 { get; } = new OpenSearchPlugin("repository-s3"); + + public static OpenSearchPlugin StoreSMB { get; } = new OpenSearchPlugin("store-smb"); + + public static OpenSearchPlugin DeleteByQuery { get; } = + new OpenSearchPlugin("delete-by-query", version => version < "1.0.0"); + } +} diff --git a/abstractions/src/OpenSearch.Stack.ArtifactsApi/Products/Product.cs b/abstractions/src/OpenSearch.Stack.ArtifactsApi/Products/Product.cs new file mode 100644 index 0000000000..bd515ae829 --- /dev/null +++ b/abstractions/src/OpenSearch.Stack.ArtifactsApi/Products/Product.cs @@ -0,0 +1,81 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System.Collections.Concurrent; +using OpenSearch.Stack.ArtifactsApi.Platform; + +namespace OpenSearch.Stack.ArtifactsApi.Products +{ + public class Product + { + private static readonly ConcurrentDictionary CachedProducts = + new ConcurrentDictionary(); + + private static readonly OpenSearchVersion DefaultIncludePlatformSuffix = OpenSearchVersion.From("1.0.0"); + + private Product(string productName) => ProductName = productName; + + protected Product(string productName, SubProduct relatedProduct, ServerType serverType, + OpenSearchVersion platformVersionSuffixAfter = null) : this(productName) + { + SubProduct = relatedProduct; + ServerType = serverType; + PlatformSuffixAfter = platformVersionSuffixAfter ?? DefaultIncludePlatformSuffix; + } + + public SubProduct SubProduct { get; } + + public string Moniker => SubProduct?.SubProductName ?? ProductName; + + public string Extension => PlatformDependent ? OsMonikers.CurrentPlatformArchiveExtension() : "zip"; + + public string ProductName { get; } + + public ServerType ServerType { get; } + + public bool PlatformDependent => SubProduct?.PlatformDependent ?? true; + + public OpenSearchVersion PlatformSuffixAfter { get; } + + public static Product OpenSearch { get; } = From("opensearch"); + + public static Product OpenSearchDashboards { get; } = From("opensearch-dashboards", platformInZipAfter: "1.0.0"); + + public static Product From(string product, SubProduct subProduct = null, ServerType serverType = ServerType.DEFAULT, + OpenSearchVersion platformInZipAfter = null) => + CachedProducts.GetOrAdd(subProduct == null ? $"{product}-{serverType}" : $"{product}/{subProduct.SubProductName}", + k => new Product(product, subProduct, serverType, platformInZipAfter)); + + public static Product OpenSearchPlugin(OpenSearchPlugin plugin) => From("opensearch-plugins", plugin); + + public override string ToString() => + SubProduct != null ? $"{ProductName}/{SubProduct.SubProductName}" : ProductName; + + public string PatchDownloadUrl(string downloadUrl) => SubProduct?.PatchDownloadUrl(downloadUrl) ?? downloadUrl; + } +} diff --git a/abstractions/src/OpenSearch.Stack.ArtifactsApi/Products/SubProduct.cs b/abstractions/src/OpenSearch.Stack.ArtifactsApi/Products/SubProduct.cs new file mode 100644 index 0000000000..4d1b6e185f --- /dev/null +++ b/abstractions/src/OpenSearch.Stack.ArtifactsApi/Products/SubProduct.cs @@ -0,0 +1,70 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; + +namespace OpenSearch.Stack.ArtifactsApi.Products +{ + public class SubProduct + { + private readonly Func _getExistsMoniker; + + private readonly Func _isValid; + + public SubProduct(string subProject, Func isValid = null, + Func listName = null) + { + SubProductName = subProject; + _isValid = isValid ?? (v => true); + _getExistsMoniker = listName ?? (v => subProject); + } + + public string SubProductName { get; } + + public OpenSearchVersion ShippedByDefaultAsOf { get; set; } + + /// + /// Temporary, snapshot API reports bad plugin download urls + /// + public Func PatchDownloadUrl { get; set; } = s => s; + + public bool PlatformDependent { get; protected set; } + + /// what moniker to use when asserting the sub product is already present + public string GetExistsMoniker(OpenSearchVersion version) => _getExistsMoniker(version); + + /// Whether the sub project is included in the distribution out of the box for the given version + public bool IsIncludedOutOfTheBox(OpenSearchVersion version) => + ShippedByDefaultAsOf != null && version >= ShippedByDefaultAsOf; + + /// Whether the subProject is valid for the given version + public bool IsValid(OpenSearchVersion version) => IsIncludedOutOfTheBox(version) || _isValid(version); + + public override string ToString() => SubProductName; + } +} diff --git a/abstractions/src/OpenSearch.Stack.ArtifactsApi/README.md b/abstractions/src/OpenSearch.Stack.ArtifactsApi/README.md new file mode 100644 index 0000000000..fed65b8b53 --- /dev/null +++ b/abstractions/src/OpenSearch.Stack.ArtifactsApi/README.md @@ -0,0 +1,57 @@ +# OpenSearch.Stack.ArtifactsApi + +Library to fetch the url and metadata for released artifacts. + +Supports: + +1. Snapshots builds + * `latest-MAJOR` where `MAJOR` is a single integer representing the major you want a snapshot for + * `latest` latest greatest + +3. Released versions + * `MAJOR.MINOR.PATH` where `MAJOR` is still supported as defined by the EOL policy of OpenSearch. + * Note if the version exists but is not yet released it will resolve as a build candidate + + +## Usage + +First create an opensearch version + +```csharp +var version = OpenSearchVersion.From(versionString); +``` + +Where `versionString` is a string in the aforementioned formats. `version.ArtifactBuildState` represents the type of version parsed. + +```csharp +var version = OpenSearchVersion.From(versionString); +``` + +To go from a version to an artifact do the following + +```csharp +var product = Product.From("opensearch"); +var artifact = version.Artifact(product); +``` +By first creating a `product` we can then pass that `product` to `version.Artifact` to get an artifact to that product's version. + +A product can be a main product such as `opensearch` or a related product e.g + +```csharp +var product = Product.From("opensearch-plugins", "analysis-icu"); +var artifact = version.Artifact(product); +``` + +To aid with discoverability we ship with some statics so you do not need to guess the right monikers. + +```csharp +Product.OpenSearch; +Product.OpenSearchDashboards; +Product.OpenSearchPlugin(OpenSearchPlugin.AnalysisIcu); +``` + + + + + + diff --git a/abstractions/src/OpenSearch.Stack.ArtifactsApi/Resolvers/ApiResolver.cs b/abstractions/src/OpenSearch.Stack.ArtifactsApi/Resolvers/ApiResolver.cs new file mode 100644 index 0000000000..e48793fd0b --- /dev/null +++ b/abstractions/src/OpenSearch.Stack.ArtifactsApi/Resolvers/ApiResolver.cs @@ -0,0 +1,127 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.Collections.Concurrent; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Net.Http; +using System.Security.Authentication; +using System.Text.Json; +using System.Text.Json.Serialization; +using System.Text.RegularExpressions; + +namespace OpenSearch.Stack.ArtifactsApi.Resolvers +{ + public static class ApiResolver + { + // TODO: update string when working on artifacts API + private const string ArtifactsApiUrl = "https://artifacts-api.opensearch.org/v1/"; + + private static readonly ConcurrentDictionary Releases = new ConcurrentDictionary(); + + private static HttpClient HttpClient { get; } = + new HttpClient(new HttpClientHandler {SslProtocols = SslProtocols.Tls12}) + { + BaseAddress = new Uri(ArtifactsApiUrl) + }; + + private static Regex BuildHashRegex { get; } = + // TODO: update string when working on artifacts API + new Regex(@"https://(?:snapshots|staging).opensearch.org/(\d+\.\d+\.\d+-([^/]+)?)"); + + public static string FetchJson(string path) + { + using (var stream = HttpClient.GetStreamAsync(path).GetAwaiter().GetResult()) + using (var fileStream = new StreamReader(stream)) + return fileStream.ReadToEnd(); + } + + public static bool IsReleasedVersion(string version) + { + if (Releases.TryGetValue(version, out var released)) return released; + var versionPath = "https://github.com/opensearch-project/opensearch/releases/tag/" + version; + var message = new HttpRequestMessage {Method = HttpMethod.Head, RequestUri = new Uri(versionPath)}; + + using (var response = HttpClient.SendAsync(message).GetAwaiter().GetResult()) + { + released = response.IsSuccessStatusCode; + Releases.TryAdd(version, released); + return released; + } + } + + public static string LatestBuildHash(string version) + { + var json = FetchJson($"search/{version}/msi"); + try + { + // if packages is empty it turns into an array[] otherwise its a dictionary :/ + var packages = JsonSerializer.Deserialize(json).Packages; + if (packages.Count == 0) + throw new Exception("Can not get build hash for: " + version); + return GetBuildHash(packages.First().Value.DownloadUrl); + } + catch + { + throw new Exception("Can not get build hash for: " + version); + } + } + + public static string GetBuildHash(string url) + { + var tokens = BuildHashRegex.Split(url).Where(s => !string.IsNullOrWhiteSpace(s)).ToArray(); + if (tokens.Length < 2) + throw new Exception("Can not parse build hash from: " + url); + + return tokens[1]; + } + } + + internal class ArtifactsVersionsResponse + { + [JsonPropertyName("versions")] public List Versions { get; set; } + } + + internal class ArtifactsSearchResponse + { + [JsonPropertyName("packages")] public Dictionary Packages { get; set; } + } + + internal class SearchPackage + { + [JsonPropertyName("url")] public string DownloadUrl { get; set; } + [JsonPropertyName("sha_url")] public string ShaUrl { get; set; } + [JsonPropertyName("asc_url")] public string AscUrl { get; set; } + [JsonPropertyName("type")] public string Type { get; set; } + [JsonPropertyName("architecture")] public string Architecture { get; set; } + [JsonPropertyName("os")] public string[] OperatingSystem { get; set; } + [JsonPropertyName("classifier")] public string Classifier { get; set; } + } +} diff --git a/abstractions/src/OpenSearch.Stack.ArtifactsApi/Resolvers/ReleasedVersionResolver.cs b/abstractions/src/OpenSearch.Stack.ArtifactsApi/Resolvers/ReleasedVersionResolver.cs new file mode 100644 index 0000000000..6533e4a6b4 --- /dev/null +++ b/abstractions/src/OpenSearch.Stack.ArtifactsApi/Resolvers/ReleasedVersionResolver.cs @@ -0,0 +1,86 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.Runtime.InteropServices; +using OpenSearch.Stack.ArtifactsApi.Platform; +using OpenSearch.Stack.ArtifactsApi.Products; +using Version = SemVer.Version; + +namespace OpenSearch.Stack.ArtifactsApi.Resolvers +{ + public static class ReleasedVersionResolver + { + private const string ArtifactsUrl = "https://artifacts.opensearch.org"; + + public static bool TryResolve(Product product, Version version, OSPlatform platform, Architecture architecture, out Artifact artifact) + { + var downloadUrl = ""; + switch (product.ServerType) + { + case ServerType.OpenSearch: + var productMoniker = product.Moniker; + var platformMoniker = OsMonikers.GetOpenSearchPlatformMoniker(platform, architecture); + var downloadPath = $"{ArtifactsUrl}/releases/bundle/{product}/{version}"; + var extension = OsMonikers.GetPlatformArchiveExtension(platform); + var archive = $"{productMoniker}-{version}-{platformMoniker}.{extension}"; + downloadUrl = $"{downloadPath}/{archive}"; + break; + case ServerType.OpenDistro: + if (platform == OSPlatform.Linux) + { + // Only version 1.13.x supported, because it is based on elasticsearch 7.10.2: https://opendistro.github.io/for-elasticsearch-docs/version-history/ + if (version < new Version("1.13.0")) + throw new ArgumentOutOfRangeException($"This OpenDistro version {version} is not supported, only 1.13.0 to 1.13.3 are supported"); + downloadUrl = $"https://d3g5vo6xdbdb9a.cloudfront.net/tarball/opendistro-elasticsearch/opendistroforelasticsearch-{version}-linux-x64.{product.Extension}"; + } + else if (platform == OSPlatform.Windows) + { + // No Windows package for version < 1.3.0 + if (version < new Version("1.13.0")) + throw new ArgumentOutOfRangeException($"This OpenDistro version {version} is not supported, only 1.13.0 to 1.13.3 are supported"); + downloadUrl = $"https://d3g5vo6xdbdb9a.cloudfront.net/downloads/odfe-windows/ode-windows-zip/opendistroforelasticsearch-{version}-windows-x64.{product.Extension}"; + } + else + throw new ArgumentOutOfRangeException($"OS {platform} is not supported by OpenDistro"); + break; + case ServerType.ElasticSearch: + // Only Elasticsearch v.7.10.2 is supported + if (version != new Version("7.10.2")) + throw new ArgumentOutOfRangeException($"Elasticsearch version {version} is not supported, the only supported version is 7.10.2"); + if (platform == OSPlatform.Windows) downloadUrl = "https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.10.2-windows-x86_64.zip"; + if (platform == OSPlatform.Linux) downloadUrl = "https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.10.2-linux-x86_64.tar.gz"; + if (platform == OSPlatform.OSX) downloadUrl = "https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.10.2-darwin-x86_64.tar.gz"; + break; + } + + artifact = new Artifact(product, version, downloadUrl, ArtifactBuildState.Released, null); + return true; + } + } +} diff --git a/abstractions/src/OpenSearch.Stack.ArtifactsApi/Resolvers/SnapshotApiResolver.cs b/abstractions/src/OpenSearch.Stack.ArtifactsApi/Resolvers/SnapshotApiResolver.cs new file mode 100644 index 0000000000..bcd49f717e --- /dev/null +++ b/abstractions/src/OpenSearch.Stack.ArtifactsApi/Resolvers/SnapshotApiResolver.cs @@ -0,0 +1,131 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Runtime.InteropServices; +using System.Text.Json; +using System.Text.RegularExpressions; +using System.Threading; +using OpenSearch.Stack.ArtifactsApi.Platform; +using OpenSearch.Stack.ArtifactsApi.Products; +using SemVer; +using Version = SemVer.Version; + +namespace OpenSearch.Stack.ArtifactsApi.Resolvers +{ + public static class SnapshotApiResolver + { + public static readonly System.Lazy> AvailableVersions = + new System.Lazy>(LoadVersions, LazyThreadSafetyMode.ExecutionAndPublication); + + private static Regex PackageProductRegex { get; } = + new Regex(@"(.*?)-(\d+\.\d+\.\d+(?:-(?:SNAPSHOT|alpha\d+|beta\d+|rc\d+))?)"); + + private static Version IncludeOsMoniker { get; } = new Version("1.0.0"); + + public static Version LatestReleaseOrSnapshot => AvailableVersions.Value.OrderByDescending(v => v).First(); + + public static bool TryResolve(Product product, Version version, OSPlatform os, string filters, + out Artifact artifact) + { + artifact = null; + var p = product.SubProduct?.SubProductName ?? product.ProductName; + var query = p; + if (product.PlatformDependent && version > product.PlatformSuffixAfter) + query += $",{OsMonikers.From(os)}"; + else if (product.PlatformDependent) + query += $",{OsMonikers.CurrentPlatformSearchFilter()}"; + if (!string.IsNullOrWhiteSpace(filters)) + query += $",{filters}"; + + var packages = new Dictionary(); + try + { + var json = ApiResolver.FetchJson($"search/{version}/{query}"); + // if packages is empty it turns into an array[] otherwise its a dictionary :/ + packages = JsonSerializer.Deserialize(json).Packages; + } + catch + { + } + + if (packages == null || packages.Count == 0) return false; + var list = packages + .OrderByDescending(k => k.Value.Classifier == null ? 1 : 0) + .ToArray(); + + var ext = OsMonikers.CurrentPlatformArchiveExtension(); + var shouldEndWith = $"{version}.{ext}"; + if (product.PlatformDependent && version > product.PlatformSuffixAfter) + shouldEndWith = $"{version}-{OsMonikers.CurrentPlatformPackageSuffix()}.{ext}"; + foreach (var kv in list) + { + if (product.PlatformDependent && !kv.Key.EndsWith(shouldEndWith)) continue; + + + var tokens = PackageProductRegex.Split(kv.Key).Where(s => !string.IsNullOrWhiteSpace(s)).ToArray(); + if (tokens.Length < 2) continue; + + if (!tokens[0].Equals(p, StringComparison.CurrentCultureIgnoreCase)) continue; + if (!tokens[1].Equals(version.ToString(), StringComparison.CurrentCultureIgnoreCase)) continue; + var buildHash = ApiResolver.GetBuildHash(kv.Value.DownloadUrl); + artifact = new Artifact(product, version, kv.Value, buildHash); + } + + return false; + } + + + private static IReadOnlyCollection LoadVersions() + { + var json = ApiResolver.FetchJson("versions"); + var versions = JsonSerializer.Deserialize(json).Versions; + + return new List(versions.Select(v => new Version(v))); + } + + public static Version LatestSnapshotForMajor(int major) + { + var range = new Range($"~{major}"); + return AvailableVersions.Value + .Reverse() + .FirstOrDefault(v => + v.PreRelease == "SNAPSHOT" && range.IsSatisfied(v.ToString().Replace("-SNAPSHOT", ""))); + } + + public static Version LatestReleaseOrSnapshotForMajor(int major) + { + var range = new Range($"~{major}"); + return AvailableVersions.Value + .Reverse() + .FirstOrDefault(v => range.IsSatisfied(v.ToString().Replace("-SNAPSHOT", ""))); + } + } +} diff --git a/abstractions/src/OpenSearch.Stack.ArtifactsApi/Resolvers/StagingVersionResolver.cs b/abstractions/src/OpenSearch.Stack.ArtifactsApi/Resolvers/StagingVersionResolver.cs new file mode 100644 index 0000000000..c5a49525f2 --- /dev/null +++ b/abstractions/src/OpenSearch.Stack.ArtifactsApi/Resolvers/StagingVersionResolver.cs @@ -0,0 +1,51 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System; +using OpenSearch.Stack.ArtifactsApi.Platform; +using OpenSearch.Stack.ArtifactsApi.Products; +using Version = SemVer.Version; + +namespace OpenSearch.Stack.ArtifactsApi.Resolvers +{ + public static class StagingVersionResolver + { + public static bool TryResolve(Product product, Version version, string buildHash, out Artifact artifact) + { + artifact = null; + // Tests are not supposed to run on any staging server except OpenSearch + if (product.ServerType != ServerType.OpenSearch) + throw new ArgumentOutOfRangeException($"Tests are not supposed to run on staging {product.ServerType} regardless of version"); + + // Only Linux and only x64 is supported now + var downloadUrl = $"https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/{version}/latest/linux/x64/dist/opensearch/opensearch-{version}-linux-x64.{product.Extension}"; + artifact = new Artifact(product, version, downloadUrl, ArtifactBuildState.BuildCandidate, buildHash); + return true; + } + } +} diff --git a/abstractions/src/OpenSearch.Stack.ArtifactsApi/ServerType.cs b/abstractions/src/OpenSearch.Stack.ArtifactsApi/ServerType.cs new file mode 100644 index 0000000000..25ae3e9555 --- /dev/null +++ b/abstractions/src/OpenSearch.Stack.ArtifactsApi/ServerType.cs @@ -0,0 +1,38 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +namespace OpenSearch.Stack.ArtifactsApi +{ + public enum ServerType + { + OpenSearch, + OpenDistro, + ElasticSearch, + DEFAULT = OpenSearch + } +} diff --git a/abstractions/src/OpenSearch.Stack.ArtifactsApi/packages.lock.json b/abstractions/src/OpenSearch.Stack.ArtifactsApi/packages.lock.json new file mode 100644 index 0000000000..f2c6612c78 --- /dev/null +++ b/abstractions/src/OpenSearch.Stack.ArtifactsApi/packages.lock.json @@ -0,0 +1,812 @@ +{ + "version": 1, + "dependencies": { + ".NETFramework,Version=v4.6.1": { + "Microsoft.NETFramework.ReferenceAssemblies": { + "type": "Direct", + "requested": "[1.0.0-preview.2, )", + "resolved": "1.0.0-preview.2", + "contentHash": "m+pJPEO7HyXvrOna5Sr3s77ewXonjYWJTNL6drh8xACnMNxnlqUDKx9HfGeSE9wmfY0lQwppaeZpFTPGaH7kZg==", + "dependencies": { + "Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.0-preview.2" + } + }, + "SemanticVersioning": { + "type": "Direct", + "requested": "[0.8.0, )", + "resolved": "0.8.0", + "contentHash": "hUCnQL79hU0W6X4jPeMAtGDwoEJeBEZfGBnkT+jPG45lD7KHn4h61HgYN8y1HAjPrXmC5oJcLx3l8ygPJOqvlA==" + }, + "System.Net.Http": { + "type": "Direct", + "requested": "[4.3.4, )", + "resolved": "4.3.4", + "contentHash": "aOa2d51SEbmM+H+Csw7yJOuNZoHkrP2XnAurye5HWYgGVVU54YZDvsLUYRv6h18X3sPnjNCANmN7ZhIPiqMcjA==", + "dependencies": { + "System.Security.Cryptography.X509Certificates": "4.3.0" + } + }, + "System.Runtime.InteropServices.RuntimeInformation": { + "type": "Direct", + "requested": "[4.3.0, )", + "resolved": "4.3.0", + "contentHash": "cbz4YJMqRDR7oLeMRbdYv7mYzc++17lNhScCX0goO2XpGWdvAt60CGN+FHdePUEHCe/Jy9jUlvNAiNdM+7jsOw==" + }, + "System.Text.Json": { + "type": "Direct", + "requested": "[6.0.5, )", + "resolved": "6.0.5", + "contentHash": "SSH+YYrMpvLcy7Orzb5K1tSyffnFacWahyxCCjYH1PbSHdAF4dekmIetBurFKgtTHDmwEe/J2Csi/7niRH6d/g==", + "dependencies": { + "Microsoft.Bcl.AsyncInterfaces": "6.0.0", + "System.Buffers": "4.5.1", + "System.Memory": "4.5.4", + "System.Numerics.Vectors": "4.5.0", + "System.Runtime.CompilerServices.Unsafe": "6.0.0", + "System.Text.Encodings.Web": "6.0.0", + "System.Threading.Tasks.Extensions": "4.5.4", + "System.ValueTuple": "4.5.0" + } + }, + "Microsoft.Bcl.AsyncInterfaces": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "UcSjPsst+DfAdJGVDsu346FX0ci0ah+lw3WRtn18NUwEqRt70HaOQ7lI72vy3+1LxtqI3T5GWwV39rQSrCzAeg==", + "dependencies": { + "System.Threading.Tasks.Extensions": "4.5.4" + } + }, + "Microsoft.NETFramework.ReferenceAssemblies.net461": { + "type": "Transitive", + "resolved": "1.0.0-preview.2", + "contentHash": "59D9ISjzCpfHG41r5x4BNZNNOCmE2o5YX8vcdOwsqfxOA0+6vQnxZrYq8KtthUU2JSvC13g941rSr5GRaNQOJg==" + }, + "System.Buffers": { + "type": "Transitive", + "resolved": "4.5.1", + "contentHash": "Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==" + }, + "System.Memory": { + "type": "Transitive", + "resolved": "4.5.4", + "contentHash": "1MbJTHS1lZ4bS4FmsJjnuGJOu88ZzTT2rLvrhW7Ygic+pC0NWA+3hgAen0HRdsocuQXCkUTdFn9yHJJhsijDXw==", + "dependencies": { + "System.Buffers": "4.5.1", + "System.Numerics.Vectors": "4.5.0", + "System.Runtime.CompilerServices.Unsafe": "4.5.3" + } + }, + "System.Numerics.Vectors": { + "type": "Transitive", + "resolved": "4.5.0", + "contentHash": "QQTlPTl06J/iiDbJCiepZ4H//BVraReU4O4EoRw1U02H5TLUIT7xn3GnDp9AXPSlJUDyFs4uWjWafNX6WrAojQ==" + }, + "System.Runtime.CompilerServices.Unsafe": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" + }, + "System.Security.Cryptography.Algorithms": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "W1kd2Y8mYSCgc3ULTAZ0hOP2dSdG5YauTb1089T0/kRcN2MpSAW1izOFROrJgxSlMn3ArsgHXagigyi+ibhevg==", + "dependencies": { + "System.Security.Cryptography.Primitives": "4.3.0" + } + }, + "System.Security.Cryptography.Encoding": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "1DEWjZZly9ae9C79vFwqaO5kaOlI5q+3/55ohmq/7dpDyDfc8lYe7YVxJUZ5MF/NtbkRjwFRo14yM4OEo9EmDw==" + }, + "System.Security.Cryptography.Primitives": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "7bDIyVFNL/xKeFHjhobUAQqSpJq9YTOpbEs6mR233Et01STBMXNAc/V+BM6dwYGc95gVh/Zf+iVXWzj3mE8DWg==" + }, + "System.Security.Cryptography.X509Certificates": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "t2Tmu6Y2NtJ2um0RtcuhP7ZdNNxXEgUm2JeoA/0NvlMjAhKCnM1NX07TDl3244mVp3QU6LPEhT3HTtH1uF7IYw==", + "dependencies": { + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0" + } + }, + "System.Text.Encodings.Web": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "Vg8eB5Tawm1IFqj4TVK1czJX89rhFxJo9ELqc/Eiq0eXy13RK00eubyU6TJE6y+GQXjyV5gSfiewDUZjQgSE0w==", + "dependencies": { + "System.Buffers": "4.5.1", + "System.Memory": "4.5.4", + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "System.Threading.Tasks.Extensions": { + "type": "Transitive", + "resolved": "4.5.4", + "contentHash": "zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==", + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "4.5.3" + } + }, + "System.ValueTuple": { + "type": "Transitive", + "resolved": "4.5.0", + "contentHash": "okurQJO6NRE/apDIP23ajJ0hpiNmJ+f0BwOlB/cSqTLQlw5upkf+5+96+iG2Jw40G1fCVCyPz/FhIABUjMR+RQ==" + } + }, + ".NETStandard,Version=v2.0": { + "Microsoft.NETFramework.ReferenceAssemblies": { + "type": "Direct", + "requested": "[1.0.0-preview.2, )", + "resolved": "1.0.0-preview.2", + "contentHash": "m+pJPEO7HyXvrOna5Sr3s77ewXonjYWJTNL6drh8xACnMNxnlqUDKx9HfGeSE9wmfY0lQwppaeZpFTPGaH7kZg==" + }, + "NETStandard.Library": { + "type": "Direct", + "requested": "[2.0.3, )", + "resolved": "2.0.3", + "contentHash": "st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0" + } + }, + "SemanticVersioning": { + "type": "Direct", + "requested": "[0.8.0, )", + "resolved": "0.8.0", + "contentHash": "hUCnQL79hU0W6X4jPeMAtGDwoEJeBEZfGBnkT+jPG45lD7KHn4h61HgYN8y1HAjPrXmC5oJcLx3l8ygPJOqvlA==", + "dependencies": { + "NETStandard.Library": "1.6.0" + } + }, + "System.Net.Http": { + "type": "Direct", + "requested": "[4.3.4, )", + "resolved": "4.3.4", + "contentHash": "aOa2d51SEbmM+H+Csw7yJOuNZoHkrP2XnAurye5HWYgGVVU54YZDvsLUYRv6h18X3sPnjNCANmN7ZhIPiqMcjA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.1", + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Diagnostics.DiagnosticSource": "4.3.0", + "System.Diagnostics.Tracing": "4.3.0", + "System.Globalization": "4.3.0", + "System.Globalization.Extensions": "4.3.0", + "System.IO": "4.3.0", + "System.IO.FileSystem": "4.3.0", + "System.Net.Primitives": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.OpenSsl": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Security.Cryptography.X509Certificates": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading": "4.3.0", + "System.Threading.Tasks": "4.3.0", + "runtime.native.System": "4.3.0", + "runtime.native.System.Net.Http": "4.3.0", + "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2" + } + }, + "System.Runtime.InteropServices.RuntimeInformation": { + "type": "Direct", + "requested": "[4.3.0, )", + "resolved": "4.3.0", + "contentHash": "cbz4YJMqRDR7oLeMRbdYv7mYzc++17lNhScCX0goO2XpGWdvAt60CGN+FHdePUEHCe/Jy9jUlvNAiNdM+7jsOw==", + "dependencies": { + "System.Reflection": "4.3.0", + "System.Reflection.Extensions": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Threading": "4.3.0", + "runtime.native.System": "4.3.0" + } + }, + "System.Text.Json": { + "type": "Direct", + "requested": "[6.0.5, )", + "resolved": "6.0.5", + "contentHash": "SSH+YYrMpvLcy7Orzb5K1tSyffnFacWahyxCCjYH1PbSHdAF4dekmIetBurFKgtTHDmwEe/J2Csi/7niRH6d/g==", + "dependencies": { + "Microsoft.Bcl.AsyncInterfaces": "6.0.0", + "System.Buffers": "4.5.1", + "System.Memory": "4.5.4", + "System.Numerics.Vectors": "4.5.0", + "System.Runtime.CompilerServices.Unsafe": "6.0.0", + "System.Text.Encodings.Web": "6.0.0", + "System.Threading.Tasks.Extensions": "4.5.4" + } + }, + "Microsoft.Bcl.AsyncInterfaces": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "UcSjPsst+DfAdJGVDsu346FX0ci0ah+lw3WRtn18NUwEqRt70HaOQ7lI72vy3+1LxtqI3T5GWwV39rQSrCzAeg==", + "dependencies": { + "System.Threading.Tasks.Extensions": "4.5.4" + } + }, + "Microsoft.NETCore.Platforms": { + "type": "Transitive", + "resolved": "1.1.1", + "contentHash": "TMBuzAHpTenGbGgk0SMTwyEkyijY/Eae4ZGsFNYJvAr/LDn1ku3Etp3FPxChmDp5HHF3kzJuoaa08N0xjqAJfQ==" + }, + "Microsoft.NETCore.Targets": { + "type": "Transitive", + "resolved": "1.1.0", + "contentHash": "aOZA3BWfz9RXjpzt0sRJJMjAscAUm3Hoa4UWAfceV9UTYxgwZ1lZt5nO2myFf+/jetYQo4uTP7zS8sJY67BBxg==" + }, + "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "7VSGO0URRKoMEAq0Sc9cRz8mb6zbyx/BZDEWhgPdzzpmFhkam3fJ1DAGWFXBI4nGlma+uPKpfuMQP5LXRnOH5g==" + }, + "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "0oAaTAm6e2oVH+/Zttt0cuhGaePQYKII1dY8iaqP7CvOpVKgLybKRFvQjXR2LtxXOXTVPNv14j0ot8uV+HrUmw==" + }, + "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "G24ibsCNi5Kbz0oXWynBoRgtGvsw5ZSVEWjv13/KiCAM8C6wz9zzcCniMeQFIkJ2tasjo2kXlvlBZhplL51kGg==" + }, + "runtime.native.System": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "c/qWt2LieNZIj1jGnVNsE2Kl23Ya2aSTBuXMD6V7k9KWr6l16Tqdwq+hJScEpWER9753NWC8h96PaVNY5Ld7Jw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0" + } + }, + "runtime.native.System.Net.Http": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "ZVuZJqnnegJhd2k/PtAbbIcZ3aZeITq3sj06oKfMBSfphW3HDmk/t4ObvbOk/JA/swGR0LNqMksAh/f7gpTROg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0" + } + }, + "runtime.native.System.Security.Cryptography.Apple": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "DloMk88juo0OuOWr56QG7MNchmafTLYWvABy36izkrLI5VledI0rq28KGs1i9wbpeT9NPQrx/wTf8U2vazqQ3Q==", + "dependencies": { + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "4.3.0" + } + }, + "runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "QR1OwtwehHxSeQvZKXe+iSd+d3XZNkEcuWMFYa2i0aG1l+lR739HPicKMlTbJst3spmeekDVBUS7SeS26s4U/g==", + "dependencies": { + "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2" + } + }, + "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "I+GNKGg2xCHueRd1m9PzeEW7WLbNNLznmTuEi8/vZX71HudUbx1UTwlGkiwMri7JLl8hGaIAWnA/GONhu+LOyQ==" + }, + "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "1Z3TAq1ytS1IBRtPXJvEUZdVsfWfeNEhBkbiOCGEl9wwAfsjP2lz3ZFDx5tq8p60/EqbS0HItG5piHuB71RjoA==" + }, + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "kVXCuMTrTlxq4XOOMAysuNwsXWpYeboGddNGpIgNSZmv1b6r/s/DPk0fYMB7Q5Qo4bY68o48jt4T4y5BVecbCQ==" + }, + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "6mU/cVmmHtQiDXhnzUImxIcDL48GbTk+TsptXyJA+MIOG9LRjPoAQC/qBFB7X+UNyK86bmvGwC8t+M66wsYC8w==" + }, + "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "vjwG0GGcTW/PPg6KVud8F9GLWYuAV1rrw1BKAqY0oh4jcUqg15oYF1+qkGR2x2ZHM4DQnWKQ7cJgYbfncz/lYg==" + }, + "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "7KMFpTkHC/zoExs+PwP8jDCWcrK9H6L7soowT80CUx3e+nxP/AFnq0AQAW5W76z2WYbLAYCRyPfwYFG6zkvQRw==" + }, + "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "xrlmRCnKZJLHxyyLIqkZjNXqgxnKdZxfItrPkjI+6pkRo5lHX8YvSZlWrSI5AVwLMi4HbNWP7064hcAWeZKp5w==" + }, + "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "leXiwfiIkW7Gmn7cgnNcdtNAU70SjmKW3jxGj1iKHOvdn0zRWsgv/l2OJUO5zdGdiv2VRFnAsxxhDgMzofPdWg==" + }, + "System.Buffers": { + "type": "Transitive", + "resolved": "4.5.1", + "contentHash": "Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==" + }, + "System.Collections": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "3Dcj85/TBdVpL5Zr+gEEBUuFe2icOnLalmEh9hfck1PTYbbyWuZgh4fmm2ysCLTrqLQw6t3TgTyJ+VLp+Qb+Lw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Collections.Concurrent": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "ztl69Xp0Y/UXCL+3v3tEU+lIy+bvjKNUmopn1wep/a291pVPK7dxBd6T7WnlQqRog+d1a/hSsgRsmFnIBKTPLQ==", + "dependencies": { + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Diagnostics.Tracing": "4.3.0", + "System.Globalization": "4.3.0", + "System.Reflection": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Threading": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.Diagnostics.Debug": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "ZUhUOdqmaG5Jk3Xdb8xi5kIyQYAA4PnTNlHx1mu9ZY3qv4ELIdKbnL/akbGaKi2RnNUWaZsAs31rvzFdewTj2g==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Diagnostics.DiagnosticSource": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "tD6kosZnTAGdrEa0tZSuFyunMbt/5KYDnHdndJYGqZoNy00XVXyACd5d6KnE1YgYv3ne2CjtAfNXo/fwEhnKUA==", + "dependencies": { + "System.Collections": "4.3.0", + "System.Diagnostics.Tracing": "4.3.0", + "System.Reflection": "4.3.0", + "System.Runtime": "4.3.0", + "System.Threading": "4.3.0" + } + }, + "System.Diagnostics.Tracing": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "rswfv0f/Cqkh78rA5S8eN8Neocz234+emGCtTF3lxPY96F+mmmUen6tbn0glN6PMvlKQb9bPAY5e9u7fgPTkKw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Globalization": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "kYdVd2f2PAdFGblzFswE4hkNANJBKRmsfa2X5LG2AcWE1c7/4t0pYae1L8vfZ5xvE2nK/R9JprtToA61OSHWIg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Globalization.Calendars": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "GUlBtdOWT4LTV3I+9/PJW+56AnnChTaOqqTLFtdmype/L500M2LIyXgmtd9X2P2VOkmJd5c67H5SaC2QcL1bFA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Globalization": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Globalization.Extensions": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "FhKmdR6MPG+pxow6wGtNAWdZh7noIOpdD5TwQ3CprzgIE1bBBoim0vbR1+AWsWjQmU7zXHgQo4TWSP6lCeiWcQ==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.Globalization": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.InteropServices": "4.3.0" + } + }, + "System.IO": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "3qjaHvxQPDpSOYICjUoTsmoq5u6QJAFRUITgeT/4gqkF1bajbSmb1kwSxEA8AHlofqgcKJcM8udgieRNhaJ5Cg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.IO.FileSystem": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "3wEMARTnuio+ulnvi+hkRNROYwa1kylvYahhcLk4HSoVdl+xxTFVeVlYOfLwrDPImGls0mDqbMhrza8qnWPTdA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.IO": "4.3.0", + "System.IO.FileSystem.Primitives": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.IO.FileSystem.Primitives": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "6QOb2XFLch7bEc4lIcJH49nJN2HV+OC3fHDgsLVsBVBk3Y4hFAnOBGzJ2lUu7CyDDFo9IBWkSsnbkT6IBwwiMw==", + "dependencies": { + "System.Runtime": "4.3.0" + } + }, + "System.Linq": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "5DbqIUpsDp0dFftytzuMmc0oeMdQwjcP/EWxsksIz/w1TcFRkZ3yKKz0PqiYFMmEwPSWw+qNVqD7PJ889JzHbw==", + "dependencies": { + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0" + } + }, + "System.Memory": { + "type": "Transitive", + "resolved": "4.5.4", + "contentHash": "1MbJTHS1lZ4bS4FmsJjnuGJOu88ZzTT2rLvrhW7Ygic+pC0NWA+3hgAen0HRdsocuQXCkUTdFn9yHJJhsijDXw==", + "dependencies": { + "System.Buffers": "4.5.1", + "System.Numerics.Vectors": "4.4.0", + "System.Runtime.CompilerServices.Unsafe": "4.5.3" + } + }, + "System.Net.Primitives": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "qOu+hDwFwoZPbzPvwut2qATe3ygjeQBDQj91xlsaqGFQUI5i4ZnZb8yyQuLGpDGivEPIt8EJkd1BVzVoP31FXA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0", + "System.Runtime.Handles": "4.3.0" + } + }, + "System.Numerics.Vectors": { + "type": "Transitive", + "resolved": "4.5.0", + "contentHash": "QQTlPTl06J/iiDbJCiepZ4H//BVraReU4O4EoRw1U02H5TLUIT7xn3GnDp9AXPSlJUDyFs4uWjWafNX6WrAojQ==" + }, + "System.Reflection": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "KMiAFoW7MfJGa9nDFNcfu+FpEdiHpWgTcS2HdMpDvt9saK3y/G4GwprPyzqjFH9NTaGPQeWNHU+iDlDILj96aQ==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.IO": "4.3.0", + "System.Reflection.Primitives": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Reflection.Extensions": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "rJkrJD3kBI5B712aRu4DpSIiHRtr6QlfZSQsb0hYHrDCZORXCFjQfoipo2LaMUHoT9i1B7j7MnfaEKWDFmFQNQ==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Reflection": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Reflection.Primitives": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "5RXItQz5As4xN2/YUDxdpsEkMhvw3e6aNveFXUn4Hl/udNTCNhnKp8lT9fnc3MhvGKh1baak5CovpuQUXHAlIA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Resources.ResourceManager": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "/zrcPkkWdZmI4F92gL/TPumP98AVDu/Wxr3CSJGQQ+XN6wbRZcyfSKVoPo17ilb3iOr0cCRqJInGwNMolqhS8A==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Globalization": "4.3.0", + "System.Reflection": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Runtime": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "JufQi0vPQ0xGnAczR13AUFglDyVYt4Kqnz1AZaiKZ5+GICq0/1MH/mO/eAJHt/mHW1zjKBJd7kV26SrxddAhiw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0" + } + }, + "System.Runtime.CompilerServices.Unsafe": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" + }, + "System.Runtime.Extensions": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "guW0uK0fn5fcJJ1tJVXYd7/1h5F+pea1r7FLSOz/f8vPEqbR2ZAknuRDvTQ8PzAilDveOxNjSfr0CHfIQfFk8g==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Runtime.Handles": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "OKiSUN7DmTWeYb3l51A7EYaeNMnvxwE249YtZz7yooT4gOZhmTjIn48KgSsw2k2lYdLgTKNJw/ZIfSElwDRVgg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Runtime.InteropServices": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "uv1ynXqiMK8mp1GM3jDqPCFN66eJ5w5XNomaK2XD+TuCroNTLFGeZ+WCmBMcBDyTFKou3P6cR6J/QsaqDp7fGQ==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Reflection": "4.3.0", + "System.Reflection.Primitives": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Handles": "4.3.0" + } + }, + "System.Runtime.Numerics": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "yMH+MfdzHjy17l2KESnPiF2dwq7T+xLnSJar7slyimAkUh/gTrS9/UQOtv7xarskJ2/XDSNvfLGOBQPjL7PaHQ==", + "dependencies": { + "System.Globalization": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0" + } + }, + "System.Security.Cryptography.Algorithms": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "W1kd2Y8mYSCgc3ULTAZ0hOP2dSdG5YauTb1089T0/kRcN2MpSAW1izOFROrJgxSlMn3ArsgHXagigyi+ibhevg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.Collections": "4.3.0", + "System.IO": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Runtime.Numerics": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0", + "runtime.native.System.Security.Cryptography.Apple": "4.3.0", + "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" + } + }, + "System.Security.Cryptography.Cng": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "03idZOqFlsKRL4W+LuCpJ6dBYDUWReug6lZjBa3uJWnk5sPCUXckocevTaUA8iT/MFSrY/2HXkOt753xQ/cf8g==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.IO": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0" + } + }, + "System.Security.Cryptography.Csp": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "X4s/FCkEUnRGnwR3aSfVIkldBmtURMhmexALNTwpjklzxWU7yjMk7GHLKOZTNkgnWnE0q7+BCf9N2LVRWxewaA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.IO": "4.3.0", + "System.Reflection": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading": "4.3.0" + } + }, + "System.Security.Cryptography.Encoding": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "1DEWjZZly9ae9C79vFwqaO5kaOlI5q+3/55ohmq/7dpDyDfc8lYe7YVxJUZ5MF/NtbkRjwFRo14yM4OEo9EmDw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.Collections": "4.3.0", + "System.Collections.Concurrent": "4.3.0", + "System.Linq": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0", + "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" + } + }, + "System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "h4CEgOgv5PKVF/HwaHzJRiVboL2THYCou97zpmhjghx5frc7fIvlkY1jL+lnIQyChrJDMNEXS6r7byGif8Cy4w==", + "dependencies": { + "System.Collections": "4.3.0", + "System.IO": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Runtime.Numerics": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0", + "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" + } + }, + "System.Security.Cryptography.Primitives": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "7bDIyVFNL/xKeFHjhobUAQqSpJq9YTOpbEs6mR233Et01STBMXNAc/V+BM6dwYGc95gVh/Zf+iVXWzj3mE8DWg==", + "dependencies": { + "System.Diagnostics.Debug": "4.3.0", + "System.Globalization": "4.3.0", + "System.IO": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Threading": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.Security.Cryptography.X509Certificates": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "t2Tmu6Y2NtJ2um0RtcuhP7ZdNNxXEgUm2JeoA/0NvlMjAhKCnM1NX07TDl3244mVp3QU6LPEhT3HTtH1uF7IYw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Globalization": "4.3.0", + "System.Globalization.Calendars": "4.3.0", + "System.IO": "4.3.0", + "System.IO.FileSystem": "4.3.0", + "System.IO.FileSystem.Primitives": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Runtime.Numerics": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Cng": "4.3.0", + "System.Security.Cryptography.Csp": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.OpenSsl": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading": "4.3.0", + "runtime.native.System": "4.3.0", + "runtime.native.System.Net.Http": "4.3.0", + "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" + } + }, + "System.Text.Encoding": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "BiIg+KWaSDOITze6jGQynxg64naAPtqGHBwDrLaCtixsa5bKiR8dpPOHA7ge3C0JJQizJE+sfkz1wV+BAKAYZw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Text.Encodings.Web": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "Vg8eB5Tawm1IFqj4TVK1czJX89rhFxJo9ELqc/Eiq0eXy13RK00eubyU6TJE6y+GQXjyV5gSfiewDUZjQgSE0w==", + "dependencies": { + "System.Buffers": "4.5.1", + "System.Memory": "4.5.4", + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "System.Threading": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "VkUS0kOBcUf3Wwm0TSbrevDDZ6BlM+b/HRiapRFWjM5O0NS0LviG0glKmFK+hhPDd1XFeSdU1GmlLhb2CoVpIw==", + "dependencies": { + "System.Runtime": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.Threading.Tasks": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "LbSxKEdOUhVe8BezB/9uOGGppt+nZf6e1VFyw6v3DN6lqitm0OSn2uXMOdtP0M3W4iMcqcivm2J6UgqiwwnXiA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Threading.Tasks.Extensions": { + "type": "Transitive", + "resolved": "4.5.4", + "contentHash": "zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==", + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "4.5.3" + } + } + } + } +} \ No newline at end of file diff --git a/abstractions/src/OpenSearch.Stack.ArtifactsApiTests/OpenSearch.Stack.ArtifactsApiTests.csproj b/abstractions/src/OpenSearch.Stack.ArtifactsApiTests/OpenSearch.Stack.ArtifactsApiTests.csproj new file mode 100644 index 0000000000..9a1e672dce --- /dev/null +++ b/abstractions/src/OpenSearch.Stack.ArtifactsApiTests/OpenSearch.Stack.ArtifactsApiTests.csproj @@ -0,0 +1,25 @@ + + + + + net5 + enable + + false + + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + + diff --git a/abstractions/src/OpenSearch.Stack.ArtifactsApiTests/ReleasedVersionResolverTests.cs b/abstractions/src/OpenSearch.Stack.ArtifactsApiTests/ReleasedVersionResolverTests.cs new file mode 100644 index 0000000000..e7acd2bf45 --- /dev/null +++ b/abstractions/src/OpenSearch.Stack.ArtifactsApiTests/ReleasedVersionResolverTests.cs @@ -0,0 +1,72 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + + +using System; +using System.Net; +using System.Runtime.InteropServices; +using OpenSearch.Stack.ArtifactsApi; +using OpenSearch.Stack.ArtifactsApi.Products; +using OpenSearch.Stack.ArtifactsApi.Resolvers; +using Xunit; +using Xunit.Abstractions; + +namespace OpenSearch.Stack.ArtifactsApiTests +{ + public class ReleasedVersionResolverTests + { + public ReleasedVersionResolverTests(ITestOutputHelper traceSink) => _traceSink = traceSink ?? throw new NullReferenceException(nameof(traceSink)); + + private readonly ITestOutputHelper _traceSink; + [Fact] + public void Does_Resolver_Construct_Valid_DownloadUrl_Test() + { + var testCases = new[] + { + new {Product = Product.OpenSearch, Version = "1.2.3", Platform = OSPlatform.Linux, Architecture = Architecture.X64}, + new {Product = Product.OpenSearch, Version = "1.2.4", Platform = OSPlatform.Linux, Architecture = Architecture.Arm64}, + new {Product = Product.OpenSearch, Version = "1.0.0", Platform = OSPlatform.Linux, Architecture = Architecture.Arm64} + }; + foreach (var testCase in testCases) + { + var version = OpenSearchVersion.From(testCase.Version); + var resolveSucceeded = ReleasedVersionResolver.TryResolve(testCase.Product, version, testCase.Platform, + testCase.Architecture, out var artifact); + Assert.True(resolveSucceeded); + _traceSink.WriteLine($"Checking URL {artifact.DownloadUrl}"); + var downloadRequest = WebRequest.CreateHttp(new Uri(artifact.DownloadUrl)); + downloadRequest.Timeout = 3 * 1000; // Timeout of 3 seconds. + // HTTP HEAD request can be used to check if a web resource exists without getting its content. + // See here for more details https://hc.apache.org/httpclient-legacy/methods/head.html + downloadRequest.Method = "HEAD"; + var response = (HttpWebResponse)downloadRequest.GetResponse(); + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + } + } + } +} diff --git a/abstractions/src/OpenSearch.Stack.ArtifactsApiTests/packages.lock.json b/abstractions/src/OpenSearch.Stack.ArtifactsApiTests/packages.lock.json new file mode 100644 index 0000000000..55c65b1632 --- /dev/null +++ b/abstractions/src/OpenSearch.Stack.ArtifactsApiTests/packages.lock.json @@ -0,0 +1,1138 @@ +{ + "version": 1, + "dependencies": { + ".NETCoreApp,Version=v5.0": { + "coverlet.collector": { + "type": "Direct", + "requested": "[3.1.0, )", + "resolved": "3.1.0", + "contentHash": "YzYqSRrjoP5lULBhTDcTOjuM4IDPPi6PhFsl4w8EI4WdZhE6llt7E38Tg4CHyrS+QKwyu1+9OwkdDgluOdoBTw==" + }, + "Microsoft.NET.Test.Sdk": { + "type": "Direct", + "requested": "[16.5.0, )", + "resolved": "16.5.0", + "contentHash": "yHZOhVSPuGqgHi+KhHiAZqNY08avkQraXKvgKgDU8c/ztmGzw7gmukkv49EaTq6T3xmp4XroWk3gAlbJHMxl8w==", + "dependencies": { + "Microsoft.CodeCoverage": "16.5.0", + "Microsoft.TestPlatform.TestHost": "16.5.0" + } + }, + "Microsoft.NETFramework.ReferenceAssemblies": { + "type": "Direct", + "requested": "[1.0.0-preview.2, )", + "resolved": "1.0.0-preview.2", + "contentHash": "m+pJPEO7HyXvrOna5Sr3s77ewXonjYWJTNL6drh8xACnMNxnlqUDKx9HfGeSE9wmfY0lQwppaeZpFTPGaH7kZg==" + }, + "xunit": { + "type": "Direct", + "requested": "[2.4.1, )", + "resolved": "2.4.1", + "contentHash": "XNR3Yz9QTtec16O0aKcO6+baVNpXmOnPUxDkCY97J+8krUYxPvXT1szYYEUdKk4sB8GOI2YbAjRIOm8ZnXRfzQ==", + "dependencies": { + "xunit.analyzers": "0.10.0", + "xunit.assert": "[2.4.1]", + "xunit.core": "[2.4.1]" + } + }, + "xunit.runner.visualstudio": { + "type": "Direct", + "requested": "[2.4.3, )", + "resolved": "2.4.3", + "contentHash": "kZZSmOmKA8OBlAJaquPXnJJLM9RwQ27H7BMVqfMLUcTi9xHinWGJiWksa3D4NEtz0wZ/nxd2mogObvBgJKCRhQ==" + }, + "Microsoft.CodeCoverage": { + "type": "Transitive", + "resolved": "16.5.0", + "contentHash": "PM5YLtyN45EyUGePJpaNogndlaQPrMgQQXHKMhMESC6KfSVvt+j7+dxBi8NYC6X6dZVysf7ngwhSW3wwvPJRSQ==" + }, + "Microsoft.CSharp": { + "type": "Transitive", + "resolved": "4.0.1", + "contentHash": "17h8b5mXa87XYKrrVqdgZ38JefSUqLChUQpXgSnpzsM0nDOhE40FTeNWOJ/YmySGV6tG6T8+hjz6vxbknHJr6A==", + "dependencies": { + "System.Collections": "4.0.11", + "System.Diagnostics.Debug": "4.0.11", + "System.Dynamic.Runtime": "4.0.11", + "System.Globalization": "4.0.11", + "System.Linq": "4.1.0", + "System.Linq.Expressions": "4.1.0", + "System.ObjectModel": "4.0.12", + "System.Reflection": "4.1.0", + "System.Reflection.Extensions": "4.0.1", + "System.Reflection.Primitives": "4.0.1", + "System.Reflection.TypeExtensions": "4.1.0", + "System.Resources.ResourceManager": "4.0.1", + "System.Runtime": "4.1.0", + "System.Runtime.Extensions": "4.1.0", + "System.Runtime.InteropServices": "4.1.0", + "System.Threading": "4.0.11" + } + }, + "Microsoft.NETCore.Platforms": { + "type": "Transitive", + "resolved": "1.1.1", + "contentHash": "TMBuzAHpTenGbGgk0SMTwyEkyijY/Eae4ZGsFNYJvAr/LDn1ku3Etp3FPxChmDp5HHF3kzJuoaa08N0xjqAJfQ==" + }, + "Microsoft.NETCore.Targets": { + "type": "Transitive", + "resolved": "1.1.0", + "contentHash": "aOZA3BWfz9RXjpzt0sRJJMjAscAUm3Hoa4UWAfceV9UTYxgwZ1lZt5nO2myFf+/jetYQo4uTP7zS8sJY67BBxg==" + }, + "Microsoft.TestPlatform.ObjectModel": { + "type": "Transitive", + "resolved": "16.5.0", + "contentHash": "NnLFxmFBCAS6kye2JFszD5WKgj4Zve5KX/R0mhYwh6BVnSeybI2unRnjEPtLyY3CAVhwrY4bh/8LNFtslAcGZg==", + "dependencies": { + "NuGet.Frameworks": "5.0.0" + } + }, + "Microsoft.TestPlatform.TestHost": { + "type": "Transitive", + "resolved": "16.5.0", + "contentHash": "ytGymboQIvjNX5pLC0yp/Bz9sGDHqSnLQgBRtd4VrqOUgKmmcfxMYZ6p0TBZgAT1oijdC6xqUZ7rl8mbaaXTJw==", + "dependencies": { + "Microsoft.TestPlatform.ObjectModel": "16.5.0", + "Newtonsoft.Json": "9.0.1" + } + }, + "Microsoft.Win32.Primitives": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "9ZQKCWxH7Ijp9BfahvL2Zyf1cJIk8XYLF6Yjzr2yi0b2cOut/HQ31qf1ThHAgCc3WiZMdnWcfJCgN82/0UunxA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "NETStandard.Library": { + "type": "Transitive", + "resolved": "1.6.1", + "contentHash": "WcSp3+vP+yHNgS8EV5J7pZ9IRpeDuARBPN28by8zqff1wJQXm26PVU8L3/fYLBJVU7BtDyqNVWq2KlCVvSSR4A==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.Win32.Primitives": "4.3.0", + "System.AppContext": "4.3.0", + "System.Collections": "4.3.0", + "System.Collections.Concurrent": "4.3.0", + "System.Console": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Diagnostics.Tools": "4.3.0", + "System.Diagnostics.Tracing": "4.3.0", + "System.Globalization": "4.3.0", + "System.Globalization.Calendars": "4.3.0", + "System.IO": "4.3.0", + "System.IO.Compression": "4.3.0", + "System.IO.Compression.ZipFile": "4.3.0", + "System.IO.FileSystem": "4.3.0", + "System.IO.FileSystem.Primitives": "4.3.0", + "System.Linq": "4.3.0", + "System.Linq.Expressions": "4.3.0", + "System.Net.Http": "4.3.0", + "System.Net.Primitives": "4.3.0", + "System.Net.Sockets": "4.3.0", + "System.ObjectModel": "4.3.0", + "System.Reflection": "4.3.0", + "System.Reflection.Extensions": "4.3.0", + "System.Reflection.Primitives": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Runtime.InteropServices.RuntimeInformation": "4.3.0", + "System.Runtime.Numerics": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Security.Cryptography.X509Certificates": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Text.Encoding.Extensions": "4.3.0", + "System.Text.RegularExpressions": "4.3.0", + "System.Threading": "4.3.0", + "System.Threading.Tasks": "4.3.0", + "System.Threading.Timer": "4.3.0", + "System.Xml.ReaderWriter": "4.3.0", + "System.Xml.XDocument": "4.3.0" + } + }, + "Newtonsoft.Json": { + "type": "Transitive", + "resolved": "9.0.1", + "contentHash": "U82mHQSKaIk+lpSVCbWYKNavmNH1i5xrExDEquU1i6I5pV6UMOqRnJRSlKO3cMPfcpp0RgDY+8jUXHdQ4IfXvw==", + "dependencies": { + "Microsoft.CSharp": "4.0.1", + "System.Collections": "4.0.11", + "System.Diagnostics.Debug": "4.0.11", + "System.Dynamic.Runtime": "4.0.11", + "System.Globalization": "4.0.11", + "System.IO": "4.1.0", + "System.Linq": "4.1.0", + "System.Linq.Expressions": "4.1.0", + "System.ObjectModel": "4.0.12", + "System.Reflection": "4.1.0", + "System.Reflection.Extensions": "4.0.1", + "System.Resources.ResourceManager": "4.0.1", + "System.Runtime": "4.1.0", + "System.Runtime.Extensions": "4.1.0", + "System.Runtime.Serialization.Primitives": "4.1.1", + "System.Text.Encoding": "4.0.11", + "System.Text.Encoding.Extensions": "4.0.11", + "System.Text.RegularExpressions": "4.1.0", + "System.Threading": "4.0.11", + "System.Threading.Tasks": "4.0.11", + "System.Xml.ReaderWriter": "4.0.11", + "System.Xml.XDocument": "4.0.11" + } + }, + "NuGet.Frameworks": { + "type": "Transitive", + "resolved": "5.0.0", + "contentHash": "c5JVjuVAm4f7E9Vj+v09Z9s2ZsqFDjBpcsyS3M9xRo0bEdm/LVZSzLxxNvfvAwRiiE8nwe1h2G4OwiwlzFKXlA==" + }, + "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "7VSGO0URRKoMEAq0Sc9cRz8mb6zbyx/BZDEWhgPdzzpmFhkam3fJ1DAGWFXBI4nGlma+uPKpfuMQP5LXRnOH5g==" + }, + "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "0oAaTAm6e2oVH+/Zttt0cuhGaePQYKII1dY8iaqP7CvOpVKgLybKRFvQjXR2LtxXOXTVPNv14j0ot8uV+HrUmw==" + }, + "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "G24ibsCNi5Kbz0oXWynBoRgtGvsw5ZSVEWjv13/KiCAM8C6wz9zzcCniMeQFIkJ2tasjo2kXlvlBZhplL51kGg==" + }, + "runtime.native.System": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "c/qWt2LieNZIj1jGnVNsE2Kl23Ya2aSTBuXMD6V7k9KWr6l16Tqdwq+hJScEpWER9753NWC8h96PaVNY5Ld7Jw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0" + } + }, + "runtime.native.System.IO.Compression": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "INBPonS5QPEgn7naufQFXJEp3zX6L4bwHgJ/ZH78aBTpeNfQMtf7C6VrAFhlq2xxWBveIOWyFzQjJ8XzHMhdOQ==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0" + } + }, + "runtime.native.System.Net.Http": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "ZVuZJqnnegJhd2k/PtAbbIcZ3aZeITq3sj06oKfMBSfphW3HDmk/t4ObvbOk/JA/swGR0LNqMksAh/f7gpTROg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0" + } + }, + "runtime.native.System.Security.Cryptography.Apple": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "DloMk88juo0OuOWr56QG7MNchmafTLYWvABy36izkrLI5VledI0rq28KGs1i9wbpeT9NPQrx/wTf8U2vazqQ3Q==", + "dependencies": { + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "4.3.0" + } + }, + "runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "QR1OwtwehHxSeQvZKXe+iSd+d3XZNkEcuWMFYa2i0aG1l+lR739HPicKMlTbJst3spmeekDVBUS7SeS26s4U/g==", + "dependencies": { + "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2" + } + }, + "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "I+GNKGg2xCHueRd1m9PzeEW7WLbNNLznmTuEi8/vZX71HudUbx1UTwlGkiwMri7JLl8hGaIAWnA/GONhu+LOyQ==" + }, + "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "1Z3TAq1ytS1IBRtPXJvEUZdVsfWfeNEhBkbiOCGEl9wwAfsjP2lz3ZFDx5tq8p60/EqbS0HItG5piHuB71RjoA==" + }, + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "kVXCuMTrTlxq4XOOMAysuNwsXWpYeboGddNGpIgNSZmv1b6r/s/DPk0fYMB7Q5Qo4bY68o48jt4T4y5BVecbCQ==" + }, + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "6mU/cVmmHtQiDXhnzUImxIcDL48GbTk+TsptXyJA+MIOG9LRjPoAQC/qBFB7X+UNyK86bmvGwC8t+M66wsYC8w==" + }, + "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "vjwG0GGcTW/PPg6KVud8F9GLWYuAV1rrw1BKAqY0oh4jcUqg15oYF1+qkGR2x2ZHM4DQnWKQ7cJgYbfncz/lYg==" + }, + "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "7KMFpTkHC/zoExs+PwP8jDCWcrK9H6L7soowT80CUx3e+nxP/AFnq0AQAW5W76z2WYbLAYCRyPfwYFG6zkvQRw==" + }, + "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "xrlmRCnKZJLHxyyLIqkZjNXqgxnKdZxfItrPkjI+6pkRo5lHX8YvSZlWrSI5AVwLMi4HbNWP7064hcAWeZKp5w==" + }, + "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.2", + "contentHash": "leXiwfiIkW7Gmn7cgnNcdtNAU70SjmKW3jxGj1iKHOvdn0zRWsgv/l2OJUO5zdGdiv2VRFnAsxxhDgMzofPdWg==" + }, + "SemanticVersioning": { + "type": "Transitive", + "resolved": "0.8.0", + "contentHash": "hUCnQL79hU0W6X4jPeMAtGDwoEJeBEZfGBnkT+jPG45lD7KHn4h61HgYN8y1HAjPrXmC5oJcLx3l8ygPJOqvlA==", + "dependencies": { + "NETStandard.Library": "1.6.0" + } + }, + "System.AppContext": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "fKC+rmaLfeIzUhagxY17Q9siv/sPrjjKcfNg1Ic8IlQkZLipo8ljcaZQu4VtI4Jqbzjc2VTjzGLF6WmsRXAEgA==", + "dependencies": { + "System.Runtime": "4.3.0" + } + }, + "System.Buffers": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "ratu44uTIHgeBeI0dE8DWvmXVBSo4u7ozRZZHOMmK/JPpYyo0dAfgSiHlpiObMQ5lEtEyIXA40sKRYg5J6A8uQ==", + "dependencies": { + "System.Diagnostics.Debug": "4.3.0", + "System.Diagnostics.Tracing": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Threading": "4.3.0" + } + }, + "System.Collections": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "3Dcj85/TBdVpL5Zr+gEEBUuFe2icOnLalmEh9hfck1PTYbbyWuZgh4fmm2ysCLTrqLQw6t3TgTyJ+VLp+Qb+Lw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Collections.Concurrent": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "ztl69Xp0Y/UXCL+3v3tEU+lIy+bvjKNUmopn1wep/a291pVPK7dxBd6T7WnlQqRog+d1a/hSsgRsmFnIBKTPLQ==", + "dependencies": { + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Diagnostics.Tracing": "4.3.0", + "System.Globalization": "4.3.0", + "System.Reflection": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Threading": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.Console": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "DHDrIxiqk1h03m6khKWV2X8p/uvN79rgSqpilL6uzpmSfxfU5ng8VcPtW4qsDsQDHiTv6IPV9TmD5M/vElPNLg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.IO": "4.3.0", + "System.Runtime": "4.3.0", + "System.Text.Encoding": "4.3.0" + } + }, + "System.Diagnostics.Debug": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "ZUhUOdqmaG5Jk3Xdb8xi5kIyQYAA4PnTNlHx1mu9ZY3qv4ELIdKbnL/akbGaKi2RnNUWaZsAs31rvzFdewTj2g==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Diagnostics.DiagnosticSource": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "tD6kosZnTAGdrEa0tZSuFyunMbt/5KYDnHdndJYGqZoNy00XVXyACd5d6KnE1YgYv3ne2CjtAfNXo/fwEhnKUA==", + "dependencies": { + "System.Collections": "4.3.0", + "System.Diagnostics.Tracing": "4.3.0", + "System.Reflection": "4.3.0", + "System.Runtime": "4.3.0", + "System.Threading": "4.3.0" + } + }, + "System.Diagnostics.Tools": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "UUvkJfSYJMM6x527dJg2VyWPSRqIVB0Z7dbjHst1zmwTXz5CcXSYJFWRpuigfbO1Lf7yfZiIaEUesfnl/g5EyA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Diagnostics.Tracing": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "rswfv0f/Cqkh78rA5S8eN8Neocz234+emGCtTF3lxPY96F+mmmUen6tbn0glN6PMvlKQb9bPAY5e9u7fgPTkKw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Dynamic.Runtime": { + "type": "Transitive", + "resolved": "4.0.11", + "contentHash": "db34f6LHYM0U0JpE+sOmjar27BnqTVkbLJhgfwMpTdgTigG/Hna3m2MYVwnFzGGKnEJk2UXFuoVTr8WUbU91/A==", + "dependencies": { + "System.Collections": "4.0.11", + "System.Diagnostics.Debug": "4.0.11", + "System.Globalization": "4.0.11", + "System.Linq": "4.1.0", + "System.Linq.Expressions": "4.1.0", + "System.ObjectModel": "4.0.12", + "System.Reflection": "4.1.0", + "System.Reflection.Emit": "4.0.1", + "System.Reflection.Emit.ILGeneration": "4.0.1", + "System.Reflection.Primitives": "4.0.1", + "System.Reflection.TypeExtensions": "4.1.0", + "System.Resources.ResourceManager": "4.0.1", + "System.Runtime": "4.1.0", + "System.Runtime.Extensions": "4.1.0", + "System.Threading": "4.0.11" + } + }, + "System.Globalization": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "kYdVd2f2PAdFGblzFswE4hkNANJBKRmsfa2X5LG2AcWE1c7/4t0pYae1L8vfZ5xvE2nK/R9JprtToA61OSHWIg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Globalization.Calendars": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "GUlBtdOWT4LTV3I+9/PJW+56AnnChTaOqqTLFtdmype/L500M2LIyXgmtd9X2P2VOkmJd5c67H5SaC2QcL1bFA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Globalization": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Globalization.Extensions": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "FhKmdR6MPG+pxow6wGtNAWdZh7noIOpdD5TwQ3CprzgIE1bBBoim0vbR1+AWsWjQmU7zXHgQo4TWSP6lCeiWcQ==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.Globalization": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.InteropServices": "4.3.0" + } + }, + "System.IO": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "3qjaHvxQPDpSOYICjUoTsmoq5u6QJAFRUITgeT/4gqkF1bajbSmb1kwSxEA8AHlofqgcKJcM8udgieRNhaJ5Cg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.IO.Compression": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "YHndyoiV90iu4iKG115ibkhrG+S3jBm8Ap9OwoUAzO5oPDAWcr0SFwQFm0HjM8WkEZWo0zvLTyLmbvTkW1bXgg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.Buffers": "4.3.0", + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.IO": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading": "4.3.0", + "System.Threading.Tasks": "4.3.0", + "runtime.native.System": "4.3.0", + "runtime.native.System.IO.Compression": "4.3.0" + } + }, + "System.IO.Compression.ZipFile": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "G4HwjEsgIwy3JFBduZ9quBkAu+eUwjIdJleuNSgmUojbH6O3mlvEIme+GHx/cLlTAPcrnnL7GqvB9pTlWRfhOg==", + "dependencies": { + "System.Buffers": "4.3.0", + "System.IO": "4.3.0", + "System.IO.Compression": "4.3.0", + "System.IO.FileSystem": "4.3.0", + "System.IO.FileSystem.Primitives": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Text.Encoding": "4.3.0" + } + }, + "System.IO.FileSystem": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "3wEMARTnuio+ulnvi+hkRNROYwa1kylvYahhcLk4HSoVdl+xxTFVeVlYOfLwrDPImGls0mDqbMhrza8qnWPTdA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.IO": "4.3.0", + "System.IO.FileSystem.Primitives": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.IO.FileSystem.Primitives": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "6QOb2XFLch7bEc4lIcJH49nJN2HV+OC3fHDgsLVsBVBk3Y4hFAnOBGzJ2lUu7CyDDFo9IBWkSsnbkT6IBwwiMw==", + "dependencies": { + "System.Runtime": "4.3.0" + } + }, + "System.Linq": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "5DbqIUpsDp0dFftytzuMmc0oeMdQwjcP/EWxsksIz/w1TcFRkZ3yKKz0PqiYFMmEwPSWw+qNVqD7PJ889JzHbw==", + "dependencies": { + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0" + } + }, + "System.Linq.Expressions": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "PGKkrd2khG4CnlyJwxwwaWWiSiWFNBGlgXvJpeO0xCXrZ89ODrQ6tjEWS/kOqZ8GwEOUATtKtzp1eRgmYNfclg==", + "dependencies": { + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Globalization": "4.3.0", + "System.IO": "4.3.0", + "System.Linq": "4.3.0", + "System.ObjectModel": "4.3.0", + "System.Reflection": "4.3.0", + "System.Reflection.Emit": "4.3.0", + "System.Reflection.Emit.ILGeneration": "4.3.0", + "System.Reflection.Emit.Lightweight": "4.3.0", + "System.Reflection.Extensions": "4.3.0", + "System.Reflection.Primitives": "4.3.0", + "System.Reflection.TypeExtensions": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Threading": "4.3.0" + } + }, + "System.Net.Http": { + "type": "Transitive", + "resolved": "4.3.4", + "contentHash": "aOa2d51SEbmM+H+Csw7yJOuNZoHkrP2XnAurye5HWYgGVVU54YZDvsLUYRv6h18X3sPnjNCANmN7ZhIPiqMcjA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.1", + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Diagnostics.DiagnosticSource": "4.3.0", + "System.Diagnostics.Tracing": "4.3.0", + "System.Globalization": "4.3.0", + "System.Globalization.Extensions": "4.3.0", + "System.IO": "4.3.0", + "System.IO.FileSystem": "4.3.0", + "System.Net.Primitives": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.OpenSsl": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Security.Cryptography.X509Certificates": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading": "4.3.0", + "System.Threading.Tasks": "4.3.0", + "runtime.native.System": "4.3.0", + "runtime.native.System.Net.Http": "4.3.0", + "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2" + } + }, + "System.Net.Primitives": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "qOu+hDwFwoZPbzPvwut2qATe3ygjeQBDQj91xlsaqGFQUI5i4ZnZb8yyQuLGpDGivEPIt8EJkd1BVzVoP31FXA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0", + "System.Runtime.Handles": "4.3.0" + } + }, + "System.Net.Sockets": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "m6icV6TqQOAdgt5N/9I5KNpjom/5NFtkmGseEH+AK/hny8XrytLH3+b5M8zL/Ycg3fhIocFpUMyl/wpFnVRvdw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.IO": "4.3.0", + "System.Net.Primitives": "4.3.0", + "System.Runtime": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.ObjectModel": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "bdX+80eKv9bN6K4N+d77OankKHGn6CH711a6fcOpMQu2Fckp/Ft4L/kW9WznHpyR0NRAvJutzOMHNNlBGvxQzQ==", + "dependencies": { + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Threading": "4.3.0" + } + }, + "System.Reflection": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "KMiAFoW7MfJGa9nDFNcfu+FpEdiHpWgTcS2HdMpDvt9saK3y/G4GwprPyzqjFH9NTaGPQeWNHU+iDlDILj96aQ==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.IO": "4.3.0", + "System.Reflection.Primitives": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Reflection.Emit": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "228FG0jLcIwTVJyz8CLFKueVqQK36ANazUManGaJHkO0icjiIypKW7YLWLIWahyIkdh5M7mV2dJepllLyA1SKg==", + "dependencies": { + "System.IO": "4.3.0", + "System.Reflection": "4.3.0", + "System.Reflection.Emit.ILGeneration": "4.3.0", + "System.Reflection.Primitives": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Reflection.Emit.ILGeneration": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "59tBslAk9733NXLrUJrwNZEzbMAcu8k344OYo+wfSVygcgZ9lgBdGIzH/nrg3LYhXceynyvTc8t5/GD4Ri0/ng==", + "dependencies": { + "System.Reflection": "4.3.0", + "System.Reflection.Primitives": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Reflection.Emit.Lightweight": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "oadVHGSMsTmZsAF864QYN1t1QzZjIcuKU3l2S9cZOwDdDueNTrqq1yRj7koFfIGEnKpt6NjpL3rOzRhs4ryOgA==", + "dependencies": { + "System.Reflection": "4.3.0", + "System.Reflection.Emit.ILGeneration": "4.3.0", + "System.Reflection.Primitives": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Reflection.Extensions": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "rJkrJD3kBI5B712aRu4DpSIiHRtr6QlfZSQsb0hYHrDCZORXCFjQfoipo2LaMUHoT9i1B7j7MnfaEKWDFmFQNQ==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Reflection": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Reflection.Primitives": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "5RXItQz5As4xN2/YUDxdpsEkMhvw3e6aNveFXUn4Hl/udNTCNhnKp8lT9fnc3MhvGKh1baak5CovpuQUXHAlIA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Reflection.TypeExtensions": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "7u6ulLcZbyxB5Gq0nMkQttcdBTx57ibzw+4IOXEfR+sXYQoHvjW5LTLyNr8O22UIMrqYbchJQJnos4eooYzYJA==", + "dependencies": { + "System.Reflection": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Resources.ResourceManager": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "/zrcPkkWdZmI4F92gL/TPumP98AVDu/Wxr3CSJGQQ+XN6wbRZcyfSKVoPo17ilb3iOr0cCRqJInGwNMolqhS8A==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Globalization": "4.3.0", + "System.Reflection": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Runtime": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "JufQi0vPQ0xGnAczR13AUFglDyVYt4Kqnz1AZaiKZ5+GICq0/1MH/mO/eAJHt/mHW1zjKBJd7kV26SrxddAhiw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0" + } + }, + "System.Runtime.CompilerServices.Unsafe": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" + }, + "System.Runtime.Extensions": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "guW0uK0fn5fcJJ1tJVXYd7/1h5F+pea1r7FLSOz/f8vPEqbR2ZAknuRDvTQ8PzAilDveOxNjSfr0CHfIQfFk8g==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Runtime.Handles": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "OKiSUN7DmTWeYb3l51A7EYaeNMnvxwE249YtZz7yooT4gOZhmTjIn48KgSsw2k2lYdLgTKNJw/ZIfSElwDRVgg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Runtime.InteropServices": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "uv1ynXqiMK8mp1GM3jDqPCFN66eJ5w5XNomaK2XD+TuCroNTLFGeZ+WCmBMcBDyTFKou3P6cR6J/QsaqDp7fGQ==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Reflection": "4.3.0", + "System.Reflection.Primitives": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Handles": "4.3.0" + } + }, + "System.Runtime.InteropServices.RuntimeInformation": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "cbz4YJMqRDR7oLeMRbdYv7mYzc++17lNhScCX0goO2XpGWdvAt60CGN+FHdePUEHCe/Jy9jUlvNAiNdM+7jsOw==", + "dependencies": { + "System.Reflection": "4.3.0", + "System.Reflection.Extensions": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Threading": "4.3.0", + "runtime.native.System": "4.3.0" + } + }, + "System.Runtime.Numerics": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "yMH+MfdzHjy17l2KESnPiF2dwq7T+xLnSJar7slyimAkUh/gTrS9/UQOtv7xarskJ2/XDSNvfLGOBQPjL7PaHQ==", + "dependencies": { + "System.Globalization": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0" + } + }, + "System.Runtime.Serialization.Primitives": { + "type": "Transitive", + "resolved": "4.1.1", + "contentHash": "HZ6Du5QrTG8MNJbf4e4qMO3JRAkIboGT5Fk804uZtg3Gq516S7hAqTm2UZKUHa7/6HUGdVy3AqMQKbns06G/cg==", + "dependencies": { + "System.Resources.ResourceManager": "4.0.1", + "System.Runtime": "4.1.0" + } + }, + "System.Security.Cryptography.Algorithms": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "W1kd2Y8mYSCgc3ULTAZ0hOP2dSdG5YauTb1089T0/kRcN2MpSAW1izOFROrJgxSlMn3ArsgHXagigyi+ibhevg==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.Collections": "4.3.0", + "System.IO": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Runtime.Numerics": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0", + "runtime.native.System.Security.Cryptography.Apple": "4.3.0", + "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" + } + }, + "System.Security.Cryptography.Cng": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "03idZOqFlsKRL4W+LuCpJ6dBYDUWReug6lZjBa3uJWnk5sPCUXckocevTaUA8iT/MFSrY/2HXkOt753xQ/cf8g==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.IO": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0" + } + }, + "System.Security.Cryptography.Csp": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "X4s/FCkEUnRGnwR3aSfVIkldBmtURMhmexALNTwpjklzxWU7yjMk7GHLKOZTNkgnWnE0q7+BCf9N2LVRWxewaA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.IO": "4.3.0", + "System.Reflection": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading": "4.3.0" + } + }, + "System.Security.Cryptography.Encoding": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "1DEWjZZly9ae9C79vFwqaO5kaOlI5q+3/55ohmq/7dpDyDfc8lYe7YVxJUZ5MF/NtbkRjwFRo14yM4OEo9EmDw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.Collections": "4.3.0", + "System.Collections.Concurrent": "4.3.0", + "System.Linq": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0", + "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" + } + }, + "System.Security.Cryptography.OpenSsl": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "h4CEgOgv5PKVF/HwaHzJRiVboL2THYCou97zpmhjghx5frc7fIvlkY1jL+lnIQyChrJDMNEXS6r7byGif8Cy4w==", + "dependencies": { + "System.Collections": "4.3.0", + "System.IO": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Runtime.Numerics": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0", + "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" + } + }, + "System.Security.Cryptography.Primitives": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "7bDIyVFNL/xKeFHjhobUAQqSpJq9YTOpbEs6mR233Et01STBMXNAc/V+BM6dwYGc95gVh/Zf+iVXWzj3mE8DWg==", + "dependencies": { + "System.Diagnostics.Debug": "4.3.0", + "System.Globalization": "4.3.0", + "System.IO": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Threading": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.Security.Cryptography.X509Certificates": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "t2Tmu6Y2NtJ2um0RtcuhP7ZdNNxXEgUm2JeoA/0NvlMjAhKCnM1NX07TDl3244mVp3QU6LPEhT3HTtH1uF7IYw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Globalization": "4.3.0", + "System.Globalization.Calendars": "4.3.0", + "System.IO": "4.3.0", + "System.IO.FileSystem": "4.3.0", + "System.IO.FileSystem.Primitives": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Runtime.Numerics": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.3.0", + "System.Security.Cryptography.Cng": "4.3.0", + "System.Security.Cryptography.Csp": "4.3.0", + "System.Security.Cryptography.Encoding": "4.3.0", + "System.Security.Cryptography.OpenSsl": "4.3.0", + "System.Security.Cryptography.Primitives": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading": "4.3.0", + "runtime.native.System": "4.3.0", + "runtime.native.System.Net.Http": "4.3.0", + "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" + } + }, + "System.Text.Encoding": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "BiIg+KWaSDOITze6jGQynxg64naAPtqGHBwDrLaCtixsa5bKiR8dpPOHA7ge3C0JJQizJE+sfkz1wV+BAKAYZw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Text.Encoding.Extensions": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "YVMK0Bt/A43RmwizJoZ22ei2nmrhobgeiYwFzC4YAN+nue8RF6djXDMog0UCn+brerQoYVyaS+ghy9P/MUVcmw==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0", + "System.Text.Encoding": "4.3.0" + } + }, + "System.Text.Encodings.Web": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "Vg8eB5Tawm1IFqj4TVK1czJX89rhFxJo9ELqc/Eiq0eXy13RK00eubyU6TJE6y+GQXjyV5gSfiewDUZjQgSE0w==", + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "System.Text.Json": { + "type": "Transitive", + "resolved": "6.0.5", + "contentHash": "SSH+YYrMpvLcy7Orzb5K1tSyffnFacWahyxCCjYH1PbSHdAF4dekmIetBurFKgtTHDmwEe/J2Csi/7niRH6d/g==", + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0", + "System.Text.Encodings.Web": "6.0.0" + } + }, + "System.Text.RegularExpressions": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "RpT2DA+L660cBt1FssIE9CAGpLFdFPuheB7pLpKpn6ZXNby7jDERe8Ua/Ne2xGiwLVG2JOqziiaVCGDon5sKFA==", + "dependencies": { + "System.Runtime": "4.3.0" + } + }, + "System.Threading": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "VkUS0kOBcUf3Wwm0TSbrevDDZ6BlM+b/HRiapRFWjM5O0NS0LviG0glKmFK+hhPDd1XFeSdU1GmlLhb2CoVpIw==", + "dependencies": { + "System.Runtime": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.Threading.Tasks": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "LbSxKEdOUhVe8BezB/9uOGGppt+nZf6e1VFyw6v3DN6lqitm0OSn2uXMOdtP0M3W4iMcqcivm2J6UgqiwwnXiA==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Threading.Tasks.Extensions": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "npvJkVKl5rKXrtl1Kkm6OhOUaYGEiF9wFbppFRWSMoApKzt2PiPHT2Bb8a5sAWxprvdOAtvaARS9QYMznEUtug==", + "dependencies": { + "System.Collections": "4.3.0", + "System.Runtime": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.Threading.Timer": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "Z6YfyYTCg7lOZjJzBjONJTFKGN9/NIYKSxhU5GRd+DTwHSZyvWp1xuI5aR+dLg+ayyC5Xv57KiY4oJ0tMO89fQ==", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Xml.ReaderWriter": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "GrprA+Z0RUXaR4N7/eW71j1rgMnEnEVlgii49GZyAjTH7uliMnrOU3HNFBr6fEDBCJCIdlVNq9hHbaDR621XBA==", + "dependencies": { + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Globalization": "4.3.0", + "System.IO": "4.3.0", + "System.IO.FileSystem": "4.3.0", + "System.IO.FileSystem.Primitives": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Text.Encoding.Extensions": "4.3.0", + "System.Text.RegularExpressions": "4.3.0", + "System.Threading.Tasks": "4.3.0", + "System.Threading.Tasks.Extensions": "4.3.0" + } + }, + "System.Xml.XDocument": { + "type": "Transitive", + "resolved": "4.3.0", + "contentHash": "5zJ0XDxAIg8iy+t4aMnQAu0MqVbqyvfoUVl1yDV61xdo3Vth45oA2FoY4pPkxYAH5f8ixpmTqXeEIya95x0aCQ==", + "dependencies": { + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Diagnostics.Tools": "4.3.0", + "System.Globalization": "4.3.0", + "System.IO": "4.3.0", + "System.Reflection": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading": "4.3.0", + "System.Xml.ReaderWriter": "4.3.0" + } + }, + "xunit.abstractions": { + "type": "Transitive", + "resolved": "2.0.3", + "contentHash": "pot1I4YOxlWjIb5jmwvvQNbTrZ3lJQ+jUGkGjWE3hEFM0l5gOnBWS+H3qsex68s5cO52g+44vpGzhAt+42vwKg==" + }, + "xunit.analyzers": { + "type": "Transitive", + "resolved": "0.10.0", + "contentHash": "4/IDFCJfIeg6bix9apmUtIMwvOsiwqdEexeO/R2D4GReIGPLIRODTpId/l4LRSrAJk9lEO3Zx1H0Zx6uohJDNg==" + }, + "xunit.assert": { + "type": "Transitive", + "resolved": "2.4.1", + "contentHash": "O/Oe0BS5RmSsM+LQOb041TzuPo5MdH2Rov+qXGS37X+KFG1Hxz7kopYklM5+1Y+tRGeXrOx5+Xne1RuqLFQoyQ==", + "dependencies": { + "NETStandard.Library": "1.6.1" + } + }, + "xunit.core": { + "type": "Transitive", + "resolved": "2.4.1", + "contentHash": "Zsj5OMU6JasNGERXZy8s72+pcheG6Q15atS5XpZXqAtULuyQiQ6XNnUsp1gyfC6WgqScqMvySiEHmHcOG6Eg0Q==", + "dependencies": { + "xunit.extensibility.core": "[2.4.1]", + "xunit.extensibility.execution": "[2.4.1]" + } + }, + "xunit.extensibility.core": { + "type": "Transitive", + "resolved": "2.4.1", + "contentHash": "yKZKm/8QNZnBnGZFD9SewkllHBiK0DThybQD/G4PiAmQjKtEZyHi6ET70QPU9KtSMJGRYS6Syk7EyR2EVDU4Kg==", + "dependencies": { + "NETStandard.Library": "1.6.1", + "xunit.abstractions": "2.0.3" + } + }, + "xunit.extensibility.execution": { + "type": "Transitive", + "resolved": "2.4.1", + "contentHash": "7e/1jqBpcb7frLkB6XDrHCGXAbKN4Rtdb88epYxCSRQuZDRW8UtTfdTEVpdTl8s4T56e07hOBVd4G0OdCxIY2A==", + "dependencies": { + "NETStandard.Library": "1.6.1", + "xunit.extensibility.core": "[2.4.1]" + } + }, + "opensearch.stack.artifactsapi": { + "type": "Project", + "dependencies": { + "SemanticVersioning": "0.8.0", + "System.Net.Http": "4.3.4", + "System.Runtime.InteropServices.RuntimeInformation": "4.3.0", + "System.Text.Json": "6.0.5" + } + } + } + } +} \ No newline at end of file diff --git a/build/scripts/Versioning.fs b/build/scripts/Versioning.fs index 1991aa2c4f..8aa9d6107f 100644 --- a/build/scripts/Versioning.fs +++ b/build/scripts/Versioning.fs @@ -66,11 +66,11 @@ module Versioning = let globalJson = globalJson () let doc_current = match globalJson.doc_current with - | "master" -> "master" + | "main" -> "main" | _ -> sprintf "%i.%i" version.Major version.Minor let doc_branch = match globalJson.doc_current with - | "master" -> "master" + | "main" -> "main" | _ -> sprintf "%i.x" version.Major let newGlobalJson = { diff --git a/build/scripts/packages.lock.json b/build/scripts/packages.lock.json index 2d6c498c66..a32015abb5 100644 --- a/build/scripts/packages.lock.json +++ b/build/scripts/packages.lock.json @@ -77,7 +77,10 @@ "type": "Direct", "requested": "[1.0.0-preview.2, )", "resolved": "1.0.0-preview.2", - "contentHash": "m+pJPEO7HyXvrOna5Sr3s77ewXonjYWJTNL6drh8xACnMNxnlqUDKx9HfGeSE9wmfY0lQwppaeZpFTPGaH7kZg==" + "contentHash": "m+pJPEO7HyXvrOna5Sr3s77ewXonjYWJTNL6drh8xACnMNxnlqUDKx9HfGeSE9wmfY0lQwppaeZpFTPGaH7kZg==", + "dependencies": { + "Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.0-preview.2" + } }, "Newtonsoft.Json": { "type": "Direct", @@ -94,17 +97,6 @@ "NETStandard.Library": "1.6.0" } }, - "OpenSearch.OpenSearch.Managed": { - "type": "Direct", - "requested": "[0.1.0-canary.0.276, )", - "resolved": "0.1.0-canary.0.276", - "contentHash": "hnHFIbPj61dcxhgmfs5MszOTgeQHu33do569UNOcpuDMBxSue7rZWcSrkaa65+Ya86Zq9a8UUSMFg0vRhkgggQ==", - "dependencies": { - "OpenSearch.Stack.ArtifactsApi": "0.1.0-canary.0.276", - "Proc": "0.6.1", - "System.Net.Http": "4.3.1" - } - }, "Proc": { "type": "Direct", "requested": "[0.6.1, )", @@ -166,14 +158,19 @@ }, "Microsoft.NETCore.Platforms": { "type": "Transitive", - "resolved": "1.1.0", - "contentHash": "kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==" + "resolved": "1.1.1", + "contentHash": "TMBuzAHpTenGbGgk0SMTwyEkyijY/Eae4ZGsFNYJvAr/LDn1ku3Etp3FPxChmDp5HHF3kzJuoaa08N0xjqAJfQ==" }, "Microsoft.NETCore.Targets": { "type": "Transitive", "resolved": "1.1.0", "contentHash": "aOZA3BWfz9RXjpzt0sRJJMjAscAUm3Hoa4UWAfceV9UTYxgwZ1lZt5nO2myFf+/jetYQo4uTP7zS8sJY67BBxg==" }, + "Microsoft.NETFramework.ReferenceAssemblies.net461": { + "type": "Transitive", + "resolved": "1.0.0-preview.2", + "contentHash": "59D9ISjzCpfHG41r5x4BNZNNOCmE2o5YX8vcdOwsqfxOA0+6vQnxZrYq8KtthUU2JSvC13g941rSr5GRaNQOJg==" + }, "Microsoft.Win32.Primitives": { "type": "Transitive", "resolved": "4.3.0", @@ -250,29 +247,20 @@ "System.Xml.XDocument": "4.0.11" } }, - "OpenSearch.Stack.ArtifactsApi": { - "type": "Transitive", - "resolved": "0.1.0-canary.0.276", - "contentHash": "YpoxP/GJ8RFPdedJ9O3Yv8EQNSaGPOK1skSUY043zcRDLwU6vbhZCAXzFc5lvbao22JXWFKVYan05voGU5o/jA==", - "dependencies": { - "SemanticVersioning": "0.8.0", - "System.Text.Json": "4.6.0" - } - }, "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": { "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "HdSSp5MnJSsg08KMfZThpuLPJpPwE5hBXvHwoKWosyHHfe8Mh5WKT0ylEOf6yNzX6Ngjxe4Whkafh5q7Ymac4Q==" + "resolved": "4.3.2", + "contentHash": "7VSGO0URRKoMEAq0Sc9cRz8mb6zbyx/BZDEWhgPdzzpmFhkam3fJ1DAGWFXBI4nGlma+uPKpfuMQP5LXRnOH5g==" }, "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": { "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "+yH1a49wJMy8Zt4yx5RhJrxO/DBDByAiCzNwiETI+1S4mPdCu0OY4djdciC7Vssk0l22wQaDLrXxXkp+3+7bVA==" + "resolved": "4.3.2", + "contentHash": "0oAaTAm6e2oVH+/Zttt0cuhGaePQYKII1dY8iaqP7CvOpVKgLybKRFvQjXR2LtxXOXTVPNv14j0ot8uV+HrUmw==" }, "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": { "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "c3YNH1GQJbfIPJeCnr4avseugSqPrxwIqzthYyZDN6EuOyNOzq+y2KSUfRcXauya1sF4foESTgwM5e1A8arAKw==" + "resolved": "4.3.2", + "contentHash": "G24ibsCNi5Kbz0oXWynBoRgtGvsw5ZSVEWjv13/KiCAM8C6wz9zzcCniMeQFIkJ2tasjo2kXlvlBZhplL51kGg==" }, "runtime.native.System": { "type": "Transitive", @@ -311,30 +299,30 @@ }, "runtime.native.System.Security.Cryptography.OpenSsl": { "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "NS1U+700m4KFRHR5o4vo9DSlTmlCKu/u7dtE5sUHVIPB+xpXxYQvgBgA6wEIeCz6Yfn0Z52/72WYsToCEPJnrw==", + "resolved": "4.3.2", + "contentHash": "QR1OwtwehHxSeQvZKXe+iSd+d3XZNkEcuWMFYa2i0aG1l+lR739HPicKMlTbJst3spmeekDVBUS7SeS26s4U/g==", "dependencies": { - "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" + "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", + "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2" } }, "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": { "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "b3pthNgxxFcD+Pc0WSEoC0+md3MyhRS6aCEeenvNE3Fdw1HyJ18ZhRFVJJzIeR/O/jpxPboB805Ho0T3Ul7w8A==" + "resolved": "4.3.2", + "contentHash": "I+GNKGg2xCHueRd1m9PzeEW7WLbNNLznmTuEi8/vZX71HudUbx1UTwlGkiwMri7JLl8hGaIAWnA/GONhu+LOyQ==" }, "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": { "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "KeLz4HClKf+nFS7p/6Fi/CqyLXh81FpiGzcmuS8DGi9lUqSnZ6Es23/gv2O+1XVGfrbNmviF7CckBpavkBoIFQ==" + "resolved": "4.3.2", + "contentHash": "1Z3TAq1ytS1IBRtPXJvEUZdVsfWfeNEhBkbiOCGEl9wwAfsjP2lz3ZFDx5tq8p60/EqbS0HItG5piHuB71RjoA==" }, "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": { "type": "Transitive", @@ -343,28 +331,28 @@ }, "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "X7IdhILzr4ROXd8mI1BUCQMSHSQwelUlBjF1JyTKCjXaOGn2fB4EKBxQbCK2VjO3WaWIdlXZL3W6TiIVnrhX4g==" + "resolved": "4.3.2", + "contentHash": "6mU/cVmmHtQiDXhnzUImxIcDL48GbTk+TsptXyJA+MIOG9LRjPoAQC/qBFB7X+UNyK86bmvGwC8t+M66wsYC8w==" }, "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": { "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "nyFNiCk/r+VOiIqreLix8yN+q3Wga9+SE8BCgkf+2BwEKiNx6DyvFjCgkfV743/grxv8jHJ8gUK4XEQw7yzRYg==" + "resolved": "4.3.2", + "contentHash": "vjwG0GGcTW/PPg6KVud8F9GLWYuAV1rrw1BKAqY0oh4jcUqg15oYF1+qkGR2x2ZHM4DQnWKQ7cJgYbfncz/lYg==" }, "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ytoewC6wGorL7KoCAvRfsgoJPJbNq+64k2SqW6JcOAebWsFUvCCYgfzQMrnpvPiEl4OrblUlhF2ji+Q1+SVLrQ==" + "resolved": "4.3.2", + "contentHash": "7KMFpTkHC/zoExs+PwP8jDCWcrK9H6L7soowT80CUx3e+nxP/AFnq0AQAW5W76z2WYbLAYCRyPfwYFG6zkvQRw==" }, "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "I8bKw2I8k58Wx7fMKQJn2R8lamboCAiHfHeV/pS65ScKWMMI0+wJkLYlEKvgW1D/XvSl/221clBoR2q9QNNM7A==" + "resolved": "4.3.2", + "contentHash": "xrlmRCnKZJLHxyyLIqkZjNXqgxnKdZxfItrPkjI+6pkRo5lHX8YvSZlWrSI5AVwLMi4HbNWP7064hcAWeZKp5w==" }, "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "VB5cn/7OzUfzdnC8tqAIMQciVLiq2epm2NrAm1E9OjNRyG4lVhfR61SMcLizejzQP8R8Uf/0l5qOIbUEi+RdEg==" + "resolved": "4.3.2", + "contentHash": "leXiwfiIkW7Gmn7cgnNcdtNAU70SjmKW3jxGj1iKHOvdn0zRWsgv/l2OJUO5zdGdiv2VRFnAsxxhDgMzofPdWg==" }, "SemanticVersioning": { "type": "Transitive", @@ -702,10 +690,10 @@ }, "System.Net.Http": { "type": "Transitive", - "resolved": "4.3.1", - "contentHash": "UrTyRczM3ZvNk6oetBuwlu67MFKKRva+r7bw4JDVZ6Y2IukyZ24td5ppsieu/4yZlogVAIuZul9GIQ3hoiz0yA==", + "resolved": "4.3.4", + "contentHash": "aOa2d51SEbmM+H+Csw7yJOuNZoHkrP2XnAurye5HWYgGVVU54YZDvsLUYRv6h18X3sPnjNCANmN7ZhIPiqMcjA==", "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Platforms": "1.1.1", "System.Collections": "4.3.0", "System.Diagnostics.Debug": "4.3.0", "System.Diagnostics.DiagnosticSource": "4.3.0", @@ -730,7 +718,7 @@ "System.Threading.Tasks": "4.3.0", "runtime.native.System": "4.3.0", "runtime.native.System.Net.Http": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" + "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2" } }, "System.Net.Primitives": { @@ -888,6 +876,11 @@ "Microsoft.NETCore.Targets": "1.1.0" } }, + "System.Runtime.CompilerServices.Unsafe": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" + }, "System.Runtime.Extensions": { "type": "Transitive", "resolved": "4.3.0", @@ -923,16 +916,16 @@ }, "System.Runtime.InteropServices.RuntimeInformation": { "type": "Transitive", - "resolved": "4.0.0", - "contentHash": "hWPhJxc453RCa8Z29O91EmfGeZIHX1ZH2A8L6lYQVSaKzku2DfArSfMEb1/MYYzPQRJZeu0c9dmYeJKxW5Fgng==", + "resolved": "4.3.0", + "contentHash": "cbz4YJMqRDR7oLeMRbdYv7mYzc++17lNhScCX0goO2XpGWdvAt60CGN+FHdePUEHCe/Jy9jUlvNAiNdM+7jsOw==", "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "System.Reflection": "4.1.0", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.InteropServices": "4.1.0", - "System.Threading": "4.0.11", - "runtime.native.System": "4.0.0" + "System.Reflection": "4.3.0", + "System.Reflection.Extensions": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Threading": "4.3.0", + "runtime.native.System": "4.3.0" } }, "System.Runtime.Numerics": { @@ -1111,10 +1104,22 @@ "System.Text.Encoding": "4.3.0" } }, + "System.Text.Encodings.Web": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "Vg8eB5Tawm1IFqj4TVK1czJX89rhFxJo9ELqc/Eiq0eXy13RK00eubyU6TJE6y+GQXjyV5gSfiewDUZjQgSE0w==", + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, "System.Text.Json": { "type": "Transitive", - "resolved": "4.6.0", - "contentHash": "4F8Xe+JIkVoDJ8hDAZ7HqLkjctN/6WItJIzQaifBwClC7wmoLSda/Sv2i6i1kycqDb3hWF4JCVbpAweyOKHEUA==" + "resolved": "6.0.5", + "contentHash": "SSH+YYrMpvLcy7Orzb5K1tSyffnFacWahyxCCjYH1PbSHdAF4dekmIetBurFKgtTHDmwEe/J2Csi/7niRH6d/g==", + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0", + "System.Text.Encodings.Web": "6.0.0" + } }, "System.Text.RegularExpressions": { "type": "Transitive", @@ -1236,6 +1241,23 @@ "System.Threading": "4.0.11", "System.Xml.ReaderWriter": "4.0.11" } + }, + "opensearch.opensearch.managed": { + "type": "Project", + "dependencies": { + "OpenSearch.Stack.ArtifactsApi": "1.0.0", + "Proc": "0.6.1", + "System.Net.Http": "4.3.4" + } + }, + "opensearch.stack.artifactsapi": { + "type": "Project", + "dependencies": { + "SemanticVersioning": "0.8.0", + "System.Net.Http": "4.3.4", + "System.Runtime.InteropServices.RuntimeInformation": "4.3.0", + "System.Text.Json": "6.0.5" + } } } } diff --git a/build/scripts/scripts.fsproj b/build/scripts/scripts.fsproj index 33404d49cf..0eae74f97f 100644 --- a/build/scripts/scripts.fsproj +++ b/build/scripts/scripts.fsproj @@ -37,7 +37,7 @@ - + diff --git a/nuget.config b/nuget.config index 5f176edaca..71cfb75803 100644 --- a/nuget.config +++ b/nuget.config @@ -1,7 +1,6 @@  - - \ No newline at end of file + diff --git a/packages/opensearch.opensearch.ephemeral/0.1.0-canary.0.276/.nupkg.metadata b/packages/opensearch.opensearch.ephemeral/0.1.0-canary.0.276/.nupkg.metadata deleted file mode 100644 index 59c4d8d937..0000000000 --- a/packages/opensearch.opensearch.ephemeral/0.1.0-canary.0.276/.nupkg.metadata +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": 2, - "contentHash": "Ws9CcKvUOsFM7jMwK9w7px5gdSylPMBxfxuh2tXNDfmfHMNnG1eFPAbUj1UZwnn+H5kwHowknb1LgvLVBrqoag==", - "source": null -} \ No newline at end of file diff --git a/packages/opensearch.opensearch.ephemeral/0.1.0-canary.0.276/opensearch.opensearch.ephemeral.0.1.0-canary.0.276.nupkg b/packages/opensearch.opensearch.ephemeral/0.1.0-canary.0.276/opensearch.opensearch.ephemeral.0.1.0-canary.0.276.nupkg deleted file mode 100644 index 25c096ecb6..0000000000 Binary files a/packages/opensearch.opensearch.ephemeral/0.1.0-canary.0.276/opensearch.opensearch.ephemeral.0.1.0-canary.0.276.nupkg and /dev/null differ diff --git a/packages/opensearch.opensearch.ephemeral/0.1.0-canary.0.276/opensearch.opensearch.ephemeral.0.1.0-canary.0.276.nupkg.sha512 b/packages/opensearch.opensearch.ephemeral/0.1.0-canary.0.276/opensearch.opensearch.ephemeral.0.1.0-canary.0.276.nupkg.sha512 deleted file mode 100644 index 87bf7bdd56..0000000000 --- a/packages/opensearch.opensearch.ephemeral/0.1.0-canary.0.276/opensearch.opensearch.ephemeral.0.1.0-canary.0.276.nupkg.sha512 +++ /dev/null @@ -1 +0,0 @@ -Ws9CcKvUOsFM7jMwK9w7px5gdSylPMBxfxuh2tXNDfmfHMNnG1eFPAbUj1UZwnn+H5kwHowknb1LgvLVBrqoag== \ No newline at end of file diff --git a/packages/opensearch.opensearch.ephemeral/0.1.0-canary.0.276/opensearch.opensearch.ephemeral.nuspec b/packages/opensearch.opensearch.ephemeral/0.1.0-canary.0.276/opensearch.opensearch.ephemeral.nuspec deleted file mode 100644 index 8be0c5d858..0000000000 --- a/packages/opensearch.opensearch.ephemeral/0.1.0-canary.0.276/opensearch.opensearch.ephemeral.nuspec +++ /dev/null @@ -1,28 +0,0 @@ - - - - OpenSearch.OpenSearch.Ephemeral - 0.1.0-canary.0.276 - OpenSearch Project and contributors - Apache-2.0 - https://licenses.nuget.org/Apache-2.0 - nuget-icon.png - https://github.com/opensearch-project/opensearch-net-abstractions - Provides an EphemeralCluster implementation that can download/bootstrap/run a throwaway customizable OpenSearch cluster - https://github.com/opensearch-project/opensearch-net-abstractions/releases - OpenSearch - opensearch,opensearch,cluster,ephemeral - - - - - - - - - - - - - - \ No newline at end of file diff --git a/packages/opensearch.opensearch.managed/0.1.0-canary.0.276/.nupkg.metadata b/packages/opensearch.opensearch.managed/0.1.0-canary.0.276/.nupkg.metadata deleted file mode 100644 index ebdfc2d320..0000000000 --- a/packages/opensearch.opensearch.managed/0.1.0-canary.0.276/.nupkg.metadata +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": 2, - "contentHash": "hnHFIbPj61dcxhgmfs5MszOTgeQHu33do569UNOcpuDMBxSue7rZWcSrkaa65+Ya86Zq9a8UUSMFg0vRhkgggQ==", - "source": null -} \ No newline at end of file diff --git a/packages/opensearch.opensearch.managed/0.1.0-canary.0.276/opensearch.opensearch.managed.0.1.0-canary.0.276.nupkg b/packages/opensearch.opensearch.managed/0.1.0-canary.0.276/opensearch.opensearch.managed.0.1.0-canary.0.276.nupkg deleted file mode 100644 index 3b9112396f..0000000000 Binary files a/packages/opensearch.opensearch.managed/0.1.0-canary.0.276/opensearch.opensearch.managed.0.1.0-canary.0.276.nupkg and /dev/null differ diff --git a/packages/opensearch.opensearch.managed/0.1.0-canary.0.276/opensearch.opensearch.managed.0.1.0-canary.0.276.nupkg.sha512 b/packages/opensearch.opensearch.managed/0.1.0-canary.0.276/opensearch.opensearch.managed.0.1.0-canary.0.276.nupkg.sha512 deleted file mode 100644 index 9c4b439618..0000000000 --- a/packages/opensearch.opensearch.managed/0.1.0-canary.0.276/opensearch.opensearch.managed.0.1.0-canary.0.276.nupkg.sha512 +++ /dev/null @@ -1 +0,0 @@ -hnHFIbPj61dcxhgmfs5MszOTgeQHu33do569UNOcpuDMBxSue7rZWcSrkaa65+Ya86Zq9a8UUSMFg0vRhkgggQ== \ No newline at end of file diff --git a/packages/opensearch.opensearch.managed/0.1.0-canary.0.276/opensearch.opensearch.managed.nuspec b/packages/opensearch.opensearch.managed/0.1.0-canary.0.276/opensearch.opensearch.managed.nuspec deleted file mode 100644 index 9412c75125..0000000000 --- a/packages/opensearch.opensearch.managed/0.1.0-canary.0.276/opensearch.opensearch.managed.nuspec +++ /dev/null @@ -1,30 +0,0 @@ - - - - OpenSearch.OpenSearch.Managed - 0.1.0-canary.0.276 - OpenSearch Project and contributors - Apache-2.0 - https://licenses.nuget.org/Apache-2.0 - nuget-icon.png - https://github.com/opensearch-project/opensearch-net-abstractions - Provides an observable OpenSearchNode abstraction that can be used to wrap an opensearch process. - Also ships with an cluster abstraction that can start one or more OpenSearchNode's - https://github.com/opensearch-project/opensearch-net-abstractions/releases - OpenSearch - opensearch,opensearch,cluster,observable,rx - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/packages/opensearch.opensearch.xunit/0.1.0-canary.0.276/.nupkg.metadata b/packages/opensearch.opensearch.xunit/0.1.0-canary.0.276/.nupkg.metadata deleted file mode 100644 index 90bc53d054..0000000000 --- a/packages/opensearch.opensearch.xunit/0.1.0-canary.0.276/.nupkg.metadata +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": 2, - "contentHash": "1aQCdd2GmlKonog5nLXyDNL0obTtGRSlb2UW6NE6nHEsp4G0yQo9GbrY647lFpLH9MCuzeL6jkXjervzfZL1cQ==", - "source": null -} \ No newline at end of file diff --git a/packages/opensearch.opensearch.xunit/0.1.0-canary.0.276/opensearch.opensearch.xunit.0.1.0-canary.0.276.nupkg b/packages/opensearch.opensearch.xunit/0.1.0-canary.0.276/opensearch.opensearch.xunit.0.1.0-canary.0.276.nupkg deleted file mode 100644 index bbb555bc56..0000000000 Binary files a/packages/opensearch.opensearch.xunit/0.1.0-canary.0.276/opensearch.opensearch.xunit.0.1.0-canary.0.276.nupkg and /dev/null differ diff --git a/packages/opensearch.opensearch.xunit/0.1.0-canary.0.276/opensearch.opensearch.xunit.0.1.0-canary.0.276.nupkg.sha512 b/packages/opensearch.opensearch.xunit/0.1.0-canary.0.276/opensearch.opensearch.xunit.0.1.0-canary.0.276.nupkg.sha512 deleted file mode 100644 index 25ba66e5bb..0000000000 --- a/packages/opensearch.opensearch.xunit/0.1.0-canary.0.276/opensearch.opensearch.xunit.0.1.0-canary.0.276.nupkg.sha512 +++ /dev/null @@ -1 +0,0 @@ -1aQCdd2GmlKonog5nLXyDNL0obTtGRSlb2UW6NE6nHEsp4G0yQo9GbrY647lFpLH9MCuzeL6jkXjervzfZL1cQ== \ No newline at end of file diff --git a/packages/opensearch.opensearch.xunit/0.1.0-canary.0.276/opensearch.opensearch.xunit.nuspec b/packages/opensearch.opensearch.xunit/0.1.0-canary.0.276/opensearch.opensearch.xunit.nuspec deleted file mode 100644 index a3fdd3fb65..0000000000 --- a/packages/opensearch.opensearch.xunit/0.1.0-canary.0.276/opensearch.opensearch.xunit.nuspec +++ /dev/null @@ -1,27 +0,0 @@ - - - - OpenSearch.OpenSearch.Xunit - 0.1.0-canary.0.276 - OpenSearch Project and contributors - Apache-2.0 - https://licenses.nuget.org/Apache-2.0 - nuget-icon.png - https://github.com/opensearch-project/opensearch-net-abstractions - Provides an Xunit test framework allowing you to run integration tests against local ephemeral OpenSearch clusters - https://github.com/opensearch-project/opensearch-net-abstractions/releases - OpenSearch - opensearch,opensearch,xunit,cluster,integration,test,ephemeral - - - - - - - - - - - - - \ No newline at end of file diff --git a/packages/opensearch.stack.artifactsapi/0.1.0-canary.0.276/.nupkg.metadata b/packages/opensearch.stack.artifactsapi/0.1.0-canary.0.276/.nupkg.metadata deleted file mode 100644 index 0499644337..0000000000 --- a/packages/opensearch.stack.artifactsapi/0.1.0-canary.0.276/.nupkg.metadata +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": 2, - "contentHash": "YpoxP/GJ8RFPdedJ9O3Yv8EQNSaGPOK1skSUY043zcRDLwU6vbhZCAXzFc5lvbao22JXWFKVYan05voGU5o/jA==", - "source": null -} \ No newline at end of file diff --git a/packages/opensearch.stack.artifactsapi/0.1.0-canary.0.276/opensearch.stack.artifactsapi.0.1.0-canary.0.276.nupkg b/packages/opensearch.stack.artifactsapi/0.1.0-canary.0.276/opensearch.stack.artifactsapi.0.1.0-canary.0.276.nupkg deleted file mode 100644 index a37f287cfb..0000000000 Binary files a/packages/opensearch.stack.artifactsapi/0.1.0-canary.0.276/opensearch.stack.artifactsapi.0.1.0-canary.0.276.nupkg and /dev/null differ diff --git a/packages/opensearch.stack.artifactsapi/0.1.0-canary.0.276/opensearch.stack.artifactsapi.0.1.0-canary.0.276.nupkg.sha512 b/packages/opensearch.stack.artifactsapi/0.1.0-canary.0.276/opensearch.stack.artifactsapi.0.1.0-canary.0.276.nupkg.sha512 deleted file mode 100644 index 8d51a0c5b9..0000000000 --- a/packages/opensearch.stack.artifactsapi/0.1.0-canary.0.276/opensearch.stack.artifactsapi.0.1.0-canary.0.276.nupkg.sha512 +++ /dev/null @@ -1 +0,0 @@ -YpoxP/GJ8RFPdedJ9O3Yv8EQNSaGPOK1skSUY043zcRDLwU6vbhZCAXzFc5lvbao22JXWFKVYan05voGU5o/jA== \ No newline at end of file diff --git a/packages/opensearch.stack.artifactsapi/0.1.0-canary.0.276/opensearch.stack.artifactsapi.nuspec b/packages/opensearch.stack.artifactsapi/0.1.0-canary.0.276/opensearch.stack.artifactsapi.nuspec deleted file mode 100644 index e0274794c9..0000000000 --- a/packages/opensearch.stack.artifactsapi/0.1.0-canary.0.276/opensearch.stack.artifactsapi.nuspec +++ /dev/null @@ -1,27 +0,0 @@ - - - - OpenSearch.Stack.ArtifactsApi - 0.1.0-canary.0.276 - OpenSearch Project and contributors - Apache-2.0 - https://licenses.nuget.org/Apache-2.0 - nuget-icon.png - https://github.com/opensearch-project/opensearch-net-abstractions - Provides a set of classes to resolve the location of OpenSearch stack products in various stages: released, snapshot and build candidates - https://github.com/opensearch-project/opensearch-net-abstractions/releases - OpenSearch - opensearch,opensearch,stack,versioning,artifacts - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/ApiGenerator/ApiGenerator.csproj b/src/ApiGenerator/ApiGenerator.csproj index 84b1e0d811..7702656963 100644 --- a/src/ApiGenerator/ApiGenerator.csproj +++ b/src/ApiGenerator/ApiGenerator.csproj @@ -9,15 +9,13 @@ true - + - - - + diff --git a/src/ApiGenerator/CodeTemplatePage.cs b/src/ApiGenerator/CodeTemplatePage.cs index ce2489cef0..920bd3d970 100644 --- a/src/ApiGenerator/CodeTemplatePage.cs +++ b/src/ApiGenerator/CodeTemplatePage.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Configuration/CodeConfiguration.cs b/src/ApiGenerator/Configuration/CodeConfiguration.cs index 9d94a05427..7f8ee64614 100644 --- a/src/ApiGenerator/Configuration/CodeConfiguration.cs +++ b/src/ApiGenerator/Configuration/CodeConfiguration.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Configuration/GeneratorLocations.cs b/src/ApiGenerator/Configuration/GeneratorLocations.cs index bd8c7c25c0..e131bc8591 100644 --- a/src/ApiGenerator/Configuration/GeneratorLocations.cs +++ b/src/ApiGenerator/Configuration/GeneratorLocations.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Configuration/Overrides/EndpointOverridesBase.cs b/src/ApiGenerator/Configuration/Overrides/EndpointOverridesBase.cs index bcee94960e..8897022101 100644 --- a/src/ApiGenerator/Configuration/Overrides/EndpointOverridesBase.cs +++ b/src/ApiGenerator/Configuration/Overrides/EndpointOverridesBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Configuration/Overrides/Endpoints/DeleteByQueryOverrides.cs b/src/ApiGenerator/Configuration/Overrides/Endpoints/DeleteByQueryOverrides.cs index c4f388c89a..43df5a2d30 100644 --- a/src/ApiGenerator/Configuration/Overrides/Endpoints/DeleteByQueryOverrides.cs +++ b/src/ApiGenerator/Configuration/Overrides/Endpoints/DeleteByQueryOverrides.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Configuration/Overrides/Endpoints/FlushJobOverrides.cs b/src/ApiGenerator/Configuration/Overrides/Endpoints/FlushJobOverrides.cs index 3939fffd95..f6efdeb8b1 100644 --- a/src/ApiGenerator/Configuration/Overrides/Endpoints/FlushJobOverrides.cs +++ b/src/ApiGenerator/Configuration/Overrides/Endpoints/FlushJobOverrides.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Configuration/Overrides/Endpoints/ForecastJobOverrides.cs b/src/ApiGenerator/Configuration/Overrides/Endpoints/ForecastJobOverrides.cs index ccc18c06c9..09e88c37a1 100644 --- a/src/ApiGenerator/Configuration/Overrides/Endpoints/ForecastJobOverrides.cs +++ b/src/ApiGenerator/Configuration/Overrides/Endpoints/ForecastJobOverrides.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Configuration/Overrides/Endpoints/GetAnomalyRecordsOverrides.cs b/src/ApiGenerator/Configuration/Overrides/Endpoints/GetAnomalyRecordsOverrides.cs index f446b0b7a7..92ba400d5b 100644 --- a/src/ApiGenerator/Configuration/Overrides/Endpoints/GetAnomalyRecordsOverrides.cs +++ b/src/ApiGenerator/Configuration/Overrides/Endpoints/GetAnomalyRecordsOverrides.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Configuration/Overrides/Endpoints/GetBucketsOverrides.cs b/src/ApiGenerator/Configuration/Overrides/Endpoints/GetBucketsOverrides.cs index 628573d503..ead4520cd5 100644 --- a/src/ApiGenerator/Configuration/Overrides/Endpoints/GetBucketsOverrides.cs +++ b/src/ApiGenerator/Configuration/Overrides/Endpoints/GetBucketsOverrides.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Configuration/Overrides/Endpoints/GetCalendarEventsOverrides.cs b/src/ApiGenerator/Configuration/Overrides/Endpoints/GetCalendarEventsOverrides.cs index 21188011aa..bf9aeafa1a 100644 --- a/src/ApiGenerator/Configuration/Overrides/Endpoints/GetCalendarEventsOverrides.cs +++ b/src/ApiGenerator/Configuration/Overrides/Endpoints/GetCalendarEventsOverrides.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Configuration/Overrides/Endpoints/GetCalendarsOverrides.cs b/src/ApiGenerator/Configuration/Overrides/Endpoints/GetCalendarsOverrides.cs index 8d354ab88c..7e4cb9044b 100644 --- a/src/ApiGenerator/Configuration/Overrides/Endpoints/GetCalendarsOverrides.cs +++ b/src/ApiGenerator/Configuration/Overrides/Endpoints/GetCalendarsOverrides.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Configuration/Overrides/Endpoints/GetCategoriesOverrides.cs b/src/ApiGenerator/Configuration/Overrides/Endpoints/GetCategoriesOverrides.cs index 0d6d702038..3ab001b58e 100644 --- a/src/ApiGenerator/Configuration/Overrides/Endpoints/GetCategoriesOverrides.cs +++ b/src/ApiGenerator/Configuration/Overrides/Endpoints/GetCategoriesOverrides.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Configuration/Overrides/Endpoints/GetInfluencersOverrides.cs b/src/ApiGenerator/Configuration/Overrides/Endpoints/GetInfluencersOverrides.cs index 12ae3e6134..46c516adad 100644 --- a/src/ApiGenerator/Configuration/Overrides/Endpoints/GetInfluencersOverrides.cs +++ b/src/ApiGenerator/Configuration/Overrides/Endpoints/GetInfluencersOverrides.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Configuration/Overrides/Endpoints/GetModelSnapshotsOverrides.cs b/src/ApiGenerator/Configuration/Overrides/Endpoints/GetModelSnapshotsOverrides.cs index 1a1d6580f2..def35f86e1 100644 --- a/src/ApiGenerator/Configuration/Overrides/Endpoints/GetModelSnapshotsOverrides.cs +++ b/src/ApiGenerator/Configuration/Overrides/Endpoints/GetModelSnapshotsOverrides.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Configuration/Overrides/Endpoints/GetOverallBucketsOverrides.cs b/src/ApiGenerator/Configuration/Overrides/Endpoints/GetOverallBucketsOverrides.cs index 110a977c46..74c5dc67da 100644 --- a/src/ApiGenerator/Configuration/Overrides/Endpoints/GetOverallBucketsOverrides.cs +++ b/src/ApiGenerator/Configuration/Overrides/Endpoints/GetOverallBucketsOverrides.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Configuration/Overrides/Endpoints/IndicesStatsOverrides.cs b/src/ApiGenerator/Configuration/Overrides/Endpoints/IndicesStatsOverrides.cs index 19ec77aa88..f9c35cbc30 100644 --- a/src/ApiGenerator/Configuration/Overrides/Endpoints/IndicesStatsOverrides.cs +++ b/src/ApiGenerator/Configuration/Overrides/Endpoints/IndicesStatsOverrides.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Configuration/Overrides/Endpoints/MultiTermVectorsOverrides.cs b/src/ApiGenerator/Configuration/Overrides/Endpoints/MultiTermVectorsOverrides.cs index f3b24248f4..8b9b7febb2 100644 --- a/src/ApiGenerator/Configuration/Overrides/Endpoints/MultiTermVectorsOverrides.cs +++ b/src/ApiGenerator/Configuration/Overrides/Endpoints/MultiTermVectorsOverrides.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Configuration/Overrides/Endpoints/NodesHotThreadsOverrides.cs b/src/ApiGenerator/Configuration/Overrides/Endpoints/NodesHotThreadsOverrides.cs index 5a56dcc098..34e99f997f 100644 --- a/src/ApiGenerator/Configuration/Overrides/Endpoints/NodesHotThreadsOverrides.cs +++ b/src/ApiGenerator/Configuration/Overrides/Endpoints/NodesHotThreadsOverrides.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Configuration/Overrides/Endpoints/PutIndexTemplateOverrides.cs b/src/ApiGenerator/Configuration/Overrides/Endpoints/PutIndexTemplateOverrides.cs index 51164fc22f..cd806d9854 100644 --- a/src/ApiGenerator/Configuration/Overrides/Endpoints/PutIndexTemplateOverrides.cs +++ b/src/ApiGenerator/Configuration/Overrides/Endpoints/PutIndexTemplateOverrides.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Configuration/Overrides/Endpoints/ReindexOnServerOverrides.cs b/src/ApiGenerator/Configuration/Overrides/Endpoints/ReindexOnServerOverrides.cs index 0a66b3c7eb..9aaa42097f 100644 --- a/src/ApiGenerator/Configuration/Overrides/Endpoints/ReindexOnServerOverrides.cs +++ b/src/ApiGenerator/Configuration/Overrides/Endpoints/ReindexOnServerOverrides.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Configuration/Overrides/Endpoints/RevertModelSnapshotOverrides.cs b/src/ApiGenerator/Configuration/Overrides/Endpoints/RevertModelSnapshotOverrides.cs index 9a5c35272f..d2d62316da 100644 --- a/src/ApiGenerator/Configuration/Overrides/Endpoints/RevertModelSnapshotOverrides.cs +++ b/src/ApiGenerator/Configuration/Overrides/Endpoints/RevertModelSnapshotOverrides.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Configuration/Overrides/Endpoints/ScrollOverrides.cs b/src/ApiGenerator/Configuration/Overrides/Endpoints/ScrollOverrides.cs index e5bfa5f97a..f6032c9b5c 100644 --- a/src/ApiGenerator/Configuration/Overrides/Endpoints/ScrollOverrides.cs +++ b/src/ApiGenerator/Configuration/Overrides/Endpoints/ScrollOverrides.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Configuration/Overrides/Endpoints/SearchOverrides.cs b/src/ApiGenerator/Configuration/Overrides/Endpoints/SearchOverrides.cs index c2c29f78f4..a4219b9768 100644 --- a/src/ApiGenerator/Configuration/Overrides/Endpoints/SearchOverrides.cs +++ b/src/ApiGenerator/Configuration/Overrides/Endpoints/SearchOverrides.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Configuration/Overrides/Endpoints/UpdateByQueryOverrides.cs b/src/ApiGenerator/Configuration/Overrides/Endpoints/UpdateByQueryOverrides.cs index c75a0a8329..86818d11de 100644 --- a/src/ApiGenerator/Configuration/Overrides/Endpoints/UpdateByQueryOverrides.cs +++ b/src/ApiGenerator/Configuration/Overrides/Endpoints/UpdateByQueryOverrides.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Configuration/Overrides/Endpoints/UpdateOverrides.cs b/src/ApiGenerator/Configuration/Overrides/Endpoints/UpdateOverrides.cs index 87c185e552..361a9d7e7a 100644 --- a/src/ApiGenerator/Configuration/Overrides/Endpoints/UpdateOverrides.cs +++ b/src/ApiGenerator/Configuration/Overrides/Endpoints/UpdateOverrides.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Configuration/Overrides/GlobalOverrides.cs b/src/ApiGenerator/Configuration/Overrides/GlobalOverrides.cs index a90f23ef8d..c39171c26c 100644 --- a/src/ApiGenerator/Configuration/Overrides/GlobalOverrides.cs +++ b/src/ApiGenerator/Configuration/Overrides/GlobalOverrides.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Configuration/Overrides/IEndpointOverrides.cs b/src/ApiGenerator/Configuration/Overrides/IEndpointOverrides.cs index 14279b8dbe..bc2bb3cd52 100644 --- a/src/ApiGenerator/Configuration/Overrides/IEndpointOverrides.cs +++ b/src/ApiGenerator/Configuration/Overrides/IEndpointOverrides.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Configuration/ViewLocations.cs b/src/ApiGenerator/Configuration/ViewLocations.cs index 272daee893..3983e472f1 100644 --- a/src/ApiGenerator/Configuration/ViewLocations.cs +++ b/src/ApiGenerator/Configuration/ViewLocations.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Domain/ApiQueryParametersPatcher.cs b/src/ApiGenerator/Domain/ApiQueryParametersPatcher.cs index f133eca3b2..fb7be5775a 100644 --- a/src/ApiGenerator/Domain/ApiQueryParametersPatcher.cs +++ b/src/ApiGenerator/Domain/ApiQueryParametersPatcher.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Domain/Code/CsharpNames.cs b/src/ApiGenerator/Domain/Code/CsharpNames.cs index 94012c6e5e..c274b5bd5a 100644 --- a/src/ApiGenerator/Domain/Code/CsharpNames.cs +++ b/src/ApiGenerator/Domain/Code/CsharpNames.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * @@ -120,7 +121,7 @@ public string PerPathMethodName(string path) var method = MethodName; // This is temporary for transition period - // TODO: remove in master once master in opensearch is scrubbed + // TODO: remove in branch once it in opensearch is scrubbed if (path.Contains("{type}") && !method.Contains("Type")) method += "UsingType"; if (ms("Indices") && !pc("{index}")) diff --git a/src/ApiGenerator/Domain/Code/HighLevel/Methods/BoundFluentMethod.cs b/src/ApiGenerator/Domain/Code/HighLevel/Methods/BoundFluentMethod.cs index 98211b4dcc..c52e6fe0cb 100644 --- a/src/ApiGenerator/Domain/Code/HighLevel/Methods/BoundFluentMethod.cs +++ b/src/ApiGenerator/Domain/Code/HighLevel/Methods/BoundFluentMethod.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Domain/Code/HighLevel/Methods/FluentMethod.cs b/src/ApiGenerator/Domain/Code/HighLevel/Methods/FluentMethod.cs index 5f0529424b..ba7c04b673 100644 --- a/src/ApiGenerator/Domain/Code/HighLevel/Methods/FluentMethod.cs +++ b/src/ApiGenerator/Domain/Code/HighLevel/Methods/FluentMethod.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Domain/Code/HighLevel/Methods/FluentSyntaxBase.cs b/src/ApiGenerator/Domain/Code/HighLevel/Methods/FluentSyntaxBase.cs index 37d083dee0..e3d197e956 100644 --- a/src/ApiGenerator/Domain/Code/HighLevel/Methods/FluentSyntaxBase.cs +++ b/src/ApiGenerator/Domain/Code/HighLevel/Methods/FluentSyntaxBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Domain/Code/HighLevel/Methods/FluentSyntaxView.cs b/src/ApiGenerator/Domain/Code/HighLevel/Methods/FluentSyntaxView.cs index 9efd8d164b..0c4d96376b 100644 --- a/src/ApiGenerator/Domain/Code/HighLevel/Methods/FluentSyntaxView.cs +++ b/src/ApiGenerator/Domain/Code/HighLevel/Methods/FluentSyntaxView.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Domain/Code/HighLevel/Methods/HighLevelModel.cs b/src/ApiGenerator/Domain/Code/HighLevel/Methods/HighLevelModel.cs index cc79f2166f..b79ad48edd 100644 --- a/src/ApiGenerator/Domain/Code/HighLevel/Methods/HighLevelModel.cs +++ b/src/ApiGenerator/Domain/Code/HighLevel/Methods/HighLevelModel.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Domain/Code/HighLevel/Methods/InitializerMethod.cs b/src/ApiGenerator/Domain/Code/HighLevel/Methods/InitializerMethod.cs index c274ca8558..45150f843e 100644 --- a/src/ApiGenerator/Domain/Code/HighLevel/Methods/InitializerMethod.cs +++ b/src/ApiGenerator/Domain/Code/HighLevel/Methods/InitializerMethod.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Domain/Code/HighLevel/Methods/InitializerSyntaxView.cs b/src/ApiGenerator/Domain/Code/HighLevel/Methods/InitializerSyntaxView.cs index fc5c17e8ec..81065f5d18 100644 --- a/src/ApiGenerator/Domain/Code/HighLevel/Methods/InitializerSyntaxView.cs +++ b/src/ApiGenerator/Domain/Code/HighLevel/Methods/InitializerSyntaxView.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Domain/Code/HighLevel/Methods/MethodSyntaxBase.cs b/src/ApiGenerator/Domain/Code/HighLevel/Methods/MethodSyntaxBase.cs index e45c90850e..3cdfa23f5d 100644 --- a/src/ApiGenerator/Domain/Code/HighLevel/Methods/MethodSyntaxBase.cs +++ b/src/ApiGenerator/Domain/Code/HighLevel/Methods/MethodSyntaxBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Domain/Code/HighLevel/Requests/Constructor.cs b/src/ApiGenerator/Domain/Code/HighLevel/Requests/Constructor.cs index 3ff4475ebb..4cdd0bed00 100644 --- a/src/ApiGenerator/Domain/Code/HighLevel/Requests/Constructor.cs +++ b/src/ApiGenerator/Domain/Code/HighLevel/Requests/Constructor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Domain/Code/HighLevel/Requests/DescriptorPartialImplementation.cs b/src/ApiGenerator/Domain/Code/HighLevel/Requests/DescriptorPartialImplementation.cs index 09fc53a0f2..e114eb47c5 100644 --- a/src/ApiGenerator/Domain/Code/HighLevel/Requests/DescriptorPartialImplementation.cs +++ b/src/ApiGenerator/Domain/Code/HighLevel/Requests/DescriptorPartialImplementation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Domain/Code/HighLevel/Requests/FluentRouteSetter.cs b/src/ApiGenerator/Domain/Code/HighLevel/Requests/FluentRouteSetter.cs index 9801a74ab3..f7b434467e 100644 --- a/src/ApiGenerator/Domain/Code/HighLevel/Requests/FluentRouteSetter.cs +++ b/src/ApiGenerator/Domain/Code/HighLevel/Requests/FluentRouteSetter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Domain/Code/HighLevel/Requests/RequestInterface.cs b/src/ApiGenerator/Domain/Code/HighLevel/Requests/RequestInterface.cs index a06024639a..a0b6735eaa 100644 --- a/src/ApiGenerator/Domain/Code/HighLevel/Requests/RequestInterface.cs +++ b/src/ApiGenerator/Domain/Code/HighLevel/Requests/RequestInterface.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Domain/Code/HighLevel/Requests/RequestParameterImplementation.cs b/src/ApiGenerator/Domain/Code/HighLevel/Requests/RequestParameterImplementation.cs index 6e93ebeaca..3af9dc2d95 100644 --- a/src/ApiGenerator/Domain/Code/HighLevel/Requests/RequestParameterImplementation.cs +++ b/src/ApiGenerator/Domain/Code/HighLevel/Requests/RequestParameterImplementation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Domain/Code/HighLevel/Requests/RequestPartialImplementation.cs b/src/ApiGenerator/Domain/Code/HighLevel/Requests/RequestPartialImplementation.cs index 025a1d808c..684f029760 100644 --- a/src/ApiGenerator/Domain/Code/HighLevel/Requests/RequestPartialImplementation.cs +++ b/src/ApiGenerator/Domain/Code/HighLevel/Requests/RequestPartialImplementation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Domain/Code/LowLevel/LowLevelClientMethod.cs b/src/ApiGenerator/Domain/Code/LowLevel/LowLevelClientMethod.cs index 612e2f4a52..13bff92150 100644 --- a/src/ApiGenerator/Domain/Code/LowLevel/LowLevelClientMethod.cs +++ b/src/ApiGenerator/Domain/Code/LowLevel/LowLevelClientMethod.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Domain/RestApiSpec.cs b/src/ApiGenerator/Domain/RestApiSpec.cs index 091b8a57f6..32b8ff3b87 100644 --- a/src/ApiGenerator/Domain/RestApiSpec.cs +++ b/src/ApiGenerator/Domain/RestApiSpec.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Domain/Specification/ApiEndpoint.cs b/src/ApiGenerator/Domain/Specification/ApiEndpoint.cs index de661fa227..49359a0ba3 100644 --- a/src/ApiGenerator/Domain/Specification/ApiEndpoint.cs +++ b/src/ApiGenerator/Domain/Specification/ApiEndpoint.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Domain/Specification/Body.cs b/src/ApiGenerator/Domain/Specification/Body.cs index 0c01ef6278..a98f00063b 100644 --- a/src/ApiGenerator/Domain/Specification/Body.cs +++ b/src/ApiGenerator/Domain/Specification/Body.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Domain/Specification/Documentation.cs b/src/ApiGenerator/Domain/Specification/Documentation.cs index 4ee1a5b068..5c21df9386 100644 --- a/src/ApiGenerator/Domain/Specification/Documentation.cs +++ b/src/ApiGenerator/Domain/Specification/Documentation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Domain/Specification/QueryParameters.cs b/src/ApiGenerator/Domain/Specification/QueryParameters.cs index b35b13c730..fa5ffe6991 100644 --- a/src/ApiGenerator/Domain/Specification/QueryParameters.cs +++ b/src/ApiGenerator/Domain/Specification/QueryParameters.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Domain/Specification/Stability.cs b/src/ApiGenerator/Domain/Specification/Stability.cs index 34817d63d7..76c56ad22f 100644 --- a/src/ApiGenerator/Domain/Specification/Stability.cs +++ b/src/ApiGenerator/Domain/Specification/Stability.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Domain/Specification/UrlInformation.cs b/src/ApiGenerator/Domain/Specification/UrlInformation.cs index 0537b2d533..b69dd459b1 100644 --- a/src/ApiGenerator/Domain/Specification/UrlInformation.cs +++ b/src/ApiGenerator/Domain/Specification/UrlInformation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Domain/Specification/UrlPart.cs b/src/ApiGenerator/Domain/Specification/UrlPart.cs index e05305f590..eb06a14e81 100644 --- a/src/ApiGenerator/Domain/Specification/UrlPart.cs +++ b/src/ApiGenerator/Domain/Specification/UrlPart.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Domain/Specification/UrlPath.cs b/src/ApiGenerator/Domain/Specification/UrlPath.cs index 13813ec64b..8cc68cca7f 100644 --- a/src/ApiGenerator/Domain/Specification/UrlPath.cs +++ b/src/ApiGenerator/Domain/Specification/UrlPath.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Extensions.cs b/src/ApiGenerator/Extensions.cs index cecf45d2b7..cda23e02f7 100644 --- a/src/ApiGenerator/Extensions.cs +++ b/src/ApiGenerator/Extensions.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Generator/ApiEndpointFactory.cs b/src/ApiGenerator/Generator/ApiEndpointFactory.cs index 83d74fe30c..b27e9ca871 100644 --- a/src/ApiGenerator/Generator/ApiEndpointFactory.cs +++ b/src/ApiGenerator/Generator/ApiEndpointFactory.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Generator/ApiGenerator.cs b/src/ApiGenerator/Generator/ApiGenerator.cs index a12e198237..da30ac1b7b 100644 --- a/src/ApiGenerator/Generator/ApiGenerator.cs +++ b/src/ApiGenerator/Generator/ApiGenerator.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Generator/CodeGenerator.cs b/src/ApiGenerator/Generator/CodeGenerator.cs index edd6fa1863..1ca66bd47c 100644 --- a/src/ApiGenerator/Generator/CodeGenerator.cs +++ b/src/ApiGenerator/Generator/CodeGenerator.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Generator/Razor/ApiUrlsLookupsGenerator.cs b/src/ApiGenerator/Generator/Razor/ApiUrlsLookupsGenerator.cs index f8e5b02d41..e3dba6ea2d 100644 --- a/src/ApiGenerator/Generator/Razor/ApiUrlsLookupsGenerator.cs +++ b/src/ApiGenerator/Generator/Razor/ApiUrlsLookupsGenerator.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Generator/Razor/DescriptorsGenerator.cs b/src/ApiGenerator/Generator/Razor/DescriptorsGenerator.cs index c9cbbb10e1..50b31cf176 100644 --- a/src/ApiGenerator/Generator/Razor/DescriptorsGenerator.cs +++ b/src/ApiGenerator/Generator/Razor/DescriptorsGenerator.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Generator/Razor/EnumsGenerator.cs b/src/ApiGenerator/Generator/Razor/EnumsGenerator.cs index 86c444722a..7e419ceb4d 100644 --- a/src/ApiGenerator/Generator/Razor/EnumsGenerator.cs +++ b/src/ApiGenerator/Generator/Razor/EnumsGenerator.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Generator/Razor/HighLevelClientImplementationGenerator.cs b/src/ApiGenerator/Generator/Razor/HighLevelClientImplementationGenerator.cs index 182b44de15..22f509e3ca 100644 --- a/src/ApiGenerator/Generator/Razor/HighLevelClientImplementationGenerator.cs +++ b/src/ApiGenerator/Generator/Razor/HighLevelClientImplementationGenerator.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Generator/Razor/HighLevelClientInterfaceGenerator.cs b/src/ApiGenerator/Generator/Razor/HighLevelClientInterfaceGenerator.cs index 3b49e54a0c..928cf38d1c 100644 --- a/src/ApiGenerator/Generator/Razor/HighLevelClientInterfaceGenerator.cs +++ b/src/ApiGenerator/Generator/Razor/HighLevelClientInterfaceGenerator.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Generator/Razor/LowLevelClientImplementationGenerator.cs b/src/ApiGenerator/Generator/Razor/LowLevelClientImplementationGenerator.cs index 6a0627c80c..660a937cba 100644 --- a/src/ApiGenerator/Generator/Razor/LowLevelClientImplementationGenerator.cs +++ b/src/ApiGenerator/Generator/Razor/LowLevelClientImplementationGenerator.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Generator/Razor/LowLevelClientInterfaceGenerator.cs b/src/ApiGenerator/Generator/Razor/LowLevelClientInterfaceGenerator.cs index cc6be047b3..655958cc83 100644 --- a/src/ApiGenerator/Generator/Razor/LowLevelClientInterfaceGenerator.cs +++ b/src/ApiGenerator/Generator/Razor/LowLevelClientInterfaceGenerator.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Generator/Razor/RazorGeneratorBase.cs b/src/ApiGenerator/Generator/Razor/RazorGeneratorBase.cs index 6b79c09665..2e9f4f1bb0 100644 --- a/src/ApiGenerator/Generator/Razor/RazorGeneratorBase.cs +++ b/src/ApiGenerator/Generator/Razor/RazorGeneratorBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Generator/Razor/RequestParametersGenerator.cs b/src/ApiGenerator/Generator/Razor/RequestParametersGenerator.cs index 03341920a4..55b115fbdb 100644 --- a/src/ApiGenerator/Generator/Razor/RequestParametersGenerator.cs +++ b/src/ApiGenerator/Generator/Razor/RequestParametersGenerator.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Generator/Razor/RequestsGenerator.cs b/src/ApiGenerator/Generator/Razor/RequestsGenerator.cs index 1b57d28652..634657d5e8 100644 --- a/src/ApiGenerator/Generator/Razor/RequestsGenerator.cs +++ b/src/ApiGenerator/Generator/Razor/RequestsGenerator.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/Program.cs b/src/ApiGenerator/Program.cs index 998474e929..4273e9c239 100644 --- a/src/ApiGenerator/Program.cs +++ b/src/ApiGenerator/Program.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/RestSpecDownloader.cs b/src/ApiGenerator/RestSpecDownloader.cs index 00e4660ebd..920aea6539 100644 --- a/src/ApiGenerator/RestSpecDownloader.cs +++ b/src/ApiGenerator/RestSpecDownloader.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/RestSpecification/Core/cat.allocation.json b/src/ApiGenerator/RestSpecification/Core/cat.allocation.json index ee0f9e4f9a..6616747970 100644 --- a/src/ApiGenerator/RestSpecification/Core/cat.allocation.json +++ b/src/ApiGenerator/RestSpecification/Core/cat.allocation.json @@ -61,6 +61,10 @@ "type":"time", "description":"Explicit operation timeout for connection to master node" }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" + }, "h":{ "type":"list", "description":"Comma-separated list of column names to display" diff --git a/src/ApiGenerator/RestSpecification/Core/cat.cluster_manager.json b/src/ApiGenerator/RestSpecification/Core/cat.cluster_manager.json new file mode 100644 index 0000000000..5056437c26 --- /dev/null +++ b/src/ApiGenerator/RestSpecification/Core/cat.cluster_manager.json @@ -0,0 +1,73 @@ +{ + "cat.cluster_manager":{ + "documentation":{ + "url":"https://opensearch.org/docs/2.0/opensearch/rest-api/cat/cat-cluster_manager/", + "description":"Returns information about the cluster_manager node. Introduced in OpenSearch 2.0 instead of cat-master." + }, + "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, + "url":{ + "paths":[ + { + "path":"/_cat/cluster_manager", + "methods":[ + "GET" + ] + }, + { + "path":"/_cat/master", + "methods":[ + "GET" + ], + "deprecated":{ + "version":"2.0.0", + "description":"To promote inclusive language, please use '/_cat/cluster_manager' instead." + } + } + ] + }, + "params":{ + "format":{ + "type":"string", + "description":"a short version of the Accept header, e.g. json, yaml" + }, + "local":{ + "type":"boolean", + "description":"Return local information, do not retrieve the state from cluster-manager node (default: false)" + }, + "master_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to master node", + "deprecated":{ + "version":"2.0.0", + "description":"To promote inclusive language, use 'cluster_manager_timeout' instead." + } + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager node" + }, + "h":{ + "type":"list", + "description":"Comma-separated list of column names to display" + }, + "help":{ + "type":"boolean", + "description":"Return help information", + "default":false + }, + "s":{ + "type":"list", + "description":"Comma-separated list of column names or column aliases to sort by" + }, + "v":{ + "type":"boolean", + "description":"Verbose mode. Display column headers", + "default":false + } + } + } +} diff --git a/src/ApiGenerator/RestSpecification/Core/cat.indices.json b/src/ApiGenerator/RestSpecification/Core/cat.indices.json index 9c15424353..1f6ad64e01 100644 --- a/src/ApiGenerator/RestSpecification/Core/cat.indices.json +++ b/src/ApiGenerator/RestSpecification/Core/cat.indices.json @@ -61,6 +61,10 @@ "type":"time", "description":"Explicit operation timeout for connection to master node" }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" + }, "h":{ "type":"list", "description":"Comma-separated list of column names to display" diff --git a/src/ApiGenerator/RestSpecification/Core/cat.master.json b/src/ApiGenerator/RestSpecification/Core/cat.master.json index a7affe954e..26e0d29110 100644 --- a/src/ApiGenerator/RestSpecification/Core/cat.master.json +++ b/src/ApiGenerator/RestSpecification/Core/cat.master.json @@ -1,8 +1,8 @@ { "cat.master":{ "documentation":{ - "url":"https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-master/", - "description":"Returns information about the master node." + "url":"https://opensearch.org/docs/1.2/opensearch/rest-api/cat/cat-master/", + "description":"Returns information about the master node. Deprecated as of OpenSearch 2.0, use cat-cluster_manager instead." }, "stability":"stable", "visibility":"public", diff --git a/src/ApiGenerator/RestSpecification/Core/cat.nodeattrs.json b/src/ApiGenerator/RestSpecification/Core/cat.nodeattrs.json index 0c04977377..61aa48cd6e 100644 --- a/src/ApiGenerator/RestSpecification/Core/cat.nodeattrs.json +++ b/src/ApiGenerator/RestSpecification/Core/cat.nodeattrs.json @@ -32,6 +32,10 @@ "type":"time", "description":"Explicit operation timeout for connection to master node" }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" + }, "h":{ "type":"list", "description":"Comma-separated list of column names to display" diff --git a/src/ApiGenerator/RestSpecification/Core/cat.nodes.json b/src/ApiGenerator/RestSpecification/Core/cat.nodes.json index 9143293aae..3e6d9e1f2e 100644 --- a/src/ApiGenerator/RestSpecification/Core/cat.nodes.json +++ b/src/ApiGenerator/RestSpecification/Core/cat.nodes.json @@ -49,6 +49,10 @@ "type":"time", "description":"Explicit operation timeout for connection to master node" }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" + }, "h":{ "type":"list", "description":"Comma-separated list of column names to display" diff --git a/src/ApiGenerator/RestSpecification/Core/cat.pending_tasks.json b/src/ApiGenerator/RestSpecification/Core/cat.pending_tasks.json index 385125a9ee..8164f6c004 100644 --- a/src/ApiGenerator/RestSpecification/Core/cat.pending_tasks.json +++ b/src/ApiGenerator/RestSpecification/Core/cat.pending_tasks.json @@ -32,6 +32,10 @@ "type":"time", "description":"Explicit operation timeout for connection to master node" }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" + }, "h":{ "type":"list", "description":"Comma-separated list of column names to display" diff --git a/src/ApiGenerator/RestSpecification/Core/cat.plugins.json b/src/ApiGenerator/RestSpecification/Core/cat.plugins.json index 18aea3f816..fd25b004c8 100644 --- a/src/ApiGenerator/RestSpecification/Core/cat.plugins.json +++ b/src/ApiGenerator/RestSpecification/Core/cat.plugins.json @@ -32,6 +32,10 @@ "type":"time", "description":"Explicit operation timeout for connection to master node" }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" + }, "h":{ "type":"list", "description":"Comma-separated list of column names to display" diff --git a/src/ApiGenerator/RestSpecification/Core/cat.repositories.json b/src/ApiGenerator/RestSpecification/Core/cat.repositories.json index adcdae4dbd..294bedc001 100644 --- a/src/ApiGenerator/RestSpecification/Core/cat.repositories.json +++ b/src/ApiGenerator/RestSpecification/Core/cat.repositories.json @@ -33,6 +33,10 @@ "type":"time", "description":"Explicit operation timeout for connection to master node" }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" + }, "h":{ "type":"list", "description":"Comma-separated list of column names to display" diff --git a/src/ApiGenerator/RestSpecification/Core/cat.shards.json b/src/ApiGenerator/RestSpecification/Core/cat.shards.json index 5f6f3a820c..7241591b38 100644 --- a/src/ApiGenerator/RestSpecification/Core/cat.shards.json +++ b/src/ApiGenerator/RestSpecification/Core/cat.shards.json @@ -61,6 +61,10 @@ "type":"time", "description":"Explicit operation timeout for connection to master node" }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" + }, "h":{ "type":"list", "description":"Comma-separated list of column names to display" diff --git a/src/ApiGenerator/RestSpecification/Core/cat.snapshots.json b/src/ApiGenerator/RestSpecification/Core/cat.snapshots.json index c9f94abe36..ce8e73d29e 100644 --- a/src/ApiGenerator/RestSpecification/Core/cat.snapshots.json +++ b/src/ApiGenerator/RestSpecification/Core/cat.snapshots.json @@ -45,6 +45,10 @@ "type":"time", "description":"Explicit operation timeout for connection to master node" }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" + }, "h":{ "type":"list", "description":"Comma-separated list of column names to display" diff --git a/src/ApiGenerator/RestSpecification/Core/cat.templates.json b/src/ApiGenerator/RestSpecification/Core/cat.templates.json index 4512354e0c..d1dfdb95df 100644 --- a/src/ApiGenerator/RestSpecification/Core/cat.templates.json +++ b/src/ApiGenerator/RestSpecification/Core/cat.templates.json @@ -44,6 +44,10 @@ "type":"time", "description":"Explicit operation timeout for connection to master node" }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" + }, "h":{ "type":"list", "description":"Comma-separated list of column names to display" diff --git a/src/ApiGenerator/RestSpecification/Core/cat.thread_pool.json b/src/ApiGenerator/RestSpecification/Core/cat.thread_pool.json index fb7e8a53f6..8279f0b7bc 100644 --- a/src/ApiGenerator/RestSpecification/Core/cat.thread_pool.json +++ b/src/ApiGenerator/RestSpecification/Core/cat.thread_pool.json @@ -44,6 +44,10 @@ "type":"time", "description":"Explicit operation timeout for connection to master node" }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" + }, "h":{ "type":"list", "description":"Comma-separated list of column names to display" diff --git a/src/ApiGenerator/RestSpecification/Core/cluster.delete_component_template.json b/src/ApiGenerator/RestSpecification/Core/cluster.delete_component_template.json index 0db5cdafa3..b4ee56dab7 100644 --- a/src/ApiGenerator/RestSpecification/Core/cluster.delete_component_template.json +++ b/src/ApiGenerator/RestSpecification/Core/cluster.delete_component_template.json @@ -32,7 +32,11 @@ }, "master_timeout":{ "type":"time", - "description":"Specify timeout for connection to master" + "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" } } } diff --git a/src/ApiGenerator/RestSpecification/Core/cluster.exists_component_template.json b/src/ApiGenerator/RestSpecification/Core/cluster.exists_component_template.json index c28443242e..64679d2e6b 100644 --- a/src/ApiGenerator/RestSpecification/Core/cluster.exists_component_template.json +++ b/src/ApiGenerator/RestSpecification/Core/cluster.exists_component_template.json @@ -30,6 +30,10 @@ "type":"time", "description":"Explicit operation timeout for connection to master node" }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" + }, "local":{ "type":"boolean", "description":"Return local information, do not retrieve the state from master node (default: false)" diff --git a/src/ApiGenerator/RestSpecification/Core/cluster.get_component_template.json b/src/ApiGenerator/RestSpecification/Core/cluster.get_component_template.json index c2fb719e18..6e3329031a 100644 --- a/src/ApiGenerator/RestSpecification/Core/cluster.get_component_template.json +++ b/src/ApiGenerator/RestSpecification/Core/cluster.get_component_template.json @@ -36,6 +36,10 @@ "type":"time", "description":"Explicit operation timeout for connection to master node" }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" + }, "local":{ "type":"boolean", "description":"Return local information, do not retrieve the state from master node (default: false)" diff --git a/src/ApiGenerator/RestSpecification/Core/cluster.get_settings.json b/src/ApiGenerator/RestSpecification/Core/cluster.get_settings.json index 8d58018591..d329a8df2b 100644 --- a/src/ApiGenerator/RestSpecification/Core/cluster.get_settings.json +++ b/src/ApiGenerator/RestSpecification/Core/cluster.get_settings.json @@ -28,6 +28,10 @@ "type":"time", "description":"Explicit operation timeout for connection to master node" }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" + }, "timeout":{ "type":"time", "description":"Explicit operation timeout" diff --git a/src/ApiGenerator/RestSpecification/Core/cluster.health.json b/src/ApiGenerator/RestSpecification/Core/cluster.health.json index fc8f6c9d15..4aefa8d302 100644 --- a/src/ApiGenerator/RestSpecification/Core/cluster.health.json +++ b/src/ApiGenerator/RestSpecification/Core/cluster.health.json @@ -62,6 +62,10 @@ "type":"time", "description":"Explicit operation timeout for connection to master node" }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" + }, "timeout":{ "type":"time", "description":"Explicit operation timeout" diff --git a/src/ApiGenerator/RestSpecification/Core/cluster.pending_tasks.json b/src/ApiGenerator/RestSpecification/Core/cluster.pending_tasks.json index 5e44b238fe..176385d912 100644 --- a/src/ApiGenerator/RestSpecification/Core/cluster.pending_tasks.json +++ b/src/ApiGenerator/RestSpecification/Core/cluster.pending_tasks.json @@ -26,7 +26,11 @@ }, "master_timeout":{ "type":"time", - "description":"Specify timeout for connection to master" + "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" } } } diff --git a/src/ApiGenerator/RestSpecification/Core/cluster.put_component_template.json b/src/ApiGenerator/RestSpecification/Core/cluster.put_component_template.json index 6c24d247ac..50eed63d39 100644 --- a/src/ApiGenerator/RestSpecification/Core/cluster.put_component_template.json +++ b/src/ApiGenerator/RestSpecification/Core/cluster.put_component_template.json @@ -39,7 +39,11 @@ }, "master_timeout":{ "type":"time", - "description":"Specify timeout for connection to master" + "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" } }, "body":{ diff --git a/src/ApiGenerator/RestSpecification/Core/cluster.put_settings.json b/src/ApiGenerator/RestSpecification/Core/cluster.put_settings.json index 653ab997c8..32ae4c3ac2 100644 --- a/src/ApiGenerator/RestSpecification/Core/cluster.put_settings.json +++ b/src/ApiGenerator/RestSpecification/Core/cluster.put_settings.json @@ -29,6 +29,10 @@ "type":"time", "description":"Explicit operation timeout for connection to master node" }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" + }, "timeout":{ "type":"time", "description":"Explicit operation timeout" diff --git a/src/ApiGenerator/RestSpecification/Core/cluster.reroute.json b/src/ApiGenerator/RestSpecification/Core/cluster.reroute.json index 099e33eaac..14b75a551a 100644 --- a/src/ApiGenerator/RestSpecification/Core/cluster.reroute.json +++ b/src/ApiGenerator/RestSpecification/Core/cluster.reroute.json @@ -50,6 +50,10 @@ "type":"time", "description":"Explicit operation timeout for connection to master node" }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" + }, "timeout":{ "type":"time", "description":"Explicit operation timeout" diff --git a/src/ApiGenerator/RestSpecification/Core/cluster.state.json b/src/ApiGenerator/RestSpecification/Core/cluster.state.json index 8eede2d2a3..89767d4dc8 100644 --- a/src/ApiGenerator/RestSpecification/Core/cluster.state.json +++ b/src/ApiGenerator/RestSpecification/Core/cluster.state.json @@ -74,7 +74,11 @@ }, "master_timeout":{ "type":"time", - "description":"Specify timeout for connection to master" + "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" }, "flat_settings":{ "type":"boolean", diff --git a/src/ApiGenerator/RestSpecification/Core/dangling_indices.delete_dangling_index.json b/src/ApiGenerator/RestSpecification/Core/dangling_indices.delete_dangling_index.json index 6f789a5018..13670576c3 100644 --- a/src/ApiGenerator/RestSpecification/Core/dangling_indices.delete_dangling_index.json +++ b/src/ApiGenerator/RestSpecification/Core/dangling_indices.delete_dangling_index.json @@ -34,9 +34,13 @@ "type": "time", "description": "Explicit operation timeout" }, - "master_timeout": { - "type": "time", - "description": "Specify timeout for connection to master" + "master_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" } } } diff --git a/src/ApiGenerator/RestSpecification/Core/dangling_indices.import_dangling_index.json b/src/ApiGenerator/RestSpecification/Core/dangling_indices.import_dangling_index.json index 3f7ad7139a..64c0568eb7 100644 --- a/src/ApiGenerator/RestSpecification/Core/dangling_indices.import_dangling_index.json +++ b/src/ApiGenerator/RestSpecification/Core/dangling_indices.import_dangling_index.json @@ -34,9 +34,13 @@ "type": "time", "description": "Explicit operation timeout" }, - "master_timeout": { - "type": "time", - "description": "Specify timeout for connection to master" + "master_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" } } } diff --git a/src/ApiGenerator/RestSpecification/Core/delete_script.json b/src/ApiGenerator/RestSpecification/Core/delete_script.json index 1699b7f24f..36b76fb222 100644 --- a/src/ApiGenerator/RestSpecification/Core/delete_script.json +++ b/src/ApiGenerator/RestSpecification/Core/delete_script.json @@ -32,7 +32,11 @@ }, "master_timeout":{ "type":"time", - "description":"Specify timeout for connection to master" + "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" } } } diff --git a/src/ApiGenerator/RestSpecification/Core/features.get_features.json b/src/ApiGenerator/RestSpecification/Core/features.get_features.json index 023c24a29c..3ad4adc3a9 100644 --- a/src/ApiGenerator/RestSpecification/Core/features.get_features.json +++ b/src/ApiGenerator/RestSpecification/Core/features.get_features.json @@ -23,6 +23,10 @@ "master_timeout":{ "type":"time", "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" } } } diff --git a/src/ApiGenerator/RestSpecification/Core/get_script.json b/src/ApiGenerator/RestSpecification/Core/get_script.json index ade8ac8d17..b99b5d3cf1 100644 --- a/src/ApiGenerator/RestSpecification/Core/get_script.json +++ b/src/ApiGenerator/RestSpecification/Core/get_script.json @@ -28,7 +28,11 @@ "params":{ "master_timeout":{ "type":"time", - "description":"Specify timeout for connection to master" + "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager node" } } } diff --git a/src/ApiGenerator/RestSpecification/Core/indices.add_block.json b/src/ApiGenerator/RestSpecification/Core/indices.add_block.json index 4d45d76a63..f63cfab61e 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.add_block.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.add_block.json @@ -36,7 +36,11 @@ }, "master_timeout":{ "type":"time", - "description":"Specify timeout for connection to master" + "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" }, "ignore_unavailable":{ "type":"boolean", diff --git a/src/ApiGenerator/RestSpecification/Core/indices.clone.json b/src/ApiGenerator/RestSpecification/Core/indices.clone.json index ef25339b15..d200c10b85 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.clone.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.clone.json @@ -36,9 +36,13 @@ "type" : "time", "description" : "Explicit operation timeout" }, - "master_timeout": { - "type" : "time", - "description" : "Specify timeout for connection to master" + "master_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" }, "wait_for_active_shards": { "type" : "string", diff --git a/src/ApiGenerator/RestSpecification/Core/indices.close.json b/src/ApiGenerator/RestSpecification/Core/indices.close.json index 21e48de027..75ac41325e 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.close.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.close.json @@ -32,7 +32,11 @@ }, "master_timeout":{ "type":"time", - "description":"Specify timeout for connection to master" + "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" }, "ignore_unavailable":{ "type":"boolean", diff --git a/src/ApiGenerator/RestSpecification/Core/indices.create.json b/src/ApiGenerator/RestSpecification/Core/indices.create.json index b91adef4b4..02ddc9c760 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.create.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.create.json @@ -41,7 +41,11 @@ }, "master_timeout":{ "type":"time", - "description":"Specify timeout for connection to master" + "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" } }, "body":{ diff --git a/src/ApiGenerator/RestSpecification/Core/indices.delete.json b/src/ApiGenerator/RestSpecification/Core/indices.delete.json index ba7d4a3df7..2ba5dda8c3 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.delete.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.delete.json @@ -32,7 +32,11 @@ }, "master_timeout":{ "type":"time", - "description":"Specify timeout for connection to master" + "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" }, "ignore_unavailable":{ "type":"boolean", diff --git a/src/ApiGenerator/RestSpecification/Core/indices.delete_alias.json b/src/ApiGenerator/RestSpecification/Core/indices.delete_alias.json index de9ba85b09..6b3a133166 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.delete_alias.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.delete_alias.json @@ -52,7 +52,11 @@ }, "master_timeout":{ "type":"time", - "description":"Specify timeout for connection to master" + "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" } } } diff --git a/src/ApiGenerator/RestSpecification/Core/indices.delete_index_template.json b/src/ApiGenerator/RestSpecification/Core/indices.delete_index_template.json index c10502ff00..3fd849a339 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.delete_index_template.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.delete_index_template.json @@ -32,7 +32,11 @@ }, "master_timeout":{ "type":"time", - "description":"Specify timeout for connection to master" + "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" } } } diff --git a/src/ApiGenerator/RestSpecification/Core/indices.delete_template.json b/src/ApiGenerator/RestSpecification/Core/indices.delete_template.json index 7ea4387626..f16a62f6cb 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.delete_template.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.delete_template.json @@ -32,7 +32,11 @@ }, "master_timeout":{ "type":"time", - "description":"Specify timeout for connection to master" + "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" } } } diff --git a/src/ApiGenerator/RestSpecification/Core/indices.exists_index_template.json b/src/ApiGenerator/RestSpecification/Core/indices.exists_index_template.json index f426ed9fac..762477a23f 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.exists_index_template.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.exists_index_template.json @@ -34,6 +34,10 @@ "type":"time", "description":"Explicit operation timeout for connection to master node" }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" + }, "local":{ "type":"boolean", "description":"Return local information, do not retrieve the state from master node (default: false)" diff --git a/src/ApiGenerator/RestSpecification/Core/indices.exists_template.json b/src/ApiGenerator/RestSpecification/Core/indices.exists_template.json index 0a0809d064..d04305300c 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.exists_template.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.exists_template.json @@ -34,6 +34,10 @@ "type":"time", "description":"Explicit operation timeout for connection to master node" }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" + }, "local":{ "type":"boolean", "description":"Return local information, do not retrieve the state from master node (default: false)" diff --git a/src/ApiGenerator/RestSpecification/Core/indices.get.json b/src/ApiGenerator/RestSpecification/Core/indices.get.json index a38002e985..ad98d5b660 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.get.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.get.json @@ -65,7 +65,11 @@ }, "master_timeout":{ "type":"time", - "description":"Specify timeout for connection to master" + "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" } } } diff --git a/src/ApiGenerator/RestSpecification/Core/indices.get_index_template.json b/src/ApiGenerator/RestSpecification/Core/indices.get_index_template.json index 90cc1bb5b6..a8392a1d8a 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.get_index_template.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.get_index_template.json @@ -40,6 +40,10 @@ "type":"time", "description":"Explicit operation timeout for connection to master node" }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" + }, "local":{ "type":"boolean", "description":"Return local information, do not retrieve the state from master node (default: false)" diff --git a/src/ApiGenerator/RestSpecification/Core/indices.get_mapping.json b/src/ApiGenerator/RestSpecification/Core/indices.get_mapping.json index d4a499b83b..7e29e1d29d 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.get_mapping.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.get_mapping.json @@ -58,7 +58,11 @@ }, "master_timeout":{ "type":"time", - "description":"Specify timeout for connection to master" + "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" } } } diff --git a/src/ApiGenerator/RestSpecification/Core/indices.get_settings.json b/src/ApiGenerator/RestSpecification/Core/indices.get_settings.json index 3807432a20..39fb4847f3 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.get_settings.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.get_settings.json @@ -62,7 +62,11 @@ "params":{ "master_timeout":{ "type":"time", - "description":"Specify timeout for connection to master" + "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" }, "ignore_unavailable":{ "type":"boolean", diff --git a/src/ApiGenerator/RestSpecification/Core/indices.get_template.json b/src/ApiGenerator/RestSpecification/Core/indices.get_template.json index e3725cfe6c..66cb7a73ff 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.get_template.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.get_template.json @@ -44,6 +44,10 @@ "type":"time", "description":"Explicit operation timeout for connection to master node" }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" + }, "local":{ "type":"boolean", "description":"Return local information, do not retrieve the state from master node (default: false)" diff --git a/src/ApiGenerator/RestSpecification/Core/indices.open.json b/src/ApiGenerator/RestSpecification/Core/indices.open.json index 3976fd7640..3c094844af 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.open.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.open.json @@ -32,7 +32,11 @@ }, "master_timeout":{ "type":"time", - "description":"Specify timeout for connection to master" + "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" }, "ignore_unavailable":{ "type":"boolean", diff --git a/src/ApiGenerator/RestSpecification/Core/indices.put_alias.json b/src/ApiGenerator/RestSpecification/Core/indices.put_alias.json index b980184a39..c45f0aa36f 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.put_alias.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.put_alias.json @@ -55,7 +55,11 @@ }, "master_timeout":{ "type":"time", - "description":"Specify timeout for connection to master" + "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" } }, "body":{ diff --git a/src/ApiGenerator/RestSpecification/Core/indices.put_index_template.json b/src/ApiGenerator/RestSpecification/Core/indices.put_index_template.json index d583491d93..4963df1614 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.put_index_template.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.put_index_template.json @@ -40,7 +40,11 @@ }, "master_timeout":{ "type":"time", - "description":"Specify timeout for connection to master" + "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" } }, "body":{ diff --git a/src/ApiGenerator/RestSpecification/Core/indices.put_mapping.json b/src/ApiGenerator/RestSpecification/Core/indices.put_mapping.json index 436ee64773..7bc6e47cd4 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.put_mapping.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.put_mapping.json @@ -55,7 +55,11 @@ }, "master_timeout":{ "type":"time", - "description":"Specify timeout for connection to master" + "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" }, "ignore_unavailable":{ "type":"boolean", diff --git a/src/ApiGenerator/RestSpecification/Core/indices.put_settings.json b/src/ApiGenerator/RestSpecification/Core/indices.put_settings.json index 46179797cc..09be5ce207 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.put_settings.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.put_settings.json @@ -35,7 +35,11 @@ "params":{ "master_timeout":{ "type":"time", - "description":"Specify timeout for connection to master" + "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" }, "timeout":{ "type":"time", diff --git a/src/ApiGenerator/RestSpecification/Core/indices.put_template.json b/src/ApiGenerator/RestSpecification/Core/indices.put_template.json index 3476d8de6a..50d0034a75 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.put_template.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.put_template.json @@ -43,7 +43,11 @@ }, "master_timeout":{ "type":"time", - "description":"Specify timeout for connection to master" + "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" } }, "body":{ diff --git a/src/ApiGenerator/RestSpecification/Core/indices.rollover.json b/src/ApiGenerator/RestSpecification/Core/indices.rollover.json index 6c3d8d810c..9d43a18fd6 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.rollover.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.rollover.json @@ -57,7 +57,11 @@ }, "master_timeout":{ "type":"time", - "description":"Specify timeout for connection to master" + "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" }, "wait_for_active_shards":{ "type":"string", diff --git a/src/ApiGenerator/RestSpecification/Core/indices.shrink.json b/src/ApiGenerator/RestSpecification/Core/indices.shrink.json index ac90ee8fd0..16a781df6a 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.shrink.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.shrink.json @@ -40,9 +40,13 @@ "type" : "time", "description" : "Explicit operation timeout" }, - "master_timeout": { - "type" : "time", - "description" : "Specify timeout for connection to master" + "master_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" }, "wait_for_active_shards": { "type" : "string", diff --git a/src/ApiGenerator/RestSpecification/Core/indices.simulate_index_template.json b/src/ApiGenerator/RestSpecification/Core/indices.simulate_index_template.json index bea437c689..295a457442 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.simulate_index_template.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.simulate_index_template.json @@ -39,7 +39,11 @@ }, "master_timeout":{ "type":"time", - "description":"Specify timeout for connection to master" + "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" } }, "body":{ diff --git a/src/ApiGenerator/RestSpecification/Core/indices.simulate_template.json b/src/ApiGenerator/RestSpecification/Core/indices.simulate_template.json index ebeac6d213..a6a8a23dd7 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.simulate_template.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.simulate_template.json @@ -45,7 +45,11 @@ }, "master_timeout":{ "type":"time", - "description":"Specify timeout for connection to master" + "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" } }, "body":{ diff --git a/src/ApiGenerator/RestSpecification/Core/indices.split.json b/src/ApiGenerator/RestSpecification/Core/indices.split.json index 70eca76fa3..cc56dff46c 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.split.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.split.json @@ -40,9 +40,13 @@ "type" : "time", "description" : "Explicit operation timeout" }, - "master_timeout": { - "type" : "time", - "description" : "Specify timeout for connection to master" + "master_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" }, "wait_for_active_shards": { "type" : "string", diff --git a/src/ApiGenerator/RestSpecification/Core/indices.update_aliases.json b/src/ApiGenerator/RestSpecification/Core/indices.update_aliases.json index e8a0a6bd57..7ef9f4a9e3 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.update_aliases.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.update_aliases.json @@ -27,7 +27,11 @@ }, "master_timeout":{ "type":"time", - "description":"Specify timeout for connection to master" + "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" } }, "body":{ diff --git a/src/ApiGenerator/RestSpecification/Core/ingest.delete_pipeline.json b/src/ApiGenerator/RestSpecification/Core/ingest.delete_pipeline.json index 54911f6b47..b67eb57c3f 100644 --- a/src/ApiGenerator/RestSpecification/Core/ingest.delete_pipeline.json +++ b/src/ApiGenerator/RestSpecification/Core/ingest.delete_pipeline.json @@ -30,6 +30,10 @@ "type":"time", "description":"Explicit operation timeout for connection to master node" }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" + }, "timeout":{ "type":"time", "description":"Explicit operation timeout" diff --git a/src/ApiGenerator/RestSpecification/Core/ingest.get_pipeline.json b/src/ApiGenerator/RestSpecification/Core/ingest.get_pipeline.json index 7c7648ddb7..0c1d15854b 100644 --- a/src/ApiGenerator/RestSpecification/Core/ingest.get_pipeline.json +++ b/src/ApiGenerator/RestSpecification/Core/ingest.get_pipeline.json @@ -35,6 +35,10 @@ "master_timeout":{ "type":"time", "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" } } } diff --git a/src/ApiGenerator/RestSpecification/Core/ingest.put_pipeline.json b/src/ApiGenerator/RestSpecification/Core/ingest.put_pipeline.json index a27ef63c2d..c01fb37d24 100644 --- a/src/ApiGenerator/RestSpecification/Core/ingest.put_pipeline.json +++ b/src/ApiGenerator/RestSpecification/Core/ingest.put_pipeline.json @@ -31,6 +31,10 @@ "type":"time", "description":"Explicit operation timeout for connection to master node" }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" + }, "timeout":{ "type":"time", "description":"Explicit operation timeout" diff --git a/src/ApiGenerator/RestSpecification/Core/put_script.json b/src/ApiGenerator/RestSpecification/Core/put_script.json index a0e2de556c..de125549c8 100644 --- a/src/ApiGenerator/RestSpecification/Core/put_script.json +++ b/src/ApiGenerator/RestSpecification/Core/put_script.json @@ -51,7 +51,11 @@ }, "master_timeout":{ "type":"time", - "description":"Specify timeout for connection to master" + "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" }, "context":{ "type":"string", diff --git a/src/ApiGenerator/RestSpecification/Core/snapshot.cleanup_repository.json b/src/ApiGenerator/RestSpecification/Core/snapshot.cleanup_repository.json index d5ebe950f4..9783af5d07 100644 --- a/src/ApiGenerator/RestSpecification/Core/snapshot.cleanup_repository.json +++ b/src/ApiGenerator/RestSpecification/Core/snapshot.cleanup_repository.json @@ -27,12 +27,16 @@ }, "params": { "master_timeout": { - "type" : "time", - "description" : "Explicit operation timeout for connection to master node" + "type": "time", + "description": "Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout": { + "type": "time", + "description": "Explicit operation timeout for connection to cluster_manager_timeout node" }, "timeout": { - "type" : "time", - "description" : "Explicit operation timeout" + "type": "time", + "description": "Explicit operation timeout" } } } diff --git a/src/ApiGenerator/RestSpecification/Core/snapshot.clone.json b/src/ApiGenerator/RestSpecification/Core/snapshot.clone.json index 99dd1cad3a..c069bdcd5a 100644 --- a/src/ApiGenerator/RestSpecification/Core/snapshot.clone.json +++ b/src/ApiGenerator/RestSpecification/Core/snapshot.clone.json @@ -38,7 +38,11 @@ "master_timeout":{ "type":"time", "description":"Explicit operation timeout for connection to master node" - } + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" + }, }, "body":{ "description":"The snapshot clone definition", diff --git a/src/ApiGenerator/RestSpecification/Core/snapshot.create.json b/src/ApiGenerator/RestSpecification/Core/snapshot.create.json index e043331ae6..c05e4d650c 100644 --- a/src/ApiGenerator/RestSpecification/Core/snapshot.create.json +++ b/src/ApiGenerator/RestSpecification/Core/snapshot.create.json @@ -36,6 +36,10 @@ "type":"time", "description":"Explicit operation timeout for connection to master node" }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" + }, "wait_for_completion":{ "type":"boolean", "description":"Should this request wait until the operation has completed before returning", diff --git a/src/ApiGenerator/RestSpecification/Core/snapshot.create_repository.json b/src/ApiGenerator/RestSpecification/Core/snapshot.create_repository.json index bc2193d577..b5d89f5282 100644 --- a/src/ApiGenerator/RestSpecification/Core/snapshot.create_repository.json +++ b/src/ApiGenerator/RestSpecification/Core/snapshot.create_repository.json @@ -32,6 +32,10 @@ "type":"time", "description":"Explicit operation timeout for connection to master node" }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" + }, "timeout":{ "type":"time", "description":"Explicit operation timeout" diff --git a/src/ApiGenerator/RestSpecification/Core/snapshot.delete.json b/src/ApiGenerator/RestSpecification/Core/snapshot.delete.json index 89d743f892..227d3aec7c 100644 --- a/src/ApiGenerator/RestSpecification/Core/snapshot.delete.json +++ b/src/ApiGenerator/RestSpecification/Core/snapshot.delete.json @@ -33,6 +33,10 @@ "master_timeout":{ "type":"time", "description":"Explicit operation timeout for connection to master node" + }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" } } } diff --git a/src/ApiGenerator/RestSpecification/Core/snapshot.delete_repository.json b/src/ApiGenerator/RestSpecification/Core/snapshot.delete_repository.json index c7a1048a70..4cbf5b31f5 100644 --- a/src/ApiGenerator/RestSpecification/Core/snapshot.delete_repository.json +++ b/src/ApiGenerator/RestSpecification/Core/snapshot.delete_repository.json @@ -30,6 +30,10 @@ "type":"time", "description":"Explicit operation timeout for connection to master node" }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" + }, "timeout":{ "type":"time", "description":"Explicit operation timeout" diff --git a/src/ApiGenerator/RestSpecification/Core/snapshot.get.json b/src/ApiGenerator/RestSpecification/Core/snapshot.get.json index c823922e81..7d526adcbc 100644 --- a/src/ApiGenerator/RestSpecification/Core/snapshot.get.json +++ b/src/ApiGenerator/RestSpecification/Core/snapshot.get.json @@ -34,6 +34,10 @@ "type":"time", "description":"Explicit operation timeout for connection to master node" }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" + }, "ignore_unavailable":{ "type":"boolean", "description":"Whether to ignore unavailable snapshots, defaults to false which means a SnapshotMissingException is thrown" diff --git a/src/ApiGenerator/RestSpecification/Core/snapshot.get_repository.json b/src/ApiGenerator/RestSpecification/Core/snapshot.get_repository.json index c426ac2c7b..3a03941ed3 100644 --- a/src/ApiGenerator/RestSpecification/Core/snapshot.get_repository.json +++ b/src/ApiGenerator/RestSpecification/Core/snapshot.get_repository.json @@ -36,6 +36,10 @@ "type":"time", "description":"Explicit operation timeout for connection to master node" }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" + }, "local":{ "type":"boolean", "description":"Return local information, do not retrieve the state from master node (default: false)" diff --git a/src/ApiGenerator/RestSpecification/Core/snapshot.restore.json b/src/ApiGenerator/RestSpecification/Core/snapshot.restore.json index 0f9a478ef6..630381ede2 100644 --- a/src/ApiGenerator/RestSpecification/Core/snapshot.restore.json +++ b/src/ApiGenerator/RestSpecification/Core/snapshot.restore.json @@ -35,6 +35,10 @@ "type":"time", "description":"Explicit operation timeout for connection to master node" }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" + }, "wait_for_completion":{ "type":"boolean", "description":"Should this request wait until the operation has completed before returning", diff --git a/src/ApiGenerator/RestSpecification/Core/snapshot.status.json b/src/ApiGenerator/RestSpecification/Core/snapshot.status.json index 3563ea1a27..40acfc5521 100644 --- a/src/ApiGenerator/RestSpecification/Core/snapshot.status.json +++ b/src/ApiGenerator/RestSpecification/Core/snapshot.status.json @@ -52,6 +52,10 @@ "type":"time", "description":"Explicit operation timeout for connection to master node" }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" + }, "ignore_unavailable":{ "type":"boolean", "description":"Whether to ignore unavailable snapshots, defaults to false which means a SnapshotMissingException is thrown" diff --git a/src/ApiGenerator/RestSpecification/Core/snapshot.verify_repository.json b/src/ApiGenerator/RestSpecification/Core/snapshot.verify_repository.json index 3efda79be2..b0d52a80ca 100644 --- a/src/ApiGenerator/RestSpecification/Core/snapshot.verify_repository.json +++ b/src/ApiGenerator/RestSpecification/Core/snapshot.verify_repository.json @@ -30,6 +30,10 @@ "type":"time", "description":"Explicit operation timeout for connection to master node" }, + "cluster_manager_timeout":{ + "type":"time", + "description":"Explicit operation timeout for connection to cluster_manager_timeout node" + }, "timeout":{ "type":"time", "description":"Explicit operation timeout" diff --git a/src/ApiGenerator/Views/GeneratorNotice.cshtml b/src/ApiGenerator/Views/GeneratorNotice.cshtml index 3b8ae7ce95..51aee15377 100644 --- a/src/ApiGenerator/Views/GeneratorNotice.cshtml +++ b/src/ApiGenerator/Views/GeneratorNotice.cshtml @@ -5,7 +5,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/ApiGenerator/packages.lock.json b/src/ApiGenerator/packages.lock.json index 294ff8359d..d0621b8980 100644 --- a/src/ApiGenerator/packages.lock.json +++ b/src/ApiGenerator/packages.lock.json @@ -14,18 +14,21 @@ }, "Microsoft.CodeAnalysis.CSharp": { "type": "Direct", - "requested": "[3.1.0-beta3-final, )", - "resolved": "3.1.0-beta3-final", - "contentHash": "jxtDD32QgtTJD60z9KrGw0+vXQBSR+wiqAL8I0XCswlkbI3DMoD1czHYNGuobr9IqTsTFdDb6abwEGYTr/4PvQ==", + "requested": "[4.2.0, )", + "resolved": "4.2.0", + "contentHash": "5IDwr8zGNBmDpxtzxxZj9IHwoA6HJ1/WWT/JacqPQJ4Vz/oZXaHNlzcBPVCZRGWUw+QvVdAhCKwEyJyuAuH/wg==", "dependencies": { - "Microsoft.CodeAnalysis.Common": "[3.1.0-beta3-final]" + "Microsoft.CodeAnalysis.Common": "[4.2.0]" } }, "Microsoft.NETFramework.ReferenceAssemblies": { "type": "Direct", "requested": "[1.0.0-preview.2, )", "resolved": "1.0.0-preview.2", - "contentHash": "m+pJPEO7HyXvrOna5Sr3s77ewXonjYWJTNL6drh8xACnMNxnlqUDKx9HfGeSE9wmfY0lQwppaeZpFTPGaH7kZg==" + "contentHash": "m+pJPEO7HyXvrOna5Sr3s77ewXonjYWJTNL6drh8xACnMNxnlqUDKx9HfGeSE9wmfY0lQwppaeZpFTPGaH7kZg==", + "dependencies": { + "Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.0-preview.2" + } }, "Newtonsoft.Json": { "type": "Direct", @@ -33,25 +36,21 @@ "resolved": "13.0.1", "contentHash": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==" }, - "RazorLight.Unofficial": { + "RazorLight": { "type": "Direct", - "requested": "[2.0.0-beta1.3, )", - "resolved": "2.0.0-beta1.3", - "contentHash": "WJFjgKiHlli7iqxLiueomRPiIG3e6yGajJtA1tFcQwHpfytMec5l+2J0l1ghXv+GzByS5U51w2MOgoGFASg/UA==", + "requested": "[2.1.0, )", + "resolved": "2.1.0", + "contentHash": "WUJUsOJXUXrRpMrlWunn2QsOigF07S+lP2QxuOEBlfswDtuO4SAGaL97tOn0Hq24lMNqR4SWepOMj4Rlx+OfsQ==", "dependencies": { - "Microsoft.AspNetCore.Hosting.Abstractions": "2.1.0", - "Microsoft.AspNetCore.Html.Abstractions": "2.1.0", - "Microsoft.AspNetCore.Mvc.Razor.Extensions": "2.1.0", - "Microsoft.AspNetCore.Razor.Language": "2.1.0", - "Microsoft.AspNetCore.Razor.Runtime": "2.1.0", - "Microsoft.CodeAnalysis.Razor": "2.1.0", - "Microsoft.Extensions.Caching.Abstractions": "2.1.0", - "Microsoft.Extensions.Caching.Memory": "2.1.0", - "Microsoft.Extensions.DependencyInjection": "2.1.0", - "Microsoft.Extensions.DependencyModel": "2.1.0", - "Microsoft.Extensions.FileProviders.Physical": "2.1.0", - "Microsoft.Extensions.Primitives": "2.1.0", - "System.Buffers": "4.5.0" + "Microsoft.AspNetCore.Mvc.Razor.Extensions": "5.0.0", + "Microsoft.CodeAnalysis.Razor": "5.0.0", + "Microsoft.Extensions.Caching.Abstractions": "5.0.0", + "Microsoft.Extensions.Caching.Memory": "5.0.0", + "Microsoft.Extensions.DependencyInjection": "5.0.0", + "Microsoft.Extensions.DependencyModel": "5.0.0", + "Microsoft.Extensions.FileProviders.Physical": "5.0.0", + "Microsoft.Extensions.Primitives": "5.0.0", + "System.Buffers": "4.5.1" } }, "ShellProgressBar": { @@ -82,108 +81,47 @@ "System.CommandLine.Rendering": "0.3.0-alpha.20371.2" } }, - "Microsoft.AspNetCore.Hosting.Abstractions": { - "type": "Transitive", - "resolved": "2.1.0", - "contentHash": "1TQgBfd/NPZLR2o/h6l5Cml2ZCF5hsyV4h9WEwWwAIavrbdTnaNozGGcTOd4AOgQvogMM9UM1ajflm9Cwd0jLQ==", - "dependencies": { - "Microsoft.AspNetCore.Hosting.Server.Abstractions": "2.1.0", - "Microsoft.AspNetCore.Http.Abstractions": "2.1.0", - "Microsoft.Extensions.Hosting.Abstractions": "2.1.0" - } - }, - "Microsoft.AspNetCore.Hosting.Server.Abstractions": { - "type": "Transitive", - "resolved": "2.1.0", - "contentHash": "YTKMi2vHX6P+WHEVpW/DS+eFHnwivCSMklkyamcK1ETtc/4j8H3VR0kgW8XIBqukNxhD8k5wYt22P7PhrWSXjQ==", - "dependencies": { - "Microsoft.AspNetCore.Http.Features": "2.1.0", - "Microsoft.Extensions.Configuration.Abstractions": "2.1.0" - } - }, - "Microsoft.AspNetCore.Html.Abstractions": { - "type": "Transitive", - "resolved": "2.1.0", - "contentHash": "RA/znq+vLku3uzSWSn7EddEV1Wrh9l1K/nhN02GKAYgbjm5ecWEyuXH6vFLp84TzZsBwh4OerZ3Q0S4WzxHc3g==", - "dependencies": { - "System.Text.Encodings.Web": "4.5.0" - } - }, - "Microsoft.AspNetCore.Http.Abstractions": { - "type": "Transitive", - "resolved": "2.1.0", - "contentHash": "vbFDyKsSYBnxl3+RABtN79b0vsTcG66fDY8vD6Nqvu9uLtSej70Q5NcbGlnN6bJpZci5orSdgFTHMhBywivDPg==", - "dependencies": { - "Microsoft.AspNetCore.Http.Features": "2.1.0", - "System.Text.Encodings.Web": "4.5.0" - } - }, - "Microsoft.AspNetCore.Http.Features": { - "type": "Transitive", - "resolved": "2.1.0", - "contentHash": "UmkUePxRjsQW0j5euFFscBwjvTu25b8+qIK/2fI3GvcqQ+mkwgbWNAT8b/Gkoei1m2bTWC07lSdutuRDPPLcJA==", - "dependencies": { - "Microsoft.Extensions.Primitives": "2.1.0" - } - }, "Microsoft.AspNetCore.Mvc.Razor.Extensions": { "type": "Transitive", - "resolved": "2.1.0", - "contentHash": "894S6+TqW/kCTzXUtNwrH8c3oRGtYPopgPRa4m/5WHvtls1h6+scvWmZ0mqNSpfjxMVN/VFEouRHCVUq5DQUZg==", - "dependencies": { - "Microsoft.AspNetCore.Razor.Language": "2.1.0", - "Microsoft.CodeAnalysis.Razor": "2.1.0" - } - }, - "Microsoft.AspNetCore.Razor": { - "type": "Transitive", - "resolved": "2.1.0", - "contentHash": "xYMZg36TMyhiE8lrW13c0ZgQjqT9rLSHs3AM16PoXAX+wGcp7kfio+2H4E6rUjH2iibm3dcxWaZw2Dji0Xfa6g==", + "resolved": "5.0.0", + "contentHash": "+vVXw0oVVu5dnwseBxZFVeYZ0qPJTI03DTdghRKrcK+QhTM3Nu8orukKqdYObsI4mWZADE8wTILuYR5CowJr+w==", "dependencies": { - "Microsoft.AspNetCore.Html.Abstractions": "2.1.0" + "Microsoft.AspNetCore.Razor.Language": "5.0.0", + "Microsoft.CodeAnalysis.Razor": "5.0.0" } }, "Microsoft.AspNetCore.Razor.Language": { "type": "Transitive", - "resolved": "2.1.0", - "contentHash": "cZz3JwbzTd4/6xLD2LsnTSVGmH15z4oWa2/40vrpjDa87siqG6xibF7z2s29oNsHFhFog2F+KqI0ay6Q6Dj1BA==" - }, - "Microsoft.AspNetCore.Razor.Runtime": { - "type": "Transitive", - "resolved": "2.1.0", - "contentHash": "tpBIKen4pJUAmYMGH72voZlyNgEy9s2IaOwZQ0/INiqlunZmG7ptvHs5Z6q+XTL1lX8bzKX5RgEH08NjL4zCdA==", - "dependencies": { - "Microsoft.AspNetCore.Html.Abstractions": "2.1.0", - "Microsoft.AspNetCore.Razor": "2.1.0" - } + "resolved": "5.0.0", + "contentHash": "6yOBBASGfXMx1fY6hyjvG+oM3eR8vovIehDdEZW7jAV4gKlY4xuAvTm7Iw1fEq7KPunh2VrJwo7oRK1XxUn1OQ==" }, "Microsoft.CodeAnalysis.Analyzers": { "type": "Transitive", - "resolved": "2.6.2-beta2", - "contentHash": "rg5Ql73AmGCMG5Q40Kzbndq7C7S4XvsJA+2QXfZBCy2dRqD+a7BSbx/3942EoRUJ/8Wh9+kLg2G2qC46o3f1Aw==" + "resolved": "3.3.3", + "contentHash": "j/rOZtLMVJjrfLRlAMckJLPW/1rze9MT1yfWqSIbUPGRu1m1P0fuo9PmqapwsmePfGB5PJrudQLvmUOAMF0DqQ==" }, "Microsoft.CodeAnalysis.Common": { "type": "Transitive", - "resolved": "3.1.0-beta3-final", - "contentHash": "u+acJkpsYVgInsiAchcRPnP5sKr9iCrJWvmX0VoKqzFWNfPltBjfF+aWESF2R0lifh8yAkL1BmGJSB3UMEc/SA==", + "resolved": "4.2.0", + "contentHash": "lbusGcuE7D8FtZawQ4G++UFsRQArPzZN1GGXjPQwu3gvCbw7FXDcBq1zDZrZN1vRzPTVe1qyZMvfGhVUzs1TDg==", "dependencies": { - "Microsoft.CodeAnalysis.Analyzers": "2.6.2-beta2", - "System.Collections.Immutable": "1.5.0", - "System.Memory": "4.5.2", - "System.Reflection.Metadata": "1.6.0", - "System.Runtime.CompilerServices.Unsafe": "4.5.2", - "System.Text.Encoding.CodePages": "4.5.1", - "System.Threading.Tasks.Extensions": "4.5.2" + "Microsoft.CodeAnalysis.Analyzers": "3.3.3", + "System.Collections.Immutable": "5.0.0", + "System.Memory": "4.5.4", + "System.Reflection.Metadata": "5.0.0", + "System.Runtime.CompilerServices.Unsafe": "6.0.0", + "System.Text.Encoding.CodePages": "6.0.0", + "System.Threading.Tasks.Extensions": "4.5.4" } }, "Microsoft.CodeAnalysis.Razor": { "type": "Transitive", - "resolved": "2.1.0", - "contentHash": "vZzi2Y+kvKAURFPJscERrGo1z72DnvN7oGLDAmaiwsqsF+jNu1IEu3cmjVpWb3LShQ9j5oHW5/ZuI3zXAJgpMA==", + "resolved": "5.0.0", + "contentHash": "s4u/6z/MQ35y/egrXf4WgJlUZf5GGvuba9mZ700dH4XxLBrA9Fw9kFZ8uymoATry7hwz5owvFhBVo+2VnoiGRg==", "dependencies": { - "Microsoft.AspNetCore.Razor.Language": "2.1.0", - "Microsoft.CodeAnalysis.CSharp": "2.8.0", - "Microsoft.CodeAnalysis.Common": "2.8.0" + "Microsoft.AspNetCore.Razor.Language": "5.0.0", + "Microsoft.CodeAnalysis.CSharp": "3.7.0", + "Microsoft.CodeAnalysis.Common": "3.7.0" } }, "Microsoft.CSharp": { @@ -191,174 +129,100 @@ "resolved": "4.4.1", "contentHash": "A5hI3gk6WpcBI0QGZY6/d5CCaYUxJgi7iENn1uYEng+Olo8RfI5ReGVkjXjeu3VR3srLvVYREATXa2M0X7FYJA==" }, - "Microsoft.DotNet.PlatformAbstractions": { - "type": "Transitive", - "resolved": "2.1.0", - "contentHash": "9KPDwvb/hLEVXYruVHVZ8BkebC8j17DmPb56LnqRF74HqSPLjCkrlFUjOtFpQPA2DeADBRTI/e69aCfRBfrhxw==", - "dependencies": { - "System.AppContext": "4.1.0", - "System.Collections": "4.0.11", - "System.IO": "4.1.0", - "System.IO.FileSystem": "4.0.1", - "System.Reflection.TypeExtensions": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Runtime.InteropServices": "4.1.0", - "System.Runtime.InteropServices.RuntimeInformation": "4.0.0" - } - }, "Microsoft.Extensions.Caching.Abstractions": { "type": "Transitive", - "resolved": "2.1.0", - "contentHash": "R7uAb/JRwb9YQBB0qqLlX2qv4RBC/BqqIqFDqzvCjT0T2uPpbuTINLKGp+7uX2dbxjt3cpebSu5GvebeiKYpQA==", + "resolved": "5.0.0", + "contentHash": "bu8As90/SBAouMZ6fJ+qRNo1X+KgHGrVueFhhYi+E5WqEhcnp2HoWRFnMzXQ6g4RdZbvPowFerSbKNH4Dtg5yg==", "dependencies": { - "Microsoft.Extensions.Primitives": "2.1.0" + "Microsoft.Extensions.Primitives": "5.0.0" } }, "Microsoft.Extensions.Caching.Memory": { "type": "Transitive", - "resolved": "2.1.0", - "contentHash": "Jc1TrYtOxX9gsUXI4ZPVfPLI9aGjGTzVEs/qsBPw2GA+Td840YN4CvXCjgrLtWJckxl6KRNHgoYYBQgZZ/LTqg==", - "dependencies": { - "Microsoft.Extensions.Caching.Abstractions": "2.1.0", - "Microsoft.Extensions.DependencyInjection.Abstractions": "2.1.0", - "Microsoft.Extensions.Options": "2.1.0" - } - }, - "Microsoft.Extensions.Configuration.Abstractions": { - "type": "Transitive", - "resolved": "2.1.0", - "contentHash": "lMmUjAKvY9r6QmxCS15iSb6ulhwnh0zp44NtnVJ+HIDLFmu4iej41U+dU58On8NRezmlgRXiQtLnBeZSzYNKQg==", + "resolved": "5.0.0", + "contentHash": "/1qPCleFOkJe0O+xmFqCNLFYQZTJz965sVw8CUB/BQgsApBwzAUsL2BUkDvQW+geRUVTXUS9zLa0pBjC2VJ1gA==", "dependencies": { - "Microsoft.Extensions.Primitives": "2.1.0" + "Microsoft.Extensions.Caching.Abstractions": "5.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "5.0.0", + "Microsoft.Extensions.Logging.Abstractions": "5.0.0", + "Microsoft.Extensions.Options": "5.0.0", + "Microsoft.Extensions.Primitives": "5.0.0" } }, "Microsoft.Extensions.DependencyInjection": { "type": "Transitive", - "resolved": "2.1.0", - "contentHash": "gqQviLfuA31PheEGi+XJoZc1bc9H9RsPa9Gq9XuDct7XGWSR9eVXjK5Sg7CSUPhTFHSuxUFY12wcTYLZ4zM1hg==", + "resolved": "5.0.0", + "contentHash": "Rc2kb/p3Ze6cP6rhFC3PJRdWGbLvSHZc0ev7YlyeU6FmHciDMLrhoVoTUEzKPhN5ZjFgKF1Cf5fOz8mCMIkvpA==", "dependencies": { - "Microsoft.Extensions.DependencyInjection.Abstractions": "2.1.0" + "Microsoft.Extensions.DependencyInjection.Abstractions": "5.0.0" } }, "Microsoft.Extensions.DependencyInjection.Abstractions": { "type": "Transitive", - "resolved": "2.1.0", - "contentHash": "8/CtASu80UIoyG+r8FstrmZW5GLtXxzoYpjj3jV0FKZCL5CiFgSH3pAmqut/dC68mu7N1bU6v0UtKKL3gCUQGQ==" + "resolved": "5.0.0", + "contentHash": "ORj7Zh81gC69TyvmcUm9tSzytcy8AVousi+IVRAI8nLieQjOFryRusSFh7+aLk16FN9pQNqJAiMd7BTKINK0kA==" }, "Microsoft.Extensions.DependencyModel": { "type": "Transitive", - "resolved": "2.1.0", - "contentHash": "nS2XKqi+1A1umnYNLX2Fbm/XnzCxs5i+zXVJ3VC6r9t2z0NZr9FLnJN4VQpKigdcWH/iFTbMuX6M6WQJcTjVIg==", - "dependencies": { - "Microsoft.DotNet.PlatformAbstractions": "2.1.0", - "Newtonsoft.Json": "9.0.1", - "System.Diagnostics.Debug": "4.0.11", - "System.Dynamic.Runtime": "4.0.11", - "System.Linq": "4.1.0" - } + "resolved": "5.0.0", + "contentHash": "umBECCoMC+sOUgm083yFr8SxTobUOcPFH4AXigdO2xJiszCHAnmeDl4qPphJt+oaJ/XIfV1wOjIts2nRnki61Q==" }, "Microsoft.Extensions.FileProviders.Abstractions": { "type": "Transitive", - "resolved": "2.1.0", - "contentHash": "itv+7XBu58pxi8mykxx9cUO1OOVYe0jmQIZVSZVp5lOcLxB7sSV2bnHiI1RSu6Nxne/s6+oBla3ON5CCMSmwhQ==", + "resolved": "5.0.0", + "contentHash": "iuZIiZ3mteEb+nsUqpGXKx2cGF+cv6gWPd5jqQI4hzqdiJ6I94ddLjKhQOuRW1lueHwocIw30xbSHGhQj0zjdQ==", "dependencies": { - "Microsoft.Extensions.Primitives": "2.1.0" + "Microsoft.Extensions.Primitives": "5.0.0" } }, "Microsoft.Extensions.FileProviders.Physical": { "type": "Transitive", - "resolved": "2.1.0", - "contentHash": "A9xLomqD4tNFqDfleapx2C14ZcSjCTzn/4Od0W/wBYdlLF2tYDJ204e75HjpWDVTkr03kgdZbM3QZ6ZeDsrBYg==", + "resolved": "5.0.0", + "contentHash": "1rkd8UO2qf21biwO7X0hL9uHP7vtfmdv/NLvKgCRHkdz1XnW8zVQJXyEYiN68WYpExgtVWn55QF0qBzgfh1mGg==", "dependencies": { - "Microsoft.Extensions.FileProviders.Abstractions": "2.1.0", - "Microsoft.Extensions.FileSystemGlobbing": "2.1.0" + "Microsoft.Extensions.FileProviders.Abstractions": "5.0.0", + "Microsoft.Extensions.FileSystemGlobbing": "5.0.0", + "Microsoft.Extensions.Primitives": "5.0.0" } }, "Microsoft.Extensions.FileSystemGlobbing": { "type": "Transitive", - "resolved": "2.1.0", - "contentHash": "JEwwhwbVTEXJu4W4l/FFx7FG9Fh5R8999mZl6qJImjM/LY4DxQsFYzpSkziMdY022n7TQpNUxJlH9bKZc7TqWw==" - }, - "Microsoft.Extensions.Hosting.Abstractions": { - "type": "Transitive", - "resolved": "2.1.0", - "contentHash": "BpMaoBxdXr5VD0yk7rYN6R8lAU9X9JbvsPveNdKT+llIn3J5s4sxpWqaSG/NnzTzTLU5eJE5nrecTl7clg/7dQ==", - "dependencies": { - "Microsoft.Extensions.Configuration.Abstractions": "2.1.0", - "Microsoft.Extensions.DependencyInjection.Abstractions": "2.1.0", - "Microsoft.Extensions.FileProviders.Abstractions": "2.1.0", - "Microsoft.Extensions.Logging.Abstractions": "2.1.0" - } + "resolved": "5.0.0", + "contentHash": "ArliS8lGk8sWRtrWpqI8yUVYJpRruPjCDT+EIjrgkA/AAPRctlAkRISVZ334chAKktTLzD1+PK8F5IZpGedSqA==" }, "Microsoft.Extensions.Logging.Abstractions": { "type": "Transitive", - "resolved": "2.1.0", - "contentHash": "GfD2VtvN9z1W+m6pZZe98yh9VWTSdNY2dZSxtca9uFIY6aBI6twvskMvLO/ktClBOTQmAov/7Em+IWFlHepa0A==" + "resolved": "5.0.0", + "contentHash": "NxP6ahFcBnnSfwNBi2KH2Oz8Xl5Sm2krjId/jRR3I7teFphwiUoUeZPwTNA21EX+5PtjqmyAvKaOeBXcJjcH/w==" }, "Microsoft.Extensions.Options": { "type": "Transitive", - "resolved": "2.1.0", - "contentHash": "VOM1pPMi9+7/4Vc9aPLU8btHOBQy1+AvpqxLxFI2OVtqGv+1klPaV59g9R6aSt2U7ijfB3TjvAO4Tc/cn9/hxA==", + "resolved": "5.0.0", + "contentHash": "CBvR92TCJ5uBIdd9/HzDSrxYak+0W/3+yxrNg8Qm6Bmrkh5L+nu6m3WeazQehcZ5q1/6dDA7J5YdQjim0165zg==", "dependencies": { - "Microsoft.Extensions.DependencyInjection.Abstractions": "2.1.0", - "Microsoft.Extensions.Primitives": "2.1.0" + "Microsoft.Extensions.DependencyInjection.Abstractions": "5.0.0", + "Microsoft.Extensions.Primitives": "5.0.0" } }, "Microsoft.Extensions.Primitives": { "type": "Transitive", - "resolved": "2.1.0", - "contentHash": "gMwH6wgWOPfyfLfMLEP+ZF7/MSJq35e0xxKEYUjt8veEznY45nBVqdfI876+9SFQq2ChcqKf2UyYc2XYj2v27w==", - "dependencies": { - "System.Memory": "4.5.0", - "System.Runtime.CompilerServices.Unsafe": "4.5.0" - } - }, - "Microsoft.NETCore.Platforms": { - "type": "Transitive", - "resolved": "2.1.2", - "contentHash": "mOJy3M0UN+LUG21dLGMxaWZEP6xYpQEpLuvuEQBaownaX4YuhH6NmNUlN9si+vNkAS6dwJ//N1O4DmLf2CikVg==" - }, - "Microsoft.NETCore.Targets": { - "type": "Transitive", - "resolved": "1.0.1", - "contentHash": "rkn+fKobF/cbWfnnfBOQHKVKIOpxMZBvlSHkqDWgBpwGDcLRduvs3D9OLGeV6GWGvVwNlVi2CBbTjuPmtHvyNw==" - }, - "runtime.native.System": { - "type": "Transitive", - "resolved": "4.0.0", - "contentHash": "QfS/nQI7k/BLgmLrw7qm7YBoULEvgWnPI+cYsbfCVFTW8Aj+i8JhccxcFMu1RWms0YZzF+UHguNBK4Qn89e2Sg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.NETCore.Targets": "1.0.1" - } + "resolved": "5.0.0", + "contentHash": "cI/VWn9G1fghXrNDagX9nYaaB/nokkZn0HYAawGaELQrl8InSezfe9OnfPZLcJq3esXxygh3hkq2c3qoV3SDyQ==" }, - "System.AppContext": { + "Microsoft.NETFramework.ReferenceAssemblies.net461": { "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "3QjO4jNV7PdKkmQAVp9atA+usVnKRwI3Kx1nMwJ93T0LcQfx7pKAYk0nKz5wn1oP5iqlhZuy6RXOFdhr7rDwow==", - "dependencies": { - "System.Runtime": "4.1.0" - } + "resolved": "1.0.0-preview.2", + "contentHash": "59D9ISjzCpfHG41r5x4BNZNNOCmE2o5YX8vcdOwsqfxOA0+6vQnxZrYq8KtthUU2JSvC13g941rSr5GRaNQOJg==" }, "System.Buffers": { "type": "Transitive", - "resolved": "4.5.0", - "contentHash": "pL2ChpaRRWI/p4LXyy4RgeWlYF2sgfj/pnVMvBqwNFr5cXg7CXNnWZWxrOONLg8VGdFB8oB+EG2Qw4MLgTOe+A==" - }, - "System.Collections": { - "type": "Transitive", - "resolved": "4.0.11", - "contentHash": "YUJGz6eFKqS0V//mLt25vFGrrCvOnsXjlvFQs+KimpwNxug9x0Pzy4PlFMU3Q2IzqAa9G2L4LsK3+9vCBK7oTg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.NETCore.Targets": "1.0.1", - "System.Runtime": "4.1.0" - } + "resolved": "4.5.1", + "contentHash": "Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==" }, "System.Collections.Immutable": { "type": "Transitive", - "resolved": "1.5.0", - "contentHash": "EXKiDFsChZW0RjrZ4FYHu9aW6+P4MCgEDCklsVseRfhoO0F+dXeMSsMRAlVXIo06kGJ/zv+2w1a2uc2+kxxSaQ==" + "resolved": "5.0.0", + "contentHash": "FXkLXiK0sVVewcso0imKQoOxjoPAj42R8HtjjbSjVPAzwDfzoyoznWxgA3c38LDbN9SJux1xXoXYAhz98j7r2g==" }, "System.CommandLine": { "type": "Transitive", @@ -377,336 +241,33 @@ "System.CommandLine": "2.0.0-beta1.20371.2" } }, - "System.Diagnostics.Debug": { - "type": "Transitive", - "resolved": "4.0.11", - "contentHash": "w5U95fVKHY4G8ASs/K5iK3J5LY+/dLFd4vKejsnI/ZhBsWS9hQakfx3Zr7lRWKg4tAw9r4iktyvsTagWkqYCiw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.NETCore.Targets": "1.0.1", - "System.Runtime": "4.1.0" - } - }, - "System.Dynamic.Runtime": { - "type": "Transitive", - "resolved": "4.0.11", - "contentHash": "db34f6LHYM0U0JpE+sOmjar27BnqTVkbLJhgfwMpTdgTigG/Hna3m2MYVwnFzGGKnEJk2UXFuoVTr8WUbU91/A==", - "dependencies": { - "System.Collections": "4.0.11", - "System.Diagnostics.Debug": "4.0.11", - "System.Globalization": "4.0.11", - "System.Linq": "4.1.0", - "System.Linq.Expressions": "4.1.0", - "System.ObjectModel": "4.0.12", - "System.Reflection": "4.1.0", - "System.Reflection.Emit": "4.0.1", - "System.Reflection.Emit.ILGeneration": "4.0.1", - "System.Reflection.Primitives": "4.0.1", - "System.Reflection.TypeExtensions": "4.1.0", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Threading": "4.0.11" - } - }, - "System.Globalization": { - "type": "Transitive", - "resolved": "4.0.11", - "contentHash": "B95h0YLEL2oSnwF/XjqSWKnwKOy/01VWkNlsCeMTFJLLabflpGV26nK164eRs5GiaRSBGpOxQ3pKoSnnyZN5pg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.NETCore.Targets": "1.0.1", - "System.Runtime": "4.1.0" - } - }, - "System.IO": { - "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "3KlTJceQc3gnGIaHZ7UBZO26SHL1SHE4ddrmiwumFnId+CEHP+O8r386tZKaE6zlk5/mF8vifMBzHj9SaXN+mQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.NETCore.Targets": "1.0.1", - "System.Runtime": "4.1.0", - "System.Text.Encoding": "4.0.11", - "System.Threading.Tasks": "4.0.11" - } - }, - "System.IO.FileSystem": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "IBErlVq5jOggAD69bg1t0pJcHaDbJbWNUZTPI96fkYWzwYbN6D9wRHMULLDd9dHsl7C2YsxXL31LMfPI1SWt8w==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.NETCore.Targets": "1.0.1", - "System.IO": "4.1.0", - "System.IO.FileSystem.Primitives": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Handles": "4.0.1", - "System.Text.Encoding": "4.0.11", - "System.Threading.Tasks": "4.0.11" - } - }, - "System.IO.FileSystem.Primitives": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "kWkKD203JJKxJeE74p8aF8y4Qc9r9WQx4C0cHzHPrY3fv/L/IhWnyCHaFJ3H1QPOH6A93whlQ2vG5nHlBDvzWQ==", - "dependencies": { - "System.Runtime": "4.1.0" - } - }, - "System.Linq": { - "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "bQ0iYFOQI0nuTnt+NQADns6ucV4DUvMdwN6CbkB1yj8i7arTGiTN5eok1kQwdnnNWSDZfIUySQY+J3d5KjWn0g==", - "dependencies": { - "System.Collections": "4.0.11", - "System.Diagnostics.Debug": "4.0.11", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0" - } - }, - "System.Linq.Expressions": { - "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "I+y02iqkgmCAyfbqOmSDOgqdZQ5tTj80Akm5BPSS8EeB0VGWdy6X1KCoYe8Pk6pwDoAKZUOdLVxnTJcExiv5zw==", - "dependencies": { - "System.Collections": "4.0.11", - "System.Diagnostics.Debug": "4.0.11", - "System.Globalization": "4.0.11", - "System.IO": "4.1.0", - "System.Linq": "4.1.0", - "System.ObjectModel": "4.0.12", - "System.Reflection": "4.1.0", - "System.Reflection.Emit": "4.0.1", - "System.Reflection.Emit.ILGeneration": "4.0.1", - "System.Reflection.Emit.Lightweight": "4.0.1", - "System.Reflection.Extensions": "4.0.1", - "System.Reflection.Primitives": "4.0.1", - "System.Reflection.TypeExtensions": "4.1.0", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Threading": "4.0.11" - } - }, "System.Memory": { "type": "Transitive", "resolved": "4.5.4", "contentHash": "1MbJTHS1lZ4bS4FmsJjnuGJOu88ZzTT2rLvrhW7Ygic+pC0NWA+3hgAen0HRdsocuQXCkUTdFn9yHJJhsijDXw==" }, - "System.ObjectModel": { - "type": "Transitive", - "resolved": "4.0.12", - "contentHash": "tAgJM1xt3ytyMoW4qn4wIqgJYm7L7TShRZG4+Q4Qsi2PCcj96pXN7nRywS9KkB3p/xDUjc2HSwP9SROyPYDYKQ==", - "dependencies": { - "System.Collections": "4.0.11", - "System.Diagnostics.Debug": "4.0.11", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Threading": "4.0.11" - } - }, - "System.Reflection": { - "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "JCKANJ0TI7kzoQzuwB/OoJANy1Lg338B6+JVacPl4TpUwi3cReg3nMLplMq2uqYfHFQpKIlHAUVAJlImZz/4ng==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.NETCore.Targets": "1.0.1", - "System.IO": "4.1.0", - "System.Reflection.Primitives": "4.0.1", - "System.Runtime": "4.1.0" - } - }, - "System.Reflection.Emit": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "P2wqAj72fFjpP6wb9nSfDqNBMab+2ovzSDzUZK7MVIm54tBJEPr9jWfSjjoTpPwj1LeKcmX3vr0ttyjSSFM47g==", - "dependencies": { - "System.IO": "4.1.0", - "System.Reflection": "4.1.0", - "System.Reflection.Emit.ILGeneration": "4.0.1", - "System.Reflection.Primitives": "4.0.1", - "System.Runtime": "4.1.0" - } - }, - "System.Reflection.Emit.ILGeneration": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "Ov6dU8Bu15Bc7zuqttgHF12J5lwSWyTf1S+FJouUXVMSqImLZzYaQ+vRr1rQ0OZ0HqsrwWl4dsKHELckQkVpgA==", - "dependencies": { - "System.Reflection": "4.1.0", - "System.Reflection.Primitives": "4.0.1", - "System.Runtime": "4.1.0" - } - }, - "System.Reflection.Emit.Lightweight": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "sSzHHXueZ5Uh0OLpUQprhr+ZYJrLPA2Cmr4gn0wj9+FftNKXx8RIMKvO9qnjk2ebPYUjZ+F2ulGdPOsvj+MEjA==", - "dependencies": { - "System.Reflection": "4.1.0", - "System.Reflection.Emit.ILGeneration": "4.0.1", - "System.Reflection.Primitives": "4.0.1", - "System.Runtime": "4.1.0" - } - }, - "System.Reflection.Extensions": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "GYrtRsZcMuHF3sbmRHfMYpvxZoIN2bQGrYGerUiWLEkqdEUQZhH3TRSaC/oI4wO0II1RKBPlpIa1TOMxIcOOzQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.NETCore.Targets": "1.0.1", - "System.Reflection": "4.1.0", - "System.Runtime": "4.1.0" - } - }, "System.Reflection.Metadata": { "type": "Transitive", - "resolved": "1.6.0", - "contentHash": "COC1aiAJjCoA5GBF+QKL2uLqEBew4JsCkQmoHKbN3TlOZKa2fKLz5CpiRQKDz0RsAOEGsVKqOD5bomsXq/4STQ==" - }, - "System.Reflection.Primitives": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "4inTox4wTBaDhB7V3mPvp9XlCbeGYWVEM9/fXALd52vNEAVisc1BoVWQPuUuD0Ga//dNbA/WeMy9u9mzLxGTHQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.NETCore.Targets": "1.0.1", - "System.Runtime": "4.1.0" - } - }, - "System.Reflection.TypeExtensions": { - "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "tsQ/ptQ3H5FYfON8lL4MxRk/8kFyE0A+tGPXmVP967cT/gzLHYxIejIYSxp4JmIeFHVP78g/F2FE1mUUTbDtrg==", - "dependencies": { - "System.Reflection": "4.1.0", - "System.Runtime": "4.1.0" - } - }, - "System.Resources.ResourceManager": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "TxwVeUNoTgUOdQ09gfTjvW411MF+w9MBYL7AtNVc+HtBCFlutPLhUCdZjNkjbhj3bNQWMdHboF0KIWEOjJssbA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.NETCore.Targets": "1.0.1", - "System.Globalization": "4.0.11", - "System.Reflection": "4.1.0", - "System.Runtime": "4.1.0" - } - }, - "System.Runtime": { - "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "v6c/4Yaa9uWsq+JMhnOFewrYkgdNHNG2eMKuNqRn8P733rNXeRCGvV5FkkjBXn2dbVkPXOsO0xjsEeM1q2zC0g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.NETCore.Targets": "1.0.1" - } + "resolved": "5.0.0", + "contentHash": "5NecZgXktdGg34rh1OenY1rFNDCI8xSjFr+Z4OU4cU06AQHUdRnIIEeWENu3Wl4YowbzkymAIMvi3WyK9U53pQ==" }, "System.Runtime.CompilerServices.Unsafe": { "type": "Transitive", - "resolved": "4.5.2", - "contentHash": "wprSFgext8cwqymChhrBLu62LMg/1u92bU+VOwyfBimSPVFXtsNqEWC92Pf9ofzJFlk4IHmJA75EDJn1b2goAQ==" - }, - "System.Runtime.Extensions": { - "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "CUOHjTT/vgP0qGW22U4/hDlOqXmcPq5YicBaXdUR2UiUoLwBT+olO6we4DVbq57jeX5uXH2uerVZhf0qGj+sVQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.NETCore.Targets": "1.0.1", - "System.Runtime": "4.1.0" - } - }, - "System.Runtime.Handles": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "nCJvEKguXEvk2ymk1gqj625vVnlK3/xdGzx0vOKicQkoquaTBJTP13AIYkocSUwHCLNBwUbXTqTWGDxBTWpt7g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.NETCore.Targets": "1.0.1", - "System.Runtime": "4.1.0" - } - }, - "System.Runtime.InteropServices": { - "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "16eu3kjHS633yYdkjwShDHZLRNMKVi/s0bY8ODiqJ2RfMhDMAwxZaUaWVnZ2P71kr/or+X9o/xFWtNqz8ivieQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.NETCore.Targets": "1.0.1", - "System.Reflection": "4.1.0", - "System.Reflection.Primitives": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Handles": "4.0.1" - } - }, - "System.Runtime.InteropServices.RuntimeInformation": { - "type": "Transitive", - "resolved": "4.0.0", - "contentHash": "hWPhJxc453RCa8Z29O91EmfGeZIHX1ZH2A8L6lYQVSaKzku2DfArSfMEb1/MYYzPQRJZeu0c9dmYeJKxW5Fgng==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "System.Reflection": "4.1.0", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.InteropServices": "4.1.0", - "System.Threading": "4.0.11", - "runtime.native.System": "4.0.0" - } - }, - "System.Text.Encoding": { - "type": "Transitive", - "resolved": "4.0.11", - "contentHash": "U3gGeMlDZXxCEiY4DwVLSacg+DFWCvoiX+JThA/rvw37Sqrku7sEFeVBBBMBnfB6FeZHsyDx85HlKL19x0HtZA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.NETCore.Targets": "1.0.1", - "System.Runtime": "4.1.0" - } + "resolved": "6.0.0", + "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" }, "System.Text.Encoding.CodePages": { "type": "Transitive", - "resolved": "4.5.1", - "contentHash": "4J2JQXbftjPMppIHJ7IC+VXQ9XfEagN92vZZNoG12i+zReYlim5dMoXFC1Zzg7tsnKDM7JPo5bYfFK4Jheq44w==", - "dependencies": { - "Microsoft.NETCore.Platforms": "2.1.2", - "System.Runtime.CompilerServices.Unsafe": "4.5.2" - } - }, - "System.Text.Encodings.Web": { - "type": "Transitive", - "resolved": "4.5.0", - "contentHash": "Xg4G4Indi4dqP1iuAiMSwpiWS54ZghzR644OtsRCm/m/lBMG8dUBhLVN7hLm8NNrNTR+iGbshCPTwrvxZPlm4g==" - }, - "System.Threading": { - "type": "Transitive", - "resolved": "4.0.11", - "contentHash": "N+3xqIcg3VDKyjwwCGaZ9HawG9aC6cSDI+s7ROma310GQo8vilFZa86hqKppwTHleR/G0sfOzhvgnUxWCR/DrQ==", - "dependencies": { - "System.Runtime": "4.1.0", - "System.Threading.Tasks": "4.0.11" - } - }, - "System.Threading.Tasks": { - "type": "Transitive", - "resolved": "4.0.11", - "contentHash": "k1S4Gc6IGwtHGT8188RSeGaX86Qw/wnrgNLshJvsdNUOPP9etMmo8S07c+UlOAx4K/xLuN9ivA1bD0LVurtIxQ==", + "resolved": "6.0.0", + "contentHash": "ZFCILZuOvtKPauZ/j/swhvw68ZRi9ATCfvGbk1QfydmcXBkIWecWKn/250UH7rahZ5OoDBaiAudJtPvLwzw85A==", "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.NETCore.Targets": "1.0.1", - "System.Runtime": "4.1.0" + "System.Runtime.CompilerServices.Unsafe": "6.0.0" } }, "System.Threading.Tasks.Extensions": { "type": "Transitive", - "resolved": "4.5.2", - "contentHash": "BG/TNxDFv0svAzx8OiMXDlsHfGw623BZ8tCXw4YLhDFDvDhNUEV58jKYMGRnkbJNm7c3JNNJDiN7JBMzxRBR2w==" + "resolved": "4.5.4", + "contentHash": "zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==" }, "Wcwidth": { "type": "Transitive", diff --git a/src/OpenSearch.Client.JsonNetSerializer/ConnectionSettingsAwareContractResolver.cs b/src/OpenSearch.Client.JsonNetSerializer/ConnectionSettingsAwareContractResolver.cs index cb4ce2be90..f64c9e05fa 100644 --- a/src/OpenSearch.Client.JsonNetSerializer/ConnectionSettingsAwareContractResolver.cs +++ b/src/OpenSearch.Client.JsonNetSerializer/ConnectionSettingsAwareContractResolver.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client.JsonNetSerializer/ConnectionSettingsAwareSerializerBase.Customization.cs b/src/OpenSearch.Client.JsonNetSerializer/ConnectionSettingsAwareSerializerBase.Customization.cs index b708aedb0f..2a43b883d7 100644 --- a/src/OpenSearch.Client.JsonNetSerializer/ConnectionSettingsAwareSerializerBase.Customization.cs +++ b/src/OpenSearch.Client.JsonNetSerializer/ConnectionSettingsAwareSerializerBase.Customization.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client.JsonNetSerializer/ConnectionSettingsAwareSerializerBase.PropertyMappingProvider.cs b/src/OpenSearch.Client.JsonNetSerializer/ConnectionSettingsAwareSerializerBase.PropertyMappingProvider.cs index e677929193..5ee927e276 100644 --- a/src/OpenSearch.Client.JsonNetSerializer/ConnectionSettingsAwareSerializerBase.PropertyMappingProvider.cs +++ b/src/OpenSearch.Client.JsonNetSerializer/ConnectionSettingsAwareSerializerBase.PropertyMappingProvider.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client.JsonNetSerializer/ConnectionSettingsAwareSerializerBase.Serializer.cs b/src/OpenSearch.Client.JsonNetSerializer/ConnectionSettingsAwareSerializerBase.Serializer.cs index 7ab2702fbe..c4c5f028fd 100644 --- a/src/OpenSearch.Client.JsonNetSerializer/ConnectionSettingsAwareSerializerBase.Serializer.cs +++ b/src/OpenSearch.Client.JsonNetSerializer/ConnectionSettingsAwareSerializerBase.Serializer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client.JsonNetSerializer/Converters/HandleOscTypesOnSourceJsonConverter.cs b/src/OpenSearch.Client.JsonNetSerializer/Converters/HandleOscTypesOnSourceJsonConverter.cs index 1cedd2d24d..b9b28d2bfb 100644 --- a/src/OpenSearch.Client.JsonNetSerializer/Converters/HandleOscTypesOnSourceJsonConverter.cs +++ b/src/OpenSearch.Client.JsonNetSerializer/Converters/HandleOscTypesOnSourceJsonConverter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client.JsonNetSerializer/Converters/TimeSpanToStringConverter.cs b/src/OpenSearch.Client.JsonNetSerializer/Converters/TimeSpanToStringConverter.cs index 5231f56d0b..4e22ade297 100644 --- a/src/OpenSearch.Client.JsonNetSerializer/Converters/TimeSpanToStringConverter.cs +++ b/src/OpenSearch.Client.JsonNetSerializer/Converters/TimeSpanToStringConverter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client.JsonNetSerializer/JTokenExtensions.cs b/src/OpenSearch.Client.JsonNetSerializer/JTokenExtensions.cs index a70782b337..8d6d23724f 100644 --- a/src/OpenSearch.Client.JsonNetSerializer/JTokenExtensions.cs +++ b/src/OpenSearch.Client.JsonNetSerializer/JTokenExtensions.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client.JsonNetSerializer/JsonNetSerializer.cs b/src/OpenSearch.Client.JsonNetSerializer/JsonNetSerializer.cs index 61c0fb4da9..7c5c32d72a 100644 --- a/src/OpenSearch.Client.JsonNetSerializer/JsonNetSerializer.cs +++ b/src/OpenSearch.Client.JsonNetSerializer/JsonNetSerializer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client.JsonNetSerializer/JsonReaderExtensions.cs b/src/OpenSearch.Client.JsonNetSerializer/JsonReaderExtensions.cs index fe190901ce..6511d4ac0a 100644 --- a/src/OpenSearch.Client.JsonNetSerializer/JsonReaderExtensions.cs +++ b/src/OpenSearch.Client.JsonNetSerializer/JsonReaderExtensions.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client.JsonNetSerializer/README.md b/src/OpenSearch.Client.JsonNetSerializer/README.md new file mode 100644 index 0000000000..7d4dbef40f --- /dev/null +++ b/src/OpenSearch.Client.JsonNetSerializer/README.md @@ -0,0 +1 @@ +An auxiliary library used by `OpenSearch.Client` to serialize and deserialize data. diff --git a/src/OpenSearch.Client.JsonNetSerializer/packages.lock.json b/src/OpenSearch.Client.JsonNetSerializer/packages.lock.json index c7c2b24dcd..4fb7bdf65a 100644 --- a/src/OpenSearch.Client.JsonNetSerializer/packages.lock.json +++ b/src/OpenSearch.Client.JsonNetSerializer/packages.lock.json @@ -87,18 +87,18 @@ "resolved": "5.0.0", "contentHash": "ZD9TMpsmYJLrxbbmdvhwt9YEgG5WntEnZ/d1eH8JBX9LBp+Ju8BSBhUGbZMNVHHomWo2KVImJhTDl2hIgw/6MA==" }, - "opensearch.net": { + "opensearch.client": { "type": "Project", "dependencies": { - "Microsoft.CSharp": "4.6.0", - "System.Buffers": "4.5.1", - "System.Diagnostics.DiagnosticSource": "5.0.0" + "OpenSearch.Net": "1.0.0" } }, - "OpenSearch.Client": { + "opensearch.net": { "type": "Project", "dependencies": { - "OpenSearch.Net": "1.0.0" + "Microsoft.CSharp": "4.6.0", + "System.Buffers": "4.5.1", + "System.Diagnostics.DiagnosticSource": "5.0.0" } } }, @@ -113,7 +113,10 @@ "type": "Direct", "requested": "[1.0.0-preview.2, )", "resolved": "1.0.0-preview.2", - "contentHash": "m+pJPEO7HyXvrOna5Sr3s77ewXonjYWJTNL6drh8xACnMNxnlqUDKx9HfGeSE9wmfY0lQwppaeZpFTPGaH7kZg==" + "contentHash": "m+pJPEO7HyXvrOna5Sr3s77ewXonjYWJTNL6drh8xACnMNxnlqUDKx9HfGeSE9wmfY0lQwppaeZpFTPGaH7kZg==", + "dependencies": { + "Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.0-preview.2" + } }, "Microsoft.SourceLink.GitHub": { "type": "Direct", @@ -160,6 +163,11 @@ "resolved": "1.1.0", "contentHash": "aOZA3BWfz9RXjpzt0sRJJMjAscAUm3Hoa4UWAfceV9UTYxgwZ1lZt5nO2myFf+/jetYQo4uTP7zS8sJY67BBxg==" }, + "Microsoft.NETFramework.ReferenceAssemblies.net461": { + "type": "Transitive", + "resolved": "1.0.0-preview.2", + "contentHash": "59D9ISjzCpfHG41r5x4BNZNNOCmE2o5YX8vcdOwsqfxOA0+6vQnxZrYq8KtthUU2JSvC13g941rSr5GRaNQOJg==" + }, "Microsoft.SourceLink.Common": { "type": "Transitive", "resolved": "1.0.0", @@ -295,6 +303,12 @@ "System.Runtime": "4.3.0" } }, + "opensearch.client": { + "type": "Project", + "dependencies": { + "OpenSearch.Net": "1.0.0" + } + }, "opensearch.net": { "type": "Project", "dependencies": { @@ -304,12 +318,6 @@ "System.Reflection.Emit": "4.3.0", "System.Reflection.Emit.Lightweight": "4.3.0" } - }, - "OpenSearch.Client": { - "type": "Project", - "dependencies": { - "OpenSearch.Net": "1.0.0" - } } } } diff --git a/src/OpenSearch.Client/Aggregations/Aggregate.cs b/src/OpenSearch.Client/Aggregations/Aggregate.cs index 8c4d05fb46..33f966e3e4 100644 --- a/src/OpenSearch.Client/Aggregations/Aggregate.cs +++ b/src/OpenSearch.Client/Aggregations/Aggregate.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/AggregateDictionary.cs b/src/OpenSearch.Client/Aggregations/AggregateDictionary.cs index cc0ed13b5e..cae119f044 100644 --- a/src/OpenSearch.Client/Aggregations/AggregateDictionary.cs +++ b/src/OpenSearch.Client/Aggregations/AggregateDictionary.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/AggregateDictionaryFormatter.cs b/src/OpenSearch.Client/Aggregations/AggregateDictionaryFormatter.cs index f78d955f1e..9725054eed 100644 --- a/src/OpenSearch.Client/Aggregations/AggregateDictionaryFormatter.cs +++ b/src/OpenSearch.Client/Aggregations/AggregateDictionaryFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/AggregateFormatter.cs b/src/OpenSearch.Client/Aggregations/AggregateFormatter.cs index 3447fff123..9216b29a56 100644 --- a/src/OpenSearch.Client/Aggregations/AggregateFormatter.cs +++ b/src/OpenSearch.Client/Aggregations/AggregateFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Aggregation.cs b/src/OpenSearch.Client/Aggregations/Aggregation.cs index 539f4d360e..b353e181e8 100644 --- a/src/OpenSearch.Client/Aggregations/Aggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Aggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/AggregationContainer.cs b/src/OpenSearch.Client/Aggregations/AggregationContainer.cs index b6e46972e7..4adfc6a6ed 100644 --- a/src/OpenSearch.Client/Aggregations/AggregationContainer.cs +++ b/src/OpenSearch.Client/Aggregations/AggregationContainer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/AdjacencyMatrix/AdjacencyMatrixAggregation.cs b/src/OpenSearch.Client/Aggregations/Bucket/AdjacencyMatrix/AdjacencyMatrixAggregation.cs index bf17e363fc..3e85fa12ff 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/AdjacencyMatrix/AdjacencyMatrixAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/AdjacencyMatrix/AdjacencyMatrixAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/AutoDateHistogram/AutoDateHistogramAggregation.cs b/src/OpenSearch.Client/Aggregations/Bucket/AutoDateHistogram/AutoDateHistogramAggregation.cs index 5bd657c7a6..89edb3e3d1 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/AutoDateHistogram/AutoDateHistogramAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/AutoDateHistogram/AutoDateHistogramAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/AutoDateHistogram/AutoDateHistogramBucket.cs b/src/OpenSearch.Client/Aggregations/Bucket/AutoDateHistogram/AutoDateHistogramBucket.cs index 0d1e23b827..e2f29db6c2 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/AutoDateHistogram/AutoDateHistogramBucket.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/AutoDateHistogram/AutoDateHistogramBucket.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/AutoDateHistogram/MinimumInterval.cs b/src/OpenSearch.Client/Aggregations/Bucket/AutoDateHistogram/MinimumInterval.cs index 11df603416..75368a66a5 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/AutoDateHistogram/MinimumInterval.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/AutoDateHistogram/MinimumInterval.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Bucket.cs b/src/OpenSearch.Client/Aggregations/Bucket/Bucket.cs index a8dc104aa4..f231ff97bc 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Bucket.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Bucket.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/BucketAggregate.cs b/src/OpenSearch.Client/Aggregations/Bucket/BucketAggregate.cs index 2fdf4b4bcb..d2ae42f42f 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/BucketAggregate.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/BucketAggregate.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/BucketAggregation.cs b/src/OpenSearch.Client/Aggregations/Bucket/BucketAggregation.cs index 995d49cbcf..05fc851e55 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/BucketAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/BucketAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Children/ChildrenAggregation.cs b/src/OpenSearch.Client/Aggregations/Bucket/Children/ChildrenAggregation.cs index e007cfd92d..03eced372b 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Children/ChildrenAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Children/ChildrenAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Composite/CompositeAggregation.cs b/src/OpenSearch.Client/Aggregations/Bucket/Composite/CompositeAggregation.cs index f7a76badcd..9133cc8f08 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Composite/CompositeAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Composite/CompositeAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Composite/CompositeAggregationSource.cs b/src/OpenSearch.Client/Aggregations/Bucket/Composite/CompositeAggregationSource.cs index 984d6122e7..fbc79be0f8 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Composite/CompositeAggregationSource.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Composite/CompositeAggregationSource.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Composite/CompositeBucket.cs b/src/OpenSearch.Client/Aggregations/Bucket/Composite/CompositeBucket.cs index 83dfcae3d1..26a482b0b4 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Composite/CompositeBucket.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Composite/CompositeBucket.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Composite/DateHistogramCompositeAggregationSource.cs b/src/OpenSearch.Client/Aggregations/Bucket/Composite/DateHistogramCompositeAggregationSource.cs index 0dbc137ec6..a5727af5d5 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Composite/DateHistogramCompositeAggregationSource.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Composite/DateHistogramCompositeAggregationSource.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Composite/GeoTileGridCompositeAggregationSource.cs b/src/OpenSearch.Client/Aggregations/Bucket/Composite/GeoTileGridCompositeAggregationSource.cs index 6492890002..5883c22606 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Composite/GeoTileGridCompositeAggregationSource.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Composite/GeoTileGridCompositeAggregationSource.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Composite/HistogramCompositeAggregationSource.cs b/src/OpenSearch.Client/Aggregations/Bucket/Composite/HistogramCompositeAggregationSource.cs index 00053bbe5b..b6986b10a5 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Composite/HistogramCompositeAggregationSource.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Composite/HistogramCompositeAggregationSource.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Composite/TermsCompositeAggregationSource.cs b/src/OpenSearch.Client/Aggregations/Bucket/Composite/TermsCompositeAggregationSource.cs index 94a1ebcd58..4e71ce1d41 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Composite/TermsCompositeAggregationSource.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Composite/TermsCompositeAggregationSource.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/DateHistogram/DateHistogramAggregation.cs b/src/OpenSearch.Client/Aggregations/Bucket/DateHistogram/DateHistogramAggregation.cs index db706a5492..6cd2f953e7 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/DateHistogram/DateHistogramAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/DateHistogram/DateHistogramAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/DateHistogram/DateHistogramBucket.cs b/src/OpenSearch.Client/Aggregations/Bucket/DateHistogram/DateHistogramBucket.cs index bada4996fc..97998a3ec9 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/DateHistogram/DateHistogramBucket.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/DateHistogram/DateHistogramBucket.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/DateHistogram/DateInterval.cs b/src/OpenSearch.Client/Aggregations/Bucket/DateHistogram/DateInterval.cs index 78136c47d4..158b78259c 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/DateHistogram/DateInterval.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/DateHistogram/DateInterval.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/DateRange/DateRangeAggregation.cs b/src/OpenSearch.Client/Aggregations/Bucket/DateRange/DateRangeAggregation.cs index 93e3c64b3a..d5c8c58983 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/DateRange/DateRangeAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/DateRange/DateRangeAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/DateRange/DateRangeExpression.cs b/src/OpenSearch.Client/Aggregations/Bucket/DateRange/DateRangeExpression.cs index db5421cd2d..83bfe65511 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/DateRange/DateRangeExpression.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/DateRange/DateRangeExpression.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/DiversifiedSampler/DiversifiedSamplerAggregation.cs b/src/OpenSearch.Client/Aggregations/Bucket/DiversifiedSampler/DiversifiedSamplerAggregation.cs index c67290971c..fce844bc6b 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/DiversifiedSampler/DiversifiedSamplerAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/DiversifiedSampler/DiversifiedSamplerAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/DiversifiedSampler/DiversifiedSamplerAggregationExecutionHint.cs b/src/OpenSearch.Client/Aggregations/Bucket/DiversifiedSampler/DiversifiedSamplerAggregationExecutionHint.cs index 46e5f4a948..cf0dbea54d 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/DiversifiedSampler/DiversifiedSamplerAggregationExecutionHint.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/DiversifiedSampler/DiversifiedSamplerAggregationExecutionHint.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Filter/FilterAggregation.cs b/src/OpenSearch.Client/Aggregations/Bucket/Filter/FilterAggregation.cs index 7392660ed6..1404c6f7de 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Filter/FilterAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Filter/FilterAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Filter/FilterAggregationJsonConverter.cs b/src/OpenSearch.Client/Aggregations/Bucket/Filter/FilterAggregationJsonConverter.cs index 4dca23d9cd..6876c911ae 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Filter/FilterAggregationJsonConverter.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Filter/FilterAggregationJsonConverter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Filters/FiltersAggregate.cs b/src/OpenSearch.Client/Aggregations/Bucket/Filters/FiltersAggregate.cs index 57c5245f61..c28964b180 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Filters/FiltersAggregate.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Filters/FiltersAggregate.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Filters/FiltersAggregation.cs b/src/OpenSearch.Client/Aggregations/Bucket/Filters/FiltersAggregation.cs index 1f03c333c2..37ce3af3b6 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Filters/FiltersAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Filters/FiltersAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Filters/NamedFiltersContainer.cs b/src/OpenSearch.Client/Aggregations/Bucket/Filters/NamedFiltersContainer.cs index ea031916d7..2fda45bcbf 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Filters/NamedFiltersContainer.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Filters/NamedFiltersContainer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/GeoDistance/GeoDistanceAggregation.cs b/src/OpenSearch.Client/Aggregations/Bucket/GeoDistance/GeoDistanceAggregation.cs index 3a804791dc..489e96b292 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/GeoDistance/GeoDistanceAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/GeoDistance/GeoDistanceAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/GeoHashGrid/GeoHashGridAggregation.cs b/src/OpenSearch.Client/Aggregations/Bucket/GeoHashGrid/GeoHashGridAggregation.cs index b0097a8444..2854a88cd0 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/GeoHashGrid/GeoHashGridAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/GeoHashGrid/GeoHashGridAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/GeoHashGrid/GeoHashPrecision.cs b/src/OpenSearch.Client/Aggregations/Bucket/GeoHashGrid/GeoHashPrecision.cs index 829b4478fc..68314e04f7 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/GeoHashGrid/GeoHashPrecision.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/GeoHashGrid/GeoHashPrecision.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/GeoTileGrid/GeoTileGridAggregation.cs b/src/OpenSearch.Client/Aggregations/Bucket/GeoTileGrid/GeoTileGridAggregation.cs index 833230c3aa..808f52341f 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/GeoTileGrid/GeoTileGridAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/GeoTileGrid/GeoTileGridAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/GeoTileGrid/GeoTilePrecision.cs b/src/OpenSearch.Client/Aggregations/Bucket/GeoTileGrid/GeoTilePrecision.cs index c37b2a49ab..945cf94b92 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/GeoTileGrid/GeoTilePrecision.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/GeoTileGrid/GeoTilePrecision.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Global/GlobalAggregation.cs b/src/OpenSearch.Client/Aggregations/Bucket/Global/GlobalAggregation.cs index d04ed01b2e..b048575610 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Global/GlobalAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Global/GlobalAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Histogram/ExtendedBounds.cs b/src/OpenSearch.Client/Aggregations/Bucket/Histogram/ExtendedBounds.cs index 8d95d63c51..ecb1d02ff6 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Histogram/ExtendedBounds.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Histogram/ExtendedBounds.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Histogram/HardBounds.cs b/src/OpenSearch.Client/Aggregations/Bucket/Histogram/HardBounds.cs index c1a900c610..f5d13c4a3b 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Histogram/HardBounds.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Histogram/HardBounds.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Histogram/HistogramAggregation.cs b/src/OpenSearch.Client/Aggregations/Bucket/Histogram/HistogramAggregation.cs index 2248074121..7998115355 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Histogram/HistogramAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Histogram/HistogramAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Histogram/HistogramOrder.cs b/src/OpenSearch.Client/Aggregations/Bucket/Histogram/HistogramOrder.cs index 766eddab72..c69cb48c2f 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Histogram/HistogramOrder.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Histogram/HistogramOrder.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/IpRange/IpRangeAggregation.cs b/src/OpenSearch.Client/Aggregations/Bucket/IpRange/IpRangeAggregation.cs index 392e0383e0..b7ab3a7f20 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/IpRange/IpRangeAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/IpRange/IpRangeAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/IpRange/IpRangeAggregationRange.cs b/src/OpenSearch.Client/Aggregations/Bucket/IpRange/IpRangeAggregationRange.cs index 1d2468b7ff..978e11c59d 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/IpRange/IpRangeAggregationRange.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/IpRange/IpRangeAggregationRange.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/IpRange/IpRangeBucket.cs b/src/OpenSearch.Client/Aggregations/Bucket/IpRange/IpRangeBucket.cs index ba77ebbd73..2d80becad1 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/IpRange/IpRangeBucket.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/IpRange/IpRangeBucket.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/KeyedBucket.cs b/src/OpenSearch.Client/Aggregations/Bucket/KeyedBucket.cs index 529cc9a153..4becf07917 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/KeyedBucket.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/KeyedBucket.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Missing/MissingAggregation.cs b/src/OpenSearch.Client/Aggregations/Bucket/Missing/MissingAggregation.cs index 7f4b216007..c13d2e9b37 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Missing/MissingAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Missing/MissingAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/MultiTerms/MultiTermsAggregate.cs b/src/OpenSearch.Client/Aggregations/Bucket/MultiTerms/MultiTermsAggregate.cs index 6e50468cfe..6086e1873c 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/MultiTerms/MultiTermsAggregate.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/MultiTerms/MultiTermsAggregate.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/MultiTerms/MultiTermsAggregation.cs b/src/OpenSearch.Client/Aggregations/Bucket/MultiTerms/MultiTermsAggregation.cs index edcdf233e8..d6a5e9c710 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/MultiTerms/MultiTermsAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/MultiTerms/MultiTermsAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/MultiTerms/MultiTermsBucket.cs b/src/OpenSearch.Client/Aggregations/Bucket/MultiTerms/MultiTermsBucket.cs index 6da83cc309..529681ebf6 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/MultiTerms/MultiTermsBucket.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/MultiTerms/MultiTermsBucket.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/MultiTerms/Term.cs b/src/OpenSearch.Client/Aggregations/Bucket/MultiTerms/Term.cs index 682afb61a7..dce310e391 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/MultiTerms/Term.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/MultiTerms/Term.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Nested/NestedAggregation.cs b/src/OpenSearch.Client/Aggregations/Bucket/Nested/NestedAggregation.cs index ee256fb38c..8d58153783 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Nested/NestedAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Nested/NestedAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Parent/ParentAggregation.cs b/src/OpenSearch.Client/Aggregations/Bucket/Parent/ParentAggregation.cs index f5a873b052..a29f3b5f1f 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Parent/ParentAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Parent/ParentAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Range/RangeAggregation.cs b/src/OpenSearch.Client/Aggregations/Bucket/Range/RangeAggregation.cs index 9e5bf82519..a57f1678e1 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Range/RangeAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Range/RangeAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Range/RangeBucket.cs b/src/OpenSearch.Client/Aggregations/Bucket/Range/RangeBucket.cs index afa4802d66..018d444435 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Range/RangeBucket.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Range/RangeBucket.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/RareTerms/RareTermsAggregation.cs b/src/OpenSearch.Client/Aggregations/Bucket/RareTerms/RareTermsAggregation.cs index 612177a824..f97d3ca4c2 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/RareTerms/RareTermsAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/RareTerms/RareTermsAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/RareTerms/RareTermsBucket.cs b/src/OpenSearch.Client/Aggregations/Bucket/RareTerms/RareTermsBucket.cs index 5d02d4b729..d758382d9a 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/RareTerms/RareTermsBucket.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/RareTerms/RareTermsBucket.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/ReverseNested/ReverseNestedAggregation.cs b/src/OpenSearch.Client/Aggregations/Bucket/ReverseNested/ReverseNestedAggregation.cs index 220bc794dc..97069abd86 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/ReverseNested/ReverseNestedAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/ReverseNested/ReverseNestedAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Sampler/SamplerAggregation.cs b/src/OpenSearch.Client/Aggregations/Bucket/Sampler/SamplerAggregation.cs index 5a7cae3798..5f551b1505 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Sampler/SamplerAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Sampler/SamplerAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Sampler/SamplerAggregationExecutionHint.cs b/src/OpenSearch.Client/Aggregations/Bucket/Sampler/SamplerAggregationExecutionHint.cs index 6e5e9b3f2f..2d865ae992 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Sampler/SamplerAggregationExecutionHint.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Sampler/SamplerAggregationExecutionHint.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/Heuristics/ChiSquareHeuristic.cs b/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/Heuristics/ChiSquareHeuristic.cs index 7db99b4f84..d3ce100b26 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/Heuristics/ChiSquareHeuristic.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/Heuristics/ChiSquareHeuristic.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/Heuristics/GoogleNormalizedDistanceHeuristic.cs b/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/Heuristics/GoogleNormalizedDistanceHeuristic.cs index 7b9afb7260..d1b9a4c818 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/Heuristics/GoogleNormalizedDistanceHeuristic.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/Heuristics/GoogleNormalizedDistanceHeuristic.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/Heuristics/MutualInformationHeuristic.cs b/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/Heuristics/MutualInformationHeuristic.cs index f0a2347250..66c8ef11ac 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/Heuristics/MutualInformationHeuristic.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/Heuristics/MutualInformationHeuristic.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/Heuristics/PercentageScoreHeuristic.cs b/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/Heuristics/PercentageScoreHeuristic.cs index f71ebac2db..8d98a16cef 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/Heuristics/PercentageScoreHeuristic.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/Heuristics/PercentageScoreHeuristic.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/Heuristics/ScriptedHeuristic.cs b/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/Heuristics/ScriptedHeuristic.cs index 0c5449218d..e5b95526a1 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/Heuristics/ScriptedHeuristic.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/Heuristics/ScriptedHeuristic.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/IncludeExclude.cs b/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/IncludeExclude.cs index f7995f1f12..b14de4a331 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/IncludeExclude.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/IncludeExclude.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/SignificantTermsAggregate.cs b/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/SignificantTermsAggregate.cs index ebf77b01af..0892325f87 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/SignificantTermsAggregate.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/SignificantTermsAggregate.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/SignificantTermsAggregation.cs b/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/SignificantTermsAggregation.cs index 9753629766..45d88f0d48 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/SignificantTermsAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/SignificantTermsAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/SignificantTermsBucket.cs b/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/SignificantTermsBucket.cs index 15ca99370a..b8d2693594 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/SignificantTermsBucket.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/SignificantTerms/SignificantTermsBucket.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/SignificantText/SignificantTextAggregation.cs b/src/OpenSearch.Client/Aggregations/Bucket/SignificantText/SignificantTextAggregation.cs index 3fdb917796..9ea9c81bb0 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/SignificantText/SignificantTextAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/SignificantText/SignificantTextAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsAggregate.cs b/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsAggregate.cs index 15da617160..bd59ed2cff 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsAggregate.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsAggregate.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsAggregation.cs b/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsAggregation.cs index 659900d33a..025098eef9 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsAggregationCollectMode.cs b/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsAggregationCollectMode.cs index 49d100d70a..f9df14de30 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsAggregationCollectMode.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsAggregationCollectMode.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsAggregationExecutionHint.cs b/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsAggregationExecutionHint.cs index 7d8a782147..82db359534 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsAggregationExecutionHint.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsAggregationExecutionHint.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsExclude.cs b/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsExclude.cs index d83afe7204..6b04dbd97e 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsExclude.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsExclude.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsExcludeFormatter.cs b/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsExcludeFormatter.cs index 30a5a5999f..daaaec281a 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsExcludeFormatter.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsExcludeFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsInclude.cs b/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsInclude.cs index 1612215eaa..c1f3ad6e8d 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsInclude.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsInclude.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsIncludeFormatter.cs b/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsIncludeFormatter.cs index 1d6406146e..a8c5eed356 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsIncludeFormatter.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsIncludeFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsOrder.cs b/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsOrder.cs index 693ecbf9f6..0bd58964f1 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsOrder.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsOrder.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsOrderDescriptor.cs b/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsOrderDescriptor.cs index de5378cab4..782655b482 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsOrderDescriptor.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/Terms/TermsOrderDescriptor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/VariableWidthHistogram/VariableWidthHistogramAggregation.cs b/src/OpenSearch.Client/Aggregations/Bucket/VariableWidthHistogram/VariableWidthHistogramAggregation.cs index 817f4d33ee..0e21c290d6 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/VariableWidthHistogram/VariableWidthHistogramAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/VariableWidthHistogram/VariableWidthHistogramAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Bucket/VariableWidthHistogram/VariableWidthHistogramBucket.cs b/src/OpenSearch.Client/Aggregations/Bucket/VariableWidthHistogram/VariableWidthHistogramBucket.cs index 6d7e99d080..f0981df33a 100644 --- a/src/OpenSearch.Client/Aggregations/Bucket/VariableWidthHistogram/VariableWidthHistogramBucket.cs +++ b/src/OpenSearch.Client/Aggregations/Bucket/VariableWidthHistogram/VariableWidthHistogramBucket.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Matrix/MatrixAggregate.cs b/src/OpenSearch.Client/Aggregations/Matrix/MatrixAggregate.cs index e727d6eebe..a2b7f24763 100644 --- a/src/OpenSearch.Client/Aggregations/Matrix/MatrixAggregate.cs +++ b/src/OpenSearch.Client/Aggregations/Matrix/MatrixAggregate.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Matrix/MatrixAggregation.cs b/src/OpenSearch.Client/Aggregations/Matrix/MatrixAggregation.cs index d58c95abbf..a64f1d194e 100644 --- a/src/OpenSearch.Client/Aggregations/Matrix/MatrixAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Matrix/MatrixAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Matrix/MatrixStats/MatrixStatsAggregate.cs b/src/OpenSearch.Client/Aggregations/Matrix/MatrixStats/MatrixStatsAggregate.cs index a180ca589b..20d087b933 100644 --- a/src/OpenSearch.Client/Aggregations/Matrix/MatrixStats/MatrixStatsAggregate.cs +++ b/src/OpenSearch.Client/Aggregations/Matrix/MatrixStats/MatrixStatsAggregate.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Matrix/MatrixStats/MatrixStatsAggregation.cs b/src/OpenSearch.Client/Aggregations/Matrix/MatrixStats/MatrixStatsAggregation.cs index 5d3fab36a9..5a364a9aac 100644 --- a/src/OpenSearch.Client/Aggregations/Matrix/MatrixStats/MatrixStatsAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Matrix/MatrixStats/MatrixStatsAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Matrix/MatrixStats/MatrixStatsMode.cs b/src/OpenSearch.Client/Aggregations/Matrix/MatrixStats/MatrixStatsMode.cs index 2b18a1e357..18bf315b44 100644 --- a/src/OpenSearch.Client/Aggregations/Matrix/MatrixStats/MatrixStatsMode.cs +++ b/src/OpenSearch.Client/Aggregations/Matrix/MatrixStats/MatrixStatsMode.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/Average/AverageAggregation.cs b/src/OpenSearch.Client/Aggregations/Metric/Average/AverageAggregation.cs index 086ad07963..a12d35fd15 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/Average/AverageAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/Average/AverageAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/Cardinality/CardinalityAggregation.cs b/src/OpenSearch.Client/Aggregations/Metric/Cardinality/CardinalityAggregation.cs index e9c73f379b..a03b590453 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/Cardinality/CardinalityAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/Cardinality/CardinalityAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/ExtendedStats/ExtendedStatsAggregate.cs b/src/OpenSearch.Client/Aggregations/Metric/ExtendedStats/ExtendedStatsAggregate.cs index 912f3d0898..1490ff6f86 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/ExtendedStats/ExtendedStatsAggregate.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/ExtendedStats/ExtendedStatsAggregate.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/ExtendedStats/ExtendedStatsAggregation.cs b/src/OpenSearch.Client/Aggregations/Metric/ExtendedStats/ExtendedStatsAggregation.cs index c620be40dd..7bd51d876e 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/ExtendedStats/ExtendedStatsAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/ExtendedStats/ExtendedStatsAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/GeoBounds/GeoBoundsAggregate.cs b/src/OpenSearch.Client/Aggregations/Metric/GeoBounds/GeoBoundsAggregate.cs index 507c76aacc..c0d4563cc1 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/GeoBounds/GeoBoundsAggregate.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/GeoBounds/GeoBoundsAggregate.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/GeoBounds/GeoBoundsAggregation.cs b/src/OpenSearch.Client/Aggregations/Metric/GeoBounds/GeoBoundsAggregation.cs index 8bb2544574..de7045275f 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/GeoBounds/GeoBoundsAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/GeoBounds/GeoBoundsAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/GeoCentroid/GeoCentroidAggregate.cs b/src/OpenSearch.Client/Aggregations/Metric/GeoCentroid/GeoCentroidAggregate.cs index a3dd9a4835..2e6b2b6c9c 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/GeoCentroid/GeoCentroidAggregate.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/GeoCentroid/GeoCentroidAggregate.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/GeoCentroid/GeoCentroidAggregation.cs b/src/OpenSearch.Client/Aggregations/Metric/GeoCentroid/GeoCentroidAggregation.cs index 86007bfacc..78ec6f7de2 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/GeoCentroid/GeoCentroidAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/GeoCentroid/GeoCentroidAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/GeoLine/GeoLineAggregate.cs b/src/OpenSearch.Client/Aggregations/Metric/GeoLine/GeoLineAggregate.cs index ba18942c2c..3657a6feff 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/GeoLine/GeoLineAggregate.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/GeoLine/GeoLineAggregate.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/GeoLine/GeoLineAggregation.cs b/src/OpenSearch.Client/Aggregations/Metric/GeoLine/GeoLineAggregation.cs index 9a149c28cb..2f04326dc6 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/GeoLine/GeoLineAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/GeoLine/GeoLineAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/Max/MaxAggregation.cs b/src/OpenSearch.Client/Aggregations/Metric/Max/MaxAggregation.cs index b6bd19cbde..a4da04b103 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/Max/MaxAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/Max/MaxAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/MedianAbsoluteDeviation/MedianAbsoluteDeviationAggregation.cs b/src/OpenSearch.Client/Aggregations/Metric/MedianAbsoluteDeviation/MedianAbsoluteDeviationAggregation.cs index 81c103597c..6ab21eb34a 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/MedianAbsoluteDeviation/MedianAbsoluteDeviationAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/MedianAbsoluteDeviation/MedianAbsoluteDeviationAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/MetricAggregate.cs b/src/OpenSearch.Client/Aggregations/Metric/MetricAggregate.cs index ecab7c8312..43674081fe 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/MetricAggregate.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/MetricAggregate.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/MetricAggregation.cs b/src/OpenSearch.Client/Aggregations/Metric/MetricAggregation.cs index 1724484070..a460dfe4d1 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/MetricAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/MetricAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/Min/MinAggregation.cs b/src/OpenSearch.Client/Aggregations/Metric/Min/MinAggregation.cs index 9b3d69cb49..dd9266cc27 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/Min/MinAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/Min/MinAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/PercentileRanks/PercentileRanksAggregation.cs b/src/OpenSearch.Client/Aggregations/Metric/PercentileRanks/PercentileRanksAggregation.cs index b0f0fce182..95862483c0 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/PercentileRanks/PercentileRanksAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/PercentileRanks/PercentileRanksAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/PercentileRanks/PercentileRanksAggregationFormatter.cs b/src/OpenSearch.Client/Aggregations/Metric/PercentileRanks/PercentileRanksAggregationFormatter.cs index 4e4f97f447..595cc15ac9 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/PercentileRanks/PercentileRanksAggregationFormatter.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/PercentileRanks/PercentileRanksAggregationFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/Percentiles/Methods/HdrHistogramMethod.cs b/src/OpenSearch.Client/Aggregations/Metric/Percentiles/Methods/HdrHistogramMethod.cs index 66ba14cd9b..242f0592a0 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/Percentiles/Methods/HdrHistogramMethod.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/Percentiles/Methods/HdrHistogramMethod.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/Percentiles/Methods/IPercentilesMethod.cs b/src/OpenSearch.Client/Aggregations/Metric/Percentiles/Methods/IPercentilesMethod.cs index 57bf2aabaf..1f27611a11 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/Percentiles/Methods/IPercentilesMethod.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/Percentiles/Methods/IPercentilesMethod.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/Percentiles/Methods/TDigestMethod.cs b/src/OpenSearch.Client/Aggregations/Metric/Percentiles/Methods/TDigestMethod.cs index 3a97f02635..f270ab7d8d 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/Percentiles/Methods/TDigestMethod.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/Percentiles/Methods/TDigestMethod.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/Percentiles/PercentilesAggregation.cs b/src/OpenSearch.Client/Aggregations/Metric/Percentiles/PercentilesAggregation.cs index 4f8737f028..d1a520a704 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/Percentiles/PercentilesAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/Percentiles/PercentilesAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/Percentiles/PercentilesAggregationFormatter.cs b/src/OpenSearch.Client/Aggregations/Metric/Percentiles/PercentilesAggregationFormatter.cs index 338081416f..7ea7c0c09c 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/Percentiles/PercentilesAggregationFormatter.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/Percentiles/PercentilesAggregationFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/Percentiles/PercentilesMetricAggregate.cs b/src/OpenSearch.Client/Aggregations/Metric/Percentiles/PercentilesMetricAggregate.cs index 7cfd23b97d..17ccb6367c 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/Percentiles/PercentilesMetricAggregate.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/Percentiles/PercentilesMetricAggregate.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/ScriptedMetric/ScriptedMetricAggregate.cs b/src/OpenSearch.Client/Aggregations/Metric/ScriptedMetric/ScriptedMetricAggregate.cs index aeb0203fd6..f8e0644a46 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/ScriptedMetric/ScriptedMetricAggregate.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/ScriptedMetric/ScriptedMetricAggregate.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/ScriptedMetric/ScriptedMetricAggregation.cs b/src/OpenSearch.Client/Aggregations/Metric/ScriptedMetric/ScriptedMetricAggregation.cs index 724912f165..a3f1219758 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/ScriptedMetric/ScriptedMetricAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/ScriptedMetric/ScriptedMetricAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/Stats/StatsAggregate.cs b/src/OpenSearch.Client/Aggregations/Metric/Stats/StatsAggregate.cs index 3bdfe24bf2..16c9f57844 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/Stats/StatsAggregate.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/Stats/StatsAggregate.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/Stats/StatsAggregation.cs b/src/OpenSearch.Client/Aggregations/Metric/Stats/StatsAggregation.cs index 3ffea599db..5fdc6cc250 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/Stats/StatsAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/Stats/StatsAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/Sum/SumAggregation.cs b/src/OpenSearch.Client/Aggregations/Metric/Sum/SumAggregation.cs index a776a53b6f..a74c052750 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/Sum/SumAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/Sum/SumAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/TopHits/TopHitsAggregate.cs b/src/OpenSearch.Client/Aggregations/Metric/TopHits/TopHitsAggregate.cs index 99c6715dcf..a0693cc209 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/TopHits/TopHitsAggregate.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/TopHits/TopHitsAggregate.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/TopHits/TopHitsAggregation.cs b/src/OpenSearch.Client/Aggregations/Metric/TopHits/TopHitsAggregation.cs index 6acc99db14..011dc66fa2 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/TopHits/TopHitsAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/TopHits/TopHitsAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/ValueAggregate.cs b/src/OpenSearch.Client/Aggregations/Metric/ValueAggregate.cs index 29a52a1f43..cdb175913f 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/ValueAggregate.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/ValueAggregate.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/ValueCount/ValueCountAggregation.cs b/src/OpenSearch.Client/Aggregations/Metric/ValueCount/ValueCountAggregation.cs index 8257d7d10d..41e2e2ffb7 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/ValueCount/ValueCountAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/ValueCount/ValueCountAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/WeightedAverage/WeightedAverageAggregation.cs b/src/OpenSearch.Client/Aggregations/Metric/WeightedAverage/WeightedAverageAggregation.cs index d0e66eac6b..03b0d11482 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/WeightedAverage/WeightedAverageAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/WeightedAverage/WeightedAverageAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Metric/WeightedAverage/WeightedAverageValue.cs b/src/OpenSearch.Client/Aggregations/Metric/WeightedAverage/WeightedAverageValue.cs index d787726e83..cefa57a5a7 100644 --- a/src/OpenSearch.Client/Aggregations/Metric/WeightedAverage/WeightedAverageValue.cs +++ b/src/OpenSearch.Client/Aggregations/Metric/WeightedAverage/WeightedAverageValue.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Pipeline/AverageBucket/AverageBucketAggregation.cs b/src/OpenSearch.Client/Aggregations/Pipeline/AverageBucket/AverageBucketAggregation.cs index 30a2028777..9eb53e201b 100644 --- a/src/OpenSearch.Client/Aggregations/Pipeline/AverageBucket/AverageBucketAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Pipeline/AverageBucket/AverageBucketAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Pipeline/BucketScript/BucketScriptAggregation.cs b/src/OpenSearch.Client/Aggregations/Pipeline/BucketScript/BucketScriptAggregation.cs index 812f80f5dc..cae4fc5463 100644 --- a/src/OpenSearch.Client/Aggregations/Pipeline/BucketScript/BucketScriptAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Pipeline/BucketScript/BucketScriptAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Pipeline/BucketSelector/BucketSelectorAggregation.cs b/src/OpenSearch.Client/Aggregations/Pipeline/BucketSelector/BucketSelectorAggregation.cs index 66eb52c652..f306a9b894 100644 --- a/src/OpenSearch.Client/Aggregations/Pipeline/BucketSelector/BucketSelectorAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Pipeline/BucketSelector/BucketSelectorAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Pipeline/BucketSort/BucketSortAggregation.cs b/src/OpenSearch.Client/Aggregations/Pipeline/BucketSort/BucketSortAggregation.cs index 1eea1901e2..ea70a50b09 100644 --- a/src/OpenSearch.Client/Aggregations/Pipeline/BucketSort/BucketSortAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Pipeline/BucketSort/BucketSortAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Pipeline/BucketsPath.cs b/src/OpenSearch.Client/Aggregations/Pipeline/BucketsPath.cs index 5401f34168..10a463461c 100644 --- a/src/OpenSearch.Client/Aggregations/Pipeline/BucketsPath.cs +++ b/src/OpenSearch.Client/Aggregations/Pipeline/BucketsPath.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Pipeline/CumulativeSum/CumulativeSumAggregation.cs b/src/OpenSearch.Client/Aggregations/Pipeline/CumulativeSum/CumulativeSumAggregation.cs index 931e1c32ee..f5cb529c2e 100644 --- a/src/OpenSearch.Client/Aggregations/Pipeline/CumulativeSum/CumulativeSumAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Pipeline/CumulativeSum/CumulativeSumAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Pipeline/Derivative/DerivativeAggregation.cs b/src/OpenSearch.Client/Aggregations/Pipeline/Derivative/DerivativeAggregation.cs index b960aca4e5..f32bbbe96d 100644 --- a/src/OpenSearch.Client/Aggregations/Pipeline/Derivative/DerivativeAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Pipeline/Derivative/DerivativeAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Pipeline/ExtendedStatsBucket/ExtendedStatsBucketAggregation.cs b/src/OpenSearch.Client/Aggregations/Pipeline/ExtendedStatsBucket/ExtendedStatsBucketAggregation.cs index 3908bde931..d8ce86a1cf 100644 --- a/src/OpenSearch.Client/Aggregations/Pipeline/ExtendedStatsBucket/ExtendedStatsBucketAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Pipeline/ExtendedStatsBucket/ExtendedStatsBucketAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Pipeline/GapPolicy.cs b/src/OpenSearch.Client/Aggregations/Pipeline/GapPolicy.cs index 90aefdae66..1d2cf0fe78 100644 --- a/src/OpenSearch.Client/Aggregations/Pipeline/GapPolicy.cs +++ b/src/OpenSearch.Client/Aggregations/Pipeline/GapPolicy.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Pipeline/KeyedValueAggregate.cs b/src/OpenSearch.Client/Aggregations/Pipeline/KeyedValueAggregate.cs index 45f21df87f..c44762058f 100644 --- a/src/OpenSearch.Client/Aggregations/Pipeline/KeyedValueAggregate.cs +++ b/src/OpenSearch.Client/Aggregations/Pipeline/KeyedValueAggregate.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Pipeline/MaxBucket/MaxBucketAggregation.cs b/src/OpenSearch.Client/Aggregations/Pipeline/MaxBucket/MaxBucketAggregation.cs index 630da6e2c5..7ad0fc9ed6 100644 --- a/src/OpenSearch.Client/Aggregations/Pipeline/MaxBucket/MaxBucketAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Pipeline/MaxBucket/MaxBucketAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Pipeline/MinBucket/MinBucketAggregation.cs b/src/OpenSearch.Client/Aggregations/Pipeline/MinBucket/MinBucketAggregation.cs index 4ef713266c..02147abc18 100644 --- a/src/OpenSearch.Client/Aggregations/Pipeline/MinBucket/MinBucketAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Pipeline/MinBucket/MinBucketAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Pipeline/MovingAverage/Models/EwmaModel.cs b/src/OpenSearch.Client/Aggregations/Pipeline/MovingAverage/Models/EwmaModel.cs index 7efa8d9520..e51861906f 100644 --- a/src/OpenSearch.Client/Aggregations/Pipeline/MovingAverage/Models/EwmaModel.cs +++ b/src/OpenSearch.Client/Aggregations/Pipeline/MovingAverage/Models/EwmaModel.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Pipeline/MovingAverage/Models/HoltLinearModel.cs b/src/OpenSearch.Client/Aggregations/Pipeline/MovingAverage/Models/HoltLinearModel.cs index f559ca6f4c..3c8a5f1e51 100644 --- a/src/OpenSearch.Client/Aggregations/Pipeline/MovingAverage/Models/HoltLinearModel.cs +++ b/src/OpenSearch.Client/Aggregations/Pipeline/MovingAverage/Models/HoltLinearModel.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Pipeline/MovingAverage/Models/HoltWintersModel.cs b/src/OpenSearch.Client/Aggregations/Pipeline/MovingAverage/Models/HoltWintersModel.cs index d12e55966c..d1345393da 100644 --- a/src/OpenSearch.Client/Aggregations/Pipeline/MovingAverage/Models/HoltWintersModel.cs +++ b/src/OpenSearch.Client/Aggregations/Pipeline/MovingAverage/Models/HoltWintersModel.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Pipeline/MovingAverage/Models/IMovingAverageModel.cs b/src/OpenSearch.Client/Aggregations/Pipeline/MovingAverage/Models/IMovingAverageModel.cs index d6b4b68fc1..088626f76f 100644 --- a/src/OpenSearch.Client/Aggregations/Pipeline/MovingAverage/Models/IMovingAverageModel.cs +++ b/src/OpenSearch.Client/Aggregations/Pipeline/MovingAverage/Models/IMovingAverageModel.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Pipeline/MovingAverage/Models/LinearModel.cs b/src/OpenSearch.Client/Aggregations/Pipeline/MovingAverage/Models/LinearModel.cs index 82b70d04a8..d9bccb6539 100644 --- a/src/OpenSearch.Client/Aggregations/Pipeline/MovingAverage/Models/LinearModel.cs +++ b/src/OpenSearch.Client/Aggregations/Pipeline/MovingAverage/Models/LinearModel.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Pipeline/MovingAverage/Models/SimpleModel.cs b/src/OpenSearch.Client/Aggregations/Pipeline/MovingAverage/Models/SimpleModel.cs index bb3ec99b19..4f8f514c18 100644 --- a/src/OpenSearch.Client/Aggregations/Pipeline/MovingAverage/Models/SimpleModel.cs +++ b/src/OpenSearch.Client/Aggregations/Pipeline/MovingAverage/Models/SimpleModel.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Pipeline/MovingAverage/MovingAverageAggregation.cs b/src/OpenSearch.Client/Aggregations/Pipeline/MovingAverage/MovingAverageAggregation.cs index aff8cd5457..ed39b204e3 100644 --- a/src/OpenSearch.Client/Aggregations/Pipeline/MovingAverage/MovingAverageAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Pipeline/MovingAverage/MovingAverageAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Pipeline/MovingAverage/MovingAverageAggregationFormatter.cs b/src/OpenSearch.Client/Aggregations/Pipeline/MovingAverage/MovingAverageAggregationFormatter.cs index dddfa57cec..3f5e4f750f 100644 --- a/src/OpenSearch.Client/Aggregations/Pipeline/MovingAverage/MovingAverageAggregationFormatter.cs +++ b/src/OpenSearch.Client/Aggregations/Pipeline/MovingAverage/MovingAverageAggregationFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Pipeline/MovingFunction/MovingFunctionAggregation.cs b/src/OpenSearch.Client/Aggregations/Pipeline/MovingFunction/MovingFunctionAggregation.cs index 202205d113..aff31ed8e3 100644 --- a/src/OpenSearch.Client/Aggregations/Pipeline/MovingFunction/MovingFunctionAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Pipeline/MovingFunction/MovingFunctionAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Pipeline/PercentilesBucket/PercentilesBucketAggregation.cs b/src/OpenSearch.Client/Aggregations/Pipeline/PercentilesBucket/PercentilesBucketAggregation.cs index 466d29774f..38b90b540e 100644 --- a/src/OpenSearch.Client/Aggregations/Pipeline/PercentilesBucket/PercentilesBucketAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Pipeline/PercentilesBucket/PercentilesBucketAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Pipeline/PipelineAggregationBase.cs b/src/OpenSearch.Client/Aggregations/Pipeline/PipelineAggregationBase.cs index 424a95004b..31a7d136d0 100644 --- a/src/OpenSearch.Client/Aggregations/Pipeline/PipelineAggregationBase.cs +++ b/src/OpenSearch.Client/Aggregations/Pipeline/PipelineAggregationBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Pipeline/SerialDifferencing/SerialDifferencingAggregation.cs b/src/OpenSearch.Client/Aggregations/Pipeline/SerialDifferencing/SerialDifferencingAggregation.cs index a53bca5f3e..b09d07fee9 100644 --- a/src/OpenSearch.Client/Aggregations/Pipeline/SerialDifferencing/SerialDifferencingAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Pipeline/SerialDifferencing/SerialDifferencingAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Pipeline/StatsBucket/StatsBucketAggregation.cs b/src/OpenSearch.Client/Aggregations/Pipeline/StatsBucket/StatsBucketAggregation.cs index 1d369539ce..975e447807 100644 --- a/src/OpenSearch.Client/Aggregations/Pipeline/StatsBucket/StatsBucketAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Pipeline/StatsBucket/StatsBucketAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Pipeline/SumBucket/SumBucketAggregation.cs b/src/OpenSearch.Client/Aggregations/Pipeline/SumBucket/SumBucketAggregation.cs index 6cfc240667..5f8ea2aaf7 100644 --- a/src/OpenSearch.Client/Aggregations/Pipeline/SumBucket/SumBucketAggregation.cs +++ b/src/OpenSearch.Client/Aggregations/Pipeline/SumBucket/SumBucketAggregation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/VerbatimDictionaryKeysFormatter.cs b/src/OpenSearch.Client/Aggregations/VerbatimDictionaryKeysFormatter.cs index 7d3485fab4..14ad8f38bd 100644 --- a/src/OpenSearch.Client/Aggregations/VerbatimDictionaryKeysFormatter.cs +++ b/src/OpenSearch.Client/Aggregations/VerbatimDictionaryKeysFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Visitor/AggregationVisitor.cs b/src/OpenSearch.Client/Aggregations/Visitor/AggregationVisitor.cs index 1802b68184..214aae0d68 100644 --- a/src/OpenSearch.Client/Aggregations/Visitor/AggregationVisitor.cs +++ b/src/OpenSearch.Client/Aggregations/Visitor/AggregationVisitor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Visitor/AggregationVisitorScope.cs b/src/OpenSearch.Client/Aggregations/Visitor/AggregationVisitorScope.cs index 8eeaf22edd..bf3e7520c7 100644 --- a/src/OpenSearch.Client/Aggregations/Visitor/AggregationVisitorScope.cs +++ b/src/OpenSearch.Client/Aggregations/Visitor/AggregationVisitorScope.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Aggregations/Visitor/AggregationWalker.cs b/src/OpenSearch.Client/Aggregations/Visitor/AggregationWalker.cs index 746fd0bde5..085593390e 100644 --- a/src/OpenSearch.Client/Aggregations/Visitor/AggregationWalker.cs +++ b/src/OpenSearch.Client/Aggregations/Visitor/AggregationWalker.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Analysis.cs b/src/OpenSearch.Client/Analysis/Analysis.cs index b2e576b0a1..3deb00bfc7 100644 --- a/src/OpenSearch.Client/Analysis/Analysis.cs +++ b/src/OpenSearch.Client/Analysis/Analysis.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Analyzers/AnalyzerBase.cs b/src/OpenSearch.Client/Analysis/Analyzers/AnalyzerBase.cs index 9821778966..a1a8edf252 100644 --- a/src/OpenSearch.Client/Analysis/Analyzers/AnalyzerBase.cs +++ b/src/OpenSearch.Client/Analysis/Analyzers/AnalyzerBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Analyzers/AnalyzerFormatter.cs b/src/OpenSearch.Client/Analysis/Analyzers/AnalyzerFormatter.cs index f842e5ee01..a94dcad459 100644 --- a/src/OpenSearch.Client/Analysis/Analyzers/AnalyzerFormatter.cs +++ b/src/OpenSearch.Client/Analysis/Analyzers/AnalyzerFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Analyzers/Analyzers.cs b/src/OpenSearch.Client/Analysis/Analyzers/Analyzers.cs index 0cca001705..53198ad921 100644 --- a/src/OpenSearch.Client/Analysis/Analyzers/Analyzers.cs +++ b/src/OpenSearch.Client/Analysis/Analyzers/Analyzers.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Analyzers/CustomAnalyzer.cs b/src/OpenSearch.Client/Analysis/Analyzers/CustomAnalyzer.cs index be76ab0519..9c55e84ffe 100644 --- a/src/OpenSearch.Client/Analysis/Analyzers/CustomAnalyzer.cs +++ b/src/OpenSearch.Client/Analysis/Analyzers/CustomAnalyzer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Analyzers/FingerprintAnalyzer.cs b/src/OpenSearch.Client/Analysis/Analyzers/FingerprintAnalyzer.cs index 0931393a78..46cac840f7 100644 --- a/src/OpenSearch.Client/Analysis/Analyzers/FingerprintAnalyzer.cs +++ b/src/OpenSearch.Client/Analysis/Analyzers/FingerprintAnalyzer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Analyzers/KeywordAnalyzer.cs b/src/OpenSearch.Client/Analysis/Analyzers/KeywordAnalyzer.cs index 1266727f5b..8c171e062b 100644 --- a/src/OpenSearch.Client/Analysis/Analyzers/KeywordAnalyzer.cs +++ b/src/OpenSearch.Client/Analysis/Analyzers/KeywordAnalyzer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Analyzers/LanguageAnalyzer.cs b/src/OpenSearch.Client/Analysis/Analyzers/LanguageAnalyzer.cs index 0c00de5cf8..293e316aa9 100644 --- a/src/OpenSearch.Client/Analysis/Analyzers/LanguageAnalyzer.cs +++ b/src/OpenSearch.Client/Analysis/Analyzers/LanguageAnalyzer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Analyzers/NoriAnalyzer.cs b/src/OpenSearch.Client/Analysis/Analyzers/NoriAnalyzer.cs index b3a61b54f9..355607fea3 100644 --- a/src/OpenSearch.Client/Analysis/Analyzers/NoriAnalyzer.cs +++ b/src/OpenSearch.Client/Analysis/Analyzers/NoriAnalyzer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Analyzers/PatternAnalyzer.cs b/src/OpenSearch.Client/Analysis/Analyzers/PatternAnalyzer.cs index 8ded71277a..00a53c9eb5 100644 --- a/src/OpenSearch.Client/Analysis/Analyzers/PatternAnalyzer.cs +++ b/src/OpenSearch.Client/Analysis/Analyzers/PatternAnalyzer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Analyzers/SimpleAnalyzer.cs b/src/OpenSearch.Client/Analysis/Analyzers/SimpleAnalyzer.cs index 4ded74fc8b..af0a477fbf 100644 --- a/src/OpenSearch.Client/Analysis/Analyzers/SimpleAnalyzer.cs +++ b/src/OpenSearch.Client/Analysis/Analyzers/SimpleAnalyzer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Analyzers/SnowballAnalyzer.cs b/src/OpenSearch.Client/Analysis/Analyzers/SnowballAnalyzer.cs index d9595fb743..08ea0b24c9 100644 --- a/src/OpenSearch.Client/Analysis/Analyzers/SnowballAnalyzer.cs +++ b/src/OpenSearch.Client/Analysis/Analyzers/SnowballAnalyzer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Analyzers/StandardAnalyzer.cs b/src/OpenSearch.Client/Analysis/Analyzers/StandardAnalyzer.cs index 3ef87d7a6e..1d579d4043 100644 --- a/src/OpenSearch.Client/Analysis/Analyzers/StandardAnalyzer.cs +++ b/src/OpenSearch.Client/Analysis/Analyzers/StandardAnalyzer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Analyzers/StopAnalyzer.cs b/src/OpenSearch.Client/Analysis/Analyzers/StopAnalyzer.cs index 4953be5f38..8a64fd55a8 100644 --- a/src/OpenSearch.Client/Analysis/Analyzers/StopAnalyzer.cs +++ b/src/OpenSearch.Client/Analysis/Analyzers/StopAnalyzer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Analyzers/WhitespaceAnalyzer.cs b/src/OpenSearch.Client/Analysis/Analyzers/WhitespaceAnalyzer.cs index 0e3b0a24b5..719cbf6208 100644 --- a/src/OpenSearch.Client/Analysis/Analyzers/WhitespaceAnalyzer.cs +++ b/src/OpenSearch.Client/Analysis/Analyzers/WhitespaceAnalyzer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/CharFilters/CharFilterBase.cs b/src/OpenSearch.Client/Analysis/CharFilters/CharFilterBase.cs index d4f3a68120..00d30a3a10 100644 --- a/src/OpenSearch.Client/Analysis/CharFilters/CharFilterBase.cs +++ b/src/OpenSearch.Client/Analysis/CharFilters/CharFilterBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/CharFilters/CharFilterFormatter.cs b/src/OpenSearch.Client/Analysis/CharFilters/CharFilterFormatter.cs index 36b3162d89..08e207d5f5 100644 --- a/src/OpenSearch.Client/Analysis/CharFilters/CharFilterFormatter.cs +++ b/src/OpenSearch.Client/Analysis/CharFilters/CharFilterFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/CharFilters/CharFilters.cs b/src/OpenSearch.Client/Analysis/CharFilters/CharFilters.cs index 733294f694..a1c08727e0 100644 --- a/src/OpenSearch.Client/Analysis/CharFilters/CharFilters.cs +++ b/src/OpenSearch.Client/Analysis/CharFilters/CharFilters.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/CharFilters/HtmlStripCharFilter.cs b/src/OpenSearch.Client/Analysis/CharFilters/HtmlStripCharFilter.cs index aad6ed3860..7ede2e5826 100644 --- a/src/OpenSearch.Client/Analysis/CharFilters/HtmlStripCharFilter.cs +++ b/src/OpenSearch.Client/Analysis/CharFilters/HtmlStripCharFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/CharFilters/MappingCharFilter.cs b/src/OpenSearch.Client/Analysis/CharFilters/MappingCharFilter.cs index 46525fad35..81e2e7c8ba 100644 --- a/src/OpenSearch.Client/Analysis/CharFilters/MappingCharFilter.cs +++ b/src/OpenSearch.Client/Analysis/CharFilters/MappingCharFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/CharFilters/PatternReplaceCharFilter.cs b/src/OpenSearch.Client/Analysis/CharFilters/PatternReplaceCharFilter.cs index 1a6f7552f0..bd4481d312 100644 --- a/src/OpenSearch.Client/Analysis/CharFilters/PatternReplaceCharFilter.cs +++ b/src/OpenSearch.Client/Analysis/CharFilters/PatternReplaceCharFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Languages/Language.cs b/src/OpenSearch.Client/Analysis/Languages/Language.cs index bee68eca89..c4c93fca52 100644 --- a/src/OpenSearch.Client/Analysis/Languages/Language.cs +++ b/src/OpenSearch.Client/Analysis/Languages/Language.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Languages/SnowballLanguage.cs b/src/OpenSearch.Client/Analysis/Languages/SnowballLanguage.cs index df4ee7ad56..520f407d21 100644 --- a/src/OpenSearch.Client/Analysis/Languages/SnowballLanguage.cs +++ b/src/OpenSearch.Client/Analysis/Languages/SnowballLanguage.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Normalizers/CustomNormalizer.cs b/src/OpenSearch.Client/Analysis/Normalizers/CustomNormalizer.cs index 0c93a93006..01279a4e8a 100644 --- a/src/OpenSearch.Client/Analysis/Normalizers/CustomNormalizer.cs +++ b/src/OpenSearch.Client/Analysis/Normalizers/CustomNormalizer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Normalizers/NormalizerBase.cs b/src/OpenSearch.Client/Analysis/Normalizers/NormalizerBase.cs index f019556150..b8cd4d24d3 100644 --- a/src/OpenSearch.Client/Analysis/Normalizers/NormalizerBase.cs +++ b/src/OpenSearch.Client/Analysis/Normalizers/NormalizerBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Normalizers/NormalizerFormatter.cs b/src/OpenSearch.Client/Analysis/Normalizers/NormalizerFormatter.cs index 7d7e800401..e4af8349ff 100644 --- a/src/OpenSearch.Client/Analysis/Normalizers/NormalizerFormatter.cs +++ b/src/OpenSearch.Client/Analysis/Normalizers/NormalizerFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Normalizers/Normalizers.cs b/src/OpenSearch.Client/Analysis/Normalizers/Normalizers.cs index 47382bdc5a..0324a2c786 100644 --- a/src/OpenSearch.Client/Analysis/Normalizers/Normalizers.cs +++ b/src/OpenSearch.Client/Analysis/Normalizers/Normalizers.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Plugins/Icu/Collation/IcuCollationAlternate.cs b/src/OpenSearch.Client/Analysis/Plugins/Icu/Collation/IcuCollationAlternate.cs index f60d5e631e..84a6649819 100644 --- a/src/OpenSearch.Client/Analysis/Plugins/Icu/Collation/IcuCollationAlternate.cs +++ b/src/OpenSearch.Client/Analysis/Plugins/Icu/Collation/IcuCollationAlternate.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Plugins/Icu/Collation/IcuCollationCaseFirst.cs b/src/OpenSearch.Client/Analysis/Plugins/Icu/Collation/IcuCollationCaseFirst.cs index 668ce06115..b6f584279c 100644 --- a/src/OpenSearch.Client/Analysis/Plugins/Icu/Collation/IcuCollationCaseFirst.cs +++ b/src/OpenSearch.Client/Analysis/Plugins/Icu/Collation/IcuCollationCaseFirst.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Plugins/Icu/Collation/IcuCollationDecomposition.cs b/src/OpenSearch.Client/Analysis/Plugins/Icu/Collation/IcuCollationDecomposition.cs index 6b3e7488f3..93921aa64e 100644 --- a/src/OpenSearch.Client/Analysis/Plugins/Icu/Collation/IcuCollationDecomposition.cs +++ b/src/OpenSearch.Client/Analysis/Plugins/Icu/Collation/IcuCollationDecomposition.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Plugins/Icu/Collation/IcuCollationStrength.cs b/src/OpenSearch.Client/Analysis/Plugins/Icu/Collation/IcuCollationStrength.cs index b521f23c03..5c3e846daa 100644 --- a/src/OpenSearch.Client/Analysis/Plugins/Icu/Collation/IcuCollationStrength.cs +++ b/src/OpenSearch.Client/Analysis/Plugins/Icu/Collation/IcuCollationStrength.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Plugins/Icu/IcuAnalyzer.cs b/src/OpenSearch.Client/Analysis/Plugins/Icu/IcuAnalyzer.cs index 81e1f09332..56410b9ac0 100644 --- a/src/OpenSearch.Client/Analysis/Plugins/Icu/IcuAnalyzer.cs +++ b/src/OpenSearch.Client/Analysis/Plugins/Icu/IcuAnalyzer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Plugins/Icu/IcuCollationTokenFilter.cs b/src/OpenSearch.Client/Analysis/Plugins/Icu/IcuCollationTokenFilter.cs index deb738c444..a0491135be 100644 --- a/src/OpenSearch.Client/Analysis/Plugins/Icu/IcuCollationTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/Plugins/Icu/IcuCollationTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Plugins/Icu/IcuFoldingTokenFilter.cs b/src/OpenSearch.Client/Analysis/Plugins/Icu/IcuFoldingTokenFilter.cs index da66da1c4c..548f7d2fc6 100644 --- a/src/OpenSearch.Client/Analysis/Plugins/Icu/IcuFoldingTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/Plugins/Icu/IcuFoldingTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Plugins/Icu/IcuNormalizationCharFilter.cs b/src/OpenSearch.Client/Analysis/Plugins/Icu/IcuNormalizationCharFilter.cs index 6682e58669..9584464f13 100644 --- a/src/OpenSearch.Client/Analysis/Plugins/Icu/IcuNormalizationCharFilter.cs +++ b/src/OpenSearch.Client/Analysis/Plugins/Icu/IcuNormalizationCharFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Plugins/Icu/IcuNormalizationTokenFilter.cs b/src/OpenSearch.Client/Analysis/Plugins/Icu/IcuNormalizationTokenFilter.cs index 2ea1b522fa..053fc56ed1 100644 --- a/src/OpenSearch.Client/Analysis/Plugins/Icu/IcuNormalizationTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/Plugins/Icu/IcuNormalizationTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Plugins/Icu/IcuTokenizer.cs b/src/OpenSearch.Client/Analysis/Plugins/Icu/IcuTokenizer.cs index fc99dfc1e5..5c373f9b9d 100644 --- a/src/OpenSearch.Client/Analysis/Plugins/Icu/IcuTokenizer.cs +++ b/src/OpenSearch.Client/Analysis/Plugins/Icu/IcuTokenizer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Plugins/Icu/IcuTransformTokenFilter.cs b/src/OpenSearch.Client/Analysis/Plugins/Icu/IcuTransformTokenFilter.cs index 4dfb56531d..8dcafda941 100644 --- a/src/OpenSearch.Client/Analysis/Plugins/Icu/IcuTransformTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/Plugins/Icu/IcuTransformTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Plugins/Icu/Normalization/IcuNormalizationMode.cs b/src/OpenSearch.Client/Analysis/Plugins/Icu/Normalization/IcuNormalizationMode.cs index dd81ef5e93..3894a101af 100644 --- a/src/OpenSearch.Client/Analysis/Plugins/Icu/Normalization/IcuNormalizationMode.cs +++ b/src/OpenSearch.Client/Analysis/Plugins/Icu/Normalization/IcuNormalizationMode.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Plugins/Icu/Normalization/IcuNormalizationType.cs b/src/OpenSearch.Client/Analysis/Plugins/Icu/Normalization/IcuNormalizationType.cs index fa98209f11..dc42ee52fb 100644 --- a/src/OpenSearch.Client/Analysis/Plugins/Icu/Normalization/IcuNormalizationType.cs +++ b/src/OpenSearch.Client/Analysis/Plugins/Icu/Normalization/IcuNormalizationType.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Plugins/Icu/Transform/IcuNormalizationType.cs b/src/OpenSearch.Client/Analysis/Plugins/Icu/Transform/IcuNormalizationType.cs index e185d60040..da9c802957 100644 --- a/src/OpenSearch.Client/Analysis/Plugins/Icu/Transform/IcuNormalizationType.cs +++ b/src/OpenSearch.Client/Analysis/Plugins/Icu/Transform/IcuNormalizationType.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Plugins/Kuromoji/KuromojiAnalyzer.cs b/src/OpenSearch.Client/Analysis/Plugins/Kuromoji/KuromojiAnalyzer.cs index 7cb5e0dffc..aea28f160d 100644 --- a/src/OpenSearch.Client/Analysis/Plugins/Kuromoji/KuromojiAnalyzer.cs +++ b/src/OpenSearch.Client/Analysis/Plugins/Kuromoji/KuromojiAnalyzer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Plugins/Kuromoji/KuromojiIterationMarkCharFilter.cs b/src/OpenSearch.Client/Analysis/Plugins/Kuromoji/KuromojiIterationMarkCharFilter.cs index 0f93cd099a..75b47bd9e8 100644 --- a/src/OpenSearch.Client/Analysis/Plugins/Kuromoji/KuromojiIterationMarkCharFilter.cs +++ b/src/OpenSearch.Client/Analysis/Plugins/Kuromoji/KuromojiIterationMarkCharFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Plugins/Kuromoji/KuromojiPartOfSpeechTokenFilter.cs b/src/OpenSearch.Client/Analysis/Plugins/Kuromoji/KuromojiPartOfSpeechTokenFilter.cs index 5f578d809b..16df3a6e19 100644 --- a/src/OpenSearch.Client/Analysis/Plugins/Kuromoji/KuromojiPartOfSpeechTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/Plugins/Kuromoji/KuromojiPartOfSpeechTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Plugins/Kuromoji/KuromojiReadingFormTokenFilter.cs b/src/OpenSearch.Client/Analysis/Plugins/Kuromoji/KuromojiReadingFormTokenFilter.cs index 5ce1fddc80..24d214880c 100644 --- a/src/OpenSearch.Client/Analysis/Plugins/Kuromoji/KuromojiReadingFormTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/Plugins/Kuromoji/KuromojiReadingFormTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Plugins/Kuromoji/KuromojiStemmerTokenFilter.cs b/src/OpenSearch.Client/Analysis/Plugins/Kuromoji/KuromojiStemmerTokenFilter.cs index 2ed10722cb..ca7759a7d2 100644 --- a/src/OpenSearch.Client/Analysis/Plugins/Kuromoji/KuromojiStemmerTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/Plugins/Kuromoji/KuromojiStemmerTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Plugins/Kuromoji/KuromojiTokenizationMode.cs b/src/OpenSearch.Client/Analysis/Plugins/Kuromoji/KuromojiTokenizationMode.cs index 08b3eb960e..3e6847a17d 100644 --- a/src/OpenSearch.Client/Analysis/Plugins/Kuromoji/KuromojiTokenizationMode.cs +++ b/src/OpenSearch.Client/Analysis/Plugins/Kuromoji/KuromojiTokenizationMode.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Plugins/Kuromoji/KuromojiTokenizer.cs b/src/OpenSearch.Client/Analysis/Plugins/Kuromoji/KuromojiTokenizer.cs index a7132f96d1..2aedabef6b 100644 --- a/src/OpenSearch.Client/Analysis/Plugins/Kuromoji/KuromojiTokenizer.cs +++ b/src/OpenSearch.Client/Analysis/Plugins/Kuromoji/KuromojiTokenizer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Plugins/Phonetic/PhoneticEncoder.cs b/src/OpenSearch.Client/Analysis/Plugins/Phonetic/PhoneticEncoder.cs index 17fd1cc3a4..844fbb87fd 100644 --- a/src/OpenSearch.Client/Analysis/Plugins/Phonetic/PhoneticEncoder.cs +++ b/src/OpenSearch.Client/Analysis/Plugins/Phonetic/PhoneticEncoder.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Plugins/Phonetic/PhoneticLanguage.cs b/src/OpenSearch.Client/Analysis/Plugins/Phonetic/PhoneticLanguage.cs index 3da92ba851..f865524840 100644 --- a/src/OpenSearch.Client/Analysis/Plugins/Phonetic/PhoneticLanguage.cs +++ b/src/OpenSearch.Client/Analysis/Plugins/Phonetic/PhoneticLanguage.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Plugins/Phonetic/PhoneticNameType.cs b/src/OpenSearch.Client/Analysis/Plugins/Phonetic/PhoneticNameType.cs index f0a3f35bb3..4c7ca76e6f 100644 --- a/src/OpenSearch.Client/Analysis/Plugins/Phonetic/PhoneticNameType.cs +++ b/src/OpenSearch.Client/Analysis/Plugins/Phonetic/PhoneticNameType.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Plugins/Phonetic/PhoneticRuleType.cs b/src/OpenSearch.Client/Analysis/Plugins/Phonetic/PhoneticRuleType.cs index d7c2a1dd4f..a47dc0c6d1 100644 --- a/src/OpenSearch.Client/Analysis/Plugins/Phonetic/PhoneticRuleType.cs +++ b/src/OpenSearch.Client/Analysis/Plugins/Phonetic/PhoneticRuleType.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Plugins/Phonetic/PhoneticTokenFilter.cs b/src/OpenSearch.Client/Analysis/Plugins/Phonetic/PhoneticTokenFilter.cs index 7feaa0b2bb..587a4effb7 100644 --- a/src/OpenSearch.Client/Analysis/Plugins/Phonetic/PhoneticTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/Plugins/Phonetic/PhoneticTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/StopWords.cs b/src/OpenSearch.Client/Analysis/StopWords.cs index 6599bce3ba..5e4efe3538 100644 --- a/src/OpenSearch.Client/Analysis/StopWords.cs +++ b/src/OpenSearch.Client/Analysis/StopWords.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/AsciiFoldingTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/AsciiFoldingTokenFilter.cs index 6341f4e362..0ee70aef67 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/AsciiFoldingTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/AsciiFoldingTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/CommonGramsTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/CommonGramsTokenFilter.cs index 7112e60457..07387b49c0 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/CommonGramsTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/CommonGramsTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/CompoundWord/CompoundWordTokenFilterBase.cs b/src/OpenSearch.Client/Analysis/TokenFilters/CompoundWord/CompoundWordTokenFilterBase.cs index 125ff86691..85db4bbedc 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/CompoundWord/CompoundWordTokenFilterBase.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/CompoundWord/CompoundWordTokenFilterBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/CompoundWord/DictionaryDecompounderTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/CompoundWord/DictionaryDecompounderTokenFilter.cs index 57610a4edf..aaf920bd2a 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/CompoundWord/DictionaryDecompounderTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/CompoundWord/DictionaryDecompounderTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/CompoundWord/HyphenationDecompounderTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/CompoundWord/HyphenationDecompounderTokenFilter.cs index d5792e99ce..fec8a07a26 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/CompoundWord/HyphenationDecompounderTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/CompoundWord/HyphenationDecompounderTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/ConditionTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/ConditionTokenFilter.cs index cd07e667fc..8fde5daab4 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/ConditionTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/ConditionTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/DelimitedPayload/DelimitedPayloadEncoding.cs b/src/OpenSearch.Client/Analysis/TokenFilters/DelimitedPayload/DelimitedPayloadEncoding.cs index 2538096d26..6e62b27ace 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/DelimitedPayload/DelimitedPayloadEncoding.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/DelimitedPayload/DelimitedPayloadEncoding.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/DelimitedPayload/DelimitedPayloadTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/DelimitedPayload/DelimitedPayloadTokenFilter.cs index fa30106fb5..b58770c82d 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/DelimitedPayload/DelimitedPayloadTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/DelimitedPayload/DelimitedPayloadTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/EdgeNGram/EdgeNGramSide.cs b/src/OpenSearch.Client/Analysis/TokenFilters/EdgeNGram/EdgeNGramSide.cs index acd5151bf3..1b24d38169 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/EdgeNGram/EdgeNGramSide.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/EdgeNGram/EdgeNGramSide.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/EdgeNGram/EdgeNGramTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/EdgeNGram/EdgeNGramTokenFilter.cs index acdc6f0334..e1e479316d 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/EdgeNGram/EdgeNGramTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/EdgeNGram/EdgeNGramTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/ElisionTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/ElisionTokenFilter.cs index c6e6b41c2e..b978a6cff6 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/ElisionTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/ElisionTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/FingerprintTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/FingerprintTokenFilter.cs index 893d0a9629..925eec3e29 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/FingerprintTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/FingerprintTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/HunspellTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/HunspellTokenFilter.cs index 52569afbda..40088393fd 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/HunspellTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/HunspellTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/KStemTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/KStemTokenFilter.cs index 8e5c28685a..f09381dea8 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/KStemTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/KStemTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/KeepTypesTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/KeepTypesTokenFilter.cs index d26e0e35cc..fb369b6995 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/KeepTypesTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/KeepTypesTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/KeepWordsTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/KeepWordsTokenFilter.cs index b862e7a1c5..524e1b0211 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/KeepWordsTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/KeepWordsTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/KeywordMarkerTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/KeywordMarkerTokenFilter.cs index d2f7605c8b..0942610704 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/KeywordMarkerTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/KeywordMarkerTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/LengthTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/LengthTokenFilter.cs index 334900d790..8ad724fa9a 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/LengthTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/LengthTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/LimitTokenCountTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/LimitTokenCountTokenFilter.cs index 7fe7ac7690..5b3323681a 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/LimitTokenCountTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/LimitTokenCountTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/LowercaseTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/LowercaseTokenFilter.cs index 6e4fb1193a..0d34aee4fe 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/LowercaseTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/LowercaseTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/MultiplexerTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/MultiplexerTokenFilter.cs index 70756ebfe4..36f20c0ddd 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/MultiplexerTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/MultiplexerTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/NgramTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/NgramTokenFilter.cs index 76a070cf7c..98cf4ff0e5 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/NgramTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/NgramTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/NoriPartOfSpeechTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/NoriPartOfSpeechTokenFilter.cs index 63586eff2d..3fccb3d5aa 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/NoriPartOfSpeechTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/NoriPartOfSpeechTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/PatternCaptureTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/PatternCaptureTokenFilter.cs index aed538eba0..e34fc8caaf 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/PatternCaptureTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/PatternCaptureTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/PatternReplaceTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/PatternReplaceTokenFilter.cs index 90995455e2..b7c8cf225d 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/PatternReplaceTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/PatternReplaceTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/PorterStemTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/PorterStemTokenFilter.cs index 8663b23da6..58e8edecca 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/PorterStemTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/PorterStemTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/PredicateTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/PredicateTokenFilter.cs index d73f5652ce..e955dff7c1 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/PredicateTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/PredicateTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/RemoveDuplicatesTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/RemoveDuplicatesTokenFilter.cs index 759e915b38..a63401a0c4 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/RemoveDuplicatesTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/RemoveDuplicatesTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/ReverseTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/ReverseTokenFilter.cs index 136c72debc..10c3adec97 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/ReverseTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/ReverseTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/Shingle/ShingleTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/Shingle/ShingleTokenFilter.cs index d8b547d416..4ae8a22286 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/Shingle/ShingleTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/Shingle/ShingleTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/SnowballTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/SnowballTokenFilter.cs index 7bd3ce758d..5a3d56e225 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/SnowballTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/SnowballTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/StemmerOverrideTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/StemmerOverrideTokenFilter.cs index b9f5de2d50..55610b721f 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/StemmerOverrideTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/StemmerOverrideTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/StemmerTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/StemmerTokenFilter.cs index 125d99b425..006d4dbdcc 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/StemmerTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/StemmerTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/Stop/StopTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/Stop/StopTokenFilter.cs index c3e4deb8c8..5dda3f9db8 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/Stop/StopTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/Stop/StopTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/Synonym/SynonymFormat.cs b/src/OpenSearch.Client/Analysis/TokenFilters/Synonym/SynonymFormat.cs index a93c9c6c8d..97f7456f66 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/Synonym/SynonymFormat.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/Synonym/SynonymFormat.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/Synonym/SynonymGraphTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/Synonym/SynonymGraphTokenFilter.cs index 36ccf4c7e3..3053a2ecc8 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/Synonym/SynonymGraphTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/Synonym/SynonymGraphTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/Synonym/SynonymTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/Synonym/SynonymTokenFilter.cs index 3fa137c76e..ef6cf0f3c8 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/Synonym/SynonymTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/Synonym/SynonymTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/TokenFilterBase.cs b/src/OpenSearch.Client/Analysis/TokenFilters/TokenFilterBase.cs index f7a810ec6c..e088265c10 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/TokenFilterBase.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/TokenFilterBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/TokenFilterFormatter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/TokenFilterFormatter.cs index 6515cf7681..956d5ca14b 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/TokenFilterFormatter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/TokenFilterFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/TokenFilters.cs b/src/OpenSearch.Client/Analysis/TokenFilters/TokenFilters.cs index ea449a87fb..2d58780717 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/TokenFilters.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/TokenFilters.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/TrimTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/TrimTokenFilter.cs index 821203484a..b97258363a 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/TrimTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/TrimTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/TruncateTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/TruncateTokenFilter.cs index 83b5849cec..03f49ae508 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/TruncateTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/TruncateTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/UniqueTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/UniqueTokenFilter.cs index 6ec6523a93..a758f43f44 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/UniqueTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/UniqueTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/UppercaseTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/UppercaseTokenFilter.cs index 0137d80e2f..22c11b99ef 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/UppercaseTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/UppercaseTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/WordDelimiter/WordDelimiterTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/WordDelimiter/WordDelimiterTokenFilter.cs index 4b48d54fbd..bc1cc9db32 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/WordDelimiter/WordDelimiterTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/WordDelimiter/WordDelimiterTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/TokenFilters/WordDelimiterGraph/WordDelimiterGraphTokenFilter.cs b/src/OpenSearch.Client/Analysis/TokenFilters/WordDelimiterGraph/WordDelimiterGraphTokenFilter.cs index 62132c8674..d575e44e4a 100644 --- a/src/OpenSearch.Client/Analysis/TokenFilters/WordDelimiterGraph/WordDelimiterGraphTokenFilter.cs +++ b/src/OpenSearch.Client/Analysis/TokenFilters/WordDelimiterGraph/WordDelimiterGraphTokenFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Tokenizers/CharGroupTokenizer.cs b/src/OpenSearch.Client/Analysis/Tokenizers/CharGroupTokenizer.cs index 69c94cc64e..a7dd407e99 100644 --- a/src/OpenSearch.Client/Analysis/Tokenizers/CharGroupTokenizer.cs +++ b/src/OpenSearch.Client/Analysis/Tokenizers/CharGroupTokenizer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Tokenizers/KeywordTokenizer.cs b/src/OpenSearch.Client/Analysis/Tokenizers/KeywordTokenizer.cs index 23ebd62328..7742425af4 100644 --- a/src/OpenSearch.Client/Analysis/Tokenizers/KeywordTokenizer.cs +++ b/src/OpenSearch.Client/Analysis/Tokenizers/KeywordTokenizer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Tokenizers/LetterTokenizer.cs b/src/OpenSearch.Client/Analysis/Tokenizers/LetterTokenizer.cs index 9527ac53bc..94cfccc7b3 100644 --- a/src/OpenSearch.Client/Analysis/Tokenizers/LetterTokenizer.cs +++ b/src/OpenSearch.Client/Analysis/Tokenizers/LetterTokenizer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Tokenizers/LowercaseTokenizer.cs b/src/OpenSearch.Client/Analysis/Tokenizers/LowercaseTokenizer.cs index 656648d0e0..bf1948a3d7 100644 --- a/src/OpenSearch.Client/Analysis/Tokenizers/LowercaseTokenizer.cs +++ b/src/OpenSearch.Client/Analysis/Tokenizers/LowercaseTokenizer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Tokenizers/NGram/EdgeNGramTokenizer.cs b/src/OpenSearch.Client/Analysis/Tokenizers/NGram/EdgeNGramTokenizer.cs index ce89834aa6..904eaeb3ab 100644 --- a/src/OpenSearch.Client/Analysis/Tokenizers/NGram/EdgeNGramTokenizer.cs +++ b/src/OpenSearch.Client/Analysis/Tokenizers/NGram/EdgeNGramTokenizer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Tokenizers/NGram/NGramTokenizer.cs b/src/OpenSearch.Client/Analysis/Tokenizers/NGram/NGramTokenizer.cs index 5a48fca6da..86c72f54a0 100644 --- a/src/OpenSearch.Client/Analysis/Tokenizers/NGram/NGramTokenizer.cs +++ b/src/OpenSearch.Client/Analysis/Tokenizers/NGram/NGramTokenizer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Tokenizers/NGram/TokenChar.cs b/src/OpenSearch.Client/Analysis/Tokenizers/NGram/TokenChar.cs index b9635db05a..8cf050b81b 100644 --- a/src/OpenSearch.Client/Analysis/Tokenizers/NGram/TokenChar.cs +++ b/src/OpenSearch.Client/Analysis/Tokenizers/NGram/TokenChar.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Tokenizers/NoriTokenizer.cs b/src/OpenSearch.Client/Analysis/Tokenizers/NoriTokenizer.cs index becce18a7c..bdab4b846c 100644 --- a/src/OpenSearch.Client/Analysis/Tokenizers/NoriTokenizer.cs +++ b/src/OpenSearch.Client/Analysis/Tokenizers/NoriTokenizer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Tokenizers/PathHierarchyTokenizer.cs b/src/OpenSearch.Client/Analysis/Tokenizers/PathHierarchyTokenizer.cs index dcdc7e5744..f15168387a 100644 --- a/src/OpenSearch.Client/Analysis/Tokenizers/PathHierarchyTokenizer.cs +++ b/src/OpenSearch.Client/Analysis/Tokenizers/PathHierarchyTokenizer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Tokenizers/PatternTokenizer.cs b/src/OpenSearch.Client/Analysis/Tokenizers/PatternTokenizer.cs index 7b3c830f2b..1c3ace9e2e 100644 --- a/src/OpenSearch.Client/Analysis/Tokenizers/PatternTokenizer.cs +++ b/src/OpenSearch.Client/Analysis/Tokenizers/PatternTokenizer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Tokenizers/StandardTokenizer.cs b/src/OpenSearch.Client/Analysis/Tokenizers/StandardTokenizer.cs index d949e17ae6..2ba89b615b 100644 --- a/src/OpenSearch.Client/Analysis/Tokenizers/StandardTokenizer.cs +++ b/src/OpenSearch.Client/Analysis/Tokenizers/StandardTokenizer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Tokenizers/TokenizerBase.cs b/src/OpenSearch.Client/Analysis/Tokenizers/TokenizerBase.cs index cd2f474132..86e96e285a 100644 --- a/src/OpenSearch.Client/Analysis/Tokenizers/TokenizerBase.cs +++ b/src/OpenSearch.Client/Analysis/Tokenizers/TokenizerBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Tokenizers/TokenizerFormatter.cs b/src/OpenSearch.Client/Analysis/Tokenizers/TokenizerFormatter.cs index c36dd538af..427014ad6b 100644 --- a/src/OpenSearch.Client/Analysis/Tokenizers/TokenizerFormatter.cs +++ b/src/OpenSearch.Client/Analysis/Tokenizers/TokenizerFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Tokenizers/Tokenizers.cs b/src/OpenSearch.Client/Analysis/Tokenizers/Tokenizers.cs index b765ec2163..9d804c1817 100644 --- a/src/OpenSearch.Client/Analysis/Tokenizers/Tokenizers.cs +++ b/src/OpenSearch.Client/Analysis/Tokenizers/Tokenizers.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Tokenizers/UaxEmailUrlTokenizer.cs b/src/OpenSearch.Client/Analysis/Tokenizers/UaxEmailUrlTokenizer.cs index d2a4735dca..1b27a5bb30 100644 --- a/src/OpenSearch.Client/Analysis/Tokenizers/UaxEmailUrlTokenizer.cs +++ b/src/OpenSearch.Client/Analysis/Tokenizers/UaxEmailUrlTokenizer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Analysis/Tokenizers/WhitespaceTokenizer.cs b/src/OpenSearch.Client/Analysis/Tokenizers/WhitespaceTokenizer.cs index b74b9eef9c..f4bae53ed0 100644 --- a/src/OpenSearch.Client/Analysis/Tokenizers/WhitespaceTokenizer.cs +++ b/src/OpenSearch.Client/Analysis/Tokenizers/WhitespaceTokenizer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatAliases/CatAliasesRecord.cs b/src/OpenSearch.Client/Cat/CatAliases/CatAliasesRecord.cs index dee4753af2..5d84710f55 100644 --- a/src/OpenSearch.Client/Cat/CatAliases/CatAliasesRecord.cs +++ b/src/OpenSearch.Client/Cat/CatAliases/CatAliasesRecord.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatAliases/CatAliasesRequest.cs b/src/OpenSearch.Client/Cat/CatAliases/CatAliasesRequest.cs index 572120a90e..a3ae784cb6 100644 --- a/src/OpenSearch.Client/Cat/CatAliases/CatAliasesRequest.cs +++ b/src/OpenSearch.Client/Cat/CatAliases/CatAliasesRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatAllocation/CatAllocationRecord.cs b/src/OpenSearch.Client/Cat/CatAllocation/CatAllocationRecord.cs index 06370a76e2..ceced2c086 100644 --- a/src/OpenSearch.Client/Cat/CatAllocation/CatAllocationRecord.cs +++ b/src/OpenSearch.Client/Cat/CatAllocation/CatAllocationRecord.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatAllocation/CatAllocationRequest.cs b/src/OpenSearch.Client/Cat/CatAllocation/CatAllocationRequest.cs index de15b193da..2563ac960d 100644 --- a/src/OpenSearch.Client/Cat/CatAllocation/CatAllocationRequest.cs +++ b/src/OpenSearch.Client/Cat/CatAllocation/CatAllocationRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatClusterManager/CatClusterManagerRecord.cs b/src/OpenSearch.Client/Cat/CatClusterManager/CatClusterManagerRecord.cs new file mode 100644 index 0000000000..3942e0c87f --- /dev/null +++ b/src/OpenSearch.Client/Cat/CatClusterManager/CatClusterManagerRecord.cs @@ -0,0 +1,52 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +using System.Runtime.Serialization; + +namespace OpenSearch.Client +{ + /// + /// See docs here + /// + /// Introduced in OpenSearch 2.0 instead of + [DataContract] + public class CatClusterManagerRecord : ICatRecord + { + [DataMember(Name ="id")] + public string Id { get; set; } + + [DataMember(Name ="ip")] + public string Ip { get; set; } + + [DataMember(Name ="host")] + public string Host { get; set; } + + [DataMember(Name ="node")] + public string Node { get; set; } + } +} diff --git a/src/OpenSearch.Client/Cat/CatClusterManager/CatClusterManagerRequest.cs b/src/OpenSearch.Client/Cat/CatClusterManager/CatClusterManagerRequest.cs new file mode 100644 index 0000000000..510590938e --- /dev/null +++ b/src/OpenSearch.Client/Cat/CatClusterManager/CatClusterManagerRequest.cs @@ -0,0 +1,40 @@ +/* SPDX-License-Identifier: Apache-2.0 +* +* The OpenSearch Contributors require contributions made to +* this file be licensed under the Apache-2.0 license or a +* compatible open source license. +*/ +/* +* Modifications Copyright OpenSearch Contributors. See +* GitHub history for details. +* +* Licensed to Elasticsearch B.V. under one or more contributor +* license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright +* ownership. Elasticsearch B.V. licenses this file to you under +* the Apache License, Version 2.0 (the "License"); you may +* not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +namespace OpenSearch.Client +{ + [MapsApi("cat.cluster_manager.json")] + ///Introduced in OpenSearch 2.0 instead of + public partial interface ICatClusterManagerRequest { } + + ///Introduced in OpenSearch 2.0 instead of + public partial class CatClusterManagerRequest { } + + ///Introduced in OpenSearch 2.0 instead of + public partial class CatClusterManagerDescriptor { } +} diff --git a/src/OpenSearch.Client/Cat/CatCount/CatCountRecord.cs b/src/OpenSearch.Client/Cat/CatCount/CatCountRecord.cs index b0539d92e4..135935e5b5 100644 --- a/src/OpenSearch.Client/Cat/CatCount/CatCountRecord.cs +++ b/src/OpenSearch.Client/Cat/CatCount/CatCountRecord.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatCount/CatCountRequest.cs b/src/OpenSearch.Client/Cat/CatCount/CatCountRequest.cs index 1a31a5251d..b28fd85feb 100644 --- a/src/OpenSearch.Client/Cat/CatCount/CatCountRequest.cs +++ b/src/OpenSearch.Client/Cat/CatCount/CatCountRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatFielddata/CatFielddataRecord.cs b/src/OpenSearch.Client/Cat/CatFielddata/CatFielddataRecord.cs index 20042003bc..712fc7a473 100644 --- a/src/OpenSearch.Client/Cat/CatFielddata/CatFielddataRecord.cs +++ b/src/OpenSearch.Client/Cat/CatFielddata/CatFielddataRecord.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatFielddata/CatFielddataRecordJsonConverter.cs b/src/OpenSearch.Client/Cat/CatFielddata/CatFielddataRecordJsonConverter.cs index 2e6ac6d9c9..2a7851f7af 100644 --- a/src/OpenSearch.Client/Cat/CatFielddata/CatFielddataRecordJsonConverter.cs +++ b/src/OpenSearch.Client/Cat/CatFielddata/CatFielddataRecordJsonConverter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatFielddata/CatFielddataRequest.cs b/src/OpenSearch.Client/Cat/CatFielddata/CatFielddataRequest.cs index fbdf0513f4..eea503cd9d 100644 --- a/src/OpenSearch.Client/Cat/CatFielddata/CatFielddataRequest.cs +++ b/src/OpenSearch.Client/Cat/CatFielddata/CatFielddataRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatHealth/CatHealthRecord.cs b/src/OpenSearch.Client/Cat/CatHealth/CatHealthRecord.cs index 55f1598493..2712ab4eb4 100644 --- a/src/OpenSearch.Client/Cat/CatHealth/CatHealthRecord.cs +++ b/src/OpenSearch.Client/Cat/CatHealth/CatHealthRecord.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatHealth/CatHealthRequest.cs b/src/OpenSearch.Client/Cat/CatHealth/CatHealthRequest.cs index 4e09faca94..1dacd4cb50 100644 --- a/src/OpenSearch.Client/Cat/CatHealth/CatHealthRequest.cs +++ b/src/OpenSearch.Client/Cat/CatHealth/CatHealthRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatHelp/CatHelpRecord.cs b/src/OpenSearch.Client/Cat/CatHelp/CatHelpRecord.cs index 6af8a8c1a9..c7f2bf9513 100644 --- a/src/OpenSearch.Client/Cat/CatHelp/CatHelpRecord.cs +++ b/src/OpenSearch.Client/Cat/CatHelp/CatHelpRecord.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatHelp/CatHelpRequest.cs b/src/OpenSearch.Client/Cat/CatHelp/CatHelpRequest.cs index f7be7f1e57..2c63f8785b 100644 --- a/src/OpenSearch.Client/Cat/CatHelp/CatHelpRequest.cs +++ b/src/OpenSearch.Client/Cat/CatHelp/CatHelpRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatHelpResponseBuilder.cs b/src/OpenSearch.Client/Cat/CatHelpResponseBuilder.cs index 6b1663aa60..13bb022ec3 100644 --- a/src/OpenSearch.Client/Cat/CatHelpResponseBuilder.cs +++ b/src/OpenSearch.Client/Cat/CatHelpResponseBuilder.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatIndices/CatIndicesRecord.cs b/src/OpenSearch.Client/Cat/CatIndices/CatIndicesRecord.cs index ef1f5bdca3..a6e6d85051 100644 --- a/src/OpenSearch.Client/Cat/CatIndices/CatIndicesRecord.cs +++ b/src/OpenSearch.Client/Cat/CatIndices/CatIndicesRecord.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatIndices/CatIndicesRequest.cs b/src/OpenSearch.Client/Cat/CatIndices/CatIndicesRequest.cs index b11af1f172..834cb50243 100644 --- a/src/OpenSearch.Client/Cat/CatIndices/CatIndicesRequest.cs +++ b/src/OpenSearch.Client/Cat/CatIndices/CatIndicesRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatMaster/CatMasterRecord.cs b/src/OpenSearch.Client/Cat/CatMaster/CatMasterRecord.cs index 3e15275b57..5cdf1b6fc9 100644 --- a/src/OpenSearch.Client/Cat/CatMaster/CatMasterRecord.cs +++ b/src/OpenSearch.Client/Cat/CatMaster/CatMasterRecord.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * @@ -29,6 +30,10 @@ namespace OpenSearch.Client { + /// + /// See docs here + /// + /// Deprecated as of OpenSearch 2.0, use instead [DataContract] public class CatMasterRecord : ICatRecord { @@ -38,6 +43,9 @@ public class CatMasterRecord : ICatRecord [DataMember(Name ="ip")] public string Ip { get; set; } + [DataMember(Name ="host")] + public string Host { get; set; } + [DataMember(Name ="node")] public string Node { get; set; } } diff --git a/src/OpenSearch.Client/Cat/CatMaster/CatMasterRequest.cs b/src/OpenSearch.Client/Cat/CatMaster/CatMasterRequest.cs index bb5190346d..b03ef547eb 100644 --- a/src/OpenSearch.Client/Cat/CatMaster/CatMasterRequest.cs +++ b/src/OpenSearch.Client/Cat/CatMaster/CatMasterRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * @@ -28,9 +29,12 @@ namespace OpenSearch.Client { [MapsApi("cat.master.json")] + /// Deprecated as of OpenSearch 2.0, use instead public partial interface ICatMasterRequest { } + /// Deprecated as of OpenSearch 2.0, use instead public partial class CatMasterRequest { } + /// Deprecated as of OpenSearch 2.0, use instead public partial class CatMasterDescriptor { } } diff --git a/src/OpenSearch.Client/Cat/CatNodeAttributes/CatNodeAttributesRecord.cs b/src/OpenSearch.Client/Cat/CatNodeAttributes/CatNodeAttributesRecord.cs index aec30e8b1f..65af072b7a 100644 --- a/src/OpenSearch.Client/Cat/CatNodeAttributes/CatNodeAttributesRecord.cs +++ b/src/OpenSearch.Client/Cat/CatNodeAttributes/CatNodeAttributesRecord.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatNodeAttributes/CatNodeAttributesRequest.cs b/src/OpenSearch.Client/Cat/CatNodeAttributes/CatNodeAttributesRequest.cs index f779dfb3c1..fabb923d7f 100644 --- a/src/OpenSearch.Client/Cat/CatNodeAttributes/CatNodeAttributesRequest.cs +++ b/src/OpenSearch.Client/Cat/CatNodeAttributes/CatNodeAttributesRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatNodes/CatNodesRecord.cs b/src/OpenSearch.Client/Cat/CatNodes/CatNodesRecord.cs index 95011ee750..2eccff51ee 100644 --- a/src/OpenSearch.Client/Cat/CatNodes/CatNodesRecord.cs +++ b/src/OpenSearch.Client/Cat/CatNodes/CatNodesRecord.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * @@ -33,6 +34,7 @@ namespace OpenSearch.Client public class CatNodesRecord : ICatRecord { public string Build => _b ?? _build; + public string ClusterManager => Master ?? _cm ?? _cluster_manager; public string CompletionSize => _completionSize ?? _cs ?? _completion_size; [DataMember(Name ="cpu")] @@ -125,6 +127,12 @@ public class CatNodesRecord : ICatRecord [DataMember(Name ="build")] internal string _build { get; set; } + [DataMember(Name ="cm")] + internal string _cm { get; set; } + + [DataMember(Name ="cluster_manager")] + internal string _cluster_manager { get; set; } + [DataMember(Name ="completion.size")] internal string _completion_size { get; set; } diff --git a/src/OpenSearch.Client/Cat/CatNodes/CatNodesRequest.cs b/src/OpenSearch.Client/Cat/CatNodes/CatNodesRequest.cs index a26f104d1d..da23d4a82c 100644 --- a/src/OpenSearch.Client/Cat/CatNodes/CatNodesRequest.cs +++ b/src/OpenSearch.Client/Cat/CatNodes/CatNodesRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatPendingTasks/CatPendingTasksRecord.cs b/src/OpenSearch.Client/Cat/CatPendingTasks/CatPendingTasksRecord.cs index 84dfa69fa9..fa605dff0d 100644 --- a/src/OpenSearch.Client/Cat/CatPendingTasks/CatPendingTasksRecord.cs +++ b/src/OpenSearch.Client/Cat/CatPendingTasks/CatPendingTasksRecord.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatPendingTasks/CatPendingTasksRequest.cs b/src/OpenSearch.Client/Cat/CatPendingTasks/CatPendingTasksRequest.cs index e21eb42114..5dab7eebdc 100644 --- a/src/OpenSearch.Client/Cat/CatPendingTasks/CatPendingTasksRequest.cs +++ b/src/OpenSearch.Client/Cat/CatPendingTasks/CatPendingTasksRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatPlugins/CatPluginsRecord.cs b/src/OpenSearch.Client/Cat/CatPlugins/CatPluginsRecord.cs index 15558bdcab..6079cb1235 100644 --- a/src/OpenSearch.Client/Cat/CatPlugins/CatPluginsRecord.cs +++ b/src/OpenSearch.Client/Cat/CatPlugins/CatPluginsRecord.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatPlugins/CatPluginsRequest.cs b/src/OpenSearch.Client/Cat/CatPlugins/CatPluginsRequest.cs index 19f05aeb36..44ee605c9e 100644 --- a/src/OpenSearch.Client/Cat/CatPlugins/CatPluginsRequest.cs +++ b/src/OpenSearch.Client/Cat/CatPlugins/CatPluginsRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatRecovery/CatRecoveryRecord.cs b/src/OpenSearch.Client/Cat/CatRecovery/CatRecoveryRecord.cs index 0c4b6f72f7..86bca2f818 100644 --- a/src/OpenSearch.Client/Cat/CatRecovery/CatRecoveryRecord.cs +++ b/src/OpenSearch.Client/Cat/CatRecovery/CatRecoveryRecord.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatRecovery/CatRecoveryRequest.cs b/src/OpenSearch.Client/Cat/CatRecovery/CatRecoveryRequest.cs index b06e1a77bd..81a782ba6c 100644 --- a/src/OpenSearch.Client/Cat/CatRecovery/CatRecoveryRequest.cs +++ b/src/OpenSearch.Client/Cat/CatRecovery/CatRecoveryRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatRepositories/CatRepositoriesRecord.cs b/src/OpenSearch.Client/Cat/CatRepositories/CatRepositoriesRecord.cs index 7b0c044aac..8e5dbf2d96 100644 --- a/src/OpenSearch.Client/Cat/CatRepositories/CatRepositoriesRecord.cs +++ b/src/OpenSearch.Client/Cat/CatRepositories/CatRepositoriesRecord.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatRepositories/CatRepositoriesRequest.cs b/src/OpenSearch.Client/Cat/CatRepositories/CatRepositoriesRequest.cs index b716230209..5fcce5c41e 100644 --- a/src/OpenSearch.Client/Cat/CatRepositories/CatRepositoriesRequest.cs +++ b/src/OpenSearch.Client/Cat/CatRepositories/CatRepositoriesRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatResponse.cs b/src/OpenSearch.Client/Cat/CatResponse.cs index 02f5876fc2..f7efd76d0f 100644 --- a/src/OpenSearch.Client/Cat/CatResponse.cs +++ b/src/OpenSearch.Client/Cat/CatResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatResponseBuilder.cs b/src/OpenSearch.Client/Cat/CatResponseBuilder.cs index a6c9e62d55..e545e9e15c 100644 --- a/src/OpenSearch.Client/Cat/CatResponseBuilder.cs +++ b/src/OpenSearch.Client/Cat/CatResponseBuilder.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatSegments/CatSegmentsRecord.cs b/src/OpenSearch.Client/Cat/CatSegments/CatSegmentsRecord.cs index bcaa1f087f..7e1d0d94c7 100644 --- a/src/OpenSearch.Client/Cat/CatSegments/CatSegmentsRecord.cs +++ b/src/OpenSearch.Client/Cat/CatSegments/CatSegmentsRecord.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatSegments/CatSegmentsRequest.cs b/src/OpenSearch.Client/Cat/CatSegments/CatSegmentsRequest.cs index 0cfb54a79c..b0f65e90d9 100644 --- a/src/OpenSearch.Client/Cat/CatSegments/CatSegmentsRequest.cs +++ b/src/OpenSearch.Client/Cat/CatSegments/CatSegmentsRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatShards/CatShardsRecord.cs b/src/OpenSearch.Client/Cat/CatShards/CatShardsRecord.cs index 1ce6b28f09..75318a995a 100644 --- a/src/OpenSearch.Client/Cat/CatShards/CatShardsRecord.cs +++ b/src/OpenSearch.Client/Cat/CatShards/CatShardsRecord.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatShards/CatShardsRequest.cs b/src/OpenSearch.Client/Cat/CatShards/CatShardsRequest.cs index d8d2b9cbd2..31b897c5ca 100644 --- a/src/OpenSearch.Client/Cat/CatShards/CatShardsRequest.cs +++ b/src/OpenSearch.Client/Cat/CatShards/CatShardsRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatSnapshots/CatSnapshotsRecord.cs b/src/OpenSearch.Client/Cat/CatSnapshots/CatSnapshotsRecord.cs index 68c64c7d9f..8592e6429d 100644 --- a/src/OpenSearch.Client/Cat/CatSnapshots/CatSnapshotsRecord.cs +++ b/src/OpenSearch.Client/Cat/CatSnapshots/CatSnapshotsRecord.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatSnapshots/CatSnapshotsRequest.cs b/src/OpenSearch.Client/Cat/CatSnapshots/CatSnapshotsRequest.cs index ee38fdb585..68676f3d95 100644 --- a/src/OpenSearch.Client/Cat/CatSnapshots/CatSnapshotsRequest.cs +++ b/src/OpenSearch.Client/Cat/CatSnapshots/CatSnapshotsRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatTasks/CatTasksRecord.cs b/src/OpenSearch.Client/Cat/CatTasks/CatTasksRecord.cs index c63e9f01fd..7a740c5a76 100644 --- a/src/OpenSearch.Client/Cat/CatTasks/CatTasksRecord.cs +++ b/src/OpenSearch.Client/Cat/CatTasks/CatTasksRecord.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatTasks/CatTasksRequest.cs b/src/OpenSearch.Client/Cat/CatTasks/CatTasksRequest.cs index 14b550cab2..44de70fd83 100644 --- a/src/OpenSearch.Client/Cat/CatTasks/CatTasksRequest.cs +++ b/src/OpenSearch.Client/Cat/CatTasks/CatTasksRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatTemplates/CatTemplatesRecord.cs b/src/OpenSearch.Client/Cat/CatTemplates/CatTemplatesRecord.cs index 09fbbf1d50..c1b93e31c2 100644 --- a/src/OpenSearch.Client/Cat/CatTemplates/CatTemplatesRecord.cs +++ b/src/OpenSearch.Client/Cat/CatTemplates/CatTemplatesRecord.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatTemplates/CatTemplatesRequest.cs b/src/OpenSearch.Client/Cat/CatTemplates/CatTemplatesRequest.cs index 1470e83911..6f7acdea70 100644 --- a/src/OpenSearch.Client/Cat/CatTemplates/CatTemplatesRequest.cs +++ b/src/OpenSearch.Client/Cat/CatTemplates/CatTemplatesRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatThreadPool/CatThreadPoolRecord.cs b/src/OpenSearch.Client/Cat/CatThreadPool/CatThreadPoolRecord.cs index 06b2b02e44..8a61ba08e2 100644 --- a/src/OpenSearch.Client/Cat/CatThreadPool/CatThreadPoolRecord.cs +++ b/src/OpenSearch.Client/Cat/CatThreadPool/CatThreadPoolRecord.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/CatThreadPool/CatThreadPoolRequest.cs b/src/OpenSearch.Client/Cat/CatThreadPool/CatThreadPoolRequest.cs index d8c0a65953..1bb29bb6ae 100644 --- a/src/OpenSearch.Client/Cat/CatThreadPool/CatThreadPoolRequest.cs +++ b/src/OpenSearch.Client/Cat/CatThreadPool/CatThreadPoolRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cat/ICatRecord.cs b/src/OpenSearch.Client/Cat/ICatRecord.cs index e279867cf7..4344109e1a 100644 --- a/src/OpenSearch.Client/Cat/ICatRecord.cs +++ b/src/OpenSearch.Client/Cat/ICatRecord.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/ClusterAllocationExplain/ClusterAllocationExplainRequest.cs b/src/OpenSearch.Client/Cluster/ClusterAllocationExplain/ClusterAllocationExplainRequest.cs index 7c948f96f0..bf270a0b10 100644 --- a/src/OpenSearch.Client/Cluster/ClusterAllocationExplain/ClusterAllocationExplainRequest.cs +++ b/src/OpenSearch.Client/Cluster/ClusterAllocationExplain/ClusterAllocationExplainRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/ClusterAllocationExplain/ClusterAllocationExplainResponse.cs b/src/OpenSearch.Client/Cluster/ClusterAllocationExplain/ClusterAllocationExplainResponse.cs index d70ed911c7..ae994420d3 100644 --- a/src/OpenSearch.Client/Cluster/ClusterAllocationExplain/ClusterAllocationExplainResponse.cs +++ b/src/OpenSearch.Client/Cluster/ClusterAllocationExplain/ClusterAllocationExplainResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/ClusterHealth.cs b/src/OpenSearch.Client/Cluster/ClusterHealth.cs index 610e80b1ec..b85053a061 100644 --- a/src/OpenSearch.Client/Cluster/ClusterHealth.cs +++ b/src/OpenSearch.Client/Cluster/ClusterHealth.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/ClusterHealth/ClusterHealthRequest.cs b/src/OpenSearch.Client/Cluster/ClusterHealth/ClusterHealthRequest.cs index 38e05731fb..a838c0fb6e 100644 --- a/src/OpenSearch.Client/Cluster/ClusterHealth/ClusterHealthRequest.cs +++ b/src/OpenSearch.Client/Cluster/ClusterHealth/ClusterHealthRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/ClusterHealth/ClusterHealthResponse.cs b/src/OpenSearch.Client/Cluster/ClusterHealth/ClusterHealthResponse.cs index 9c87adef8a..7acdfcbdfc 100644 --- a/src/OpenSearch.Client/Cluster/ClusterHealth/ClusterHealthResponse.cs +++ b/src/OpenSearch.Client/Cluster/ClusterHealth/ClusterHealthResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/ClusterHealth/IndexHealthStats.cs b/src/OpenSearch.Client/Cluster/ClusterHealth/IndexHealthStats.cs index 185c2c25a0..e744c25307 100644 --- a/src/OpenSearch.Client/Cluster/ClusterHealth/IndexHealthStats.cs +++ b/src/OpenSearch.Client/Cluster/ClusterHealth/IndexHealthStats.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/ClusterHealth/ShardHealthStats.cs b/src/OpenSearch.Client/Cluster/ClusterHealth/ShardHealthStats.cs index 471f1ed136..ab229f9ab3 100644 --- a/src/OpenSearch.Client/Cluster/ClusterHealth/ShardHealthStats.cs +++ b/src/OpenSearch.Client/Cluster/ClusterHealth/ShardHealthStats.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/ClusterPendingTasks/ClusterPendingTasksRequest.cs b/src/OpenSearch.Client/Cluster/ClusterPendingTasks/ClusterPendingTasksRequest.cs index 1fd44ce8ff..47d530b3e2 100644 --- a/src/OpenSearch.Client/Cluster/ClusterPendingTasks/ClusterPendingTasksRequest.cs +++ b/src/OpenSearch.Client/Cluster/ClusterPendingTasks/ClusterPendingTasksRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/ClusterPendingTasks/ClusterPendingTasksResponse.cs b/src/OpenSearch.Client/Cluster/ClusterPendingTasks/ClusterPendingTasksResponse.cs index 3f1897cc61..e4896f0b36 100644 --- a/src/OpenSearch.Client/Cluster/ClusterPendingTasks/ClusterPendingTasksResponse.cs +++ b/src/OpenSearch.Client/Cluster/ClusterPendingTasks/ClusterPendingTasksResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/ClusterReroute/ClusterRerouteDecision.cs b/src/OpenSearch.Client/Cluster/ClusterReroute/ClusterRerouteDecision.cs index 273e315fa9..c9307bc0ae 100644 --- a/src/OpenSearch.Client/Cluster/ClusterReroute/ClusterRerouteDecision.cs +++ b/src/OpenSearch.Client/Cluster/ClusterReroute/ClusterRerouteDecision.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/ClusterReroute/ClusterRerouteExplanation.cs b/src/OpenSearch.Client/Cluster/ClusterReroute/ClusterRerouteExplanation.cs index 087a0d0f42..211972be94 100644 --- a/src/OpenSearch.Client/Cluster/ClusterReroute/ClusterRerouteExplanation.cs +++ b/src/OpenSearch.Client/Cluster/ClusterReroute/ClusterRerouteExplanation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/ClusterReroute/ClusterRerouteParameters.cs b/src/OpenSearch.Client/Cluster/ClusterReroute/ClusterRerouteParameters.cs index 8d0614280b..cabd546be2 100644 --- a/src/OpenSearch.Client/Cluster/ClusterReroute/ClusterRerouteParameters.cs +++ b/src/OpenSearch.Client/Cluster/ClusterReroute/ClusterRerouteParameters.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/ClusterReroute/ClusterRerouteRequest.cs b/src/OpenSearch.Client/Cluster/ClusterReroute/ClusterRerouteRequest.cs index 3459c238ce..0350be2aee 100644 --- a/src/OpenSearch.Client/Cluster/ClusterReroute/ClusterRerouteRequest.cs +++ b/src/OpenSearch.Client/Cluster/ClusterReroute/ClusterRerouteRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/ClusterReroute/ClusterRerouteResponse.cs b/src/OpenSearch.Client/Cluster/ClusterReroute/ClusterRerouteResponse.cs index c70478df53..85fec96463 100644 --- a/src/OpenSearch.Client/Cluster/ClusterReroute/ClusterRerouteResponse.cs +++ b/src/OpenSearch.Client/Cluster/ClusterReroute/ClusterRerouteResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/ClusterReroute/Commands/AllocateClusterRerouteCommandBase.cs b/src/OpenSearch.Client/Cluster/ClusterReroute/Commands/AllocateClusterRerouteCommandBase.cs index 2d62f9e5c4..f49c219625 100644 --- a/src/OpenSearch.Client/Cluster/ClusterReroute/Commands/AllocateClusterRerouteCommandBase.cs +++ b/src/OpenSearch.Client/Cluster/ClusterReroute/Commands/AllocateClusterRerouteCommandBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/ClusterReroute/Commands/CancelClusterRerouteCommand.cs b/src/OpenSearch.Client/Cluster/ClusterReroute/Commands/CancelClusterRerouteCommand.cs index 3f41aa5269..3dbac454c2 100644 --- a/src/OpenSearch.Client/Cluster/ClusterReroute/Commands/CancelClusterRerouteCommand.cs +++ b/src/OpenSearch.Client/Cluster/ClusterReroute/Commands/CancelClusterRerouteCommand.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/ClusterReroute/Commands/ClusterRerouteCommandFormatter.cs b/src/OpenSearch.Client/Cluster/ClusterReroute/Commands/ClusterRerouteCommandFormatter.cs index 47f4bb2007..8a0b1577c2 100644 --- a/src/OpenSearch.Client/Cluster/ClusterReroute/Commands/ClusterRerouteCommandFormatter.cs +++ b/src/OpenSearch.Client/Cluster/ClusterReroute/Commands/ClusterRerouteCommandFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/ClusterReroute/Commands/IClusterRerouteCommand.cs b/src/OpenSearch.Client/Cluster/ClusterReroute/Commands/IClusterRerouteCommand.cs index f98aa54b52..7e6d85fb16 100644 --- a/src/OpenSearch.Client/Cluster/ClusterReroute/Commands/IClusterRerouteCommand.cs +++ b/src/OpenSearch.Client/Cluster/ClusterReroute/Commands/IClusterRerouteCommand.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/ClusterReroute/Commands/MoveClusterRerouteCommand.cs b/src/OpenSearch.Client/Cluster/ClusterReroute/Commands/MoveClusterRerouteCommand.cs index 0c03936d6d..96c228c241 100644 --- a/src/OpenSearch.Client/Cluster/ClusterReroute/Commands/MoveClusterRerouteCommand.cs +++ b/src/OpenSearch.Client/Cluster/ClusterReroute/Commands/MoveClusterRerouteCommand.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/ClusterSettings/ClusterGetSettings/ClusterGetSettingsRequest.cs b/src/OpenSearch.Client/Cluster/ClusterSettings/ClusterGetSettings/ClusterGetSettingsRequest.cs index 1c40fdc8b8..d2bc471e36 100644 --- a/src/OpenSearch.Client/Cluster/ClusterSettings/ClusterGetSettings/ClusterGetSettingsRequest.cs +++ b/src/OpenSearch.Client/Cluster/ClusterSettings/ClusterGetSettings/ClusterGetSettingsRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/ClusterSettings/ClusterGetSettings/ClusterGetSettingsResponse.cs b/src/OpenSearch.Client/Cluster/ClusterSettings/ClusterGetSettings/ClusterGetSettingsResponse.cs index 1c91669343..30c7a194dd 100644 --- a/src/OpenSearch.Client/Cluster/ClusterSettings/ClusterGetSettings/ClusterGetSettingsResponse.cs +++ b/src/OpenSearch.Client/Cluster/ClusterSettings/ClusterGetSettings/ClusterGetSettingsResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/ClusterSettings/ClusterPutSettings/ClusterPutSettingsRequest.cs b/src/OpenSearch.Client/Cluster/ClusterSettings/ClusterPutSettings/ClusterPutSettingsRequest.cs index 7b8d451899..cd574df165 100644 --- a/src/OpenSearch.Client/Cluster/ClusterSettings/ClusterPutSettings/ClusterPutSettingsRequest.cs +++ b/src/OpenSearch.Client/Cluster/ClusterSettings/ClusterPutSettings/ClusterPutSettingsRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/ClusterSettings/ClusterPutSettings/ClusterPutSettingsResponse.cs b/src/OpenSearch.Client/Cluster/ClusterSettings/ClusterPutSettings/ClusterPutSettingsResponse.cs index d3d07e5a4e..34e7975dcf 100644 --- a/src/OpenSearch.Client/Cluster/ClusterSettings/ClusterPutSettings/ClusterPutSettingsResponse.cs +++ b/src/OpenSearch.Client/Cluster/ClusterSettings/ClusterPutSettings/ClusterPutSettingsResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/ClusterSettings/ClusterPutSettings/RemoteClusterConfiguration.cs b/src/OpenSearch.Client/Cluster/ClusterSettings/ClusterPutSettings/RemoteClusterConfiguration.cs index 23451901de..7cb098d4f7 100644 --- a/src/OpenSearch.Client/Cluster/ClusterSettings/ClusterPutSettings/RemoteClusterConfiguration.cs +++ b/src/OpenSearch.Client/Cluster/ClusterSettings/ClusterPutSettings/RemoteClusterConfiguration.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/ClusterState/ClusterStateRequest.cs b/src/OpenSearch.Client/Cluster/ClusterState/ClusterStateRequest.cs index 0eaa73bfca..33516421a1 100644 --- a/src/OpenSearch.Client/Cluster/ClusterState/ClusterStateRequest.cs +++ b/src/OpenSearch.Client/Cluster/ClusterState/ClusterStateRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/ClusterState/ClusterStateResponse.cs b/src/OpenSearch.Client/Cluster/ClusterState/ClusterStateResponse.cs index eee21ac68b..93bc87a33a 100644 --- a/src/OpenSearch.Client/Cluster/ClusterState/ClusterStateResponse.cs +++ b/src/OpenSearch.Client/Cluster/ClusterState/ClusterStateResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * @@ -44,9 +45,14 @@ public class ClusterStateResponse : DynamicResponseBase [DataMember(Name = "cluster_uuid")] public string ClusterUUID => State.Get("cluster_uuid"); + ///Deprecated as of OpenSearch 2.0, use instead [DataMember(Name = "master_node")] public string MasterNode => State.Get("master_node"); + ///Introduced in OpenSearch 2.0 instead of + [DataMember(Name = "cluster_manager_node")] + public string ClusterManagerNode => State.Get("cluster_manager_node"); + [DataMember(Name = "state_uuid")] public string StateUUID => State.Get("state_uuid"); diff --git a/src/OpenSearch.Client/Cluster/ClusterStats/ClusterIndicesStats.cs b/src/OpenSearch.Client/Cluster/ClusterStats/ClusterIndicesStats.cs index 27a7dd28aa..6980995c13 100644 --- a/src/OpenSearch.Client/Cluster/ClusterStats/ClusterIndicesStats.cs +++ b/src/OpenSearch.Client/Cluster/ClusterStats/ClusterIndicesStats.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/ClusterStats/ClusterNodesStats.cs b/src/OpenSearch.Client/Cluster/ClusterStats/ClusterNodesStats.cs index 5cefeb7ddf..84b1b020c6 100644 --- a/src/OpenSearch.Client/Cluster/ClusterStats/ClusterNodesStats.cs +++ b/src/OpenSearch.Client/Cluster/ClusterStats/ClusterNodesStats.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * @@ -237,6 +238,10 @@ public class ClusterOperatingSystemName [DataContract] public class ClusterNodeCount { + ///Introduced in OpenSearch 2.0 instead of + [DataMember(Name = "cluster_manager")] + public int ClusterManager { get; internal set; } + [DataMember(Name = "coordinating_only")] public int CoordinatingOnly { get; internal set; } @@ -246,6 +251,7 @@ public class ClusterNodeCount [DataMember(Name = "ingest")] public int Ingest { get; internal set; } + ///Deprecated as of OpenSearch 2.0, use instead [DataMember(Name = "master")] public int Master { get; internal set; } diff --git a/src/OpenSearch.Client/Cluster/ClusterStats/ClusterStatsRequest.cs b/src/OpenSearch.Client/Cluster/ClusterStats/ClusterStatsRequest.cs index 5bd3f2cc44..ab8a9b11e5 100644 --- a/src/OpenSearch.Client/Cluster/ClusterStats/ClusterStatsRequest.cs +++ b/src/OpenSearch.Client/Cluster/ClusterStats/ClusterStatsRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/ClusterStats/ClusterStatsResponse.cs b/src/OpenSearch.Client/Cluster/ClusterStats/ClusterStatsResponse.cs index 7f28d18eb4..5060d7cd1a 100644 --- a/src/OpenSearch.Client/Cluster/ClusterStats/ClusterStatsResponse.cs +++ b/src/OpenSearch.Client/Cluster/ClusterStats/ClusterStatsResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/NodesHotThreads/NodeHotThreadsResponseBuilder.cs b/src/OpenSearch.Client/Cluster/NodesHotThreads/NodeHotThreadsResponseBuilder.cs index c8178ea316..487cac88bb 100644 --- a/src/OpenSearch.Client/Cluster/NodesHotThreads/NodeHotThreadsResponseBuilder.cs +++ b/src/OpenSearch.Client/Cluster/NodesHotThreads/NodeHotThreadsResponseBuilder.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/NodesHotThreads/NodesHotThreadsRequest.cs b/src/OpenSearch.Client/Cluster/NodesHotThreads/NodesHotThreadsRequest.cs index 8dd87121e4..879078a6f2 100644 --- a/src/OpenSearch.Client/Cluster/NodesHotThreads/NodesHotThreadsRequest.cs +++ b/src/OpenSearch.Client/Cluster/NodesHotThreads/NodesHotThreadsRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/NodesHotThreads/NodesHotThreadsResponse.cs b/src/OpenSearch.Client/Cluster/NodesHotThreads/NodesHotThreadsResponse.cs index 11c5571edc..129a1b5076 100644 --- a/src/OpenSearch.Client/Cluster/NodesHotThreads/NodesHotThreadsResponse.cs +++ b/src/OpenSearch.Client/Cluster/NodesHotThreads/NodesHotThreadsResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/NodesInfo/NodeInfo.cs b/src/OpenSearch.Client/Cluster/NodesInfo/NodeInfo.cs index ae90484c15..b9e1036831 100644 --- a/src/OpenSearch.Client/Cluster/NodesInfo/NodeInfo.cs +++ b/src/OpenSearch.Client/Cluster/NodesInfo/NodeInfo.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/NodesInfo/NodeRole.cs b/src/OpenSearch.Client/Cluster/NodesInfo/NodeRole.cs index c240f4cd86..f5b1a78e11 100644 --- a/src/OpenSearch.Client/Cluster/NodesInfo/NodeRole.cs +++ b/src/OpenSearch.Client/Cluster/NodesInfo/NodeRole.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * @@ -33,9 +34,14 @@ namespace OpenSearch.Client [StringEnum] public enum NodeRole { + ///Deprecated as of OpenSearch 2.0, use instead [EnumMember(Value = "master")] Master, + ///Introduced in OpenSearch 2.0 instead of + [EnumMember(Value = "cluster_manager")] + ClusterManager, + [EnumMember(Value = "data")] Data, diff --git a/src/OpenSearch.Client/Cluster/NodesInfo/NodesInfoRequest.cs b/src/OpenSearch.Client/Cluster/NodesInfo/NodesInfoRequest.cs index 56ef9a129a..2e18635946 100644 --- a/src/OpenSearch.Client/Cluster/NodesInfo/NodesInfoRequest.cs +++ b/src/OpenSearch.Client/Cluster/NodesInfo/NodesInfoRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/NodesInfo/NodesInfoResponse.cs b/src/OpenSearch.Client/Cluster/NodesInfo/NodesInfoResponse.cs index 71170cb69d..c837273e1c 100644 --- a/src/OpenSearch.Client/Cluster/NodesInfo/NodesInfoResponse.cs +++ b/src/OpenSearch.Client/Cluster/NodesInfo/NodesInfoResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/NodesResponseBase.cs b/src/OpenSearch.Client/Cluster/NodesResponseBase.cs index d3fd601da3..cbbf319268 100644 --- a/src/OpenSearch.Client/Cluster/NodesResponseBase.cs +++ b/src/OpenSearch.Client/Cluster/NodesResponseBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/NodesStats/AdaptiveSelectionStats.cs b/src/OpenSearch.Client/Cluster/NodesStats/AdaptiveSelectionStats.cs index eed9b9bd85..104d1c0c12 100644 --- a/src/OpenSearch.Client/Cluster/NodesStats/AdaptiveSelectionStats.cs +++ b/src/OpenSearch.Client/Cluster/NodesStats/AdaptiveSelectionStats.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/NodesStats/NodeStats.cs b/src/OpenSearch.Client/Cluster/NodesStats/NodeStats.cs index 9c8d5bd2a6..57ddb52b67 100644 --- a/src/OpenSearch.Client/Cluster/NodesStats/NodeStats.cs +++ b/src/OpenSearch.Client/Cluster/NodesStats/NodeStats.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/NodesStats/NodeStatsResponse.cs b/src/OpenSearch.Client/Cluster/NodesStats/NodeStatsResponse.cs index f1920a825d..68ad5da9c3 100644 --- a/src/OpenSearch.Client/Cluster/NodesStats/NodeStatsResponse.cs +++ b/src/OpenSearch.Client/Cluster/NodesStats/NodeStatsResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/NodesStats/NodesStatsRequest.cs b/src/OpenSearch.Client/Cluster/NodesStats/NodesStatsRequest.cs index 721b489fb2..b7d5b81fb2 100644 --- a/src/OpenSearch.Client/Cluster/NodesStats/NodesStatsRequest.cs +++ b/src/OpenSearch.Client/Cluster/NodesStats/NodesStatsRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/NodesStats/Statistics/IngestStats.cs b/src/OpenSearch.Client/Cluster/NodesStats/Statistics/IngestStats.cs index 332837aa57..561d3fcb83 100644 --- a/src/OpenSearch.Client/Cluster/NodesStats/Statistics/IngestStats.cs +++ b/src/OpenSearch.Client/Cluster/NodesStats/Statistics/IngestStats.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/NodesStats/Statistics/NodeIngestStats.cs b/src/OpenSearch.Client/Cluster/NodesStats/Statistics/NodeIngestStats.cs index 07739fa3b0..58795ce907 100644 --- a/src/OpenSearch.Client/Cluster/NodesStats/Statistics/NodeIngestStats.cs +++ b/src/OpenSearch.Client/Cluster/NodesStats/Statistics/NodeIngestStats.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/NodesUsage/NodeUsageInformation.cs b/src/OpenSearch.Client/Cluster/NodesUsage/NodeUsageInformation.cs index a62f73ab24..d37ec59244 100644 --- a/src/OpenSearch.Client/Cluster/NodesUsage/NodeUsageInformation.cs +++ b/src/OpenSearch.Client/Cluster/NodesUsage/NodeUsageInformation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/NodesUsage/NodeUsageResponse.cs b/src/OpenSearch.Client/Cluster/NodesUsage/NodeUsageResponse.cs index 5e32aa05e3..07baf93fc4 100644 --- a/src/OpenSearch.Client/Cluster/NodesUsage/NodeUsageResponse.cs +++ b/src/OpenSearch.Client/Cluster/NodesUsage/NodeUsageResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/NodesUsage/NodesUsageRequest.cs b/src/OpenSearch.Client/Cluster/NodesUsage/NodesUsageRequest.cs index a4c6ccda58..6e8507f3c3 100644 --- a/src/OpenSearch.Client/Cluster/NodesUsage/NodesUsageRequest.cs +++ b/src/OpenSearch.Client/Cluster/NodesUsage/NodesUsageRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/Ping/PingRequest.cs b/src/OpenSearch.Client/Cluster/Ping/PingRequest.cs index 1f0e7d1cda..8bb477b478 100644 --- a/src/OpenSearch.Client/Cluster/Ping/PingRequest.cs +++ b/src/OpenSearch.Client/Cluster/Ping/PingRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/Ping/PingResponse.cs b/src/OpenSearch.Client/Cluster/Ping/PingResponse.cs index cdb52ccbe7..38ba92805a 100644 --- a/src/OpenSearch.Client/Cluster/Ping/PingResponse.cs +++ b/src/OpenSearch.Client/Cluster/Ping/PingResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/ReloadSecureSettings/ReloadSecureSettingsRequest.cs b/src/OpenSearch.Client/Cluster/ReloadSecureSettings/ReloadSecureSettingsRequest.cs index 7c1b383cbd..727e7f7f4f 100644 --- a/src/OpenSearch.Client/Cluster/ReloadSecureSettings/ReloadSecureSettingsRequest.cs +++ b/src/OpenSearch.Client/Cluster/ReloadSecureSettings/ReloadSecureSettingsRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/ReloadSecureSettings/ReloadSecureSettingsResponse.cs b/src/OpenSearch.Client/Cluster/ReloadSecureSettings/ReloadSecureSettingsResponse.cs index fd8af32c86..f201ab39c2 100644 --- a/src/OpenSearch.Client/Cluster/ReloadSecureSettings/ReloadSecureSettingsResponse.cs +++ b/src/OpenSearch.Client/Cluster/ReloadSecureSettings/ReloadSecureSettingsResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/RemoteInfo/RemoteInfoRequest.cs b/src/OpenSearch.Client/Cluster/RemoteInfo/RemoteInfoRequest.cs index 697bf4a2cc..0d24563259 100644 --- a/src/OpenSearch.Client/Cluster/RemoteInfo/RemoteInfoRequest.cs +++ b/src/OpenSearch.Client/Cluster/RemoteInfo/RemoteInfoRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/RemoteInfo/RemoteInfoResponse.cs b/src/OpenSearch.Client/Cluster/RemoteInfo/RemoteInfoResponse.cs index 4c950a036a..db40a158c9 100644 --- a/src/OpenSearch.Client/Cluster/RemoteInfo/RemoteInfoResponse.cs +++ b/src/OpenSearch.Client/Cluster/RemoteInfo/RemoteInfoResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/RootNodeInfo/RootNodeInfoRequest.cs b/src/OpenSearch.Client/Cluster/RootNodeInfo/RootNodeInfoRequest.cs index d01874cbd0..e4a492e4cb 100644 --- a/src/OpenSearch.Client/Cluster/RootNodeInfo/RootNodeInfoRequest.cs +++ b/src/OpenSearch.Client/Cluster/RootNodeInfo/RootNodeInfoRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/RootNodeInfo/RootVersionInfoResponse.cs b/src/OpenSearch.Client/Cluster/RootNodeInfo/RootVersionInfoResponse.cs index 97e9934fc3..64f9225cf0 100644 --- a/src/OpenSearch.Client/Cluster/RootNodeInfo/RootVersionInfoResponse.cs +++ b/src/OpenSearch.Client/Cluster/RootNodeInfo/RootVersionInfoResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/TaskManagement/CancelTasks/CancelTasksRequest.cs b/src/OpenSearch.Client/Cluster/TaskManagement/CancelTasks/CancelTasksRequest.cs index 633b0e2a8b..a4fa1c4f50 100644 --- a/src/OpenSearch.Client/Cluster/TaskManagement/CancelTasks/CancelTasksRequest.cs +++ b/src/OpenSearch.Client/Cluster/TaskManagement/CancelTasks/CancelTasksRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/TaskManagement/CancelTasks/CancelTasksResponse.cs b/src/OpenSearch.Client/Cluster/TaskManagement/CancelTasks/CancelTasksResponse.cs index cecacf053d..f6489291d0 100644 --- a/src/OpenSearch.Client/Cluster/TaskManagement/CancelTasks/CancelTasksResponse.cs +++ b/src/OpenSearch.Client/Cluster/TaskManagement/CancelTasks/CancelTasksResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/TaskManagement/GetTask/GetTaskRequest.cs b/src/OpenSearch.Client/Cluster/TaskManagement/GetTask/GetTaskRequest.cs index 454acfe6ab..3796c1a3fa 100644 --- a/src/OpenSearch.Client/Cluster/TaskManagement/GetTask/GetTaskRequest.cs +++ b/src/OpenSearch.Client/Cluster/TaskManagement/GetTask/GetTaskRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/TaskManagement/GetTask/GetTaskResponse.cs b/src/OpenSearch.Client/Cluster/TaskManagement/GetTask/GetTaskResponse.cs index 57237f1400..32500c55d7 100644 --- a/src/OpenSearch.Client/Cluster/TaskManagement/GetTask/GetTaskResponse.cs +++ b/src/OpenSearch.Client/Cluster/TaskManagement/GetTask/GetTaskResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/TaskManagement/GetTask/TaskInfo.cs b/src/OpenSearch.Client/Cluster/TaskManagement/GetTask/TaskInfo.cs index a702f0ca0c..fd541ca607 100644 --- a/src/OpenSearch.Client/Cluster/TaskManagement/GetTask/TaskInfo.cs +++ b/src/OpenSearch.Client/Cluster/TaskManagement/GetTask/TaskInfo.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/TaskManagement/ListTasks/ListTasksRequest.cs b/src/OpenSearch.Client/Cluster/TaskManagement/ListTasks/ListTasksRequest.cs index 984909a114..867892b012 100644 --- a/src/OpenSearch.Client/Cluster/TaskManagement/ListTasks/ListTasksRequest.cs +++ b/src/OpenSearch.Client/Cluster/TaskManagement/ListTasks/ListTasksRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/TaskManagement/ListTasks/ListTasksResponse.cs b/src/OpenSearch.Client/Cluster/TaskManagement/ListTasks/ListTasksResponse.cs index 61b2ccf62c..8ca8651b41 100644 --- a/src/OpenSearch.Client/Cluster/TaskManagement/ListTasks/ListTasksResponse.cs +++ b/src/OpenSearch.Client/Cluster/TaskManagement/ListTasks/ListTasksResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/VotingConfigExclusions/DeleteVotingConfigExclusions/DeleteVotingConfigExclusionsRequest.cs b/src/OpenSearch.Client/Cluster/VotingConfigExclusions/DeleteVotingConfigExclusions/DeleteVotingConfigExclusionsRequest.cs index 28dbfc7a83..b9f90a854a 100644 --- a/src/OpenSearch.Client/Cluster/VotingConfigExclusions/DeleteVotingConfigExclusions/DeleteVotingConfigExclusionsRequest.cs +++ b/src/OpenSearch.Client/Cluster/VotingConfigExclusions/DeleteVotingConfigExclusions/DeleteVotingConfigExclusionsRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/VotingConfigExclusions/DeleteVotingConfigExclusions/DeleteVotingConfigExclusionsResponse.cs b/src/OpenSearch.Client/Cluster/VotingConfigExclusions/DeleteVotingConfigExclusions/DeleteVotingConfigExclusionsResponse.cs index 779f0e28c3..a4fb89a698 100644 --- a/src/OpenSearch.Client/Cluster/VotingConfigExclusions/DeleteVotingConfigExclusions/DeleteVotingConfigExclusionsResponse.cs +++ b/src/OpenSearch.Client/Cluster/VotingConfigExclusions/DeleteVotingConfigExclusions/DeleteVotingConfigExclusionsResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/VotingConfigExclusions/PostVotingConfigExclusions/PostVotingConfigExclusionsRequest.cs b/src/OpenSearch.Client/Cluster/VotingConfigExclusions/PostVotingConfigExclusions/PostVotingConfigExclusionsRequest.cs index 0dd1c87b3b..fee6b41c37 100644 --- a/src/OpenSearch.Client/Cluster/VotingConfigExclusions/PostVotingConfigExclusions/PostVotingConfigExclusionsRequest.cs +++ b/src/OpenSearch.Client/Cluster/VotingConfigExclusions/PostVotingConfigExclusions/PostVotingConfigExclusionsRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Cluster/VotingConfigExclusions/PostVotingConfigExclusions/PostVotingConfigExclusionsResponse.cs b/src/OpenSearch.Client/Cluster/VotingConfigExclusions/PostVotingConfigExclusions/PostVotingConfigExclusionsResponse.cs index 4be13409a1..48c31f3506 100644 --- a/src/OpenSearch.Client/Cluster/VotingConfigExclusions/PostVotingConfigExclusions/PostVotingConfigExclusionsResponse.cs +++ b/src/OpenSearch.Client/Cluster/VotingConfigExclusions/PostVotingConfigExclusions/PostVotingConfigExclusionsResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/ConnectionSettings/ClrPropertyMapping.cs b/src/OpenSearch.Client/CommonAbstractions/ConnectionSettings/ClrPropertyMapping.cs index 570da1aff9..8f3295c998 100644 --- a/src/OpenSearch.Client/CommonAbstractions/ConnectionSettings/ClrPropertyMapping.cs +++ b/src/OpenSearch.Client/CommonAbstractions/ConnectionSettings/ClrPropertyMapping.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/ConnectionSettings/ClrTypeDefaults.cs b/src/OpenSearch.Client/CommonAbstractions/ConnectionSettings/ClrTypeDefaults.cs index 939af28d97..6415830a86 100644 --- a/src/OpenSearch.Client/CommonAbstractions/ConnectionSettings/ClrTypeDefaults.cs +++ b/src/OpenSearch.Client/CommonAbstractions/ConnectionSettings/ClrTypeDefaults.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/ConnectionSettings/ConnectionSettingsBase.cs b/src/OpenSearch.Client/CommonAbstractions/ConnectionSettings/ConnectionSettingsBase.cs index bb8395a8c3..db7985cb48 100644 --- a/src/OpenSearch.Client/CommonAbstractions/ConnectionSettings/ConnectionSettingsBase.cs +++ b/src/OpenSearch.Client/CommonAbstractions/ConnectionSettings/ConnectionSettingsBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/ConnectionSettings/IConnectionSettingsValues.cs b/src/OpenSearch.Client/CommonAbstractions/ConnectionSettings/IConnectionSettingsValues.cs index 1c976afb10..a8b0fb3f71 100644 --- a/src/OpenSearch.Client/CommonAbstractions/ConnectionSettings/IConnectionSettingsValues.cs +++ b/src/OpenSearch.Client/CommonAbstractions/ConnectionSettings/IConnectionSettingsValues.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/ConnectionSettings/MemberInfoResolver.cs b/src/OpenSearch.Client/CommonAbstractions/ConnectionSettings/MemberInfoResolver.cs index 7e871d5622..86c8d3f5bc 100644 --- a/src/OpenSearch.Client/CommonAbstractions/ConnectionSettings/MemberInfoResolver.cs +++ b/src/OpenSearch.Client/CommonAbstractions/ConnectionSettings/MemberInfoResolver.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/DictionaryLike/IsADictionary/IIsADictionary.cs b/src/OpenSearch.Client/CommonAbstractions/DictionaryLike/IsADictionary/IIsADictionary.cs index 365931e691..6169cd365b 100644 --- a/src/OpenSearch.Client/CommonAbstractions/DictionaryLike/IsADictionary/IIsADictionary.cs +++ b/src/OpenSearch.Client/CommonAbstractions/DictionaryLike/IsADictionary/IIsADictionary.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/DictionaryLike/IsADictionary/IsADictionaryBase.cs b/src/OpenSearch.Client/CommonAbstractions/DictionaryLike/IsADictionary/IsADictionaryBase.cs index cfcdbcda8a..6a03bec6b4 100644 --- a/src/OpenSearch.Client/CommonAbstractions/DictionaryLike/IsADictionary/IsADictionaryBase.cs +++ b/src/OpenSearch.Client/CommonAbstractions/DictionaryLike/IsADictionary/IsADictionaryBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/DictionaryLike/IsADictionary/IsADictionaryDescriptorBase.cs b/src/OpenSearch.Client/CommonAbstractions/DictionaryLike/IsADictionary/IsADictionaryDescriptorBase.cs index 15d876db47..510966821b 100644 --- a/src/OpenSearch.Client/CommonAbstractions/DictionaryLike/IsADictionary/IsADictionaryDescriptorBase.cs +++ b/src/OpenSearch.Client/CommonAbstractions/DictionaryLike/IsADictionary/IsADictionaryDescriptorBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/DictionaryLike/IsAReadOnlyDictionary/IIsAReadOnlyDictionary.cs b/src/OpenSearch.Client/CommonAbstractions/DictionaryLike/IsAReadOnlyDictionary/IIsAReadOnlyDictionary.cs index e6138fdd04..2662307620 100644 --- a/src/OpenSearch.Client/CommonAbstractions/DictionaryLike/IsAReadOnlyDictionary/IIsAReadOnlyDictionary.cs +++ b/src/OpenSearch.Client/CommonAbstractions/DictionaryLike/IsAReadOnlyDictionary/IIsAReadOnlyDictionary.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/DictionaryLike/IsAReadOnlyDictionary/IsADictionaryBase.cs b/src/OpenSearch.Client/CommonAbstractions/DictionaryLike/IsAReadOnlyDictionary/IsADictionaryBase.cs index 7f16821bc1..98be3d8909 100644 --- a/src/OpenSearch.Client/CommonAbstractions/DictionaryLike/IsAReadOnlyDictionary/IsADictionaryBase.cs +++ b/src/OpenSearch.Client/CommonAbstractions/DictionaryLike/IsAReadOnlyDictionary/IsADictionaryBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/DictionaryLike/PerFieldAnalyzer/PerFieldAnalyzer.cs b/src/OpenSearch.Client/CommonAbstractions/DictionaryLike/PerFieldAnalyzer/PerFieldAnalyzer.cs index 5d68c52b13..93c540de49 100644 --- a/src/OpenSearch.Client/CommonAbstractions/DictionaryLike/PerFieldAnalyzer/PerFieldAnalyzer.cs +++ b/src/OpenSearch.Client/CommonAbstractions/DictionaryLike/PerFieldAnalyzer/PerFieldAnalyzer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Extensions/ExceptionExtensions.cs b/src/OpenSearch.Client/CommonAbstractions/Extensions/ExceptionExtensions.cs index 544c501eb9..3831da9985 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Extensions/ExceptionExtensions.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Extensions/ExceptionExtensions.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Extensions/ExpressionExtensions.cs b/src/OpenSearch.Client/CommonAbstractions/Extensions/ExpressionExtensions.cs index 7c9ed2948f..9fab697944 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Extensions/ExpressionExtensions.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Extensions/ExpressionExtensions.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Extensions/Extensions.cs b/src/OpenSearch.Client/CommonAbstractions/Extensions/Extensions.cs index 38c7d49156..2e9e7bebde 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Extensions/Extensions.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Extensions/Extensions.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Extensions/StringExtensions.cs b/src/OpenSearch.Client/CommonAbstractions/Extensions/StringExtensions.cs index 26707f4fec..5623804aba 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Extensions/StringExtensions.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Extensions/StringExtensions.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Extensions/SuffixExtensions.cs b/src/OpenSearch.Client/CommonAbstractions/Extensions/SuffixExtensions.cs index 6b0fca6067..01453ebfdc 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Extensions/SuffixExtensions.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Extensions/SuffixExtensions.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Extensions/TypeExtensions.cs b/src/OpenSearch.Client/CommonAbstractions/Extensions/TypeExtensions.cs index d7462d8421..cddd306361 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Extensions/TypeExtensions.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Extensions/TypeExtensions.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Fields/FieldValues.cs b/src/OpenSearch.Client/CommonAbstractions/Fields/FieldValues.cs index 349cc5d230..a582dc18e3 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Fields/FieldValues.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Fields/FieldValues.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Fields/FieldValuesFormatter.cs b/src/OpenSearch.Client/CommonAbstractions/Fields/FieldValuesFormatter.cs index 25160e96ff..b078ca5acf 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Fields/FieldValuesFormatter.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Fields/FieldValuesFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Fluent/DescriptorBase.cs b/src/OpenSearch.Client/CommonAbstractions/Fluent/DescriptorBase.cs index 467a7ef9ab..b3df59cd2a 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Fluent/DescriptorBase.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Fluent/DescriptorBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Fluent/Fluent.cs b/src/OpenSearch.Client/CommonAbstractions/Fluent/Fluent.cs index d004087478..c2da49521d 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Fluent/Fluent.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Fluent/Fluent.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Fluent/FluentDictionary.cs b/src/OpenSearch.Client/CommonAbstractions/Fluent/FluentDictionary.cs index 847b61df8f..e33de85c94 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Fluent/FluentDictionary.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Fluent/FluentDictionary.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Fluent/Promise/DescriptorPromiseBase.cs b/src/OpenSearch.Client/CommonAbstractions/Fluent/Promise/DescriptorPromiseBase.cs index f8cde3db1e..b4107f8137 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Fluent/Promise/DescriptorPromiseBase.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Fluent/Promise/DescriptorPromiseBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Fluent/SelectorBase.cs b/src/OpenSearch.Client/CommonAbstractions/Fluent/SelectorBase.cs index 2ee5220e78..adea0db63a 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Fluent/SelectorBase.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Fluent/SelectorBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/ForAttribute.cs b/src/OpenSearch.Client/CommonAbstractions/ForAttribute.cs index efd541e32c..2c74a1ea80 100644 --- a/src/OpenSearch.Client/CommonAbstractions/ForAttribute.cs +++ b/src/OpenSearch.Client/CommonAbstractions/ForAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/DocumentPath/DocumentPath.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/DocumentPath/DocumentPath.cs index 6bbba689cf..bea6839935 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/DocumentPath/DocumentPath.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/DocumentPath/DocumentPath.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/Field/Field.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/Field/Field.cs index 75231fddd4..84fe168bac 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/Field/Field.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/Field/Field.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/Field/FieldExpressionVisitor.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/Field/FieldExpressionVisitor.cs index 20d5676d18..3532b2e461 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/Field/FieldExpressionVisitor.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/Field/FieldExpressionVisitor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/Field/FieldExtensions.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/Field/FieldExtensions.cs index c174efd980..fdc8cd634e 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/Field/FieldExtensions.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/Field/FieldExtensions.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/Field/FieldFormatter.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/Field/FieldFormatter.cs index 6f68c0c7ba..bf20027737 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/Field/FieldFormatter.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/Field/FieldFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/Field/FieldResolver.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/Field/FieldResolver.cs index 16449c8068..1c084332b9 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/Field/FieldResolver.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/Field/FieldResolver.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/Field/ToStringExpressionVisitor.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/Field/ToStringExpressionVisitor.cs index 90324cb81d..4e3d1d8450 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/Field/ToStringExpressionVisitor.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/Field/ToStringExpressionVisitor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/Fields/Fields.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/Fields/Fields.cs index 699039d607..523976e9d6 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/Fields/Fields.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/Fields/Fields.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/Fields/FieldsDescriptor.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/Fields/FieldsDescriptor.cs index c415436dba..c96fae999e 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/Fields/FieldsDescriptor.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/Fields/FieldsDescriptor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/Fields/FieldsFormatter.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/Fields/FieldsFormatter.cs index d4c136d508..846b06d20b 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/Fields/FieldsFormatter.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/Fields/FieldsFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/Id/Id.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/Id/Id.cs index 14c42f0fe4..6928014fa8 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/Id/Id.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/Id/Id.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/Id/IdExtensions.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/Id/IdExtensions.cs index 35b9fbd806..0a09e81e63 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/Id/IdExtensions.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/Id/IdExtensions.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/Id/IdFormatter.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/Id/IdFormatter.cs index 839b420da3..8cfc293c17 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/Id/IdFormatter.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/Id/IdFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/Id/IdResolver.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/Id/IdResolver.cs index 3ff953cd97..0df0812efb 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/Id/IdResolver.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/Id/IdResolver.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/Id/Ids.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/Id/Ids.cs index e057b8456c..f76d3ed2f5 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/Id/Ids.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/Id/Ids.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/IndexName/IndexName.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/IndexName/IndexName.cs index 9d971c6376..2bec4c129c 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/IndexName/IndexName.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/IndexName/IndexName.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/IndexName/IndexNameExtensions.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/IndexName/IndexNameExtensions.cs index 0c532c5fd8..80e236e106 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/IndexName/IndexNameExtensions.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/IndexName/IndexNameExtensions.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/IndexName/IndexNameFormatter.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/IndexName/IndexNameFormatter.cs index 9d27e98156..95b490022e 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/IndexName/IndexNameFormatter.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/IndexName/IndexNameFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/IndexName/IndexNameResolver.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/IndexName/IndexNameResolver.cs index 008b080dfc..48c36d0eaa 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/IndexName/IndexNameResolver.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/IndexName/IndexNameResolver.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/IndexUuid/IndexUuid.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/IndexUuid/IndexUuid.cs index 885380f117..e14ad40175 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/IndexUuid/IndexUuid.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/IndexUuid/IndexUuid.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/Indices/Indices.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/Indices/Indices.cs index d62c218a5d..714f43b474 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/Indices/Indices.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/Indices/Indices.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/Indices/IndicesExtensions.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/Indices/IndicesExtensions.cs index 739f11906a..6374cb9276 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/Indices/IndicesExtensions.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/Indices/IndicesExtensions.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/Indices/IndicesFormatter.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/Indices/IndicesFormatter.cs index 0a387641ec..41461047fb 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/Indices/IndicesFormatter.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/Indices/IndicesFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/Indices/IndicesMultiSyntaxFormatter.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/Indices/IndicesMultiSyntaxFormatter.cs index ee2066afa9..b13e6529e9 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/Indices/IndicesMultiSyntaxFormatter.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/Indices/IndicesMultiSyntaxFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/Inferrer.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/Inferrer.cs index 30ef3e2e49..c65fb42029 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/Inferrer.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/Inferrer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/JoinFieldRouting/Routing.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/JoinFieldRouting/Routing.cs index 030807edfd..7bac3d1cbe 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/JoinFieldRouting/Routing.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/JoinFieldRouting/Routing.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/JoinFieldRouting/RoutingFormatter.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/JoinFieldRouting/RoutingFormatter.cs index 3b4e9fbd00..5a4208f3c7 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/JoinFieldRouting/RoutingFormatter.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/JoinFieldRouting/RoutingFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/JoinFieldRouting/RoutingResolver.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/JoinFieldRouting/RoutingResolver.cs index c6e1bf7ac8..d624649ae0 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/JoinFieldRouting/RoutingResolver.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/JoinFieldRouting/RoutingResolver.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/LongId/LongId.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/LongId/LongId.cs index 7708e20449..6c4ef7d59d 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/LongId/LongId.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/LongId/LongId.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/Metrics/IndexMetrics.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/Metrics/IndexMetrics.cs index f60c3879a1..4024bbd497 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/Metrics/IndexMetrics.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/Metrics/IndexMetrics.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/Metrics/Metrics.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/Metrics/Metrics.cs index 3220d4a8d3..91696fb528 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/Metrics/Metrics.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/Metrics/Metrics.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/Name/Name.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/Name/Name.cs index 3868511e97..7ca71cf886 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/Name/Name.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/Name/Name.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/Name/Names.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/Name/Names.cs index 2588005840..19c18a0fc6 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/Name/Names.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/Name/Names.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/NodeId/NodeIds.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/NodeId/NodeIds.cs index 6749c323d5..7169996364 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/NodeId/NodeIds.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/NodeId/NodeIds.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/PropertyName/PropertyName.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/PropertyName/PropertyName.cs index 3045716300..63ad608954 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/PropertyName/PropertyName.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/PropertyName/PropertyName.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/PropertyName/PropertyNameExtensions.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/PropertyName/PropertyNameExtensions.cs index a35e7276cb..9568713b73 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/PropertyName/PropertyNameExtensions.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/PropertyName/PropertyNameExtensions.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/PropertyName/PropertyNameFormatter.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/PropertyName/PropertyNameFormatter.cs index 6538f58d87..bcdca3c39d 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/PropertyName/PropertyNameFormatter.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/PropertyName/PropertyNameFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/RelationName/RelationName.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/RelationName/RelationName.cs index c082215d3f..956f700f30 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/RelationName/RelationName.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/RelationName/RelationName.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/RelationName/RelationNameExtensions.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/RelationName/RelationNameExtensions.cs index 80bdee3aa5..a384735a99 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/RelationName/RelationNameExtensions.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/RelationName/RelationNameExtensions.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/RelationName/RelationNameFormatter.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/RelationName/RelationNameFormatter.cs index ad6039f221..48dd5d50cd 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/RelationName/RelationNameFormatter.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/RelationName/RelationNameFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/RelationName/RelationNameResolver.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/RelationName/RelationNameResolver.cs index 9f878a775d..a87b68eb8d 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/RelationName/RelationNameResolver.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/RelationName/RelationNameResolver.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/TaskId/TaskId.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/TaskId/TaskId.cs index 96084bad82..6c39af2fde 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/TaskId/TaskId.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/TaskId/TaskId.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Infer/Timestamp/Timestamp.cs b/src/OpenSearch.Client/CommonAbstractions/Infer/Timestamp/Timestamp.cs index 2acba1464f..fe866c44ef 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Infer/Timestamp/Timestamp.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Infer/Timestamp/Timestamp.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/LazyDocument/LazyDocument.cs b/src/OpenSearch.Client/CommonAbstractions/LazyDocument/LazyDocument.cs index 0c96cc595c..814d13fb86 100644 --- a/src/OpenSearch.Client/CommonAbstractions/LazyDocument/LazyDocument.cs +++ b/src/OpenSearch.Client/CommonAbstractions/LazyDocument/LazyDocument.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/LazyDocument/LazyDocumentFormatter.cs b/src/OpenSearch.Client/CommonAbstractions/LazyDocument/LazyDocumentFormatter.cs index 6ee841a41b..bf081a8455 100644 --- a/src/OpenSearch.Client/CommonAbstractions/LazyDocument/LazyDocumentFormatter.cs +++ b/src/OpenSearch.Client/CommonAbstractions/LazyDocument/LazyDocumentFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Reactive/BlockingSubscribeExtensions.cs b/src/OpenSearch.Client/CommonAbstractions/Reactive/BlockingSubscribeExtensions.cs index 5a1f642d76..d22e119e81 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Reactive/BlockingSubscribeExtensions.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Reactive/BlockingSubscribeExtensions.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Reactive/CoordinatedRequestObserverBase.cs b/src/OpenSearch.Client/CommonAbstractions/Reactive/CoordinatedRequestObserverBase.cs index 7f74e79c42..56ed31dd07 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Reactive/CoordinatedRequestObserverBase.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Reactive/CoordinatedRequestObserverBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Reactive/GetEnumerator.cs b/src/OpenSearch.Client/CommonAbstractions/Reactive/GetEnumerator.cs index ca0bf814c0..e2fd8a2145 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Reactive/GetEnumerator.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Reactive/GetEnumerator.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Reactive/PartitionHelper.cs b/src/OpenSearch.Client/CommonAbstractions/Reactive/PartitionHelper.cs index 19a7d82949..c4d5fa7460 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Reactive/PartitionHelper.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Reactive/PartitionHelper.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Reactive/ProducerConsumerBackPressure.cs b/src/OpenSearch.Client/CommonAbstractions/Reactive/ProducerConsumerBackPressure.cs index bde7c4c474..dd657f0e32 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Reactive/ProducerConsumerBackPressure.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Reactive/ProducerConsumerBackPressure.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Request/ApiUrls.cs b/src/OpenSearch.Client/CommonAbstractions/Request/ApiUrls.cs index 57c674fe49..eb4cc00a4b 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Request/ApiUrls.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Request/ApiUrls.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Request/IProxyRequest.cs b/src/OpenSearch.Client/CommonAbstractions/Request/IProxyRequest.cs index 63bd2971ae..bc7849edf1 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Request/IProxyRequest.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Request/IProxyRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Request/RequestBase.cs b/src/OpenSearch.Client/CommonAbstractions/Request/RequestBase.cs index 16c69a6101..71fdef0627 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Request/RequestBase.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Request/RequestBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Request/RouteValues.cs b/src/OpenSearch.Client/CommonAbstractions/Request/RouteValues.cs index af8c1a5660..9ae11a7b58 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Request/RouteValues.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Request/RouteValues.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Request/UrlLookup.cs b/src/OpenSearch.Client/CommonAbstractions/Request/UrlLookup.cs index 06576f1d44..58670fb6bb 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Request/UrlLookup.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Request/UrlLookup.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Response/AcknowledgedResponseBase.cs b/src/OpenSearch.Client/CommonAbstractions/Response/AcknowledgedResponseBase.cs index ea74967cc9..3a803716ae 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Response/AcknowledgedResponseBase.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Response/AcknowledgedResponseBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Response/DictionaryResponseBase.cs b/src/OpenSearch.Client/CommonAbstractions/Response/DictionaryResponseBase.cs index e971bdb1eb..2977026991 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Response/DictionaryResponseBase.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Response/DictionaryResponseBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Response/DynamicResponseBase.cs b/src/OpenSearch.Client/CommonAbstractions/Response/DynamicResponseBase.cs index 8fe14fac6d..87e69c2239 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Response/DynamicResponseBase.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Response/DynamicResponseBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Response/IndicesResponseBase.cs b/src/OpenSearch.Client/CommonAbstractions/Response/IndicesResponseBase.cs index e11214731d..12125579f1 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Response/IndicesResponseBase.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Response/IndicesResponseBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Response/OpenSearchVersionInfo.cs b/src/OpenSearch.Client/CommonAbstractions/Response/OpenSearchVersionInfo.cs index 853366e2cd..c7451a8e38 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Response/OpenSearchVersionInfo.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Response/OpenSearchVersionInfo.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Response/ResolvableDictionaryProxy.cs b/src/OpenSearch.Client/CommonAbstractions/Response/ResolvableDictionaryProxy.cs index b217ab38aa..34a2c74489 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Response/ResolvableDictionaryProxy.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Response/ResolvableDictionaryProxy.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Response/ResponseBase.cs b/src/OpenSearch.Client/CommonAbstractions/Response/ResponseBase.cs index a9dbb07ce0..83bcc90a3f 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Response/ResponseBase.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Response/ResponseBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Response/ShardsOperationResponseBase.cs b/src/OpenSearch.Client/CommonAbstractions/Response/ShardsOperationResponseBase.cs index 8647a7795d..a4cd5b69cf 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Response/ShardsOperationResponseBase.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Response/ShardsOperationResponseBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/Attributes/EpochDateTimeAttribute.cs b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/Attributes/EpochDateTimeAttribute.cs index c2ec94666c..ac33479356 100644 --- a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/Attributes/EpochDateTimeAttribute.cs +++ b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/Attributes/EpochDateTimeAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/Attributes/IgnoreAttribute.cs b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/Attributes/IgnoreAttribute.cs index 34ea5e8058..15a4488785 100644 --- a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/Attributes/IgnoreAttribute.cs +++ b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/Attributes/IgnoreAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/Attributes/PropertyNameAttribute.cs b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/Attributes/PropertyNameAttribute.cs index 6aacc6a1ac..18f08c7f3f 100644 --- a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/Attributes/PropertyNameAttribute.cs +++ b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/Attributes/PropertyNameAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/Attributes/StringTimeSpanAttribute.cs b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/Attributes/StringTimeSpanAttribute.cs index 5e466fa658..c25962b1db 100644 --- a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/Attributes/StringTimeSpanAttribute.cs +++ b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/Attributes/StringTimeSpanAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/DefaultHighLevelSerializer.cs b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/DefaultHighLevelSerializer.cs index f144babeb9..ef2d6d2f93 100644 --- a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/DefaultHighLevelSerializer.cs +++ b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/DefaultHighLevelSerializer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/CompositeFormatter.cs b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/CompositeFormatter.cs index fae35a2ca7..686a391f0a 100644 --- a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/CompositeFormatter.cs +++ b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/CompositeFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/DateTimeEpochMillisecondsFormatter.cs b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/DateTimeEpochMillisecondsFormatter.cs index a19d344ee6..4ff4f6ccd1 100644 --- a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/DateTimeEpochMillisecondsFormatter.cs +++ b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/DateTimeEpochMillisecondsFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/DateTimeOffsetEpochMillisecondsFormatter.cs b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/DateTimeOffsetEpochMillisecondsFormatter.cs index 30be08c812..356a0d322c 100644 --- a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/DateTimeOffsetEpochMillisecondsFormatter.cs +++ b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/DateTimeOffsetEpochMillisecondsFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/IndicesBoostFormatter.cs b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/IndicesBoostFormatter.cs index c353c6494e..ace68b609c 100644 --- a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/IndicesBoostFormatter.cs +++ b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/IndicesBoostFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/IntStringFormatter.cs b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/IntStringFormatter.cs index ce800442d9..fd13c671ee 100644 --- a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/IntStringFormatter.cs +++ b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/IntStringFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/InterfaceGenericDictionaryResolver.cs b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/InterfaceGenericDictionaryResolver.cs index 916446e843..97c8aebaeb 100644 --- a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/InterfaceGenericDictionaryResolver.cs +++ b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/InterfaceGenericDictionaryResolver.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/IsADictionaryFormatterResolver.cs b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/IsADictionaryFormatterResolver.cs index 1164f3c894..2f00e98b72 100644 --- a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/IsADictionaryFormatterResolver.cs +++ b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/IsADictionaryFormatterResolver.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/JsonFormatterResolverExtensions.cs b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/JsonFormatterResolverExtensions.cs index 12cf74a114..57465454f3 100644 --- a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/JsonFormatterResolverExtensions.cs +++ b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/JsonFormatterResolverExtensions.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/JsonNetCompatibleUriFormatter.cs b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/JsonNetCompatibleUriFormatter.cs index 1fc68f1c1f..4872ee821d 100644 --- a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/JsonNetCompatibleUriFormatter.cs +++ b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/JsonNetCompatibleUriFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/NullableDateTimeOffsetEpochSecondsFormatter.cs b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/NullableDateTimeOffsetEpochSecondsFormatter.cs index 04dca8f8e8..fe383f07d9 100644 --- a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/NullableDateTimeOffsetEpochSecondsFormatter.cs +++ b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/NullableDateTimeOffsetEpochSecondsFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/NullableStringBooleanFormatter.cs b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/NullableStringBooleanFormatter.cs index c24295c384..c1d89148cb 100644 --- a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/NullableStringBooleanFormatter.cs +++ b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/NullableStringBooleanFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/NullableTimeSpanTicksFormatter.cs b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/NullableTimeSpanTicksFormatter.cs index 6c5882f9b3..b4f8722c00 100644 --- a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/NullableTimeSpanTicksFormatter.cs +++ b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/NullableTimeSpanTicksFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/OpenSearchClientFormatterResolver.cs b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/OpenSearchClientFormatterResolver.cs index 3c6a193050..fe8f3fcb18 100644 --- a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/OpenSearchClientFormatterResolver.cs +++ b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/OpenSearchClientFormatterResolver.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/ProxyRequestFormatterBase.cs b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/ProxyRequestFormatterBase.cs index dd4b28fcb6..bddaea2fc7 100644 --- a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/ProxyRequestFormatterBase.cs +++ b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/ProxyRequestFormatterBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/ReadAsAttribute.cs b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/ReadAsAttribute.cs index 503041a04f..a2c0f9dbf9 100644 --- a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/ReadAsAttribute.cs +++ b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/ReadAsAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/ReadAsFormatterResolver.cs b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/ReadAsFormatterResolver.cs index fa0eda4d55..fd62b23a8d 100644 --- a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/ReadAsFormatterResolver.cs +++ b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/ReadAsFormatterResolver.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/SingleOrEnumerableFormatter.cs b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/SingleOrEnumerableFormatter.cs index 477df9ed2b..ac708f8f0d 100644 --- a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/SingleOrEnumerableFormatter.cs +++ b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/SingleOrEnumerableFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * @@ -54,7 +55,7 @@ public void Serialize(ref JsonWriter writer, IEnumerable value, IJsonFormatte } // TODO investigate this is really needed - // only used in one place and on master this is already gone + // only used in one place and on main branch this is already gone internal class SerializeAsSingleFormatter : IJsonFormatter> { public IEnumerable Deserialize(ref JsonReader reader, IJsonFormatterResolver formatterResolver) diff --git a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/SortOrderFormatter.cs b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/SortOrderFormatter.cs index cd683a2624..694559da0f 100644 --- a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/SortOrderFormatter.cs +++ b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/SortOrderFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/SourceFormatter.cs b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/SourceFormatter.cs index e54c5c145e..8cd6891468 100644 --- a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/SourceFormatter.cs +++ b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/SourceFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/TimeSpanTicksFormatter.cs b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/TimeSpanTicksFormatter.cs index 3d0d8f1127..89cdf90133 100644 --- a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/TimeSpanTicksFormatter.cs +++ b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/TimeSpanTicksFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/UnionListFormatter.cs b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/UnionListFormatter.cs index e8f0b21614..0476a3d74b 100644 --- a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/UnionListFormatter.cs +++ b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/UnionListFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/Utf8JsonReaderExtensions.cs b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/Utf8JsonReaderExtensions.cs index 9c146d8131..566091af37 100644 --- a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/Utf8JsonReaderExtensions.cs +++ b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/Utf8JsonReaderExtensions.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/VerbatimDictionaryKeysFormatter.cs b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/VerbatimDictionaryKeysFormatter.cs index 69fc9be1b7..035e347c33 100644 --- a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/VerbatimDictionaryKeysFormatter.cs +++ b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/JsonFormatters/VerbatimDictionaryKeysFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/PropertyMapping.cs b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/PropertyMapping.cs index dd48a583a2..830ae16c6c 100644 --- a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/PropertyMapping.cs +++ b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/PropertyMapping.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/SourceValueWriteConverter.cs b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/SourceValueWriteConverter.cs index 95cd657fbc..ef116c5a8d 100644 --- a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/SourceValueWriteConverter.cs +++ b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/SourceValueWriteConverter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/StatefulSerializerExtensions.cs b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/StatefulSerializerExtensions.cs index cfc610af01..d8dfb3a913 100644 --- a/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/StatefulSerializerExtensions.cs +++ b/src/OpenSearch.Client/CommonAbstractions/SerializationBehavior/StatefulSerializerExtensions.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Static/Infer.cs b/src/OpenSearch.Client/CommonAbstractions/Static/Infer.cs index f5103770a8..02489db9d2 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Static/Infer.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Static/Infer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Union/Union.cs b/src/OpenSearch.Client/CommonAbstractions/Union/Union.cs index 776165b9fe..05415b99b0 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Union/Union.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Union/Union.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonAbstractions/Union/UnionFormatter.cs b/src/OpenSearch.Client/CommonAbstractions/Union/UnionFormatter.cs index 005f3c09e1..813b7dfd61 100644 --- a/src/OpenSearch.Client/CommonAbstractions/Union/UnionFormatter.cs +++ b/src/OpenSearch.Client/CommonAbstractions/Union/UnionFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Attributes/AlternativeEnumMemberAttribute.cs b/src/OpenSearch.Client/CommonOptions/Attributes/AlternativeEnumMemberAttribute.cs index 943592bb9b..7bc5b475a5 100644 --- a/src/OpenSearch.Client/CommonOptions/Attributes/AlternativeEnumMemberAttribute.cs +++ b/src/OpenSearch.Client/CommonOptions/Attributes/AlternativeEnumMemberAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/DateFormat/DateFormat.cs b/src/OpenSearch.Client/CommonOptions/DateFormat/DateFormat.cs index dda1c87fea..2a05f024a8 100644 --- a/src/OpenSearch.Client/CommonOptions/DateFormat/DateFormat.cs +++ b/src/OpenSearch.Client/CommonOptions/DateFormat/DateFormat.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/DateMath/DateMath.cs b/src/OpenSearch.Client/CommonOptions/DateMath/DateMath.cs index 770f85b3ac..b01726005b 100644 --- a/src/OpenSearch.Client/CommonOptions/DateMath/DateMath.cs +++ b/src/OpenSearch.Client/CommonOptions/DateMath/DateMath.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/DateMath/DateMathExpression.cs b/src/OpenSearch.Client/CommonOptions/DateMath/DateMathExpression.cs index fffea91aa6..1c88fbb89f 100644 --- a/src/OpenSearch.Client/CommonOptions/DateMath/DateMathExpression.cs +++ b/src/OpenSearch.Client/CommonOptions/DateMath/DateMathExpression.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/DateMath/DateMathOperation.cs b/src/OpenSearch.Client/CommonOptions/DateMath/DateMathOperation.cs index 34929cdb28..37eb1a1abf 100644 --- a/src/OpenSearch.Client/CommonOptions/DateMath/DateMathOperation.cs +++ b/src/OpenSearch.Client/CommonOptions/DateMath/DateMathOperation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/DateMath/DateMathTime.cs b/src/OpenSearch.Client/CommonOptions/DateMath/DateMathTime.cs index b51660e5a9..4f50534f16 100644 --- a/src/OpenSearch.Client/CommonOptions/DateMath/DateMathTime.cs +++ b/src/OpenSearch.Client/CommonOptions/DateMath/DateMathTime.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/DateMath/DateMathTimeUnit.cs b/src/OpenSearch.Client/CommonOptions/DateMath/DateMathTimeUnit.cs index 4955c539d0..3c9ab624fc 100644 --- a/src/OpenSearch.Client/CommonOptions/DateMath/DateMathTimeUnit.cs +++ b/src/OpenSearch.Client/CommonOptions/DateMath/DateMathTimeUnit.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Fuzziness/Fuzziness.cs b/src/OpenSearch.Client/CommonOptions/Fuzziness/Fuzziness.cs index 289bb0f2a5..f53e8b70e4 100644 --- a/src/OpenSearch.Client/CommonOptions/Fuzziness/Fuzziness.cs +++ b/src/OpenSearch.Client/CommonOptions/Fuzziness/Fuzziness.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Fuzziness/FuzzinessFormatter.cs b/src/OpenSearch.Client/CommonOptions/Fuzziness/FuzzinessFormatter.cs index 1727380202..333a7890d5 100644 --- a/src/OpenSearch.Client/CommonOptions/Fuzziness/FuzzinessFormatter.cs +++ b/src/OpenSearch.Client/CommonOptions/Fuzziness/FuzzinessFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Fuzziness/IFuzziness.cs b/src/OpenSearch.Client/CommonOptions/Fuzziness/IFuzziness.cs index 8a3fdbf2ec..1dec372289 100644 --- a/src/OpenSearch.Client/CommonOptions/Fuzziness/IFuzziness.cs +++ b/src/OpenSearch.Client/CommonOptions/Fuzziness/IFuzziness.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Geo/Distance.cs b/src/OpenSearch.Client/CommonOptions/Geo/Distance.cs index 3bfb999620..e1517dae66 100644 --- a/src/OpenSearch.Client/CommonOptions/Geo/Distance.cs +++ b/src/OpenSearch.Client/CommonOptions/Geo/Distance.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Geo/DistanceFormatter.cs b/src/OpenSearch.Client/CommonOptions/Geo/DistanceFormatter.cs index 99b7fd9843..25dd511910 100644 --- a/src/OpenSearch.Client/CommonOptions/Geo/DistanceFormatter.cs +++ b/src/OpenSearch.Client/CommonOptions/Geo/DistanceFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Geo/DistanceUnit.cs b/src/OpenSearch.Client/CommonOptions/Geo/DistanceUnit.cs index bc03e625ca..69c8bd1809 100644 --- a/src/OpenSearch.Client/CommonOptions/Geo/DistanceUnit.cs +++ b/src/OpenSearch.Client/CommonOptions/Geo/DistanceUnit.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Geo/GeoDistanceType.cs b/src/OpenSearch.Client/CommonOptions/Geo/GeoDistanceType.cs index 11f4d017ae..7fe95d8332 100644 --- a/src/OpenSearch.Client/CommonOptions/Geo/GeoDistanceType.cs +++ b/src/OpenSearch.Client/CommonOptions/Geo/GeoDistanceType.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Geo/GeoShapeRelation.cs b/src/OpenSearch.Client/CommonOptions/Geo/GeoShapeRelation.cs index 91a97c0f06..1f57d57f55 100644 --- a/src/OpenSearch.Client/CommonOptions/Geo/GeoShapeRelation.cs +++ b/src/OpenSearch.Client/CommonOptions/Geo/GeoShapeRelation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Hit/ShardStatistics.cs b/src/OpenSearch.Client/CommonOptions/Hit/ShardStatistics.cs index 1c2100acfc..d0b2eca3ef 100644 --- a/src/OpenSearch.Client/CommonOptions/Hit/ShardStatistics.cs +++ b/src/OpenSearch.Client/CommonOptions/Hit/ShardStatistics.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/MinimumShouldMatch/MinimumShouldMatch.cs b/src/OpenSearch.Client/CommonOptions/MinimumShouldMatch/MinimumShouldMatch.cs index 49b4c759cb..14b1955379 100644 --- a/src/OpenSearch.Client/CommonOptions/MinimumShouldMatch/MinimumShouldMatch.cs +++ b/src/OpenSearch.Client/CommonOptions/MinimumShouldMatch/MinimumShouldMatch.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/MinimumShouldMatch/MinimumShouldMatchFormatter.cs b/src/OpenSearch.Client/CommonOptions/MinimumShouldMatch/MinimumShouldMatchFormatter.cs index e7e11022c4..91bb2e845d 100644 --- a/src/OpenSearch.Client/CommonOptions/MinimumShouldMatch/MinimumShouldMatchFormatter.cs +++ b/src/OpenSearch.Client/CommonOptions/MinimumShouldMatch/MinimumShouldMatchFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Range/AggregationRange.cs b/src/OpenSearch.Client/CommonOptions/Range/AggregationRange.cs index 67bcc49550..1a1d000075 100644 --- a/src/OpenSearch.Client/CommonOptions/Range/AggregationRange.cs +++ b/src/OpenSearch.Client/CommonOptions/Range/AggregationRange.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Range/Ranges.cs b/src/OpenSearch.Client/CommonOptions/Range/Ranges.cs index 689c12f78f..42f1f38de6 100644 --- a/src/OpenSearch.Client/CommonOptions/Range/Ranges.cs +++ b/src/OpenSearch.Client/CommonOptions/Range/Ranges.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Scripting/IndexedScript.cs b/src/OpenSearch.Client/CommonOptions/Scripting/IndexedScript.cs index 09d214042e..b9a514d415 100644 --- a/src/OpenSearch.Client/CommonOptions/Scripting/IndexedScript.cs +++ b/src/OpenSearch.Client/CommonOptions/Scripting/IndexedScript.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Scripting/InlineScript.cs b/src/OpenSearch.Client/CommonOptions/Scripting/InlineScript.cs index 21fc1404b4..c14b054836 100644 --- a/src/OpenSearch.Client/CommonOptions/Scripting/InlineScript.cs +++ b/src/OpenSearch.Client/CommonOptions/Scripting/InlineScript.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Scripting/ScriptBase.cs b/src/OpenSearch.Client/CommonOptions/Scripting/ScriptBase.cs index e5e3082ca5..326b17609c 100644 --- a/src/OpenSearch.Client/CommonOptions/Scripting/ScriptBase.cs +++ b/src/OpenSearch.Client/CommonOptions/Scripting/ScriptBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Scripting/ScriptFields.cs b/src/OpenSearch.Client/CommonOptions/Scripting/ScriptFields.cs index 806a38d112..65437045db 100644 --- a/src/OpenSearch.Client/CommonOptions/Scripting/ScriptFields.cs +++ b/src/OpenSearch.Client/CommonOptions/Scripting/ScriptFields.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Scripting/ScriptFormatter.cs b/src/OpenSearch.Client/CommonOptions/Scripting/ScriptFormatter.cs index 3ead0f899c..f18f5a2e8a 100644 --- a/src/OpenSearch.Client/CommonOptions/Scripting/ScriptFormatter.cs +++ b/src/OpenSearch.Client/CommonOptions/Scripting/ScriptFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Shape/ShapeRelation.cs b/src/OpenSearch.Client/CommonOptions/Shape/ShapeRelation.cs index 7abdf77bbc..2c59d16d89 100644 --- a/src/OpenSearch.Client/CommonOptions/Shape/ShapeRelation.cs +++ b/src/OpenSearch.Client/CommonOptions/Shape/ShapeRelation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Sorting/SortFormatter.cs b/src/OpenSearch.Client/CommonOptions/Sorting/SortFormatter.cs index 0f43d370b1..196016fd70 100644 --- a/src/OpenSearch.Client/CommonOptions/Sorting/SortFormatter.cs +++ b/src/OpenSearch.Client/CommonOptions/Sorting/SortFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Stats/CompletionStats.cs b/src/OpenSearch.Client/CommonOptions/Stats/CompletionStats.cs index 9f34843890..2885a1f95b 100644 --- a/src/OpenSearch.Client/CommonOptions/Stats/CompletionStats.cs +++ b/src/OpenSearch.Client/CommonOptions/Stats/CompletionStats.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Stats/DocStats.cs b/src/OpenSearch.Client/CommonOptions/Stats/DocStats.cs index d432cf00ff..0631093cac 100644 --- a/src/OpenSearch.Client/CommonOptions/Stats/DocStats.cs +++ b/src/OpenSearch.Client/CommonOptions/Stats/DocStats.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Stats/FieldDataStats.cs b/src/OpenSearch.Client/CommonOptions/Stats/FieldDataStats.cs index ecfd1db160..3ec6153ee7 100644 --- a/src/OpenSearch.Client/CommonOptions/Stats/FieldDataStats.cs +++ b/src/OpenSearch.Client/CommonOptions/Stats/FieldDataStats.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Stats/FlushStats.cs b/src/OpenSearch.Client/CommonOptions/Stats/FlushStats.cs index 7f5dc8b424..aecdae607f 100644 --- a/src/OpenSearch.Client/CommonOptions/Stats/FlushStats.cs +++ b/src/OpenSearch.Client/CommonOptions/Stats/FlushStats.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Stats/GetStats.cs b/src/OpenSearch.Client/CommonOptions/Stats/GetStats.cs index 99c3e9fb51..ac4a0b3134 100644 --- a/src/OpenSearch.Client/CommonOptions/Stats/GetStats.cs +++ b/src/OpenSearch.Client/CommonOptions/Stats/GetStats.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Stats/IndexingStats.cs b/src/OpenSearch.Client/CommonOptions/Stats/IndexingStats.cs index 96086bf4b0..766bcb0f62 100644 --- a/src/OpenSearch.Client/CommonOptions/Stats/IndexingStats.cs +++ b/src/OpenSearch.Client/CommonOptions/Stats/IndexingStats.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Stats/MergesStats.cs b/src/OpenSearch.Client/CommonOptions/Stats/MergesStats.cs index 58c6f67000..ecac5cad65 100644 --- a/src/OpenSearch.Client/CommonOptions/Stats/MergesStats.cs +++ b/src/OpenSearch.Client/CommonOptions/Stats/MergesStats.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Stats/PluginStats.cs b/src/OpenSearch.Client/CommonOptions/Stats/PluginStats.cs index b6fe32f430..59094e5a7e 100644 --- a/src/OpenSearch.Client/CommonOptions/Stats/PluginStats.cs +++ b/src/OpenSearch.Client/CommonOptions/Stats/PluginStats.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Stats/QueryCacheStats.cs b/src/OpenSearch.Client/CommonOptions/Stats/QueryCacheStats.cs index 4199c6c47f..da857a480d 100644 --- a/src/OpenSearch.Client/CommonOptions/Stats/QueryCacheStats.cs +++ b/src/OpenSearch.Client/CommonOptions/Stats/QueryCacheStats.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Stats/RecoveryStats.cs b/src/OpenSearch.Client/CommonOptions/Stats/RecoveryStats.cs index cb16906412..4808257133 100644 --- a/src/OpenSearch.Client/CommonOptions/Stats/RecoveryStats.cs +++ b/src/OpenSearch.Client/CommonOptions/Stats/RecoveryStats.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Stats/RefreshStats.cs b/src/OpenSearch.Client/CommonOptions/Stats/RefreshStats.cs index 44775d7331..4d0b8b0ba8 100644 --- a/src/OpenSearch.Client/CommonOptions/Stats/RefreshStats.cs +++ b/src/OpenSearch.Client/CommonOptions/Stats/RefreshStats.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Stats/RequestCacheStats.cs b/src/OpenSearch.Client/CommonOptions/Stats/RequestCacheStats.cs index 24c666aa09..3e41337759 100644 --- a/src/OpenSearch.Client/CommonOptions/Stats/RequestCacheStats.cs +++ b/src/OpenSearch.Client/CommonOptions/Stats/RequestCacheStats.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Stats/SearchStats.cs b/src/OpenSearch.Client/CommonOptions/Stats/SearchStats.cs index 231822169a..7563f835df 100644 --- a/src/OpenSearch.Client/CommonOptions/Stats/SearchStats.cs +++ b/src/OpenSearch.Client/CommonOptions/Stats/SearchStats.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Stats/SegmentsStats.cs b/src/OpenSearch.Client/CommonOptions/Stats/SegmentsStats.cs index a3cf237aa7..5c5107b5bb 100644 --- a/src/OpenSearch.Client/CommonOptions/Stats/SegmentsStats.cs +++ b/src/OpenSearch.Client/CommonOptions/Stats/SegmentsStats.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * @@ -30,6 +31,10 @@ namespace OpenSearch.Client { + /// + /// OpenSearch 2.0 has Lucene upgraded up to version 9.0 which doesn't provide memory info for segments. + /// All fields except `count` might be zeroed. + /// [DataContract] public class SegmentsStats { diff --git a/src/OpenSearch.Client/CommonOptions/Stats/StoreStats.cs b/src/OpenSearch.Client/CommonOptions/Stats/StoreStats.cs index b3ab6a4966..77fca419c4 100644 --- a/src/OpenSearch.Client/CommonOptions/Stats/StoreStats.cs +++ b/src/OpenSearch.Client/CommonOptions/Stats/StoreStats.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Stats/TranslogStats.cs b/src/OpenSearch.Client/CommonOptions/Stats/TranslogStats.cs index 39d9627cf2..917c8a6579 100644 --- a/src/OpenSearch.Client/CommonOptions/Stats/TranslogStats.cs +++ b/src/OpenSearch.Client/CommonOptions/Stats/TranslogStats.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/Stats/WarmerStats.cs b/src/OpenSearch.Client/CommonOptions/Stats/WarmerStats.cs index d8d7f9a57b..9d268d4c78 100644 --- a/src/OpenSearch.Client/CommonOptions/Stats/WarmerStats.cs +++ b/src/OpenSearch.Client/CommonOptions/Stats/WarmerStats.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/TimeUnit/Time.cs b/src/OpenSearch.Client/CommonOptions/TimeUnit/Time.cs index 66cd927c64..78725401b0 100644 --- a/src/OpenSearch.Client/CommonOptions/TimeUnit/Time.cs +++ b/src/OpenSearch.Client/CommonOptions/TimeUnit/Time.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/TimeUnit/TimeFormatter.cs b/src/OpenSearch.Client/CommonOptions/TimeUnit/TimeFormatter.cs index d816632228..fbdfc08129 100644 --- a/src/OpenSearch.Client/CommonOptions/TimeUnit/TimeFormatter.cs +++ b/src/OpenSearch.Client/CommonOptions/TimeUnit/TimeFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CommonOptions/TimeUnit/TimeUnit.cs b/src/OpenSearch.Client/CommonOptions/TimeUnit/TimeUnit.cs index ab821e8831..6f2c1a7f2d 100644 --- a/src/OpenSearch.Client/CommonOptions/TimeUnit/TimeUnit.cs +++ b/src/OpenSearch.Client/CommonOptions/TimeUnit/TimeUnit.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CrossPlatform/NativeMethods.cs b/src/OpenSearch.Client/CrossPlatform/NativeMethods.cs index 6e22f69b96..c9a42beb99 100644 --- a/src/OpenSearch.Client/CrossPlatform/NativeMethods.cs +++ b/src/OpenSearch.Client/CrossPlatform/NativeMethods.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CrossPlatform/RuntimeInformation.cs b/src/OpenSearch.Client/CrossPlatform/RuntimeInformation.cs index de6469f534..8e1bb432b2 100644 --- a/src/OpenSearch.Client/CrossPlatform/RuntimeInformation.cs +++ b/src/OpenSearch.Client/CrossPlatform/RuntimeInformation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/CrossPlatform/TypeExtensions.cs b/src/OpenSearch.Client/CrossPlatform/TypeExtensions.cs index f891540d5d..0b50389c3e 100644 --- a/src/OpenSearch.Client/CrossPlatform/TypeExtensions.cs +++ b/src/OpenSearch.Client/CrossPlatform/TypeExtensions.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/DanglingIndices/Delete/DeleteDanglingIndexRequest.cs b/src/OpenSearch.Client/DanglingIndices/Delete/DeleteDanglingIndexRequest.cs index d4ff78c2da..7eb35424be 100644 --- a/src/OpenSearch.Client/DanglingIndices/Delete/DeleteDanglingIndexRequest.cs +++ b/src/OpenSearch.Client/DanglingIndices/Delete/DeleteDanglingIndexRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/DanglingIndices/Delete/DeleteDanglingIndexResponse.cs b/src/OpenSearch.Client/DanglingIndices/Delete/DeleteDanglingIndexResponse.cs index 7b725875b7..213800f621 100644 --- a/src/OpenSearch.Client/DanglingIndices/Delete/DeleteDanglingIndexResponse.cs +++ b/src/OpenSearch.Client/DanglingIndices/Delete/DeleteDanglingIndexResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/DanglingIndices/Import/ImportDanglingIndexRequest.cs b/src/OpenSearch.Client/DanglingIndices/Import/ImportDanglingIndexRequest.cs index 26bf4856bb..daf6d006da 100644 --- a/src/OpenSearch.Client/DanglingIndices/Import/ImportDanglingIndexRequest.cs +++ b/src/OpenSearch.Client/DanglingIndices/Import/ImportDanglingIndexRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/DanglingIndices/Import/ImportDanglingIndexResponse.cs b/src/OpenSearch.Client/DanglingIndices/Import/ImportDanglingIndexResponse.cs index 755c1ba98c..394fc8af48 100644 --- a/src/OpenSearch.Client/DanglingIndices/Import/ImportDanglingIndexResponse.cs +++ b/src/OpenSearch.Client/DanglingIndices/Import/ImportDanglingIndexResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/DanglingIndices/List/ListDanglingIndicesRequest.cs b/src/OpenSearch.Client/DanglingIndices/List/ListDanglingIndicesRequest.cs index b79cd7e769..70d1e58836 100644 --- a/src/OpenSearch.Client/DanglingIndices/List/ListDanglingIndicesRequest.cs +++ b/src/OpenSearch.Client/DanglingIndices/List/ListDanglingIndicesRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/DanglingIndices/List/ListDanglingIndicesResponse.cs b/src/OpenSearch.Client/DanglingIndices/List/ListDanglingIndicesResponse.cs index e1e5b933c7..6395b031ac 100644 --- a/src/OpenSearch.Client/DanglingIndices/List/ListDanglingIndicesResponse.cs +++ b/src/OpenSearch.Client/DanglingIndices/List/ListDanglingIndicesResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Descriptors.Cat.cs b/src/OpenSearch.Client/Descriptors.Cat.cs index b515cb7789..f2d3ed6224 100644 --- a/src/OpenSearch.Client/Descriptors.Cat.cs +++ b/src/OpenSearch.Client/Descriptors.Cat.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * @@ -84,7 +85,7 @@ public CatAliasesDescriptor(Names name): base(r => r.Optional("name", name)) public CatAliasesDescriptor Headers(params string[] headers) => Qs("h", headers); ///Return help information public CatAliasesDescriptor Help(bool? help = true) => Qs("help", help); - ///Return local information, do not retrieve the state from master node (default: false) + ///Return local information, do not retrieve the state from cluster_manager node (default: false) public CatAliasesDescriptor Local(bool? local = true) => Qs("local", local); ///Comma-separated list of column names or column aliases to sort by public CatAliasesDescriptor SortByColumns(params string[] sortbycolumns) => Qs("s", sortbycolumns); @@ -120,10 +121,14 @@ public CatAllocationDescriptor(NodeIds nodeId): base(r => r.Optional("node_id", public CatAllocationDescriptor Headers(params string[] headers) => Qs("h", headers); ///Return help information public CatAllocationDescriptor Help(bool? help = true) => Qs("help", help); - ///Return local information, do not retrieve the state from master node (default: false) + ///Return local information, do not retrieve the state from cluster_manager node (default: false) public CatAllocationDescriptor Local(bool? local = true) => Qs("local", local); ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public CatAllocationDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Explicit operation timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public CatAllocationDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Comma-separated list of column names or column aliases to sort by public CatAllocationDescriptor SortByColumns(params string[] sortbycolumns) => Qs("s", sortbycolumns); ///Verbose mode. Display column headers @@ -274,10 +279,14 @@ public CatIndicesDescriptor Index() public CatIndicesDescriptor Help(bool? help = true) => Qs("help", help); ///If set to true segment stats will include stats for segments that are not currently loaded into memory public CatIndicesDescriptor IncludeUnloadedSegments(bool? includeunloadedsegments = true) => Qs("include_unloaded_segments", includeunloadedsegments); - ///Return local information, do not retrieve the state from master node (default: false) + ///Return local information, do not retrieve the state from cluster_manager node (default: false) public CatIndicesDescriptor Local(bool? local = true) => Qs("local", local); ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public CatIndicesDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Explicit operation timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public CatIndicesDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Set to true to return stats only for primary shards public CatIndicesDescriptor Pri(bool? pri = true) => Qs("pri", pri); ///Comma-separated list of column names or column aliases to sort by @@ -286,7 +295,8 @@ public CatIndicesDescriptor Index() public CatIndicesDescriptor Verbose(bool? verbose = true) => Qs("v", verbose); } - ///Descriptor for Master https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-master/ + ///Descriptor for Master https://opensearch.org/docs/1.2/opensearch/rest-api/cat/cat-master/ + ///Deprecated as of OpenSearch 2.0, use instead public partial class CatMasterDescriptor : RequestDescriptorBase, ICatMasterRequest { internal override ApiUrls ApiUrls => ApiUrlsLookups.CatMaster; @@ -298,7 +308,7 @@ public partial class CatMasterDescriptor : RequestDescriptorBase Qs("h", headers); ///Return help information public CatMasterDescriptor Help(bool? help = true) => Qs("help", help); - ///Return local information, do not retrieve the state from master node (default: false) + ///Return local information, do not retrieve the state from cluster_manager node (default: false) public CatMasterDescriptor Local(bool? local = true) => Qs("local", local); ///Explicit operation timeout for connection to master node public CatMasterDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); @@ -308,6 +318,29 @@ public partial class CatMasterDescriptor : RequestDescriptorBase Qs("v", verbose); } + ///Descriptor for Master https://opensearch.org/docs/1.2/opensearch/rest-api/cat/cat-master/ + ///Introduced in OpenSearch 2.0 instead of + public partial class CatClusterManagerDescriptor : RequestDescriptorBase, ICatClusterManagerRequest + { + internal override ApiUrls ApiUrls => ApiUrlsLookups.CatClusterManager; + // values part of the url path + // Request parameters + ///a short version of the Accept header, e.g. json, yaml + public CatClusterManagerDescriptor Format(string format) => Qs("format", format); + ///Comma-separated list of column names to display + public CatClusterManagerDescriptor Headers(params string[] headers) => Qs("h", headers); + ///Return help information + public CatClusterManagerDescriptor Help(bool? help = true) => Qs("help", help); + ///Return local information, do not retrieve the state from cluster_manager node (default: false) + public CatClusterManagerDescriptor Local(bool? local = true) => Qs("local", local); + ///Explicit operation timeout for connection to cluster_manager node + public CatClusterManagerDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); + ///Comma-separated list of column names or column aliases to sort by + public CatClusterManagerDescriptor SortByColumns(params string[] sortbycolumns) => Qs("s", sortbycolumns); + ///Verbose mode. Display column headers + public CatClusterManagerDescriptor Verbose(bool? verbose = true) => Qs("v", verbose); + } + ///Descriptor for NodeAttributes https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-nodeattrs/ public partial class CatNodeAttributesDescriptor : RequestDescriptorBase, ICatNodeAttributesRequest { @@ -320,10 +353,14 @@ public partial class CatNodeAttributesDescriptor : RequestDescriptorBase Qs("h", headers); ///Return help information public CatNodeAttributesDescriptor Help(bool? help = true) => Qs("help", help); - ///Return local information, do not retrieve the state from master node (default: false) + ///Return local information, do not retrieve the state from cluster_manager node (default: false) public CatNodeAttributesDescriptor Local(bool? local = true) => Qs("local", local); ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public CatNodeAttributesDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Explicit operation timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public CatNodeAttributesDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Comma-separated list of column names or column aliases to sort by public CatNodeAttributesDescriptor SortByColumns(params string[] sortbycolumns) => Qs("s", sortbycolumns); ///Verbose mode. Display column headers @@ -347,7 +384,11 @@ public partial class CatNodesDescriptor : RequestDescriptorBaseReturn help information public CatNodesDescriptor Help(bool? help = true) => Qs("help", help); ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public CatNodesDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Explicit operation timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public CatNodesDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Comma-separated list of column names or column aliases to sort by public CatNodesDescriptor SortByColumns(params string[] sortbycolumns) => Qs("s", sortbycolumns); ///Verbose mode. Display column headers @@ -366,10 +407,14 @@ public partial class CatPendingTasksDescriptor : RequestDescriptorBase Qs("h", headers); ///Return help information public CatPendingTasksDescriptor Help(bool? help = true) => Qs("help", help); - ///Return local information, do not retrieve the state from master node (default: false) + ///Return local information, do not retrieve the state from cluster_manager node (default: false) public CatPendingTasksDescriptor Local(bool? local = true) => Qs("local", local); ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public CatPendingTasksDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Explicit operation timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public CatPendingTasksDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Comma-separated list of column names or column aliases to sort by public CatPendingTasksDescriptor SortByColumns(params string[] sortbycolumns) => Qs("s", sortbycolumns); ///Verbose mode. Display column headers @@ -390,10 +435,14 @@ public partial class CatPluginsDescriptor : RequestDescriptorBase Qs("help", help); ///Include bootstrap plugins in the response public CatPluginsDescriptor IncludeBootstrap(bool? includebootstrap = true) => Qs("include_bootstrap", includebootstrap); - ///Return local information, do not retrieve the state from master node (default: false) + ///Return local information, do not retrieve the state from cluster_manager node (default: false) public CatPluginsDescriptor Local(bool? local = true) => Qs("local", local); ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public CatPluginsDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Explicit operation timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public CatPluginsDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Comma-separated list of column names or column aliases to sort by public CatPluginsDescriptor SortByColumns(params string[] sortbycolumns) => Qs("s", sortbycolumns); ///Verbose mode. Display column headers @@ -455,10 +504,14 @@ public partial class CatRepositoriesDescriptor : RequestDescriptorBase Qs("h", headers); ///Return help information public CatRepositoriesDescriptor Help(bool? help = true) => Qs("help", help); - ///Return local information, do not retrieve the state from master node + ///Return local information, do not retrieve the state from cluster_manager node public CatRepositoriesDescriptor Local(bool? local = true) => Qs("local", local); ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public CatRepositoriesDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Explicit operation timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public CatRepositoriesDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Comma-separated list of column names or column aliases to sort by public CatRepositoriesDescriptor SortByColumns(params string[] sortbycolumns) => Qs("s", sortbycolumns); ///Verbose mode. Display column headers @@ -537,10 +590,14 @@ public CatShardsDescriptor Index() public CatShardsDescriptor Headers(params string[] headers) => Qs("h", headers); ///Return help information public CatShardsDescriptor Help(bool? help = true) => Qs("help", help); - ///Return local information, do not retrieve the state from master node (default: false) + ///Return local information, do not retrieve the state from cluster_manager node (default: false) public CatShardsDescriptor Local(bool? local = true) => Qs("local", local); ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public CatShardsDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Explicit operation timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public CatShardsDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Comma-separated list of column names or column aliases to sort by public CatShardsDescriptor SortByColumns(params string[] sortbycolumns) => Qs("s", sortbycolumns); ///Verbose mode. Display column headers @@ -576,7 +633,11 @@ public CatSnapshotsDescriptor(Names repository): base(r => r.Optional("repositor ///Set to true to ignore unavailable snapshots public CatSnapshotsDescriptor IgnoreUnavailable(bool? ignoreunavailable = true) => Qs("ignore_unavailable", ignoreunavailable); ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public CatSnapshotsDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Explicit operation timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public CatSnapshotsDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Comma-separated list of column names or column aliases to sort by public CatSnapshotsDescriptor SortByColumns(params string[] sortbycolumns) => Qs("s", sortbycolumns); ///Verbose mode. Display column headers @@ -635,10 +696,14 @@ public CatTemplatesDescriptor(Name name): base(r => r.Optional("name", name)) public CatTemplatesDescriptor Headers(params string[] headers) => Qs("h", headers); ///Return help information public CatTemplatesDescriptor Help(bool? help = true) => Qs("help", help); - ///Return local information, do not retrieve the state from master node (default: false) + ///Return local information, do not retrieve the state from cluster_manager node (default: false) public CatTemplatesDescriptor Local(bool? local = true) => Qs("local", local); ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public CatTemplatesDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Explicit operation timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public CatTemplatesDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Comma-separated list of column names or column aliases to sort by public CatTemplatesDescriptor SortByColumns(params string[] sortbycolumns) => Qs("s", sortbycolumns); ///Verbose mode. Display column headers @@ -671,10 +736,14 @@ public CatThreadPoolDescriptor(Names threadPoolPatterns): base(r => r.Optional(" public CatThreadPoolDescriptor Headers(params string[] headers) => Qs("h", headers); ///Return help information public CatThreadPoolDescriptor Help(bool? help = true) => Qs("help", help); - ///Return local information, do not retrieve the state from master node (default: false) + ///Return local information, do not retrieve the state from cluster_manager node (default: false) public CatThreadPoolDescriptor Local(bool? local = true) => Qs("local", local); ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public CatThreadPoolDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Explicit operation timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public CatThreadPoolDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Comma-separated list of column names or column aliases to sort by public CatThreadPoolDescriptor SortByColumns(params string[] sortbycolumns) => Qs("s", sortbycolumns); ///Verbose mode. Display column headers diff --git a/src/OpenSearch.Client/Descriptors.Cluster.cs b/src/OpenSearch.Client/Descriptors.Cluster.cs index 92d1d3e12c..0c01d4b8cb 100644 --- a/src/OpenSearch.Client/Descriptors.Cluster.cs +++ b/src/OpenSearch.Client/Descriptors.Cluster.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * @@ -89,7 +90,11 @@ public partial class ClusterGetSettingsDescriptor : RequestDescriptorBaseWhether to return all default clusters setting. public ClusterGetSettingsDescriptor IncludeDefaults(bool? includedefaults = true) => Qs("include_defaults", includedefaults); ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public ClusterGetSettingsDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Explicit operation timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public ClusterGetSettingsDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Explicit operation timeout public ClusterGetSettingsDescriptor Timeout(Time timeout) => Qs("timeout", timeout); } @@ -123,10 +128,14 @@ public ClusterHealthDescriptor Index() public ClusterHealthDescriptor ExpandWildcards(ExpandWildcards? expandwildcards) => Qs("expand_wildcards", expandwildcards); ///Specify the level of detail for returned information public ClusterHealthDescriptor Level(Level? level) => Qs("level", level); - ///Return local information, do not retrieve the state from master node (default: false) + ///Return local information, do not retrieve the state from cluster_manager node (default: false) public ClusterHealthDescriptor Local(bool? local = true) => Qs("local", local); ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public ClusterHealthDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Explicit operation timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public ClusterHealthDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Explicit operation timeout public ClusterHealthDescriptor Timeout(Time timeout) => Qs("timeout", timeout); ///Wait until the specified number of shards is active @@ -149,10 +158,14 @@ public partial class ClusterPendingTasksDescriptor : RequestDescriptorBase ApiUrlsLookups.ClusterPendingTasks; // values part of the url path // Request parameters - ///Return local information, do not retrieve the state from master node (default: false) + ///Return local information, do not retrieve the state from cluster_manager node (default: false) public ClusterPendingTasksDescriptor Local(bool? local = true) => Qs("local", local); - ///Specify timeout for connection to master + ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public ClusterPendingTasksDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Explicit operation timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public ClusterPendingTasksDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); } ///Descriptor for PostVotingConfigExclusions @@ -178,7 +191,11 @@ public partial class ClusterPutSettingsDescriptor : RequestDescriptorBaseReturn settings in flat format (default: false) public ClusterPutSettingsDescriptor FlatSettings(bool? flatsettings = true) => Qs("flat_settings", flatsettings); ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public ClusterPutSettingsDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Explicit operation timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public ClusterPutSettingsDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Explicit operation timeout public ClusterPutSettingsDescriptor Timeout(Time timeout) => Qs("timeout", timeout); } @@ -202,7 +219,11 @@ public partial class ClusterRerouteDescriptor : RequestDescriptorBaseReturn an explanation of why the commands can or cannot be executed public ClusterRerouteDescriptor Explain(bool? explain = true) => Qs("explain", explain); ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public ClusterRerouteDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Explicit operation timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public ClusterRerouteDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Limit the information returned to the specified metrics. Defaults to all but metadata public ClusterRerouteDescriptor Metric(params string[] metric) => Qs("metric", metric); ///Retries allocation of shards that are blocked due to too many subsequent allocation failures @@ -254,10 +275,14 @@ public ClusterStateDescriptor Index() public ClusterStateDescriptor FlatSettings(bool? flatsettings = true) => Qs("flat_settings", flatsettings); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) public ClusterStateDescriptor IgnoreUnavailable(bool? ignoreunavailable = true) => Qs("ignore_unavailable", ignoreunavailable); - ///Return local information, do not retrieve the state from master node (default: false) + ///Return local information, do not retrieve the state from cluster_manager node (default: false) public ClusterStateDescriptor Local(bool? local = true) => Qs("local", local); - ///Specify timeout for connection to master + ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public ClusterStateDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Explicit operation timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public ClusterStateDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Wait for the metadata version to be equal or greater than the specified metadata version public ClusterStateDescriptor WaitForMetadataVersion(long? waitformetadataversion) => Qs("wait_for_metadata_version", waitformetadataversion); ///The maximum time to wait for wait_for_metadata_version before timing out diff --git a/src/OpenSearch.Client/Descriptors.DanglingIndices.cs b/src/OpenSearch.Client/Descriptors.DanglingIndices.cs index cd99fb3377..ae91886826 100644 --- a/src/OpenSearch.Client/Descriptors.DanglingIndices.cs +++ b/src/OpenSearch.Client/Descriptors.DanglingIndices.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * @@ -77,8 +78,12 @@ protected DeleteDanglingIndexDescriptor(): base() // Request parameters ///Must be set to true in order to delete the dangling index public DeleteDanglingIndexDescriptor AcceptDataLoss(bool? acceptdataloss = true) => Qs("accept_data_loss", acceptdataloss); - ///Specify timeout for connection to master + ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public DeleteDanglingIndexDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Explicit operation timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public DeleteDanglingIndexDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Explicit operation timeout public DeleteDanglingIndexDescriptor Timeout(Time timeout) => Qs("timeout", timeout); } @@ -104,8 +109,12 @@ protected ImportDanglingIndexDescriptor(): base() // Request parameters ///Must be set to true in order to import the dangling index public ImportDanglingIndexDescriptor AcceptDataLoss(bool? acceptdataloss = true) => Qs("accept_data_loss", acceptdataloss); - ///Specify timeout for connection to master + ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public ImportDanglingIndexDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Explicit operation timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public ImportDanglingIndexDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Explicit operation timeout public ImportDanglingIndexDescriptor Timeout(Time timeout) => Qs("timeout", timeout); } diff --git a/src/OpenSearch.Client/Descriptors.Indices.cs b/src/OpenSearch.Client/Descriptors.Indices.cs index 719b81abe2..b923fd07e9 100644 --- a/src/OpenSearch.Client/Descriptors.Indices.cs +++ b/src/OpenSearch.Client/Descriptors.Indices.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * @@ -90,8 +91,12 @@ public AddIndexBlockDescriptor Index() public AddIndexBlockDescriptor ExpandWildcards(ExpandWildcards? expandwildcards) => Qs("expand_wildcards", expandwildcards); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) public AddIndexBlockDescriptor IgnoreUnavailable(bool? ignoreunavailable = true) => Qs("ignore_unavailable", ignoreunavailable); - ///Specify timeout for connection to master + ///Specify timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public AddIndexBlockDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Specify timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public AddIndexBlockDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Explicit operation timeout public AddIndexBlockDescriptor Timeout(Time timeout) => Qs("timeout", timeout); } @@ -191,8 +196,12 @@ protected CloneIndexDescriptor(): base() public CloneIndexDescriptor Index() where TOther : class => Assign(typeof(TOther), (a, v) => a.RouteValues.Required("index", (IndexName)v)); // Request parameters - ///Specify timeout for connection to master + ///Specify timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public CloneIndexDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Specify timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public CloneIndexDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Explicit operation timeout public CloneIndexDescriptor Timeout(Time timeout) => Qs("timeout", timeout); ///Set the number of active shards to wait for on the cloned index before the operation returns. @@ -231,8 +240,12 @@ public CloseIndexDescriptor Index() public CloseIndexDescriptor ExpandWildcards(ExpandWildcards? expandwildcards) => Qs("expand_wildcards", expandwildcards); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) public CloseIndexDescriptor IgnoreUnavailable(bool? ignoreunavailable = true) => Qs("ignore_unavailable", ignoreunavailable); - ///Specify timeout for connection to master + ///Specify timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public CloseIndexDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Specify timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public CloseIndexDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Explicit operation timeout public CloseIndexDescriptor Timeout(Time timeout) => Qs("timeout", timeout); ///Sets the number of active shards to wait for before the operation returns. @@ -264,9 +277,14 @@ public CreateIndexDescriptor Index() where TOther : class => Assign(typeof(TOther), (a, v) => a.RouteValues.Required("index", (IndexName)v)); // Request parameters ///Whether a type should be expected in the body of the mappings. + ///Deprecated as of OpenSearch 2.0 public CreateIndexDescriptor IncludeTypeName(bool? includetypename = true) => Qs("include_type_name", includetypename); - ///Specify timeout for connection to master + ///Specify timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public CreateIndexDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Specify timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public CreateIndexDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Explicit operation timeout public CreateIndexDescriptor Timeout(Time timeout) => Qs("timeout", timeout); ///Set the number of active shards to wait for before the operation returns. @@ -305,8 +323,12 @@ public DeleteIndexDescriptor Index() public DeleteIndexDescriptor ExpandWildcards(ExpandWildcards? expandwildcards) => Qs("expand_wildcards", expandwildcards); ///Ignore unavailable indexes (default: false) public DeleteIndexDescriptor IgnoreUnavailable(bool? ignoreunavailable = true) => Qs("ignore_unavailable", ignoreunavailable); - ///Specify timeout for connection to master + ///Specify timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public DeleteIndexDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Specify timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public DeleteIndexDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Explicit operation timeout public DeleteIndexDescriptor Timeout(Time timeout) => Qs("timeout", timeout); } @@ -339,8 +361,12 @@ public DeleteAliasDescriptor Index() ///A shortcut into calling Index(Indices.All) public DeleteAliasDescriptor AllIndices() => Index(Indices.All); // Request parameters - ///Specify timeout for connection to master + ///Specify timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public DeleteAliasDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Specify timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public DeleteAliasDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Explicit timestamp for the document public DeleteAliasDescriptor Timeout(Time timeout) => Qs("timeout", timeout); } @@ -364,8 +390,12 @@ protected DeleteIndexTemplateDescriptor(): base() // values part of the url path Name IDeleteIndexTemplateRequest.Name => Self.RouteValues.Get("name"); // Request parameters - ///Specify timeout for connection to master + ///Specify timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public DeleteIndexTemplateDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Specify timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public DeleteIndexTemplateDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Explicit operation timeout public DeleteIndexTemplateDescriptor Timeout(Time timeout) => Qs("timeout", timeout); } @@ -406,7 +436,7 @@ public IndexExistsDescriptor Index() public IndexExistsDescriptor IgnoreUnavailable(bool? ignoreunavailable = true) => Qs("ignore_unavailable", ignoreunavailable); ///Whether to return all default setting for each of the indices. public IndexExistsDescriptor IncludeDefaults(bool? includedefaults = true) => Qs("include_defaults", includedefaults); - ///Return local information, do not retrieve the state from master node (default: false) + ///Return local information, do not retrieve the state from cluster_manager node (default: false) public IndexExistsDescriptor Local(bool? local = true) => Qs("local", local); } @@ -450,7 +480,7 @@ public AliasExistsDescriptor Index() public AliasExistsDescriptor ExpandWildcards(ExpandWildcards? expandwildcards) => Qs("expand_wildcards", expandwildcards); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) public AliasExistsDescriptor IgnoreUnavailable(bool? ignoreunavailable = true) => Qs("ignore_unavailable", ignoreunavailable); - ///Return local information, do not retrieve the state from master node (default: false) + ///Return local information, do not retrieve the state from cluster_manager node (default: false) public AliasExistsDescriptor Local(bool? local = true) => Qs("local", local); } @@ -475,13 +505,19 @@ protected IndexTemplateExistsDescriptor(): base() // Request parameters ///Return settings in flat format (default: false) public IndexTemplateExistsDescriptor FlatSettings(bool? flatsettings = true) => Qs("flat_settings", flatsettings); - ///Return local information, do not retrieve the state from master node (default: false) + ///Return local information, do not retrieve the state from cluster_manager node (default: false) public IndexTemplateExistsDescriptor Local(bool? local = true) => Qs("local", local); - ///Explicit operation timeout for connection to master node + ///Specify timeout for connection to master node + ///Specify timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public IndexTemplateExistsDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Specify timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public IndexTemplateExistsDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); } ///Descriptor for TypeExists https://opensearch.org/docs/latest/opensearch/rest-api/index-apis/exists/ + ///Deprecated as of OpenSearch 2.0 public partial class TypeExistsDescriptor : RequestDescriptorBase, ITypeExistsRequest { internal override ApiUrls ApiUrls => ApiUrlsLookups.IndicesTypeExists; @@ -515,7 +551,7 @@ public TypeExistsDescriptor Index() public TypeExistsDescriptor ExpandWildcards(ExpandWildcards? expandwildcards) => Qs("expand_wildcards", expandwildcards); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) public TypeExistsDescriptor IgnoreUnavailable(bool? ignoreunavailable = true) => Qs("ignore_unavailable", ignoreunavailable); - ///Return local information, do not retrieve the state from master node (default: false) + ///Return local information, do not retrieve the state from cluster_manager node (default: false) public TypeExistsDescriptor Local(bool? local = true) => Qs("local", local); } @@ -632,11 +668,16 @@ public GetIndexDescriptor Index() ///Whether to return all default setting for each of the indices. public GetIndexDescriptor IncludeDefaults(bool? includedefaults = true) => Qs("include_defaults", includedefaults); ///Whether to add the type name to the response (default: false) + ///Deprecated as of OpenSearch 2.0 public GetIndexDescriptor IncludeTypeName(bool? includetypename = true) => Qs("include_type_name", includetypename); - ///Return local information, do not retrieve the state from master node (default: false) + ///Return local information, do not retrieve the state from cluster_manager node (default: false) public GetIndexDescriptor Local(bool? local = true) => Qs("local", local); - ///Specify timeout for connection to master + ///Specify timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public GetIndexDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Specify timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public GetIndexDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); } ///Descriptor for GetAlias https://opensearch.org/docs/latest/opensearch/rest-api/alias/ @@ -686,7 +727,7 @@ public GetAliasDescriptor Index() public GetAliasDescriptor ExpandWildcards(ExpandWildcards? expandwildcards) => Qs("expand_wildcards", expandwildcards); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) public GetAliasDescriptor IgnoreUnavailable(bool? ignoreunavailable = true) => Qs("ignore_unavailable", ignoreunavailable); - ///Return local information, do not retrieve the state from master node (default: false) + ///Return local information, do not retrieve the state from cluster_manager node (default: false) public GetAliasDescriptor Local(bool? local = true) => Qs("local", local); } @@ -733,8 +774,9 @@ public GetFieldMappingDescriptor Index() ///Whether the default mapping values should be returned as well public GetFieldMappingDescriptor IncludeDefaults(bool? includedefaults = true) => Qs("include_defaults", includedefaults); ///Whether a type should be returned in the body of the mappings. + ///Deprecated as of OpenSearch 2.0 public GetFieldMappingDescriptor IncludeTypeName(bool? includetypename = true) => Qs("include_type_name", includetypename); - ///Return local information, do not retrieve the state from master node (default: false) + ///Return local information, do not retrieve the state from cluster_manager node (default: false) public GetFieldMappingDescriptor Local(bool? local = true) => Qs("local", local); } @@ -770,9 +812,14 @@ public GetMappingDescriptor Index() ///Whether specified concrete indices should be ignored when unavailable (missing or closed) public GetMappingDescriptor IgnoreUnavailable(bool? ignoreunavailable = true) => Qs("ignore_unavailable", ignoreunavailable); ///Whether to add the type name to the response (default: false) + ///Deprecated as of OpenSearch 2.0 public GetMappingDescriptor IncludeTypeName(bool? includetypename = true) => Qs("include_type_name", includetypename); - ///Specify timeout for connection to master + ///Specify timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public GetMappingDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Specify timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public GetMappingDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); } ///Descriptor for GetSettings @@ -826,10 +873,14 @@ public GetIndexSettingsDescriptor Index() public GetIndexSettingsDescriptor IgnoreUnavailable(bool? ignoreunavailable = true) => Qs("ignore_unavailable", ignoreunavailable); ///Whether to return all default setting for each of the indices. public GetIndexSettingsDescriptor IncludeDefaults(bool? includedefaults = true) => Qs("include_defaults", includedefaults); - ///Return local information, do not retrieve the state from master node (default: false) + ///Return local information, do not retrieve the state from cluster_manager node (default: false) public GetIndexSettingsDescriptor Local(bool? local = true) => Qs("local", local); - ///Specify timeout for connection to master + ///Specify timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public GetIndexSettingsDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Specify timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public GetIndexSettingsDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); } ///Descriptor for GetTemplate https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-templates/ @@ -855,11 +906,17 @@ public GetIndexTemplateDescriptor(Names name): base(r => r.Optional("name", name ///Return settings in flat format (default: false) public GetIndexTemplateDescriptor FlatSettings(bool? flatsettings = true) => Qs("flat_settings", flatsettings); ///Whether a type should be returned in the body of the mappings. + ///Deprecated as of OpenSearch 2.0 public GetIndexTemplateDescriptor IncludeTypeName(bool? includetypename = true) => Qs("include_type_name", includetypename); - ///Return local information, do not retrieve the state from master node (default: false) + ///Return local information, do not retrieve the state from cluster_manager node (default: false) public GetIndexTemplateDescriptor Local(bool? local = true) => Qs("local", local); - ///Explicit operation timeout for connection to master node + ///Specify timeout for connection to master node + ///Specify timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public GetIndexTemplateDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Specify timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public GetIndexTemplateDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); } ///Descriptor for Open https://opensearch.org/docs/latest/opensearch/rest-api/index-apis/close-index/ @@ -894,8 +951,12 @@ public OpenIndexDescriptor Index() public OpenIndexDescriptor ExpandWildcards(ExpandWildcards? expandwildcards) => Qs("expand_wildcards", expandwildcards); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) public OpenIndexDescriptor IgnoreUnavailable(bool? ignoreunavailable = true) => Qs("ignore_unavailable", ignoreunavailable); - ///Specify timeout for connection to master + ///Specify timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public OpenIndexDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Specify timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public OpenIndexDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Explicit operation timeout public OpenIndexDescriptor Timeout(Time timeout) => Qs("timeout", timeout); ///Sets the number of active shards to wait for before the operation returns. @@ -930,8 +991,12 @@ public PutAliasDescriptor Index() ///A shortcut into calling Index(Indices.All) public PutAliasDescriptor AllIndices() => Index(Indices.All); // Request parameters - ///Specify timeout for connection to master + ///Specify timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public PutAliasDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Specify timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public PutAliasDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Explicit timestamp for the document public PutAliasDescriptor Timeout(Time timeout) => Qs("timeout", timeout); } @@ -968,9 +1033,14 @@ public PutMappingDescriptor Index() ///Whether specified concrete indices should be ignored when unavailable (missing or closed) public PutMappingDescriptor IgnoreUnavailable(bool? ignoreunavailable = true) => Qs("ignore_unavailable", ignoreunavailable); ///Whether a type should be expected in the body of the mappings. + ///Deprecated as of OpenSearch 2.0 public PutMappingDescriptor IncludeTypeName(bool? includetypename = true) => Qs("include_type_name", includetypename); - ///Specify timeout for connection to master + ///Specify timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public PutMappingDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Specify timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public PutMappingDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Explicit operation timeout public PutMappingDescriptor Timeout(Time timeout) => Qs("timeout", timeout); ///When true, applies mappings only to the write index of an alias @@ -1010,8 +1080,12 @@ public UpdateIndexSettingsDescriptor Index() public UpdateIndexSettingsDescriptor FlatSettings(bool? flatsettings = true) => Qs("flat_settings", flatsettings); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) public UpdateIndexSettingsDescriptor IgnoreUnavailable(bool? ignoreunavailable = true) => Qs("ignore_unavailable", ignoreunavailable); - ///Specify timeout for connection to master + ///Specify timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public UpdateIndexSettingsDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Specify timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public UpdateIndexSettingsDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Whether to update existing settings. If set to `true` existing settings on an index remain unchanged, the default is `false` public UpdateIndexSettingsDescriptor PreserveExisting(bool? preserveexisting = true) => Qs("preserve_existing", preserveexisting); ///Explicit operation timeout @@ -1040,9 +1114,14 @@ protected PutIndexTemplateDescriptor(): base() ///Whether the index template should only be added if new or can also replace an existing one public PutIndexTemplateDescriptor Create(bool? create = true) => Qs("create", create); ///Whether a type should be returned in the body of the mappings. + ///Deprecated as of OpenSearch 2.0 public PutIndexTemplateDescriptor IncludeTypeName(bool? includetypename = true) => Qs("include_type_name", includetypename); - ///Specify timeout for connection to master + ///Specify timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public PutIndexTemplateDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Specify timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public PutIndexTemplateDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); } ///Descriptor for Refresh https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/get-documents/ @@ -1133,9 +1212,14 @@ protected RolloverIndexDescriptor(): base() ///If set to true the rollover action will only be validated but not actually performed even if a condition matches. The default is false public RolloverIndexDescriptor DryRun(bool? dryrun = true) => Qs("dry_run", dryrun); ///Whether a type should be included in the body of the mappings. + ///Deprecated as of OpenSearch 2.0 public RolloverIndexDescriptor IncludeTypeName(bool? includetypename = true) => Qs("include_type_name", includetypename); - ///Specify timeout for connection to master + ///Specify timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public RolloverIndexDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Specify timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public RolloverIndexDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Explicit operation timeout public RolloverIndexDescriptor Timeout(Time timeout) => Qs("timeout", timeout); ///Set the number of active shards to wait for on the newly created rollover index before the operation returns. @@ -1203,8 +1287,12 @@ protected ShrinkIndexDescriptor(): base() public ShrinkIndexDescriptor Index() where TOther : class => Assign(typeof(TOther), (a, v) => a.RouteValues.Required("index", (IndexName)v)); // Request parameters - ///Specify timeout for connection to master + ///Specify timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public ShrinkIndexDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Specify timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public ShrinkIndexDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Explicit operation timeout public ShrinkIndexDescriptor Timeout(Time timeout) => Qs("timeout", timeout); ///Set the number of active shards to wait for on the shrunken index before the operation returns. @@ -1237,8 +1325,12 @@ protected SplitIndexDescriptor(): base() public SplitIndexDescriptor Index() where TOther : class => Assign(typeof(TOther), (a, v) => a.RouteValues.Required("index", (IndexName)v)); // Request parameters - ///Specify timeout for connection to master + ///Specify timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public SplitIndexDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Specify timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public SplitIndexDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Explicit operation timeout public SplitIndexDescriptor Timeout(Time timeout) => Qs("timeout", timeout); ///Set the number of active shards to wait for on the shrunken index before the operation returns. @@ -1251,8 +1343,12 @@ public partial class BulkAliasDescriptor : RequestDescriptorBase ApiUrlsLookups.IndicesBulkAlias; // values part of the url path // Request parameters - ///Specify timeout for connection to master + ///Specify timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public BulkAliasDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Specify timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public BulkAliasDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Request timeout public BulkAliasDescriptor Timeout(Time timeout) => Qs("timeout", timeout); } diff --git a/src/OpenSearch.Client/Descriptors.Ingest.cs b/src/OpenSearch.Client/Descriptors.Ingest.cs index 3d03919f49..322e35744a 100644 --- a/src/OpenSearch.Client/Descriptors.Ingest.cs +++ b/src/OpenSearch.Client/Descriptors.Ingest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * @@ -76,7 +77,11 @@ protected DeletePipelineDescriptor(): base() Id IDeletePipelineRequest.Id => Self.RouteValues.Get("id"); // Request parameters ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public DeletePipelineDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Explicit operation timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public DeletePipelineDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Explicit operation timeout public DeletePipelineDescriptor Timeout(Time timeout) => Qs("timeout", timeout); } @@ -102,7 +107,11 @@ public GetPipelineDescriptor(Id id): base(r => r.Optional("id", id)) public GetPipelineDescriptor Id(Id id) => Assign(id, (a, v) => a.RouteValues.Optional("id", v)); // Request parameters ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public GetPipelineDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Explicit operation timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public GetPipelineDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); } ///Descriptor for GrokProcessorPatterns @@ -133,7 +142,11 @@ protected PutPipelineDescriptor(): base() Id IPutPipelineRequest.Id => Self.RouteValues.Get("id"); // Request parameters ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public PutPipelineDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Explicit operation timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public PutPipelineDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Explicit operation timeout public PutPipelineDescriptor Timeout(Time timeout) => Qs("timeout", timeout); } diff --git a/src/OpenSearch.Client/Descriptors.NoNamespace.cs b/src/OpenSearch.Client/Descriptors.NoNamespace.cs index 251c2e022b..d55206e800 100644 --- a/src/OpenSearch.Client/Descriptors.NoNamespace.cs +++ b/src/OpenSearch.Client/Descriptors.NoNamespace.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * @@ -440,8 +441,12 @@ protected DeleteScriptDescriptor(): base() // values part of the url path Id IDeleteScriptRequest.Id => Self.RouteValues.Get("id"); // Request parameters - ///Specify timeout for connection to master + ///Specify timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public DeleteScriptDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Specify timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public DeleteScriptDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Explicit operation timeout public DeleteScriptDescriptor Timeout(Time timeout) => Qs("timeout", timeout); } @@ -781,8 +786,12 @@ protected GetScriptDescriptor(): base() // values part of the url path Id IGetScriptRequest.Id => Self.RouteValues.Get("id"); // Request parameters - ///Specify timeout for connection to master + ///Specify timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public GetScriptDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Specify timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public GetScriptDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); } ///Descriptor for Source https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/get-documents/ @@ -1154,8 +1163,12 @@ protected PutScriptDescriptor(): base() ///Script context public PutScriptDescriptor Context(Name context) => Assign(context, (a, v) => a.RouteValues.Optional("context", v)); // Request parameters - ///Specify timeout for connection to master + ///Specify timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public PutScriptDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Specify timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public PutScriptDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Explicit operation timeout public PutScriptDescriptor Timeout(Time timeout) => Qs("timeout", timeout); } @@ -1367,7 +1380,7 @@ public SearchShardsDescriptor Index() public SearchShardsDescriptor ExpandWildcards(ExpandWildcards? expandwildcards) => Qs("expand_wildcards", expandwildcards); ///Whether specified concrete indices should be ignored when unavailable (missing or closed) public SearchShardsDescriptor IgnoreUnavailable(bool? ignoreunavailable = true) => Qs("ignore_unavailable", ignoreunavailable); - ///Return local information, do not retrieve the state from master node (default: false) + ///Return local information, do not retrieve the state from cluster_manager node (default: false) public SearchShardsDescriptor Local(bool? local = true) => Qs("local", local); ///Specify the node or shard the operation should be performed on (default: random) public SearchShardsDescriptor Preference(string preference) => Qs("preference", preference); diff --git a/src/OpenSearch.Client/Descriptors.Nodes.cs b/src/OpenSearch.Client/Descriptors.Nodes.cs index 6bd4ddced1..25b2610793 100644 --- a/src/OpenSearch.Client/Descriptors.Nodes.cs +++ b/src/OpenSearch.Client/Descriptors.Nodes.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Descriptors.Snapshot.cs b/src/OpenSearch.Client/Descriptors.Snapshot.cs index 483de32980..c558ef3437 100644 --- a/src/OpenSearch.Client/Descriptors.Snapshot.cs +++ b/src/OpenSearch.Client/Descriptors.Snapshot.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * @@ -76,7 +77,11 @@ protected CleanupRepositoryDescriptor(): base() Name ICleanupRepositoryRequest.RepositoryName => Self.RouteValues.Get("repository"); // Request parameters ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public CleanupRepositoryDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Explicit operation timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public CleanupRepositoryDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Explicit operation timeout public CleanupRepositoryDescriptor Timeout(Time timeout) => Qs("timeout", timeout); } @@ -105,7 +110,11 @@ protected CloneSnapshotDescriptor(): base() Name ICloneSnapshotRequest.TargetSnapshot => Self.RouteValues.Get("target_snapshot"); // Request parameters ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public CloneSnapshotDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Explicit operation timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public CloneSnapshotDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); } ///Descriptor for Snapshot https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-snapshots/ @@ -130,7 +139,11 @@ protected SnapshotDescriptor(): base() Name ISnapshotRequest.Snapshot => Self.RouteValues.Get("snapshot"); // Request parameters ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public SnapshotDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Explicit operation timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public SnapshotDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Should this request wait until the operation has completed before returning public SnapshotDescriptor WaitForCompletion(bool? waitforcompletion = true) => Qs("wait_for_completion", waitforcompletion); } @@ -155,7 +168,11 @@ protected CreateRepositoryDescriptor(): base() Name ICreateRepositoryRequest.RepositoryName => Self.RouteValues.Get("repository"); // Request parameters ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public CreateRepositoryDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Explicit operation timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public CreateRepositoryDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Explicit operation timeout public CreateRepositoryDescriptor Timeout(Time timeout) => Qs("timeout", timeout); ///Whether to verify the repository after creation @@ -184,7 +201,11 @@ protected DeleteSnapshotDescriptor(): base() Name IDeleteSnapshotRequest.Snapshot => Self.RouteValues.Get("snapshot"); // Request parameters ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public DeleteSnapshotDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Explicit operation timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public DeleteSnapshotDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); } ///Descriptor for DeleteRepository https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-snapshots/ @@ -207,7 +228,11 @@ protected DeleteRepositoryDescriptor(): base() Names IDeleteRepositoryRequest.RepositoryName => Self.RouteValues.Get("repository"); // Request parameters ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public DeleteRepositoryDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Explicit operation timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public DeleteRepositoryDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Explicit operation timeout public DeleteRepositoryDescriptor Timeout(Time timeout) => Qs("timeout", timeout); } @@ -236,7 +261,11 @@ protected GetSnapshotDescriptor(): base() ///Whether to ignore unavailable snapshots, defaults to false which means a SnapshotMissingException is thrown public GetSnapshotDescriptor IgnoreUnavailable(bool? ignoreunavailable = true) => Qs("ignore_unavailable", ignoreunavailable); ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public GetSnapshotDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Explicit operation timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public GetSnapshotDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Whether to show verbose snapshot info or only show the basic info found in the repository index blob public GetSnapshotDescriptor Verbose(bool? verbose = true) => Qs("verbose", verbose); } @@ -261,10 +290,14 @@ public GetRepositoryDescriptor(Names repository): base(r => r.Optional("reposito ///A comma-separated list of repository names public GetRepositoryDescriptor RepositoryName(Names repository) => Assign(repository, (a, v) => a.RouteValues.Optional("repository", v)); // Request parameters - ///Return local information, do not retrieve the state from master node (default: false) + ///Return local information, do not retrieve the state from cluster_manager node (default: false) public GetRepositoryDescriptor Local(bool? local = true) => Qs("local", local); ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public GetRepositoryDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Explicit operation timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public GetRepositoryDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); } ///Descriptor for Restore https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-snapshots/ @@ -289,7 +322,11 @@ protected RestoreDescriptor(): base() Name IRestoreRequest.Snapshot => Self.RouteValues.Get("snapshot"); // Request parameters ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public RestoreDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Explicit operation timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public RestoreDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Should this request wait until the operation has completed before returning public RestoreDescriptor WaitForCompletion(bool? waitforcompletion = true) => Qs("wait_for_completion", waitforcompletion); } @@ -327,7 +364,11 @@ public SnapshotStatusDescriptor(Name repository, Names snapshot): base(r => r.Op ///Whether to ignore unavailable snapshots, defaults to false which means a SnapshotMissingException is thrown public SnapshotStatusDescriptor IgnoreUnavailable(bool? ignoreunavailable = true) => Qs("ignore_unavailable", ignoreunavailable); ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public SnapshotStatusDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Explicit operation timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public SnapshotStatusDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); } ///Descriptor for VerifyRepository https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-snapshots/ @@ -350,7 +391,11 @@ protected VerifyRepositoryDescriptor(): base() Name IVerifyRepositoryRequest.RepositoryName => Self.RouteValues.Get("repository"); // Request parameters ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public VerifyRepositoryDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout); + ///Explicit operation timeout for connection to cluster_manager node + ///Introduced in OpenSearch 2.0 instead of + public VerifyRepositoryDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout); ///Explicit operation timeout public VerifyRepositoryDescriptor Timeout(Time timeout) => Qs("timeout", timeout); } diff --git a/src/OpenSearch.Client/Descriptors.Tasks.cs b/src/OpenSearch.Client/Descriptors.Tasks.cs index 9af71d4099..03ae2dd5b8 100644 --- a/src/OpenSearch.Client/Descriptors.Tasks.cs +++ b/src/OpenSearch.Client/Descriptors.Tasks.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Descriptors.cs b/src/OpenSearch.Client/Descriptors.cs index 03200923ae..f39a1357e8 100644 --- a/src/OpenSearch.Client/Descriptors.cs +++ b/src/OpenSearch.Client/Descriptors.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkOperation/BulkCreate.cs b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkOperation/BulkCreate.cs index ccfa466bc3..873cafe4a9 100644 --- a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkOperation/BulkCreate.cs +++ b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkOperation/BulkCreate.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkOperation/BulkDelete.cs b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkOperation/BulkDelete.cs index 5b220d1114..fbdcb7899a 100644 --- a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkOperation/BulkDelete.cs +++ b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkOperation/BulkDelete.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkOperation/BulkIndex.cs b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkOperation/BulkIndex.cs index b17ae35871..ae2af905d1 100644 --- a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkOperation/BulkIndex.cs +++ b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkOperation/BulkIndex.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkOperation/BulkOperationBase.cs b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkOperation/BulkOperationBase.cs index c598a043ad..2c6cc6eb6a 100644 --- a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkOperation/BulkOperationBase.cs +++ b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkOperation/BulkOperationBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkOperation/BulkOperationsCollection.cs b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkOperation/BulkOperationsCollection.cs index 17cf3f0a92..42f8f2c85c 100644 --- a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkOperation/BulkOperationsCollection.cs +++ b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkOperation/BulkOperationsCollection.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkOperation/BulkUpdate.cs b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkOperation/BulkUpdate.cs index bb976af447..dc67d06ebb 100644 --- a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkOperation/BulkUpdate.cs +++ b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkOperation/BulkUpdate.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkOperation/BulkUpdateBody.cs b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkOperation/BulkUpdateBody.cs index 1e90b740ab..cd30cf1a35 100644 --- a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkOperation/BulkUpdateBody.cs +++ b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkOperation/BulkUpdateBody.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkOperation/IBulkOperation.cs b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkOperation/IBulkOperation.cs index 1d8e152f33..4c64625314 100644 --- a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkOperation/IBulkOperation.cs +++ b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkOperation/IBulkOperation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkRequest.cs b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkRequest.cs index 1c97bd7757..cd3cd8bd4f 100644 --- a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkRequest.cs +++ b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkRequestFormatter.cs b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkRequestFormatter.cs index b87532f7df..991a79a997 100644 --- a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkRequestFormatter.cs +++ b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkRequestFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkResponse.cs b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkResponse.cs index 66c6aa9100..fd90a8f2be 100644 --- a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkResponse.cs +++ b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkResponseItem/BulkCreateResponseItem.cs b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkResponseItem/BulkCreateResponseItem.cs index 3cbe34e3a8..221dce7a2a 100644 --- a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkResponseItem/BulkCreateResponseItem.cs +++ b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkResponseItem/BulkCreateResponseItem.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkResponseItem/BulkDeleteResponseItem.cs b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkResponseItem/BulkDeleteResponseItem.cs index 5d2add4e8d..4b4441a64b 100644 --- a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkResponseItem/BulkDeleteResponseItem.cs +++ b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkResponseItem/BulkDeleteResponseItem.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkResponseItem/BulkIndexResponseItem.cs b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkResponseItem/BulkIndexResponseItem.cs index c45af843c2..2e728c69be 100644 --- a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkResponseItem/BulkIndexResponseItem.cs +++ b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkResponseItem/BulkIndexResponseItem.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkResponseItem/BulkResponseItemBase.cs b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkResponseItem/BulkResponseItemBase.cs index b90e4b189e..69c46bcdc6 100644 --- a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkResponseItem/BulkResponseItemBase.cs +++ b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkResponseItem/BulkResponseItemBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * @@ -89,6 +90,7 @@ public abstract class BulkResponseItemBase /// /// The type against which the bulk operation ran /// + /// Deprecated as of OpenSearch 2.0 [DataMember(Name = "_type")] public string Type { get; internal set; } @@ -103,7 +105,7 @@ public bool IsValid { get { - if (Error != null || Type.IsNullOrEmpty()) return false; + if (Error != null) return false; switch (Operation.ToLowerInvariant()) { diff --git a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkResponseItem/BulkResponseItemFormatter.cs b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkResponseItem/BulkResponseItemFormatter.cs index 2e9d25f045..014358265f 100644 --- a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkResponseItem/BulkResponseItemFormatter.cs +++ b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkResponseItem/BulkResponseItemFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkResponseItem/BulkUpdateResponseItem.cs b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkResponseItem/BulkUpdateResponseItem.cs index 68634f6d37..99a9faa77a 100644 --- a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkResponseItem/BulkUpdateResponseItem.cs +++ b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkResponseItem/BulkUpdateResponseItem.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkResponseItem/ConcreteBulkIndexResponseItemFormatter.cs b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkResponseItem/ConcreteBulkIndexResponseItemFormatter.cs index 14a88ef9f7..42488fe7cd 100644 --- a/src/OpenSearch.Client/Document/Multiple/Bulk/BulkResponseItem/ConcreteBulkIndexResponseItemFormatter.cs +++ b/src/OpenSearch.Client/Document/Multiple/Bulk/BulkResponseItem/ConcreteBulkIndexResponseItemFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/Bulk/OpenSearchClient-DeleteMany.cs b/src/OpenSearch.Client/Document/Multiple/Bulk/OpenSearchClient-DeleteMany.cs index 8f66ceb936..44ba643f6f 100644 --- a/src/OpenSearch.Client/Document/Multiple/Bulk/OpenSearchClient-DeleteMany.cs +++ b/src/OpenSearch.Client/Document/Multiple/Bulk/OpenSearchClient-DeleteMany.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/Bulk/OpenSearchClient-IndexMany.cs b/src/OpenSearch.Client/Document/Multiple/Bulk/OpenSearchClient-IndexMany.cs index 1cfbfa190c..cae6a296c6 100644 --- a/src/OpenSearch.Client/Document/Multiple/Bulk/OpenSearchClient-IndexMany.cs +++ b/src/OpenSearch.Client/Document/Multiple/Bulk/OpenSearchClient-IndexMany.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/BulkAll/BulkAllObservable.cs b/src/OpenSearch.Client/Document/Multiple/BulkAll/BulkAllObservable.cs index 0ac1304b17..3e6b19c362 100644 --- a/src/OpenSearch.Client/Document/Multiple/BulkAll/BulkAllObservable.cs +++ b/src/OpenSearch.Client/Document/Multiple/BulkAll/BulkAllObservable.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/BulkAll/BulkAllObserver.cs b/src/OpenSearch.Client/Document/Multiple/BulkAll/BulkAllObserver.cs index 58f666481b..0d219b075a 100644 --- a/src/OpenSearch.Client/Document/Multiple/BulkAll/BulkAllObserver.cs +++ b/src/OpenSearch.Client/Document/Multiple/BulkAll/BulkAllObserver.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/BulkAll/BulkAllRequest.cs b/src/OpenSearch.Client/Document/Multiple/BulkAll/BulkAllRequest.cs index 34d9a510cd..58a473635b 100644 --- a/src/OpenSearch.Client/Document/Multiple/BulkAll/BulkAllRequest.cs +++ b/src/OpenSearch.Client/Document/Multiple/BulkAll/BulkAllRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/BulkAll/BulkAllResponse.cs b/src/OpenSearch.Client/Document/Multiple/BulkAll/BulkAllResponse.cs index d42bab3c34..55bdc77820 100644 --- a/src/OpenSearch.Client/Document/Multiple/BulkAll/BulkAllResponse.cs +++ b/src/OpenSearch.Client/Document/Multiple/BulkAll/BulkAllResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/BulkAll/OpenSearchClient-BulkAll.cs b/src/OpenSearch.Client/Document/Multiple/BulkAll/OpenSearchClient-BulkAll.cs index faadd15a19..655307d6ab 100644 --- a/src/OpenSearch.Client/Document/Multiple/BulkAll/OpenSearchClient-BulkAll.cs +++ b/src/OpenSearch.Client/Document/Multiple/BulkAll/OpenSearchClient-BulkAll.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/BulkIndexByScrollFailure.cs b/src/OpenSearch.Client/Document/Multiple/BulkIndexByScrollFailure.cs index 9d259a2a8a..8713c293c7 100644 --- a/src/OpenSearch.Client/Document/Multiple/BulkIndexByScrollFailure.cs +++ b/src/OpenSearch.Client/Document/Multiple/BulkIndexByScrollFailure.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/DeleteByQuery/DeleteByQueryRequest.cs b/src/OpenSearch.Client/Document/Multiple/DeleteByQuery/DeleteByQueryRequest.cs index cce8ee514c..9c9fe23dbd 100644 --- a/src/OpenSearch.Client/Document/Multiple/DeleteByQuery/DeleteByQueryRequest.cs +++ b/src/OpenSearch.Client/Document/Multiple/DeleteByQuery/DeleteByQueryRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/DeleteByQuery/DeleteByQueryResponse.cs b/src/OpenSearch.Client/Document/Multiple/DeleteByQuery/DeleteByQueryResponse.cs index 05e907e673..494cdc4a5f 100644 --- a/src/OpenSearch.Client/Document/Multiple/DeleteByQuery/DeleteByQueryResponse.cs +++ b/src/OpenSearch.Client/Document/Multiple/DeleteByQuery/DeleteByQueryResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/DeleteByQueryRethrottle/DeleteByQueryRethrottleRequest.cs b/src/OpenSearch.Client/Document/Multiple/DeleteByQueryRethrottle/DeleteByQueryRethrottleRequest.cs index ee74a414de..013c3b564f 100644 --- a/src/OpenSearch.Client/Document/Multiple/DeleteByQueryRethrottle/DeleteByQueryRethrottleRequest.cs +++ b/src/OpenSearch.Client/Document/Multiple/DeleteByQueryRethrottle/DeleteByQueryRethrottleRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/MultiGet/OpenSearchClient-GetMany.cs b/src/OpenSearch.Client/Document/Multiple/MultiGet/OpenSearchClient-GetMany.cs index 87a429c093..bbe05c00b5 100644 --- a/src/OpenSearch.Client/Document/Multiple/MultiGet/OpenSearchClient-GetMany.cs +++ b/src/OpenSearch.Client/Document/Multiple/MultiGet/OpenSearchClient-GetMany.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/MultiGet/OpenSearchClient-SourceMany.cs b/src/OpenSearch.Client/Document/Multiple/MultiGet/OpenSearchClient-SourceMany.cs index c7d9ff4f07..354f143177 100644 --- a/src/OpenSearch.Client/Document/Multiple/MultiGet/OpenSearchClient-SourceMany.cs +++ b/src/OpenSearch.Client/Document/Multiple/MultiGet/OpenSearchClient-SourceMany.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/MultiGet/Request/IMultiGetOperation.cs b/src/OpenSearch.Client/Document/Multiple/MultiGet/Request/IMultiGetOperation.cs index c4b50f971b..6df1265a3c 100644 --- a/src/OpenSearch.Client/Document/Multiple/MultiGet/Request/IMultiGetOperation.cs +++ b/src/OpenSearch.Client/Document/Multiple/MultiGet/Request/IMultiGetOperation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/MultiGet/Request/MultiGetOperation.cs b/src/OpenSearch.Client/Document/Multiple/MultiGet/Request/MultiGetOperation.cs index 96ee897346..9a85ff4994 100644 --- a/src/OpenSearch.Client/Document/Multiple/MultiGet/Request/MultiGetOperation.cs +++ b/src/OpenSearch.Client/Document/Multiple/MultiGet/Request/MultiGetOperation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/MultiGet/Request/MultiGetRequest.cs b/src/OpenSearch.Client/Document/Multiple/MultiGet/Request/MultiGetRequest.cs index 8a51b01c78..6aa9082c20 100644 --- a/src/OpenSearch.Client/Document/Multiple/MultiGet/Request/MultiGetRequest.cs +++ b/src/OpenSearch.Client/Document/Multiple/MultiGet/Request/MultiGetRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/MultiGet/Request/MultiGetRequestFormatter.cs b/src/OpenSearch.Client/Document/Multiple/MultiGet/Request/MultiGetRequestFormatter.cs index 039d3dc8f7..6950096157 100644 --- a/src/OpenSearch.Client/Document/Multiple/MultiGet/Request/MultiGetRequestFormatter.cs +++ b/src/OpenSearch.Client/Document/Multiple/MultiGet/Request/MultiGetRequestFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/MultiGet/Request/MultiGetResponseBuilder.cs b/src/OpenSearch.Client/Document/Multiple/MultiGet/Request/MultiGetResponseBuilder.cs index 9370a50fe5..72638fed63 100644 --- a/src/OpenSearch.Client/Document/Multiple/MultiGet/Request/MultiGetResponseBuilder.cs +++ b/src/OpenSearch.Client/Document/Multiple/MultiGet/Request/MultiGetResponseBuilder.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/MultiGet/Response/MultiGetHit.cs b/src/OpenSearch.Client/Document/Multiple/MultiGet/Response/MultiGetHit.cs index 30418c2bed..6c2f668208 100644 --- a/src/OpenSearch.Client/Document/Multiple/MultiGet/Response/MultiGetHit.cs +++ b/src/OpenSearch.Client/Document/Multiple/MultiGet/Response/MultiGetHit.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/MultiGet/Response/MultiGetHitJsonConverter.cs b/src/OpenSearch.Client/Document/Multiple/MultiGet/Response/MultiGetHitJsonConverter.cs index 76e4104c69..e8299c4a54 100644 --- a/src/OpenSearch.Client/Document/Multiple/MultiGet/Response/MultiGetHitJsonConverter.cs +++ b/src/OpenSearch.Client/Document/Multiple/MultiGet/Response/MultiGetHitJsonConverter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/MultiGet/Response/MultiGetResponse.cs b/src/OpenSearch.Client/Document/Multiple/MultiGet/Response/MultiGetResponse.cs index 2e9b4e1b88..3d1290bd69 100644 --- a/src/OpenSearch.Client/Document/Multiple/MultiGet/Response/MultiGetResponse.cs +++ b/src/OpenSearch.Client/Document/Multiple/MultiGet/Response/MultiGetResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/MultiTermVectors/MultiTermVectorOperation.cs b/src/OpenSearch.Client/Document/Multiple/MultiTermVectors/MultiTermVectorOperation.cs index a0cd4010fb..0aeaf34f32 100644 --- a/src/OpenSearch.Client/Document/Multiple/MultiTermVectors/MultiTermVectorOperation.cs +++ b/src/OpenSearch.Client/Document/Multiple/MultiTermVectors/MultiTermVectorOperation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/MultiTermVectors/MultiTermVectorsRequest.cs b/src/OpenSearch.Client/Document/Multiple/MultiTermVectors/MultiTermVectorsRequest.cs index 6055f3a8bb..b8666ae4fa 100644 --- a/src/OpenSearch.Client/Document/Multiple/MultiTermVectors/MultiTermVectorsRequest.cs +++ b/src/OpenSearch.Client/Document/Multiple/MultiTermVectors/MultiTermVectorsRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/MultiTermVectors/MultiTermVectorsResponse.cs b/src/OpenSearch.Client/Document/Multiple/MultiTermVectors/MultiTermVectorsResponse.cs index 9880cabf41..9840a5108b 100644 --- a/src/OpenSearch.Client/Document/Multiple/MultiTermVectors/MultiTermVectorsResponse.cs +++ b/src/OpenSearch.Client/Document/Multiple/MultiTermVectors/MultiTermVectorsResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/Reindex/OpenSearchClient-Reindex.cs b/src/OpenSearch.Client/Document/Multiple/Reindex/OpenSearchClient-Reindex.cs index e3c60a3318..707c67e5bd 100644 --- a/src/OpenSearch.Client/Document/Multiple/Reindex/OpenSearchClient-Reindex.cs +++ b/src/OpenSearch.Client/Document/Multiple/Reindex/OpenSearchClient-Reindex.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/Reindex/ReindexObservable.cs b/src/OpenSearch.Client/Document/Multiple/Reindex/ReindexObservable.cs index acad1d590b..98152b14e7 100644 --- a/src/OpenSearch.Client/Document/Multiple/Reindex/ReindexObservable.cs +++ b/src/OpenSearch.Client/Document/Multiple/Reindex/ReindexObservable.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/Reindex/ReindexObserver.cs b/src/OpenSearch.Client/Document/Multiple/Reindex/ReindexObserver.cs index d09eb33f30..79f4f9b6fc 100644 --- a/src/OpenSearch.Client/Document/Multiple/Reindex/ReindexObserver.cs +++ b/src/OpenSearch.Client/Document/Multiple/Reindex/ReindexObserver.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/Reindex/ReindexRequest.cs b/src/OpenSearch.Client/Document/Multiple/Reindex/ReindexRequest.cs index 024251fbb9..8ce6a01a63 100644 --- a/src/OpenSearch.Client/Document/Multiple/Reindex/ReindexRequest.cs +++ b/src/OpenSearch.Client/Document/Multiple/Reindex/ReindexRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/ReindexOnServer/ReindexDestination.cs b/src/OpenSearch.Client/Document/Multiple/ReindexOnServer/ReindexDestination.cs index 09ecd0e0b1..14efee2a2e 100644 --- a/src/OpenSearch.Client/Document/Multiple/ReindexOnServer/ReindexDestination.cs +++ b/src/OpenSearch.Client/Document/Multiple/ReindexOnServer/ReindexDestination.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/ReindexOnServer/ReindexOnServerRequest.cs b/src/OpenSearch.Client/Document/Multiple/ReindexOnServer/ReindexOnServerRequest.cs index 8315490399..48c9fe3bdb 100644 --- a/src/OpenSearch.Client/Document/Multiple/ReindexOnServer/ReindexOnServerRequest.cs +++ b/src/OpenSearch.Client/Document/Multiple/ReindexOnServer/ReindexOnServerRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/ReindexOnServer/ReindexOnServerResponse.cs b/src/OpenSearch.Client/Document/Multiple/ReindexOnServer/ReindexOnServerResponse.cs index c633281862..51ee12a3f1 100644 --- a/src/OpenSearch.Client/Document/Multiple/ReindexOnServer/ReindexOnServerResponse.cs +++ b/src/OpenSearch.Client/Document/Multiple/ReindexOnServer/ReindexOnServerResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/ReindexOnServer/ReindexRouting.cs b/src/OpenSearch.Client/Document/Multiple/ReindexOnServer/ReindexRouting.cs index edd6e3e85e..716941d1c8 100644 --- a/src/OpenSearch.Client/Document/Multiple/ReindexOnServer/ReindexRouting.cs +++ b/src/OpenSearch.Client/Document/Multiple/ReindexOnServer/ReindexRouting.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/ReindexOnServer/ReindexRoutingJsonConverter.cs b/src/OpenSearch.Client/Document/Multiple/ReindexOnServer/ReindexRoutingJsonConverter.cs index a0e33d9367..0543a92072 100644 --- a/src/OpenSearch.Client/Document/Multiple/ReindexOnServer/ReindexRoutingJsonConverter.cs +++ b/src/OpenSearch.Client/Document/Multiple/ReindexOnServer/ReindexRoutingJsonConverter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/ReindexOnServer/ReindexSource.cs b/src/OpenSearch.Client/Document/Multiple/ReindexOnServer/ReindexSource.cs index 36b62a83dc..b8e103eb20 100644 --- a/src/OpenSearch.Client/Document/Multiple/ReindexOnServer/ReindexSource.cs +++ b/src/OpenSearch.Client/Document/Multiple/ReindexOnServer/ReindexSource.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/ReindexOnServer/RemoteSource.cs b/src/OpenSearch.Client/Document/Multiple/ReindexOnServer/RemoteSource.cs index 919ae911fe..a00724b138 100644 --- a/src/OpenSearch.Client/Document/Multiple/ReindexOnServer/RemoteSource.cs +++ b/src/OpenSearch.Client/Document/Multiple/ReindexOnServer/RemoteSource.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/ReindexRethrottle/ReindexNode.cs b/src/OpenSearch.Client/Document/Multiple/ReindexRethrottle/ReindexNode.cs index 67f338de6c..aa6ff3d72b 100644 --- a/src/OpenSearch.Client/Document/Multiple/ReindexRethrottle/ReindexNode.cs +++ b/src/OpenSearch.Client/Document/Multiple/ReindexRethrottle/ReindexNode.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/ReindexRethrottle/ReindexRethrottleRequest.cs b/src/OpenSearch.Client/Document/Multiple/ReindexRethrottle/ReindexRethrottleRequest.cs index ccb8077a4e..999fbfe982 100644 --- a/src/OpenSearch.Client/Document/Multiple/ReindexRethrottle/ReindexRethrottleRequest.cs +++ b/src/OpenSearch.Client/Document/Multiple/ReindexRethrottle/ReindexRethrottleRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/ReindexRethrottle/ReindexRethrottleResponse.cs b/src/OpenSearch.Client/Document/Multiple/ReindexRethrottle/ReindexRethrottleResponse.cs index 8a7c0dd6af..d845b0e28e 100644 --- a/src/OpenSearch.Client/Document/Multiple/ReindexRethrottle/ReindexRethrottleResponse.cs +++ b/src/OpenSearch.Client/Document/Multiple/ReindexRethrottle/ReindexRethrottleResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/Retries.cs b/src/OpenSearch.Client/Document/Multiple/Retries.cs index 8c18a7ffed..eaceb12dfd 100644 --- a/src/OpenSearch.Client/Document/Multiple/Retries.cs +++ b/src/OpenSearch.Client/Document/Multiple/Retries.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/ScrollAll/OpenSearchClient-ScrollAll.cs b/src/OpenSearch.Client/Document/Multiple/ScrollAll/OpenSearchClient-ScrollAll.cs index b4fc52d4b9..40976575e7 100644 --- a/src/OpenSearch.Client/Document/Multiple/ScrollAll/OpenSearchClient-ScrollAll.cs +++ b/src/OpenSearch.Client/Document/Multiple/ScrollAll/OpenSearchClient-ScrollAll.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/ScrollAll/ScrollAllObservable.cs b/src/OpenSearch.Client/Document/Multiple/ScrollAll/ScrollAllObservable.cs index cf5f69038c..efad9952fa 100644 --- a/src/OpenSearch.Client/Document/Multiple/ScrollAll/ScrollAllObservable.cs +++ b/src/OpenSearch.Client/Document/Multiple/ScrollAll/ScrollAllObservable.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/ScrollAll/ScrollAllObserver.cs b/src/OpenSearch.Client/Document/Multiple/ScrollAll/ScrollAllObserver.cs index 9d8d39a6ee..4b8784b289 100644 --- a/src/OpenSearch.Client/Document/Multiple/ScrollAll/ScrollAllObserver.cs +++ b/src/OpenSearch.Client/Document/Multiple/ScrollAll/ScrollAllObserver.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/ScrollAll/ScrollAllRequest.cs b/src/OpenSearch.Client/Document/Multiple/ScrollAll/ScrollAllRequest.cs index c0291529a3..c8b2052661 100644 --- a/src/OpenSearch.Client/Document/Multiple/ScrollAll/ScrollAllRequest.cs +++ b/src/OpenSearch.Client/Document/Multiple/ScrollAll/ScrollAllRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/ScrollAll/ScrollAllResponse.cs b/src/OpenSearch.Client/Document/Multiple/ScrollAll/ScrollAllResponse.cs index f3709892f7..5747c2adb8 100644 --- a/src/OpenSearch.Client/Document/Multiple/ScrollAll/ScrollAllResponse.cs +++ b/src/OpenSearch.Client/Document/Multiple/ScrollAll/ScrollAllResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/UpdateByQuery/UpdateByQueryRequest.cs b/src/OpenSearch.Client/Document/Multiple/UpdateByQuery/UpdateByQueryRequest.cs index 4a8d08c297..5e68b00a92 100644 --- a/src/OpenSearch.Client/Document/Multiple/UpdateByQuery/UpdateByQueryRequest.cs +++ b/src/OpenSearch.Client/Document/Multiple/UpdateByQuery/UpdateByQueryRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/UpdateByQuery/UpdateByQueryResponse.cs b/src/OpenSearch.Client/Document/Multiple/UpdateByQuery/UpdateByQueryResponse.cs index ca1a27094a..32619f3b35 100644 --- a/src/OpenSearch.Client/Document/Multiple/UpdateByQuery/UpdateByQueryResponse.cs +++ b/src/OpenSearch.Client/Document/Multiple/UpdateByQuery/UpdateByQueryResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Multiple/UpdateByQueryRethrottle/UpdateByQueryRethrottleRequest.cs b/src/OpenSearch.Client/Document/Multiple/UpdateByQueryRethrottle/UpdateByQueryRethrottleRequest.cs index c263b56d40..cfecdcb670 100644 --- a/src/OpenSearch.Client/Document/Multiple/UpdateByQueryRethrottle/UpdateByQueryRethrottleRequest.cs +++ b/src/OpenSearch.Client/Document/Multiple/UpdateByQueryRethrottle/UpdateByQueryRethrottleRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Result.cs b/src/OpenSearch.Client/Document/Result.cs index 61169e37eb..36c456b348 100644 --- a/src/OpenSearch.Client/Document/Result.cs +++ b/src/OpenSearch.Client/Document/Result.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Single/Create/CreateJsonConverter.cs b/src/OpenSearch.Client/Document/Single/Create/CreateJsonConverter.cs index 71afea108b..ea08be8529 100644 --- a/src/OpenSearch.Client/Document/Single/Create/CreateJsonConverter.cs +++ b/src/OpenSearch.Client/Document/Single/Create/CreateJsonConverter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Single/Create/CreateRequest.cs b/src/OpenSearch.Client/Document/Single/Create/CreateRequest.cs index d665fd9519..8167644d0d 100644 --- a/src/OpenSearch.Client/Document/Single/Create/CreateRequest.cs +++ b/src/OpenSearch.Client/Document/Single/Create/CreateRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Single/Create/CreateResponse.cs b/src/OpenSearch.Client/Document/Single/Create/CreateResponse.cs index 363f1c2c74..f710674fdb 100644 --- a/src/OpenSearch.Client/Document/Single/Create/CreateResponse.cs +++ b/src/OpenSearch.Client/Document/Single/Create/CreateResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Single/Create/OpenSearchClient-Create.cs b/src/OpenSearch.Client/Document/Single/Create/OpenSearchClient-Create.cs index 786501a76a..143b43ed06 100644 --- a/src/OpenSearch.Client/Document/Single/Create/OpenSearchClient-Create.cs +++ b/src/OpenSearch.Client/Document/Single/Create/OpenSearchClient-Create.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Single/Delete/DeleteRequest.cs b/src/OpenSearch.Client/Document/Single/Delete/DeleteRequest.cs index 87414d30eb..e101897f32 100644 --- a/src/OpenSearch.Client/Document/Single/Delete/DeleteRequest.cs +++ b/src/OpenSearch.Client/Document/Single/Delete/DeleteRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Single/Delete/DeleteResponse.cs b/src/OpenSearch.Client/Document/Single/Delete/DeleteResponse.cs index 9fd2db7355..e3b50fcddc 100644 --- a/src/OpenSearch.Client/Document/Single/Delete/DeleteResponse.cs +++ b/src/OpenSearch.Client/Document/Single/Delete/DeleteResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Single/Exists/DocumentExistsRequest.cs b/src/OpenSearch.Client/Document/Single/Exists/DocumentExistsRequest.cs index 17b15b4893..f0aebfd807 100644 --- a/src/OpenSearch.Client/Document/Single/Exists/DocumentExistsRequest.cs +++ b/src/OpenSearch.Client/Document/Single/Exists/DocumentExistsRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Single/Get/GetRequest.cs b/src/OpenSearch.Client/Document/Single/Get/GetRequest.cs index 876603df2b..38d254fec4 100644 --- a/src/OpenSearch.Client/Document/Single/Get/GetRequest.cs +++ b/src/OpenSearch.Client/Document/Single/Get/GetRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Single/Get/GetResponse.cs b/src/OpenSearch.Client/Document/Single/Get/GetResponse.cs index db4b148252..6a7a491534 100644 --- a/src/OpenSearch.Client/Document/Single/Get/GetResponse.cs +++ b/src/OpenSearch.Client/Document/Single/Get/GetResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Single/Index/IndexJsonConverter.cs b/src/OpenSearch.Client/Document/Single/Index/IndexJsonConverter.cs index 7421cd16cc..42e566dc6f 100644 --- a/src/OpenSearch.Client/Document/Single/Index/IndexJsonConverter.cs +++ b/src/OpenSearch.Client/Document/Single/Index/IndexJsonConverter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Single/Index/IndexRequest.cs b/src/OpenSearch.Client/Document/Single/Index/IndexRequest.cs index ce5513766d..987890c0e6 100644 --- a/src/OpenSearch.Client/Document/Single/Index/IndexRequest.cs +++ b/src/OpenSearch.Client/Document/Single/Index/IndexRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Single/Index/IndexResponse.cs b/src/OpenSearch.Client/Document/Single/Index/IndexResponse.cs index fd57cdbb0b..7327833b7d 100644 --- a/src/OpenSearch.Client/Document/Single/Index/IndexResponse.cs +++ b/src/OpenSearch.Client/Document/Single/Index/IndexResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Single/Index/OpenSearchClient-Index.cs b/src/OpenSearch.Client/Document/Single/Index/OpenSearchClient-Index.cs index 6dcc131c0f..61bec61cd6 100644 --- a/src/OpenSearch.Client/Document/Single/Index/OpenSearchClient-Index.cs +++ b/src/OpenSearch.Client/Document/Single/Index/OpenSearchClient-Index.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Single/Source/SourceRequest.cs b/src/OpenSearch.Client/Document/Single/Source/SourceRequest.cs index b2ab44f42b..32a092295c 100644 --- a/src/OpenSearch.Client/Document/Single/Source/SourceRequest.cs +++ b/src/OpenSearch.Client/Document/Single/Source/SourceRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Single/Source/SourceRequestResponseBuilder.cs b/src/OpenSearch.Client/Document/Single/Source/SourceRequestResponseBuilder.cs index 39828ba864..fe7e093536 100644 --- a/src/OpenSearch.Client/Document/Single/Source/SourceRequestResponseBuilder.cs +++ b/src/OpenSearch.Client/Document/Single/Source/SourceRequestResponseBuilder.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Single/Source/SourceResponse.cs b/src/OpenSearch.Client/Document/Single/Source/SourceResponse.cs index 7fa4eaf29c..bb87fbbfdd 100644 --- a/src/OpenSearch.Client/Document/Single/Source/SourceResponse.cs +++ b/src/OpenSearch.Client/Document/Single/Source/SourceResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Single/SourceExists/SourceExistsRequest.cs b/src/OpenSearch.Client/Document/Single/SourceExists/SourceExistsRequest.cs index 3fbaf42cb6..f4c0250f36 100644 --- a/src/OpenSearch.Client/Document/Single/SourceExists/SourceExistsRequest.cs +++ b/src/OpenSearch.Client/Document/Single/SourceExists/SourceExistsRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Single/TermVectors/FieldStatistics.cs b/src/OpenSearch.Client/Document/Single/TermVectors/FieldStatistics.cs index 5f41dfd628..f32ecea6ff 100644 --- a/src/OpenSearch.Client/Document/Single/TermVectors/FieldStatistics.cs +++ b/src/OpenSearch.Client/Document/Single/TermVectors/FieldStatistics.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Single/TermVectors/TermVector.cs b/src/OpenSearch.Client/Document/Single/TermVectors/TermVector.cs index d9e608fdb8..3f9559786f 100644 --- a/src/OpenSearch.Client/Document/Single/TermVectors/TermVector.cs +++ b/src/OpenSearch.Client/Document/Single/TermVectors/TermVector.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Single/TermVectors/TermVectorFilter.cs b/src/OpenSearch.Client/Document/Single/TermVectors/TermVectorFilter.cs index 3e48bb4f1c..22b2cac119 100644 --- a/src/OpenSearch.Client/Document/Single/TermVectors/TermVectorFilter.cs +++ b/src/OpenSearch.Client/Document/Single/TermVectors/TermVectorFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Single/TermVectors/TermVectorTerm.cs b/src/OpenSearch.Client/Document/Single/TermVectors/TermVectorTerm.cs index fd5a45d732..9bf7219f9c 100644 --- a/src/OpenSearch.Client/Document/Single/TermVectors/TermVectorTerm.cs +++ b/src/OpenSearch.Client/Document/Single/TermVectors/TermVectorTerm.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Single/TermVectors/TermVectors.cs b/src/OpenSearch.Client/Document/Single/TermVectors/TermVectors.cs index 1e27292c52..4b4f5c1ace 100644 --- a/src/OpenSearch.Client/Document/Single/TermVectors/TermVectors.cs +++ b/src/OpenSearch.Client/Document/Single/TermVectors/TermVectors.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Single/TermVectors/TermVectorsRequest.cs b/src/OpenSearch.Client/Document/Single/TermVectors/TermVectorsRequest.cs index 858baaac6c..73f5f11328 100644 --- a/src/OpenSearch.Client/Document/Single/TermVectors/TermVectorsRequest.cs +++ b/src/OpenSearch.Client/Document/Single/TermVectors/TermVectorsRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Single/TermVectors/TermVectorsResponse.cs b/src/OpenSearch.Client/Document/Single/TermVectors/TermVectorsResponse.cs index baec9c7117..3ef15a7bdd 100644 --- a/src/OpenSearch.Client/Document/Single/TermVectors/TermVectorsResponse.cs +++ b/src/OpenSearch.Client/Document/Single/TermVectors/TermVectorsResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Single/TermVectors/Token.cs b/src/OpenSearch.Client/Document/Single/TermVectors/Token.cs index 6a31530b27..006729afef 100644 --- a/src/OpenSearch.Client/Document/Single/TermVectors/Token.cs +++ b/src/OpenSearch.Client/Document/Single/TermVectors/Token.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Single/Update/UpdateRequest.cs b/src/OpenSearch.Client/Document/Single/Update/UpdateRequest.cs index bda6c1c216..a851c83ccb 100644 --- a/src/OpenSearch.Client/Document/Single/Update/UpdateRequest.cs +++ b/src/OpenSearch.Client/Document/Single/Update/UpdateRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Single/Update/UpdateResponse.cs b/src/OpenSearch.Client/Document/Single/Update/UpdateResponse.cs index 021952e9ba..76b088fb6b 100644 --- a/src/OpenSearch.Client/Document/Single/Update/UpdateResponse.cs +++ b/src/OpenSearch.Client/Document/Single/Update/UpdateResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Document/Single/WriteResponseBase.cs b/src/OpenSearch.Client/Document/Single/WriteResponseBase.cs index 345e89020d..017e99a4df 100644 --- a/src/OpenSearch.Client/Document/Single/WriteResponseBase.cs +++ b/src/OpenSearch.Client/Document/Single/WriteResponseBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Helpers/HelperIdentifiers.cs b/src/OpenSearch.Client/Helpers/HelperIdentifiers.cs index 548b194363..b17c11353d 100644 --- a/src/OpenSearch.Client/Helpers/HelperIdentifiers.cs +++ b/src/OpenSearch.Client/Helpers/HelperIdentifiers.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Helpers/IHelperCallable.cs b/src/OpenSearch.Client/Helpers/IHelperCallable.cs index cab4f3f743..6ab9be5c1b 100644 --- a/src/OpenSearch.Client/Helpers/IHelperCallable.cs +++ b/src/OpenSearch.Client/Helpers/IHelperCallable.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Helpers/RequestMetaDataExtensions.cs b/src/OpenSearch.Client/Helpers/RequestMetaDataExtensions.cs index 3d963a4621..1c8dbe7ae2 100644 --- a/src/OpenSearch.Client/Helpers/RequestMetaDataExtensions.cs +++ b/src/OpenSearch.Client/Helpers/RequestMetaDataExtensions.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IOpenSearchClient.Generated.cs b/src/OpenSearch.Client/IOpenSearchClient.Generated.cs index 439a10ff4a..5a89dd0dae 100644 --- a/src/OpenSearch.Client/IOpenSearchClient.Generated.cs +++ b/src/OpenSearch.Client/IOpenSearchClient.Generated.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IOpenSearchClient.cs b/src/OpenSearch.Client/IOpenSearchClient.cs index a52d30636b..ca21780fda 100644 --- a/src/OpenSearch.Client/IOpenSearchClient.cs +++ b/src/OpenSearch.Client/IOpenSearchClient.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/IndexSettings/IndexState.cs b/src/OpenSearch.Client/IndexModules/IndexSettings/IndexState.cs index fecfa5079e..f365e2527e 100644 --- a/src/OpenSearch.Client/IndexModules/IndexSettings/IndexState.cs +++ b/src/OpenSearch.Client/IndexModules/IndexSettings/IndexState.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/IndexSettings/Merge/MergePolicySettings.cs b/src/OpenSearch.Client/IndexModules/IndexSettings/Merge/MergePolicySettings.cs index 5ff03ef3fb..b0eb6c722b 100644 --- a/src/OpenSearch.Client/IndexModules/IndexSettings/Merge/MergePolicySettings.cs +++ b/src/OpenSearch.Client/IndexModules/IndexSettings/Merge/MergePolicySettings.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/IndexSettings/Merge/MergeSchedulerSettings.cs b/src/OpenSearch.Client/IndexModules/IndexSettings/Merge/MergeSchedulerSettings.cs index 7d3899031c..22a12f1e72 100644 --- a/src/OpenSearch.Client/IndexModules/IndexSettings/Merge/MergeSchedulerSettings.cs +++ b/src/OpenSearch.Client/IndexModules/IndexSettings/Merge/MergeSchedulerSettings.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/IndexSettings/Merge/MergeSettings.cs b/src/OpenSearch.Client/IndexModules/IndexSettings/Merge/MergeSettings.cs index 5099ad19b1..b85d944af4 100644 --- a/src/OpenSearch.Client/IndexModules/IndexSettings/Merge/MergeSettings.cs +++ b/src/OpenSearch.Client/IndexModules/IndexSettings/Merge/MergeSettings.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/IndexSettings/Queries/IQueriesCacheSettings.cs b/src/OpenSearch.Client/IndexModules/IndexSettings/Queries/IQueriesCacheSettings.cs index 9fb312603e..131af073b6 100644 --- a/src/OpenSearch.Client/IndexModules/IndexSettings/Queries/IQueriesCacheSettings.cs +++ b/src/OpenSearch.Client/IndexModules/IndexSettings/Queries/IQueriesCacheSettings.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/IndexSettings/Queries/IQueriesSettings.cs b/src/OpenSearch.Client/IndexModules/IndexSettings/Queries/IQueriesSettings.cs index 6049c48639..ceaafd80e6 100644 --- a/src/OpenSearch.Client/IndexModules/IndexSettings/Queries/IQueriesSettings.cs +++ b/src/OpenSearch.Client/IndexModules/IndexSettings/Queries/IQueriesSettings.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/IndexSettings/Settings/AutoExpandReplicas.cs b/src/OpenSearch.Client/IndexModules/IndexSettings/Settings/AutoExpandReplicas.cs index 7e1fc85d7a..e7b3eea884 100644 --- a/src/OpenSearch.Client/IndexModules/IndexSettings/Settings/AutoExpandReplicas.cs +++ b/src/OpenSearch.Client/IndexModules/IndexSettings/Settings/AutoExpandReplicas.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/IndexSettings/Settings/DynamicIndexSettings.cs b/src/OpenSearch.Client/IndexModules/IndexSettings/Settings/DynamicIndexSettings.cs index 6574408255..8f5626e760 100644 --- a/src/OpenSearch.Client/IndexModules/IndexSettings/Settings/DynamicIndexSettings.cs +++ b/src/OpenSearch.Client/IndexModules/IndexSettings/Settings/DynamicIndexSettings.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/IndexSettings/Settings/FixedIndexSettings.cs b/src/OpenSearch.Client/IndexModules/IndexSettings/Settings/FixedIndexSettings.cs index e5cece8f7d..580232c374 100644 --- a/src/OpenSearch.Client/IndexModules/IndexSettings/Settings/FixedIndexSettings.cs +++ b/src/OpenSearch.Client/IndexModules/IndexSettings/Settings/FixedIndexSettings.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/IndexSettings/Settings/IndexSettings.cs b/src/OpenSearch.Client/IndexModules/IndexSettings/Settings/IndexSettings.cs index b47376c0ff..28005e8bf6 100644 --- a/src/OpenSearch.Client/IndexModules/IndexSettings/Settings/IndexSettings.cs +++ b/src/OpenSearch.Client/IndexModules/IndexSettings/Settings/IndexSettings.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/IndexSettings/Settings/IndexSettingsFormatter.cs b/src/OpenSearch.Client/IndexModules/IndexSettings/Settings/IndexSettingsFormatter.cs index 4531ae8bb4..14a370f6c4 100644 --- a/src/OpenSearch.Client/IndexModules/IndexSettings/Settings/IndexSettingsFormatter.cs +++ b/src/OpenSearch.Client/IndexModules/IndexSettings/Settings/IndexSettingsFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/IndexSettings/Settings/RecoveryInitialShards.cs b/src/OpenSearch.Client/IndexModules/IndexSettings/Settings/RecoveryInitialShards.cs index 6ba353b05f..4f0d099695 100644 --- a/src/OpenSearch.Client/IndexModules/IndexSettings/Settings/RecoveryInitialShards.cs +++ b/src/OpenSearch.Client/IndexModules/IndexSettings/Settings/RecoveryInitialShards.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/IndexSettings/Settings/UpdatableIndexSettings.cs b/src/OpenSearch.Client/IndexModules/IndexSettings/Settings/UpdatableIndexSettings.cs index 3cc15400a4..935537feb6 100644 --- a/src/OpenSearch.Client/IndexModules/IndexSettings/Settings/UpdatableIndexSettings.cs +++ b/src/OpenSearch.Client/IndexModules/IndexSettings/Settings/UpdatableIndexSettings.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/IndexSettings/SlowLog/ISlowLog.cs b/src/OpenSearch.Client/IndexModules/IndexSettings/SlowLog/ISlowLog.cs index c80a16603f..5a2a6c3fca 100644 --- a/src/OpenSearch.Client/IndexModules/IndexSettings/SlowLog/ISlowLog.cs +++ b/src/OpenSearch.Client/IndexModules/IndexSettings/SlowLog/ISlowLog.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/IndexSettings/SlowLog/ISlowLogIndexing.cs b/src/OpenSearch.Client/IndexModules/IndexSettings/SlowLog/ISlowLogIndexing.cs index 96da59db53..ff9b6a5ce8 100644 --- a/src/OpenSearch.Client/IndexModules/IndexSettings/SlowLog/ISlowLogIndexing.cs +++ b/src/OpenSearch.Client/IndexModules/IndexSettings/SlowLog/ISlowLogIndexing.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/IndexSettings/SlowLog/ISlowLogSearch.cs b/src/OpenSearch.Client/IndexModules/IndexSettings/SlowLog/ISlowLogSearch.cs index f8de7c6d35..04f2a10655 100644 --- a/src/OpenSearch.Client/IndexModules/IndexSettings/SlowLog/ISlowLogSearch.cs +++ b/src/OpenSearch.Client/IndexModules/IndexSettings/SlowLog/ISlowLogSearch.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/IndexSettings/SlowLog/ISlowLogSearchFetch.cs b/src/OpenSearch.Client/IndexModules/IndexSettings/SlowLog/ISlowLogSearchFetch.cs index 5e84320db2..967f5e6ac1 100644 --- a/src/OpenSearch.Client/IndexModules/IndexSettings/SlowLog/ISlowLogSearchFetch.cs +++ b/src/OpenSearch.Client/IndexModules/IndexSettings/SlowLog/ISlowLogSearchFetch.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/IndexSettings/SlowLog/ISlowLogSearchQuery.cs b/src/OpenSearch.Client/IndexModules/IndexSettings/SlowLog/ISlowLogSearchQuery.cs index 3f089ee515..5f9a7169f3 100644 --- a/src/OpenSearch.Client/IndexModules/IndexSettings/SlowLog/ISlowLogSearchQuery.cs +++ b/src/OpenSearch.Client/IndexModules/IndexSettings/SlowLog/ISlowLogSearchQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/IndexSettings/SlowLog/LogLevel.cs b/src/OpenSearch.Client/IndexModules/IndexSettings/SlowLog/LogLevel.cs index cdb79884c6..5dc4646ba3 100644 --- a/src/OpenSearch.Client/IndexModules/IndexSettings/SlowLog/LogLevel.cs +++ b/src/OpenSearch.Client/IndexModules/IndexSettings/SlowLog/LogLevel.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/IndexSettings/SoftDeletes/ISoftDeleteRetentionSettings.cs b/src/OpenSearch.Client/IndexModules/IndexSettings/SoftDeletes/ISoftDeleteRetentionSettings.cs index e7d5cbccf2..7ec39e05dc 100644 --- a/src/OpenSearch.Client/IndexModules/IndexSettings/SoftDeletes/ISoftDeleteRetentionSettings.cs +++ b/src/OpenSearch.Client/IndexModules/IndexSettings/SoftDeletes/ISoftDeleteRetentionSettings.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/IndexSettings/SoftDeletes/ISoftDeleteSettings.cs b/src/OpenSearch.Client/IndexModules/IndexSettings/SoftDeletes/ISoftDeleteSettings.cs index 802c8acfaa..2936760dc6 100644 --- a/src/OpenSearch.Client/IndexModules/IndexSettings/SoftDeletes/ISoftDeleteSettings.cs +++ b/src/OpenSearch.Client/IndexModules/IndexSettings/SoftDeletes/ISoftDeleteSettings.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/IndexSettings/Sorting/ISortingSettings.cs b/src/OpenSearch.Client/IndexModules/IndexSettings/Sorting/ISortingSettings.cs index 371bcf9fbd..f7dbef1d1c 100644 --- a/src/OpenSearch.Client/IndexModules/IndexSettings/Sorting/ISortingSettings.cs +++ b/src/OpenSearch.Client/IndexModules/IndexSettings/Sorting/ISortingSettings.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/IndexSettings/Store/FileSystemStorageImplementation.cs b/src/OpenSearch.Client/IndexModules/IndexSettings/Store/FileSystemStorageImplementation.cs index f7c106d110..e607bd08b6 100644 --- a/src/OpenSearch.Client/IndexModules/IndexSettings/Store/FileSystemStorageImplementation.cs +++ b/src/OpenSearch.Client/IndexModules/IndexSettings/Store/FileSystemStorageImplementation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/IndexSettings/Translog/TranslogDurability.cs b/src/OpenSearch.Client/IndexModules/IndexSettings/Translog/TranslogDurability.cs index 3eec1b3721..5e0cc330cb 100644 --- a/src/OpenSearch.Client/IndexModules/IndexSettings/Translog/TranslogDurability.cs +++ b/src/OpenSearch.Client/IndexModules/IndexSettings/Translog/TranslogDurability.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/IndexSettings/Translog/TranslogFlushSettings.cs b/src/OpenSearch.Client/IndexModules/IndexSettings/Translog/TranslogFlushSettings.cs index 76aefc477e..f1b605e612 100644 --- a/src/OpenSearch.Client/IndexModules/IndexSettings/Translog/TranslogFlushSettings.cs +++ b/src/OpenSearch.Client/IndexModules/IndexSettings/Translog/TranslogFlushSettings.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/IndexSettings/Translog/TranslogSettings.cs b/src/OpenSearch.Client/IndexModules/IndexSettings/Translog/TranslogSettings.cs index 777a392a6f..29001a99e7 100644 --- a/src/OpenSearch.Client/IndexModules/IndexSettings/Translog/TranslogSettings.cs +++ b/src/OpenSearch.Client/IndexModules/IndexSettings/Translog/TranslogSettings.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/Similarity/BM25Similarity.cs b/src/OpenSearch.Client/IndexModules/Similarity/BM25Similarity.cs index e2d440a1bd..5e8127bfbc 100644 --- a/src/OpenSearch.Client/IndexModules/Similarity/BM25Similarity.cs +++ b/src/OpenSearch.Client/IndexModules/Similarity/BM25Similarity.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/Similarity/CustomSimilarity.cs b/src/OpenSearch.Client/IndexModules/Similarity/CustomSimilarity.cs index c820ef6b7b..5ffa91faec 100644 --- a/src/OpenSearch.Client/IndexModules/Similarity/CustomSimilarity.cs +++ b/src/OpenSearch.Client/IndexModules/Similarity/CustomSimilarity.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/Similarity/DFI/DFIIndependenceMeasure.cs b/src/OpenSearch.Client/IndexModules/Similarity/DFI/DFIIndependenceMeasure.cs index 3f9b09f173..1076415401 100644 --- a/src/OpenSearch.Client/IndexModules/Similarity/DFI/DFIIndependenceMeasure.cs +++ b/src/OpenSearch.Client/IndexModules/Similarity/DFI/DFIIndependenceMeasure.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/Similarity/DFI/DFISimilarity.cs b/src/OpenSearch.Client/IndexModules/Similarity/DFI/DFISimilarity.cs index b0fb86f505..439fd74848 100644 --- a/src/OpenSearch.Client/IndexModules/Similarity/DFI/DFISimilarity.cs +++ b/src/OpenSearch.Client/IndexModules/Similarity/DFI/DFISimilarity.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/Similarity/DFR/DFRAfterEffect.cs b/src/OpenSearch.Client/IndexModules/Similarity/DFR/DFRAfterEffect.cs index 8f3774b130..8c0dee7535 100644 --- a/src/OpenSearch.Client/IndexModules/Similarity/DFR/DFRAfterEffect.cs +++ b/src/OpenSearch.Client/IndexModules/Similarity/DFR/DFRAfterEffect.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/Similarity/DFR/DFRBasicModel.cs b/src/OpenSearch.Client/IndexModules/Similarity/DFR/DFRBasicModel.cs index 456aca1bad..ce59b83e4b 100644 --- a/src/OpenSearch.Client/IndexModules/Similarity/DFR/DFRBasicModel.cs +++ b/src/OpenSearch.Client/IndexModules/Similarity/DFR/DFRBasicModel.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/Similarity/DFR/DFRSimilarity.cs b/src/OpenSearch.Client/IndexModules/Similarity/DFR/DFRSimilarity.cs index 0625857e8b..9ffe488992 100644 --- a/src/OpenSearch.Client/IndexModules/Similarity/DFR/DFRSimilarity.cs +++ b/src/OpenSearch.Client/IndexModules/Similarity/DFR/DFRSimilarity.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/Similarity/IB/IBDistribution.cs b/src/OpenSearch.Client/IndexModules/Similarity/IB/IBDistribution.cs index 1f90ce9663..ea741bf3c0 100644 --- a/src/OpenSearch.Client/IndexModules/Similarity/IB/IBDistribution.cs +++ b/src/OpenSearch.Client/IndexModules/Similarity/IB/IBDistribution.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/Similarity/IB/IBLambda.cs b/src/OpenSearch.Client/IndexModules/Similarity/IB/IBLambda.cs index bd0090dcfb..79d60a8a26 100644 --- a/src/OpenSearch.Client/IndexModules/Similarity/IB/IBLambda.cs +++ b/src/OpenSearch.Client/IndexModules/Similarity/IB/IBLambda.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/Similarity/IB/IBSimilarity.cs b/src/OpenSearch.Client/IndexModules/Similarity/IB/IBSimilarity.cs index 48751c3872..e06ac47e32 100644 --- a/src/OpenSearch.Client/IndexModules/Similarity/IB/IBSimilarity.cs +++ b/src/OpenSearch.Client/IndexModules/Similarity/IB/IBSimilarity.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/Similarity/LMDirichletSimilarity.cs b/src/OpenSearch.Client/IndexModules/Similarity/LMDirichletSimilarity.cs index 2db3e61987..0bb6bee7c1 100644 --- a/src/OpenSearch.Client/IndexModules/Similarity/LMDirichletSimilarity.cs +++ b/src/OpenSearch.Client/IndexModules/Similarity/LMDirichletSimilarity.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/Similarity/LMJelinekMercerSimilarity.cs b/src/OpenSearch.Client/IndexModules/Similarity/LMJelinekMercerSimilarity.cs index 5cad024a1f..000e317315 100644 --- a/src/OpenSearch.Client/IndexModules/Similarity/LMJelinekMercerSimilarity.cs +++ b/src/OpenSearch.Client/IndexModules/Similarity/LMJelinekMercerSimilarity.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/Similarity/Normalization.cs b/src/OpenSearch.Client/IndexModules/Similarity/Normalization.cs index 2fd7ed73fc..3c920f1ba8 100644 --- a/src/OpenSearch.Client/IndexModules/Similarity/Normalization.cs +++ b/src/OpenSearch.Client/IndexModules/Similarity/Normalization.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/Similarity/ScriptedSimilarity.cs b/src/OpenSearch.Client/IndexModules/Similarity/ScriptedSimilarity.cs index 9668df9ff4..c16aea3c79 100644 --- a/src/OpenSearch.Client/IndexModules/Similarity/ScriptedSimilarity.cs +++ b/src/OpenSearch.Client/IndexModules/Similarity/ScriptedSimilarity.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/Similarity/Similarities.cs b/src/OpenSearch.Client/IndexModules/Similarity/Similarities.cs index 1ffe6bbc0a..a6facb746b 100644 --- a/src/OpenSearch.Client/IndexModules/Similarity/Similarities.cs +++ b/src/OpenSearch.Client/IndexModules/Similarity/Similarities.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/Similarity/Similarity.cs b/src/OpenSearch.Client/IndexModules/Similarity/Similarity.cs index b1b963d0df..d2eba081c1 100644 --- a/src/OpenSearch.Client/IndexModules/Similarity/Similarity.cs +++ b/src/OpenSearch.Client/IndexModules/Similarity/Similarity.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/IndexModules/Similarity/SimilarityFormatter.cs b/src/OpenSearch.Client/IndexModules/Similarity/SimilarityFormatter.cs index f518b9a531..513beaec1c 100644 --- a/src/OpenSearch.Client/IndexModules/Similarity/SimilarityFormatter.cs +++ b/src/OpenSearch.Client/IndexModules/Similarity/SimilarityFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/AliasManagement/Alias.cs b/src/OpenSearch.Client/Indices/AliasManagement/Alias.cs index 87fe629871..69df4b283e 100644 --- a/src/OpenSearch.Client/Indices/AliasManagement/Alias.cs +++ b/src/OpenSearch.Client/Indices/AliasManagement/Alias.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/AliasManagement/Alias/Actions/AliasAdd.cs b/src/OpenSearch.Client/Indices/AliasManagement/Alias/Actions/AliasAdd.cs index 70478b76dc..1b7890f54d 100644 --- a/src/OpenSearch.Client/Indices/AliasManagement/Alias/Actions/AliasAdd.cs +++ b/src/OpenSearch.Client/Indices/AliasManagement/Alias/Actions/AliasAdd.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/AliasManagement/Alias/Actions/AliasAddOperation.cs b/src/OpenSearch.Client/Indices/AliasManagement/Alias/Actions/AliasAddOperation.cs index 5bc4fb556b..d0d7713600 100644 --- a/src/OpenSearch.Client/Indices/AliasManagement/Alias/Actions/AliasAddOperation.cs +++ b/src/OpenSearch.Client/Indices/AliasManagement/Alias/Actions/AliasAddOperation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/AliasManagement/Alias/Actions/AliasRemove.cs b/src/OpenSearch.Client/Indices/AliasManagement/Alias/Actions/AliasRemove.cs index b24019f962..1e242cc17b 100644 --- a/src/OpenSearch.Client/Indices/AliasManagement/Alias/Actions/AliasRemove.cs +++ b/src/OpenSearch.Client/Indices/AliasManagement/Alias/Actions/AliasRemove.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/AliasManagement/Alias/Actions/AliasRemoveIndex.cs b/src/OpenSearch.Client/Indices/AliasManagement/Alias/Actions/AliasRemoveIndex.cs index 6f13e0bc61..929f1adee3 100644 --- a/src/OpenSearch.Client/Indices/AliasManagement/Alias/Actions/AliasRemoveIndex.cs +++ b/src/OpenSearch.Client/Indices/AliasManagement/Alias/Actions/AliasRemoveIndex.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/AliasManagement/Alias/Actions/AliasRemoveIndexOperation.cs b/src/OpenSearch.Client/Indices/AliasManagement/Alias/Actions/AliasRemoveIndexOperation.cs index a63934c07f..8f4c7e8558 100644 --- a/src/OpenSearch.Client/Indices/AliasManagement/Alias/Actions/AliasRemoveIndexOperation.cs +++ b/src/OpenSearch.Client/Indices/AliasManagement/Alias/Actions/AliasRemoveIndexOperation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/AliasManagement/Alias/Actions/AliasRemoveOperation.cs b/src/OpenSearch.Client/Indices/AliasManagement/Alias/Actions/AliasRemoveOperation.cs index 8f5dd40222..d0d9489821 100644 --- a/src/OpenSearch.Client/Indices/AliasManagement/Alias/Actions/AliasRemoveOperation.cs +++ b/src/OpenSearch.Client/Indices/AliasManagement/Alias/Actions/AliasRemoveOperation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/AliasManagement/Alias/Actions/IAliasAction.cs b/src/OpenSearch.Client/Indices/AliasManagement/Alias/Actions/IAliasAction.cs index 8501ec5cfe..c17df2ed4f 100644 --- a/src/OpenSearch.Client/Indices/AliasManagement/Alias/Actions/IAliasAction.cs +++ b/src/OpenSearch.Client/Indices/AliasManagement/Alias/Actions/IAliasAction.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/AliasManagement/Alias/BulkAliasRequest.cs b/src/OpenSearch.Client/Indices/AliasManagement/Alias/BulkAliasRequest.cs index 7db7006c23..327ca61eb9 100644 --- a/src/OpenSearch.Client/Indices/AliasManagement/Alias/BulkAliasRequest.cs +++ b/src/OpenSearch.Client/Indices/AliasManagement/Alias/BulkAliasRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/AliasManagement/Alias/BulkAliasResponse.cs b/src/OpenSearch.Client/Indices/AliasManagement/Alias/BulkAliasResponse.cs index a9722162f8..1f5423fb5c 100644 --- a/src/OpenSearch.Client/Indices/AliasManagement/Alias/BulkAliasResponse.cs +++ b/src/OpenSearch.Client/Indices/AliasManagement/Alias/BulkAliasResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/AliasManagement/AliasDefinition.cs b/src/OpenSearch.Client/Indices/AliasManagement/AliasDefinition.cs index 148b260c19..4f3072ce5e 100644 --- a/src/OpenSearch.Client/Indices/AliasManagement/AliasDefinition.cs +++ b/src/OpenSearch.Client/Indices/AliasManagement/AliasDefinition.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/AliasManagement/AliasExists/AliasExistsRequest.cs b/src/OpenSearch.Client/Indices/AliasManagement/AliasExists/AliasExistsRequest.cs index 89084741dc..9c8e4ca156 100644 --- a/src/OpenSearch.Client/Indices/AliasManagement/AliasExists/AliasExistsRequest.cs +++ b/src/OpenSearch.Client/Indices/AliasManagement/AliasExists/AliasExistsRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/AliasManagement/Aliases.cs b/src/OpenSearch.Client/Indices/AliasManagement/Aliases.cs index b666b35d71..f1331953f7 100644 --- a/src/OpenSearch.Client/Indices/AliasManagement/Aliases.cs +++ b/src/OpenSearch.Client/Indices/AliasManagement/Aliases.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/AliasManagement/DeleteAlias/DeleteAliasRequest.cs b/src/OpenSearch.Client/Indices/AliasManagement/DeleteAlias/DeleteAliasRequest.cs index 93f835abc2..76d8599dfa 100644 --- a/src/OpenSearch.Client/Indices/AliasManagement/DeleteAlias/DeleteAliasRequest.cs +++ b/src/OpenSearch.Client/Indices/AliasManagement/DeleteAlias/DeleteAliasRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/AliasManagement/DeleteAlias/DeleteAliasResponse.cs b/src/OpenSearch.Client/Indices/AliasManagement/DeleteAlias/DeleteAliasResponse.cs index 481f7ea32a..064a285dae 100644 --- a/src/OpenSearch.Client/Indices/AliasManagement/DeleteAlias/DeleteAliasResponse.cs +++ b/src/OpenSearch.Client/Indices/AliasManagement/DeleteAlias/DeleteAliasResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/AliasManagement/GetAlias/GetAliasRequest.cs b/src/OpenSearch.Client/Indices/AliasManagement/GetAlias/GetAliasRequest.cs index 793924ed63..74c69ec368 100644 --- a/src/OpenSearch.Client/Indices/AliasManagement/GetAlias/GetAliasRequest.cs +++ b/src/OpenSearch.Client/Indices/AliasManagement/GetAlias/GetAliasRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/AliasManagement/GetAlias/GetAliasResponse.cs b/src/OpenSearch.Client/Indices/AliasManagement/GetAlias/GetAliasResponse.cs index 86bde294da..4fe2cddb0e 100644 --- a/src/OpenSearch.Client/Indices/AliasManagement/GetAlias/GetAliasResponse.cs +++ b/src/OpenSearch.Client/Indices/AliasManagement/GetAlias/GetAliasResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/AliasManagement/GetAlias/OpenSearchClient-GetAliasesPointingToIndex.cs b/src/OpenSearch.Client/Indices/AliasManagement/GetAlias/OpenSearchClient-GetAliasesPointingToIndex.cs index 6078a32458..2b062fe455 100644 --- a/src/OpenSearch.Client/Indices/AliasManagement/GetAlias/OpenSearchClient-GetAliasesPointingToIndex.cs +++ b/src/OpenSearch.Client/Indices/AliasManagement/GetAlias/OpenSearchClient-GetAliasesPointingToIndex.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/AliasManagement/GetAlias/OpenSearchClient-GetIndicesPointingToAlias.cs b/src/OpenSearch.Client/Indices/AliasManagement/GetAlias/OpenSearchClient-GetIndicesPointingToAlias.cs index f93241bdef..bf1793c49e 100644 --- a/src/OpenSearch.Client/Indices/AliasManagement/GetAlias/OpenSearchClient-GetIndicesPointingToAlias.cs +++ b/src/OpenSearch.Client/Indices/AliasManagement/GetAlias/OpenSearchClient-GetIndicesPointingToAlias.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/AliasManagement/PutAlias/PutAliasRequest.cs b/src/OpenSearch.Client/Indices/AliasManagement/PutAlias/PutAliasRequest.cs index 4f35af1303..72bd092ad3 100644 --- a/src/OpenSearch.Client/Indices/AliasManagement/PutAlias/PutAliasRequest.cs +++ b/src/OpenSearch.Client/Indices/AliasManagement/PutAlias/PutAliasRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/AliasManagement/PutAlias/PutAliasResponse.cs b/src/OpenSearch.Client/Indices/AliasManagement/PutAlias/PutAliasResponse.cs index 1af73a67c1..bdd7ef869b 100644 --- a/src/OpenSearch.Client/Indices/AliasManagement/PutAlias/PutAliasResponse.cs +++ b/src/OpenSearch.Client/Indices/AliasManagement/PutAlias/PutAliasResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/Analyze/AnalyzeCharFilters.cs b/src/OpenSearch.Client/Indices/Analyze/AnalyzeCharFilters.cs index 1575ea6640..976edc2573 100644 --- a/src/OpenSearch.Client/Indices/Analyze/AnalyzeCharFilters.cs +++ b/src/OpenSearch.Client/Indices/Analyze/AnalyzeCharFilters.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/Analyze/AnalyzeRequest.cs b/src/OpenSearch.Client/Indices/Analyze/AnalyzeRequest.cs index 59151cc1c9..56f95d4b84 100644 --- a/src/OpenSearch.Client/Indices/Analyze/AnalyzeRequest.cs +++ b/src/OpenSearch.Client/Indices/Analyze/AnalyzeRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/Analyze/AnalyzeResponse.cs b/src/OpenSearch.Client/Indices/Analyze/AnalyzeResponse.cs index 3b9bf08762..fcab19d870 100644 --- a/src/OpenSearch.Client/Indices/Analyze/AnalyzeResponse.cs +++ b/src/OpenSearch.Client/Indices/Analyze/AnalyzeResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/Analyze/AnalyzeToken.cs b/src/OpenSearch.Client/Indices/Analyze/AnalyzeToken.cs index 89bd27557b..62f46c52ba 100644 --- a/src/OpenSearch.Client/Indices/Analyze/AnalyzeToken.cs +++ b/src/OpenSearch.Client/Indices/Analyze/AnalyzeToken.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/Analyze/AnalyzeTokenFilters.cs b/src/OpenSearch.Client/Indices/Analyze/AnalyzeTokenFilters.cs index c31acd055c..1f6b01d51f 100644 --- a/src/OpenSearch.Client/Indices/Analyze/AnalyzeTokenFilters.cs +++ b/src/OpenSearch.Client/Indices/Analyze/AnalyzeTokenFilters.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/Analyze/AnalyzeTokenizersDescriptor.cs b/src/OpenSearch.Client/Indices/Analyze/AnalyzeTokenizersDescriptor.cs index e0e9caeb85..553bd7cfd2 100644 --- a/src/OpenSearch.Client/Indices/Analyze/AnalyzeTokenizersDescriptor.cs +++ b/src/OpenSearch.Client/Indices/Analyze/AnalyzeTokenizersDescriptor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexManagement/AddBlock/AddIndexBlockRequest.cs b/src/OpenSearch.Client/Indices/IndexManagement/AddBlock/AddIndexBlockRequest.cs index 1042692d32..0ac33f99a0 100644 --- a/src/OpenSearch.Client/Indices/IndexManagement/AddBlock/AddIndexBlockRequest.cs +++ b/src/OpenSearch.Client/Indices/IndexManagement/AddBlock/AddIndexBlockRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexManagement/AddBlock/AddIndexBlockResponse.cs b/src/OpenSearch.Client/Indices/IndexManagement/AddBlock/AddIndexBlockResponse.cs index ac3580019e..b8cdd0ed36 100644 --- a/src/OpenSearch.Client/Indices/IndexManagement/AddBlock/AddIndexBlockResponse.cs +++ b/src/OpenSearch.Client/Indices/IndexManagement/AddBlock/AddIndexBlockResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexManagement/AddBlock/IndexBlock.cs b/src/OpenSearch.Client/Indices/IndexManagement/AddBlock/IndexBlock.cs index be53b47fd6..fa6d995ba7 100644 --- a/src/OpenSearch.Client/Indices/IndexManagement/AddBlock/IndexBlock.cs +++ b/src/OpenSearch.Client/Indices/IndexManagement/AddBlock/IndexBlock.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexManagement/CloneIndex/CloneIndexRequest.cs b/src/OpenSearch.Client/Indices/IndexManagement/CloneIndex/CloneIndexRequest.cs index 1997b989ce..499d700bc7 100644 --- a/src/OpenSearch.Client/Indices/IndexManagement/CloneIndex/CloneIndexRequest.cs +++ b/src/OpenSearch.Client/Indices/IndexManagement/CloneIndex/CloneIndexRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexManagement/CloneIndex/CloneIndexResponse.cs b/src/OpenSearch.Client/Indices/IndexManagement/CloneIndex/CloneIndexResponse.cs index 34e47a0e74..d9bb642775 100644 --- a/src/OpenSearch.Client/Indices/IndexManagement/CloneIndex/CloneIndexResponse.cs +++ b/src/OpenSearch.Client/Indices/IndexManagement/CloneIndex/CloneIndexResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexManagement/CreateIndex/CreateIndexRequest.cs b/src/OpenSearch.Client/Indices/IndexManagement/CreateIndex/CreateIndexRequest.cs index d2fb93a553..d31eb7bf8e 100644 --- a/src/OpenSearch.Client/Indices/IndexManagement/CreateIndex/CreateIndexRequest.cs +++ b/src/OpenSearch.Client/Indices/IndexManagement/CreateIndex/CreateIndexRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexManagement/CreateIndex/CreateIndexResponse.cs b/src/OpenSearch.Client/Indices/IndexManagement/CreateIndex/CreateIndexResponse.cs index 1382825f46..1e4389b384 100644 --- a/src/OpenSearch.Client/Indices/IndexManagement/CreateIndex/CreateIndexResponse.cs +++ b/src/OpenSearch.Client/Indices/IndexManagement/CreateIndex/CreateIndexResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexManagement/DeleteIndex/DeleteIndexRequest.cs b/src/OpenSearch.Client/Indices/IndexManagement/DeleteIndex/DeleteIndexRequest.cs index fd131d7de5..655b22028f 100644 --- a/src/OpenSearch.Client/Indices/IndexManagement/DeleteIndex/DeleteIndexRequest.cs +++ b/src/OpenSearch.Client/Indices/IndexManagement/DeleteIndex/DeleteIndexRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexManagement/DeleteIndex/DeleteIndexResponse.cs b/src/OpenSearch.Client/Indices/IndexManagement/DeleteIndex/DeleteIndexResponse.cs index 5b1da470db..3e662ec5c1 100644 --- a/src/OpenSearch.Client/Indices/IndexManagement/DeleteIndex/DeleteIndexResponse.cs +++ b/src/OpenSearch.Client/Indices/IndexManagement/DeleteIndex/DeleteIndexResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexManagement/GetIndex/GetIndexRequest.cs b/src/OpenSearch.Client/Indices/IndexManagement/GetIndex/GetIndexRequest.cs index d4fdcfe95f..85e3015f7e 100644 --- a/src/OpenSearch.Client/Indices/IndexManagement/GetIndex/GetIndexRequest.cs +++ b/src/OpenSearch.Client/Indices/IndexManagement/GetIndex/GetIndexRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexManagement/GetIndex/GetIndexResponse.cs b/src/OpenSearch.Client/Indices/IndexManagement/GetIndex/GetIndexResponse.cs index cd6e442984..f500f20640 100644 --- a/src/OpenSearch.Client/Indices/IndexManagement/GetIndex/GetIndexResponse.cs +++ b/src/OpenSearch.Client/Indices/IndexManagement/GetIndex/GetIndexResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexManagement/IndicesExists/ExistsResponse.cs b/src/OpenSearch.Client/Indices/IndexManagement/IndicesExists/ExistsResponse.cs index 1008cbf73f..ceb8b37e7f 100644 --- a/src/OpenSearch.Client/Indices/IndexManagement/IndicesExists/ExistsResponse.cs +++ b/src/OpenSearch.Client/Indices/IndexManagement/IndicesExists/ExistsResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexManagement/IndicesExists/IndexExistsRequest.cs b/src/OpenSearch.Client/Indices/IndexManagement/IndicesExists/IndexExistsRequest.cs index ad13b0e0d5..468f6b3c32 100644 --- a/src/OpenSearch.Client/Indices/IndexManagement/IndicesExists/IndexExistsRequest.cs +++ b/src/OpenSearch.Client/Indices/IndexManagement/IndicesExists/IndexExistsRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexManagement/OpenCloseIndex/CloseIndex/CloseIndexRequest.cs b/src/OpenSearch.Client/Indices/IndexManagement/OpenCloseIndex/CloseIndex/CloseIndexRequest.cs index 18fbead83e..99eb59a8b7 100644 --- a/src/OpenSearch.Client/Indices/IndexManagement/OpenCloseIndex/CloseIndex/CloseIndexRequest.cs +++ b/src/OpenSearch.Client/Indices/IndexManagement/OpenCloseIndex/CloseIndex/CloseIndexRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexManagement/OpenCloseIndex/CloseIndex/CloseIndexResponse.cs b/src/OpenSearch.Client/Indices/IndexManagement/OpenCloseIndex/CloseIndex/CloseIndexResponse.cs index a1acf8c7ec..05fe2bb479 100644 --- a/src/OpenSearch.Client/Indices/IndexManagement/OpenCloseIndex/CloseIndex/CloseIndexResponse.cs +++ b/src/OpenSearch.Client/Indices/IndexManagement/OpenCloseIndex/CloseIndex/CloseIndexResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexManagement/OpenCloseIndex/OpenIndex/OpenIndexRequest.cs b/src/OpenSearch.Client/Indices/IndexManagement/OpenCloseIndex/OpenIndex/OpenIndexRequest.cs index d844234678..892d83b8a1 100644 --- a/src/OpenSearch.Client/Indices/IndexManagement/OpenCloseIndex/OpenIndex/OpenIndexRequest.cs +++ b/src/OpenSearch.Client/Indices/IndexManagement/OpenCloseIndex/OpenIndex/OpenIndexRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexManagement/OpenCloseIndex/OpenIndex/OpenIndexResponse.cs b/src/OpenSearch.Client/Indices/IndexManagement/OpenCloseIndex/OpenIndex/OpenIndexResponse.cs index 8cffcd7d98..d63f1b5391 100644 --- a/src/OpenSearch.Client/Indices/IndexManagement/OpenCloseIndex/OpenIndex/OpenIndexResponse.cs +++ b/src/OpenSearch.Client/Indices/IndexManagement/OpenCloseIndex/OpenIndex/OpenIndexResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexManagement/ResolveIndex/ResolveIndexRequest.cs b/src/OpenSearch.Client/Indices/IndexManagement/ResolveIndex/ResolveIndexRequest.cs index c42c3b4ebc..6c094e3a83 100644 --- a/src/OpenSearch.Client/Indices/IndexManagement/ResolveIndex/ResolveIndexRequest.cs +++ b/src/OpenSearch.Client/Indices/IndexManagement/ResolveIndex/ResolveIndexRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexManagement/ResolveIndex/ResolveIndexResponse.cs b/src/OpenSearch.Client/Indices/IndexManagement/ResolveIndex/ResolveIndexResponse.cs index 5f8112f3cc..a5d5d199df 100644 --- a/src/OpenSearch.Client/Indices/IndexManagement/ResolveIndex/ResolveIndexResponse.cs +++ b/src/OpenSearch.Client/Indices/IndexManagement/ResolveIndex/ResolveIndexResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexManagement/RolloverIndex/RolloverConditions.cs b/src/OpenSearch.Client/Indices/IndexManagement/RolloverIndex/RolloverConditions.cs index 2f2690cddd..881683937f 100644 --- a/src/OpenSearch.Client/Indices/IndexManagement/RolloverIndex/RolloverConditions.cs +++ b/src/OpenSearch.Client/Indices/IndexManagement/RolloverIndex/RolloverConditions.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexManagement/RolloverIndex/RolloverIndexRequest.cs b/src/OpenSearch.Client/Indices/IndexManagement/RolloverIndex/RolloverIndexRequest.cs index 65b5bc659e..eaa9f6327c 100644 --- a/src/OpenSearch.Client/Indices/IndexManagement/RolloverIndex/RolloverIndexRequest.cs +++ b/src/OpenSearch.Client/Indices/IndexManagement/RolloverIndex/RolloverIndexRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexManagement/RolloverIndex/RolloverIndexResponse.cs b/src/OpenSearch.Client/Indices/IndexManagement/RolloverIndex/RolloverIndexResponse.cs index 04eb8deaff..ecf90a430f 100644 --- a/src/OpenSearch.Client/Indices/IndexManagement/RolloverIndex/RolloverIndexResponse.cs +++ b/src/OpenSearch.Client/Indices/IndexManagement/RolloverIndex/RolloverIndexResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexManagement/ShrinkIndex/ShrinkIndexRequest.cs b/src/OpenSearch.Client/Indices/IndexManagement/ShrinkIndex/ShrinkIndexRequest.cs index 7d6d2aa868..c2abaf1234 100644 --- a/src/OpenSearch.Client/Indices/IndexManagement/ShrinkIndex/ShrinkIndexRequest.cs +++ b/src/OpenSearch.Client/Indices/IndexManagement/ShrinkIndex/ShrinkIndexRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexManagement/ShrinkIndex/ShrinkIndexResponse.cs b/src/OpenSearch.Client/Indices/IndexManagement/ShrinkIndex/ShrinkIndexResponse.cs index 49440c1935..aede03e606 100644 --- a/src/OpenSearch.Client/Indices/IndexManagement/ShrinkIndex/ShrinkIndexResponse.cs +++ b/src/OpenSearch.Client/Indices/IndexManagement/ShrinkIndex/ShrinkIndexResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexManagement/SplitIndex/SplitIndexRequest.cs b/src/OpenSearch.Client/Indices/IndexManagement/SplitIndex/SplitIndexRequest.cs index 48daf4623c..247f6765bf 100644 --- a/src/OpenSearch.Client/Indices/IndexManagement/SplitIndex/SplitIndexRequest.cs +++ b/src/OpenSearch.Client/Indices/IndexManagement/SplitIndex/SplitIndexRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexManagement/SplitIndex/SplitIndexResponse.cs b/src/OpenSearch.Client/Indices/IndexManagement/SplitIndex/SplitIndexResponse.cs index 8111cd2aa5..3e007c4871 100644 --- a/src/OpenSearch.Client/Indices/IndexManagement/SplitIndex/SplitIndexResponse.cs +++ b/src/OpenSearch.Client/Indices/IndexManagement/SplitIndex/SplitIndexResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexManagement/TypesExists/TypeExistsRequest.cs b/src/OpenSearch.Client/Indices/IndexManagement/TypesExists/TypeExistsRequest.cs index 461355c5aa..d511637be0 100644 --- a/src/OpenSearch.Client/Indices/IndexManagement/TypesExists/TypeExistsRequest.cs +++ b/src/OpenSearch.Client/Indices/IndexManagement/TypesExists/TypeExistsRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * @@ -27,10 +28,13 @@ namespace OpenSearch.Client { + ///Deprecated as of OpenSearch 2.0 [MapsApi("indices.exists_type.json")] public partial interface ITypeExistsRequest { } + ///Deprecated as of OpenSearch 2.0 public partial class TypeExistsRequest { } + ///Deprecated as of OpenSearch 2.0 public partial class TypeExistsDescriptor { } } diff --git a/src/OpenSearch.Client/Indices/IndexSettings/GetIndexSettings/GetIndexSettingsRequest.cs b/src/OpenSearch.Client/Indices/IndexSettings/GetIndexSettings/GetIndexSettingsRequest.cs index 1d399cc78f..c621e5a04d 100644 --- a/src/OpenSearch.Client/Indices/IndexSettings/GetIndexSettings/GetIndexSettingsRequest.cs +++ b/src/OpenSearch.Client/Indices/IndexSettings/GetIndexSettings/GetIndexSettingsRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexSettings/GetIndexSettings/GetIndexSettingsResponse.cs b/src/OpenSearch.Client/Indices/IndexSettings/GetIndexSettings/GetIndexSettingsResponse.cs index 36e76719c8..bbaf66fed0 100644 --- a/src/OpenSearch.Client/Indices/IndexSettings/GetIndexSettings/GetIndexSettingsResponse.cs +++ b/src/OpenSearch.Client/Indices/IndexSettings/GetIndexSettings/GetIndexSettingsResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexSettings/IndexTemplates/DeleteIndexTemplate/DeleteIndexTemplateRequest.cs b/src/OpenSearch.Client/Indices/IndexSettings/IndexTemplates/DeleteIndexTemplate/DeleteIndexTemplateRequest.cs index f339ad5017..e4780cfeb0 100644 --- a/src/OpenSearch.Client/Indices/IndexSettings/IndexTemplates/DeleteIndexTemplate/DeleteIndexTemplateRequest.cs +++ b/src/OpenSearch.Client/Indices/IndexSettings/IndexTemplates/DeleteIndexTemplate/DeleteIndexTemplateRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexSettings/IndexTemplates/DeleteIndexTemplate/DeleteIndexTemplateResponse.cs b/src/OpenSearch.Client/Indices/IndexSettings/IndexTemplates/DeleteIndexTemplate/DeleteIndexTemplateResponse.cs index 859ba79ccb..39368650bb 100644 --- a/src/OpenSearch.Client/Indices/IndexSettings/IndexTemplates/DeleteIndexTemplate/DeleteIndexTemplateResponse.cs +++ b/src/OpenSearch.Client/Indices/IndexSettings/IndexTemplates/DeleteIndexTemplate/DeleteIndexTemplateResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexSettings/IndexTemplates/GetIndexTemplate/GetIndexTemplateRequest.cs b/src/OpenSearch.Client/Indices/IndexSettings/IndexTemplates/GetIndexTemplate/GetIndexTemplateRequest.cs index 5b225e08c7..967639e7ea 100644 --- a/src/OpenSearch.Client/Indices/IndexSettings/IndexTemplates/GetIndexTemplate/GetIndexTemplateRequest.cs +++ b/src/OpenSearch.Client/Indices/IndexSettings/IndexTemplates/GetIndexTemplate/GetIndexTemplateRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexSettings/IndexTemplates/GetIndexTemplate/GetIndexTemplateResponse.cs b/src/OpenSearch.Client/Indices/IndexSettings/IndexTemplates/GetIndexTemplate/GetIndexTemplateResponse.cs index f225b9fbbb..0cfd05d882 100644 --- a/src/OpenSearch.Client/Indices/IndexSettings/IndexTemplates/GetIndexTemplate/GetIndexTemplateResponse.cs +++ b/src/OpenSearch.Client/Indices/IndexSettings/IndexTemplates/GetIndexTemplate/GetIndexTemplateResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexSettings/IndexTemplates/GetIndexTemplate/TemplateMapping.cs b/src/OpenSearch.Client/Indices/IndexSettings/IndexTemplates/GetIndexTemplate/TemplateMapping.cs index c79f31398f..0742a3f1da 100644 --- a/src/OpenSearch.Client/Indices/IndexSettings/IndexTemplates/GetIndexTemplate/TemplateMapping.cs +++ b/src/OpenSearch.Client/Indices/IndexSettings/IndexTemplates/GetIndexTemplate/TemplateMapping.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexSettings/IndexTemplates/IndexTemplateExists/IndexTemplateExistsRequest.cs b/src/OpenSearch.Client/Indices/IndexSettings/IndexTemplates/IndexTemplateExists/IndexTemplateExistsRequest.cs index 38c0347474..969f3bb757 100644 --- a/src/OpenSearch.Client/Indices/IndexSettings/IndexTemplates/IndexTemplateExists/IndexTemplateExistsRequest.cs +++ b/src/OpenSearch.Client/Indices/IndexSettings/IndexTemplates/IndexTemplateExists/IndexTemplateExistsRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexSettings/IndexTemplates/PutIndexTemplate/PutIndexTemplateRequest.cs b/src/OpenSearch.Client/Indices/IndexSettings/IndexTemplates/PutIndexTemplate/PutIndexTemplateRequest.cs index 9dd1e8cfb1..e90449b57a 100644 --- a/src/OpenSearch.Client/Indices/IndexSettings/IndexTemplates/PutIndexTemplate/PutIndexTemplateRequest.cs +++ b/src/OpenSearch.Client/Indices/IndexSettings/IndexTemplates/PutIndexTemplate/PutIndexTemplateRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexSettings/IndexTemplates/PutIndexTemplate/PutIndexTemplateResponse.cs b/src/OpenSearch.Client/Indices/IndexSettings/IndexTemplates/PutIndexTemplate/PutIndexTemplateResponse.cs index dbbecb8162..f4453977f0 100644 --- a/src/OpenSearch.Client/Indices/IndexSettings/IndexTemplates/PutIndexTemplate/PutIndexTemplateResponse.cs +++ b/src/OpenSearch.Client/Indices/IndexSettings/IndexTemplates/PutIndexTemplate/PutIndexTemplateResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexSettings/UpdateIndexSettings/UpdateIndexSettingsRequest.cs b/src/OpenSearch.Client/Indices/IndexSettings/UpdateIndexSettings/UpdateIndexSettingsRequest.cs index dde7532ab1..9edf490e8a 100644 --- a/src/OpenSearch.Client/Indices/IndexSettings/UpdateIndexSettings/UpdateIndexSettingsRequest.cs +++ b/src/OpenSearch.Client/Indices/IndexSettings/UpdateIndexSettings/UpdateIndexSettingsRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/IndexSettings/UpdateIndexSettings/UpdateIndexSettingsResponse.cs b/src/OpenSearch.Client/Indices/IndexSettings/UpdateIndexSettings/UpdateIndexSettingsResponse.cs index c71569ebc4..9acf847a96 100644 --- a/src/OpenSearch.Client/Indices/IndexSettings/UpdateIndexSettings/UpdateIndexSettingsResponse.cs +++ b/src/OpenSearch.Client/Indices/IndexSettings/UpdateIndexSettings/UpdateIndexSettingsResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/MappingManagement/GetFieldMapping/FieldMappingFormatter.cs b/src/OpenSearch.Client/Indices/MappingManagement/GetFieldMapping/FieldMappingFormatter.cs index 2b69d94754..b617fb746a 100644 --- a/src/OpenSearch.Client/Indices/MappingManagement/GetFieldMapping/FieldMappingFormatter.cs +++ b/src/OpenSearch.Client/Indices/MappingManagement/GetFieldMapping/FieldMappingFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/MappingManagement/GetFieldMapping/GetFieldMappingRequest.cs b/src/OpenSearch.Client/Indices/MappingManagement/GetFieldMapping/GetFieldMappingRequest.cs index f7f25b1841..5e6770be47 100644 --- a/src/OpenSearch.Client/Indices/MappingManagement/GetFieldMapping/GetFieldMappingRequest.cs +++ b/src/OpenSearch.Client/Indices/MappingManagement/GetFieldMapping/GetFieldMappingRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/MappingManagement/GetFieldMapping/GetFieldMappingResponse.cs b/src/OpenSearch.Client/Indices/MappingManagement/GetFieldMapping/GetFieldMappingResponse.cs index 805654ecbf..d5a96126b3 100644 --- a/src/OpenSearch.Client/Indices/MappingManagement/GetFieldMapping/GetFieldMappingResponse.cs +++ b/src/OpenSearch.Client/Indices/MappingManagement/GetFieldMapping/GetFieldMappingResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/MappingManagement/GetMapping/GetMappingRequest.cs b/src/OpenSearch.Client/Indices/MappingManagement/GetMapping/GetMappingRequest.cs index fdd7c04b40..f5d9971589 100644 --- a/src/OpenSearch.Client/Indices/MappingManagement/GetMapping/GetMappingRequest.cs +++ b/src/OpenSearch.Client/Indices/MappingManagement/GetMapping/GetMappingRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/MappingManagement/GetMapping/GetMappingResponse.cs b/src/OpenSearch.Client/Indices/MappingManagement/GetMapping/GetMappingResponse.cs index 09af923593..39fa9a0af0 100644 --- a/src/OpenSearch.Client/Indices/MappingManagement/GetMapping/GetMappingResponse.cs +++ b/src/OpenSearch.Client/Indices/MappingManagement/GetMapping/GetMappingResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/MappingManagement/PutMapping/OpenSearchClient-Map.cs b/src/OpenSearch.Client/Indices/MappingManagement/PutMapping/OpenSearchClient-Map.cs index 1963ca0769..93be8d30a5 100644 --- a/src/OpenSearch.Client/Indices/MappingManagement/PutMapping/OpenSearchClient-Map.cs +++ b/src/OpenSearch.Client/Indices/MappingManagement/PutMapping/OpenSearchClient-Map.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/MappingManagement/PutMapping/PutMappingRequest.cs b/src/OpenSearch.Client/Indices/MappingManagement/PutMapping/PutMappingRequest.cs index ba8d68b54f..48f8fd5d9b 100644 --- a/src/OpenSearch.Client/Indices/MappingManagement/PutMapping/PutMappingRequest.cs +++ b/src/OpenSearch.Client/Indices/MappingManagement/PutMapping/PutMappingRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/MappingManagement/PutMapping/PutMappingResponse.cs b/src/OpenSearch.Client/Indices/MappingManagement/PutMapping/PutMappingResponse.cs index 6383d0729e..bff1d34919 100644 --- a/src/OpenSearch.Client/Indices/MappingManagement/PutMapping/PutMappingResponse.cs +++ b/src/OpenSearch.Client/Indices/MappingManagement/PutMapping/PutMappingResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/StatusManagement/ClearCache/ClearCacheRequest.cs b/src/OpenSearch.Client/Indices/StatusManagement/ClearCache/ClearCacheRequest.cs index b8491c6ddd..086c1f04ba 100644 --- a/src/OpenSearch.Client/Indices/StatusManagement/ClearCache/ClearCacheRequest.cs +++ b/src/OpenSearch.Client/Indices/StatusManagement/ClearCache/ClearCacheRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/StatusManagement/ClearCache/ClearCacheResponse.cs b/src/OpenSearch.Client/Indices/StatusManagement/ClearCache/ClearCacheResponse.cs index 287367c23e..b274e4ae8f 100644 --- a/src/OpenSearch.Client/Indices/StatusManagement/ClearCache/ClearCacheResponse.cs +++ b/src/OpenSearch.Client/Indices/StatusManagement/ClearCache/ClearCacheResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/StatusManagement/Flush/FlushRequest.cs b/src/OpenSearch.Client/Indices/StatusManagement/Flush/FlushRequest.cs index b057feddf1..7f02c8d2b2 100644 --- a/src/OpenSearch.Client/Indices/StatusManagement/Flush/FlushRequest.cs +++ b/src/OpenSearch.Client/Indices/StatusManagement/Flush/FlushRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/StatusManagement/Flush/FlushResponse.cs b/src/OpenSearch.Client/Indices/StatusManagement/Flush/FlushResponse.cs index ee98c072e3..627bdf1129 100644 --- a/src/OpenSearch.Client/Indices/StatusManagement/Flush/FlushResponse.cs +++ b/src/OpenSearch.Client/Indices/StatusManagement/Flush/FlushResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/StatusManagement/ForceMerge/ForceMergeRequest.cs b/src/OpenSearch.Client/Indices/StatusManagement/ForceMerge/ForceMergeRequest.cs index 4da48b33a9..1735dd99a0 100644 --- a/src/OpenSearch.Client/Indices/StatusManagement/ForceMerge/ForceMergeRequest.cs +++ b/src/OpenSearch.Client/Indices/StatusManagement/ForceMerge/ForceMergeRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/StatusManagement/ForceMerge/ForceMergeResponse.cs b/src/OpenSearch.Client/Indices/StatusManagement/ForceMerge/ForceMergeResponse.cs index 131fdce2cd..54158a40a9 100644 --- a/src/OpenSearch.Client/Indices/StatusManagement/ForceMerge/ForceMergeResponse.cs +++ b/src/OpenSearch.Client/Indices/StatusManagement/ForceMerge/ForceMergeResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/StatusManagement/Refresh/RefreshRequest.cs b/src/OpenSearch.Client/Indices/StatusManagement/Refresh/RefreshRequest.cs index 2d75e9fa94..dd7ee1401b 100644 --- a/src/OpenSearch.Client/Indices/StatusManagement/Refresh/RefreshRequest.cs +++ b/src/OpenSearch.Client/Indices/StatusManagement/Refresh/RefreshRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Indices/StatusManagement/Refresh/RefreshResponse.cs b/src/OpenSearch.Client/Indices/StatusManagement/Refresh/RefreshResponse.cs index b3468a6844..6c18a2a1f5 100644 --- a/src/OpenSearch.Client/Indices/StatusManagement/Refresh/RefreshResponse.cs +++ b/src/OpenSearch.Client/Indices/StatusManagement/Refresh/RefreshResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/DeletePipeline/DeletePipelineRequest.cs b/src/OpenSearch.Client/Ingest/DeletePipeline/DeletePipelineRequest.cs index 26d105e6bf..7b872fc722 100644 --- a/src/OpenSearch.Client/Ingest/DeletePipeline/DeletePipelineRequest.cs +++ b/src/OpenSearch.Client/Ingest/DeletePipeline/DeletePipelineRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/DeletePipeline/DeletePipelineResponse.cs b/src/OpenSearch.Client/Ingest/DeletePipeline/DeletePipelineResponse.cs index 703d748691..57246d9529 100644 --- a/src/OpenSearch.Client/Ingest/DeletePipeline/DeletePipelineResponse.cs +++ b/src/OpenSearch.Client/Ingest/DeletePipeline/DeletePipelineResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/GetPipeline/GetPipelineRequest.cs b/src/OpenSearch.Client/Ingest/GetPipeline/GetPipelineRequest.cs index 2397be1055..16b0dd3a03 100644 --- a/src/OpenSearch.Client/Ingest/GetPipeline/GetPipelineRequest.cs +++ b/src/OpenSearch.Client/Ingest/GetPipeline/GetPipelineRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/GetPipeline/GetPipelineResponse.cs b/src/OpenSearch.Client/Ingest/GetPipeline/GetPipelineResponse.cs index bf880f2445..ab42507f78 100644 --- a/src/OpenSearch.Client/Ingest/GetPipeline/GetPipelineResponse.cs +++ b/src/OpenSearch.Client/Ingest/GetPipeline/GetPipelineResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Pipeline.cs b/src/OpenSearch.Client/Ingest/Pipeline.cs index 3a85310660..bcb065af5a 100644 --- a/src/OpenSearch.Client/Ingest/Pipeline.cs +++ b/src/OpenSearch.Client/Ingest/Pipeline.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processor.cs b/src/OpenSearch.Client/Ingest/Processor.cs index 2007a13fce..28784ddb58 100644 --- a/src/OpenSearch.Client/Ingest/Processor.cs +++ b/src/OpenSearch.Client/Ingest/Processor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processor/GrokProcessorPatternsRequest.cs b/src/OpenSearch.Client/Ingest/Processor/GrokProcessorPatternsRequest.cs index 669ec7873d..f438402bb6 100644 --- a/src/OpenSearch.Client/Ingest/Processor/GrokProcessorPatternsRequest.cs +++ b/src/OpenSearch.Client/Ingest/Processor/GrokProcessorPatternsRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processor/GrokProcessorPatternsResponse.cs b/src/OpenSearch.Client/Ingest/Processor/GrokProcessorPatternsResponse.cs index 61fccf6ef5..d26aece9af 100644 --- a/src/OpenSearch.Client/Ingest/Processor/GrokProcessorPatternsResponse.cs +++ b/src/OpenSearch.Client/Ingest/Processor/GrokProcessorPatternsResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/ProcessorFormatter.cs b/src/OpenSearch.Client/Ingest/ProcessorFormatter.cs index 06ffd6cae3..7e260ff2c3 100644 --- a/src/OpenSearch.Client/Ingest/ProcessorFormatter.cs +++ b/src/OpenSearch.Client/Ingest/ProcessorFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/AppendProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/AppendProcessor.cs index a905626841..5765c7f9f3 100644 --- a/src/OpenSearch.Client/Ingest/Processors/AppendProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/AppendProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/BytesProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/BytesProcessor.cs index c8a9cb8536..ad9c483924 100644 --- a/src/OpenSearch.Client/Ingest/Processors/BytesProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/BytesProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/ConvertProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/ConvertProcessor.cs index 417b16ccdf..eb01cf95a3 100644 --- a/src/OpenSearch.Client/Ingest/Processors/ConvertProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/ConvertProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/CsvProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/CsvProcessor.cs index 009616ae42..05618f32b3 100644 --- a/src/OpenSearch.Client/Ingest/Processors/CsvProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/CsvProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/DateIndexNameProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/DateIndexNameProcessor.cs index b1c607b9e3..0f3ede0886 100644 --- a/src/OpenSearch.Client/Ingest/Processors/DateIndexNameProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/DateIndexNameProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/DateProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/DateProcessor.cs index e407596796..b6ea0da5ee 100644 --- a/src/OpenSearch.Client/Ingest/Processors/DateProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/DateProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/DissectProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/DissectProcessor.cs index 00ef966b47..4cd5543607 100644 --- a/src/OpenSearch.Client/Ingest/Processors/DissectProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/DissectProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/DotExpanderProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/DotExpanderProcessor.cs index c88c82b2e9..c4cbbb7a54 100644 --- a/src/OpenSearch.Client/Ingest/Processors/DotExpanderProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/DotExpanderProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/DropProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/DropProcessor.cs index d8b4033b8e..67bd8dab84 100644 --- a/src/OpenSearch.Client/Ingest/Processors/DropProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/DropProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/FailProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/FailProcessor.cs index 5a915b9e3a..c91063e981 100644 --- a/src/OpenSearch.Client/Ingest/Processors/FailProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/FailProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/FingerprintProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/FingerprintProcessor.cs index 602300fb42..4f8d893cc5 100644 --- a/src/OpenSearch.Client/Ingest/Processors/FingerprintProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/FingerprintProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/ForeachProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/ForeachProcessor.cs index 6102089340..decb215897 100644 --- a/src/OpenSearch.Client/Ingest/Processors/ForeachProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/ForeachProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/GrokProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/GrokProcessor.cs index 9c3ebea7f8..dd48e41e4c 100644 --- a/src/OpenSearch.Client/Ingest/Processors/GrokProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/GrokProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/GsubProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/GsubProcessor.cs index 641d5d6b51..eac68d8626 100644 --- a/src/OpenSearch.Client/Ingest/Processors/GsubProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/GsubProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/JoinProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/JoinProcessor.cs index 425f0cf558..613d82013c 100644 --- a/src/OpenSearch.Client/Ingest/Processors/JoinProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/JoinProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/JsonProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/JsonProcessor.cs index c55872c5f5..9e87802f55 100644 --- a/src/OpenSearch.Client/Ingest/Processors/JsonProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/JsonProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/KeyValueProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/KeyValueProcessor.cs index 193326bfde..27237f8c68 100644 --- a/src/OpenSearch.Client/Ingest/Processors/KeyValueProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/KeyValueProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/LowercaseProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/LowercaseProcessor.cs index 01b1f6020f..23e42f5882 100644 --- a/src/OpenSearch.Client/Ingest/Processors/LowercaseProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/LowercaseProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/NetworkCommunityIdProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/NetworkCommunityIdProcessor.cs index 11e177f26c..4b07ebf36d 100644 --- a/src/OpenSearch.Client/Ingest/Processors/NetworkCommunityIdProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/NetworkCommunityIdProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/NetworkDirectionProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/NetworkDirectionProcessor.cs index f833478614..537a8b5f63 100644 --- a/src/OpenSearch.Client/Ingest/Processors/NetworkDirectionProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/NetworkDirectionProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/PipelineProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/PipelineProcessor.cs index b34f6994cc..238143469d 100644 --- a/src/OpenSearch.Client/Ingest/Processors/PipelineProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/PipelineProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/Plugins/AttachmentProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/Plugins/AttachmentProcessor.cs index 8cd72b1171..df62e5d330 100644 --- a/src/OpenSearch.Client/Ingest/Processors/Plugins/AttachmentProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/Plugins/AttachmentProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/Plugins/GeoIpProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/Plugins/GeoIpProcessor.cs index e878cc01ed..6af121c473 100644 --- a/src/OpenSearch.Client/Ingest/Processors/Plugins/GeoIpProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/Plugins/GeoIpProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/Plugins/UserAgent/UserAgentProperty.cs b/src/OpenSearch.Client/Ingest/Processors/Plugins/UserAgent/UserAgentProperty.cs index 77c2bacbf1..a9ec0b6b3a 100644 --- a/src/OpenSearch.Client/Ingest/Processors/Plugins/UserAgent/UserAgentProperty.cs +++ b/src/OpenSearch.Client/Ingest/Processors/Plugins/UserAgent/UserAgentProperty.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/Plugins/UserAgentProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/Plugins/UserAgentProcessor.cs index 714394bf69..df4a37f42a 100644 --- a/src/OpenSearch.Client/Ingest/Processors/Plugins/UserAgentProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/Plugins/UserAgentProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/RemoveProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/RemoveProcessor.cs index 768f9631e0..f064db83bd 100644 --- a/src/OpenSearch.Client/Ingest/Processors/RemoveProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/RemoveProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/RenameProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/RenameProcessor.cs index 28a60ca855..df6dd9409a 100644 --- a/src/OpenSearch.Client/Ingest/Processors/RenameProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/RenameProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/ScriptProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/ScriptProcessor.cs index 20b3553cbd..ef7bebe71d 100644 --- a/src/OpenSearch.Client/Ingest/Processors/ScriptProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/ScriptProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/SetProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/SetProcessor.cs index 24572a6204..87d88eca60 100644 --- a/src/OpenSearch.Client/Ingest/Processors/SetProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/SetProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/SortProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/SortProcessor.cs index f7a9a42afd..2100e25610 100644 --- a/src/OpenSearch.Client/Ingest/Processors/SortProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/SortProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/SplitProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/SplitProcessor.cs index 5d6e0e1597..f1ef1bba4e 100644 --- a/src/OpenSearch.Client/Ingest/Processors/SplitProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/SplitProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/TrimProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/TrimProcessor.cs index 7baced441a..a9ccc93476 100644 --- a/src/OpenSearch.Client/Ingest/Processors/TrimProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/TrimProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/UppercaseProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/UppercaseProcessor.cs index fcb3b271de..d3c3412f14 100644 --- a/src/OpenSearch.Client/Ingest/Processors/UppercaseProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/UppercaseProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/UriPartsProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/UriPartsProcessor.cs index ab1a4b12b2..046f559f3d 100644 --- a/src/OpenSearch.Client/Ingest/Processors/UriPartsProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/UriPartsProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/Processors/UrlDecodeProcessor.cs b/src/OpenSearch.Client/Ingest/Processors/UrlDecodeProcessor.cs index 1c77fe1c8d..c639f02da2 100644 --- a/src/OpenSearch.Client/Ingest/Processors/UrlDecodeProcessor.cs +++ b/src/OpenSearch.Client/Ingest/Processors/UrlDecodeProcessor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/ProcessorsDescriptor.cs b/src/OpenSearch.Client/Ingest/ProcessorsDescriptor.cs index 016e5e20e2..7fab35d570 100644 --- a/src/OpenSearch.Client/Ingest/ProcessorsDescriptor.cs +++ b/src/OpenSearch.Client/Ingest/ProcessorsDescriptor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/PutPipeline/PutPipelineRequest.cs b/src/OpenSearch.Client/Ingest/PutPipeline/PutPipelineRequest.cs index 2b58bebbb0..8678e57d81 100644 --- a/src/OpenSearch.Client/Ingest/PutPipeline/PutPipelineRequest.cs +++ b/src/OpenSearch.Client/Ingest/PutPipeline/PutPipelineRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/PutPipeline/PutPipelineResponse.cs b/src/OpenSearch.Client/Ingest/PutPipeline/PutPipelineResponse.cs index 1ff172409e..0b6f2339d2 100644 --- a/src/OpenSearch.Client/Ingest/PutPipeline/PutPipelineResponse.cs +++ b/src/OpenSearch.Client/Ingest/PutPipeline/PutPipelineResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/SimulatePipeline/SimulatePipelineDocument.cs b/src/OpenSearch.Client/Ingest/SimulatePipeline/SimulatePipelineDocument.cs index 7249ec10a5..35b60696ed 100644 --- a/src/OpenSearch.Client/Ingest/SimulatePipeline/SimulatePipelineDocument.cs +++ b/src/OpenSearch.Client/Ingest/SimulatePipeline/SimulatePipelineDocument.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/SimulatePipeline/SimulatePipelineRequest.cs b/src/OpenSearch.Client/Ingest/SimulatePipeline/SimulatePipelineRequest.cs index 37207c81c4..c7c44cda67 100644 --- a/src/OpenSearch.Client/Ingest/SimulatePipeline/SimulatePipelineRequest.cs +++ b/src/OpenSearch.Client/Ingest/SimulatePipeline/SimulatePipelineRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Ingest/SimulatePipeline/SimulatePipelineResponse.cs b/src/OpenSearch.Client/Ingest/SimulatePipeline/SimulatePipelineResponse.cs index 301b1e5390..cebe3cc3c7 100644 --- a/src/OpenSearch.Client/Ingest/SimulatePipeline/SimulatePipelineResponse.cs +++ b/src/OpenSearch.Client/Ingest/SimulatePipeline/SimulatePipelineResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/AttributeBased/OpenSearchCorePropertyAttributeBase.cs b/src/OpenSearch.Client/Mapping/AttributeBased/OpenSearchCorePropertyAttributeBase.cs index e45c9f4d01..2da4195fbb 100644 --- a/src/OpenSearch.Client/Mapping/AttributeBased/OpenSearchCorePropertyAttributeBase.cs +++ b/src/OpenSearch.Client/Mapping/AttributeBased/OpenSearchCorePropertyAttributeBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/AttributeBased/OpenSearchDocValuesPropertyAttributeBase.cs b/src/OpenSearch.Client/Mapping/AttributeBased/OpenSearchDocValuesPropertyAttributeBase.cs index fb9f1e8ebf..a018078bd0 100644 --- a/src/OpenSearch.Client/Mapping/AttributeBased/OpenSearchDocValuesPropertyAttributeBase.cs +++ b/src/OpenSearch.Client/Mapping/AttributeBased/OpenSearchDocValuesPropertyAttributeBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/AttributeBased/OpenSearchPropertyAttributeBase.cs b/src/OpenSearch.Client/Mapping/AttributeBased/OpenSearchPropertyAttributeBase.cs index 51703ae948..2e865a73df 100644 --- a/src/OpenSearch.Client/Mapping/AttributeBased/OpenSearchPropertyAttributeBase.cs +++ b/src/OpenSearch.Client/Mapping/AttributeBased/OpenSearchPropertyAttributeBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/AttributeBased/OpenSearchTypeAttribute.cs b/src/OpenSearch.Client/Mapping/AttributeBased/OpenSearchTypeAttribute.cs index cbcde4a6bd..06dd9fc14c 100644 --- a/src/OpenSearch.Client/Mapping/AttributeBased/OpenSearchTypeAttribute.cs +++ b/src/OpenSearch.Client/Mapping/AttributeBased/OpenSearchTypeAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/DynamicMapping.cs b/src/OpenSearch.Client/Mapping/DynamicMapping.cs index ee3fb1d029..32aeb8d19c 100644 --- a/src/OpenSearch.Client/Mapping/DynamicMapping.cs +++ b/src/OpenSearch.Client/Mapping/DynamicMapping.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/DynamicTemplate/DynamicTemplate.cs b/src/OpenSearch.Client/Mapping/DynamicTemplate/DynamicTemplate.cs index 8bdc238777..e2c98c3e24 100644 --- a/src/OpenSearch.Client/Mapping/DynamicTemplate/DynamicTemplate.cs +++ b/src/OpenSearch.Client/Mapping/DynamicTemplate/DynamicTemplate.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/DynamicTemplate/DynamicTemplateContainer.cs b/src/OpenSearch.Client/Mapping/DynamicTemplate/DynamicTemplateContainer.cs index 1e86e66b84..6b0f14015f 100644 --- a/src/OpenSearch.Client/Mapping/DynamicTemplate/DynamicTemplateContainer.cs +++ b/src/OpenSearch.Client/Mapping/DynamicTemplate/DynamicTemplateContainer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/DynamicTemplate/DynamicTemplatesFormatter.cs b/src/OpenSearch.Client/Mapping/DynamicTemplate/DynamicTemplatesFormatter.cs index 8238d347e7..bc3b238ece 100644 --- a/src/OpenSearch.Client/Mapping/DynamicTemplate/DynamicTemplatesFormatter.cs +++ b/src/OpenSearch.Client/Mapping/DynamicTemplate/DynamicTemplatesFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/DynamicTemplate/SingleMapping.cs b/src/OpenSearch.Client/Mapping/DynamicTemplate/SingleMapping.cs index 1d5c625c16..01d3ae0472 100644 --- a/src/OpenSearch.Client/Mapping/DynamicTemplate/SingleMapping.cs +++ b/src/OpenSearch.Client/Mapping/DynamicTemplate/SingleMapping.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Mappings.cs b/src/OpenSearch.Client/Mapping/Mappings.cs index 4f54a66e57..57e4b88b85 100644 --- a/src/OpenSearch.Client/Mapping/Mappings.cs +++ b/src/OpenSearch.Client/Mapping/Mappings.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/MetaFields/FieldNames/FieldNamesField.cs b/src/OpenSearch.Client/Mapping/MetaFields/FieldNames/FieldNamesField.cs index 2792e804d5..a230a77c84 100644 --- a/src/OpenSearch.Client/Mapping/MetaFields/FieldNames/FieldNamesField.cs +++ b/src/OpenSearch.Client/Mapping/MetaFields/FieldNames/FieldNamesField.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/MetaFields/IFieldMapping.cs b/src/OpenSearch.Client/Mapping/MetaFields/IFieldMapping.cs index 7dec2ea33a..cb94a86d67 100644 --- a/src/OpenSearch.Client/Mapping/MetaFields/IFieldMapping.cs +++ b/src/OpenSearch.Client/Mapping/MetaFields/IFieldMapping.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/MetaFields/Routing/RoutingField.cs b/src/OpenSearch.Client/Mapping/MetaFields/Routing/RoutingField.cs index eda7adf981..9a8c8b5a3d 100644 --- a/src/OpenSearch.Client/Mapping/MetaFields/Routing/RoutingField.cs +++ b/src/OpenSearch.Client/Mapping/MetaFields/Routing/RoutingField.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/MetaFields/Size/SizeField.cs b/src/OpenSearch.Client/Mapping/MetaFields/Size/SizeField.cs index 7dd93928a6..53933cd332 100644 --- a/src/OpenSearch.Client/Mapping/MetaFields/Size/SizeField.cs +++ b/src/OpenSearch.Client/Mapping/MetaFields/Size/SizeField.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/MetaFields/Source/SourceField.cs b/src/OpenSearch.Client/Mapping/MetaFields/Source/SourceField.cs index 118e0e3652..393bc236bc 100644 --- a/src/OpenSearch.Client/Mapping/MetaFields/Source/SourceField.cs +++ b/src/OpenSearch.Client/Mapping/MetaFields/Source/SourceField.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/PropertyMapping.cs b/src/OpenSearch.Client/Mapping/PropertyMapping.cs index a60c095510..0534055590 100644 --- a/src/OpenSearch.Client/Mapping/PropertyMapping.cs +++ b/src/OpenSearch.Client/Mapping/PropertyMapping.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/RuntimeFields/RuntimeField.cs b/src/OpenSearch.Client/Mapping/RuntimeFields/RuntimeField.cs index f6446a60db..97fc8e801f 100644 --- a/src/OpenSearch.Client/Mapping/RuntimeFields/RuntimeField.cs +++ b/src/OpenSearch.Client/Mapping/RuntimeFields/RuntimeField.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/RuntimeFields/RuntimeFields.cs b/src/OpenSearch.Client/Mapping/RuntimeFields/RuntimeFields.cs index 33be184cc0..d083935ca1 100644 --- a/src/OpenSearch.Client/Mapping/RuntimeFields/RuntimeFields.cs +++ b/src/OpenSearch.Client/Mapping/RuntimeFields/RuntimeFields.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/TermVectorOption.cs b/src/OpenSearch.Client/Mapping/TermVectorOption.cs index 1ee97cabca..264c8c6814 100644 --- a/src/OpenSearch.Client/Mapping/TermVectorOption.cs +++ b/src/OpenSearch.Client/Mapping/TermVectorOption.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/TypeMapping.cs b/src/OpenSearch.Client/Mapping/TypeMapping.cs index d2891d5837..abef71e696 100644 --- a/src/OpenSearch.Client/Mapping/TypeMapping.cs +++ b/src/OpenSearch.Client/Mapping/TypeMapping.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Complex/Nested/NestedAttribute.cs b/src/OpenSearch.Client/Mapping/Types/Complex/Nested/NestedAttribute.cs index cfbd0fad3d..4b4bf61ef9 100644 --- a/src/OpenSearch.Client/Mapping/Types/Complex/Nested/NestedAttribute.cs +++ b/src/OpenSearch.Client/Mapping/Types/Complex/Nested/NestedAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Complex/Nested/NestedProperty.cs b/src/OpenSearch.Client/Mapping/Types/Complex/Nested/NestedProperty.cs index fbdf17e687..6e3b571d49 100644 --- a/src/OpenSearch.Client/Mapping/Types/Complex/Nested/NestedProperty.cs +++ b/src/OpenSearch.Client/Mapping/Types/Complex/Nested/NestedProperty.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Complex/Object/ObjectAttribute.cs b/src/OpenSearch.Client/Mapping/Types/Complex/Object/ObjectAttribute.cs index 4f220357e7..3dd4239daf 100644 --- a/src/OpenSearch.Client/Mapping/Types/Complex/Object/ObjectAttribute.cs +++ b/src/OpenSearch.Client/Mapping/Types/Complex/Object/ObjectAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Complex/Object/ObjectProperty.cs b/src/OpenSearch.Client/Mapping/Types/Complex/Object/ObjectProperty.cs index dce4198cf3..c0cecf5254 100644 --- a/src/OpenSearch.Client/Mapping/Types/Complex/Object/ObjectProperty.cs +++ b/src/OpenSearch.Client/Mapping/Types/Complex/Object/ObjectProperty.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Binary/BinaryAttribute.cs b/src/OpenSearch.Client/Mapping/Types/Core/Binary/BinaryAttribute.cs index f4d04ab82d..1e54201631 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Binary/BinaryAttribute.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Binary/BinaryAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Binary/BinaryProperty.cs b/src/OpenSearch.Client/Mapping/Types/Core/Binary/BinaryProperty.cs index b72735ebd5..f9f014de8e 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Binary/BinaryProperty.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Binary/BinaryProperty.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Boolean/BooleanAttribute.cs b/src/OpenSearch.Client/Mapping/Types/Core/Boolean/BooleanAttribute.cs index 560676d527..51f7378bb9 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Boolean/BooleanAttribute.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Boolean/BooleanAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Boolean/BooleanProperty.cs b/src/OpenSearch.Client/Mapping/Types/Core/Boolean/BooleanProperty.cs index 083b2955ab..eb910979f4 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Boolean/BooleanProperty.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Boolean/BooleanProperty.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Date/DateAttribute.cs b/src/OpenSearch.Client/Mapping/Types/Core/Date/DateAttribute.cs index 47a2253683..907d9c3e17 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Date/DateAttribute.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Date/DateAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Date/DateProperty.cs b/src/OpenSearch.Client/Mapping/Types/Core/Date/DateProperty.cs index a4e9d3ae1a..7371fe2de1 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Date/DateProperty.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Date/DateProperty.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/DateNanos/DateNanosAttribute.cs b/src/OpenSearch.Client/Mapping/Types/Core/DateNanos/DateNanosAttribute.cs index 101ab79999..74f2bc93d6 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/DateNanos/DateNanosAttribute.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/DateNanos/DateNanosAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/DateNanos/DateNanosProperty.cs b/src/OpenSearch.Client/Mapping/Types/Core/DateNanos/DateNanosProperty.cs index 6244c2ba04..6322d1447d 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/DateNanos/DateNanosProperty.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/DateNanos/DateNanosProperty.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Join/Children.cs b/src/OpenSearch.Client/Mapping/Types/Core/Join/Children.cs index c207565ffc..5668301572 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Join/Children.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Join/Children.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Join/ChildrenFormatter.cs b/src/OpenSearch.Client/Mapping/Types/Core/Join/ChildrenFormatter.cs index 21b72e420c..9aad06eaf9 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Join/ChildrenFormatter.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Join/ChildrenFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Join/JoinAttribute.cs b/src/OpenSearch.Client/Mapping/Types/Core/Join/JoinAttribute.cs index b1f11d9be7..031c41a7e8 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Join/JoinAttribute.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Join/JoinAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Join/JoinField.cs b/src/OpenSearch.Client/Mapping/Types/Core/Join/JoinField.cs index ad757b4cd5..9894df5cd4 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Join/JoinField.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Join/JoinField.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Join/JoinFieldFormatter.cs b/src/OpenSearch.Client/Mapping/Types/Core/Join/JoinFieldFormatter.cs index 71d3d7ec32..d2b955377f 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Join/JoinFieldFormatter.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Join/JoinFieldFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Join/JoinProperty.cs b/src/OpenSearch.Client/Mapping/Types/Core/Join/JoinProperty.cs index 7dc789a27d..e8dd06fbd1 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Join/JoinProperty.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Join/JoinProperty.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Join/Relations.cs b/src/OpenSearch.Client/Mapping/Types/Core/Join/Relations.cs index 86d9e9e6fd..7e9bf85e0f 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Join/Relations.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Join/Relations.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Keyword/KeywordAttribute.cs b/src/OpenSearch.Client/Mapping/Types/Core/Keyword/KeywordAttribute.cs index b84a761594..0cddd3275d 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Keyword/KeywordAttribute.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Keyword/KeywordAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Keyword/KeywordProperty.cs b/src/OpenSearch.Client/Mapping/Types/Core/Keyword/KeywordProperty.cs index cfd33ea0a7..c7dff13406 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Keyword/KeywordProperty.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Keyword/KeywordProperty.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Number/NumberAttribute.cs b/src/OpenSearch.Client/Mapping/Types/Core/Number/NumberAttribute.cs index 350f90fde6..b78a76e536 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Number/NumberAttribute.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Number/NumberAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Number/NumberProperty.cs b/src/OpenSearch.Client/Mapping/Types/Core/Number/NumberProperty.cs index 65e0ff3544..7ba92b26f8 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Number/NumberProperty.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Number/NumberProperty.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Number/NumberType.cs b/src/OpenSearch.Client/Mapping/Types/Core/Number/NumberType.cs index 4672b0e8d3..4315c6c166 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Number/NumberType.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Number/NumberType.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Percolator/PercolatorAttribute.cs b/src/OpenSearch.Client/Mapping/Types/Core/Percolator/PercolatorAttribute.cs index d1ad3fee8d..663a3a42d9 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Percolator/PercolatorAttribute.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Percolator/PercolatorAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Percolator/PercolatorProperty.cs b/src/OpenSearch.Client/Mapping/Types/Core/Percolator/PercolatorProperty.cs index a61bbc829d..ac14b2f076 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Percolator/PercolatorProperty.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Percolator/PercolatorProperty.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Range/DateRange/DateRangeAttribute.cs b/src/OpenSearch.Client/Mapping/Types/Core/Range/DateRange/DateRangeAttribute.cs index 378cd111bf..f995766ac0 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Range/DateRange/DateRangeAttribute.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Range/DateRange/DateRangeAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Range/DateRange/DateRangeProperty.cs b/src/OpenSearch.Client/Mapping/Types/Core/Range/DateRange/DateRangeProperty.cs index 9e01893389..da6fcf7f74 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Range/DateRange/DateRangeProperty.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Range/DateRange/DateRangeProperty.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Range/DoubleRange/DoubleRangeAttribute.cs b/src/OpenSearch.Client/Mapping/Types/Core/Range/DoubleRange/DoubleRangeAttribute.cs index 9a2e50be18..8d3f5e03a0 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Range/DoubleRange/DoubleRangeAttribute.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Range/DoubleRange/DoubleRangeAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Range/DoubleRange/DoubleRangeProperty.cs b/src/OpenSearch.Client/Mapping/Types/Core/Range/DoubleRange/DoubleRangeProperty.cs index 4e99ee47bc..0502ed666f 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Range/DoubleRange/DoubleRangeProperty.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Range/DoubleRange/DoubleRangeProperty.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Range/FloatRange/FloatRangeAttribute.cs b/src/OpenSearch.Client/Mapping/Types/Core/Range/FloatRange/FloatRangeAttribute.cs index 3c4e3ee719..24b114c221 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Range/FloatRange/FloatRangeAttribute.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Range/FloatRange/FloatRangeAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Range/FloatRange/FloatRangeProperty.cs b/src/OpenSearch.Client/Mapping/Types/Core/Range/FloatRange/FloatRangeProperty.cs index e31c9c1f03..493fe84482 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Range/FloatRange/FloatRangeProperty.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Range/FloatRange/FloatRangeProperty.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Range/IntegerRange/IntegerRangeAttribute.cs b/src/OpenSearch.Client/Mapping/Types/Core/Range/IntegerRange/IntegerRangeAttribute.cs index c560ca6c5b..185768991b 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Range/IntegerRange/IntegerRangeAttribute.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Range/IntegerRange/IntegerRangeAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Range/IntegerRange/IntegerRangeProperty.cs b/src/OpenSearch.Client/Mapping/Types/Core/Range/IntegerRange/IntegerRangeProperty.cs index 51c38bb67e..77f9d3f560 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Range/IntegerRange/IntegerRangeProperty.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Range/IntegerRange/IntegerRangeProperty.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Range/IpRange/IpRangeAttribute.cs b/src/OpenSearch.Client/Mapping/Types/Core/Range/IpRange/IpRangeAttribute.cs index 9093997efa..e8d99a946a 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Range/IpRange/IpRangeAttribute.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Range/IpRange/IpRangeAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Range/IpRange/IpRangeProperty.cs b/src/OpenSearch.Client/Mapping/Types/Core/Range/IpRange/IpRangeProperty.cs index 351d5924c2..55b836679e 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Range/IpRange/IpRangeProperty.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Range/IpRange/IpRangeProperty.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Range/LongRange/LongRangeAttribute.cs b/src/OpenSearch.Client/Mapping/Types/Core/Range/LongRange/LongRangeAttribute.cs index 2b70bb00a0..ae2352bcda 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Range/LongRange/LongRangeAttribute.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Range/LongRange/LongRangeAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Range/LongRange/LongRangeProperty.cs b/src/OpenSearch.Client/Mapping/Types/Core/Range/LongRange/LongRangeProperty.cs index 343374ad5b..542cc1e413 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Range/LongRange/LongRangeProperty.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Range/LongRange/LongRangeProperty.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Range/RangePropertyAttributeBase.cs b/src/OpenSearch.Client/Mapping/Types/Core/Range/RangePropertyAttributeBase.cs index 3455129d9e..61199735ce 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Range/RangePropertyAttributeBase.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Range/RangePropertyAttributeBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Range/RangePropertyBase.cs b/src/OpenSearch.Client/Mapping/Types/Core/Range/RangePropertyBase.cs index 3278089560..4e80663e2f 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Range/RangePropertyBase.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Range/RangePropertyBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Range/RangeType.cs b/src/OpenSearch.Client/Mapping/Types/Core/Range/RangeType.cs index 317468deae..a8ca872488 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Range/RangeType.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Range/RangeType.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/RankFeature/RankFeatureAttribute.cs b/src/OpenSearch.Client/Mapping/Types/Core/RankFeature/RankFeatureAttribute.cs index 49ca35522a..b4b8f8cb59 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/RankFeature/RankFeatureAttribute.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/RankFeature/RankFeatureAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/RankFeature/RankFeatureProperty.cs b/src/OpenSearch.Client/Mapping/Types/Core/RankFeature/RankFeatureProperty.cs index f81508e171..35811e92e1 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/RankFeature/RankFeatureProperty.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/RankFeature/RankFeatureProperty.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/RankFeatures/RankFeaturesAttribute.cs b/src/OpenSearch.Client/Mapping/Types/Core/RankFeatures/RankFeaturesAttribute.cs index 612c69ec18..32b267238a 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/RankFeatures/RankFeaturesAttribute.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/RankFeatures/RankFeaturesAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/RankFeatures/RankFeaturesProperty.cs b/src/OpenSearch.Client/Mapping/Types/Core/RankFeatures/RankFeaturesProperty.cs index 6fe2ab91b1..7b22712a98 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/RankFeatures/RankFeaturesProperty.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/RankFeatures/RankFeaturesProperty.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/SearchAsYouType/SearchAsYouTypeAttribute.cs b/src/OpenSearch.Client/Mapping/Types/Core/SearchAsYouType/SearchAsYouTypeAttribute.cs index f576b83eb2..9467f70ddc 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/SearchAsYouType/SearchAsYouTypeAttribute.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/SearchAsYouType/SearchAsYouTypeAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/SearchAsYouType/SearchAsYouTypeProperty.cs b/src/OpenSearch.Client/Mapping/Types/Core/SearchAsYouType/SearchAsYouTypeProperty.cs index 1c5f508d80..f575fe443f 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/SearchAsYouType/SearchAsYouTypeProperty.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/SearchAsYouType/SearchAsYouTypeProperty.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Text/IndexOptions.cs b/src/OpenSearch.Client/Mapping/Types/Core/Text/IndexOptions.cs index 5e7841e22b..6720b1a228 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Text/IndexOptions.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Text/IndexOptions.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Text/TextAttribute.cs b/src/OpenSearch.Client/Mapping/Types/Core/Text/TextAttribute.cs index a1184a8d1f..57be51785a 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Text/TextAttribute.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Text/TextAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Text/TextIndexPrefixes.cs b/src/OpenSearch.Client/Mapping/Types/Core/Text/TextIndexPrefixes.cs index 545249b8f6..fbfa733852 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Text/TextIndexPrefixes.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Text/TextIndexPrefixes.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Core/Text/TextProperty.cs b/src/OpenSearch.Client/Mapping/Types/Core/Text/TextProperty.cs index b8fda618dc..ad2bf30bb0 100644 --- a/src/OpenSearch.Client/Mapping/Types/Core/Text/TextProperty.cs +++ b/src/OpenSearch.Client/Mapping/Types/Core/Text/TextProperty.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/CorePropertyBase.cs b/src/OpenSearch.Client/Mapping/Types/CorePropertyBase.cs index 4d02a7320e..591888fb7d 100644 --- a/src/OpenSearch.Client/Mapping/Types/CorePropertyBase.cs +++ b/src/OpenSearch.Client/Mapping/Types/CorePropertyBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/CorePropertyDescriptorBase.cs b/src/OpenSearch.Client/Mapping/Types/CorePropertyDescriptorBase.cs index f67d4dd8c6..e4ca427545 100644 --- a/src/OpenSearch.Client/Mapping/Types/CorePropertyDescriptorBase.cs +++ b/src/OpenSearch.Client/Mapping/Types/CorePropertyDescriptorBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/DocValuesPropertyBase.cs b/src/OpenSearch.Client/Mapping/Types/DocValuesPropertyBase.cs index acccd9ee25..7aca23f18e 100644 --- a/src/OpenSearch.Client/Mapping/Types/DocValuesPropertyBase.cs +++ b/src/OpenSearch.Client/Mapping/Types/DocValuesPropertyBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/DocValuesPropertyDescriptorBase.cs b/src/OpenSearch.Client/Mapping/Types/DocValuesPropertyDescriptorBase.cs index ddfd169476..33f50a6684 100644 --- a/src/OpenSearch.Client/Mapping/Types/DocValuesPropertyDescriptorBase.cs +++ b/src/OpenSearch.Client/Mapping/Types/DocValuesPropertyDescriptorBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/FieldType.cs b/src/OpenSearch.Client/Mapping/Types/FieldType.cs index 93948c31ec..2cd98bac7f 100644 --- a/src/OpenSearch.Client/Mapping/Types/FieldType.cs +++ b/src/OpenSearch.Client/Mapping/Types/FieldType.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Geo/GeoPoint/GeoPointAttribute.cs b/src/OpenSearch.Client/Mapping/Types/Geo/GeoPoint/GeoPointAttribute.cs index bdab727fd4..d9dbdff13a 100644 --- a/src/OpenSearch.Client/Mapping/Types/Geo/GeoPoint/GeoPointAttribute.cs +++ b/src/OpenSearch.Client/Mapping/Types/Geo/GeoPoint/GeoPointAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Geo/GeoPoint/GeoPointProperty.cs b/src/OpenSearch.Client/Mapping/Types/Geo/GeoPoint/GeoPointProperty.cs index 9c3e844782..a3334da3ea 100644 --- a/src/OpenSearch.Client/Mapping/Types/Geo/GeoPoint/GeoPointProperty.cs +++ b/src/OpenSearch.Client/Mapping/Types/Geo/GeoPoint/GeoPointProperty.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Geo/GeoShape/GeoOrientation.cs b/src/OpenSearch.Client/Mapping/Types/Geo/GeoShape/GeoOrientation.cs index e992953cdb..342a4bfed3 100644 --- a/src/OpenSearch.Client/Mapping/Types/Geo/GeoShape/GeoOrientation.cs +++ b/src/OpenSearch.Client/Mapping/Types/Geo/GeoShape/GeoOrientation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Geo/GeoShape/GeoShapeAttribute.cs b/src/OpenSearch.Client/Mapping/Types/Geo/GeoShape/GeoShapeAttribute.cs index 035c7bd34e..ce68645d38 100644 --- a/src/OpenSearch.Client/Mapping/Types/Geo/GeoShape/GeoShapeAttribute.cs +++ b/src/OpenSearch.Client/Mapping/Types/Geo/GeoShape/GeoShapeAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Geo/GeoShape/GeoShapeProperty.cs b/src/OpenSearch.Client/Mapping/Types/Geo/GeoShape/GeoShapeProperty.cs index 1de72ca3a9..61a853d22f 100644 --- a/src/OpenSearch.Client/Mapping/Types/Geo/GeoShape/GeoShapeProperty.cs +++ b/src/OpenSearch.Client/Mapping/Types/Geo/GeoShape/GeoShapeProperty.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Geo/GeoShape/GeoStrategy.cs b/src/OpenSearch.Client/Mapping/Types/Geo/GeoShape/GeoStrategy.cs index 2bc5ddc2d9..415502289d 100644 --- a/src/OpenSearch.Client/Mapping/Types/Geo/GeoShape/GeoStrategy.cs +++ b/src/OpenSearch.Client/Mapping/Types/Geo/GeoShape/GeoStrategy.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Geo/GeoShape/GeoTree.cs b/src/OpenSearch.Client/Mapping/Types/Geo/GeoShape/GeoTree.cs index 157ea065e6..0762b4723a 100644 --- a/src/OpenSearch.Client/Mapping/Types/Geo/GeoShape/GeoTree.cs +++ b/src/OpenSearch.Client/Mapping/Types/Geo/GeoShape/GeoTree.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Properties-Scalar.cs b/src/OpenSearch.Client/Mapping/Types/Properties-Scalar.cs index f9e9235ef0..6d8624952a 100644 --- a/src/OpenSearch.Client/Mapping/Types/Properties-Scalar.cs +++ b/src/OpenSearch.Client/Mapping/Types/Properties-Scalar.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Properties.cs b/src/OpenSearch.Client/Mapping/Types/Properties.cs index bfa662fbaa..7631ccfdbd 100644 --- a/src/OpenSearch.Client/Mapping/Types/Properties.cs +++ b/src/OpenSearch.Client/Mapping/Types/Properties.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/PropertiesFormatter.cs b/src/OpenSearch.Client/Mapping/Types/PropertiesFormatter.cs index 4ffbb78609..e5e638aea4 100644 --- a/src/OpenSearch.Client/Mapping/Types/PropertiesFormatter.cs +++ b/src/OpenSearch.Client/Mapping/Types/PropertiesFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/PropertyBase.cs b/src/OpenSearch.Client/Mapping/Types/PropertyBase.cs index 197e7da6d7..aa2e85d5a3 100644 --- a/src/OpenSearch.Client/Mapping/Types/PropertyBase.cs +++ b/src/OpenSearch.Client/Mapping/Types/PropertyBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/PropertyDescriptorBase.cs b/src/OpenSearch.Client/Mapping/Types/PropertyDescriptorBase.cs index 5da9feeb4d..e98813b173 100644 --- a/src/OpenSearch.Client/Mapping/Types/PropertyDescriptorBase.cs +++ b/src/OpenSearch.Client/Mapping/Types/PropertyDescriptorBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/PropertyFormatter.cs b/src/OpenSearch.Client/Mapping/Types/PropertyFormatter.cs index 0f9852955d..50280c72b8 100644 --- a/src/OpenSearch.Client/Mapping/Types/PropertyFormatter.cs +++ b/src/OpenSearch.Client/Mapping/Types/PropertyFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Specialized/Attachment/Attachment.cs b/src/OpenSearch.Client/Mapping/Types/Specialized/Attachment/Attachment.cs index af74457f6c..eb461a8903 100644 --- a/src/OpenSearch.Client/Mapping/Types/Specialized/Attachment/Attachment.cs +++ b/src/OpenSearch.Client/Mapping/Types/Specialized/Attachment/Attachment.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Specialized/Completion/CategorySuggestContext.cs b/src/OpenSearch.Client/Mapping/Types/Specialized/Completion/CategorySuggestContext.cs index b091cd7ee0..ac210e85c7 100644 --- a/src/OpenSearch.Client/Mapping/Types/Specialized/Completion/CategorySuggestContext.cs +++ b/src/OpenSearch.Client/Mapping/Types/Specialized/Completion/CategorySuggestContext.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Specialized/Completion/CompletionAttribute.cs b/src/OpenSearch.Client/Mapping/Types/Specialized/Completion/CompletionAttribute.cs index 36a6a2d0b7..b5a5654c0a 100644 --- a/src/OpenSearch.Client/Mapping/Types/Specialized/Completion/CompletionAttribute.cs +++ b/src/OpenSearch.Client/Mapping/Types/Specialized/Completion/CompletionAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Specialized/Completion/CompletionProperty.cs b/src/OpenSearch.Client/Mapping/Types/Specialized/Completion/CompletionProperty.cs index 25a80d6471..f0878ae9a8 100644 --- a/src/OpenSearch.Client/Mapping/Types/Specialized/Completion/CompletionProperty.cs +++ b/src/OpenSearch.Client/Mapping/Types/Specialized/Completion/CompletionProperty.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Specialized/Completion/GeoSuggestContext.cs b/src/OpenSearch.Client/Mapping/Types/Specialized/Completion/GeoSuggestContext.cs index 257702379a..2f6002067f 100644 --- a/src/OpenSearch.Client/Mapping/Types/Specialized/Completion/GeoSuggestContext.cs +++ b/src/OpenSearch.Client/Mapping/Types/Specialized/Completion/GeoSuggestContext.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Specialized/Completion/ISuggestContext.cs b/src/OpenSearch.Client/Mapping/Types/Specialized/Completion/ISuggestContext.cs index 3f815528c7..6c7071bffe 100644 --- a/src/OpenSearch.Client/Mapping/Types/Specialized/Completion/ISuggestContext.cs +++ b/src/OpenSearch.Client/Mapping/Types/Specialized/Completion/ISuggestContext.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Specialized/Completion/SuggestContextFormatter.cs b/src/OpenSearch.Client/Mapping/Types/Specialized/Completion/SuggestContextFormatter.cs index 4c70455739..c4d2a05524 100644 --- a/src/OpenSearch.Client/Mapping/Types/Specialized/Completion/SuggestContextFormatter.cs +++ b/src/OpenSearch.Client/Mapping/Types/Specialized/Completion/SuggestContextFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Specialized/Completion/SuggestContextsDescriptor.cs b/src/OpenSearch.Client/Mapping/Types/Specialized/Completion/SuggestContextsDescriptor.cs index 7e963283f9..8f9f68bc0c 100644 --- a/src/OpenSearch.Client/Mapping/Types/Specialized/Completion/SuggestContextsDescriptor.cs +++ b/src/OpenSearch.Client/Mapping/Types/Specialized/Completion/SuggestContextsDescriptor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Specialized/FieldAlias/FieldAliasProperty.cs b/src/OpenSearch.Client/Mapping/Types/Specialized/FieldAlias/FieldAliasProperty.cs index 26a8876872..bc6d19fc7c 100644 --- a/src/OpenSearch.Client/Mapping/Types/Specialized/FieldAlias/FieldAliasProperty.cs +++ b/src/OpenSearch.Client/Mapping/Types/Specialized/FieldAlias/FieldAliasProperty.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Specialized/Generic/GenericProperty.cs b/src/OpenSearch.Client/Mapping/Types/Specialized/Generic/GenericProperty.cs index 47ec8d0641..c77e437b91 100644 --- a/src/OpenSearch.Client/Mapping/Types/Specialized/Generic/GenericProperty.cs +++ b/src/OpenSearch.Client/Mapping/Types/Specialized/Generic/GenericProperty.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Specialized/Ip/IpAttribute.cs b/src/OpenSearch.Client/Mapping/Types/Specialized/Ip/IpAttribute.cs index 1b4356c891..8525166c17 100644 --- a/src/OpenSearch.Client/Mapping/Types/Specialized/Ip/IpAttribute.cs +++ b/src/OpenSearch.Client/Mapping/Types/Specialized/Ip/IpAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Specialized/Ip/IpProperty.cs b/src/OpenSearch.Client/Mapping/Types/Specialized/Ip/IpProperty.cs index 7b0c340e11..88e5aab282 100644 --- a/src/OpenSearch.Client/Mapping/Types/Specialized/Ip/IpProperty.cs +++ b/src/OpenSearch.Client/Mapping/Types/Specialized/Ip/IpProperty.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Specialized/Murmur3Hash/Murmur3HashAttribute.cs b/src/OpenSearch.Client/Mapping/Types/Specialized/Murmur3Hash/Murmur3HashAttribute.cs index ccdb5d01ce..3d54293e88 100644 --- a/src/OpenSearch.Client/Mapping/Types/Specialized/Murmur3Hash/Murmur3HashAttribute.cs +++ b/src/OpenSearch.Client/Mapping/Types/Specialized/Murmur3Hash/Murmur3HashAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Specialized/Murmur3Hash/Murmur3HashProperty.cs b/src/OpenSearch.Client/Mapping/Types/Specialized/Murmur3Hash/Murmur3HashProperty.cs index 363ddf1ba0..f0e221438d 100644 --- a/src/OpenSearch.Client/Mapping/Types/Specialized/Murmur3Hash/Murmur3HashProperty.cs +++ b/src/OpenSearch.Client/Mapping/Types/Specialized/Murmur3Hash/Murmur3HashProperty.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Specialized/Shape/ShapeOrientation.cs b/src/OpenSearch.Client/Mapping/Types/Specialized/Shape/ShapeOrientation.cs index 2aea4d12dc..9765ec3a89 100644 --- a/src/OpenSearch.Client/Mapping/Types/Specialized/Shape/ShapeOrientation.cs +++ b/src/OpenSearch.Client/Mapping/Types/Specialized/Shape/ShapeOrientation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Specialized/TokenCount/TokenCountAttribute.cs b/src/OpenSearch.Client/Mapping/Types/Specialized/TokenCount/TokenCountAttribute.cs index dc1bacdb0b..3d4a9f88e6 100644 --- a/src/OpenSearch.Client/Mapping/Types/Specialized/TokenCount/TokenCountAttribute.cs +++ b/src/OpenSearch.Client/Mapping/Types/Specialized/TokenCount/TokenCountAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Types/Specialized/TokenCount/TokenCountProperty.cs b/src/OpenSearch.Client/Mapping/Types/Specialized/TokenCount/TokenCountProperty.cs index be028095f3..e28cd4531b 100644 --- a/src/OpenSearch.Client/Mapping/Types/Specialized/TokenCount/TokenCountProperty.cs +++ b/src/OpenSearch.Client/Mapping/Types/Specialized/TokenCount/TokenCountProperty.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Visitor/IMappingVisitor.cs b/src/OpenSearch.Client/Mapping/Visitor/IMappingVisitor.cs index 91fd83c695..f132d8d086 100644 --- a/src/OpenSearch.Client/Mapping/Visitor/IMappingVisitor.cs +++ b/src/OpenSearch.Client/Mapping/Visitor/IMappingVisitor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Visitor/IPropertyVisitor.cs b/src/OpenSearch.Client/Mapping/Visitor/IPropertyVisitor.cs index 7068402f7a..80fec03979 100644 --- a/src/OpenSearch.Client/Mapping/Visitor/IPropertyVisitor.cs +++ b/src/OpenSearch.Client/Mapping/Visitor/IPropertyVisitor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Visitor/MappingWalker.cs b/src/OpenSearch.Client/Mapping/Visitor/MappingWalker.cs index cd129eeb44..eed64b7b3c 100644 --- a/src/OpenSearch.Client/Mapping/Visitor/MappingWalker.cs +++ b/src/OpenSearch.Client/Mapping/Visitor/MappingWalker.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Visitor/NoopPropertyVisitor.cs b/src/OpenSearch.Client/Mapping/Visitor/NoopPropertyVisitor.cs index 82ce1d3e22..62b9dcf13e 100644 --- a/src/OpenSearch.Client/Mapping/Visitor/NoopPropertyVisitor.cs +++ b/src/OpenSearch.Client/Mapping/Visitor/NoopPropertyVisitor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Mapping/Visitor/PropertyWalker.cs b/src/OpenSearch.Client/Mapping/Visitor/PropertyWalker.cs index 4292735ef1..fcd72b7415 100644 --- a/src/OpenSearch.Client/Mapping/Visitor/PropertyWalker.cs +++ b/src/OpenSearch.Client/Mapping/Visitor/PropertyWalker.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Cluster/AllocationAttribute.cs b/src/OpenSearch.Client/Modules/Cluster/AllocationAttribute.cs index d89878887b..ab8c662eef 100644 --- a/src/OpenSearch.Client/Modules/Cluster/AllocationAttribute.cs +++ b/src/OpenSearch.Client/Modules/Cluster/AllocationAttribute.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Cluster/AllocationAwareness/AllocationAwarenessSettings.cs b/src/OpenSearch.Client/Modules/Cluster/AllocationAwareness/AllocationAwarenessSettings.cs index 7d3b361fb8..188f85db51 100644 --- a/src/OpenSearch.Client/Modules/Cluster/AllocationAwareness/AllocationAwarenessSettings.cs +++ b/src/OpenSearch.Client/Modules/Cluster/AllocationAwareness/AllocationAwarenessSettings.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Cluster/AllocationFiltering/AllocationFilteringSettings.cs b/src/OpenSearch.Client/Modules/Cluster/AllocationFiltering/AllocationFilteringSettings.cs index 63f34369bb..5a0265a118 100644 --- a/src/OpenSearch.Client/Modules/Cluster/AllocationFiltering/AllocationFilteringSettings.cs +++ b/src/OpenSearch.Client/Modules/Cluster/AllocationFiltering/AllocationFilteringSettings.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Cluster/ClusterModuleSettings.cs b/src/OpenSearch.Client/Modules/Cluster/ClusterModuleSettings.cs index e2b4c049ed..e0b443692c 100644 --- a/src/OpenSearch.Client/Modules/Cluster/ClusterModuleSettings.cs +++ b/src/OpenSearch.Client/Modules/Cluster/ClusterModuleSettings.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Cluster/DiskBasedShardAllocation/DiskbasedShardAllocationSettings.cs b/src/OpenSearch.Client/Modules/Cluster/DiskBasedShardAllocation/DiskbasedShardAllocationSettings.cs index f1b00feead..a3c5640a9f 100644 --- a/src/OpenSearch.Client/Modules/Cluster/DiskBasedShardAllocation/DiskbasedShardAllocationSettings.cs +++ b/src/OpenSearch.Client/Modules/Cluster/DiskBasedShardAllocation/DiskbasedShardAllocationSettings.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Cluster/ShardAllocation/AllocationEnable.cs b/src/OpenSearch.Client/Modules/Cluster/ShardAllocation/AllocationEnable.cs index 797e9f889b..71a37242f0 100644 --- a/src/OpenSearch.Client/Modules/Cluster/ShardAllocation/AllocationEnable.cs +++ b/src/OpenSearch.Client/Modules/Cluster/ShardAllocation/AllocationEnable.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Cluster/ShardAllocation/AllowRebalance.cs b/src/OpenSearch.Client/Modules/Cluster/ShardAllocation/AllowRebalance.cs index 02816c02fa..66849635ba 100644 --- a/src/OpenSearch.Client/Modules/Cluster/ShardAllocation/AllowRebalance.cs +++ b/src/OpenSearch.Client/Modules/Cluster/ShardAllocation/AllowRebalance.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Cluster/ShardAllocation/RebalanceEnable.cs b/src/OpenSearch.Client/Modules/Cluster/ShardAllocation/RebalanceEnable.cs index c7cf6a6bab..c1f9ece979 100644 --- a/src/OpenSearch.Client/Modules/Cluster/ShardAllocation/RebalanceEnable.cs +++ b/src/OpenSearch.Client/Modules/Cluster/ShardAllocation/RebalanceEnable.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Cluster/ShardAllocation/ShardAllocationSettings.cs b/src/OpenSearch.Client/Modules/Cluster/ShardAllocation/ShardAllocationSettings.cs index fb152184c0..a08e7a3a44 100644 --- a/src/OpenSearch.Client/Modules/Cluster/ShardAllocation/ShardAllocationSettings.cs +++ b/src/OpenSearch.Client/Modules/Cluster/ShardAllocation/ShardAllocationSettings.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Cluster/ShardAllocation/ShardBalancingHeuristicsSettings.cs b/src/OpenSearch.Client/Modules/Cluster/ShardAllocation/ShardBalancingHeuristicsSettings.cs index c096a79e13..5f9ebfbb75 100644 --- a/src/OpenSearch.Client/Modules/Cluster/ShardAllocation/ShardBalancingHeuristicsSettings.cs +++ b/src/OpenSearch.Client/Modules/Cluster/ShardAllocation/ShardBalancingHeuristicsSettings.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Cluster/ShardAllocation/ShardRebalancingSettings.cs b/src/OpenSearch.Client/Modules/Cluster/ShardAllocation/ShardRebalancingSettings.cs index abd7e7d57a..97a560a53c 100644 --- a/src/OpenSearch.Client/Modules/Cluster/ShardAllocation/ShardRebalancingSettings.cs +++ b/src/OpenSearch.Client/Modules/Cluster/ShardAllocation/ShardRebalancingSettings.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Gateway/GatewaySettings.cs b/src/OpenSearch.Client/Modules/Gateway/GatewaySettings.cs index 28bf3c746d..1d97c2c91e 100644 --- a/src/OpenSearch.Client/Modules/Gateway/GatewaySettings.cs +++ b/src/OpenSearch.Client/Modules/Gateway/GatewaySettings.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * @@ -25,6 +26,8 @@ * under the License. */ +using System; + namespace OpenSearch.Client { /// @@ -34,6 +37,7 @@ public class GatewaySettings public int? ExpectedDataNodes { get; internal set; } /// + [Obsolete] public int? ExpectedMasterNodes { get; internal set; } /// diff --git a/src/OpenSearch.Client/Modules/Indices/CircuitBreaker/CircuitBreakerSettings.cs b/src/OpenSearch.Client/Modules/Indices/CircuitBreaker/CircuitBreakerSettings.cs index f26572d890..902be72d1c 100644 --- a/src/OpenSearch.Client/Modules/Indices/CircuitBreaker/CircuitBreakerSettings.cs +++ b/src/OpenSearch.Client/Modules/Indices/CircuitBreaker/CircuitBreakerSettings.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Indices/Fielddata/FielddataBase.cs b/src/OpenSearch.Client/Modules/Indices/Fielddata/FielddataBase.cs index fbeeb183fa..c8bd1e17b2 100644 --- a/src/OpenSearch.Client/Modules/Indices/Fielddata/FielddataBase.cs +++ b/src/OpenSearch.Client/Modules/Indices/Fielddata/FielddataBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Indices/Fielddata/FielddataFilter.cs b/src/OpenSearch.Client/Modules/Indices/Fielddata/FielddataFilter.cs index 77666e8778..bd12fd32bc 100644 --- a/src/OpenSearch.Client/Modules/Indices/Fielddata/FielddataFilter.cs +++ b/src/OpenSearch.Client/Modules/Indices/Fielddata/FielddataFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Indices/Fielddata/FielddataFrequencyFilter.cs b/src/OpenSearch.Client/Modules/Indices/Fielddata/FielddataFrequencyFilter.cs index 60fd83fdd1..d9f43a9917 100644 --- a/src/OpenSearch.Client/Modules/Indices/Fielddata/FielddataFrequencyFilter.cs +++ b/src/OpenSearch.Client/Modules/Indices/Fielddata/FielddataFrequencyFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Indices/Fielddata/FielddataLoading.cs b/src/OpenSearch.Client/Modules/Indices/Fielddata/FielddataLoading.cs index 6e026406a3..b03b85caaa 100644 --- a/src/OpenSearch.Client/Modules/Indices/Fielddata/FielddataLoading.cs +++ b/src/OpenSearch.Client/Modules/Indices/Fielddata/FielddataLoading.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Indices/Fielddata/FielddataRegexFilter.cs b/src/OpenSearch.Client/Modules/Indices/Fielddata/FielddataRegexFilter.cs index 1efadea403..930e843cad 100644 --- a/src/OpenSearch.Client/Modules/Indices/Fielddata/FielddataRegexFilter.cs +++ b/src/OpenSearch.Client/Modules/Indices/Fielddata/FielddataRegexFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Indices/Fielddata/FielddataSettings.cs b/src/OpenSearch.Client/Modules/Indices/Fielddata/FielddataSettings.cs index a42ffe2723..1912a60785 100644 --- a/src/OpenSearch.Client/Modules/Indices/Fielddata/FielddataSettings.cs +++ b/src/OpenSearch.Client/Modules/Indices/Fielddata/FielddataSettings.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Indices/Fielddata/GeoPoint/GeoPointFielddata.cs b/src/OpenSearch.Client/Modules/Indices/Fielddata/GeoPoint/GeoPointFielddata.cs index 5ed8d8fb71..27c393e760 100644 --- a/src/OpenSearch.Client/Modules/Indices/Fielddata/GeoPoint/GeoPointFielddata.cs +++ b/src/OpenSearch.Client/Modules/Indices/Fielddata/GeoPoint/GeoPointFielddata.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Indices/Fielddata/GeoPoint/GeoPointFielddataFormat.cs b/src/OpenSearch.Client/Modules/Indices/Fielddata/GeoPoint/GeoPointFielddataFormat.cs index 437da47f9a..10dc7eed48 100644 --- a/src/OpenSearch.Client/Modules/Indices/Fielddata/GeoPoint/GeoPointFielddataFormat.cs +++ b/src/OpenSearch.Client/Modules/Indices/Fielddata/GeoPoint/GeoPointFielddataFormat.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Indices/Fielddata/Numeric/NumericFielddata.cs b/src/OpenSearch.Client/Modules/Indices/Fielddata/Numeric/NumericFielddata.cs index 5f82645f67..26a17a45be 100644 --- a/src/OpenSearch.Client/Modules/Indices/Fielddata/Numeric/NumericFielddata.cs +++ b/src/OpenSearch.Client/Modules/Indices/Fielddata/Numeric/NumericFielddata.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Indices/Fielddata/Numeric/NumericFielddataFormat.cs b/src/OpenSearch.Client/Modules/Indices/Fielddata/Numeric/NumericFielddataFormat.cs index c9f3e6056e..44b02a04cd 100644 --- a/src/OpenSearch.Client/Modules/Indices/Fielddata/Numeric/NumericFielddataFormat.cs +++ b/src/OpenSearch.Client/Modules/Indices/Fielddata/Numeric/NumericFielddataFormat.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Indices/Fielddata/String/StringFielddata.cs b/src/OpenSearch.Client/Modules/Indices/Fielddata/String/StringFielddata.cs index bf823d1140..661a2334e7 100644 --- a/src/OpenSearch.Client/Modules/Indices/Fielddata/String/StringFielddata.cs +++ b/src/OpenSearch.Client/Modules/Indices/Fielddata/String/StringFielddata.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Indices/Fielddata/String/StringFielddataFormat.cs b/src/OpenSearch.Client/Modules/Indices/Fielddata/String/StringFielddataFormat.cs index ceac693468..44c49c013e 100644 --- a/src/OpenSearch.Client/Modules/Indices/Fielddata/String/StringFielddataFormat.cs +++ b/src/OpenSearch.Client/Modules/Indices/Fielddata/String/StringFielddataFormat.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Indices/IndexingBuffer/IndexingBufferSettings.cs b/src/OpenSearch.Client/Modules/Indices/IndexingBuffer/IndexingBufferSettings.cs index 4aad2d3712..3f701cd28e 100644 --- a/src/OpenSearch.Client/Modules/Indices/IndexingBuffer/IndexingBufferSettings.cs +++ b/src/OpenSearch.Client/Modules/Indices/IndexingBuffer/IndexingBufferSettings.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Indices/IndicesModuleSettings.cs b/src/OpenSearch.Client/Modules/Indices/IndicesModuleSettings.cs index 29e909ca04..e87970a1a1 100644 --- a/src/OpenSearch.Client/Modules/Indices/IndicesModuleSettings.cs +++ b/src/OpenSearch.Client/Modules/Indices/IndicesModuleSettings.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Indices/Recovery/IndicesRecoverySettings.cs b/src/OpenSearch.Client/Modules/Indices/Recovery/IndicesRecoverySettings.cs index d4f031d671..04e2de093d 100644 --- a/src/OpenSearch.Client/Modules/Indices/Recovery/IndicesRecoverySettings.cs +++ b/src/OpenSearch.Client/Modules/Indices/Recovery/IndicesRecoverySettings.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Scripting/DeleteScript/DeleteScriptRequest.cs b/src/OpenSearch.Client/Modules/Scripting/DeleteScript/DeleteScriptRequest.cs index c3bb922622..bf1d0c6cda 100644 --- a/src/OpenSearch.Client/Modules/Scripting/DeleteScript/DeleteScriptRequest.cs +++ b/src/OpenSearch.Client/Modules/Scripting/DeleteScript/DeleteScriptRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Scripting/DeleteScript/DeleteScriptResponse.cs b/src/OpenSearch.Client/Modules/Scripting/DeleteScript/DeleteScriptResponse.cs index ea66e444ae..ed11d35a80 100644 --- a/src/OpenSearch.Client/Modules/Scripting/DeleteScript/DeleteScriptResponse.cs +++ b/src/OpenSearch.Client/Modules/Scripting/DeleteScript/DeleteScriptResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Scripting/ExecutePainlessScript/ExecutePainlessScriptRequest.cs b/src/OpenSearch.Client/Modules/Scripting/ExecutePainlessScript/ExecutePainlessScriptRequest.cs index 72696ef542..a9e8abd23f 100644 --- a/src/OpenSearch.Client/Modules/Scripting/ExecutePainlessScript/ExecutePainlessScriptRequest.cs +++ b/src/OpenSearch.Client/Modules/Scripting/ExecutePainlessScript/ExecutePainlessScriptRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Scripting/ExecutePainlessScript/ExecutePainlessScriptResponse.cs b/src/OpenSearch.Client/Modules/Scripting/ExecutePainlessScript/ExecutePainlessScriptResponse.cs index 68ae2de1d4..80c457d778 100644 --- a/src/OpenSearch.Client/Modules/Scripting/ExecutePainlessScript/ExecutePainlessScriptResponse.cs +++ b/src/OpenSearch.Client/Modules/Scripting/ExecutePainlessScript/ExecutePainlessScriptResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Scripting/ExecutePainlessScript/PainlessContextSetup.cs b/src/OpenSearch.Client/Modules/Scripting/ExecutePainlessScript/PainlessContextSetup.cs index ca19c62dcd..c3d64c972b 100644 --- a/src/OpenSearch.Client/Modules/Scripting/ExecutePainlessScript/PainlessContextSetup.cs +++ b/src/OpenSearch.Client/Modules/Scripting/ExecutePainlessScript/PainlessContextSetup.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Scripting/GetScript/GetScriptRequest.cs b/src/OpenSearch.Client/Modules/Scripting/GetScript/GetScriptRequest.cs index 39e8bc6734..2c47c79681 100644 --- a/src/OpenSearch.Client/Modules/Scripting/GetScript/GetScriptRequest.cs +++ b/src/OpenSearch.Client/Modules/Scripting/GetScript/GetScriptRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Scripting/GetScript/GetScriptResponse.cs b/src/OpenSearch.Client/Modules/Scripting/GetScript/GetScriptResponse.cs index ca1525eee0..1b0570990a 100644 --- a/src/OpenSearch.Client/Modules/Scripting/GetScript/GetScriptResponse.cs +++ b/src/OpenSearch.Client/Modules/Scripting/GetScript/GetScriptResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Scripting/IStoredScript.cs b/src/OpenSearch.Client/Modules/Scripting/IStoredScript.cs index b6196f1a43..f6072e0db1 100644 --- a/src/OpenSearch.Client/Modules/Scripting/IStoredScript.cs +++ b/src/OpenSearch.Client/Modules/Scripting/IStoredScript.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Scripting/PutScript/PutScriptRequest.cs b/src/OpenSearch.Client/Modules/Scripting/PutScript/PutScriptRequest.cs index d9bd796c68..b0e40c0d8e 100644 --- a/src/OpenSearch.Client/Modules/Scripting/PutScript/PutScriptRequest.cs +++ b/src/OpenSearch.Client/Modules/Scripting/PutScript/PutScriptRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Scripting/PutScript/PutScriptResponse.cs b/src/OpenSearch.Client/Modules/Scripting/PutScript/PutScriptResponse.cs index 3577fb5d5e..c3a6ee7e2f 100644 --- a/src/OpenSearch.Client/Modules/Scripting/PutScript/PutScriptResponse.cs +++ b/src/OpenSearch.Client/Modules/Scripting/PutScript/PutScriptResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/Scripting/ScriptLang.cs b/src/OpenSearch.Client/Modules/Scripting/ScriptLang.cs index a667547ed9..8b7bdd0762 100644 --- a/src/OpenSearch.Client/Modules/Scripting/ScriptLang.cs +++ b/src/OpenSearch.Client/Modules/Scripting/ScriptLang.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/AzureRepository.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/AzureRepository.cs index 3fd0ad938b..3af4e52c67 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/AzureRepository.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/AzureRepository.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/CleanupRepository/CleanupRepositoryRequest.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/CleanupRepository/CleanupRepositoryRequest.cs index 384a4e08b4..e4270de426 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/CleanupRepository/CleanupRepositoryRequest.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/CleanupRepository/CleanupRepositoryRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/CleanupRepository/CleanupRepositoryResponse.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/CleanupRepository/CleanupRepositoryResponse.cs index 82c1afff76..279dfa9e8b 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/CleanupRepository/CleanupRepositoryResponse.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/CleanupRepository/CleanupRepositoryResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/CreateRepository/CreateRepositoryFormatter.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/CreateRepository/CreateRepositoryFormatter.cs index 4c545c97c5..d9e4f450e6 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/CreateRepository/CreateRepositoryFormatter.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/CreateRepository/CreateRepositoryFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/CreateRepository/CreateRepositoryRequest.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/CreateRepository/CreateRepositoryRequest.cs index 7c60d6af7c..b3e122a16a 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/CreateRepository/CreateRepositoryRequest.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/CreateRepository/CreateRepositoryRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/CreateRepository/CreateRepositoryResponse.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/CreateRepository/CreateRepositoryResponse.cs index c5e82ba770..863afd9233 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/CreateRepository/CreateRepositoryResponse.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/CreateRepository/CreateRepositoryResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/DeleteRepository/DeleteRepositoryRequest.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/DeleteRepository/DeleteRepositoryRequest.cs index fd4f00fc58..b6e4b88724 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/DeleteRepository/DeleteRepositoryRequest.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/DeleteRepository/DeleteRepositoryRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/DeleteRepository/DeleteRepositoryResponse.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/DeleteRepository/DeleteRepositoryResponse.cs index d369c4ec59..6f5c82ef44 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/DeleteRepository/DeleteRepositoryResponse.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/DeleteRepository/DeleteRepositoryResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/FileSystemRepository.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/FileSystemRepository.cs index bccf5261d2..131022cff5 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/FileSystemRepository.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/FileSystemRepository.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * @@ -34,7 +35,7 @@ namespace OpenSearch.Client /// /// A snapshot repository that uses a shared file system to store snapshot data. /// The path specified in the location parameter should point to the same location in the shared - /// filesystem and be accessible on all data and master nodes. + /// filesystem and be accessible on all data and cluster_manager nodes. /// public interface IFileSystemRepository : IRepository { } diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/GetRepository/GetRepositoryRequest.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/GetRepository/GetRepositoryRequest.cs index d1db86b474..289ba29987 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/GetRepository/GetRepositoryRequest.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/GetRepository/GetRepositoryRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/GetRepository/GetRepositoryResponse.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/GetRepository/GetRepositoryResponse.cs index 162c9f8119..cd935c8166 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/GetRepository/GetRepositoryResponse.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/GetRepository/GetRepositoryResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/GetRepository/GetRepositoryResponseFormatter.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/GetRepository/GetRepositoryResponseFormatter.cs index a396fc6ee2..9c54730985 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/GetRepository/GetRepositoryResponseFormatter.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/GetRepository/GetRepositoryResponseFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/HdfsRepository.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/HdfsRepository.cs index a5fe5f8eaf..d28450d6c5 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/HdfsRepository.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/HdfsRepository.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/ISnapshotRepository.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/ISnapshotRepository.cs index fe26e81671..34ce458736 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/ISnapshotRepository.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/ISnapshotRepository.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/ReadOnlyUrlRepository.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/ReadOnlyUrlRepository.cs index d49210f051..06716cc7fa 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/ReadOnlyUrlRepository.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/ReadOnlyUrlRepository.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/S3Repository.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/S3Repository.cs index bf32303acc..93658a7e42 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/S3Repository.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/S3Repository.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/SourceOnlyRepository.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/SourceOnlyRepository.cs index 3db7cd91dd..5a8b475ce3 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/SourceOnlyRepository.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/SourceOnlyRepository.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/VerifyRepository/CompactNodeInfo.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/VerifyRepository/CompactNodeInfo.cs index 7a589c3e49..8c62f77f50 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/VerifyRepository/CompactNodeInfo.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/VerifyRepository/CompactNodeInfo.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/VerifyRepository/VerifyRepositoryRequest.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/VerifyRepository/VerifyRepositoryRequest.cs index 4c103937c3..9ed67b953a 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/VerifyRepository/VerifyRepositoryRequest.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/VerifyRepository/VerifyRepositoryRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/VerifyRepository/VerifyRepositoryResponse.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/VerifyRepository/VerifyRepositoryResponse.cs index b994f5e1f0..5648e335f5 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/VerifyRepository/VerifyRepositoryResponse.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Repositories/VerifyRepository/VerifyRepositoryResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Restore/RestoreObservable/RestoreObservable.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Restore/RestoreObservable/RestoreObservable.cs index dc4dd10fd8..a4e8b710c4 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Restore/RestoreObservable/RestoreObservable.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Restore/RestoreObservable/RestoreObservable.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Restore/RestoreRequest.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Restore/RestoreRequest.cs index 3e63fe6e04..3d6b0e872b 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Restore/RestoreRequest.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Restore/RestoreRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Restore/RestoreResponse.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Restore/RestoreResponse.cs index 80563b13a7..9b0efacb97 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Restore/RestoreResponse.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Restore/RestoreResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Restore/SnapshotRestore.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Restore/SnapshotRestore.cs index 7146031406..98a497e725 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Restore/SnapshotRestore.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Restore/SnapshotRestore.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/Clone/CloneSnapshotRequest.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/Clone/CloneSnapshotRequest.cs index 28cd070c0c..1faee2a1cb 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/Clone/CloneSnapshotRequest.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/Clone/CloneSnapshotRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/Clone/CloneSnapshotResponse.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/Clone/CloneSnapshotResponse.cs index d88aa58bd5..94047aa91b 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/Clone/CloneSnapshotResponse.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/Clone/CloneSnapshotResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/DeleteSnapshot/DeleteSnapshotRequest.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/DeleteSnapshot/DeleteSnapshotRequest.cs index e48b2259fa..e6d3496db9 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/DeleteSnapshot/DeleteSnapshotRequest.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/DeleteSnapshot/DeleteSnapshotRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/DeleteSnapshot/DeleteSnapshotResponse.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/DeleteSnapshot/DeleteSnapshotResponse.cs index 9a90d6f212..f034d85c58 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/DeleteSnapshot/DeleteSnapshotResponse.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/DeleteSnapshot/DeleteSnapshotResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/GetSnapshot/GetSnapshotRequest.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/GetSnapshot/GetSnapshotRequest.cs index 915576264c..9a26d6ed78 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/GetSnapshot/GetSnapshotRequest.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/GetSnapshot/GetSnapshotRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/GetSnapshot/GetSnapshotResponse.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/GetSnapshot/GetSnapshotResponse.cs index 75f1e70efa..6bcdb40938 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/GetSnapshot/GetSnapshotResponse.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/GetSnapshot/GetSnapshotResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/Snapshot.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/Snapshot.cs index 6af72ca23c..cd4a63eb27 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/Snapshot.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/Snapshot.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/Snapshot/SnapshotRequest.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/Snapshot/SnapshotRequest.cs index 5bea606195..2a44472ea5 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/Snapshot/SnapshotRequest.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/Snapshot/SnapshotRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/Snapshot/SnapshotResponse.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/Snapshot/SnapshotResponse.cs index bac98c51a3..d857b62595 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/Snapshot/SnapshotResponse.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/Snapshot/SnapshotResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/SnapshotObservable/SnapshotObservable.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/SnapshotObservable/SnapshotObservable.cs index c8bb6f6fd2..c1be6aead1 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/SnapshotObservable/SnapshotObservable.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/SnapshotObservable/SnapshotObservable.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/SnapshotObservable/SnapshotObserver.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/SnapshotObservable/SnapshotObserver.cs index 29af9f1227..477805abbe 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/SnapshotObservable/SnapshotObserver.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/SnapshotObservable/SnapshotObserver.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/SnapshotShardFailure.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/SnapshotShardFailure.cs index 8713240195..15dc575e03 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/SnapshotShardFailure.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/SnapshotShardFailure.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/SnapshotStatus/SnapshotStatusRequest.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/SnapshotStatus/SnapshotStatusRequest.cs index 720123e92d..534034cfeb 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/SnapshotStatus/SnapshotStatusRequest.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/SnapshotStatus/SnapshotStatusRequest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/SnapshotStatus/SnapshotStatusResponse.cs b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/SnapshotStatus/SnapshotStatusResponse.cs index 3e1d952fc9..d7c53c2ec7 100644 --- a/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/SnapshotStatus/SnapshotStatusResponse.cs +++ b/src/OpenSearch.Client/Modules/SnapshotAndRestore/Snapshot/SnapshotStatus/SnapshotStatusResponse.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/OpenSearchClient.Cat.cs b/src/OpenSearch.Client/OpenSearchClient.Cat.cs index b2a797a361..ebf3fa065d 100644 --- a/src/OpenSearch.Client/OpenSearchClient.Cat.cs +++ b/src/OpenSearch.Client/OpenSearchClient.Cat.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * @@ -233,28 +234,60 @@ internal CatNamespace(OpenSearchClient client): base(client) /// /// GET request to the cat.master API, read more about this API online: /// - /// https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-master/ + /// https://opensearch.org/docs/1.2/opensearch/rest-api/cat/cat-master/ + /// Deprecated as of OpenSearch 2.0, use instead /// public CatResponse Master(Func selector = null) => Master(selector.InvokeOrDefault(new CatMasterDescriptor())); /// /// GET request to the cat.master API, read more about this API online: /// - /// https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-master/ + /// https://opensearch.org/docs/1.2/opensearch/rest-api/cat/cat-master/ + /// Deprecated as of OpenSearch 2.0, use instead /// public Task> MasterAsync(Func selector = null, CancellationToken ct = default) => MasterAsync(selector.InvokeOrDefault(new CatMasterDescriptor()), ct); /// /// GET request to the cat.master API, read more about this API online: /// - /// https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-master/ + /// https://opensearch.org/docs/1.2/opensearch/rest-api/cat/cat-master/ + /// Deprecated as of OpenSearch 2.0, use instead /// public CatResponse Master(ICatMasterRequest request) => DoCat(request); /// /// GET request to the cat.master API, read more about this API online: /// - /// https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-master/ + /// https://opensearch.org/docs/1.2/opensearch/rest-api/cat/cat-master/ + /// Deprecated as of OpenSearch 2.0, use instead /// public Task> MasterAsync(ICatMasterRequest request, CancellationToken ct = default) => DoCatAsync(request, ct); /// + /// GET request to the cat.cluster_manager API, read more about this API online: + /// + /// https://opensearch.org/docs/2.0/opensearch/rest-api/cat/cat-cluster_manager/ + /// Introduced in OpenSearch 2.0 instead of + /// + public CatResponse ClusterManager(Func selector = null) => ClusterManager(selector.InvokeOrDefault(new CatClusterManagerDescriptor())); + /// + /// GET request to the cat.cluster_manager API, read more about this API online: + /// + /// https://opensearch.org/docs/2.0/opensearch/rest-api/cat/cat-cluster_manager/ + /// Introduced in OpenSearch 2.0 instead of + /// + public Task> ClusterManagerAsync(Func selector = null, CancellationToken ct = default) => ClusterManagerAsync(selector.InvokeOrDefault(new CatClusterManagerDescriptor()), ct); + /// + /// GET request to the cat.cluster_manager API, read more about this API online: + /// + /// https://opensearch.org/docs/2.0/opensearch/rest-api/cat/cat-cluster_manager/ + /// Introduced in OpenSearch 2.0 instead of + /// + public CatResponse ClusterManager(ICatClusterManagerRequest request) => DoCat(request); + /// + /// GET request to the cat.cluster_manager API, read more about this API online: + /// + /// https://opensearch.org/docs/2.0/opensearch/rest-api/cat/cat-cluster_manager/ + /// Introduced in OpenSearch 2.0 instead of + /// + public Task> ClusterManagerAsync(ICatClusterManagerRequest request, CancellationToken ct = default) => DoCatAsync(request, ct); + /// /// GET request to the cat.nodeattrs API, read more about this API online: /// /// https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-nodeattrs/ diff --git a/src/OpenSearch.Client/OpenSearchClient.Cluster.cs b/src/OpenSearch.Client/OpenSearchClient.Cluster.cs index ccbdbe5380..efb6503f7f 100644 --- a/src/OpenSearch.Client/OpenSearchClient.Cluster.cs +++ b/src/OpenSearch.Client/OpenSearchClient.Cluster.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/OpenSearchClient.DanglingIndices.cs b/src/OpenSearch.Client/OpenSearchClient.DanglingIndices.cs index 8d2fee055e..7e22eec68d 100644 --- a/src/OpenSearch.Client/OpenSearchClient.DanglingIndices.cs +++ b/src/OpenSearch.Client/OpenSearchClient.DanglingIndices.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/OpenSearchClient.Indices.cs b/src/OpenSearch.Client/OpenSearchClient.Indices.cs index ffaf29bb04..609d79d558 100644 --- a/src/OpenSearch.Client/OpenSearchClient.Indices.cs +++ b/src/OpenSearch.Client/OpenSearchClient.Indices.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * @@ -355,24 +356,28 @@ internal IndicesNamespace(OpenSearchClient client): base(client) /// /// https://opensearch.org/docs/latest/opensearch/rest-api/index-apis/exists/ /// + /// Deprecated as of OpenSearch 2.0 public ExistsResponse TypeExists(Indices index, Names type, Func selector = null) => TypeExists(selector.InvokeOrDefault(new TypeExistsDescriptor(index: index, type: type))); /// /// HEAD request to the indices.exists_type API, read more about this API online: /// /// https://opensearch.org/docs/latest/opensearch/rest-api/index-apis/exists/ /// + /// Deprecated as of OpenSearch 2.0 public Task TypeExistsAsync(Indices index, Names type, Func selector = null, CancellationToken ct = default) => TypeExistsAsync(selector.InvokeOrDefault(new TypeExistsDescriptor(index: index, type: type)), ct); /// /// HEAD request to the indices.exists_type API, read more about this API online: /// /// https://opensearch.org/docs/latest/opensearch/rest-api/index-apis/exists/ /// + /// Deprecated as of OpenSearch 2.0 public ExistsResponse TypeExists(ITypeExistsRequest request) => DoRequest(request, request.RequestParameters); /// /// HEAD request to the indices.exists_type API, read more about this API online: /// /// https://opensearch.org/docs/latest/opensearch/rest-api/index-apis/exists/ /// + /// Deprecated as of OpenSearch 2.0 public Task TypeExistsAsync(ITypeExistsRequest request, CancellationToken ct = default) => DoRequestAsync(request, request.RequestParameters, ct); /// /// POST request to the indices.flush API, read more about this API online: diff --git a/src/OpenSearch.Client/OpenSearchClient.Ingest.cs b/src/OpenSearch.Client/OpenSearchClient.Ingest.cs index 5676c60f79..effd01fd11 100644 --- a/src/OpenSearch.Client/OpenSearchClient.Ingest.cs +++ b/src/OpenSearch.Client/OpenSearchClient.Ingest.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/OpenSearchClient.NoNamespace.cs b/src/OpenSearch.Client/OpenSearchClient.NoNamespace.cs index 20a0e2a780..3339ea442c 100644 --- a/src/OpenSearch.Client/OpenSearchClient.NoNamespace.cs +++ b/src/OpenSearch.Client/OpenSearchClient.NoNamespace.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/OpenSearchClient.Nodes.cs b/src/OpenSearch.Client/OpenSearchClient.Nodes.cs index 3fb97e1248..bf60517610 100644 --- a/src/OpenSearch.Client/OpenSearchClient.Nodes.cs +++ b/src/OpenSearch.Client/OpenSearchClient.Nodes.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/OpenSearchClient.Snapshot.cs b/src/OpenSearch.Client/OpenSearchClient.Snapshot.cs index eb73260d4a..5468062cc8 100644 --- a/src/OpenSearch.Client/OpenSearchClient.Snapshot.cs +++ b/src/OpenSearch.Client/OpenSearchClient.Snapshot.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/OpenSearchClient.Tasks.cs b/src/OpenSearch.Client/OpenSearchClient.Tasks.cs index 2ee27e0b67..b92a7443c6 100644 --- a/src/OpenSearch.Client/OpenSearchClient.Tasks.cs +++ b/src/OpenSearch.Client/OpenSearchClient.Tasks.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/OpenSearchClient.cs b/src/OpenSearch.Client/OpenSearchClient.cs index 8ce8eb1bfb..d5a7789aa8 100644 --- a/src/OpenSearch.Client/OpenSearchClient.cs +++ b/src/OpenSearch.Client/OpenSearchClient.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/Properties/ClsCompliancy.cs b/src/OpenSearch.Client/Properties/ClsCompliancy.cs index 00b2e72529..65358eb54c 100644 --- a/src/OpenSearch.Client/Properties/ClsCompliancy.cs +++ b/src/OpenSearch.Client/Properties/ClsCompliancy.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Abstractions/Container/IQueryContainer.cs b/src/OpenSearch.Client/QueryDsl/Abstractions/Container/IQueryContainer.cs index f55caa7226..d56f9fefa1 100644 --- a/src/OpenSearch.Client/QueryDsl/Abstractions/Container/IQueryContainer.cs +++ b/src/OpenSearch.Client/QueryDsl/Abstractions/Container/IQueryContainer.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Abstractions/Container/QueryContainer-Assignments.cs b/src/OpenSearch.Client/QueryDsl/Abstractions/Container/QueryContainer-Assignments.cs index 00dc7368b0..f865f234fd 100644 --- a/src/OpenSearch.Client/QueryDsl/Abstractions/Container/QueryContainer-Assignments.cs +++ b/src/OpenSearch.Client/QueryDsl/Abstractions/Container/QueryContainer-Assignments.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Abstractions/Container/QueryContainer-Dsl.cs b/src/OpenSearch.Client/QueryDsl/Abstractions/Container/QueryContainer-Dsl.cs index 3167880f15..2d4221d6e4 100644 --- a/src/OpenSearch.Client/QueryDsl/Abstractions/Container/QueryContainer-Dsl.cs +++ b/src/OpenSearch.Client/QueryDsl/Abstractions/Container/QueryContainer-Dsl.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Abstractions/Container/QueryContainerDescriptor.cs b/src/OpenSearch.Client/QueryDsl/Abstractions/Container/QueryContainerDescriptor.cs index 2394343b90..ac43b0c980 100644 --- a/src/OpenSearch.Client/QueryDsl/Abstractions/Container/QueryContainerDescriptor.cs +++ b/src/OpenSearch.Client/QueryDsl/Abstractions/Container/QueryContainerDescriptor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Abstractions/Container/QueryContainerFormatter.cs b/src/OpenSearch.Client/QueryDsl/Abstractions/Container/QueryContainerFormatter.cs index 4da52292f6..240d13628d 100644 --- a/src/OpenSearch.Client/QueryDsl/Abstractions/Container/QueryContainerFormatter.cs +++ b/src/OpenSearch.Client/QueryDsl/Abstractions/Container/QueryContainerFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Abstractions/FieldLookup/FieldLookup.cs b/src/OpenSearch.Client/QueryDsl/Abstractions/FieldLookup/FieldLookup.cs index 5332b81312..5dcfb4d5c6 100644 --- a/src/OpenSearch.Client/QueryDsl/Abstractions/FieldLookup/FieldLookup.cs +++ b/src/OpenSearch.Client/QueryDsl/Abstractions/FieldLookup/FieldLookup.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Abstractions/FieldLookup/FieldLookupExtensions.cs b/src/OpenSearch.Client/QueryDsl/Abstractions/FieldLookup/FieldLookupExtensions.cs index 7e3b6cc1d4..131d920a9e 100644 --- a/src/OpenSearch.Client/QueryDsl/Abstractions/FieldLookup/FieldLookupExtensions.cs +++ b/src/OpenSearch.Client/QueryDsl/Abstractions/FieldLookup/FieldLookupExtensions.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Abstractions/FieldName/FieldNameQueryBase.cs b/src/OpenSearch.Client/QueryDsl/Abstractions/FieldName/FieldNameQueryBase.cs index 50d32a59f2..5d1809e1c8 100644 --- a/src/OpenSearch.Client/QueryDsl/Abstractions/FieldName/FieldNameQueryBase.cs +++ b/src/OpenSearch.Client/QueryDsl/Abstractions/FieldName/FieldNameQueryBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Abstractions/FieldName/FieldNameQueryDescriptorBase.cs b/src/OpenSearch.Client/QueryDsl/Abstractions/FieldName/FieldNameQueryDescriptorBase.cs index 2c833e1cc5..c6ff74b2ea 100644 --- a/src/OpenSearch.Client/QueryDsl/Abstractions/FieldName/FieldNameQueryDescriptorBase.cs +++ b/src/OpenSearch.Client/QueryDsl/Abstractions/FieldName/FieldNameQueryDescriptorBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Abstractions/FieldName/FieldNameQueryFormatter.cs b/src/OpenSearch.Client/QueryDsl/Abstractions/FieldName/FieldNameQueryFormatter.cs index 29ead9dde6..c8c758813c 100644 --- a/src/OpenSearch.Client/QueryDsl/Abstractions/FieldName/FieldNameQueryFormatter.cs +++ b/src/OpenSearch.Client/QueryDsl/Abstractions/FieldName/FieldNameQueryFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Abstractions/Query/BoolQueryAndExtensions.cs b/src/OpenSearch.Client/QueryDsl/Abstractions/Query/BoolQueryAndExtensions.cs index 608e5b409d..0854373d0d 100644 --- a/src/OpenSearch.Client/QueryDsl/Abstractions/Query/BoolQueryAndExtensions.cs +++ b/src/OpenSearch.Client/QueryDsl/Abstractions/Query/BoolQueryAndExtensions.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Abstractions/Query/BoolQueryExtensions.cs b/src/OpenSearch.Client/QueryDsl/Abstractions/Query/BoolQueryExtensions.cs index a655fa5338..c79f8d664b 100644 --- a/src/OpenSearch.Client/QueryDsl/Abstractions/Query/BoolQueryExtensions.cs +++ b/src/OpenSearch.Client/QueryDsl/Abstractions/Query/BoolQueryExtensions.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Abstractions/Query/BoolQueryOrExtensions.cs b/src/OpenSearch.Client/QueryDsl/Abstractions/Query/BoolQueryOrExtensions.cs index 14c1a5d686..15d57abfb2 100644 --- a/src/OpenSearch.Client/QueryDsl/Abstractions/Query/BoolQueryOrExtensions.cs +++ b/src/OpenSearch.Client/QueryDsl/Abstractions/Query/BoolQueryOrExtensions.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Abstractions/Query/QueryBase.cs b/src/OpenSearch.Client/QueryDsl/Abstractions/Query/QueryBase.cs index a2e5559fff..dcaba96d00 100644 --- a/src/OpenSearch.Client/QueryDsl/Abstractions/Query/QueryBase.cs +++ b/src/OpenSearch.Client/QueryDsl/Abstractions/Query/QueryBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Abstractions/Query/QueryDescriptorBase.cs b/src/OpenSearch.Client/QueryDsl/Abstractions/Query/QueryDescriptorBase.cs index 8edc2accbb..ab78b047a2 100644 --- a/src/OpenSearch.Client/QueryDsl/Abstractions/Query/QueryDescriptorBase.cs +++ b/src/OpenSearch.Client/QueryDsl/Abstractions/Query/QueryDescriptorBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Compound/Bool/BoolQuery.cs b/src/OpenSearch.Client/QueryDsl/Compound/Bool/BoolQuery.cs index ecd90cc124..f1c9b86f17 100644 --- a/src/OpenSearch.Client/QueryDsl/Compound/Bool/BoolQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/Compound/Bool/BoolQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Compound/Boosting/BoostingQuery.cs b/src/OpenSearch.Client/QueryDsl/Compound/Boosting/BoostingQuery.cs index 2c2db3d932..0d2bf6279e 100644 --- a/src/OpenSearch.Client/QueryDsl/Compound/Boosting/BoostingQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/Compound/Boosting/BoostingQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Compound/ConstantScore/ConstantScoreQuery.cs b/src/OpenSearch.Client/QueryDsl/Compound/ConstantScore/ConstantScoreQuery.cs index 6bfb579b0a..8a53ccf8f8 100644 --- a/src/OpenSearch.Client/QueryDsl/Compound/ConstantScore/ConstantScoreQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/Compound/ConstantScore/ConstantScoreQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Compound/Dismax/DismaxQuery.cs b/src/OpenSearch.Client/QueryDsl/Compound/Dismax/DismaxQuery.cs index 7d7d628146..c0448a09a5 100644 --- a/src/OpenSearch.Client/QueryDsl/Compound/Dismax/DismaxQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/Compound/Dismax/DismaxQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/FunctionScoreQuery.cs b/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/FunctionScoreQuery.cs index c05e4be57f..7a24b51a4a 100644 --- a/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/FunctionScoreQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/FunctionScoreQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/Decay/DecayFunctionBase.cs b/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/Decay/DecayFunctionBase.cs index 9fa14e966c..5c8f6dd298 100644 --- a/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/Decay/DecayFunctionBase.cs +++ b/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/Decay/DecayFunctionBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/Decay/ExponentialDecayFunctionBase.cs b/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/Decay/ExponentialDecayFunctionBase.cs index 362d360f28..066f165d4e 100644 --- a/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/Decay/ExponentialDecayFunctionBase.cs +++ b/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/Decay/ExponentialDecayFunctionBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/Decay/GaussDecayFunctionBase.cs b/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/Decay/GaussDecayFunctionBase.cs index cc8815c67e..2bd22e091e 100644 --- a/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/Decay/GaussDecayFunctionBase.cs +++ b/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/Decay/GaussDecayFunctionBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/Decay/LinearDecayFunctionBase.cs b/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/Decay/LinearDecayFunctionBase.cs index eb0600a4d6..8108edd436 100644 --- a/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/Decay/LinearDecayFunctionBase.cs +++ b/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/Decay/LinearDecayFunctionBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/Decay/MultiValueMode.cs b/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/Decay/MultiValueMode.cs index 12c5b84188..e50ca9e33a 100644 --- a/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/Decay/MultiValueMode.cs +++ b/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/Decay/MultiValueMode.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/FieldValue/FieldValueFactorFunction.cs b/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/FieldValue/FieldValueFactorFunction.cs index 22d2e32f0a..ec43d1bf51 100644 --- a/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/FieldValue/FieldValueFactorFunction.cs +++ b/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/FieldValue/FieldValueFactorFunction.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/FieldValue/FieldValueFactorModifier.cs b/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/FieldValue/FieldValueFactorModifier.cs index 2a5e129720..05dba277a0 100644 --- a/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/FieldValue/FieldValueFactorModifier.cs +++ b/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/FieldValue/FieldValueFactorModifier.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/FunctionBoostMode.cs b/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/FunctionBoostMode.cs index faf89b5d41..009c51c927 100644 --- a/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/FunctionBoostMode.cs +++ b/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/FunctionBoostMode.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/FunctionScoreMode.cs b/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/FunctionScoreMode.cs index 7c77ffa106..ad00ac9383 100644 --- a/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/FunctionScoreMode.cs +++ b/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/FunctionScoreMode.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/IScoreFunction.cs b/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/IScoreFunction.cs index ada80beda9..5a599f6d46 100644 --- a/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/IScoreFunction.cs +++ b/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/IScoreFunction.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/Random/RandomScoreFunction.cs b/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/Random/RandomScoreFunction.cs index 13f85be491..0593ce9bb5 100644 --- a/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/Random/RandomScoreFunction.cs +++ b/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/Random/RandomScoreFunction.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/ScoreFunctionJsonFormatter.cs b/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/ScoreFunctionJsonFormatter.cs index 4a903157d6..574d9fbc50 100644 --- a/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/ScoreFunctionJsonFormatter.cs +++ b/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/ScoreFunctionJsonFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/ScoreFunctions.cs b/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/ScoreFunctions.cs index 9b24c420d3..28fa0c8275 100644 --- a/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/ScoreFunctions.cs +++ b/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/ScoreFunctions.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/ScriptScore/ScriptScoreFunction.cs b/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/ScriptScore/ScriptScoreFunction.cs index fe833121c1..eb264346c4 100644 --- a/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/ScriptScore/ScriptScoreFunction.cs +++ b/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/ScriptScore/ScriptScoreFunction.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/Weight/WeightFunction.cs b/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/Weight/WeightFunction.cs index 2274eda33b..66d13d5e21 100644 --- a/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/Weight/WeightFunction.cs +++ b/src/OpenSearch.Client/QueryDsl/Compound/FunctionScore/Functions/Weight/WeightFunction.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/FullText/Intervals/IntervalsAllOf.cs b/src/OpenSearch.Client/QueryDsl/FullText/Intervals/IntervalsAllOf.cs index d29eb6691e..895c95720c 100644 --- a/src/OpenSearch.Client/QueryDsl/FullText/Intervals/IntervalsAllOf.cs +++ b/src/OpenSearch.Client/QueryDsl/FullText/Intervals/IntervalsAllOf.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/FullText/Intervals/IntervalsAnyOf.cs b/src/OpenSearch.Client/QueryDsl/FullText/Intervals/IntervalsAnyOf.cs index cb5f8b38f8..6adaaaac9b 100644 --- a/src/OpenSearch.Client/QueryDsl/FullText/Intervals/IntervalsAnyOf.cs +++ b/src/OpenSearch.Client/QueryDsl/FullText/Intervals/IntervalsAnyOf.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/FullText/Intervals/IntervalsFilter.cs b/src/OpenSearch.Client/QueryDsl/FullText/Intervals/IntervalsFilter.cs index 70a3dadd1c..443b134ac2 100644 --- a/src/OpenSearch.Client/QueryDsl/FullText/Intervals/IntervalsFilter.cs +++ b/src/OpenSearch.Client/QueryDsl/FullText/Intervals/IntervalsFilter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/FullText/Intervals/IntervalsFuzzy.cs b/src/OpenSearch.Client/QueryDsl/FullText/Intervals/IntervalsFuzzy.cs index 12fda432a7..cf93ffdd94 100644 --- a/src/OpenSearch.Client/QueryDsl/FullText/Intervals/IntervalsFuzzy.cs +++ b/src/OpenSearch.Client/QueryDsl/FullText/Intervals/IntervalsFuzzy.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/FullText/Intervals/IntervalsMatch.cs b/src/OpenSearch.Client/QueryDsl/FullText/Intervals/IntervalsMatch.cs index 99c53d1760..0b08a6afd9 100644 --- a/src/OpenSearch.Client/QueryDsl/FullText/Intervals/IntervalsMatch.cs +++ b/src/OpenSearch.Client/QueryDsl/FullText/Intervals/IntervalsMatch.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/FullText/Intervals/IntervalsPrefix.cs b/src/OpenSearch.Client/QueryDsl/FullText/Intervals/IntervalsPrefix.cs index 68d0a08075..b55e5f3d4a 100644 --- a/src/OpenSearch.Client/QueryDsl/FullText/Intervals/IntervalsPrefix.cs +++ b/src/OpenSearch.Client/QueryDsl/FullText/Intervals/IntervalsPrefix.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/FullText/Intervals/IntervalsQuery.cs b/src/OpenSearch.Client/QueryDsl/FullText/Intervals/IntervalsQuery.cs index 528aeefb1c..ff75ae1369 100644 --- a/src/OpenSearch.Client/QueryDsl/FullText/Intervals/IntervalsQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/FullText/Intervals/IntervalsQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/FullText/Intervals/IntervalsWildcard.cs b/src/OpenSearch.Client/QueryDsl/FullText/Intervals/IntervalsWildcard.cs index 43a9332024..231834b3fd 100644 --- a/src/OpenSearch.Client/QueryDsl/FullText/Intervals/IntervalsWildcard.cs +++ b/src/OpenSearch.Client/QueryDsl/FullText/Intervals/IntervalsWildcard.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/FullText/Match/MatchQuery.cs b/src/OpenSearch.Client/QueryDsl/FullText/Match/MatchQuery.cs index bfc204c1cd..bf4e44ff8b 100644 --- a/src/OpenSearch.Client/QueryDsl/FullText/Match/MatchQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/FullText/Match/MatchQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/FullText/MatchBoolPrefix/MatchBoolPrefixQuery.cs b/src/OpenSearch.Client/QueryDsl/FullText/MatchBoolPrefix/MatchBoolPrefixQuery.cs index 7dc2a5d5b4..51b5cdc44c 100644 --- a/src/OpenSearch.Client/QueryDsl/FullText/MatchBoolPrefix/MatchBoolPrefixQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/FullText/MatchBoolPrefix/MatchBoolPrefixQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/FullText/MatchPhrase/MatchPhraseQuery.cs b/src/OpenSearch.Client/QueryDsl/FullText/MatchPhrase/MatchPhraseQuery.cs index 828ae891db..cc84f6b57a 100644 --- a/src/OpenSearch.Client/QueryDsl/FullText/MatchPhrase/MatchPhraseQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/FullText/MatchPhrase/MatchPhraseQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/FullText/MatchPhrasePrefix/MatchPhrasePrefixQuery.cs b/src/OpenSearch.Client/QueryDsl/FullText/MatchPhrasePrefix/MatchPhrasePrefixQuery.cs index d682a6e3f6..6865242c3c 100644 --- a/src/OpenSearch.Client/QueryDsl/FullText/MatchPhrasePrefix/MatchPhrasePrefixQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/FullText/MatchPhrasePrefix/MatchPhrasePrefixQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/FullText/MultiMatch/MultiMatchQuery.cs b/src/OpenSearch.Client/QueryDsl/FullText/MultiMatch/MultiMatchQuery.cs index b0d6974b38..a4561d1de4 100644 --- a/src/OpenSearch.Client/QueryDsl/FullText/MultiMatch/MultiMatchQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/FullText/MultiMatch/MultiMatchQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/FullText/MultiMatch/TextQueryType.cs b/src/OpenSearch.Client/QueryDsl/FullText/MultiMatch/TextQueryType.cs index 806427dcdb..7ef70340b4 100644 --- a/src/OpenSearch.Client/QueryDsl/FullText/MultiMatch/TextQueryType.cs +++ b/src/OpenSearch.Client/QueryDsl/FullText/MultiMatch/TextQueryType.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/FullText/MultiMatch/ZeroTermsQuery.cs b/src/OpenSearch.Client/QueryDsl/FullText/MultiMatch/ZeroTermsQuery.cs index 965d6b83bd..2d7785d88b 100644 --- a/src/OpenSearch.Client/QueryDsl/FullText/MultiMatch/ZeroTermsQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/FullText/MultiMatch/ZeroTermsQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/FullText/QueryString/QueryStringQuery.cs b/src/OpenSearch.Client/QueryDsl/FullText/QueryString/QueryStringQuery.cs index 772897fe8c..9e39d2b881 100644 --- a/src/OpenSearch.Client/QueryDsl/FullText/QueryString/QueryStringQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/FullText/QueryString/QueryStringQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/FullText/SimpleQueryString/SimpleQueryStringFlags.cs b/src/OpenSearch.Client/QueryDsl/FullText/SimpleQueryString/SimpleQueryStringFlags.cs index 0371b355ef..f973281eca 100644 --- a/src/OpenSearch.Client/QueryDsl/FullText/SimpleQueryString/SimpleQueryStringFlags.cs +++ b/src/OpenSearch.Client/QueryDsl/FullText/SimpleQueryString/SimpleQueryStringFlags.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/FullText/SimpleQueryString/SimpleQueryStringQuery.cs b/src/OpenSearch.Client/QueryDsl/FullText/SimpleQueryString/SimpleQueryStringQuery.cs index 4413f83e28..44c8adcdf3 100644 --- a/src/OpenSearch.Client/QueryDsl/FullText/SimpleQueryString/SimpleQueryStringQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/FullText/SimpleQueryString/SimpleQueryStringQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Geo/BoundingBox/BoundingBox.cs b/src/OpenSearch.Client/QueryDsl/Geo/BoundingBox/BoundingBox.cs index e54739b64e..28f348aefb 100644 --- a/src/OpenSearch.Client/QueryDsl/Geo/BoundingBox/BoundingBox.cs +++ b/src/OpenSearch.Client/QueryDsl/Geo/BoundingBox/BoundingBox.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Geo/BoundingBox/GeoBoundingBoxQuery.cs b/src/OpenSearch.Client/QueryDsl/Geo/BoundingBox/GeoBoundingBoxQuery.cs index 7f77581eaf..0a163437c2 100644 --- a/src/OpenSearch.Client/QueryDsl/Geo/BoundingBox/GeoBoundingBoxQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/Geo/BoundingBox/GeoBoundingBoxQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Geo/BoundingBox/GeoExecution.cs b/src/OpenSearch.Client/QueryDsl/Geo/BoundingBox/GeoExecution.cs index a140eaa8b8..bbf9a01891 100644 --- a/src/OpenSearch.Client/QueryDsl/Geo/BoundingBox/GeoExecution.cs +++ b/src/OpenSearch.Client/QueryDsl/Geo/BoundingBox/GeoExecution.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Geo/Distance/GeoDistanceQuery.cs b/src/OpenSearch.Client/QueryDsl/Geo/Distance/GeoDistanceQuery.cs index 8d62315fe4..ff41ecaff5 100644 --- a/src/OpenSearch.Client/QueryDsl/Geo/Distance/GeoDistanceQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/Geo/Distance/GeoDistanceQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Geo/GeoCoordinateFormatter.cs b/src/OpenSearch.Client/QueryDsl/Geo/GeoCoordinateFormatter.cs index 5c7dc6cb81..8827417577 100644 --- a/src/OpenSearch.Client/QueryDsl/Geo/GeoCoordinateFormatter.cs +++ b/src/OpenSearch.Client/QueryDsl/Geo/GeoCoordinateFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Geo/GeoLocation.cs b/src/OpenSearch.Client/QueryDsl/Geo/GeoLocation.cs index e5bbc3751d..db691c4120 100644 --- a/src/OpenSearch.Client/QueryDsl/Geo/GeoLocation.cs +++ b/src/OpenSearch.Client/QueryDsl/Geo/GeoLocation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Geo/GeoLocationFormatter.cs b/src/OpenSearch.Client/QueryDsl/Geo/GeoLocationFormatter.cs index 3c50947b57..b85d45b5e8 100644 --- a/src/OpenSearch.Client/QueryDsl/Geo/GeoLocationFormatter.cs +++ b/src/OpenSearch.Client/QueryDsl/Geo/GeoLocationFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Geo/GeoValidationMethod.cs b/src/OpenSearch.Client/QueryDsl/Geo/GeoValidationMethod.cs index a49d91d7be..2eea4a001f 100644 --- a/src/OpenSearch.Client/QueryDsl/Geo/GeoValidationMethod.cs +++ b/src/OpenSearch.Client/QueryDsl/Geo/GeoValidationMethod.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Geo/LatLon.cs b/src/OpenSearch.Client/QueryDsl/Geo/LatLon.cs index 2307e42a65..aabb7bd9d5 100644 --- a/src/OpenSearch.Client/QueryDsl/Geo/LatLon.cs +++ b/src/OpenSearch.Client/QueryDsl/Geo/LatLon.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Geo/Polygon/GeoPolygonQuery.cs b/src/OpenSearch.Client/QueryDsl/Geo/Polygon/GeoPolygonQuery.cs index a9aed08621..6aa633ce07 100644 --- a/src/OpenSearch.Client/QueryDsl/Geo/Polygon/GeoPolygonQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/Geo/Polygon/GeoPolygonQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Geo/Shape/CircleGeoShape.cs b/src/OpenSearch.Client/QueryDsl/Geo/Shape/CircleGeoShape.cs index 199d5a7757..70a6778d57 100644 --- a/src/OpenSearch.Client/QueryDsl/Geo/Shape/CircleGeoShape.cs +++ b/src/OpenSearch.Client/QueryDsl/Geo/Shape/CircleGeoShape.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Geo/Shape/EnvelopeGeoShape.cs b/src/OpenSearch.Client/QueryDsl/Geo/Shape/EnvelopeGeoShape.cs index 244254c60e..3552b548f1 100644 --- a/src/OpenSearch.Client/QueryDsl/Geo/Shape/EnvelopeGeoShape.cs +++ b/src/OpenSearch.Client/QueryDsl/Geo/Shape/EnvelopeGeoShape.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Geo/Shape/GeoShapeBase.cs b/src/OpenSearch.Client/QueryDsl/Geo/Shape/GeoShapeBase.cs index 3d8ade96d5..ec9daeadd9 100644 --- a/src/OpenSearch.Client/QueryDsl/Geo/Shape/GeoShapeBase.cs +++ b/src/OpenSearch.Client/QueryDsl/Geo/Shape/GeoShapeBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Geo/Shape/GeoShapeQueryFormatter.cs b/src/OpenSearch.Client/QueryDsl/Geo/Shape/GeoShapeQueryFormatter.cs index 8da309d932..78530db7d7 100644 --- a/src/OpenSearch.Client/QueryDsl/Geo/Shape/GeoShapeQueryFormatter.cs +++ b/src/OpenSearch.Client/QueryDsl/Geo/Shape/GeoShapeQueryFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Geo/Shape/GeometryCollection.cs b/src/OpenSearch.Client/QueryDsl/Geo/Shape/GeometryCollection.cs index 6d5661f0f7..dc75766ac7 100644 --- a/src/OpenSearch.Client/QueryDsl/Geo/Shape/GeometryCollection.cs +++ b/src/OpenSearch.Client/QueryDsl/Geo/Shape/GeometryCollection.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Geo/Shape/IGeoShapeQuery.cs b/src/OpenSearch.Client/QueryDsl/Geo/Shape/IGeoShapeQuery.cs index 1108a28f96..5b3d1abf3b 100644 --- a/src/OpenSearch.Client/QueryDsl/Geo/Shape/IGeoShapeQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/Geo/Shape/IGeoShapeQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Geo/Shape/LineStringGeoShape.cs b/src/OpenSearch.Client/QueryDsl/Geo/Shape/LineStringGeoShape.cs index d53a1a8d9d..c3175c901d 100644 --- a/src/OpenSearch.Client/QueryDsl/Geo/Shape/LineStringGeoShape.cs +++ b/src/OpenSearch.Client/QueryDsl/Geo/Shape/LineStringGeoShape.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Geo/Shape/MultiLineStringGeoShape.cs b/src/OpenSearch.Client/QueryDsl/Geo/Shape/MultiLineStringGeoShape.cs index ec857c1459..3f3c54fe3f 100644 --- a/src/OpenSearch.Client/QueryDsl/Geo/Shape/MultiLineStringGeoShape.cs +++ b/src/OpenSearch.Client/QueryDsl/Geo/Shape/MultiLineStringGeoShape.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Geo/Shape/MultiPointGeoShape.cs b/src/OpenSearch.Client/QueryDsl/Geo/Shape/MultiPointGeoShape.cs index c591a3f04f..f366960e94 100644 --- a/src/OpenSearch.Client/QueryDsl/Geo/Shape/MultiPointGeoShape.cs +++ b/src/OpenSearch.Client/QueryDsl/Geo/Shape/MultiPointGeoShape.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Geo/Shape/MultiPolygonGeoShape.cs b/src/OpenSearch.Client/QueryDsl/Geo/Shape/MultiPolygonGeoShape.cs index 80d8a415a4..65dfad843a 100644 --- a/src/OpenSearch.Client/QueryDsl/Geo/Shape/MultiPolygonGeoShape.cs +++ b/src/OpenSearch.Client/QueryDsl/Geo/Shape/MultiPolygonGeoShape.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Geo/Shape/PointGeoShape.cs b/src/OpenSearch.Client/QueryDsl/Geo/Shape/PointGeoShape.cs index 404ad8f956..8d06e59435 100644 --- a/src/OpenSearch.Client/QueryDsl/Geo/Shape/PointGeoShape.cs +++ b/src/OpenSearch.Client/QueryDsl/Geo/Shape/PointGeoShape.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Geo/Shape/PolygonGeoShape.cs b/src/OpenSearch.Client/QueryDsl/Geo/Shape/PolygonGeoShape.cs index f850b595f5..e6d663bc3c 100644 --- a/src/OpenSearch.Client/QueryDsl/Geo/Shape/PolygonGeoShape.cs +++ b/src/OpenSearch.Client/QueryDsl/Geo/Shape/PolygonGeoShape.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Geo/WKT/GeoWKTException.cs b/src/OpenSearch.Client/QueryDsl/Geo/WKT/GeoWKTException.cs index 0a11d3805b..ed2b3275fc 100644 --- a/src/OpenSearch.Client/QueryDsl/Geo/WKT/GeoWKTException.cs +++ b/src/OpenSearch.Client/QueryDsl/Geo/WKT/GeoWKTException.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Geo/WKT/GeoWKTReader.cs b/src/OpenSearch.Client/QueryDsl/Geo/WKT/GeoWKTReader.cs index 66d1b37d2f..f6e47c2a85 100644 --- a/src/OpenSearch.Client/QueryDsl/Geo/WKT/GeoWKTReader.cs +++ b/src/OpenSearch.Client/QueryDsl/Geo/WKT/GeoWKTReader.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Geo/WKT/GeoWKTWriter.cs b/src/OpenSearch.Client/QueryDsl/Geo/WKT/GeoWKTWriter.cs index 40e94bb014..724e6dff62 100644 --- a/src/OpenSearch.Client/QueryDsl/Geo/WKT/GeoWKTWriter.cs +++ b/src/OpenSearch.Client/QueryDsl/Geo/WKT/GeoWKTWriter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Joining/HasChild/ChildScoreMode.cs b/src/OpenSearch.Client/QueryDsl/Joining/HasChild/ChildScoreMode.cs index b8d62e19ad..229d9fd36d 100644 --- a/src/OpenSearch.Client/QueryDsl/Joining/HasChild/ChildScoreMode.cs +++ b/src/OpenSearch.Client/QueryDsl/Joining/HasChild/ChildScoreMode.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Joining/HasChild/HasChildQuery.cs b/src/OpenSearch.Client/QueryDsl/Joining/HasChild/HasChildQuery.cs index dd6652aa13..851cf8f022 100644 --- a/src/OpenSearch.Client/QueryDsl/Joining/HasChild/HasChildQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/Joining/HasChild/HasChildQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Joining/HasParent/HasParentQuery.cs b/src/OpenSearch.Client/QueryDsl/Joining/HasParent/HasParentQuery.cs index 722c28cd77..6c7186f4c9 100644 --- a/src/OpenSearch.Client/QueryDsl/Joining/HasParent/HasParentQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/Joining/HasParent/HasParentQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Joining/Nested/NestedQuery.cs b/src/OpenSearch.Client/QueryDsl/Joining/Nested/NestedQuery.cs index d85013d002..ff4a6303ca 100644 --- a/src/OpenSearch.Client/QueryDsl/Joining/Nested/NestedQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/Joining/Nested/NestedQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Joining/Nested/NestedScoreMode.cs b/src/OpenSearch.Client/QueryDsl/Joining/Nested/NestedScoreMode.cs index eb4f94c929..03afff2538 100644 --- a/src/OpenSearch.Client/QueryDsl/Joining/Nested/NestedScoreMode.cs +++ b/src/OpenSearch.Client/QueryDsl/Joining/Nested/NestedScoreMode.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Joining/ParentId/ParentIdQuery.cs b/src/OpenSearch.Client/QueryDsl/Joining/ParentId/ParentIdQuery.cs index dcddc6948e..6a1dd4fa55 100644 --- a/src/OpenSearch.Client/QueryDsl/Joining/ParentId/ParentIdQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/Joining/ParentId/ParentIdQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/MatchAllQuery.cs b/src/OpenSearch.Client/QueryDsl/MatchAllQuery.cs index 9e1ff98479..52c87c8db1 100644 --- a/src/OpenSearch.Client/QueryDsl/MatchAllQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/MatchAllQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/MatchNoneQuery.cs b/src/OpenSearch.Client/QueryDsl/MatchNoneQuery.cs index caadc99f03..b614b3f704 100644 --- a/src/OpenSearch.Client/QueryDsl/MatchNoneQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/MatchNoneQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/MultiTermQueryRewrite/MultiTermQueryRewriteFormatter.cs b/src/OpenSearch.Client/QueryDsl/MultiTermQueryRewrite/MultiTermQueryRewriteFormatter.cs index af5539417a..63e05460cf 100644 --- a/src/OpenSearch.Client/QueryDsl/MultiTermQueryRewrite/MultiTermQueryRewriteFormatter.cs +++ b/src/OpenSearch.Client/QueryDsl/MultiTermQueryRewrite/MultiTermQueryRewriteFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/MultiTermQueryRewrite/RewriteMultiTerm.cs b/src/OpenSearch.Client/QueryDsl/MultiTermQueryRewrite/RewriteMultiTerm.cs index 2360fda689..61b5808ecb 100644 --- a/src/OpenSearch.Client/QueryDsl/MultiTermQueryRewrite/RewriteMultiTerm.cs +++ b/src/OpenSearch.Client/QueryDsl/MultiTermQueryRewrite/RewriteMultiTerm.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Operator.cs b/src/OpenSearch.Client/QueryDsl/Operator.cs index 13b835332f..288fe707ab 100644 --- a/src/OpenSearch.Client/QueryDsl/Operator.cs +++ b/src/OpenSearch.Client/QueryDsl/Operator.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/OscSpecific/ConditionlessQuery.cs b/src/OpenSearch.Client/QueryDsl/OscSpecific/ConditionlessQuery.cs index 19215d2d5f..a4ddab58b6 100644 --- a/src/OpenSearch.Client/QueryDsl/OscSpecific/ConditionlessQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/OscSpecific/ConditionlessQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/OscSpecific/RawQuery.cs b/src/OpenSearch.Client/QueryDsl/OscSpecific/RawQuery.cs index b152eca77f..3dca8ec412 100644 --- a/src/OpenSearch.Client/QueryDsl/OscSpecific/RawQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/OscSpecific/RawQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Query.cs b/src/OpenSearch.Client/QueryDsl/Query.cs index 5a4d92ed6a..2572529356 100644 --- a/src/OpenSearch.Client/QueryDsl/Query.cs +++ b/src/OpenSearch.Client/QueryDsl/Query.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Span/Containing/SpanContainingQuery.cs b/src/OpenSearch.Client/QueryDsl/Span/Containing/SpanContainingQuery.cs index c85c0a2b99..6be96e4a18 100644 --- a/src/OpenSearch.Client/QueryDsl/Span/Containing/SpanContainingQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/Span/Containing/SpanContainingQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Span/FieldMasking/SpanFieldMaskingQuery.cs b/src/OpenSearch.Client/QueryDsl/Span/FieldMasking/SpanFieldMaskingQuery.cs index 49436d470e..a9b1bf0bd6 100644 --- a/src/OpenSearch.Client/QueryDsl/Span/FieldMasking/SpanFieldMaskingQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/Span/FieldMasking/SpanFieldMaskingQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Span/First/SpanFirstQuery.cs b/src/OpenSearch.Client/QueryDsl/Span/First/SpanFirstQuery.cs index 45ea8c7e1f..aceb58ada5 100644 --- a/src/OpenSearch.Client/QueryDsl/Span/First/SpanFirstQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/Span/First/SpanFirstQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Span/Gap/SpanGapQuery.cs b/src/OpenSearch.Client/QueryDsl/Span/Gap/SpanGapQuery.cs index 39ff52aaba..4fb8b43250 100644 --- a/src/OpenSearch.Client/QueryDsl/Span/Gap/SpanGapQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/Span/Gap/SpanGapQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Span/ISpanSubQuery.cs b/src/OpenSearch.Client/QueryDsl/Span/ISpanSubQuery.cs index 2ce91b3202..8f3714fa0e 100644 --- a/src/OpenSearch.Client/QueryDsl/Span/ISpanSubQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/Span/ISpanSubQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Span/MultiTerm/SpanMultiTermQuery.cs b/src/OpenSearch.Client/QueryDsl/Span/MultiTerm/SpanMultiTermQuery.cs index ee1ef76741..c2fc436047 100644 --- a/src/OpenSearch.Client/QueryDsl/Span/MultiTerm/SpanMultiTermQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/Span/MultiTerm/SpanMultiTermQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Span/Near/SpanNearQuery.cs b/src/OpenSearch.Client/QueryDsl/Span/Near/SpanNearQuery.cs index e2990a36ce..009685142f 100644 --- a/src/OpenSearch.Client/QueryDsl/Span/Near/SpanNearQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/Span/Near/SpanNearQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Span/Not/SpanNotQuery.cs b/src/OpenSearch.Client/QueryDsl/Span/Not/SpanNotQuery.cs index 4b47d40ab4..6fd2e9d854 100644 --- a/src/OpenSearch.Client/QueryDsl/Span/Not/SpanNotQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/Span/Not/SpanNotQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Span/Or/SpanOrQuery.cs b/src/OpenSearch.Client/QueryDsl/Span/Or/SpanOrQuery.cs index 02f21f4b27..cf746fca21 100644 --- a/src/OpenSearch.Client/QueryDsl/Span/Or/SpanOrQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/Span/Or/SpanOrQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Span/SpanQuery.cs b/src/OpenSearch.Client/QueryDsl/Span/SpanQuery.cs index de89f4ffe7..cb5f58cd2d 100644 --- a/src/OpenSearch.Client/QueryDsl/Span/SpanQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/Span/SpanQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Span/Term/SpanTermQuery.cs b/src/OpenSearch.Client/QueryDsl/Span/Term/SpanTermQuery.cs index 687fdebaf6..2f2ad96be3 100644 --- a/src/OpenSearch.Client/QueryDsl/Span/Term/SpanTermQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/Span/Term/SpanTermQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Span/Within/SpanWithinQuery.cs b/src/OpenSearch.Client/QueryDsl/Span/Within/SpanWithinQuery.cs index 0a79715f39..daf9e0c63a 100644 --- a/src/OpenSearch.Client/QueryDsl/Span/Within/SpanWithinQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/Span/Within/SpanWithinQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Specialized/DistanceFeature/DistanceFeatureQuery.cs b/src/OpenSearch.Client/QueryDsl/Specialized/DistanceFeature/DistanceFeatureQuery.cs index b525184c94..3f144cc2ce 100644 --- a/src/OpenSearch.Client/QueryDsl/Specialized/DistanceFeature/DistanceFeatureQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/Specialized/DistanceFeature/DistanceFeatureQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Specialized/MoreLikeThis/Like/Like.cs b/src/OpenSearch.Client/QueryDsl/Specialized/MoreLikeThis/Like/Like.cs index 5feecee2ad..00b1ac0d1d 100644 --- a/src/OpenSearch.Client/QueryDsl/Specialized/MoreLikeThis/Like/Like.cs +++ b/src/OpenSearch.Client/QueryDsl/Specialized/MoreLikeThis/Like/Like.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Specialized/MoreLikeThis/Like/LikeDocument.cs b/src/OpenSearch.Client/QueryDsl/Specialized/MoreLikeThis/Like/LikeDocument.cs index 3f93336407..52a83151da 100644 --- a/src/OpenSearch.Client/QueryDsl/Specialized/MoreLikeThis/Like/LikeDocument.cs +++ b/src/OpenSearch.Client/QueryDsl/Specialized/MoreLikeThis/Like/LikeDocument.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Specialized/MoreLikeThis/MoreLikeThisQuery.cs b/src/OpenSearch.Client/QueryDsl/Specialized/MoreLikeThis/MoreLikeThisQuery.cs index 7caf91f9e3..b3806f814c 100644 --- a/src/OpenSearch.Client/QueryDsl/Specialized/MoreLikeThis/MoreLikeThisQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/Specialized/MoreLikeThis/MoreLikeThisQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Specialized/Percolate/PercolateQuery.cs b/src/OpenSearch.Client/QueryDsl/Specialized/Percolate/PercolateQuery.cs index 8db18ac6b9..ae108a5631 100644 --- a/src/OpenSearch.Client/QueryDsl/Specialized/Percolate/PercolateQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/Specialized/Percolate/PercolateQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Specialized/RankFeature/RankFeatureQuery.cs b/src/OpenSearch.Client/QueryDsl/Specialized/RankFeature/RankFeatureQuery.cs index 29cce61992..e2cce88fa1 100644 --- a/src/OpenSearch.Client/QueryDsl/Specialized/RankFeature/RankFeatureQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/Specialized/RankFeature/RankFeatureQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Specialized/Script/ScriptQuery.cs b/src/OpenSearch.Client/QueryDsl/Specialized/Script/ScriptQuery.cs index f68c8aef30..17da93ec7e 100644 --- a/src/OpenSearch.Client/QueryDsl/Specialized/Script/ScriptQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/Specialized/Script/ScriptQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Specialized/ScriptScore/ScriptScoreQuery.cs b/src/OpenSearch.Client/QueryDsl/Specialized/ScriptScore/ScriptScoreQuery.cs index b58187abbc..b3a852de42 100644 --- a/src/OpenSearch.Client/QueryDsl/Specialized/ScriptScore/ScriptScoreQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/Specialized/ScriptScore/ScriptScoreQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Specialized/Shape/CartesianPoint.cs b/src/OpenSearch.Client/QueryDsl/Specialized/Shape/CartesianPoint.cs index 4c24b48772..763c77c11f 100644 --- a/src/OpenSearch.Client/QueryDsl/Specialized/Shape/CartesianPoint.cs +++ b/src/OpenSearch.Client/QueryDsl/Specialized/Shape/CartesianPoint.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Specialized/Shape/IShapeQuery.cs b/src/OpenSearch.Client/QueryDsl/Specialized/Shape/IShapeQuery.cs index f9243a1897..783561dd2f 100644 --- a/src/OpenSearch.Client/QueryDsl/Specialized/Shape/IShapeQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/Specialized/Shape/IShapeQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Specialized/Shape/ShapeQueryFormatter.cs b/src/OpenSearch.Client/QueryDsl/Specialized/Shape/ShapeQueryFormatter.cs index 16ec173b2d..90c2ffdc73 100644 --- a/src/OpenSearch.Client/QueryDsl/Specialized/Shape/ShapeQueryFormatter.cs +++ b/src/OpenSearch.Client/QueryDsl/Specialized/Shape/ShapeQueryFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/TermLevel/Exists/ExistsQuery.cs b/src/OpenSearch.Client/QueryDsl/TermLevel/Exists/ExistsQuery.cs index 87022adc65..b2bcc85c02 100644 --- a/src/OpenSearch.Client/QueryDsl/TermLevel/Exists/ExistsQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/TermLevel/Exists/ExistsQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/TermLevel/Fuzzy/FuzzyQueries.cs b/src/OpenSearch.Client/QueryDsl/TermLevel/Fuzzy/FuzzyQueries.cs index 1ad412eb63..008ef8c43d 100644 --- a/src/OpenSearch.Client/QueryDsl/TermLevel/Fuzzy/FuzzyQueries.cs +++ b/src/OpenSearch.Client/QueryDsl/TermLevel/Fuzzy/FuzzyQueries.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/TermLevel/Fuzzy/FuzzyQueryBase.cs b/src/OpenSearch.Client/QueryDsl/TermLevel/Fuzzy/FuzzyQueryBase.cs index 88a89fe66c..4568b11ebf 100644 --- a/src/OpenSearch.Client/QueryDsl/TermLevel/Fuzzy/FuzzyQueryBase.cs +++ b/src/OpenSearch.Client/QueryDsl/TermLevel/Fuzzy/FuzzyQueryBase.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/TermLevel/Fuzzy/FuzzyQueryFormatter.cs b/src/OpenSearch.Client/QueryDsl/TermLevel/Fuzzy/FuzzyQueryFormatter.cs index 93029a0c12..7b9dc80b53 100644 --- a/src/OpenSearch.Client/QueryDsl/TermLevel/Fuzzy/FuzzyQueryFormatter.cs +++ b/src/OpenSearch.Client/QueryDsl/TermLevel/Fuzzy/FuzzyQueryFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/TermLevel/Ids/IdsQuery.cs b/src/OpenSearch.Client/QueryDsl/TermLevel/Ids/IdsQuery.cs index 4f4542aa3f..1e8ff4e08b 100644 --- a/src/OpenSearch.Client/QueryDsl/TermLevel/Ids/IdsQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/TermLevel/Ids/IdsQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/TermLevel/Prefix/PrefixQuery.cs b/src/OpenSearch.Client/QueryDsl/TermLevel/Prefix/PrefixQuery.cs index e0a5f903e6..9d31964a9e 100644 --- a/src/OpenSearch.Client/QueryDsl/TermLevel/Prefix/PrefixQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/TermLevel/Prefix/PrefixQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/TermLevel/Range/DateRangeQuery.cs b/src/OpenSearch.Client/QueryDsl/TermLevel/Range/DateRangeQuery.cs index 2e10ff3e76..9fb6b9c834 100644 --- a/src/OpenSearch.Client/QueryDsl/TermLevel/Range/DateRangeQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/TermLevel/Range/DateRangeQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/TermLevel/Range/LongRangeQuery.cs b/src/OpenSearch.Client/QueryDsl/TermLevel/Range/LongRangeQuery.cs index a66860bbc3..9e9503db2f 100644 --- a/src/OpenSearch.Client/QueryDsl/TermLevel/Range/LongRangeQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/TermLevel/Range/LongRangeQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/TermLevel/Range/NumericRangeQuery.cs b/src/OpenSearch.Client/QueryDsl/TermLevel/Range/NumericRangeQuery.cs index faf1f775d7..13781079f0 100644 --- a/src/OpenSearch.Client/QueryDsl/TermLevel/Range/NumericRangeQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/TermLevel/Range/NumericRangeQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/TermLevel/Range/RangeQuery.cs b/src/OpenSearch.Client/QueryDsl/TermLevel/Range/RangeQuery.cs index cb0379f17a..4d48d52a3c 100644 --- a/src/OpenSearch.Client/QueryDsl/TermLevel/Range/RangeQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/TermLevel/Range/RangeQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/TermLevel/Range/RangeQueryFormatter.cs b/src/OpenSearch.Client/QueryDsl/TermLevel/Range/RangeQueryFormatter.cs index 448ecf6ebb..cb4d8a51d3 100644 --- a/src/OpenSearch.Client/QueryDsl/TermLevel/Range/RangeQueryFormatter.cs +++ b/src/OpenSearch.Client/QueryDsl/TermLevel/Range/RangeQueryFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/TermLevel/Range/RangeRelation.cs b/src/OpenSearch.Client/QueryDsl/TermLevel/Range/RangeRelation.cs index f0173c1cc8..35f32bdf5a 100644 --- a/src/OpenSearch.Client/QueryDsl/TermLevel/Range/RangeRelation.cs +++ b/src/OpenSearch.Client/QueryDsl/TermLevel/Range/RangeRelation.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/TermLevel/Range/TermRangeQuery.cs b/src/OpenSearch.Client/QueryDsl/TermLevel/Range/TermRangeQuery.cs index 7ffb072b83..58def7e28b 100644 --- a/src/OpenSearch.Client/QueryDsl/TermLevel/Range/TermRangeQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/TermLevel/Range/TermRangeQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/TermLevel/Regexp/RegexpQuery.cs b/src/OpenSearch.Client/QueryDsl/TermLevel/Regexp/RegexpQuery.cs index 1a1034302d..d03e09aa3b 100644 --- a/src/OpenSearch.Client/QueryDsl/TermLevel/Regexp/RegexpQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/TermLevel/Regexp/RegexpQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/TermLevel/Term/TermQuery.cs b/src/OpenSearch.Client/QueryDsl/TermLevel/Term/TermQuery.cs index c19b783260..46c636fd3e 100644 --- a/src/OpenSearch.Client/QueryDsl/TermLevel/Term/TermQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/TermLevel/Term/TermQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/TermLevel/Terms/TermsQuery.cs b/src/OpenSearch.Client/QueryDsl/TermLevel/Terms/TermsQuery.cs index 6137cbadaf..39befccb5f 100644 --- a/src/OpenSearch.Client/QueryDsl/TermLevel/Terms/TermsQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/TermLevel/Terms/TermsQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/TermLevel/Terms/TermsQueryFormatter.cs b/src/OpenSearch.Client/QueryDsl/TermLevel/Terms/TermsQueryFormatter.cs index 81833f927f..d4c177aa20 100644 --- a/src/OpenSearch.Client/QueryDsl/TermLevel/Terms/TermsQueryFormatter.cs +++ b/src/OpenSearch.Client/QueryDsl/TermLevel/Terms/TermsQueryFormatter.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/TermLevel/TermsSet/TermsSetQuery.cs b/src/OpenSearch.Client/QueryDsl/TermLevel/TermsSet/TermsSetQuery.cs index 3086c4409b..8fdacde75c 100644 --- a/src/OpenSearch.Client/QueryDsl/TermLevel/TermsSet/TermsSetQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/TermLevel/TermsSet/TermsSetQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/TermLevel/Wildcard/WildcardQuery.cs b/src/OpenSearch.Client/QueryDsl/TermLevel/Wildcard/WildcardQuery.cs index b7522a585f..9d7432e37e 100644 --- a/src/OpenSearch.Client/QueryDsl/TermLevel/Wildcard/WildcardQuery.cs +++ b/src/OpenSearch.Client/QueryDsl/TermLevel/Wildcard/WildcardQuery.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Visitor/DslPrettyPrintVisitor.cs b/src/OpenSearch.Client/QueryDsl/Visitor/DslPrettyPrintVisitor.cs index c3d401bcd4..c33825d727 100644 --- a/src/OpenSearch.Client/QueryDsl/Visitor/DslPrettyPrintVisitor.cs +++ b/src/OpenSearch.Client/QueryDsl/Visitor/DslPrettyPrintVisitor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Visitor/QueryVisitor.cs b/src/OpenSearch.Client/QueryDsl/Visitor/QueryVisitor.cs index 9c0069b2e0..056187bd0e 100644 --- a/src/OpenSearch.Client/QueryDsl/Visitor/QueryVisitor.cs +++ b/src/OpenSearch.Client/QueryDsl/Visitor/QueryVisitor.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Visitor/QueryWalker.cs b/src/OpenSearch.Client/QueryDsl/Visitor/QueryWalker.cs index ce7a672688..6d2e255153 100644 --- a/src/OpenSearch.Client/QueryDsl/Visitor/QueryWalker.cs +++ b/src/OpenSearch.Client/QueryDsl/Visitor/QueryWalker.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/QueryDsl/Visitor/VisitorScope.cs b/src/OpenSearch.Client/QueryDsl/Visitor/VisitorScope.cs index cda42bb15c..21c561e5fc 100644 --- a/src/OpenSearch.Client/QueryDsl/Visitor/VisitorScope.cs +++ b/src/OpenSearch.Client/QueryDsl/Visitor/VisitorScope.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * diff --git a/src/OpenSearch.Client/README.md b/src/OpenSearch.Client/README.md new file mode 100644 index 0000000000..384d0ad630 --- /dev/null +++ b/src/OpenSearch.Client/README.md @@ -0,0 +1,3 @@ +`OpenSearch.Client` is a high level OpenSearch .NET client that maps closely to the original OpenSearch API. All requests and responses are exposed through types, making it easy for users to get up and running quickly. + +Under the covers, `OpenSearch.Client` uses the `OpenSearch.Net` low level client to dispatch requests and responses, using and extending many of the types within `OpenSearch.Net`. The low level client is exposed on the high level client through the `.LowLevel` property. diff --git a/src/OpenSearch.Client/Requests.Cat.cs b/src/OpenSearch.Client/Requests.Cat.cs index 902b6f09f1..77d8241f9e 100644 --- a/src/OpenSearch.Client/Requests.Cat.cs +++ b/src/OpenSearch.Client/Requests.Cat.cs @@ -3,7 +3,8 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. -* +*/ +/* * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * @@ -119,7 +120,7 @@ public bool? Help set => Q("help", value); } - ///Return local information, do not retrieve the state from master node (default: false) + ///Return local information, do not retrieve the state from cluster_manager node (default: false) public bool? Local { get => Q("local"); @@ -203,7 +204,7 @@ public bool? Help set => Q("help", value); } - ///Return local information, do not retrieve the state from master node (default: false) + ///Return local information, do not retrieve the state from cluster_manager node (default: false) public bool? Local { get => Q("local"); @@ -211,12 +212,21 @@ public bool? Local } ///Explicit operation timeout for connection to master node + ///Deprecated as of OpenSearch 2.0, use instead public Time MasterTimeout { get => Q + ///Request for Master https://opensearch.org/docs/1.2/opensearch/rest-api/cat/cat-master/ + ///Deprecated as of OpenSearch 2.0, use instead public partial class CatMasterRequest : PlainRequestBase, ICatMasterRequest { protected ICatMasterRequest Self => this; @@ -621,7 +641,7 @@ public bool? Help set => Q("help", value); } - ///Return local information, do not retrieve the state from master node (default: false) + ///Return local information, do not retrieve the state from cluster_manager node (default: false) public bool? Local { get => Q("local"); @@ -650,6 +670,73 @@ public bool? Verbose } } + [InterfaceDataContract] + public partial interface ICatClusterManagerRequest : IRequest + { + } + + ///Request for ClusterManager https://opensearch.org/docs/1.2/opensearch/rest-api/cat/cat-master/ + ///Introduced in OpenSearch 2.0 instead of + public partial class CatClusterManagerRequest : PlainRequestBase, ICatClusterManagerRequest + { + protected ICatClusterManagerRequest Self => this; + internal override ApiUrls ApiUrls => ApiUrlsLookups.CatClusterManager; + // values part of the url path + // Request parameters + ///a short version of the Accept header, e.g. json, yaml + public string Format + { + get => Q("format"); + set + { + Q("format", value); + SetAcceptHeader(value); + } + } + + ///Comma-separated list of column names to display + public string[] Headers + { + get => Q("h"); + set => Q("h", value); + } + + ///Return help information + public bool? Help + { + get => Q("help"); + set => Q("help", value); + } + + ///Return local information, do not retrieve the state from cluster_manager node (default: false) + public bool? Local + { + get => Q("local"); + set => Q("local", value); + } + + ///Explicit operation timeout for connection to cluster_manager node + public Time ClusterManagerTimeout + { + get => Q