From 090f71c441a348655b4fddffdd83b7934053f3f1 Mon Sep 17 00:00:00 2001 From: alaskowski <alaskowski@ethz.ch> Date: Thu, 16 Feb 2023 15:34:57 +0100 Subject: [PATCH] SSDM-13365: Updated copyright comments in server-data-store --- .../ethz/sis/afsserver/api/AuthenticationAPI.java | 15 +++++++++++++++ .../ch/ethz/sis/afsserver/api/OperationsAPI.java | 3 +-- .../java/ch/ethz/sis/afsserver/api/PublicAPI.java | 15 +++++++++++++++ .../sis/afsserver/exception/APIExceptions.java | 15 +++++++++++++++ .../sis/afsserver/exception/FSExceptions.java | 15 +++++++++++++++ .../sis/afsserver/exception/HTTPExceptions.java | 15 +++++++++++++++ .../ch/ethz/sis/afsserver/http/HttpResponse.java | 15 +++++++++++++++ .../ch/ethz/sis/afsserver/http/HttpServer.java | 15 +++++++++++++++ .../sis/afsserver/http/HttpServerHandler.java | 15 +++++++++++++++ .../sis/afsserver/http/impl/NettyHttpHandler.java | 15 +++++++++++++++ .../sis/afsserver/http/impl/NettyHttpServer.java | 15 +++++++++++++++ .../ch/ethz/sis/afsserver/server/APIServer.java | 15 +++++++++++++++ .../sis/afsserver/server/APIServerErrorType.java | 15 +++++++++++++++ .../sis/afsserver/server/APIServerException.java | 15 +++++++++++++++ .../ch/ethz/sis/afsserver/server/Request.java | 15 +++++++++++++++ .../ch/ethz/sis/afsserver/server/Response.java | 15 +++++++++++++++ .../sis/afsserver/server/ResponseBuilder.java | 15 +++++++++++++++ .../java/ch/ethz/sis/afsserver/server/Server.java | 15 +++++++++++++++ .../java/ch/ethz/sis/afsserver/server/Worker.java | 15 +++++++++++++++ .../sis/afsserver/server/impl/ApiRequest.java | 15 +++++++++++++++ .../sis/afsserver/server/impl/ApiResponse.java | 15 +++++++++++++++ .../afsserver/server/impl/ApiResponseBuilder.java | 15 +++++++++++++++ .../afsserver/server/impl/ApiServerAdapter.java | 15 +++++++++++++++ .../server/observer/APIServerObserver.java | 15 +++++++++++++++ .../afsserver/server/observer/ServerObserver.java | 15 +++++++++++++++ .../server/observer/impl/DummyServerObserver.java | 15 +++++++++++++++ .../sis/afsserver/server/performance/Event.java | 15 +++++++++++++++ .../sis/afsserver/server/performance/Pair.java | 15 +++++++++++++++ .../server/performance/PerformanceAuditor.java | 15 +++++++++++++++ .../startup/AtomicFileSystemServerParameter.java | 3 +-- .../java/ch/ethz/sis/afsserver/startup/Main.java | 3 +-- .../ethz/sis/afsserver/worker/AbstractProxy.java | 15 +++++++++++++++ .../sis/afsserver/worker/ConnectionFactory.java | 15 +++++++++++++++ .../ethz/sis/afsserver/worker/WorkerContext.java | 15 +++++++++++++++ .../ethz/sis/afsserver/worker/WorkerFactory.java | 15 +++++++++++++++ .../providers/AuthenticationInfoProvider.java | 15 +++++++++++++++ .../providers/AuthorizationInfoProvider.java | 15 +++++++++++++++ .../impl/DummyAuthenticationInfoProvider.java | 15 +++++++++++++++ .../impl/DummyAuthorizationInfoProvider.java | 15 +++++++++++++++ .../impl/OpenBISAuthenticationInfoProvider.java | 15 +++++++++++++++ .../impl/OpenBISAuthorizationInfoProvider.java | 15 +++++++++++++++ .../sis/afsserver/worker/proxy/AuditorProxy.java | 15 +++++++++++++++ .../worker/proxy/AuthenticationProxy.java | 15 +++++++++++++++ .../worker/proxy/AuthorizationProxy.java | 15 +++++++++++++++ .../sis/afsserver/worker/proxy/ExecutorProxy.java | 15 +++++++++++++++ .../ethz/sis/afsserver/worker/proxy/LogProxy.java | 15 +++++++++++++++ .../afsserver/worker/proxy/ValidationProxy.java | 15 +++++++++++++++ .../java/ch/ethz/sis/afsserver/AbstractTest.java | 15 +++++++++++++++ .../sis/afsserver/ServerClientEnvironmentFS.java | 3 +-- .../java/ch/ethz/sis/afsserver/TestClient.java | 15 +++++++++++++++ .../java/ch/ethz/sis/afsserver/TestSuite.java | 15 +++++++++++++++ .../afsserver/core/AbstractPublicAPIWrapper.java | 15 +++++++++++++++ .../ch/ethz/sis/afsserver/core/PublicApiTest.java | 15 +++++++++++++++ .../afsserver/impl/APIServerAdapterWrapper.java | 15 +++++++++++++++ .../ethz/sis/afsserver/impl/APIServerWrapper.java | 15 +++++++++++++++ .../sis/afsserver/impl/ApiServerAdapterTest.java | 15 +++++++++++++++ .../ch/ethz/sis/afsserver/impl/ApiServerTest.java | 15 +++++++++++++++ 57 files changed, 799 insertions(+), 8 deletions(-) diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/api/AuthenticationAPI.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/api/AuthenticationAPI.java index e5fc191df53..16fd1a86692 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/api/AuthenticationAPI.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/api/AuthenticationAPI.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.api; import lombok.NonNull; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/api/OperationsAPI.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/api/OperationsAPI.java index 0cb868d38e1..36d28eb33b3 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/api/OperationsAPI.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/api/OperationsAPI.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 ETH Zürich, SIS + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package ch.ethz.sis.afsserver.api; import ch.ethz.sis.afs.api.dto.File; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/api/PublicAPI.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/api/PublicAPI.java index ee1467313d8..c52ae8929c1 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/api/PublicAPI.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/api/PublicAPI.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.api; import ch.ethz.sis.afs.api.TwoPhaseTransactionAPI; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/exception/APIExceptions.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/exception/APIExceptions.java index 6605dc0c2ba..1ab38636110 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/exception/APIExceptions.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/exception/APIExceptions.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.exception; import ch.ethz.sis.afs.api.dto.ExceptionReason; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/exception/FSExceptions.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/exception/FSExceptions.java index c205a375067..2b569f27344 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/exception/FSExceptions.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/exception/FSExceptions.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.exception; import ch.ethz.sis.afs.api.dto.ExceptionReason; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/exception/HTTPExceptions.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/exception/HTTPExceptions.java index b7e3fe02d2e..e51488cee33 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/exception/HTTPExceptions.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/exception/HTTPExceptions.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.exception; import ch.ethz.sis.afs.api.dto.ExceptionReason; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/http/HttpResponse.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/http/HttpResponse.java index 7272a24b41f..64484a7568a 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/http/HttpResponse.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/http/HttpResponse.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.http; import lombok.AccessLevel; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/http/HttpServer.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/http/HttpServer.java index 6a5c027b245..6182966a7dc 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/http/HttpServer.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/http/HttpServer.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.http; public interface HttpServer { diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/http/HttpServerHandler.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/http/HttpServerHandler.java index c42850eeb91..75c16f886e9 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/http/HttpServerHandler.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/http/HttpServerHandler.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.http; import io.netty.handler.codec.http.HttpMethod; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/http/impl/NettyHttpHandler.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/http/impl/NettyHttpHandler.java index 2f61e3f15c2..b9efb2ba185 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/http/impl/NettyHttpHandler.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/http/impl/NettyHttpHandler.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.http.impl; import ch.ethz.sis.afsserver.http.HttpResponse; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/http/impl/NettyHttpServer.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/http/impl/NettyHttpServer.java index 32957668795..b96132285bf 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/http/impl/NettyHttpServer.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/http/impl/NettyHttpServer.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.http.impl; import ch.ethz.sis.afsserver.http.HttpServerHandler; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/APIServer.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/APIServer.java index 2f095ade869..f0b0cfcab43 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/APIServer.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/APIServer.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.server; import ch.ethz.sis.afs.api.TwoPhaseTransactionAPI; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/APIServerErrorType.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/APIServerErrorType.java index 97e9b10d4e8..819eac5760b 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/APIServerErrorType.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/APIServerErrorType.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.server; public enum APIServerErrorType { diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/APIServerException.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/APIServerException.java index 5eaec952a46..58b26c38092 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/APIServerException.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/APIServerException.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.server; import lombok.NonNull; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/Request.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/Request.java index f179ffae70b..719732b72b9 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/Request.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/Request.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.server; import java.util.Map; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/Response.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/Response.java index 97bd63bf275..28eb8ccc105 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/Response.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/Response.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.server; public interface Response { diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/ResponseBuilder.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/ResponseBuilder.java index 57ed5581651..606db60443a 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/ResponseBuilder.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/ResponseBuilder.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.server; public interface ResponseBuilder<E extends Response> { diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/Server.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/Server.java index 0e12363a267..8582537ad24 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/Server.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/Server.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.server; import ch.ethz.sis.afsserver.http.HttpServer; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/Worker.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/Worker.java index 9e1c9255845..cb416565e05 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/Worker.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/Worker.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.server; import ch.ethz.sis.afsserver.api.PublicAPI; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/impl/ApiRequest.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/impl/ApiRequest.java index 4a06e45bfd9..07bad78f301 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/impl/ApiRequest.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/impl/ApiRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.server.impl; import ch.ethz.sis.afsserver.server.Request; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/impl/ApiResponse.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/impl/ApiResponse.java index 404b9b3f5c8..ed8ac8fa373 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/impl/ApiResponse.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/impl/ApiResponse.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.server.impl; import ch.ethz.sis.afsserver.server.Response; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/impl/ApiResponseBuilder.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/impl/ApiResponseBuilder.java index 4c8e348e1d9..0567144e938 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/impl/ApiResponseBuilder.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/impl/ApiResponseBuilder.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.server.impl; import ch.ethz.sis.afsserver.server.Response; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/impl/ApiServerAdapter.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/impl/ApiServerAdapter.java index e47551af4f0..c9ee0aebd8e 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/impl/ApiServerAdapter.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/impl/ApiServerAdapter.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.server.impl; import ch.ethz.sis.afsserver.exception.HTTPExceptions; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/observer/APIServerObserver.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/observer/APIServerObserver.java index 40527110267..4b297cf1811 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/observer/APIServerObserver.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/observer/APIServerObserver.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.server.observer; import ch.ethz.sis.afsserver.server.Worker; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/observer/ServerObserver.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/observer/ServerObserver.java index 6bbdf6da79a..ba4acfcec8d 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/observer/ServerObserver.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/observer/ServerObserver.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.server.observer; import ch.ethz.sis.afsserver.server.APIServer; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/observer/impl/DummyServerObserver.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/observer/impl/DummyServerObserver.java index b7ab04fee50..6913a7c95ad 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/observer/impl/DummyServerObserver.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/observer/impl/DummyServerObserver.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.server.observer.impl; import ch.ethz.sis.afs.manager.TransactionConnection; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/performance/Event.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/performance/Event.java index 7112d0e8af4..6c9bd59ff4c 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/performance/Event.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/performance/Event.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.server.performance; public enum Event { diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/performance/Pair.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/performance/Pair.java index b991e3924e7..cf1f19d7cc1 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/performance/Pair.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/performance/Pair.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.server.performance; public class Pair<KEY,VALUE> { diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/performance/PerformanceAuditor.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/performance/PerformanceAuditor.java index f647b1ac8f8..bf6125f3424 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/performance/PerformanceAuditor.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/server/performance/PerformanceAuditor.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.server.performance; import lombok.NonNull; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/startup/AtomicFileSystemServerParameter.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/startup/AtomicFileSystemServerParameter.java index d567657b37f..4c85918d48d 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/startup/AtomicFileSystemServerParameter.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/startup/AtomicFileSystemServerParameter.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 ETH Zürich, SIS + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package ch.ethz.sis.afsserver.startup; public enum AtomicFileSystemServerParameter { diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/startup/Main.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/startup/Main.java index d9be28efdf2..cde81d24958 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/startup/Main.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/startup/Main.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 ETH Zürich, SIS + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package ch.ethz.sis.afsserver.startup; import ch.ethz.sis.afsserver.server.Server; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/AbstractProxy.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/AbstractProxy.java index 079d5ac1d11..4ded4e936b3 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/AbstractProxy.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/AbstractProxy.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.worker; import ch.ethz.sis.afs.api.TransactionalFileSystem; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/ConnectionFactory.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/ConnectionFactory.java index 3cfb14d672a..cd153acffd7 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/ConnectionFactory.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/ConnectionFactory.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.worker; import ch.ethz.sis.afs.manager.TransactionManager; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/WorkerContext.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/WorkerContext.java index 013b9e322c4..3a4e4ca97b7 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/WorkerContext.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/WorkerContext.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.worker; import ch.ethz.sis.afs.api.TransactionalFileSystem; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/WorkerFactory.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/WorkerFactory.java index 3ab77ef4106..007f4511187 100755 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/WorkerFactory.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/WorkerFactory.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.worker; import ch.ethz.sis.afsserver.server.Worker; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/providers/AuthenticationInfoProvider.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/providers/AuthenticationInfoProvider.java index 7aba874b44a..5e2b36d6a2a 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/providers/AuthenticationInfoProvider.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/providers/AuthenticationInfoProvider.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.worker.providers; import ch.ethz.sis.shared.startup.Configuration; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/providers/AuthorizationInfoProvider.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/providers/AuthorizationInfoProvider.java index 4a02c612133..6131f7646ae 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/providers/AuthorizationInfoProvider.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/providers/AuthorizationInfoProvider.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.worker.providers; import ch.ethz.sis.shared.io.FilePermission; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/providers/impl/DummyAuthenticationInfoProvider.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/providers/impl/DummyAuthenticationInfoProvider.java index 95a34af6fd3..1adc86e41ae 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/providers/impl/DummyAuthenticationInfoProvider.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/providers/impl/DummyAuthenticationInfoProvider.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.worker.providers.impl; import ch.ethz.sis.afsserver.worker.providers.AuthenticationInfoProvider; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/providers/impl/DummyAuthorizationInfoProvider.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/providers/impl/DummyAuthorizationInfoProvider.java index de0018dd1d9..16426500efa 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/providers/impl/DummyAuthorizationInfoProvider.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/providers/impl/DummyAuthorizationInfoProvider.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.worker.providers.impl; import ch.ethz.sis.afsserver.worker.providers.AuthorizationInfoProvider; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/providers/impl/OpenBISAuthenticationInfoProvider.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/providers/impl/OpenBISAuthenticationInfoProvider.java index dfb38d297bf..49898315e31 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/providers/impl/OpenBISAuthenticationInfoProvider.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/providers/impl/OpenBISAuthenticationInfoProvider.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.worker.providers.impl; import ch.ethz.sis.afsserver.startup.AtomicFileSystemServerParameter; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/providers/impl/OpenBISAuthorizationInfoProvider.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/providers/impl/OpenBISAuthorizationInfoProvider.java index a50c83e4a3c..1f92d5a503c 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/providers/impl/OpenBISAuthorizationInfoProvider.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/providers/impl/OpenBISAuthorizationInfoProvider.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.worker.providers.impl; import ch.ethz.sis.afsserver.startup.AtomicFileSystemServerParameter; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/proxy/AuditorProxy.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/proxy/AuditorProxy.java index 0b1d6f48995..28bf7dcb21c 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/proxy/AuditorProxy.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/proxy/AuditorProxy.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.worker.proxy; import ch.ethz.sis.afs.api.dto.File; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/proxy/AuthenticationProxy.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/proxy/AuthenticationProxy.java index c885b1cb95d..b530233e2a7 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/proxy/AuthenticationProxy.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/proxy/AuthenticationProxy.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.worker.proxy; import ch.ethz.sis.afs.api.dto.File; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/proxy/AuthorizationProxy.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/proxy/AuthorizationProxy.java index ab55ae04a7d..9670fc0ca85 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/proxy/AuthorizationProxy.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/proxy/AuthorizationProxy.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.worker.proxy; import ch.ethz.sis.afs.api.dto.File; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/proxy/ExecutorProxy.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/proxy/ExecutorProxy.java index af524d0bca7..38a7eed7b82 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/proxy/ExecutorProxy.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/proxy/ExecutorProxy.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.worker.proxy; import ch.ethz.sis.afs.api.dto.File; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/proxy/LogProxy.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/proxy/LogProxy.java index fd5b5322102..38ccfc8374e 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/proxy/LogProxy.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/proxy/LogProxy.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.worker.proxy; import ch.ethz.sis.afs.api.dto.File; diff --git a/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/proxy/ValidationProxy.java b/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/proxy/ValidationProxy.java index f1e193385cc..21a6b8bc7d3 100644 --- a/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/proxy/ValidationProxy.java +++ b/server-data-store/src/main/java/ch/ethz/sis/afsserver/worker/proxy/ValidationProxy.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.worker.proxy; import ch.ethz.sis.afs.api.dto.File; diff --git a/server-data-store/src/test/java/ch/ethz/sis/afsserver/AbstractTest.java b/server-data-store/src/test/java/ch/ethz/sis/afsserver/AbstractTest.java index 8a34ec09de1..b67c048cf9e 100644 --- a/server-data-store/src/test/java/ch/ethz/sis/afsserver/AbstractTest.java +++ b/server-data-store/src/test/java/ch/ethz/sis/afsserver/AbstractTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver; import ch.ethz.sis.afsserver.startup.AtomicFileSystemServerParameter; diff --git a/server-data-store/src/test/java/ch/ethz/sis/afsserver/ServerClientEnvironmentFS.java b/server-data-store/src/test/java/ch/ethz/sis/afsserver/ServerClientEnvironmentFS.java index 64be51b4930..9807d346b1f 100644 --- a/server-data-store/src/test/java/ch/ethz/sis/afsserver/ServerClientEnvironmentFS.java +++ b/server-data-store/src/test/java/ch/ethz/sis/afsserver/ServerClientEnvironmentFS.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 ETH Zürich, SIS + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package ch.ethz.sis.afsserver; import ch.ethz.sis.afsserver.api.PublicAPI; diff --git a/server-data-store/src/test/java/ch/ethz/sis/afsserver/TestClient.java b/server-data-store/src/test/java/ch/ethz/sis/afsserver/TestClient.java index 47afcfffe16..2c16927bd0f 100644 --- a/server-data-store/src/test/java/ch/ethz/sis/afsserver/TestClient.java +++ b/server-data-store/src/test/java/ch/ethz/sis/afsserver/TestClient.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver; import java.io.IOException; diff --git a/server-data-store/src/test/java/ch/ethz/sis/afsserver/TestSuite.java b/server-data-store/src/test/java/ch/ethz/sis/afsserver/TestSuite.java index 18565700ab3..46be99a6e7a 100644 --- a/server-data-store/src/test/java/ch/ethz/sis/afsserver/TestSuite.java +++ b/server-data-store/src/test/java/ch/ethz/sis/afsserver/TestSuite.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver; import ch.ethz.sis.afsserver.impl.ApiServerAdapterTest; diff --git a/server-data-store/src/test/java/ch/ethz/sis/afsserver/core/AbstractPublicAPIWrapper.java b/server-data-store/src/test/java/ch/ethz/sis/afsserver/core/AbstractPublicAPIWrapper.java index 34db1689db6..abdb9540d5c 100644 --- a/server-data-store/src/test/java/ch/ethz/sis/afsserver/core/AbstractPublicAPIWrapper.java +++ b/server-data-store/src/test/java/ch/ethz/sis/afsserver/core/AbstractPublicAPIWrapper.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.core; import ch.ethz.sis.afs.api.dto.File; diff --git a/server-data-store/src/test/java/ch/ethz/sis/afsserver/core/PublicApiTest.java b/server-data-store/src/test/java/ch/ethz/sis/afsserver/core/PublicApiTest.java index 22a1e46a142..3b9b1f7271d 100644 --- a/server-data-store/src/test/java/ch/ethz/sis/afsserver/core/PublicApiTest.java +++ b/server-data-store/src/test/java/ch/ethz/sis/afsserver/core/PublicApiTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.core; import ch.ethz.sis.afs.api.dto.File; diff --git a/server-data-store/src/test/java/ch/ethz/sis/afsserver/impl/APIServerAdapterWrapper.java b/server-data-store/src/test/java/ch/ethz/sis/afsserver/impl/APIServerAdapterWrapper.java index e9280d59cff..47a3ed56e50 100644 --- a/server-data-store/src/test/java/ch/ethz/sis/afsserver/impl/APIServerAdapterWrapper.java +++ b/server-data-store/src/test/java/ch/ethz/sis/afsserver/impl/APIServerAdapterWrapper.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.impl; diff --git a/server-data-store/src/test/java/ch/ethz/sis/afsserver/impl/APIServerWrapper.java b/server-data-store/src/test/java/ch/ethz/sis/afsserver/impl/APIServerWrapper.java index 356e728da2f..15d5f4eb397 100644 --- a/server-data-store/src/test/java/ch/ethz/sis/afsserver/impl/APIServerWrapper.java +++ b/server-data-store/src/test/java/ch/ethz/sis/afsserver/impl/APIServerWrapper.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.impl; diff --git a/server-data-store/src/test/java/ch/ethz/sis/afsserver/impl/ApiServerAdapterTest.java b/server-data-store/src/test/java/ch/ethz/sis/afsserver/impl/ApiServerAdapterTest.java index 6067da289e4..feafbd48dd6 100644 --- a/server-data-store/src/test/java/ch/ethz/sis/afsserver/impl/ApiServerAdapterTest.java +++ b/server-data-store/src/test/java/ch/ethz/sis/afsserver/impl/ApiServerAdapterTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.impl; import ch.ethz.sis.afsserver.ServerClientEnvironmentFS; diff --git a/server-data-store/src/test/java/ch/ethz/sis/afsserver/impl/ApiServerTest.java b/server-data-store/src/test/java/ch/ethz/sis/afsserver/impl/ApiServerTest.java index 878ced13089..3ea5350afe0 100644 --- a/server-data-store/src/test/java/ch/ethz/sis/afsserver/impl/ApiServerTest.java +++ b/server-data-store/src/test/java/ch/ethz/sis/afsserver/impl/ApiServerTest.java @@ -1,3 +1,18 @@ +/* + * Copyright ETH 2022 - 2023 Zürich, Scientific IT Services + * + * 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 ch.ethz.sis.afsserver.impl; import ch.ethz.sis.afs.manager.TransactionConnection; -- GitLab