From 448307b0229f06234b998cd6910bd2c0da96d1da Mon Sep 17 00:00:00 2001 From: Darshit Chanpura Date: Thu, 19 Dec 2024 22:08:12 -0500 Subject: [PATCH] Adds missing license headers Signed-off-by: Darshit Chanpura --- .../accesscontrol/resources/CreatedByTests.java | 8 ++++++++ .../accesscontrol/resources/ResourceServiceTests.java | 8 ++++++++ .../accesscontrol/resources/ShareWithTests.java | 8 ++++++++ 3 files changed, 24 insertions(+) diff --git a/server/src/test/java/org/opensearch/accesscontrol/resources/CreatedByTests.java b/server/src/test/java/org/opensearch/accesscontrol/resources/CreatedByTests.java index 4ea1e52974c25..ca63807bb2d4f 100644 --- a/server/src/test/java/org/opensearch/accesscontrol/resources/CreatedByTests.java +++ b/server/src/test/java/org/opensearch/accesscontrol/resources/CreatedByTests.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.accesscontrol.resources; import org.opensearch.common.io.stream.BytesStreamOutput; diff --git a/server/src/test/java/org/opensearch/accesscontrol/resources/ResourceServiceTests.java b/server/src/test/java/org/opensearch/accesscontrol/resources/ResourceServiceTests.java index 077236dbb270a..48e08806ea2da 100644 --- a/server/src/test/java/org/opensearch/accesscontrol/resources/ResourceServiceTests.java +++ b/server/src/test/java/org/opensearch/accesscontrol/resources/ResourceServiceTests.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.accesscontrol.resources; import org.opensearch.OpenSearchException; diff --git a/server/src/test/java/org/opensearch/accesscontrol/resources/ShareWithTests.java b/server/src/test/java/org/opensearch/accesscontrol/resources/ShareWithTests.java index 14fbc15616d62..6458fe6a08eac 100644 --- a/server/src/test/java/org/opensearch/accesscontrol/resources/ShareWithTests.java +++ b/server/src/test/java/org/opensearch/accesscontrol/resources/ShareWithTests.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.accesscontrol.resources; import org.opensearch.common.xcontent.XContentFactory;