diff --git a/.gitignore b/.gitignore index b8638f2e72..1735736604 100644 --- a/.gitignore +++ b/.gitignore @@ -22,4 +22,6 @@ gradle-app.setting .ci/output java-client/bin -samples/bin \ No newline at end of file +samples/bin + +.DS_Store \ No newline at end of file diff --git a/LICENSE_HEADER.txt b/LICENSE_HEADER.txt new file mode 100644 index 0000000000..8cb92cc7de --- /dev/null +++ b/LICENSE_HEADER.txt @@ -0,0 +1,8 @@ +/* + * 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. + */ + diff --git a/LICENSE_HEADER_FORKED.txt b/LICENSE_HEADER_FORKED.txt new file mode 100644 index 0000000000..a3fede305d --- /dev/null +++ b/LICENSE_HEADER_FORKED.txt @@ -0,0 +1,32 @@ +/* + * 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. + */ + +/* + * 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. + */ + +/* + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + diff --git a/java-client/build.gradle.kts b/java-client/build.gradle.kts index 02003729ca..9818508320 100644 --- a/java-client/build.gradle.kts +++ b/java-client/build.gradle.kts @@ -286,19 +286,28 @@ tasks.withType { } spotless { - java { + java { + target("**/*.java") - target("**/*.java") + licenseHeaderFile("../LICENSE_HEADER.txt") + .named("PrimaryLicenseHeader") + .onlyIfContentMatches("^((?!Licensed to Elasticsearch)[\\s\\S])*$") + .delimiter("(package |//-----)") - // Use the default importOrder configuration - importOrder() - removeUnusedImports() + licenseHeaderFile("../LICENSE_HEADER_FORKED.txt") + .named("ForkedLicenseHeader") + .onlyIfContentMatches("Licensed to Elasticsearch") + .delimiter("(package |//-----)") - eclipse().configFile("../buildSrc/formatterConfig.xml") + // Use the default importOrder configuration + importOrder() + removeUnusedImports() - trimTrailingWhitespace() - endWithNewline() - } + eclipse().configFile("../buildSrc/formatterConfig.xml") + + trimTrailingWhitespace() + endWithNewline() + } } publishing { diff --git a/java-client/src/main/java/org/opensearch/client/opensearch/_types/aggregations/CompositeValuesSource.java b/java-client/src/main/java/org/opensearch/client/opensearch/_types/aggregations/CompositeValuesSource.java index efd973b1cb..29d5b8e4ad 100644 --- a/java-client/src/main/java/org/opensearch/client/opensearch/_types/aggregations/CompositeValuesSource.java +++ b/java-client/src/main/java/org/opensearch/client/opensearch/_types/aggregations/CompositeValuesSource.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.aggregations; import jakarta.json.stream.JsonGenerator; diff --git a/java-client/src/main/java/org/opensearch/client/opensearch/_types/analysis/CjkAnalyzer.java b/java-client/src/main/java/org/opensearch/client/opensearch/_types/analysis/CjkAnalyzer.java index d653cbdfea..90ba5bf0b9 100644 --- a/java-client/src/main/java/org/opensearch/client/opensearch/_types/analysis/CjkAnalyzer.java +++ b/java-client/src/main/java/org/opensearch/client/opensearch/_types/analysis/CjkAnalyzer.java @@ -6,11 +6,6 @@ * compatible open source license. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - package org.opensearch.client.opensearch._types.analysis; import jakarta.json.stream.JsonGenerator; diff --git a/java-client/src/main/java/org/opensearch/client/opensearch/_types/analysis/SmartcnAnalyzer.java b/java-client/src/main/java/org/opensearch/client/opensearch/_types/analysis/SmartcnAnalyzer.java index 985ab8d8b3..9f782f37b6 100644 --- a/java-client/src/main/java/org/opensearch/client/opensearch/_types/analysis/SmartcnAnalyzer.java +++ b/java-client/src/main/java/org/opensearch/client/opensearch/_types/analysis/SmartcnAnalyzer.java @@ -6,11 +6,6 @@ * compatible open source license. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - package org.opensearch.client.opensearch._types.analysis; import jakarta.json.stream.JsonGenerator; diff --git a/java-client/src/main/java/org/opensearch/client/opensearch/_types/analysis/SmartcnStopTokenFilter.java b/java-client/src/main/java/org/opensearch/client/opensearch/_types/analysis/SmartcnStopTokenFilter.java index 9b42cd186d..07bd9860d2 100644 --- a/java-client/src/main/java/org/opensearch/client/opensearch/_types/analysis/SmartcnStopTokenFilter.java +++ b/java-client/src/main/java/org/opensearch/client/opensearch/_types/analysis/SmartcnStopTokenFilter.java @@ -6,11 +6,6 @@ * compatible open source license. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - package org.opensearch.client.opensearch._types.analysis; import jakarta.json.stream.JsonGenerator; diff --git a/java-client/src/main/java/org/opensearch/client/opensearch/_types/analysis/SmartcnTokenizer.java b/java-client/src/main/java/org/opensearch/client/opensearch/_types/analysis/SmartcnTokenizer.java index 3ab04702e0..cf29373af0 100644 --- a/java-client/src/main/java/org/opensearch/client/opensearch/_types/analysis/SmartcnTokenizer.java +++ b/java-client/src/main/java/org/opensearch/client/opensearch/_types/analysis/SmartcnTokenizer.java @@ -6,11 +6,6 @@ * compatible open source license. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - package org.opensearch.client.opensearch._types.analysis; import jakarta.json.stream.JsonGenerator; diff --git a/java-client/src/main/java/org/opensearch/client/opensearch/_types/query_dsl/HybridQuery.java b/java-client/src/main/java/org/opensearch/client/opensearch/_types/query_dsl/HybridQuery.java index d2448ff644..932cbb93d6 100644 --- a/java-client/src/main/java/org/opensearch/client/opensearch/_types/query_dsl/HybridQuery.java +++ b/java-client/src/main/java/org/opensearch/client/opensearch/_types/query_dsl/HybridQuery.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import jakarta.json.stream.JsonGenerator; diff --git a/java-client/src/main/java/org/opensearch/client/opensearch/core/bulk/UpdateOperation.java b/java-client/src/main/java/org/opensearch/client/opensearch/core/bulk/UpdateOperation.java index d268708f4c..9f0c10fe9a 100644 --- a/java-client/src/main/java/org/opensearch/client/opensearch/core/bulk/UpdateOperation.java +++ b/java-client/src/main/java/org/opensearch/client/opensearch/core/bulk/UpdateOperation.java @@ -15,7 +15,7 @@ * 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 + * 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 diff --git a/java-client/src/main/java/org/opensearch/client/opensearch/core/search/CompletionSuggest.java b/java-client/src/main/java/org/opensearch/client/opensearch/core/search/CompletionSuggest.java index 36451a7b41..94e0efd7ae 100644 --- a/java-client/src/main/java/org/opensearch/client/opensearch/core/search/CompletionSuggest.java +++ b/java-client/src/main/java/org/opensearch/client/opensearch/core/search/CompletionSuggest.java @@ -7,23 +7,23 @@ */ /* -* 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. -*/ + * 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. + */ /* * Modifications Copyright OpenSearch Contributors. See diff --git a/java-client/src/main/java/org/opensearch/client/opensearch/core/search/PhraseSuggest.java b/java-client/src/main/java/org/opensearch/client/opensearch/core/search/PhraseSuggest.java index d1fdddf136..2b9429f67d 100644 --- a/java-client/src/main/java/org/opensearch/client/opensearch/core/search/PhraseSuggest.java +++ b/java-client/src/main/java/org/opensearch/client/opensearch/core/search/PhraseSuggest.java @@ -7,23 +7,23 @@ */ /* -* 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. -*/ + * 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. + */ /* * Modifications Copyright OpenSearch Contributors. See diff --git a/java-client/src/main/java/org/opensearch/client/opensearch/core/search/SearchResult.java b/java-client/src/main/java/org/opensearch/client/opensearch/core/search/SearchResult.java index 9932ed817e..e90e2536d9 100644 --- a/java-client/src/main/java/org/opensearch/client/opensearch/core/search/SearchResult.java +++ b/java-client/src/main/java/org/opensearch/client/opensearch/core/search/SearchResult.java @@ -6,10 +6,6 @@ * compatible open source license. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ package org.opensearch.client.opensearch.core.search; import jakarta.json.stream.JsonGenerator; diff --git a/java-client/src/main/java/org/opensearch/client/opensearch/core/search/SuggestVariant.java b/java-client/src/main/java/org/opensearch/client/opensearch/core/search/SuggestVariant.java index 841a5c446b..579e3a3296 100644 --- a/java-client/src/main/java/org/opensearch/client/opensearch/core/search/SuggestVariant.java +++ b/java-client/src/main/java/org/opensearch/client/opensearch/core/search/SuggestVariant.java @@ -7,23 +7,23 @@ */ /* -* 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. -*/ + * 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. + */ /* * Modifications Copyright OpenSearch Contributors. See diff --git a/java-client/src/main/java/org/opensearch/client/opensearch/core/search/TermSuggest.java b/java-client/src/main/java/org/opensearch/client/opensearch/core/search/TermSuggest.java index 1327e44a8a..27df92fcad 100644 --- a/java-client/src/main/java/org/opensearch/client/opensearch/core/search/TermSuggest.java +++ b/java-client/src/main/java/org/opensearch/client/opensearch/core/search/TermSuggest.java @@ -7,23 +7,23 @@ */ /* -* 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. -*/ + * 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. + */ /* * Modifications Copyright OpenSearch Contributors. See diff --git a/java-client/src/main/java/org/opensearch/client/opensearch/generic/Requests.java b/java-client/src/main/java/org/opensearch/client/opensearch/generic/Requests.java index e9a39871ea..5da7cab73b 100644 --- a/java-client/src/main/java/org/opensearch/client/opensearch/generic/Requests.java +++ b/java-client/src/main/java/org/opensearch/client/opensearch/generic/Requests.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.generic; import jakarta.json.JsonObject; diff --git a/java-client/src/main/java/org/opensearch/client/opensearch/ingest/TextEmbeddingProcessor.java b/java-client/src/main/java/org/opensearch/client/opensearch/ingest/TextEmbeddingProcessor.java index 214500dbb5..09a114cdeb 100644 --- a/java-client/src/main/java/org/opensearch/client/opensearch/ingest/TextEmbeddingProcessor.java +++ b/java-client/src/main/java/org/opensearch/client/opensearch/ingest/TextEmbeddingProcessor.java @@ -6,11 +6,6 @@ * compatible open source license. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - package org.opensearch.client.opensearch.ingest; import jakarta.json.stream.JsonGenerator; diff --git a/java-client/src/main/java/org/opensearch/client/transport/httpclient5/DeadHostState.java b/java-client/src/main/java/org/opensearch/client/transport/httpclient5/DeadHostState.java index a09afde125..cc6d595a28 100644 --- a/java-client/src/main/java/org/opensearch/client/transport/httpclient5/DeadHostState.java +++ b/java-client/src/main/java/org/opensearch/client/transport/httpclient5/DeadHostState.java @@ -7,15 +7,15 @@ */ /* - * Licensed to Elasticsearch under one or more contributor + * 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 licenses this file to you under + * 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 + * 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 diff --git a/java-client/src/main/java/org/opensearch/client/transport/httpclient5/HttpAsyncResponseConsumerFactory.java b/java-client/src/main/java/org/opensearch/client/transport/httpclient5/HttpAsyncResponseConsumerFactory.java index 3bddfd48c3..6eb04b368b 100644 --- a/java-client/src/main/java/org/opensearch/client/transport/httpclient5/HttpAsyncResponseConsumerFactory.java +++ b/java-client/src/main/java/org/opensearch/client/transport/httpclient5/HttpAsyncResponseConsumerFactory.java @@ -7,15 +7,15 @@ */ /* - * Licensed to Elasticsearch under one or more contributor + * 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 licenses this file to you under + * 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 + * 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 diff --git a/java-client/src/main/java/org/opensearch/client/transport/httpclient5/Response.java b/java-client/src/main/java/org/opensearch/client/transport/httpclient5/Response.java index 66c3c1831b..c9b86f34a8 100644 --- a/java-client/src/main/java/org/opensearch/client/transport/httpclient5/Response.java +++ b/java-client/src/main/java/org/opensearch/client/transport/httpclient5/Response.java @@ -7,15 +7,15 @@ */ /* - * Licensed to Elasticsearch under one or more contributor + * 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 licenses this file to you under + * 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 + * 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 diff --git a/java-client/src/main/java/org/opensearch/client/transport/httpclient5/ResponseException.java b/java-client/src/main/java/org/opensearch/client/transport/httpclient5/ResponseException.java index 60850f8e2b..8cb7904901 100644 --- a/java-client/src/main/java/org/opensearch/client/transport/httpclient5/ResponseException.java +++ b/java-client/src/main/java/org/opensearch/client/transport/httpclient5/ResponseException.java @@ -7,15 +7,15 @@ */ /* - * Licensed to Elasticsearch under one or more contributor + * 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 licenses this file to you under + * 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 + * 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 diff --git a/java-client/src/main/java/org/opensearch/client/transport/httpclient5/WarningFailureException.java b/java-client/src/main/java/org/opensearch/client/transport/httpclient5/WarningFailureException.java index 8627fd9d0c..9a0ee16520 100644 --- a/java-client/src/main/java/org/opensearch/client/transport/httpclient5/WarningFailureException.java +++ b/java-client/src/main/java/org/opensearch/client/transport/httpclient5/WarningFailureException.java @@ -7,15 +7,15 @@ */ /* - * Licensed to Elasticsearch under one or more contributor + * 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 licenses this file to you under + * 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 + * 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 diff --git a/java-client/src/main/java/org/opensearch/client/transport/httpclient5/WarningsHandler.java b/java-client/src/main/java/org/opensearch/client/transport/httpclient5/WarningsHandler.java index 1a0b73d07d..00576124f9 100644 --- a/java-client/src/main/java/org/opensearch/client/transport/httpclient5/WarningsHandler.java +++ b/java-client/src/main/java/org/opensearch/client/transport/httpclient5/WarningsHandler.java @@ -7,15 +7,15 @@ */ /* - * Licensed to Elasticsearch under one or more contributor + * 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 licenses this file to you under + * 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 + * 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 diff --git a/java-client/src/main/java/org/opensearch/client/transport/httpclient5/internal/HeapBufferedAsyncEntityConsumer.java b/java-client/src/main/java/org/opensearch/client/transport/httpclient5/internal/HeapBufferedAsyncEntityConsumer.java index 07cb155dea..2a11701309 100644 --- a/java-client/src/main/java/org/opensearch/client/transport/httpclient5/internal/HeapBufferedAsyncEntityConsumer.java +++ b/java-client/src/main/java/org/opensearch/client/transport/httpclient5/internal/HeapBufferedAsyncEntityConsumer.java @@ -6,11 +6,6 @@ * compatible open source license. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - package org.opensearch.client.transport.httpclient5.internal; import java.io.IOException; diff --git a/java-client/src/main/java/org/opensearch/client/transport/httpclient5/internal/HeapBufferedAsyncResponseConsumer.java b/java-client/src/main/java/org/opensearch/client/transport/httpclient5/internal/HeapBufferedAsyncResponseConsumer.java index 2b26b1ed47..601ca8b2e8 100644 --- a/java-client/src/main/java/org/opensearch/client/transport/httpclient5/internal/HeapBufferedAsyncResponseConsumer.java +++ b/java-client/src/main/java/org/opensearch/client/transport/httpclient5/internal/HeapBufferedAsyncResponseConsumer.java @@ -7,15 +7,15 @@ */ /* - * Licensed to Elasticsearch under one or more contributor + * 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 licenses this file to you under + * 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 + * 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 diff --git a/java-client/src/main/java/org/opensearch/client/transport/httpclient5/internal/Node.java b/java-client/src/main/java/org/opensearch/client/transport/httpclient5/internal/Node.java index 7f0e7e8a26..b3ef483712 100644 --- a/java-client/src/main/java/org/opensearch/client/transport/httpclient5/internal/Node.java +++ b/java-client/src/main/java/org/opensearch/client/transport/httpclient5/internal/Node.java @@ -7,15 +7,15 @@ */ /* - * Licensed to Elasticsearch under one or more contributor + * 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 licenses this file to you under + * 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 + * 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 diff --git a/java-client/src/main/java/org/opensearch/client/transport/httpclient5/internal/NodeSelector.java b/java-client/src/main/java/org/opensearch/client/transport/httpclient5/internal/NodeSelector.java index eb11d8bb0b..2cd94efa1d 100644 --- a/java-client/src/main/java/org/opensearch/client/transport/httpclient5/internal/NodeSelector.java +++ b/java-client/src/main/java/org/opensearch/client/transport/httpclient5/internal/NodeSelector.java @@ -7,15 +7,15 @@ */ /* - * Licensed to Elasticsearch under one or more contributor + * 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 licenses this file to you under + * 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 + * 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 diff --git a/java-client/src/main/java/org/opensearch/client/util/PathEncoder.java b/java-client/src/main/java/org/opensearch/client/util/PathEncoder.java index f6b6f7af31..cf31b4dd98 100644 --- a/java-client/src/main/java/org/opensearch/client/util/PathEncoder.java +++ b/java-client/src/main/java/org/opensearch/client/util/PathEncoder.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.util; /* diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/QueryCacheStatsTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/QueryCacheStatsTest.java index 2dff4c0799..6ecf4c7cc4 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/QueryCacheStatsTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/QueryCacheStatsTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types; import static org.junit.Assert.assertEquals; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/SortOptionsTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/SortOptionsTest.java index ed2584b12c..c7bb05ac56 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/SortOptionsTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/SortOptionsTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types; import static org.junit.Assert.assertEquals; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/BoolQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/BoolQueryTest.java index d30dc30b31..73a96b5070 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/BoolQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/BoolQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/BoostringQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/BoostringQueryTest.java index 55c6b14544..3f954491b8 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/BoostringQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/BoostringQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/CombinedFieldsQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/CombinedFieldsQueryTest.java index 0f154c40c6..c6c20802de 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/CombinedFieldsQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/CombinedFieldsQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/CommonTermsQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/CommonTermsQueryTest.java index 86f7c0b8a7..dbea030213 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/CommonTermsQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/CommonTermsQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/DecayFunctionTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/DecayFunctionTest.java index 2a3d2ce3d4..fe20ca2101 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/DecayFunctionTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/DecayFunctionTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/DecayPlacementTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/DecayPlacementTest.java index 962a76db11..485fd2067d 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/DecayPlacementTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/DecayPlacementTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/DisMaxQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/DisMaxQueryTest.java index 24b6388462..176d72659e 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/DisMaxQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/DisMaxQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/DistanceFeatureQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/DistanceFeatureQueryTest.java index 04e6b0af33..5ae2543f68 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/DistanceFeatureQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/DistanceFeatureQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/ExistsQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/ExistsQueryTest.java index 10bc217bb8..cfc8520195 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/ExistsQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/ExistsQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/FieldAndFormatTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/FieldAndFormatTest.java index 60e025e80f..bf0cb4bf28 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/FieldAndFormatTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/FieldAndFormatTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/FieldLookupTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/FieldLookupTest.java index 3e3b4c8096..6b31c3854b 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/FieldLookupTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/FieldLookupTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/FieldValueFactorScoreFunctionTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/FieldValueFactorScoreFunctionTest.java index cff8d3fe58..db1deb1354 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/FieldValueFactorScoreFunctionTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/FieldValueFactorScoreFunctionTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/FunctionScoreQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/FunctionScoreQueryTest.java index af3ae114c5..941775653b 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/FunctionScoreQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/FunctionScoreQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/FuzzyQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/FuzzyQueryTest.java index 59be3fd116..c38396a979 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/FuzzyQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/FuzzyQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/GeoBoundingBoxQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/GeoBoundingBoxQueryTest.java index be0420ff76..8d79eddd86 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/GeoBoundingBoxQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/GeoBoundingBoxQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/GeoDistanceQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/GeoDistanceQueryTest.java index 289f5c75a8..9ad3cd36c5 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/GeoDistanceQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/GeoDistanceQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import java.util.Collections; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/GeoPolygonPointsTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/GeoPolygonPointsTest.java index 2b07f77787..bff21d622c 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/GeoPolygonPointsTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/GeoPolygonPointsTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/GeoShapeFieldQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/GeoShapeFieldQueryTest.java index f60cd91aa0..0f52e803ef 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/GeoShapeFieldQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/GeoShapeFieldQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/HasChildQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/HasChildQueryTest.java index f88f9881c4..2a68efe3fe 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/HasChildQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/HasChildQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/HasParentQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/HasParentQueryTest.java index 93afb418e8..0482dd4e9c 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/HasParentQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/HasParentQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/HybridQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/HybridQueryTest.java index a897faa9d9..d145ba58d7 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/HybridQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/HybridQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import java.util.Arrays; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IdsQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IdsQueryTest.java index 12f2697de1..e15a10085c 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IdsQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IdsQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsAllOfTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsAllOfTest.java index 3245382437..5c7a1f43b4 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsAllOfTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsAllOfTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsAnyOfTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsAnyOfTest.java index 8214e7274d..45c743873d 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsAnyOfTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsAnyOfTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsFilterTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsFilterTest.java index 3b51e96f7f..225df7d965 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsFilterTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsFilterTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsFuzzyTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsFuzzyTest.java index 9a68139a2c..fd0b1c7c3f 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsFuzzyTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsFuzzyTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsMatchTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsMatchTest.java index ac42989c2e..94ce249d17 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsMatchTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsMatchTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsPrefixTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsPrefixTest.java index 251302ba24..200eb64098 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsPrefixTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsPrefixTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsQueryTest.java index a467b9c665..fa161a5fe6 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsTest.java index c2bda0b440..621d41b141 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsWildcardTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsWildcardTest.java index b24a16f21f..3042a98708 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsWildcardTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/IntervalsWildcardTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/KnnQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/KnnQueryTest.java index df036f42c1..a8a3fd779b 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/KnnQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/KnnQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/LikeDocumentTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/LikeDocumentTest.java index dd610c1bcd..647327134e 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/LikeDocumentTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/LikeDocumentTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/LikeTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/LikeTest.java index 7197d16d59..4053a79e91 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/LikeTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/LikeTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/MatchBoolPrefixQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/MatchBoolPrefixQueryTest.java index 06bde14854..59b0e79e87 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/MatchBoolPrefixQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/MatchBoolPrefixQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/MatchPhrasePrefixQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/MatchPhrasePrefixQueryTest.java index 83e6a70215..0f5320008f 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/MatchPhrasePrefixQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/MatchPhrasePrefixQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/MatchPhraseQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/MatchPhraseQueryTest.java index 1583dc7cc5..5032f7a6ef 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/MatchPhraseQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/MatchPhraseQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/MatchQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/MatchQueryTest.java index 95f97f9332..c0aa2f49f1 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/MatchQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/MatchQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/MoreLikeThisQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/MoreLikeThisQueryTest.java index 52c173ac35..4e4d9a71d1 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/MoreLikeThisQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/MoreLikeThisQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/MultiMatchQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/MultiMatchQueryTest.java index 3d73e694e0..5cbefc510b 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/MultiMatchQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/MultiMatchQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/NestedQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/NestedQueryTest.java index a0908cc88d..eff2d07a32 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/NestedQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/NestedQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/NeuralQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/NeuralQueryTest.java index bdeecfcbb4..7bc16e6fd6 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/NeuralQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/NeuralQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/ParentIdQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/ParentIdQueryTest.java index d1acb81bf1..9e64011336 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/ParentIdQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/ParentIdQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/PercolateQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/PercolateQueryTest.java index fa5ce508db..c74d8fb38f 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/PercolateQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/PercolateQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/PinnedDocTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/PinnedDocTest.java index 86f7f1d279..1472239b8d 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/PinnedDocTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/PinnedDocTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/PinnedQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/PinnedQueryTest.java index 074b7ead70..ee37187f63 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/PinnedQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/PinnedQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import java.util.Collections; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/PrefixQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/PrefixQueryTest.java index 53d061f467..17a74fdb2c 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/PrefixQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/PrefixQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/QueryStringQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/QueryStringQueryTest.java index 07a5ebb4bc..74418c0aa1 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/QueryStringQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/QueryStringQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/QueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/QueryTest.java index 6c06c0a9a3..6f4cd26356 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/QueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/QueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/RandomScoreFunctionTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/RandomScoreFunctionTest.java index 6dd1bd0b94..f5089ab0ee 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/RandomScoreFunctionTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/RandomScoreFunctionTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/RangeQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/RangeQueryTest.java index 3ccbce81f8..15a22654ba 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/RangeQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/RangeQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/RankFeatureFunctionLogarithmTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/RankFeatureFunctionLogarithmTest.java index c55908ae21..ea2af225dd 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/RankFeatureFunctionLogarithmTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/RankFeatureFunctionLogarithmTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/RankFeatureFunctionSaturationTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/RankFeatureFunctionSaturationTest.java index 5174147186..aeb1431a09 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/RankFeatureFunctionSaturationTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/RankFeatureFunctionSaturationTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/RankFeatureFunctionSigmoidTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/RankFeatureFunctionSigmoidTest.java index aaf51173cf..1ed2a39381 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/RankFeatureFunctionSigmoidTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/RankFeatureFunctionSigmoidTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/RankFeatureQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/RankFeatureQueryTest.java index 0abb4e8278..f86a1b72da 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/RankFeatureQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/RankFeatureQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/RegexpQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/RegexpQueryTest.java index de4285b018..73ee229a3a 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/RegexpQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/RegexpQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/ScriptQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/ScriptQueryTest.java index 15844bdc87..2f563a4811 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/ScriptQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/ScriptQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/ScriptScoreFunctionTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/ScriptScoreFunctionTest.java index 544d8c79cd..3dc6f7c727 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/ScriptScoreFunctionTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/ScriptScoreFunctionTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/ScriptScoreQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/ScriptScoreQueryTest.java index 8ab13f4f48..7225ca5458 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/ScriptScoreQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/ScriptScoreQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SimpleQueryStringQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SimpleQueryStringQueryTest.java index c5638024e4..6d8459b375 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SimpleQueryStringQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SimpleQueryStringQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanContainingQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanContainingQueryTest.java index cbcfa17886..2ec0326ccd 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanContainingQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanContainingQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import java.util.Collections; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanFieldMaskingQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanFieldMaskingQueryTest.java index d420c9242c..7c15a1456d 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanFieldMaskingQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanFieldMaskingQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import java.util.Collections; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanFirstQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanFirstQueryTest.java index f9fc4afe7d..f0b19c7b0d 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanFirstQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanFirstQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import java.util.Collections; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanGapQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanGapQueryTest.java index 5b43edaec0..550a7fb191 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanGapQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanGapQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanMultiTermQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanMultiTermQueryTest.java index 2199e65b9b..3b87ba4894 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanMultiTermQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanMultiTermQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanNearQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanNearQueryTest.java index f48ded1f69..c42eae80c5 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanNearQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanNearQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import java.util.Collections; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanNotQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanNotQueryTest.java index a5d9d9b14a..8f0f0acdfa 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanNotQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanNotQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import java.util.Collections; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanOrQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanOrQueryTest.java index a0c3a83eee..208a289ba6 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanOrQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanOrQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import java.util.Collections; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanQueryTest.java index 942e67d177..879a29e6eb 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import java.util.Collections; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanTermQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanTermQueryTest.java index 46a361ae57..444b92ac2c 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanTermQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanTermQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanWithinQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanWithinQueryTest.java index 42208a9372..4f6333d167 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanWithinQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/SpanWithinQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import java.util.Collections; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/TermQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/TermQueryTest.java index 22c298a3eb..0b7545db6f 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/TermQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/TermQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/TermsLookupTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/TermsLookupTest.java index 98c5ae6716..80f3e0aae3 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/TermsLookupTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/TermsLookupTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/TermsQueryFieldTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/TermsQueryFieldTest.java index 5af873b206..a2072d5bc9 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/TermsQueryFieldTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/TermsQueryFieldTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import java.util.Collections; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/TermsQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/TermsQueryTest.java index bf9ed792ec..45a7f2e4c6 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/TermsQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/TermsQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import java.util.Collections; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/TermsSetQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/TermsSetQueryTest.java index b3a028ccb1..4514867c24 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/TermsSetQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/TermsSetQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/TypeQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/TypeQueryTest.java index e41fe389a5..b28336dd72 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/TypeQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/TypeQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/WildcardQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/WildcardQueryTest.java index 75880402bd..76f3e26ea3 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/WildcardQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/WildcardQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/WrapperQueryTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/WrapperQueryTest.java index 79a2e1457f..b434271784 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/WrapperQueryTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/_types/query_dsl/WrapperQueryTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch._types.query_dsl; import org.junit.Test; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/BulkRequestTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/BulkRequestTest.java index bdb5e01aa2..57c6536b33 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/BulkRequestTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/BulkRequestTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core; import java.util.Collections; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/ClearScrollRequestTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/ClearScrollRequestTest.java index fea512e074..95b116ab21 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/ClearScrollRequestTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/ClearScrollRequestTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core; import java.util.Collections; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/CountRequestTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/CountRequestTest.java index 7a948b9a32..ae003afbd4 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/CountRequestTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/CountRequestTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core; import org.junit.Assert; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/CreateRequestTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/CreateRequestTest.java index de11ae0687..fec496706b 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/CreateRequestTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/CreateRequestTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core; import org.junit.Assert; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/DeleteByQueryRethrottleRequestTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/DeleteByQueryRethrottleRequestTest.java index 174045947f..8bfa2f2233 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/DeleteByQueryRethrottleRequestTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/DeleteByQueryRethrottleRequestTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core; import org.junit.Assert; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/DeleteRequestTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/DeleteRequestTest.java index a80c166ba1..d74e995b43 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/DeleteRequestTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/DeleteRequestTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core; import org.junit.Assert; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/DeleteScriptRequestTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/DeleteScriptRequestTest.java index 2e1a7fd653..d403cdad50 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/DeleteScriptRequestTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/DeleteScriptRequestTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core; import org.junit.Assert; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/ExistsRequestTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/ExistsRequestTest.java index b0177acf62..f55f25ec34 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/ExistsRequestTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/ExistsRequestTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core; import org.junit.Assert; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/ExistsSourceRequestTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/ExistsSourceRequestTest.java index cc010a3228..d40a1c4627 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/ExistsSourceRequestTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/ExistsSourceRequestTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core; import org.junit.Assert; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/ExplainRequestTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/ExplainRequestTest.java index cb716b13ea..df59beeb70 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/ExplainRequestTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/ExplainRequestTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core; import org.junit.Assert; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/FieldCapsRequestTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/FieldCapsRequestTest.java index 2c9a6c2738..ba130c925b 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/FieldCapsRequestTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/FieldCapsRequestTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core; import org.junit.Assert; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/GetMappingsResponseTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/GetMappingsResponseTest.java index 38f0f3fe31..cab036444e 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/GetMappingsResponseTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/GetMappingsResponseTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core; import com.fasterxml.jackson.core.JsonProcessingException; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/GetRequestTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/GetRequestTest.java index 8fc224485a..28d1d627c5 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/GetRequestTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/GetRequestTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core; import org.junit.Assert; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/GetScriptRequestTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/GetScriptRequestTest.java index 416212fb4c..fdfe312458 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/GetScriptRequestTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/GetScriptRequestTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core; import org.junit.Assert; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/GetSourceRequestTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/GetSourceRequestTest.java index 9103f57067..0d2ac921e0 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/GetSourceRequestTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/GetSourceRequestTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core; import org.junit.Assert; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/IndexRequestTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/IndexRequestTest.java index fbfc09513d..c506d6f39d 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/IndexRequestTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/IndexRequestTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core; import org.junit.Assert; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/MgetRequestTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/MgetRequestTest.java index 0fdeba65ec..211695009d 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/MgetRequestTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/MgetRequestTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core; import org.junit.Assert; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/MsearchRequestTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/MsearchRequestTest.java index da470f0d31..5e0bbaa084 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/MsearchRequestTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/MsearchRequestTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core; import java.util.Collections; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/MsearchTemplateRequestTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/MsearchTemplateRequestTest.java index c2a41d7d1c..e0b288100f 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/MsearchTemplateRequestTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/MsearchTemplateRequestTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core; import java.util.Collections; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/MtermvectorsRequestTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/MtermvectorsRequestTest.java index c8a11cecbe..72e8ef294e 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/MtermvectorsRequestTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/MtermvectorsRequestTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core; import org.junit.Assert; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/PutIndexTemplateRequestTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/PutIndexTemplateRequestTest.java index 6de5b06252..f5483b1170 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/PutIndexTemplateRequestTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/PutIndexTemplateRequestTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core; import com.fasterxml.jackson.core.JsonProcessingException; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/PutScriptRequestTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/PutScriptRequestTest.java index 7d7d3be80e..16edeaf810 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/PutScriptRequestTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/PutScriptRequestTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core; import org.junit.Assert; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/PutTemplateRequestTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/PutTemplateRequestTest.java index b609094414..0ca7c53594 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/PutTemplateRequestTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/PutTemplateRequestTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core; import com.fasterxml.jackson.core.JsonProcessingException; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/RankEvalRequestTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/RankEvalRequestTest.java index 83e8f27057..3f6ad051d2 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/RankEvalRequestTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/RankEvalRequestTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core; import java.util.Collections; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/ReindexRethrottleRequestTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/ReindexRethrottleRequestTest.java index c9c55b4a43..ec1c01ccde 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/ReindexRethrottleRequestTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/ReindexRethrottleRequestTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core; import org.junit.Assert; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/RenderSearchTemplateRequestTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/RenderSearchTemplateRequestTest.java index db6eb1d6b8..85082d0ffa 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/RenderSearchTemplateRequestTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/RenderSearchTemplateRequestTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core; import org.junit.Assert; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/ScriptsPainlessExecuteRequestTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/ScriptsPainlessExecuteRequestTest.java index 773f40b0e0..f05039aa66 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/ScriptsPainlessExecuteRequestTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/ScriptsPainlessExecuteRequestTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core; import org.junit.Assert; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/ScrollRequestTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/ScrollRequestTest.java index 7419b9bb02..98f24333e1 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/ScrollRequestTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/ScrollRequestTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core; import org.junit.Assert; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/SearchRequestTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/SearchRequestTest.java index a85d3edab1..0b3c91f3c8 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/SearchRequestTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/SearchRequestTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core; import java.util.Collections; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/SearchShardsRequestTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/SearchShardsRequestTest.java index 15fd37568c..ccad4f7e61 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/SearchShardsRequestTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/SearchShardsRequestTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core; import org.junit.Assert; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/SearchTemplateRequestTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/SearchTemplateRequestTest.java index 72cccac4ab..4047bf8051 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/SearchTemplateRequestTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/SearchTemplateRequestTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core; import org.junit.Assert; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/TermsEnumRequestTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/TermsEnumRequestTest.java index 8c64e7b577..ff14fa68af 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/TermsEnumRequestTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/TermsEnumRequestTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core; import org.junit.Assert; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/TermvectorsRequestTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/TermvectorsRequestTest.java index 7bae6e39c6..6012e63132 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/TermvectorsRequestTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/TermvectorsRequestTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core; import org.junit.Assert; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/search/InnerHitsResultTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/search/InnerHitsResultTest.java index 902cbdc5fd..48fd61b0ef 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/search/InnerHitsResultTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/search/InnerHitsResultTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core.search; import static org.junit.Assert.assertEquals; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/search/InnerHitsTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/search/InnerHitsTest.java index b9b4cdfa71..ccab9f5811 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/search/InnerHitsTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/search/InnerHitsTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.core.search; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/ingest/TextEmbeddingProcessorTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/ingest/TextEmbeddingProcessorTest.java index 088fc59f82..46a10827ea 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/ingest/TextEmbeddingProcessorTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/ingest/TextEmbeddingProcessorTest.java @@ -6,11 +6,6 @@ * compatible open source license. */ -/* - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - package org.opensearch.client.opensearch.ingest; import java.util.HashMap; diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/json/JsonpDeserializerBaseTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/json/JsonpDeserializerBaseTest.java index 400696f429..1e618a0cbf 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/json/JsonpDeserializerBaseTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/json/JsonpDeserializerBaseTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.opensearch.json; import jakarta.json.stream.JsonParser; diff --git a/java-client/src/test/java/org/opensearch/client/transport/httpclient5/ResponseExceptionTest.java b/java-client/src/test/java/org/opensearch/client/transport/httpclient5/ResponseExceptionTest.java index 9f8084ca1f..0ff9ebe83f 100644 --- a/java-client/src/test/java/org/opensearch/client/transport/httpclient5/ResponseExceptionTest.java +++ b/java-client/src/test/java/org/opensearch/client/transport/httpclient5/ResponseExceptionTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.transport.httpclient5; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/java-client/src/test/java/org/opensearch/client/util/PathEncoderTest.java b/java-client/src/test/java/org/opensearch/client/util/PathEncoderTest.java index d6e90d3a2c..ef895c1549 100644 --- a/java-client/src/test/java/org/opensearch/client/util/PathEncoderTest.java +++ b/java-client/src/test/java/org/opensearch/client/util/PathEncoderTest.java @@ -1,3 +1,11 @@ +/* + * 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. + */ + package org.opensearch.client.util; import static org.junit.Assert.assertEquals;