diff --git a/client/src/main/java/org/opensearch/ml/client/MemoryClient.java b/client/src/main/java/org/opensearch/ml/client/MemoryClient.java index ddc57f6c63..42bf90a490 100644 --- a/client/src/main/java/org/opensearch/ml/client/MemoryClient.java +++ b/client/src/main/java/org/opensearch/ml/client/MemoryClient.java @@ -1,3 +1,20 @@ +/* + * Copyright 2023 Aryn + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed 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. + */ package org.opensearch.ml.client; import org.opensearch.common.action.ActionFuture; diff --git a/client/src/main/java/org/opensearch/ml/client/MemoryNodeClient.java b/client/src/main/java/org/opensearch/ml/client/MemoryNodeClient.java index 1d75e3d0ca..478fb723ec 100644 --- a/client/src/main/java/org/opensearch/ml/client/MemoryNodeClient.java +++ b/client/src/main/java/org/opensearch/ml/client/MemoryNodeClient.java @@ -1,3 +1,20 @@ +/* + * Copyright 2023 Aryn + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed 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. + */ package org.opensearch.ml.client; import org.opensearch.action.support.PlainActionFuture; @@ -21,7 +38,6 @@ import org.opensearch.ml.memory.action.conversation.GetInteractionsResponse; import lombok.AllArgsConstructor; -import lombok.RequiredArgsConstructor; @AllArgsConstructor public class MemoryNodeClient implements MemoryClient { diff --git a/client/src/test/java/org/opensearch/ml/client/MemoryNodeClientTest.java b/client/src/test/java/org/opensearch/ml/client/MemoryNodeClientTest.java index be1cd6e1d2..ed05cc9b1e 100644 --- a/client/src/test/java/org/opensearch/ml/client/MemoryNodeClientTest.java +++ b/client/src/test/java/org/opensearch/ml/client/MemoryNodeClientTest.java @@ -1,3 +1,20 @@ +/* + * Copyright 2023 Aryn + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed 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. + */ package org.opensearch.ml.client; import static org.junit.Assert.assertEquals;