From e433dbc750af09b6e4aebd61d3d5777927031f2d Mon Sep 17 00:00:00 2001 From: Eike Kettner Date: Wed, 8 Jan 2025 12:24:07 +0100 Subject: [PATCH 1/3] Add license file and remove header build settings --- LICENSE.txt | 202 ++++++++++++++++++++++++++++++++++++++++++++ build.sbt | 58 +++---------- project/plugins.sbt | 1 - 3 files changed, 213 insertions(+), 48 deletions(-) create mode 100644 LICENSE.txt diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 00000000..d6456956 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. diff --git a/build.sbt b/build.sbt index abcca426..6c55cd2a 100644 --- a/build.sbt +++ b/build.sbt @@ -86,7 +86,6 @@ lazy val json = project libraryDependencies ++= Dependencies.borer, description := "Utilities around working with borer" ) - .enablePlugins(AutomateHeaderPlugin) .disablePlugins(DbTestPlugin, RevolverPlugin) lazy val commons = project @@ -119,12 +118,12 @@ lazy val commons = project buildInfoPackage := "io.renku.search" ) .dependsOn(json % "compile->compile;test->test") - .enablePlugins(AutomateHeaderPlugin, BuildInfoPlugin) + .enablePlugins(BuildInfoPlugin) .disablePlugins(DbTestPlugin, RevolverPlugin) lazy val sentry = project .in(file("modules/sentry")) - .enablePlugins(AutomateHeaderPlugin, BuildInfoPlugin) + .enablePlugins(BuildInfoPlugin) .disablePlugins(DbTestPlugin, RevolverPlugin) .settings(commonSettings) .settings( @@ -138,7 +137,6 @@ lazy val sentry = project lazy val jwt = project .in(file("modules/jwt")) - .enablePlugins(AutomateHeaderPlugin) .disablePlugins(DbTestPlugin, RevolverPlugin) .settings(commonSettings) .settings( @@ -151,7 +149,6 @@ lazy val jwt = project lazy val http4sBorer = project .in(file("modules/http4s-borer")) - .enablePlugins(AutomateHeaderPlugin) .disablePlugins(DbTestPlugin, RevolverPlugin) .withId("http4s-borer") .settings(commonSettings) @@ -168,7 +165,6 @@ lazy val http4sBorer = project lazy val httpClient = project .in(file("modules/http-client")) .withId("http-client") - .enablePlugins(AutomateHeaderPlugin) .disablePlugins(DbTestPlugin, RevolverPlugin) .settings(commonSettings) .settings( @@ -185,7 +181,6 @@ lazy val httpClient = project lazy val openidKeycloak = project .in(file("modules/openid-keycloak")) - .enablePlugins(AutomateHeaderPlugin) .disablePlugins(DbTestPlugin, RevolverPlugin) .settings(commonSettings) .settings( @@ -202,7 +197,6 @@ lazy val openidKeycloak = project lazy val http4sMetrics = project .in(file("modules/http4s-metrics")) - .enablePlugins(AutomateHeaderPlugin) .disablePlugins(DbTestPlugin, RevolverPlugin) .withId("http4s-metrics") .settings(commonSettings) @@ -216,7 +210,6 @@ lazy val http4sMetrics = project lazy val http4sCommons = project .in(file("modules/http4s-commons")) - .enablePlugins(AutomateHeaderPlugin) .disablePlugins(DbTestPlugin, RevolverPlugin) .withId("http4s-commons") .settings(commonSettings) @@ -248,7 +241,6 @@ lazy val redisClient = project Dependencies.redis4CatsStreams ++ Dependencies.scribe ) - .enablePlugins(AutomateHeaderPlugin) .disablePlugins(RevolverPlugin) .dependsOn( commons % "test->test" @@ -265,7 +257,6 @@ lazy val renkuRedisClient = project Dependencies.redis4Cats ++ Dependencies.redis4CatsStreams ) - .enablePlugins(AutomateHeaderPlugin) .disablePlugins(RevolverPlugin) .dependsOn( events % "compile->compile;test->test", @@ -275,7 +266,7 @@ lazy val renkuRedisClient = project lazy val solrClient = project .in(file("modules/solr-client")) .withId("solr-client") - .enablePlugins(AvroCodeGen, AutomateHeaderPlugin) + .enablePlugins(AvroCodeGen) .disablePlugins(RevolverPlugin) .settings(commonSettings) .settings( @@ -294,7 +285,7 @@ lazy val solrClient = project lazy val searchSolrClient = project .in(file("modules/search-solr-client")) .withId("search-solr-client") - .enablePlugins(AvroCodeGen, AutomateHeaderPlugin) + .enablePlugins(AvroCodeGen) .disablePlugins(RevolverPlugin) .settings(commonSettings) .settings( @@ -324,7 +315,6 @@ lazy val avroCodec = project lazy val http4sAvro = project .in(file("modules/http4s-avro")) - .enablePlugins(AutomateHeaderPlugin) .disablePlugins(DbTestPlugin, RevolverPlugin) .withId("http4s-avro") .settings(commonSettings) @@ -349,7 +339,7 @@ lazy val events = project commons % "compile->compile;test->test", avroCodec % "compile->compile;test->test" ) - .enablePlugins(AutomateHeaderPlugin, AvroSchemaDownload) + .enablePlugins(AvroSchemaDownload) .disablePlugins(DbTestPlugin, RevolverPlugin) lazy val configValues = project @@ -384,7 +374,6 @@ lazy val searchQuery = project .dependsOn( commons % "compile->compile;test->test" ) - .enablePlugins(AutomateHeaderPlugin) lazy val searchQueryDocs = project .in(file("modules/search-query-docs")) @@ -415,7 +404,7 @@ lazy val searchProvision = project searchSolrClient % "compile->compile;test->test", configValues % "compile->compile;test->test" ) - .enablePlugins(AutomateHeaderPlugin, DockerImagePlugin, RevolverPlugin) + .enablePlugins(DockerImagePlugin, RevolverPlugin) lazy val searchApi = project .in(file("modules/search-api")) @@ -439,11 +428,11 @@ lazy val searchApi = project jwt % "compile->compile;test->test", openidKeycloak % "compile->compile;test->test" ) - .enablePlugins(AutomateHeaderPlugin, DockerImagePlugin, RevolverPlugin) + .enablePlugins(DockerImagePlugin, RevolverPlugin) lazy val searchCli = project .in(file("modules/search-cli")) - .enablePlugins(AutomateHeaderPlugin, JavaAppPackaging, DockerImagePlugin) + .enablePlugins(JavaAppPackaging, DockerImagePlugin) .disablePlugins(DbTestPlugin, RevolverPlugin) .withId("search-cli") .settings(commonSettings) @@ -498,6 +487,9 @@ lazy val commonSettings = Seq( ), Compile / packageDoc / publishArtifact := false, Compile / packageSrc / publishArtifact := false, + licenses := Seq( + "Apache-2.0" -> url("https://spdx.org/licenses/Apache-2.0.html") + ), // format: off scalacOptions ++= Seq( "-language:postfixOps", // enabling postfixes @@ -526,32 +518,4 @@ lazy val commonSettings = Seq( Dependencies.catsScalaCheck ++ Dependencies.scribe ).map(_ % Test), - // Format: on - organizationName := "Swiss Data Science Center (SDSC)", - startYear := Some(java.time.LocalDate.now().getYear), - licenses += ( - "Apache-2.0", - new URI( - "https://www.apache.org/licenses/LICENSE-2.0.txt" - ).toURL - ), - headerLicense := Some( - HeaderLicense.Custom( - s"""|Copyright ${java.time.LocalDate.now().getYear} Swiss Data Science Center (SDSC) - |A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - |Eidgenössische Technische Hochschule Zürich (ETHZ). - | - |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.""".stripMargin - ) - ) ) diff --git a/project/plugins.sbt b/project/plugins.sbt index 4d83a4a1..f39907ba 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -23,7 +23,6 @@ addSbtPlugin("com.github.sbt" % "sbt-git" % "2.1.0") addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.11.0") addSbtPlugin("com.github.sbt" % "sbt-release" % "1.4.0") addSbtPlugin("com.julianpeeters" % "sbt-avrohugger" % "2.8.4") -addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.10.0") addSbtPlugin("io.spray" % "sbt-revolver" % "0.10.0") addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.6.2") addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2") From eefe534f36aceb8b9b73176d968fb9eaff2a71d7 Mon Sep 17 00:00:00 2001 From: Eike Kettner Date: Wed, 8 Jan 2025 12:24:56 +0100 Subject: [PATCH 2/3] Remove license header from all sources --- .../renku/avro/codec/AvroCodecException.scala | 18 ------------------ .../io/renku/avro/codec/AvroDecoder.scala | 18 ------------------ .../io/renku/avro/codec/AvroEncoder.scala | 18 ------------------ .../scala/io/renku/avro/codec/AvroIO.scala | 18 ------------------ .../scala/io/renku/avro/codec/AvroReader.scala | 18 ------------------ .../scala/io/renku/avro/codec/AvroWriter.scala | 18 ------------------ .../io/renku/avro/codec/ByteVectorInput.scala | 18 ------------------ .../codec/decoders/BigDecimalDecoders.scala | 18 ------------------ .../codec/decoders/ByteArrayDecoders.scala | 18 ------------------ .../codec/decoders/CollectionDecoders.scala | 18 ------------------ .../avro/codec/decoders/DateTimeDecoders.scala | 18 ------------------ .../avro/codec/decoders/EitherDecoders.scala | 18 ------------------ .../avro/codec/decoders/JavaEnumDecoders.scala | 18 ------------------ .../avro/codec/decoders/OptionDecoders.scala | 18 ------------------ .../codec/decoders/PrimitiveDecoders.scala | 18 ------------------ .../avro/codec/decoders/RecordDecoders.scala | 18 ------------------ .../avro/codec/decoders/StringDecoders.scala | 18 ------------------ .../codec/decoders/TypeGuardedDecoding.scala | 18 ------------------ .../io/renku/avro/codec/decoders/all.scala | 18 ------------------ .../renku/avro/codec/encoders/AvroRecord.scala | 18 ------------------ .../codec/encoders/BigDecimalEncoders.scala | 18 ------------------ .../codec/encoders/ByteArrayEncoders.scala | 18 ------------------ .../codec/encoders/CollectionEncoders.scala | 18 ------------------ .../avro/codec/encoders/DateTimeEncoders.scala | 18 ------------------ .../avro/codec/encoders/EitherEncoders.scala | 18 ------------------ .../avro/codec/encoders/JavaEnumEncoders.scala | 18 ------------------ .../avro/codec/encoders/OptionEncoders.scala | 18 ------------------ .../codec/encoders/PrimitiveEncoders.scala | 18 ------------------ .../avro/codec/encoders/RecordEncoders.scala | 18 ------------------ .../avro/codec/encoders/StringEncoders.scala | 18 ------------------ .../io/renku/avro/codec/encoders/all.scala | 18 ------------------ .../io/renku/avro/codec/AvroReaderSpec.scala | 18 ------------------ .../codec/encoders/StringEncodersTest.scala | 18 ------------------ .../renku/search/common/CurrentVersion.scala | 18 ------------------ .../renku/search/common/ScodecInstances.scala | 18 ------------------ .../io/renku/search/common/UrlPattern.scala | 18 ------------------ .../io/renku/search/logging/LoggingSetup.scala | 18 ------------------ .../io/renku/search/model/CreationDate.scala | 18 ------------------ .../io/renku/search/model/Description.scala | 18 ------------------ .../scala/io/renku/search/model/Email.scala | 18 ------------------ .../io/renku/search/model/EntityType.scala | 18 ------------------ .../io/renku/search/model/Firstname.scala | 18 ------------------ .../main/scala/io/renku/search/model/Id.scala | 18 ------------------ .../scala/io/renku/search/model/Keyword.scala | 18 ------------------ .../scala/io/renku/search/model/LastName.scala | 18 ------------------ .../io/renku/search/model/MemberRole.scala | 18 ------------------ .../scala/io/renku/search/model/Name.scala | 18 ------------------ .../io/renku/search/model/Namespace.scala | 18 ------------------ .../io/renku/search/model/Repository.scala | 18 ------------------ .../scala/io/renku/search/model/Slug.scala | 18 ------------------ .../io/renku/search/model/Timestamp.scala | 18 ------------------ .../scala/io/renku/search/model/Username.scala | 18 ------------------ .../io/renku/search/model/Visibility.scala | 18 ------------------ .../io/renku/search/GeneratorSyntax.scala | 18 ------------------ .../io/renku/search/LoggingConfigure.scala | 18 ------------------ .../test/scala/io/renku/search/TestClock.scala | 18 ------------------ .../test/scala/io/renku/search/Threading.scala | 18 ------------------ .../renku/search/common/CommonGenerators.scala | 18 ------------------ .../renku/search/common/UrlPatternSpec.scala | 18 ------------------ .../renku/search/model/ModelGenerators.scala | 18 ------------------ .../renku/search/config/ConfigDecoders.scala | 18 ------------------ .../io/renku/search/config/ConfigValues.scala | 18 ------------------ .../io/renku/search/config/QueuesConfig.scala | 18 ------------------ .../renku/search/events/DataContentType.scala | 18 ------------------ .../io/renku/search/events/DecodeFailure.scala | 18 ------------------ .../io/renku/search/events/EventMessage.scala | 18 ------------------ .../search/events/EventMessageDecoder.scala | 18 ------------------ .../io/renku/search/events/GroupAdded.scala | 18 ------------------ .../renku/search/events/GroupMemberAdded.scala | 18 ------------------ .../search/events/GroupMemberRemoved.scala | 18 ------------------ .../search/events/GroupMemberUpdated.scala | 18 ------------------ .../io/renku/search/events/GroupRemoved.scala | 18 ------------------ .../io/renku/search/events/GroupUpdated.scala | 18 ------------------ .../io/renku/search/events/MessageHeader.scala | 18 ------------------ .../io/renku/search/events/MessageId.scala | 18 ------------------ .../io/renku/search/events/MessageSource.scala | 18 ------------------ .../scala/io/renku/search/events/MsgType.scala | 18 ------------------ .../renku/search/events/ProjectCreated.scala | 18 ------------------ .../search/events/ProjectMemberAdded.scala | 18 ------------------ .../search/events/ProjectMemberRemoved.scala | 18 ------------------ .../search/events/ProjectMemberUpdated.scala | 18 ------------------ .../renku/search/events/ProjectRemoved.scala | 18 ------------------ .../renku/search/events/ProjectUpdated.scala | 18 ------------------ .../io/renku/search/events/QueueMessage.scala | 18 ------------------ .../search/events/RenkuEventPayload.scala | 18 ------------------ .../search/events/ReprovisioningFinished.scala | 18 ------------------ .../search/events/ReprovisioningStarted.scala | 18 ------------------ .../io/renku/search/events/RequestId.scala | 18 ------------------ .../io/renku/search/events/SchemaVersion.scala | 18 ------------------ .../renku/search/events/SyncEventMessage.scala | 18 ------------------ .../io/renku/search/events/UserAdded.scala | 18 ------------------ .../io/renku/search/events/UserRemoved.scala | 18 ------------------ .../io/renku/search/events/UserUpdated.scala | 18 ------------------ .../scala/io/renku/search/events/syntax.scala | 18 ------------------ .../io/renku/events/EventsGenerators.scala | 18 ------------------ .../scala/io/renku/events/RedisIdGen.scala | 18 ------------------ .../io/renku/events/SchemaVersionSpec.scala | 18 ------------------ .../events/SerializeDeserializeSpec.scala | 18 ------------------ .../search/events/MessageHeaderSpec.scala | 18 ------------------ .../io/renku/search/http/ClientBuilder.scala | 18 ------------------ .../io/renku/search/http/HttpClientDsl.scala | 18 ------------------ .../io/renku/search/http/LoggerProxy.scala | 18 ------------------ .../io/renku/search/http/ResponseLogging.scala | 18 ------------------ .../io/renku/search/http/RetryConfig.scala | 18 ------------------ .../io/renku/search/http/RetryStrategy.scala | 18 ------------------ .../search/http/avro/AvroEntityCodec.scala | 18 ------------------ .../search/http/borer/BorerDecodeFailure.scala | 18 ------------------ .../search/http/borer/BorerEntities.scala | 18 ------------------ .../http/borer/BorerEntityCborCodec.scala | 18 ------------------ .../http/borer/BorerEntityJsonCodec.scala | 18 ------------------ .../search/http/borer/Http4sJsonCodec.scala | 18 ------------------ .../renku/search/http/borer/StreamDecode.scala | 18 ------------------ .../search/http/borer/StreamProvider.scala | 18 ------------------ .../search/http/borer/TapirBorerJson.scala | 18 ------------------ .../io/renku/search/http/HttpServer.scala | 18 ------------------ .../renku/search/http/HttpServerConfig.scala | 18 ------------------ .../search/http/routes/OperationRoutes.scala | 18 ------------------ .../search/http/metrics/MetricsRoutes.scala | 18 ------------------ .../io/renku/search/metrics/Collector.scala | 18 ------------------ .../metrics/CollectorRegistryBuilder.scala | 18 ------------------ .../scala/io/renku/json/EncoderSupport.scala | 18 ------------------ .../main/scala/io/renku/json/LabelsMacro.scala | 18 ------------------ .../renku/json/codecs/DateTimeDecoders.scala | 18 ------------------ .../renku/json/codecs/DateTimeEncoders.scala | 18 ------------------ .../main/scala/io/renku/json/codecs/all.scala | 18 ------------------ .../scala/io/renku/json/JsonEncodingSpec.scala | 18 ------------------ .../scala/io/renku/search/jwt/BorerCodec.scala | 18 ------------------ .../scala/io/renku/search/jwt/JwtBorer.scala | 18 ------------------ .../scala/io/renku/search/jwt/RenkuToken.scala | 18 ------------------ .../io/renku/search/jwt/JwtBorerSpec.scala | 18 ------------------ .../io/renku/search/jwt/RenkuTokenSpec.scala | 18 ------------------ .../renku/openid/keycloak/BigIntDecode.scala | 18 ------------------ .../scala/io/renku/openid/keycloak/Curve.scala | 18 ------------------ .../openid/keycloak/DefaultJwtVerify.scala | 18 ------------------ .../io/renku/openid/keycloak/EcPublicKey.scala | 18 ------------------ .../io/renku/openid/keycloak/JsonWebKey.scala | 18 ------------------ .../scala/io/renku/openid/keycloak/Jwks.scala | 18 ------------------ .../io/renku/openid/keycloak/JwtError.scala | 18 ------------------ .../io/renku/openid/keycloak/JwtVerify.scala | 18 ------------------ .../openid/keycloak/JwtVerifyConfig.scala | 18 ------------------ .../scala/io/renku/openid/keycloak/KeyId.scala | 18 ------------------ .../io/renku/openid/keycloak/KeyType.scala | 18 ------------------ .../io/renku/openid/keycloak/KeyUse.scala | 18 ------------------ .../renku/openid/keycloak/OpenIdConfig.scala | 18 ------------------ .../renku/openid/keycloak/RsaPublicKey.scala | 18 ------------------ .../openid/keycloak/DefaultJwtVerifySpec.scala | 18 ------------------ .../renku/openid/keycloak/JsonWebKeySpec.scala | 18 ------------------ .../io/renku/openid/keycloak/JwksSpec.scala | 18 ------------------ .../renku/openid/keycloak/JwtResources.scala | 18 ------------------ .../openid/keycloak/OpenIdConfigSpec.scala | 18 ------------------ .../io/renku/redis/client/ClientCreator.scala | 18 ------------------ .../renku/redis/client/MessageBodyKeys.scala | 18 ------------------ .../io/renku/redis/client/RedisConfig.scala | 18 ------------------ .../io/renku/redis/client/RedisLogger.scala | 18 ------------------ .../io/renku/redis/client/RedisMessage.scala | 18 ------------------ .../renku/redis/client/RedisQueueClient.scala | 18 ------------------ .../renku/redis/client/StringBytesCodec.scala | 18 ------------------ .../scala/io/renku/redis/client/types.scala | 18 ------------------ .../redis/client/RedisClientGenerators.scala | 18 ------------------ .../redis/client/RedisQueueClientSpec.scala | 18 ------------------ .../redis/client/util/RedisBaseSuite.scala | 18 ------------------ .../renku/redis/client/util/RedisClients.scala | 18 ------------------ .../redis/client/util/RedisServerSuite.scala | 18 ------------------ .../client/util/TestSearchRedisServer.scala | 18 ------------------ .../io/renku/queue/client/QueueClient.scala | 18 ------------------ .../renku/queue/client/QueueClientImpl.scala | 18 ------------------ .../renku/queue/client/QueueClientSpec.scala | 18 ------------------ .../io/renku/queue/client/QueueSuite.scala | 18 ------------------ .../io/renku/search/api/Microservice.scala | 18 ------------------ .../scala/io/renku/search/api/SearchApi.scala | 18 ------------------ .../io/renku/search/api/SearchApiConfig.scala | 18 ------------------ .../io/renku/search/api/SearchApiImpl.scala | 18 ------------------ .../io/renku/search/api/SearchServer.scala | 18 ------------------ .../io/renku/search/api/ServiceRoutes.scala | 18 ------------------ .../renku/search/api/auth/Authenticate.scala | 18 ------------------ .../renku/search/api/auth/ClaimToContext.scala | 18 ------------------ .../io/renku/search/api/data/AuthContext.scala | 18 ------------------ .../io/renku/search/api/data/AuthToken.scala | 18 ------------------ .../search/api/data/EntityConverter.scala | 18 ------------------ .../io/renku/search/api/data/FacetData.scala | 18 ------------------ .../io/renku/search/api/data/PageDef.scala | 18 ------------------ .../renku/search/api/data/PageWithTotals.scala | 18 ------------------ .../io/renku/search/api/data/QueryInput.scala | 18 ------------------ .../renku/search/api/data/SearchEntity.scala | 18 ------------------ .../renku/search/api/data/SearchResult.scala | 18 ------------------ .../search/api/routes/OpenApiLegacyRoute.scala | 18 ------------------ .../renku/search/api/routes/OpenApiRoute.scala | 18 ------------------ .../search/api/routes/RoutesDefinition.scala | 18 ------------------ .../search/api/routes/SearchLegacyRoutes.scala | 18 ------------------ .../renku/search/api/routes/SearchRoutes.scala | 18 ------------------ .../renku/search/api/routes/VersionRoute.scala | 18 ------------------ .../io/renku/search/api/tapir/ApiSchema.scala | 18 ------------------ .../io/renku/search/api/tapir/Params.scala | 18 ------------------ .../renku/search/api/tapir/SchemaSyntax.scala | 18 ------------------ .../renku/search/api/tapir/TapirCodecs.scala | 18 ------------------ .../io/renku/search/api/SearchApiSpec.scala | 18 ------------------ .../io/renku/search/api/SearchRoutesSpec.scala | 18 ------------------ .../renku/search/api/SearchRoutesSuite.scala | 18 ------------------ .../search/api/auth/AuthenticateSpec.scala | 18 ------------------ .../search/api/auth/ClaimToContextSpec.scala | 18 ------------------ .../scala/io/renku/search/cli/CommonOpts.scala | 18 ------------------ .../scala/io/renku/search/cli/GroupCmd.scala | 18 ------------------ .../scala/io/renku/search/cli/ProjectCmd.scala | 18 ------------------ .../io/renku/search/cli/ReprovisionCmd.scala | 18 ------------------ .../scala/io/renku/search/cli/SearchCli.scala | 18 ------------------ .../scala/io/renku/search/cli/Services.scala | 18 ------------------ .../io/renku/search/cli/SubCommands.scala | 18 ------------------ .../scala/io/renku/search/cli/UserCmd.scala | 18 ------------------ .../io/renku/search/cli/groups/AddCmd.scala | 18 ------------------ .../renku/search/cli/groups/MemberAddCmd.scala | 18 ------------------ .../search/cli/groups/MemberRemoveCmd.scala | 18 ------------------ .../search/cli/groups/MemberUpdateCmd.scala | 18 ------------------ .../io/renku/search/cli/groups/RemoveCmd.scala | 18 ------------------ .../io/renku/search/cli/groups/UpdateCmd.scala | 18 ------------------ .../cli/perftests/DocumentsCreator.scala | 18 ------------------ .../renku/search/cli/perftests/Enqueuer.scala | 18 ------------------ .../search/cli/perftests/EventsGenerator.scala | 18 ------------------ .../cli/perftests/GitLabDocsCreator.scala | 18 ------------------ .../search/cli/perftests/GitLabEntities.scala | 18 ------------------ .../cli/perftests/ModelTypesGenerators.scala | 18 ------------------ .../cli/perftests/NewProjectEvents.scala | 18 ------------------ .../search/cli/perftests/PerfTestsConfig.scala | 18 ------------------ .../search/cli/perftests/PerfTestsRunner.scala | 18 ------------------ .../cli/perftests/ProjectEventsGenerator.scala | 18 ------------------ .../search/cli/perftests/QueueDelivery.scala | 18 ------------------ .../cli/perftests/RandommerIoDocsCreator.scala | 18 ------------------ .../renku/search/cli/projects/CreateCmd.scala | 18 ------------------ .../search/cli/projects/MemberAddCmd.scala | 18 ------------------ .../search/cli/projects/MemberRemoveCmd.scala | 18 ------------------ .../search/cli/projects/MemberUpdateCmd.scala | 18 ------------------ .../renku/search/cli/projects/RemoveCmd.scala | 18 ------------------ .../renku/search/cli/projects/UpdateCmd.scala | 18 ------------------ .../search/cli/reprovision/FinishCmd.scala | 18 ------------------ .../search/cli/reprovision/StartCmd.scala | 18 ------------------ .../io/renku/search/cli/users/AddCmd.scala | 18 ------------------ .../io/renku/search/cli/users/RemoveCmd.scala | 18 ------------------ .../io/renku/search/cli/users/UpdateCmd.scala | 18 ------------------ .../provision/BackgroundProcessManage.scala | 18 ------------------ .../search/provision/MessageHandlers.scala | 18 ------------------ .../search/provision/MessageMetrics.scala | 18 ------------------ .../renku/search/provision/Microservice.scala | 18 ------------------ .../io/renku/search/provision/Routes.scala | 18 ------------------ .../provision/SearchProvisionConfig.scala | 18 ------------------ .../io/renku/search/provision/Services.scala | 18 ------------------ .../search/provision/SyncMessageHandler.scala | 18 ------------------ .../search/provision/events/Conversion.scala | 18 ------------------ .../renku/search/provision/events/Groups.scala | 18 ------------------ .../events/ProjectAuthorization.scala | 18 ------------------ .../search/provision/events/Projects.scala | 18 ------------------ .../renku/search/provision/events/Users.scala | 18 ------------------ .../renku/search/provision/events/syntax.scala | 18 ------------------ .../provision/handler/DeleteFromSolr.scala | 18 ------------------ .../provision/handler/DocumentMerger.scala | 18 ------------------ .../handler/EntityOrPartialMessage.scala | 18 ------------------ .../provision/handler/FetchFromSolr.scala | 18 ------------------ .../search/provision/handler/IdExtractor.scala | 18 ------------------ .../provision/handler/MessageReader.scala | 18 ------------------ .../renku/search/provision/handler/Model.scala | 18 ------------------ .../provision/handler/PipelineSteps.scala | 18 ------------------ .../search/provision/handler/PushToSolr.scala | 18 ------------------ .../search/provision/handler/UserUtils.scala | 18 ------------------ .../provision/metrics/CollectorUpdater.scala | 18 ------------------ .../provision/metrics/DocumentKindGauge.scala | 18 ------------------ .../metrics/DocumentKindGaugeUpdater.scala | 18 ------------------ .../metrics/MetricsCollectorsUpdater.scala | 18 ------------------ .../search/provision/metrics/QueueGauge.scala | 18 ------------------ .../provision/metrics/QueueSizeGauge.scala | 18 ------------------ .../metrics/QueueSizeGaugeUpdater.scala | 18 ------------------ .../provision/metrics/RedisMetrics.scala | 18 ------------------ .../RedisMetricsCollectorsUpdater.scala | 18 ------------------ .../search/provision/metrics/SolrMetrics.scala | 18 ------------------ .../metrics/SolrMetricsCollectorsUpdater.scala | 18 ------------------ .../metrics/UnprocessedCountGauge.scala | 18 ------------------ .../metrics/UnprocessedCountGaugeUpdater.scala | 18 ------------------ .../provision/process/GenericDelete.scala | 18 ------------------ .../provision/process/GenericUpsert.scala | 18 ------------------ .../provision/process/GroupMemberUpsert.scala | 18 ------------------ .../search/provision/process/GroupRemove.scala | 18 ------------------ .../search/provision/process/GroupUpdate.scala | 18 ------------------ .../provision/process/ProjectUpsert.scala | 18 ------------------ .../provision/process/Reprovisioning.scala | 18 ------------------ .../search/provision/process/UserDelete.scala | 18 ------------------ .../provision/reindex/ReIndexDocument.scala | 18 ------------------ .../provision/reindex/ReIndexService.scala | 18 ------------------ .../provision/reindex/ReprovisionService.scala | 18 ------------------ .../reindex/ReprovisionServiceImpl.scala | 18 ------------------ .../search/provision/BackgroundCollector.scala | 18 ------------------ .../BackgroundProcessManageSpec.scala | 18 ------------------ .../provision/ConcurrentUpdateSpec.scala | 18 ------------------ .../search/provision/ProvisioningSuite.scala | 18 ------------------ .../renku/search/provision/TestServices.scala | 18 ------------------ .../group/GroupAddedProvisioningSpec.scala | 18 ------------------ .../provision/group/GroupMemberAddedSpec.scala | 18 ------------------ .../group/GroupMemberRemovedSpec.scala | 18 ------------------ .../group/GroupMemberUpdatedSpec.scala | 18 ------------------ .../group/GroupRemovedProcessSpec.scala | 18 ------------------ .../group/GroupUpdatedProvisioningSpec.scala | 18 ------------------ .../metrics/DocumentKindGaugeUpdaterSpec.scala | 18 ------------------ .../AuthorizationAddedProvisioningSpec.scala | 18 ------------------ .../AuthorizationRemovedProvisioningSpec.scala | 18 ------------------ .../AuthorizationUpdatedProvisioningSpec.scala | 18 ------------------ .../ProjectCreatedProvisioningSpec.scala | 18 ------------------ .../project/ProjectRemovedProcessSpec.scala | 18 ------------------ .../ProjectUpdatedProvisioningSpec.scala | 18 ------------------ .../provision/reindex/ReIndexServiceSpec.scala | 18 ------------------ .../reindex/ReprovisionServiceSpec.scala | 18 ------------------ .../user/UserAddedProvisioningSpec.scala | 18 ------------------ .../user/UserRemovedProcessSpec.scala | 18 ------------------ .../user/UserUpdatedProvisioningSpec.scala | 18 ------------------ .../io/renku/search/query/Comparison.scala | 18 ------------------ .../io/renku/search/query/DateTimeCalc.scala | 18 ------------------ .../io/renku/search/query/DateTimeRef.scala | 18 ------------------ .../scala/io/renku/search/query/Field.scala | 18 ------------------ .../io/renku/search/query/FieldTerm.scala | 18 ------------------ .../scala/io/renku/search/query/Order.scala | 18 ------------------ .../renku/search/query/PartialDateTime.scala | 18 ------------------ .../scala/io/renku/search/query/Query.scala | 18 ------------------ .../io/renku/search/query/RelativeDate.scala | 18 ------------------ .../io/renku/search/query/SortableField.scala | 18 ------------------ .../scala/io/renku/search/query/Strings.scala | 18 ------------------ .../search/query/parse/DateTimeParser.scala | 18 ------------------ .../renku/search/query/parse/QueryParser.scala | 18 ------------------ .../renku/search/query/parse/QueryUtil.scala | 18 ------------------ .../renku/search/query/DateTimeRefSpec.scala | 18 ------------------ .../search/query/PartialDateTimeSpec.scala | 18 ------------------ .../renku/search/query/QueryGenerators.scala | 18 ------------------ .../io/renku/search/query/StringsSpec.scala | 18 ------------------ .../query/parse/DateTimeParserSpec.scala | 18 ------------------ .../renku/search/query/parse/ParserSuite.scala | 18 ------------------ .../search/query/parse/QueryParserSpec.scala | 18 ------------------ .../io/renku/search/solr/SearchRole.scala | 18 ------------------ .../search/solr/client/RenkuEntityQuery.scala | 18 ------------------ .../search/solr/client/SearchSolrClient.scala | 18 ------------------ .../solr/client/SearchSolrClientImpl.scala | 18 ------------------ .../search/solr/documents/CompoundId.scala | 18 ------------------ .../search/solr/documents/DocumentKind.scala | 18 ------------------ .../search/solr/documents/EntityDocument.scala | 18 ------------------ .../search/solr/documents/EntityMembers.scala | 18 ------------------ .../solr/documents/PartialEntityDocument.scala | 18 ------------------ .../search/solr/documents/SolrDocument.scala | 18 ------------------ .../io/renku/search/solr/query/Context.scala | 18 ------------------ .../solr/query/LuceneQueryEncoders.scala | 18 ------------------ .../solr/query/LuceneQueryInterpreter.scala | 18 ------------------ .../search/solr/query/QueryInterpreter.scala | 18 ------------------ .../io/renku/search/solr/query/SolrQuery.scala | 18 ------------------ .../search/solr/query/SolrSortCreate.scala | 18 ------------------ .../io/renku/search/solr/query/SolrToken.scala | 18 ------------------ .../search/solr/query/SolrTokenEncoder.scala | 18 ------------------ .../renku/search/solr/query/StringEscape.scala | 18 ------------------ .../search/solr/schema/Discriminator.scala | 18 ------------------ .../solr/schema/EntityDocumentSchema.scala | 18 ------------------ .../renku/search/solr/schema/Migrations.scala | 18 ------------------ .../solr/client/RenkuEntityQuerySpec.scala | 18 ------------------ .../solr/client/SearchSolrClientSpec.scala | 18 ------------------ .../search/solr/client/SearchSolrSuite.scala | 18 ------------------ .../solr/client/SolrDocumentGenerators.scala | 18 ------------------ .../solr/documents/EntityEncodingSpec.scala | 18 ------------------ .../solr/documents/EntityMembersSpec.scala | 18 ------------------ .../search/solr/documents/EntityOps.scala | 18 ------------------ .../solr/documents/PartialProjectSpec.scala | 18 ------------------ .../search/solr/documents/ProjectSpec.scala | 18 ------------------ .../renku/search/solr/query/AuthTestData.scala | 18 ------------------ .../solr/query/LuceneQueryEncoderSpec.scala | 18 ------------------ .../query/LuceneQueryInterpreterSpec.scala | 18 ------------------ .../search/solr/query/SolrTokenSpec.scala | 18 ------------------ .../search/solr/query/StringEscapeSpec.scala | 18 ------------------ .../scala/io/renku/search/sentry/Level.scala | 18 ------------------ .../scala/io/renku/search/sentry/Sentry.scala | 18 ------------------ .../io/renku/search/sentry/SentryConfig.scala | 18 ------------------ .../io/renku/search/sentry/SentryDsn.scala | 18 ------------------ .../io/renku/search/sentry/SentryEnv.scala | 18 ------------------ .../io/renku/search/sentry/SentryEvent.scala | 18 ------------------ .../scala/io/renku/search/sentry/TagName.scala | 18 ------------------ .../io/renku/search/sentry/TagValue.scala | 18 ------------------ .../search/sentry/scribe/SentryHandler.scala | 18 ------------------ .../renku/search/sentry/SentryConfigSpec.scala | 18 ------------------ .../io/renku/solr/client/CoreResponse.scala | 18 ------------------ .../renku/solr/client/CreateCoreRequest.scala | 18 ------------------ .../io/renku/solr/client/CursorMark.scala | 18 ------------------ .../renku/solr/client/DeleteCoreRequest.scala | 18 ------------------ .../io/renku/solr/client/DeleteIdRequest.scala | 18 ------------------ .../io/renku/solr/client/DeleteRequest.scala | 18 ------------------ .../io/renku/solr/client/DocVersion.scala | 18 ------------------ .../io/renku/solr/client/GetByIdResponse.scala | 18 ------------------ .../io/renku/solr/client/InsertResponse.scala | 18 ------------------ .../scala/io/renku/solr/client/QueryData.scala | 18 ------------------ .../io/renku/solr/client/QueryResponse.scala | 18 ------------------ .../io/renku/solr/client/QueryString.scala | 18 ------------------ .../io/renku/solr/client/ResponseBody.scala | 18 ------------------ .../io/renku/solr/client/ResponseHeader.scala | 18 ------------------ .../io/renku/solr/client/SchemaResponse.scala | 18 ------------------ .../io/renku/solr/client/SolrClient.scala | 18 ------------------ .../io/renku/solr/client/SolrClientImpl.scala | 18 ------------------ .../io/renku/solr/client/SolrConfig.scala | 18 ------------------ .../io/renku/solr/client/SolrEntityCodec.scala | 18 ------------------ .../scala/io/renku/solr/client/SolrSort.scala | 18 ------------------ .../io/renku/solr/client/StatusResponse.scala | 18 ------------------ .../scala/io/renku/solr/client/SubQuery.scala | 18 ------------------ .../io/renku/solr/client/UpsertResponse.scala | 18 ------------------ .../io/renku/solr/client/facet/Facet.scala | 18 ------------------ .../solr/client/facet/FacetAlgorithm.scala | 18 ------------------ .../renku/solr/client/facet/FacetRange.scala | 18 ------------------ .../solr/client/facet/FacetResponse.scala | 18 ------------------ .../io/renku/solr/client/facet/Facets.scala | 18 ------------------ .../solr/client/migration/MigrateResult.scala | 18 ------------------ .../client/migration/SchemaMigration.scala | 18 ------------------ .../solr/client/migration/SchemaMigrator.scala | 18 ------------------ .../client/migration/VersionDocument.scala | 18 ------------------ .../io/renku/solr/client/schema/Analyzer.scala | 18 ------------------ .../solr/client/schema/CopyFieldRule.scala | 18 ------------------ .../renku/solr/client/schema/CoreSchema.scala | 18 ------------------ .../solr/client/schema/DynamicFieldRule.scala | 18 ------------------ .../io/renku/solr/client/schema/Field.scala | 18 ------------------ .../renku/solr/client/schema/FieldName.scala | 18 ------------------ .../renku/solr/client/schema/FieldType.scala | 18 ------------------ .../solr/client/schema/FieldTypeClass.scala | 18 ------------------ .../io/renku/solr/client/schema/Filter.scala | 18 ------------------ .../solr/client/schema/SchemaCommand.scala | 18 ------------------ .../solr/client/schema/SchemaJsonCodec.scala | 18 ------------------ .../renku/solr/client/schema/Tokenizer.scala | 18 ------------------ .../io/renku/solr/client/schema/TypeName.scala | 18 ------------------ .../client/util/DocumentLockResource.scala | 18 ------------------ .../renku/solr/client/util/LockDocument.scala | 18 ------------------ .../solr/client/RetryOnConflictSpec.scala | 18 ------------------ .../client/SearchCaseInsensitiveSpec.scala | 18 ------------------ .../solr/client/SolrClientGenerator.scala | 18 ------------------ .../io/renku/solr/client/SolrClientSpec.scala | 18 ------------------ .../renku/solr/client/facet/FacetsSpec.scala | 18 ------------------ .../client/migration/SolrMigratorSpec.scala | 18 ------------------ .../client/schema/BorerJsonCodecTest.scala | 18 ------------------ .../client/util/DocumentLockResourceSpec.scala | 18 ------------------ .../solr/client/util/SolrClientBaseSuite.scala | 18 ------------------ .../solr/client/util/SolrServerSuite.scala | 18 ------------------ .../renku/solr/client/util/SolrTruncate.scala | 18 ------------------ .../client/util/TestSearchSolrServer.scala | 18 ------------------ 435 files changed, 7830 deletions(-) diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/AvroCodecException.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/AvroCodecException.scala index 10972158..92ae7ca5 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/AvroCodecException.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/AvroCodecException.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.avro.codec sealed abstract class AvroCodecException(msg: String) extends RuntimeException(msg) diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/AvroDecoder.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/AvroDecoder.scala index 76c0172e..0797fbbd 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/AvroDecoder.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/AvroDecoder.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.avro.codec import io.renku.avro.codec.decoders.RecordDecoders diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/AvroEncoder.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/AvroEncoder.scala index faef8134..ec054a6c 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/AvroEncoder.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/AvroEncoder.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.avro.codec import io.renku.avro.codec.encoders.RecordEncoders diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/AvroIO.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/AvroIO.scala index 38bc5d95..d6caf79a 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/AvroIO.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/AvroIO.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.avro.codec import org.apache.avro.Schema import scodec.bits.ByteVector diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/AvroReader.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/AvroReader.scala index bc4a5a0c..436672bd 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/AvroReader.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/AvroReader.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.avro.codec import org.apache.avro.Schema diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/AvroWriter.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/AvroWriter.scala index eb9918c8..c6f47f8e 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/AvroWriter.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/AvroWriter.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.avro.codec import org.apache.avro.Schema diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/ByteVectorInput.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/ByteVectorInput.scala index 7861d1a4..a4f8f77a 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/ByteVectorInput.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/ByteVectorInput.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.avro.codec import org.apache.avro.file.SeekableInput diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/BigDecimalDecoders.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/BigDecimalDecoders.scala index 88703163..4db7a980 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/BigDecimalDecoders.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/BigDecimalDecoders.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.avro.codec.decoders import io.renku.avro.codec.{AvroCodecException, AvroDecoder} diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/ByteArrayDecoders.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/ByteArrayDecoders.scala index 320f4e33..8d6cfaab 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/ByteArrayDecoders.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/ByteArrayDecoders.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.avro.codec.decoders import io.renku.avro.codec.{AvroCodecException, AvroDecoder} diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/CollectionDecoders.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/CollectionDecoders.scala index 7cd9a39f..4e909c92 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/CollectionDecoders.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/CollectionDecoders.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.avro.codec.decoders import io.renku.avro.codec.{AvroCodecException, AvroDecoder} diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/DateTimeDecoders.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/DateTimeDecoders.scala index 83959d12..54f830ab 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/DateTimeDecoders.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/DateTimeDecoders.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.avro.codec.decoders import io.renku.avro.codec.{AvroCodecException, AvroDecoder} diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/EitherDecoders.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/EitherDecoders.scala index 4c15a184..d7f4e281 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/EitherDecoders.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/EitherDecoders.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.avro.codec.decoders import io.renku.avro.codec.{AvroCodecException, AvroDecoder} diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/JavaEnumDecoders.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/JavaEnumDecoders.scala index 7f69344b..111bb20c 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/JavaEnumDecoders.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/JavaEnumDecoders.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.avro.codec.decoders import io.renku.avro.codec.AvroDecoder diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/OptionDecoders.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/OptionDecoders.scala index e6f0e630..5975074c 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/OptionDecoders.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/OptionDecoders.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.avro.codec.decoders import io.renku.avro.codec.AvroDecoder diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/PrimitiveDecoders.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/PrimitiveDecoders.scala index da21abc9..efdaa594 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/PrimitiveDecoders.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/PrimitiveDecoders.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.avro.codec.decoders import io.renku.avro.codec.{AvroCodecException, AvroDecoder} diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/RecordDecoders.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/RecordDecoders.scala index ff5a29fc..08c8264e 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/RecordDecoders.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/RecordDecoders.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.avro.codec.decoders import io.renku.avro.codec.{AvroCodecException, AvroDecoder} diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/StringDecoders.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/StringDecoders.scala index 3e2935ce..e727de89 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/StringDecoders.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/StringDecoders.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.avro.codec.decoders import io.renku.avro.codec.{AvroCodecException, AvroDecoder} diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/TypeGuardedDecoding.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/TypeGuardedDecoding.scala index 4ebb25b3..65437aaa 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/TypeGuardedDecoding.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/TypeGuardedDecoding.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.avro.codec.decoders import org.apache.avro.Schema diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/all.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/all.scala index a8655e1b..b7084658 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/all.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/all.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.avro.codec.decoders trait all diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/AvroRecord.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/AvroRecord.scala index 1a8f6d66..b76224bd 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/AvroRecord.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/AvroRecord.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.avro.codec.encoders import org.apache.avro.Schema diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/BigDecimalEncoders.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/BigDecimalEncoders.scala index fa39b395..1db8f514 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/BigDecimalEncoders.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/BigDecimalEncoders.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.avro.codec.encoders import io.renku.avro.codec.{AvroCodecException, AvroEncoder} diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/ByteArrayEncoders.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/ByteArrayEncoders.scala index 635466ba..ad43bdf6 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/ByteArrayEncoders.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/ByteArrayEncoders.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.avro.codec.encoders import io.renku.avro.codec.{AvroCodecException, AvroEncoder} diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/CollectionEncoders.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/CollectionEncoders.scala index 222c66d9..ace18f14 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/CollectionEncoders.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/CollectionEncoders.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.avro.codec.encoders import io.renku.avro.codec.AvroEncoder diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/DateTimeEncoders.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/DateTimeEncoders.scala index f37e9e4d..2578e1b2 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/DateTimeEncoders.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/DateTimeEncoders.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.avro.codec.encoders import io.renku.avro.codec.{AvroCodecException, AvroEncoder} diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/EitherEncoders.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/EitherEncoders.scala index 5efc2950..969a1bad 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/EitherEncoders.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/EitherEncoders.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.avro.codec.encoders import io.renku.avro.codec.AvroEncoder diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/JavaEnumEncoders.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/JavaEnumEncoders.scala index 0bf7a087..538e7685 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/JavaEnumEncoders.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/JavaEnumEncoders.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.avro.codec.encoders import io.renku.avro.codec.AvroEncoder diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/OptionEncoders.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/OptionEncoders.scala index c293897b..286f854b 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/OptionEncoders.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/OptionEncoders.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.avro.codec.encoders import io.renku.avro.codec.AvroEncoder diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/PrimitiveEncoders.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/PrimitiveEncoders.scala index 448d8f8b..7ad3537e 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/PrimitiveEncoders.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/PrimitiveEncoders.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.avro.codec.encoders import io.renku.avro.codec.AvroEncoder diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/RecordEncoders.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/RecordEncoders.scala index bb67bf76..4f8fc6ae 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/RecordEncoders.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/RecordEncoders.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.avro.codec.encoders import io.renku.avro.codec.AvroEncoder diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/StringEncoders.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/StringEncoders.scala index 12fe92cb..c530cd79 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/StringEncoders.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/StringEncoders.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.avro.codec.encoders import io.renku.avro.codec.{AvroCodecException, AvroEncoder} diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/all.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/all.scala index a5810637..debfe4da 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/all.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/all.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.avro.codec.encoders trait all diff --git a/modules/avro-codec/src/test/scala/io/renku/avro/codec/AvroReaderSpec.scala b/modules/avro-codec/src/test/scala/io/renku/avro/codec/AvroReaderSpec.scala index 214d429d..5333c14e 100644 --- a/modules/avro-codec/src/test/scala/io/renku/avro/codec/AvroReaderSpec.scala +++ b/modules/avro-codec/src/test/scala/io/renku/avro/codec/AvroReaderSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.avro.codec import io.renku.avro.codec.decoders.all.given diff --git a/modules/avro-codec/src/test/scala/io/renku/avro/codec/encoders/StringEncodersTest.scala b/modules/avro-codec/src/test/scala/io/renku/avro/codec/encoders/StringEncodersTest.scala index 639ea966..d19f4af2 100644 --- a/modules/avro-codec/src/test/scala/io/renku/avro/codec/encoders/StringEncodersTest.scala +++ b/modules/avro-codec/src/test/scala/io/renku/avro/codec/encoders/StringEncodersTest.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.avro.codec.encoders import io.renku.avro.codec.{AvroDecoder, AvroEncoder} diff --git a/modules/commons/src/main/scala/io/renku/search/common/CurrentVersion.scala b/modules/commons/src/main/scala/io/renku/search/common/CurrentVersion.scala index 884414e1..234b13f0 100644 --- a/modules/commons/src/main/scala/io/renku/search/common/CurrentVersion.scala +++ b/modules/commons/src/main/scala/io/renku/search/common/CurrentVersion.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.common import io.bullet.borer.Decoder diff --git a/modules/commons/src/main/scala/io/renku/search/common/ScodecInstances.scala b/modules/commons/src/main/scala/io/renku/search/common/ScodecInstances.scala index a9d19b05..27efcf5b 100644 --- a/modules/commons/src/main/scala/io/renku/search/common/ScodecInstances.scala +++ b/modules/commons/src/main/scala/io/renku/search/common/ScodecInstances.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.common import cats.Monoid diff --git a/modules/commons/src/main/scala/io/renku/search/common/UrlPattern.scala b/modules/commons/src/main/scala/io/renku/search/common/UrlPattern.scala index 58192e7b..f1dfb09f 100644 --- a/modules/commons/src/main/scala/io/renku/search/common/UrlPattern.scala +++ b/modules/commons/src/main/scala/io/renku/search/common/UrlPattern.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.common import io.renku.search.common.UrlPattern.Segment diff --git a/modules/commons/src/main/scala/io/renku/search/logging/LoggingSetup.scala b/modules/commons/src/main/scala/io/renku/search/logging/LoggingSetup.scala index a86be4b9..d59e9bf3 100644 --- a/modules/commons/src/main/scala/io/renku/search/logging/LoggingSetup.scala +++ b/modules/commons/src/main/scala/io/renku/search/logging/LoggingSetup.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.logging import scribe.Level diff --git a/modules/commons/src/main/scala/io/renku/search/model/CreationDate.scala b/modules/commons/src/main/scala/io/renku/search/model/CreationDate.scala index 36097f2e..0c2d1049 100644 --- a/modules/commons/src/main/scala/io/renku/search/model/CreationDate.scala +++ b/modules/commons/src/main/scala/io/renku/search/model/CreationDate.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.model import java.time.Instant diff --git a/modules/commons/src/main/scala/io/renku/search/model/Description.scala b/modules/commons/src/main/scala/io/renku/search/model/Description.scala index 126ae917..ef55bda8 100644 --- a/modules/commons/src/main/scala/io/renku/search/model/Description.scala +++ b/modules/commons/src/main/scala/io/renku/search/model/Description.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.model import io.bullet.borer.Codec diff --git a/modules/commons/src/main/scala/io/renku/search/model/Email.scala b/modules/commons/src/main/scala/io/renku/search/model/Email.scala index a7ecd8be..9d64c21e 100644 --- a/modules/commons/src/main/scala/io/renku/search/model/Email.scala +++ b/modules/commons/src/main/scala/io/renku/search/model/Email.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.model import io.bullet.borer.Codec diff --git a/modules/commons/src/main/scala/io/renku/search/model/EntityType.scala b/modules/commons/src/main/scala/io/renku/search/model/EntityType.scala index a7c48e10..da38b123 100644 --- a/modules/commons/src/main/scala/io/renku/search/model/EntityType.scala +++ b/modules/commons/src/main/scala/io/renku/search/model/EntityType.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.model import io.bullet.borer.Decoder diff --git a/modules/commons/src/main/scala/io/renku/search/model/Firstname.scala b/modules/commons/src/main/scala/io/renku/search/model/Firstname.scala index 1221c750..5719524c 100644 --- a/modules/commons/src/main/scala/io/renku/search/model/Firstname.scala +++ b/modules/commons/src/main/scala/io/renku/search/model/Firstname.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.model import io.bullet.borer.Codec diff --git a/modules/commons/src/main/scala/io/renku/search/model/Id.scala b/modules/commons/src/main/scala/io/renku/search/model/Id.scala index 5dc5dec3..9d2db344 100644 --- a/modules/commons/src/main/scala/io/renku/search/model/Id.scala +++ b/modules/commons/src/main/scala/io/renku/search/model/Id.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.model import cats.Show diff --git a/modules/commons/src/main/scala/io/renku/search/model/Keyword.scala b/modules/commons/src/main/scala/io/renku/search/model/Keyword.scala index 7ef9e877..96efabd5 100644 --- a/modules/commons/src/main/scala/io/renku/search/model/Keyword.scala +++ b/modules/commons/src/main/scala/io/renku/search/model/Keyword.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.model import cats.{Eq, Order} diff --git a/modules/commons/src/main/scala/io/renku/search/model/LastName.scala b/modules/commons/src/main/scala/io/renku/search/model/LastName.scala index e3eabb79..a7332602 100644 --- a/modules/commons/src/main/scala/io/renku/search/model/LastName.scala +++ b/modules/commons/src/main/scala/io/renku/search/model/LastName.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.model import io.bullet.borer.Codec diff --git a/modules/commons/src/main/scala/io/renku/search/model/MemberRole.scala b/modules/commons/src/main/scala/io/renku/search/model/MemberRole.scala index 31c3bba3..c0d2c280 100644 --- a/modules/commons/src/main/scala/io/renku/search/model/MemberRole.scala +++ b/modules/commons/src/main/scala/io/renku/search/model/MemberRole.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.model import cats.kernel.Order diff --git a/modules/commons/src/main/scala/io/renku/search/model/Name.scala b/modules/commons/src/main/scala/io/renku/search/model/Name.scala index c94af2d0..99a001ca 100644 --- a/modules/commons/src/main/scala/io/renku/search/model/Name.scala +++ b/modules/commons/src/main/scala/io/renku/search/model/Name.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.model import io.bullet.borer.Codec diff --git a/modules/commons/src/main/scala/io/renku/search/model/Namespace.scala b/modules/commons/src/main/scala/io/renku/search/model/Namespace.scala index 238f4f87..eb319cb1 100644 --- a/modules/commons/src/main/scala/io/renku/search/model/Namespace.scala +++ b/modules/commons/src/main/scala/io/renku/search/model/Namespace.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.model import io.bullet.borer.{Decoder, Encoder} diff --git a/modules/commons/src/main/scala/io/renku/search/model/Repository.scala b/modules/commons/src/main/scala/io/renku/search/model/Repository.scala index 8b161308..1de2c67b 100644 --- a/modules/commons/src/main/scala/io/renku/search/model/Repository.scala +++ b/modules/commons/src/main/scala/io/renku/search/model/Repository.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.model import cats.kernel.Order diff --git a/modules/commons/src/main/scala/io/renku/search/model/Slug.scala b/modules/commons/src/main/scala/io/renku/search/model/Slug.scala index 5ec1df3a..350f26e7 100644 --- a/modules/commons/src/main/scala/io/renku/search/model/Slug.scala +++ b/modules/commons/src/main/scala/io/renku/search/model/Slug.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.model import cats.kernel.Order diff --git a/modules/commons/src/main/scala/io/renku/search/model/Timestamp.scala b/modules/commons/src/main/scala/io/renku/search/model/Timestamp.scala index 15f70633..1f769b83 100644 --- a/modules/commons/src/main/scala/io/renku/search/model/Timestamp.scala +++ b/modules/commons/src/main/scala/io/renku/search/model/Timestamp.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.model import java.time.Instant diff --git a/modules/commons/src/main/scala/io/renku/search/model/Username.scala b/modules/commons/src/main/scala/io/renku/search/model/Username.scala index 90399cd6..2a66d1ef 100644 --- a/modules/commons/src/main/scala/io/renku/search/model/Username.scala +++ b/modules/commons/src/main/scala/io/renku/search/model/Username.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.model import io.bullet.borer.Codec diff --git a/modules/commons/src/main/scala/io/renku/search/model/Visibility.scala b/modules/commons/src/main/scala/io/renku/search/model/Visibility.scala index 82d1d4cd..f02567af 100644 --- a/modules/commons/src/main/scala/io/renku/search/model/Visibility.scala +++ b/modules/commons/src/main/scala/io/renku/search/model/Visibility.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.model import cats.kernel.Order diff --git a/modules/commons/src/test/scala/io/renku/search/GeneratorSyntax.scala b/modules/commons/src/test/scala/io/renku/search/GeneratorSyntax.scala index d4e04bb2..c8a5c0e4 100644 --- a/modules/commons/src/test/scala/io/renku/search/GeneratorSyntax.scala +++ b/modules/commons/src/test/scala/io/renku/search/GeneratorSyntax.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search import cats.arrow.FunctionK diff --git a/modules/commons/src/test/scala/io/renku/search/LoggingConfigure.scala b/modules/commons/src/test/scala/io/renku/search/LoggingConfigure.scala index 9d67205e..95d1fdd3 100644 --- a/modules/commons/src/test/scala/io/renku/search/LoggingConfigure.scala +++ b/modules/commons/src/test/scala/io/renku/search/LoggingConfigure.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search import io.renku.search.logging.LoggingSetup diff --git a/modules/commons/src/test/scala/io/renku/search/TestClock.scala b/modules/commons/src/test/scala/io/renku/search/TestClock.scala index 6c18660a..0c5e38f7 100644 --- a/modules/commons/src/test/scala/io/renku/search/TestClock.scala +++ b/modules/commons/src/test/scala/io/renku/search/TestClock.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search import java.time.{Clock as _, *} diff --git a/modules/commons/src/test/scala/io/renku/search/Threading.scala b/modules/commons/src/test/scala/io/renku/search/Threading.scala index 2f30e8b3..4eb766bb 100644 --- a/modules/commons/src/test/scala/io/renku/search/Threading.scala +++ b/modules/commons/src/test/scala/io/renku/search/Threading.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search import java.util.concurrent.CountDownLatch diff --git a/modules/commons/src/test/scala/io/renku/search/common/CommonGenerators.scala b/modules/commons/src/test/scala/io/renku/search/common/CommonGenerators.scala index 4864d685..e79d4441 100644 --- a/modules/commons/src/test/scala/io/renku/search/common/CommonGenerators.scala +++ b/modules/commons/src/test/scala/io/renku/search/common/CommonGenerators.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.common import cats.data.NonEmptyList diff --git a/modules/commons/src/test/scala/io/renku/search/common/UrlPatternSpec.scala b/modules/commons/src/test/scala/io/renku/search/common/UrlPatternSpec.scala index 8d265f16..96b526a9 100644 --- a/modules/commons/src/test/scala/io/renku/search/common/UrlPatternSpec.scala +++ b/modules/commons/src/test/scala/io/renku/search/common/UrlPatternSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.common import io.renku.search.common.UrlPattern.{Segment, UrlParts} diff --git a/modules/commons/src/test/scala/io/renku/search/model/ModelGenerators.scala b/modules/commons/src/test/scala/io/renku/search/model/ModelGenerators.scala index 8f2347a4..123f1296 100644 --- a/modules/commons/src/test/scala/io/renku/search/model/ModelGenerators.scala +++ b/modules/commons/src/test/scala/io/renku/search/model/ModelGenerators.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.model import java.time.Instant diff --git a/modules/config-values/src/main/scala/io/renku/search/config/ConfigDecoders.scala b/modules/config-values/src/main/scala/io/renku/search/config/ConfigDecoders.scala index 918d53d3..42098cf0 100644 --- a/modules/config-values/src/main/scala/io/renku/search/config/ConfigDecoders.scala +++ b/modules/config-values/src/main/scala/io/renku/search/config/ConfigDecoders.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.config import cats.Show diff --git a/modules/config-values/src/main/scala/io/renku/search/config/ConfigValues.scala b/modules/config-values/src/main/scala/io/renku/search/config/ConfigValues.scala index 1c107dfe..98208752 100644 --- a/modules/config-values/src/main/scala/io/renku/search/config/ConfigValues.scala +++ b/modules/config-values/src/main/scala/io/renku/search/config/ConfigValues.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.config import cats.syntax.all.* diff --git a/modules/config-values/src/main/scala/io/renku/search/config/QueuesConfig.scala b/modules/config-values/src/main/scala/io/renku/search/config/QueuesConfig.scala index b85f2191..dcced72c 100644 --- a/modules/config-values/src/main/scala/io/renku/search/config/QueuesConfig.scala +++ b/modules/config-values/src/main/scala/io/renku/search/config/QueuesConfig.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.config import cats.syntax.all.* diff --git a/modules/events/src/main/scala/io/renku/search/events/DataContentType.scala b/modules/events/src/main/scala/io/renku/search/events/DataContentType.scala index af0255c0..da9cde0f 100644 --- a/modules/events/src/main/scala/io/renku/search/events/DataContentType.scala +++ b/modules/events/src/main/scala/io/renku/search/events/DataContentType.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.events enum DataContentType(val mimeType: String): diff --git a/modules/events/src/main/scala/io/renku/search/events/DecodeFailure.scala b/modules/events/src/main/scala/io/renku/search/events/DecodeFailure.scala index 86be207a..4dcd957d 100644 --- a/modules/events/src/main/scala/io/renku/search/events/DecodeFailure.scala +++ b/modules/events/src/main/scala/io/renku/search/events/DecodeFailure.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.events import cats.data.NonEmptyList diff --git a/modules/events/src/main/scala/io/renku/search/events/EventMessage.scala b/modules/events/src/main/scala/io/renku/search/events/EventMessage.scala index af09f10f..1a3ff741 100644 --- a/modules/events/src/main/scala/io/renku/search/events/EventMessage.scala +++ b/modules/events/src/main/scala/io/renku/search/events/EventMessage.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.events import cats.effect.Sync diff --git a/modules/events/src/main/scala/io/renku/search/events/EventMessageDecoder.scala b/modules/events/src/main/scala/io/renku/search/events/EventMessageDecoder.scala index c805a6cc..2be79797 100644 --- a/modules/events/src/main/scala/io/renku/search/events/EventMessageDecoder.scala +++ b/modules/events/src/main/scala/io/renku/search/events/EventMessageDecoder.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.events trait EventMessageDecoder[T]: diff --git a/modules/events/src/main/scala/io/renku/search/events/GroupAdded.scala b/modules/events/src/main/scala/io/renku/search/events/GroupAdded.scala index 9cd86092..d4e21ac7 100644 --- a/modules/events/src/main/scala/io/renku/search/events/GroupAdded.scala +++ b/modules/events/src/main/scala/io/renku/search/events/GroupAdded.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.events import cats.Show diff --git a/modules/events/src/main/scala/io/renku/search/events/GroupMemberAdded.scala b/modules/events/src/main/scala/io/renku/search/events/GroupMemberAdded.scala index 27320da7..df5a846b 100644 --- a/modules/events/src/main/scala/io/renku/search/events/GroupMemberAdded.scala +++ b/modules/events/src/main/scala/io/renku/search/events/GroupMemberAdded.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.events import cats.Show diff --git a/modules/events/src/main/scala/io/renku/search/events/GroupMemberRemoved.scala b/modules/events/src/main/scala/io/renku/search/events/GroupMemberRemoved.scala index 9c105eab..167dee77 100644 --- a/modules/events/src/main/scala/io/renku/search/events/GroupMemberRemoved.scala +++ b/modules/events/src/main/scala/io/renku/search/events/GroupMemberRemoved.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.events import cats.Show diff --git a/modules/events/src/main/scala/io/renku/search/events/GroupMemberUpdated.scala b/modules/events/src/main/scala/io/renku/search/events/GroupMemberUpdated.scala index 145687c0..43c1a8f4 100644 --- a/modules/events/src/main/scala/io/renku/search/events/GroupMemberUpdated.scala +++ b/modules/events/src/main/scala/io/renku/search/events/GroupMemberUpdated.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.events import cats.Show diff --git a/modules/events/src/main/scala/io/renku/search/events/GroupRemoved.scala b/modules/events/src/main/scala/io/renku/search/events/GroupRemoved.scala index 635e960a..ccd28d6a 100644 --- a/modules/events/src/main/scala/io/renku/search/events/GroupRemoved.scala +++ b/modules/events/src/main/scala/io/renku/search/events/GroupRemoved.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.events import cats.Show diff --git a/modules/events/src/main/scala/io/renku/search/events/GroupUpdated.scala b/modules/events/src/main/scala/io/renku/search/events/GroupUpdated.scala index 960bada6..30d41296 100644 --- a/modules/events/src/main/scala/io/renku/search/events/GroupUpdated.scala +++ b/modules/events/src/main/scala/io/renku/search/events/GroupUpdated.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.events import cats.Show diff --git a/modules/events/src/main/scala/io/renku/search/events/MessageHeader.scala b/modules/events/src/main/scala/io/renku/search/events/MessageHeader.scala index b84fd510..b8914b7c 100644 --- a/modules/events/src/main/scala/io/renku/search/events/MessageHeader.scala +++ b/modules/events/src/main/scala/io/renku/search/events/MessageHeader.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.events import cats.data.NonEmptyList diff --git a/modules/events/src/main/scala/io/renku/search/events/MessageId.scala b/modules/events/src/main/scala/io/renku/search/events/MessageId.scala index 32c6ed08..f8d56c47 100644 --- a/modules/events/src/main/scala/io/renku/search/events/MessageId.scala +++ b/modules/events/src/main/scala/io/renku/search/events/MessageId.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.events import io.bullet.borer.* diff --git a/modules/events/src/main/scala/io/renku/search/events/MessageSource.scala b/modules/events/src/main/scala/io/renku/search/events/MessageSource.scala index abf8d182..90e023ec 100644 --- a/modules/events/src/main/scala/io/renku/search/events/MessageSource.scala +++ b/modules/events/src/main/scala/io/renku/search/events/MessageSource.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.events opaque type MessageSource = String diff --git a/modules/events/src/main/scala/io/renku/search/events/MsgType.scala b/modules/events/src/main/scala/io/renku/search/events/MsgType.scala index 35761c9f..3b421ccf 100644 --- a/modules/events/src/main/scala/io/renku/search/events/MsgType.scala +++ b/modules/events/src/main/scala/io/renku/search/events/MsgType.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.events /** This represents expected values of the `type` property in the message header. */ diff --git a/modules/events/src/main/scala/io/renku/search/events/ProjectCreated.scala b/modules/events/src/main/scala/io/renku/search/events/ProjectCreated.scala index 89b40fe0..226acb1a 100644 --- a/modules/events/src/main/scala/io/renku/search/events/ProjectCreated.scala +++ b/modules/events/src/main/scala/io/renku/search/events/ProjectCreated.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.events import cats.Show diff --git a/modules/events/src/main/scala/io/renku/search/events/ProjectMemberAdded.scala b/modules/events/src/main/scala/io/renku/search/events/ProjectMemberAdded.scala index 81f8bc52..4b5cec75 100644 --- a/modules/events/src/main/scala/io/renku/search/events/ProjectMemberAdded.scala +++ b/modules/events/src/main/scala/io/renku/search/events/ProjectMemberAdded.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.events import cats.Show diff --git a/modules/events/src/main/scala/io/renku/search/events/ProjectMemberRemoved.scala b/modules/events/src/main/scala/io/renku/search/events/ProjectMemberRemoved.scala index 7b82ddb1..8c2ff0a4 100644 --- a/modules/events/src/main/scala/io/renku/search/events/ProjectMemberRemoved.scala +++ b/modules/events/src/main/scala/io/renku/search/events/ProjectMemberRemoved.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.events import cats.Show diff --git a/modules/events/src/main/scala/io/renku/search/events/ProjectMemberUpdated.scala b/modules/events/src/main/scala/io/renku/search/events/ProjectMemberUpdated.scala index b58d6573..11c1a9bd 100644 --- a/modules/events/src/main/scala/io/renku/search/events/ProjectMemberUpdated.scala +++ b/modules/events/src/main/scala/io/renku/search/events/ProjectMemberUpdated.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.events import cats.Show diff --git a/modules/events/src/main/scala/io/renku/search/events/ProjectRemoved.scala b/modules/events/src/main/scala/io/renku/search/events/ProjectRemoved.scala index 7385cd23..b71a6287 100644 --- a/modules/events/src/main/scala/io/renku/search/events/ProjectRemoved.scala +++ b/modules/events/src/main/scala/io/renku/search/events/ProjectRemoved.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.events import cats.Show diff --git a/modules/events/src/main/scala/io/renku/search/events/ProjectUpdated.scala b/modules/events/src/main/scala/io/renku/search/events/ProjectUpdated.scala index 74e7d1b8..b0c228c2 100644 --- a/modules/events/src/main/scala/io/renku/search/events/ProjectUpdated.scala +++ b/modules/events/src/main/scala/io/renku/search/events/ProjectUpdated.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.events import cats.Show diff --git a/modules/events/src/main/scala/io/renku/search/events/QueueMessage.scala b/modules/events/src/main/scala/io/renku/search/events/QueueMessage.scala index 22f39643..01b6e4e5 100644 --- a/modules/events/src/main/scala/io/renku/search/events/QueueMessage.scala +++ b/modules/events/src/main/scala/io/renku/search/events/QueueMessage.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.events import cats.syntax.all.* diff --git a/modules/events/src/main/scala/io/renku/search/events/RenkuEventPayload.scala b/modules/events/src/main/scala/io/renku/search/events/RenkuEventPayload.scala index 741fb188..3f1f20f3 100644 --- a/modules/events/src/main/scala/io/renku/search/events/RenkuEventPayload.scala +++ b/modules/events/src/main/scala/io/renku/search/events/RenkuEventPayload.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.events import cats.data.NonEmptyList diff --git a/modules/events/src/main/scala/io/renku/search/events/ReprovisioningFinished.scala b/modules/events/src/main/scala/io/renku/search/events/ReprovisioningFinished.scala index 8d2856a6..4f0ec744 100644 --- a/modules/events/src/main/scala/io/renku/search/events/ReprovisioningFinished.scala +++ b/modules/events/src/main/scala/io/renku/search/events/ReprovisioningFinished.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.events import cats.Show diff --git a/modules/events/src/main/scala/io/renku/search/events/ReprovisioningStarted.scala b/modules/events/src/main/scala/io/renku/search/events/ReprovisioningStarted.scala index 87fb3036..a32fcfa7 100644 --- a/modules/events/src/main/scala/io/renku/search/events/ReprovisioningStarted.scala +++ b/modules/events/src/main/scala/io/renku/search/events/ReprovisioningStarted.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.events import cats.Show diff --git a/modules/events/src/main/scala/io/renku/search/events/RequestId.scala b/modules/events/src/main/scala/io/renku/search/events/RequestId.scala index e0b525c9..3fb14db2 100644 --- a/modules/events/src/main/scala/io/renku/search/events/RequestId.scala +++ b/modules/events/src/main/scala/io/renku/search/events/RequestId.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.events opaque type RequestId = String diff --git a/modules/events/src/main/scala/io/renku/search/events/SchemaVersion.scala b/modules/events/src/main/scala/io/renku/search/events/SchemaVersion.scala index cc4b3e1d..11debe91 100644 --- a/modules/events/src/main/scala/io/renku/search/events/SchemaVersion.scala +++ b/modules/events/src/main/scala/io/renku/search/events/SchemaVersion.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.events import cats.data.NonEmptyList diff --git a/modules/events/src/main/scala/io/renku/search/events/SyncEventMessage.scala b/modules/events/src/main/scala/io/renku/search/events/SyncEventMessage.scala index 527a463c..4e235346 100644 --- a/modules/events/src/main/scala/io/renku/search/events/SyncEventMessage.scala +++ b/modules/events/src/main/scala/io/renku/search/events/SyncEventMessage.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.events import scala.annotation.targetName diff --git a/modules/events/src/main/scala/io/renku/search/events/UserAdded.scala b/modules/events/src/main/scala/io/renku/search/events/UserAdded.scala index 45d683d1..bde422ed 100644 --- a/modules/events/src/main/scala/io/renku/search/events/UserAdded.scala +++ b/modules/events/src/main/scala/io/renku/search/events/UserAdded.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.events import cats.Show diff --git a/modules/events/src/main/scala/io/renku/search/events/UserRemoved.scala b/modules/events/src/main/scala/io/renku/search/events/UserRemoved.scala index 695fbce9..375bde69 100644 --- a/modules/events/src/main/scala/io/renku/search/events/UserRemoved.scala +++ b/modules/events/src/main/scala/io/renku/search/events/UserRemoved.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.events import cats.data.NonEmptyList diff --git a/modules/events/src/main/scala/io/renku/search/events/UserUpdated.scala b/modules/events/src/main/scala/io/renku/search/events/UserUpdated.scala index ebb7ca9c..6d90117b 100644 --- a/modules/events/src/main/scala/io/renku/search/events/UserUpdated.scala +++ b/modules/events/src/main/scala/io/renku/search/events/UserUpdated.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.events import cats.Show diff --git a/modules/events/src/main/scala/io/renku/search/events/syntax.scala b/modules/events/src/main/scala/io/renku/search/events/syntax.scala index ae045635..e4342813 100644 --- a/modules/events/src/main/scala/io/renku/search/events/syntax.scala +++ b/modules/events/src/main/scala/io/renku/search/events/syntax.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.events import java.time.Instant diff --git a/modules/events/src/test/scala/io/renku/events/EventsGenerators.scala b/modules/events/src/test/scala/io/renku/events/EventsGenerators.scala index 6d33609b..0a86247f 100644 --- a/modules/events/src/test/scala/io/renku/events/EventsGenerators.scala +++ b/modules/events/src/test/scala/io/renku/events/EventsGenerators.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.events import java.time.Instant diff --git a/modules/events/src/test/scala/io/renku/events/RedisIdGen.scala b/modules/events/src/test/scala/io/renku/events/RedisIdGen.scala index ab60f505..794a7866 100644 --- a/modules/events/src/test/scala/io/renku/events/RedisIdGen.scala +++ b/modules/events/src/test/scala/io/renku/events/RedisIdGen.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.events import java.util.concurrent.atomic.AtomicLong diff --git a/modules/events/src/test/scala/io/renku/events/SchemaVersionSpec.scala b/modules/events/src/test/scala/io/renku/events/SchemaVersionSpec.scala index 8eea4874..ce08f659 100644 --- a/modules/events/src/test/scala/io/renku/events/SchemaVersionSpec.scala +++ b/modules/events/src/test/scala/io/renku/events/SchemaVersionSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.events import io.renku.search.events.SchemaVersion diff --git a/modules/events/src/test/scala/io/renku/events/SerializeDeserializeSpec.scala b/modules/events/src/test/scala/io/renku/events/SerializeDeserializeSpec.scala index 988793bd..f9842569 100644 --- a/modules/events/src/test/scala/io/renku/events/SerializeDeserializeSpec.scala +++ b/modules/events/src/test/scala/io/renku/events/SerializeDeserializeSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.events import java.time.Instant diff --git a/modules/events/src/test/scala/io/renku/search/events/MessageHeaderSpec.scala b/modules/events/src/test/scala/io/renku/search/events/MessageHeaderSpec.scala index fb30d662..8a9490f1 100644 --- a/modules/events/src/test/scala/io/renku/search/events/MessageHeaderSpec.scala +++ b/modules/events/src/test/scala/io/renku/search/events/MessageHeaderSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.events import java.time.Instant diff --git a/modules/http-client/src/main/scala/io/renku/search/http/ClientBuilder.scala b/modules/http-client/src/main/scala/io/renku/search/http/ClientBuilder.scala index 3f9200bd..c61f9898 100644 --- a/modules/http-client/src/main/scala/io/renku/search/http/ClientBuilder.scala +++ b/modules/http-client/src/main/scala/io/renku/search/http/ClientBuilder.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.http import scala.concurrent.duration.Duration diff --git a/modules/http-client/src/main/scala/io/renku/search/http/HttpClientDsl.scala b/modules/http-client/src/main/scala/io/renku/search/http/HttpClientDsl.scala index 97037721..d2f78da5 100644 --- a/modules/http-client/src/main/scala/io/renku/search/http/HttpClientDsl.scala +++ b/modules/http-client/src/main/scala/io/renku/search/http/HttpClientDsl.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.http import org.http4s.client.dsl.Http4sClientDsl diff --git a/modules/http-client/src/main/scala/io/renku/search/http/LoggerProxy.scala b/modules/http-client/src/main/scala/io/renku/search/http/LoggerProxy.scala index 29405482..ac9f3cd7 100644 --- a/modules/http-client/src/main/scala/io/renku/search/http/LoggerProxy.scala +++ b/modules/http-client/src/main/scala/io/renku/search/http/LoggerProxy.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.http import scribe.Scribe diff --git a/modules/http-client/src/main/scala/io/renku/search/http/ResponseLogging.scala b/modules/http-client/src/main/scala/io/renku/search/http/ResponseLogging.scala index 1ca4ea9a..e1f54b12 100644 --- a/modules/http-client/src/main/scala/io/renku/search/http/ResponseLogging.scala +++ b/modules/http-client/src/main/scala/io/renku/search/http/ResponseLogging.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.http import cats.effect.Sync diff --git a/modules/http-client/src/main/scala/io/renku/search/http/RetryConfig.scala b/modules/http-client/src/main/scala/io/renku/search/http/RetryConfig.scala index 950a19b6..ba6515a0 100644 --- a/modules/http-client/src/main/scala/io/renku/search/http/RetryConfig.scala +++ b/modules/http-client/src/main/scala/io/renku/search/http/RetryConfig.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.http import scala.concurrent.duration.* diff --git a/modules/http-client/src/main/scala/io/renku/search/http/RetryStrategy.scala b/modules/http-client/src/main/scala/io/renku/search/http/RetryStrategy.scala index bb766ffe..7f75d996 100644 --- a/modules/http-client/src/main/scala/io/renku/search/http/RetryStrategy.scala +++ b/modules/http-client/src/main/scala/io/renku/search/http/RetryStrategy.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.http import org.http4s.client.middleware.RetryPolicy diff --git a/modules/http4s-avro/src/main/scala/io/renku/search/http/avro/AvroEntityCodec.scala b/modules/http4s-avro/src/main/scala/io/renku/search/http/avro/AvroEntityCodec.scala index ff5502a4..19487fcd 100644 --- a/modules/http4s-avro/src/main/scala/io/renku/search/http/avro/AvroEntityCodec.scala +++ b/modules/http4s-avro/src/main/scala/io/renku/search/http/avro/AvroEntityCodec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.http.avro import cats.data.EitherT diff --git a/modules/http4s-borer/src/main/scala/io/renku/search/http/borer/BorerDecodeFailure.scala b/modules/http4s-borer/src/main/scala/io/renku/search/http/borer/BorerDecodeFailure.scala index 4a6618a7..28e05f3b 100644 --- a/modules/http4s-borer/src/main/scala/io/renku/search/http/borer/BorerDecodeFailure.scala +++ b/modules/http4s-borer/src/main/scala/io/renku/search/http/borer/BorerDecodeFailure.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.http.borer import io.bullet.borer.derivation.MapBasedCodecs.* diff --git a/modules/http4s-borer/src/main/scala/io/renku/search/http/borer/BorerEntities.scala b/modules/http4s-borer/src/main/scala/io/renku/search/http/borer/BorerEntities.scala index b9e62f76..c4f955b4 100644 --- a/modules/http4s-borer/src/main/scala/io/renku/search/http/borer/BorerEntities.scala +++ b/modules/http4s-borer/src/main/scala/io/renku/search/http/borer/BorerEntities.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.http.borer import cats.data.EitherT diff --git a/modules/http4s-borer/src/main/scala/io/renku/search/http/borer/BorerEntityCborCodec.scala b/modules/http4s-borer/src/main/scala/io/renku/search/http/borer/BorerEntityCborCodec.scala index 9efd0c3b..38590dd2 100644 --- a/modules/http4s-borer/src/main/scala/io/renku/search/http/borer/BorerEntityCborCodec.scala +++ b/modules/http4s-borer/src/main/scala/io/renku/search/http/borer/BorerEntityCborCodec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.http.borer import cats.effect.Async diff --git a/modules/http4s-borer/src/main/scala/io/renku/search/http/borer/BorerEntityJsonCodec.scala b/modules/http4s-borer/src/main/scala/io/renku/search/http/borer/BorerEntityJsonCodec.scala index decf8927..d0a83d75 100644 --- a/modules/http4s-borer/src/main/scala/io/renku/search/http/borer/BorerEntityJsonCodec.scala +++ b/modules/http4s-borer/src/main/scala/io/renku/search/http/borer/BorerEntityJsonCodec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.http.borer import cats.effect.Async diff --git a/modules/http4s-borer/src/main/scala/io/renku/search/http/borer/Http4sJsonCodec.scala b/modules/http4s-borer/src/main/scala/io/renku/search/http/borer/Http4sJsonCodec.scala index 1f6fe007..a90f73f4 100644 --- a/modules/http4s-borer/src/main/scala/io/renku/search/http/borer/Http4sJsonCodec.scala +++ b/modules/http4s-borer/src/main/scala/io/renku/search/http/borer/Http4sJsonCodec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.http.borer import io.bullet.borer.* diff --git a/modules/http4s-borer/src/main/scala/io/renku/search/http/borer/StreamDecode.scala b/modules/http4s-borer/src/main/scala/io/renku/search/http/borer/StreamDecode.scala index 355f805b..2ae2e1f4 100644 --- a/modules/http4s-borer/src/main/scala/io/renku/search/http/borer/StreamDecode.scala +++ b/modules/http4s-borer/src/main/scala/io/renku/search/http/borer/StreamDecode.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.http.borer import fs2.* diff --git a/modules/http4s-borer/src/main/scala/io/renku/search/http/borer/StreamProvider.scala b/modules/http4s-borer/src/main/scala/io/renku/search/http/borer/StreamProvider.scala index ff281f4d..4809a93d 100644 --- a/modules/http4s-borer/src/main/scala/io/renku/search/http/borer/StreamProvider.scala +++ b/modules/http4s-borer/src/main/scala/io/renku/search/http/borer/StreamProvider.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.http.borer import cats.effect.* diff --git a/modules/http4s-borer/src/main/scala/io/renku/search/http/borer/TapirBorerJson.scala b/modules/http4s-borer/src/main/scala/io/renku/search/http/borer/TapirBorerJson.scala index c783ce7c..2fbed993 100644 --- a/modules/http4s-borer/src/main/scala/io/renku/search/http/borer/TapirBorerJson.scala +++ b/modules/http4s-borer/src/main/scala/io/renku/search/http/borer/TapirBorerJson.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.http.borer import io.bullet.borer.{Borer, Decoder, Encoder, Json} diff --git a/modules/http4s-commons/src/main/scala/io/renku/search/http/HttpServer.scala b/modules/http4s-commons/src/main/scala/io/renku/search/http/HttpServer.scala index 9cad15b7..f737d057 100644 --- a/modules/http4s-commons/src/main/scala/io/renku/search/http/HttpServer.scala +++ b/modules/http4s-commons/src/main/scala/io/renku/search/http/HttpServer.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.http import cats.effect.{Async, Resource} diff --git a/modules/http4s-commons/src/main/scala/io/renku/search/http/HttpServerConfig.scala b/modules/http4s-commons/src/main/scala/io/renku/search/http/HttpServerConfig.scala index 60f4ef3c..be937631 100644 --- a/modules/http4s-commons/src/main/scala/io/renku/search/http/HttpServerConfig.scala +++ b/modules/http4s-commons/src/main/scala/io/renku/search/http/HttpServerConfig.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.http import com.comcast.ip4s.{Ipv4Address, Port} diff --git a/modules/http4s-commons/src/main/scala/io/renku/search/http/routes/OperationRoutes.scala b/modules/http4s-commons/src/main/scala/io/renku/search/http/routes/OperationRoutes.scala index 5124d579..277d4057 100644 --- a/modules/http4s-commons/src/main/scala/io/renku/search/http/routes/OperationRoutes.scala +++ b/modules/http4s-commons/src/main/scala/io/renku/search/http/routes/OperationRoutes.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.http.routes import cats.effect.Async diff --git a/modules/http4s-metrics/src/main/scala/io/renku/search/http/metrics/MetricsRoutes.scala b/modules/http4s-metrics/src/main/scala/io/renku/search/http/metrics/MetricsRoutes.scala index d55cd319..6f143930 100644 --- a/modules/http4s-metrics/src/main/scala/io/renku/search/http/metrics/MetricsRoutes.scala +++ b/modules/http4s-metrics/src/main/scala/io/renku/search/http/metrics/MetricsRoutes.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.http.metrics import cats.effect.{Resource, Sync} diff --git a/modules/http4s-metrics/src/main/scala/io/renku/search/metrics/Collector.scala b/modules/http4s-metrics/src/main/scala/io/renku/search/metrics/Collector.scala index 06418db0..97c726a9 100644 --- a/modules/http4s-metrics/src/main/scala/io/renku/search/metrics/Collector.scala +++ b/modules/http4s-metrics/src/main/scala/io/renku/search/metrics/Collector.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.metrics import io.prometheus.client.Collector as JCollector diff --git a/modules/http4s-metrics/src/main/scala/io/renku/search/metrics/CollectorRegistryBuilder.scala b/modules/http4s-metrics/src/main/scala/io/renku/search/metrics/CollectorRegistryBuilder.scala index 58a56f06..137331df 100644 --- a/modules/http4s-metrics/src/main/scala/io/renku/search/metrics/CollectorRegistryBuilder.scala +++ b/modules/http4s-metrics/src/main/scala/io/renku/search/metrics/CollectorRegistryBuilder.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.metrics import cats.effect.{Resource, Sync} diff --git a/modules/json/src/main/scala/io/renku/json/EncoderSupport.scala b/modules/json/src/main/scala/io/renku/json/EncoderSupport.scala index 641a9261..19cf613b 100644 --- a/modules/json/src/main/scala/io/renku/json/EncoderSupport.scala +++ b/modules/json/src/main/scala/io/renku/json/EncoderSupport.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.json import scala.compiletime.* diff --git a/modules/json/src/main/scala/io/renku/json/LabelsMacro.scala b/modules/json/src/main/scala/io/renku/json/LabelsMacro.scala index 4abac4b5..88aee238 100644 --- a/modules/json/src/main/scala/io/renku/json/LabelsMacro.scala +++ b/modules/json/src/main/scala/io/renku/json/LabelsMacro.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.json import scala.quoted.* diff --git a/modules/json/src/main/scala/io/renku/json/codecs/DateTimeDecoders.scala b/modules/json/src/main/scala/io/renku/json/codecs/DateTimeDecoders.scala index ef63e38a..ac1e59e3 100644 --- a/modules/json/src/main/scala/io/renku/json/codecs/DateTimeDecoders.scala +++ b/modules/json/src/main/scala/io/renku/json/codecs/DateTimeDecoders.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.json.codecs import java.time.Instant diff --git a/modules/json/src/main/scala/io/renku/json/codecs/DateTimeEncoders.scala b/modules/json/src/main/scala/io/renku/json/codecs/DateTimeEncoders.scala index b61906d3..dc8829c0 100644 --- a/modules/json/src/main/scala/io/renku/json/codecs/DateTimeEncoders.scala +++ b/modules/json/src/main/scala/io/renku/json/codecs/DateTimeEncoders.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.json.codecs import java.time.Instant diff --git a/modules/json/src/main/scala/io/renku/json/codecs/all.scala b/modules/json/src/main/scala/io/renku/json/codecs/all.scala index d64a531e..1d713751 100644 --- a/modules/json/src/main/scala/io/renku/json/codecs/all.scala +++ b/modules/json/src/main/scala/io/renku/json/codecs/all.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.json.codecs trait all extends DateTimeEncoders, DateTimeDecoders diff --git a/modules/json/src/test/scala/io/renku/json/JsonEncodingSpec.scala b/modules/json/src/test/scala/io/renku/json/JsonEncodingSpec.scala index 21be4fc5..6aed05dc 100644 --- a/modules/json/src/test/scala/io/renku/json/JsonEncodingSpec.scala +++ b/modules/json/src/test/scala/io/renku/json/JsonEncodingSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.json import io.bullet.borer.* diff --git a/modules/jwt/src/main/scala/io/renku/search/jwt/BorerCodec.scala b/modules/jwt/src/main/scala/io/renku/search/jwt/BorerCodec.scala index 3c566f88..b3b0993b 100644 --- a/modules/jwt/src/main/scala/io/renku/search/jwt/BorerCodec.scala +++ b/modules/jwt/src/main/scala/io/renku/search/jwt/BorerCodec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.jwt import cats.syntax.all.* diff --git a/modules/jwt/src/main/scala/io/renku/search/jwt/JwtBorer.scala b/modules/jwt/src/main/scala/io/renku/search/jwt/JwtBorer.scala index acb153c7..97582eb6 100644 --- a/modules/jwt/src/main/scala/io/renku/search/jwt/JwtBorer.scala +++ b/modules/jwt/src/main/scala/io/renku/search/jwt/JwtBorer.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.jwt import java.time.Clock diff --git a/modules/jwt/src/main/scala/io/renku/search/jwt/RenkuToken.scala b/modules/jwt/src/main/scala/io/renku/search/jwt/RenkuToken.scala index 8ca34c67..8d32d6b1 100644 --- a/modules/jwt/src/main/scala/io/renku/search/jwt/RenkuToken.scala +++ b/modules/jwt/src/main/scala/io/renku/search/jwt/RenkuToken.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.jwt import java.time.Instant diff --git a/modules/jwt/src/test/scala/io/renku/search/jwt/JwtBorerSpec.scala b/modules/jwt/src/test/scala/io/renku/search/jwt/JwtBorerSpec.scala index 2e4de802..9f5724ea 100644 --- a/modules/jwt/src/test/scala/io/renku/search/jwt/JwtBorerSpec.scala +++ b/modules/jwt/src/test/scala/io/renku/search/jwt/JwtBorerSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.jwt import java.time.Instant diff --git a/modules/jwt/src/test/scala/io/renku/search/jwt/RenkuTokenSpec.scala b/modules/jwt/src/test/scala/io/renku/search/jwt/RenkuTokenSpec.scala index ff5c459b..3db0bd65 100644 --- a/modules/jwt/src/test/scala/io/renku/search/jwt/RenkuTokenSpec.scala +++ b/modules/jwt/src/test/scala/io/renku/search/jwt/RenkuTokenSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.jwt import scala.io.Source diff --git a/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/BigIntDecode.scala b/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/BigIntDecode.scala index 7b551ac9..5a839b7a 100644 --- a/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/BigIntDecode.scala +++ b/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/BigIntDecode.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.openid.keycloak import scodec.bits.Bases.Alphabets diff --git a/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/Curve.scala b/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/Curve.scala index b4df691d..170ad007 100644 --- a/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/Curve.scala +++ b/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/Curve.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.openid.keycloak import io.bullet.borer.{Decoder, Encoder} diff --git a/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/DefaultJwtVerify.scala b/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/DefaultJwtVerify.scala index a9e50e2d..3de57997 100644 --- a/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/DefaultJwtVerify.scala +++ b/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/DefaultJwtVerify.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.openid.keycloak import scala.concurrent.duration.* diff --git a/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/EcPublicKey.scala b/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/EcPublicKey.scala index 6f7bfd43..819dac09 100644 --- a/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/EcPublicKey.scala +++ b/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/EcPublicKey.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.openid.keycloak import java.security.AlgorithmParameters diff --git a/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/JsonWebKey.scala b/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/JsonWebKey.scala index 1b2e5425..0edf7f18 100644 --- a/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/JsonWebKey.scala +++ b/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/JsonWebKey.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.openid.keycloak import java.security.PublicKey diff --git a/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/Jwks.scala b/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/Jwks.scala index 7020aeaf..ea5673b0 100644 --- a/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/Jwks.scala +++ b/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/Jwks.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.openid.keycloak import java.security.PublicKey diff --git a/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/JwtError.scala b/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/JwtError.scala index 14c33519..ed8d40dc 100644 --- a/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/JwtError.scala +++ b/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/JwtError.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.openid.keycloak import scala.concurrent.duration.FiniteDuration diff --git a/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/JwtVerify.scala b/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/JwtVerify.scala index 0c8707fa..5de94d50 100644 --- a/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/JwtVerify.scala +++ b/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/JwtVerify.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.openid.keycloak import cats.Applicative diff --git a/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/JwtVerifyConfig.scala b/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/JwtVerifyConfig.scala index e912e98e..f1f8d933 100644 --- a/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/JwtVerifyConfig.scala +++ b/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/JwtVerifyConfig.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.openid.keycloak import scala.concurrent.duration.* diff --git a/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/KeyId.scala b/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/KeyId.scala index 08728835..8bb17570 100644 --- a/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/KeyId.scala +++ b/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/KeyId.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.openid.keycloak import io.bullet.borer.{Decoder, Encoder} diff --git a/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/KeyType.scala b/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/KeyType.scala index 6a3af69c..840e7377 100644 --- a/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/KeyType.scala +++ b/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/KeyType.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.openid.keycloak import io.bullet.borer.{Decoder, Encoder} diff --git a/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/KeyUse.scala b/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/KeyUse.scala index d348d25b..34dd3fdd 100644 --- a/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/KeyUse.scala +++ b/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/KeyUse.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.openid.keycloak import io.bullet.borer.Decoder diff --git a/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/OpenIdConfig.scala b/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/OpenIdConfig.scala index a3a5e28f..a11a6bc4 100644 --- a/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/OpenIdConfig.scala +++ b/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/OpenIdConfig.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.openid.keycloak import io.bullet.borer.Decoder diff --git a/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/RsaPublicKey.scala b/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/RsaPublicKey.scala index 4e718a13..9a4f1627 100644 --- a/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/RsaPublicKey.scala +++ b/modules/openid-keycloak/src/main/scala/io/renku/openid/keycloak/RsaPublicKey.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.openid.keycloak import java.security.KeyFactory diff --git a/modules/openid-keycloak/src/test/scala/io/renku/openid/keycloak/DefaultJwtVerifySpec.scala b/modules/openid-keycloak/src/test/scala/io/renku/openid/keycloak/DefaultJwtVerifySpec.scala index c8bc947b..99181e9c 100644 --- a/modules/openid-keycloak/src/test/scala/io/renku/openid/keycloak/DefaultJwtVerifySpec.scala +++ b/modules/openid-keycloak/src/test/scala/io/renku/openid/keycloak/DefaultJwtVerifySpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.openid.keycloak import scala.concurrent.duration.* diff --git a/modules/openid-keycloak/src/test/scala/io/renku/openid/keycloak/JsonWebKeySpec.scala b/modules/openid-keycloak/src/test/scala/io/renku/openid/keycloak/JsonWebKeySpec.scala index 421881e9..e1acaeba 100644 --- a/modules/openid-keycloak/src/test/scala/io/renku/openid/keycloak/JsonWebKeySpec.scala +++ b/modules/openid-keycloak/src/test/scala/io/renku/openid/keycloak/JsonWebKeySpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.openid.keycloak import io.bullet.borer.Json diff --git a/modules/openid-keycloak/src/test/scala/io/renku/openid/keycloak/JwksSpec.scala b/modules/openid-keycloak/src/test/scala/io/renku/openid/keycloak/JwksSpec.scala index 74175909..bdd51658 100644 --- a/modules/openid-keycloak/src/test/scala/io/renku/openid/keycloak/JwksSpec.scala +++ b/modules/openid-keycloak/src/test/scala/io/renku/openid/keycloak/JwksSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.openid.keycloak import io.renku.search.TestClock diff --git a/modules/openid-keycloak/src/test/scala/io/renku/openid/keycloak/JwtResources.scala b/modules/openid-keycloak/src/test/scala/io/renku/openid/keycloak/JwtResources.scala index 10b94f2a..0979f115 100644 --- a/modules/openid-keycloak/src/test/scala/io/renku/openid/keycloak/JwtResources.scala +++ b/modules/openid-keycloak/src/test/scala/io/renku/openid/keycloak/JwtResources.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.openid.keycloak import java.time.* diff --git a/modules/openid-keycloak/src/test/scala/io/renku/openid/keycloak/OpenIdConfigSpec.scala b/modules/openid-keycloak/src/test/scala/io/renku/openid/keycloak/OpenIdConfigSpec.scala index e6d2fc42..75af8812 100644 --- a/modules/openid-keycloak/src/test/scala/io/renku/openid/keycloak/OpenIdConfigSpec.scala +++ b/modules/openid-keycloak/src/test/scala/io/renku/openid/keycloak/OpenIdConfigSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.openid.keycloak import io.bullet.borer.Json diff --git a/modules/redis-client/src/main/scala/io/renku/redis/client/ClientCreator.scala b/modules/redis-client/src/main/scala/io/renku/redis/client/ClientCreator.scala index 4b65387b..a553a77d 100644 --- a/modules/redis-client/src/main/scala/io/renku/redis/client/ClientCreator.scala +++ b/modules/redis-client/src/main/scala/io/renku/redis/client/ClientCreator.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.redis.client import scala.collection.mutable diff --git a/modules/redis-client/src/main/scala/io/renku/redis/client/MessageBodyKeys.scala b/modules/redis-client/src/main/scala/io/renku/redis/client/MessageBodyKeys.scala index 5a6f986f..c5f0de7d 100644 --- a/modules/redis-client/src/main/scala/io/renku/redis/client/MessageBodyKeys.scala +++ b/modules/redis-client/src/main/scala/io/renku/redis/client/MessageBodyKeys.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.redis.client enum MessageBodyKeys: diff --git a/modules/redis-client/src/main/scala/io/renku/redis/client/RedisConfig.scala b/modules/redis-client/src/main/scala/io/renku/redis/client/RedisConfig.scala index e6105bcc..5e7c6de5 100644 --- a/modules/redis-client/src/main/scala/io/renku/redis/client/RedisConfig.scala +++ b/modules/redis-client/src/main/scala/io/renku/redis/client/RedisConfig.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.redis.client import scala.concurrent.duration.FiniteDuration diff --git a/modules/redis-client/src/main/scala/io/renku/redis/client/RedisLogger.scala b/modules/redis-client/src/main/scala/io/renku/redis/client/RedisLogger.scala index 8e075dd7..7bd989e1 100644 --- a/modules/redis-client/src/main/scala/io/renku/redis/client/RedisLogger.scala +++ b/modules/redis-client/src/main/scala/io/renku/redis/client/RedisLogger.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.redis.client import dev.profunktor.redis4cats.effect.Log diff --git a/modules/redis-client/src/main/scala/io/renku/redis/client/RedisMessage.scala b/modules/redis-client/src/main/scala/io/renku/redis/client/RedisMessage.scala index cb45bc1a..5d362dc9 100644 --- a/modules/redis-client/src/main/scala/io/renku/redis/client/RedisMessage.scala +++ b/modules/redis-client/src/main/scala/io/renku/redis/client/RedisMessage.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.redis.client import scodec.bits.ByteVector diff --git a/modules/redis-client/src/main/scala/io/renku/redis/client/RedisQueueClient.scala b/modules/redis-client/src/main/scala/io/renku/redis/client/RedisQueueClient.scala index 3d1d88b2..feefcd99 100644 --- a/modules/redis-client/src/main/scala/io/renku/redis/client/RedisQueueClient.scala +++ b/modules/redis-client/src/main/scala/io/renku/redis/client/RedisQueueClient.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.redis.client import cats.Monoid diff --git a/modules/redis-client/src/main/scala/io/renku/redis/client/StringBytesCodec.scala b/modules/redis-client/src/main/scala/io/renku/redis/client/StringBytesCodec.scala index 96e0f0fd..b630d05d 100644 --- a/modules/redis-client/src/main/scala/io/renku/redis/client/StringBytesCodec.scala +++ b/modules/redis-client/src/main/scala/io/renku/redis/client/StringBytesCodec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.redis.client import java.nio.ByteBuffer diff --git a/modules/redis-client/src/main/scala/io/renku/redis/client/types.scala b/modules/redis-client/src/main/scala/io/renku/redis/client/types.scala index da575d96..2a7942c7 100644 --- a/modules/redis-client/src/main/scala/io/renku/redis/client/types.scala +++ b/modules/redis-client/src/main/scala/io/renku/redis/client/types.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.redis.client opaque type QueueName = String diff --git a/modules/redis-client/src/test/scala/io/renku/redis/client/RedisClientGenerators.scala b/modules/redis-client/src/test/scala/io/renku/redis/client/RedisClientGenerators.scala index 203af91a..d4e8d695 100644 --- a/modules/redis-client/src/test/scala/io/renku/redis/client/RedisClientGenerators.scala +++ b/modules/redis-client/src/test/scala/io/renku/redis/client/RedisClientGenerators.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.redis.client import org.scalacheck.Gen diff --git a/modules/redis-client/src/test/scala/io/renku/redis/client/RedisQueueClientSpec.scala b/modules/redis-client/src/test/scala/io/renku/redis/client/RedisQueueClientSpec.scala index a080fa48..63f78355 100644 --- a/modules/redis-client/src/test/scala/io/renku/redis/client/RedisQueueClientSpec.scala +++ b/modules/redis-client/src/test/scala/io/renku/redis/client/RedisQueueClientSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.redis.client import cats.data.NonEmptyList diff --git a/modules/redis-client/src/test/scala/io/renku/redis/client/util/RedisBaseSuite.scala b/modules/redis-client/src/test/scala/io/renku/redis/client/util/RedisBaseSuite.scala index 87413510..77e9ca22 100644 --- a/modules/redis-client/src/test/scala/io/renku/redis/client/util/RedisBaseSuite.scala +++ b/modules/redis-client/src/test/scala/io/renku/redis/client/util/RedisBaseSuite.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.redis.client.util import cats.effect.* diff --git a/modules/redis-client/src/test/scala/io/renku/redis/client/util/RedisClients.scala b/modules/redis-client/src/test/scala/io/renku/redis/client/util/RedisClients.scala index 3cefbeb3..1fe4feef 100644 --- a/modules/redis-client/src/test/scala/io/renku/redis/client/util/RedisClients.scala +++ b/modules/redis-client/src/test/scala/io/renku/redis/client/util/RedisClients.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.redis.client.util import cats.effect.* diff --git a/modules/redis-client/src/test/scala/io/renku/redis/client/util/RedisServerSuite.scala b/modules/redis-client/src/test/scala/io/renku/redis/client/util/RedisServerSuite.scala index a7bae147..8b162546 100644 --- a/modules/redis-client/src/test/scala/io/renku/redis/client/util/RedisServerSuite.scala +++ b/modules/redis-client/src/test/scala/io/renku/redis/client/util/RedisServerSuite.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.redis.client.util import scala.concurrent.duration.* diff --git a/modules/redis-client/src/test/scala/io/renku/redis/client/util/TestSearchRedisServer.scala b/modules/redis-client/src/test/scala/io/renku/redis/client/util/TestSearchRedisServer.scala index e4aac64f..54a54943 100644 --- a/modules/redis-client/src/test/scala/io/renku/redis/client/util/TestSearchRedisServer.scala +++ b/modules/redis-client/src/test/scala/io/renku/redis/client/util/TestSearchRedisServer.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.redis.client.util import cats.effect.{ExitCode, IO, IOApp} diff --git a/modules/renku-redis-client/src/main/scala/io/renku/queue/client/QueueClient.scala b/modules/renku-redis-client/src/main/scala/io/renku/queue/client/QueueClient.scala index 3dae9555..ddf085e6 100644 --- a/modules/renku-redis-client/src/main/scala/io/renku/queue/client/QueueClient.scala +++ b/modules/renku-redis-client/src/main/scala/io/renku/queue/client/QueueClient.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.queue.client import cats.data.NonEmptyList diff --git a/modules/renku-redis-client/src/main/scala/io/renku/queue/client/QueueClientImpl.scala b/modules/renku-redis-client/src/main/scala/io/renku/queue/client/QueueClientImpl.scala index a46feaef..752c213b 100644 --- a/modules/renku-redis-client/src/main/scala/io/renku/queue/client/QueueClientImpl.scala +++ b/modules/renku-redis-client/src/main/scala/io/renku/queue/client/QueueClientImpl.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.queue.client import cats.data.NonEmptyList diff --git a/modules/renku-redis-client/src/test/scala/io/renku/queue/client/QueueClientSpec.scala b/modules/renku-redis-client/src/test/scala/io/renku/queue/client/QueueClientSpec.scala index 959eb1d9..c8cac02b 100644 --- a/modules/renku-redis-client/src/test/scala/io/renku/queue/client/QueueClientSpec.scala +++ b/modules/renku-redis-client/src/test/scala/io/renku/queue/client/QueueClientSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.queue.client import cats.data.NonEmptyList diff --git a/modules/renku-redis-client/src/test/scala/io/renku/queue/client/QueueSuite.scala b/modules/renku-redis-client/src/test/scala/io/renku/queue/client/QueueSuite.scala index 1a4a8de0..a20d706e 100644 --- a/modules/renku-redis-client/src/test/scala/io/renku/queue/client/QueueSuite.scala +++ b/modules/renku-redis-client/src/test/scala/io/renku/queue/client/QueueSuite.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.queue.client import cats.effect.{IO, Resource} diff --git a/modules/search-api/src/main/scala/io/renku/search/api/Microservice.scala b/modules/search-api/src/main/scala/io/renku/search/api/Microservice.scala index 0f3d4be5..c7bad25a 100644 --- a/modules/search-api/src/main/scala/io/renku/search/api/Microservice.scala +++ b/modules/search-api/src/main/scala/io/renku/search/api/Microservice.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.api import cats.effect.* diff --git a/modules/search-api/src/main/scala/io/renku/search/api/SearchApi.scala b/modules/search-api/src/main/scala/io/renku/search/api/SearchApi.scala index ea240ab5..a080a4f5 100644 --- a/modules/search-api/src/main/scala/io/renku/search/api/SearchApi.scala +++ b/modules/search-api/src/main/scala/io/renku/search/api/SearchApi.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.api import cats.effect.{Async, Resource} diff --git a/modules/search-api/src/main/scala/io/renku/search/api/SearchApiConfig.scala b/modules/search-api/src/main/scala/io/renku/search/api/SearchApiConfig.scala index 4864030c..47acd3a7 100644 --- a/modules/search-api/src/main/scala/io/renku/search/api/SearchApiConfig.scala +++ b/modules/search-api/src/main/scala/io/renku/search/api/SearchApiConfig.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.api import cats.syntax.all.* diff --git a/modules/search-api/src/main/scala/io/renku/search/api/SearchApiImpl.scala b/modules/search-api/src/main/scala/io/renku/search/api/SearchApiImpl.scala index 56d4e796..58d151e7 100644 --- a/modules/search-api/src/main/scala/io/renku/search/api/SearchApiImpl.scala +++ b/modules/search-api/src/main/scala/io/renku/search/api/SearchApiImpl.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.api import cats.effect.Async diff --git a/modules/search-api/src/main/scala/io/renku/search/api/SearchServer.scala b/modules/search-api/src/main/scala/io/renku/search/api/SearchServer.scala index 4cb98cb7..9858368a 100644 --- a/modules/search-api/src/main/scala/io/renku/search/api/SearchServer.scala +++ b/modules/search-api/src/main/scala/io/renku/search/api/SearchServer.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.api import cats.effect.* diff --git a/modules/search-api/src/main/scala/io/renku/search/api/ServiceRoutes.scala b/modules/search-api/src/main/scala/io/renku/search/api/ServiceRoutes.scala index aead6a18..7dbde975 100644 --- a/modules/search-api/src/main/scala/io/renku/search/api/ServiceRoutes.scala +++ b/modules/search-api/src/main/scala/io/renku/search/api/ServiceRoutes.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.api import cats.effect.{Async, Resource} diff --git a/modules/search-api/src/main/scala/io/renku/search/api/auth/Authenticate.scala b/modules/search-api/src/main/scala/io/renku/search/api/auth/Authenticate.scala index a5421f62..47cbac27 100644 --- a/modules/search-api/src/main/scala/io/renku/search/api/auth/Authenticate.scala +++ b/modules/search-api/src/main/scala/io/renku/search/api/auth/Authenticate.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.api.auth import cats.Monad diff --git a/modules/search-api/src/main/scala/io/renku/search/api/auth/ClaimToContext.scala b/modules/search-api/src/main/scala/io/renku/search/api/auth/ClaimToContext.scala index 1e7dff21..c753111e 100644 --- a/modules/search-api/src/main/scala/io/renku/search/api/auth/ClaimToContext.scala +++ b/modules/search-api/src/main/scala/io/renku/search/api/auth/ClaimToContext.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.api.auth import scala.util.control.NoStackTrace diff --git a/modules/search-api/src/main/scala/io/renku/search/api/data/AuthContext.scala b/modules/search-api/src/main/scala/io/renku/search/api/data/AuthContext.scala index f7c871dd..7ca13e63 100644 --- a/modules/search-api/src/main/scala/io/renku/search/api/data/AuthContext.scala +++ b/modules/search-api/src/main/scala/io/renku/search/api/data/AuthContext.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.api.data import cats.Show diff --git a/modules/search-api/src/main/scala/io/renku/search/api/data/AuthToken.scala b/modules/search-api/src/main/scala/io/renku/search/api/data/AuthToken.scala index 6589b2e0..2f06a97e 100644 --- a/modules/search-api/src/main/scala/io/renku/search/api/data/AuthToken.scala +++ b/modules/search-api/src/main/scala/io/renku/search/api/data/AuthToken.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.api.data import io.renku.search.model.Id diff --git a/modules/search-api/src/main/scala/io/renku/search/api/data/EntityConverter.scala b/modules/search-api/src/main/scala/io/renku/search/api/data/EntityConverter.scala index 755c03d8..72f48c2b 100644 --- a/modules/search-api/src/main/scala/io/renku/search/api/data/EntityConverter.scala +++ b/modules/search-api/src/main/scala/io/renku/search/api/data/EntityConverter.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.api.data import io.renku.search.solr.documents.{ diff --git a/modules/search-api/src/main/scala/io/renku/search/api/data/FacetData.scala b/modules/search-api/src/main/scala/io/renku/search/api/data/FacetData.scala index c5a0dfdc..ec628a8c 100644 --- a/modules/search-api/src/main/scala/io/renku/search/api/data/FacetData.scala +++ b/modules/search-api/src/main/scala/io/renku/search/api/data/FacetData.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.api.data import io.bullet.borer.Decoder diff --git a/modules/search-api/src/main/scala/io/renku/search/api/data/PageDef.scala b/modules/search-api/src/main/scala/io/renku/search/api/data/PageDef.scala index 6e010b21..e0a1d68b 100644 --- a/modules/search-api/src/main/scala/io/renku/search/api/data/PageDef.scala +++ b/modules/search-api/src/main/scala/io/renku/search/api/data/PageDef.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.api.data import io.bullet.borer.Decoder diff --git a/modules/search-api/src/main/scala/io/renku/search/api/data/PageWithTotals.scala b/modules/search-api/src/main/scala/io/renku/search/api/data/PageWithTotals.scala index 759592cf..46afb268 100644 --- a/modules/search-api/src/main/scala/io/renku/search/api/data/PageWithTotals.scala +++ b/modules/search-api/src/main/scala/io/renku/search/api/data/PageWithTotals.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.api.data import io.bullet.borer.NullOptions.given diff --git a/modules/search-api/src/main/scala/io/renku/search/api/data/QueryInput.scala b/modules/search-api/src/main/scala/io/renku/search/api/data/QueryInput.scala index 8df2052e..592b72bf 100644 --- a/modules/search-api/src/main/scala/io/renku/search/api/data/QueryInput.scala +++ b/modules/search-api/src/main/scala/io/renku/search/api/data/QueryInput.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.api.data import cats.Show diff --git a/modules/search-api/src/main/scala/io/renku/search/api/data/SearchEntity.scala b/modules/search-api/src/main/scala/io/renku/search/api/data/SearchEntity.scala index 4565e05d..39546242 100644 --- a/modules/search-api/src/main/scala/io/renku/search/api/data/SearchEntity.scala +++ b/modules/search-api/src/main/scala/io/renku/search/api/data/SearchEntity.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.api.data import io.bullet.borer.* diff --git a/modules/search-api/src/main/scala/io/renku/search/api/data/SearchResult.scala b/modules/search-api/src/main/scala/io/renku/search/api/data/SearchResult.scala index 2b92cc40..a5e6ff8c 100644 --- a/modules/search-api/src/main/scala/io/renku/search/api/data/SearchResult.scala +++ b/modules/search-api/src/main/scala/io/renku/search/api/data/SearchResult.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.api.data import io.bullet.borer.Decoder diff --git a/modules/search-api/src/main/scala/io/renku/search/api/routes/OpenApiLegacyRoute.scala b/modules/search-api/src/main/scala/io/renku/search/api/routes/OpenApiLegacyRoute.scala index 1e5baa77..e84da859 100644 --- a/modules/search-api/src/main/scala/io/renku/search/api/routes/OpenApiLegacyRoute.scala +++ b/modules/search-api/src/main/scala/io/renku/search/api/routes/OpenApiLegacyRoute.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.api.routes import cats.effect.Async diff --git a/modules/search-api/src/main/scala/io/renku/search/api/routes/OpenApiRoute.scala b/modules/search-api/src/main/scala/io/renku/search/api/routes/OpenApiRoute.scala index 0a3f3a09..ece2081c 100644 --- a/modules/search-api/src/main/scala/io/renku/search/api/routes/OpenApiRoute.scala +++ b/modules/search-api/src/main/scala/io/renku/search/api/routes/OpenApiRoute.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.api.routes import cats.effect.Async diff --git a/modules/search-api/src/main/scala/io/renku/search/api/routes/RoutesDefinition.scala b/modules/search-api/src/main/scala/io/renku/search/api/routes/RoutesDefinition.scala index ba3aaf9e..5ed0dba3 100644 --- a/modules/search-api/src/main/scala/io/renku/search/api/routes/RoutesDefinition.scala +++ b/modules/search-api/src/main/scala/io/renku/search/api/routes/RoutesDefinition.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.api.routes import cats.effect.* diff --git a/modules/search-api/src/main/scala/io/renku/search/api/routes/SearchLegacyRoutes.scala b/modules/search-api/src/main/scala/io/renku/search/api/routes/SearchLegacyRoutes.scala index e5dcbee7..423f161e 100644 --- a/modules/search-api/src/main/scala/io/renku/search/api/routes/SearchLegacyRoutes.scala +++ b/modules/search-api/src/main/scala/io/renku/search/api/routes/SearchLegacyRoutes.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.api.routes import cats.effect.Async diff --git a/modules/search-api/src/main/scala/io/renku/search/api/routes/SearchRoutes.scala b/modules/search-api/src/main/scala/io/renku/search/api/routes/SearchRoutes.scala index 78ecbc87..79e85e14 100644 --- a/modules/search-api/src/main/scala/io/renku/search/api/routes/SearchRoutes.scala +++ b/modules/search-api/src/main/scala/io/renku/search/api/routes/SearchRoutes.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.api.routes import cats.effect.Async diff --git a/modules/search-api/src/main/scala/io/renku/search/api/routes/VersionRoute.scala b/modules/search-api/src/main/scala/io/renku/search/api/routes/VersionRoute.scala index 9d58c6a5..666b8665 100644 --- a/modules/search-api/src/main/scala/io/renku/search/api/routes/VersionRoute.scala +++ b/modules/search-api/src/main/scala/io/renku/search/api/routes/VersionRoute.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.api.routes import cats.effect.* diff --git a/modules/search-api/src/main/scala/io/renku/search/api/tapir/ApiSchema.scala b/modules/search-api/src/main/scala/io/renku/search/api/tapir/ApiSchema.scala index 4e5c9436..41e4ced5 100644 --- a/modules/search-api/src/main/scala/io/renku/search/api/tapir/ApiSchema.scala +++ b/modules/search-api/src/main/scala/io/renku/search/api/tapir/ApiSchema.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.api.tapir import java.time.Instant diff --git a/modules/search-api/src/main/scala/io/renku/search/api/tapir/Params.scala b/modules/search-api/src/main/scala/io/renku/search/api/tapir/Params.scala index ea8a8d5f..ccc464a4 100644 --- a/modules/search-api/src/main/scala/io/renku/search/api/tapir/Params.scala +++ b/modules/search-api/src/main/scala/io/renku/search/api/tapir/Params.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.api.tapir import cats.syntax.all.* diff --git a/modules/search-api/src/main/scala/io/renku/search/api/tapir/SchemaSyntax.scala b/modules/search-api/src/main/scala/io/renku/search/api/tapir/SchemaSyntax.scala index c665385b..b561bd90 100644 --- a/modules/search-api/src/main/scala/io/renku/search/api/tapir/SchemaSyntax.scala +++ b/modules/search-api/src/main/scala/io/renku/search/api/tapir/SchemaSyntax.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.api.tapir import io.bullet.borer.Encoder diff --git a/modules/search-api/src/main/scala/io/renku/search/api/tapir/TapirCodecs.scala b/modules/search-api/src/main/scala/io/renku/search/api/tapir/TapirCodecs.scala index f3ca0788..25f4823e 100644 --- a/modules/search-api/src/main/scala/io/renku/search/api/tapir/TapirCodecs.scala +++ b/modules/search-api/src/main/scala/io/renku/search/api/tapir/TapirCodecs.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.api.tapir import io.renku.search.api.data.* diff --git a/modules/search-api/src/test/scala/io/renku/search/api/SearchApiSpec.scala b/modules/search-api/src/test/scala/io/renku/search/api/SearchApiSpec.scala index b704e3b9..632f27f1 100644 --- a/modules/search-api/src/test/scala/io/renku/search/api/SearchApiSpec.scala +++ b/modules/search-api/src/test/scala/io/renku/search/api/SearchApiSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.api import cats.effect.IO diff --git a/modules/search-api/src/test/scala/io/renku/search/api/SearchRoutesSpec.scala b/modules/search-api/src/test/scala/io/renku/search/api/SearchRoutesSpec.scala index 6013b9de..18a9cffc 100644 --- a/modules/search-api/src/test/scala/io/renku/search/api/SearchRoutesSpec.scala +++ b/modules/search-api/src/test/scala/io/renku/search/api/SearchRoutesSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.api import cats.effect.IO diff --git a/modules/search-api/src/test/scala/io/renku/search/api/SearchRoutesSuite.scala b/modules/search-api/src/test/scala/io/renku/search/api/SearchRoutesSuite.scala index 1563c513..731c31ce 100644 --- a/modules/search-api/src/test/scala/io/renku/search/api/SearchRoutesSuite.scala +++ b/modules/search-api/src/test/scala/io/renku/search/api/SearchRoutesSuite.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.api import scala.concurrent.duration.* diff --git a/modules/search-api/src/test/scala/io/renku/search/api/auth/AuthenticateSpec.scala b/modules/search-api/src/test/scala/io/renku/search/api/auth/AuthenticateSpec.scala index fb76c7a8..5c751c1e 100644 --- a/modules/search-api/src/test/scala/io/renku/search/api/auth/AuthenticateSpec.scala +++ b/modules/search-api/src/test/scala/io/renku/search/api/auth/AuthenticateSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.api.auth import cats.Id diff --git a/modules/search-api/src/test/scala/io/renku/search/api/auth/ClaimToContextSpec.scala b/modules/search-api/src/test/scala/io/renku/search/api/auth/ClaimToContextSpec.scala index 4dda717a..6331fd67 100644 --- a/modules/search-api/src/test/scala/io/renku/search/api/auth/ClaimToContextSpec.scala +++ b/modules/search-api/src/test/scala/io/renku/search/api/auth/ClaimToContextSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.api.auth import cats.syntax.all.* diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/CommonOpts.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/CommonOpts.scala index 830be96e..81cd920e 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/CommonOpts.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/CommonOpts.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli import cats.syntax.all.* diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/GroupCmd.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/GroupCmd.scala index 2f9d22b8..cee5703a 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/GroupCmd.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/GroupCmd.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli import cats.effect.* diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/ProjectCmd.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/ProjectCmd.scala index e73fdc1e..4ff8e20f 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/ProjectCmd.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/ProjectCmd.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli import cats.effect.* diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/ReprovisionCmd.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/ReprovisionCmd.scala index 7541f23c..95544dfc 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/ReprovisionCmd.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/ReprovisionCmd.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli import cats.effect.* diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/SearchCli.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/SearchCli.scala index 9bd64af7..c6e47c51 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/SearchCli.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/SearchCli.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli import cats.effect.{ExitCode, IO} diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/Services.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/Services.scala index ffd529dd..c38cc318 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/Services.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/Services.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli import cats.effect.* diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/SubCommands.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/SubCommands.scala index a8c3b484..b84a64fa 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/SubCommands.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/SubCommands.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli import cats.syntax.all.* diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/UserCmd.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/UserCmd.scala index a4cb0c0a..798a979b 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/UserCmd.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/UserCmd.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli import cats.effect.* diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/groups/AddCmd.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/groups/AddCmd.scala index 8192b98f..e039ecfe 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/groups/AddCmd.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/groups/AddCmd.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli.groups import cats.effect.* diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/groups/MemberAddCmd.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/groups/MemberAddCmd.scala index 7de09ee0..8027dbc7 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/groups/MemberAddCmd.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/groups/MemberAddCmd.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli.groups import cats.effect.* diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/groups/MemberRemoveCmd.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/groups/MemberRemoveCmd.scala index 77fea392..cccdf1dc 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/groups/MemberRemoveCmd.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/groups/MemberRemoveCmd.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli.groups import cats.effect.* diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/groups/MemberUpdateCmd.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/groups/MemberUpdateCmd.scala index 597ee6a5..bf538cad 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/groups/MemberUpdateCmd.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/groups/MemberUpdateCmd.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli.groups import cats.effect.* diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/groups/RemoveCmd.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/groups/RemoveCmd.scala index 51cd9af2..e6b899b0 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/groups/RemoveCmd.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/groups/RemoveCmd.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli.groups import cats.effect.* diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/groups/UpdateCmd.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/groups/UpdateCmd.scala index a945fd71..39bc9762 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/groups/UpdateCmd.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/groups/UpdateCmd.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli.groups import cats.effect.* diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/DocumentsCreator.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/DocumentsCreator.scala index 8b20f982..9f3d41a7 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/DocumentsCreator.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/DocumentsCreator.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli.perftests import cats.effect.{Async, Resource} diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/Enqueuer.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/Enqueuer.scala index 492a8d9b..b6f56743 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/Enqueuer.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/Enqueuer.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli.perftests import cats.effect.{Async, Ref, Resource} diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/EventsGenerator.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/EventsGenerator.scala index 2a1be32e..84b03f4f 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/EventsGenerator.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/EventsGenerator.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli.perftests import cats.MonadThrow diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/GitLabDocsCreator.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/GitLabDocsCreator.scala index 984ed5c4..8345c5eb 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/GitLabDocsCreator.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/GitLabDocsCreator.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli.perftests import cats.effect.{Async, Resource} diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/GitLabEntities.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/GitLabEntities.scala index a94f2bb5..f39e53e7 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/GitLabEntities.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/GitLabEntities.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli.perftests import java.time.Instant diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/ModelTypesGenerators.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/ModelTypesGenerators.scala index 9c6bff49..6b50598c 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/ModelTypesGenerators.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/ModelTypesGenerators.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli.perftests import java.time.Instant diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/NewProjectEvents.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/NewProjectEvents.scala index e376de18..2f68dc96 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/NewProjectEvents.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/NewProjectEvents.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli.perftests import cats.effect.Sync diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/PerfTestsConfig.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/PerfTestsConfig.scala index 40ee5399..b45a0be6 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/PerfTestsConfig.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/PerfTestsConfig.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli.perftests import scala.concurrent.duration.* diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/PerfTestsRunner.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/PerfTestsRunner.scala index 23b437be..0737d7d9 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/PerfTestsRunner.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/PerfTestsRunner.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli.perftests import cats.effect.IO diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/ProjectEventsGenerator.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/ProjectEventsGenerator.scala index 43d9757e..beb9408f 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/ProjectEventsGenerator.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/ProjectEventsGenerator.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli.perftests import cats.MonadThrow diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/QueueDelivery.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/QueueDelivery.scala index 2b899790..e15f4016 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/QueueDelivery.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/QueueDelivery.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli.perftests import cats.Show diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/RandommerIoDocsCreator.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/RandommerIoDocsCreator.scala index 0e2db81f..9a0489b3 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/RandommerIoDocsCreator.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/perftests/RandommerIoDocsCreator.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli.perftests import cats.effect.{Async, Resource} diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/projects/CreateCmd.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/projects/CreateCmd.scala index ca59c87a..827e0efd 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/projects/CreateCmd.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/projects/CreateCmd.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli.projects import cats.effect.* diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/projects/MemberAddCmd.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/projects/MemberAddCmd.scala index 2ec417f3..bb76f636 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/projects/MemberAddCmd.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/projects/MemberAddCmd.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli.projects import cats.effect.* diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/projects/MemberRemoveCmd.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/projects/MemberRemoveCmd.scala index 4c4a736b..6143f556 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/projects/MemberRemoveCmd.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/projects/MemberRemoveCmd.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli.projects import cats.effect.* diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/projects/MemberUpdateCmd.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/projects/MemberUpdateCmd.scala index 239c48aa..add6295d 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/projects/MemberUpdateCmd.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/projects/MemberUpdateCmd.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli.projects import cats.effect.* diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/projects/RemoveCmd.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/projects/RemoveCmd.scala index 32d89cbe..c210cd0e 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/projects/RemoveCmd.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/projects/RemoveCmd.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli.projects import cats.effect.* diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/projects/UpdateCmd.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/projects/UpdateCmd.scala index 6eb5117f..eb09b873 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/projects/UpdateCmd.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/projects/UpdateCmd.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli.projects import cats.effect.* diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/reprovision/FinishCmd.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/reprovision/FinishCmd.scala index 5558422b..3092768f 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/reprovision/FinishCmd.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/reprovision/FinishCmd.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli.reprovision import cats.effect.* diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/reprovision/StartCmd.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/reprovision/StartCmd.scala index ab9bc41f..912c3cd9 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/reprovision/StartCmd.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/reprovision/StartCmd.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli.reprovision import cats.effect.* diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/users/AddCmd.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/users/AddCmd.scala index 425c8b43..b8f30c85 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/users/AddCmd.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/users/AddCmd.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli.users import cats.effect.* diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/users/RemoveCmd.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/users/RemoveCmd.scala index 1b7c0f5a..8390cc8e 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/users/RemoveCmd.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/users/RemoveCmd.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli.users import cats.effect.* diff --git a/modules/search-cli/src/main/scala/io/renku/search/cli/users/UpdateCmd.scala b/modules/search-cli/src/main/scala/io/renku/search/cli/users/UpdateCmd.scala index 152c17aa..0dad7bde 100644 --- a/modules/search-cli/src/main/scala/io/renku/search/cli/users/UpdateCmd.scala +++ b/modules/search-cli/src/main/scala/io/renku/search/cli/users/UpdateCmd.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.cli.users import cats.effect.* diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/BackgroundProcessManage.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/BackgroundProcessManage.scala index 03bbfe44..cca6bbd7 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/BackgroundProcessManage.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/BackgroundProcessManage.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision import scala.concurrent.duration.FiniteDuration diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/MessageHandlers.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/MessageHandlers.scala index 50cdc29e..37fe8aa5 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/MessageHandlers.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/MessageHandlers.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision import cats.effect.* diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/MessageMetrics.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/MessageMetrics.scala index a9ecb3bf..67b52a1e 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/MessageMetrics.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/MessageMetrics.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision import cats.effect.* diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/Microservice.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/Microservice.scala index 958a64e0..274d0a0d 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/Microservice.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/Microservice.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision import scala.concurrent.duration.Duration diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/Routes.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/Routes.scala index 03fc6433..282234f6 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/Routes.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/Routes.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision import cats.effect.{Async, Resource} diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/SearchProvisionConfig.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/SearchProvisionConfig.scala index d58c7f42..64ef89a2 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/SearchProvisionConfig.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/SearchProvisionConfig.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision import scala.concurrent.duration.FiniteDuration diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/Services.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/Services.scala index cadf437e..2bbb95bc 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/Services.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/Services.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision import cats.NonEmptyParallel diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/SyncMessageHandler.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/SyncMessageHandler.scala index 6b3ff5c0..106a7125 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/SyncMessageHandler.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/SyncMessageHandler.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision import cats.effect.* diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/events/Conversion.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/events/Conversion.scala index 69f224e9..bfd901f8 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/events/Conversion.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/events/Conversion.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.events trait Conversion extends ProjectAuthorization with Projects with Users with Groups diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/events/Groups.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/events/Groups.scala index fd92dec2..602eed18 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/events/Groups.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/events/Groups.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.events import io.renku.events.v2 diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/events/ProjectAuthorization.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/events/ProjectAuthorization.scala index 31b6b2c6..722775ef 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/events/ProjectAuthorization.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/events/ProjectAuthorization.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.events import io.renku.events.v1.{ProjectAuthorizationAdded, ProjectAuthorizationUpdated} diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/events/Projects.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/events/Projects.scala index 2933c1fc..f8d9947a 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/events/Projects.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/events/Projects.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.events import cats.syntax.all.* diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/events/Users.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/events/Users.scala index 9a5d9cf5..369fa46c 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/events/Users.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/events/Users.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.events import cats.syntax.all.* diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/events/syntax.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/events/syntax.scala index bfc9a622..3bb47d30 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/events/syntax.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/events/syntax.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.events import io.renku.events.{v1, v2} diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/handler/DeleteFromSolr.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/handler/DeleteFromSolr.scala index 512ec978..fa2f8068 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/handler/DeleteFromSolr.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/handler/DeleteFromSolr.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.handler import cats.data.NonEmptyList diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/handler/DocumentMerger.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/handler/DocumentMerger.scala index 637e3fac..7b23d406 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/handler/DocumentMerger.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/handler/DocumentMerger.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.handler import cats.syntax.all.* diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/handler/EntityOrPartialMessage.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/handler/EntityOrPartialMessage.scala index 9e0cfb0b..e4fb68db 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/handler/EntityOrPartialMessage.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/handler/EntityOrPartialMessage.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.handler import cats.syntax.all.* diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/handler/FetchFromSolr.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/handler/FetchFromSolr.scala index cb314804..28323401 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/handler/FetchFromSolr.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/handler/FetchFromSolr.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.handler import cats.effect.Sync diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/handler/IdExtractor.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/handler/IdExtractor.scala index 65c67cbd..660fe48a 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/handler/IdExtractor.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/handler/IdExtractor.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.handler import io.renku.search.events.* diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/handler/MessageReader.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/handler/MessageReader.scala index 6bc4cb89..57c4229f 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/handler/MessageReader.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/handler/MessageReader.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.handler import cats.data.NonEmptyList diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/handler/Model.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/handler/Model.scala index ce8af866..59687c5a 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/handler/Model.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/handler/Model.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.handler import io.bullet.borer.Encoder diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/handler/PipelineSteps.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/handler/PipelineSteps.scala index 914c3ead..0d9dd683 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/handler/PipelineSteps.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/handler/PipelineSteps.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.handler import cats.effect.Async diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/handler/PushToSolr.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/handler/PushToSolr.scala index 1bde3c76..f7551d62 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/handler/PushToSolr.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/handler/PushToSolr.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.handler import cats.effect.Async diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/handler/UserUtils.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/handler/UserUtils.scala index 6b311027..8b590627 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/handler/UserUtils.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/handler/UserUtils.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.handler import cats.effect.Async diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/CollectorUpdater.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/CollectorUpdater.scala index b6679926..1261615d 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/CollectorUpdater.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/CollectorUpdater.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.metrics import io.renku.redis.client.QueueName diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/DocumentKindGauge.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/DocumentKindGauge.scala index 119af9dc..a8693fc2 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/DocumentKindGauge.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/DocumentKindGauge.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.metrics import io.prometheus.client.Gauge diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/DocumentKindGaugeUpdater.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/DocumentKindGaugeUpdater.scala index a5cca0f0..c349603d 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/DocumentKindGaugeUpdater.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/DocumentKindGaugeUpdater.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.metrics import cats.MonadThrow diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/MetricsCollectorsUpdater.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/MetricsCollectorsUpdater.scala index bc4f6f1c..498e22ea 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/MetricsCollectorsUpdater.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/MetricsCollectorsUpdater.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.metrics import scala.concurrent.duration.FiniteDuration diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/QueueGauge.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/QueueGauge.scala index 73791a2c..2cc53d92 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/QueueGauge.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/QueueGauge.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.metrics import io.renku.redis.client.QueueName diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/QueueSizeGauge.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/QueueSizeGauge.scala index 4e91a696..62f719c2 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/QueueSizeGauge.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/QueueSizeGauge.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.metrics import io.prometheus.client.Gauge diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/QueueSizeGaugeUpdater.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/QueueSizeGaugeUpdater.scala index 6c21a89b..61d7d15b 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/QueueSizeGaugeUpdater.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/QueueSizeGaugeUpdater.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.metrics import cats.Monad diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/RedisMetrics.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/RedisMetrics.scala index 615ea5cd..50068b5a 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/RedisMetrics.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/RedisMetrics.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.metrics import cats.Monad diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/RedisMetricsCollectorsUpdater.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/RedisMetricsCollectorsUpdater.scala index c8a0071e..3625e57a 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/RedisMetricsCollectorsUpdater.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/RedisMetricsCollectorsUpdater.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.metrics import scala.concurrent.duration.FiniteDuration diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/SolrMetrics.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/SolrMetrics.scala index fe80eec3..88dc42f9 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/SolrMetrics.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/SolrMetrics.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.metrics import io.renku.search.model.EntityType diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/SolrMetricsCollectorsUpdater.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/SolrMetricsCollectorsUpdater.scala index 591abf2a..5d9c6956 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/SolrMetricsCollectorsUpdater.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/SolrMetricsCollectorsUpdater.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.metrics import scala.concurrent.duration.FiniteDuration diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/UnprocessedCountGauge.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/UnprocessedCountGauge.scala index 4509072b..397be484 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/UnprocessedCountGauge.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/UnprocessedCountGauge.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.metrics import io.prometheus.client.Gauge diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/UnprocessedCountGaugeUpdater.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/UnprocessedCountGaugeUpdater.scala index 08d4b494..1ef683c6 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/UnprocessedCountGaugeUpdater.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/metrics/UnprocessedCountGaugeUpdater.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.metrics import cats.Monad diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/process/GenericDelete.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/process/GenericDelete.scala index fa17d357..b98e12d1 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/process/GenericDelete.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/process/GenericDelete.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.process import cats.effect.* diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/process/GenericUpsert.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/process/GenericUpsert.scala index c79ef4b7..faef5a61 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/process/GenericUpsert.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/process/GenericUpsert.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.process import cats.effect.* diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/process/GroupMemberUpsert.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/process/GroupMemberUpsert.scala index f5057078..fc8a4b28 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/process/GroupMemberUpsert.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/process/GroupMemberUpsert.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.process import cats.effect.* diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/process/GroupRemove.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/process/GroupRemove.scala index 3562145e..1380e8ce 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/process/GroupRemove.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/process/GroupRemove.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.process import cats.effect.* diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/process/GroupUpdate.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/process/GroupUpdate.scala index 8361cd92..57c3e036 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/process/GroupUpdate.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/process/GroupUpdate.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.process import cats.effect.* diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/process/ProjectUpsert.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/process/ProjectUpsert.scala index 61f5176f..df135f0e 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/process/ProjectUpsert.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/process/ProjectUpsert.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.process import cats.effect.* diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/process/Reprovisioning.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/process/Reprovisioning.scala index e53f3c1a..8e245677 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/process/Reprovisioning.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/process/Reprovisioning.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.process import cats.effect.* diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/process/UserDelete.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/process/UserDelete.scala index d2df9f0f..1415c8d3 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/process/UserDelete.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/process/UserDelete.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.process import cats.effect.* diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/reindex/ReIndexDocument.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/reindex/ReIndexDocument.scala index 630736bd..7a2fc19d 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/reindex/ReIndexDocument.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/reindex/ReIndexDocument.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.reindex import java.time.Instant diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/reindex/ReIndexService.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/reindex/ReIndexService.scala index 0dc94dbf..47e71af1 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/reindex/ReIndexService.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/reindex/ReIndexService.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.reindex import cats.data.NonEmptyList diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/reindex/ReprovisionService.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/reindex/ReprovisionService.scala index 2bcdbd45..a019095a 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/reindex/ReprovisionService.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/reindex/ReprovisionService.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.reindex import cats.effect.kernel.Sync diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/reindex/ReprovisionServiceImpl.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/reindex/ReprovisionServiceImpl.scala index 48749242..d7824352 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/reindex/ReprovisionServiceImpl.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/reindex/ReprovisionServiceImpl.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.reindex import scala.concurrent.duration.* diff --git a/modules/search-provision/src/test/scala/io/renku/search/provision/BackgroundCollector.scala b/modules/search-provision/src/test/scala/io/renku/search/provision/BackgroundCollector.scala index 26d33e0d..2a27e860 100644 --- a/modules/search-provision/src/test/scala/io/renku/search/provision/BackgroundCollector.scala +++ b/modules/search-provision/src/test/scala/io/renku/search/provision/BackgroundCollector.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision import java.util.concurrent.TimeoutException diff --git a/modules/search-provision/src/test/scala/io/renku/search/provision/BackgroundProcessManageSpec.scala b/modules/search-provision/src/test/scala/io/renku/search/provision/BackgroundProcessManageSpec.scala index a1afe67a..023725c3 100644 --- a/modules/search-provision/src/test/scala/io/renku/search/provision/BackgroundProcessManageSpec.scala +++ b/modules/search-provision/src/test/scala/io/renku/search/provision/BackgroundProcessManageSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision import scala.concurrent.duration.* diff --git a/modules/search-provision/src/test/scala/io/renku/search/provision/ConcurrentUpdateSpec.scala b/modules/search-provision/src/test/scala/io/renku/search/provision/ConcurrentUpdateSpec.scala index 4fe0cb68..57915289 100644 --- a/modules/search-provision/src/test/scala/io/renku/search/provision/ConcurrentUpdateSpec.scala +++ b/modules/search-provision/src/test/scala/io/renku/search/provision/ConcurrentUpdateSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision import scala.concurrent.duration.* diff --git a/modules/search-provision/src/test/scala/io/renku/search/provision/ProvisioningSuite.scala b/modules/search-provision/src/test/scala/io/renku/search/provision/ProvisioningSuite.scala index 41df8a64..25592552 100644 --- a/modules/search-provision/src/test/scala/io/renku/search/provision/ProvisioningSuite.scala +++ b/modules/search-provision/src/test/scala/io/renku/search/provision/ProvisioningSuite.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision import scala.concurrent.duration.* diff --git a/modules/search-provision/src/test/scala/io/renku/search/provision/TestServices.scala b/modules/search-provision/src/test/scala/io/renku/search/provision/TestServices.scala index e40df517..7cbc2ee8 100644 --- a/modules/search-provision/src/test/scala/io/renku/search/provision/TestServices.scala +++ b/modules/search-provision/src/test/scala/io/renku/search/provision/TestServices.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision import cats.effect.* diff --git a/modules/search-provision/src/test/scala/io/renku/search/provision/group/GroupAddedProvisioningSpec.scala b/modules/search-provision/src/test/scala/io/renku/search/provision/group/GroupAddedProvisioningSpec.scala index 6cb9a61c..df7aec21 100644 --- a/modules/search-provision/src/test/scala/io/renku/search/provision/group/GroupAddedProvisioningSpec.scala +++ b/modules/search-provision/src/test/scala/io/renku/search/provision/group/GroupAddedProvisioningSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.group import cats.data.NonEmptyList diff --git a/modules/search-provision/src/test/scala/io/renku/search/provision/group/GroupMemberAddedSpec.scala b/modules/search-provision/src/test/scala/io/renku/search/provision/group/GroupMemberAddedSpec.scala index 8afb0d50..f6e476ab 100644 --- a/modules/search-provision/src/test/scala/io/renku/search/provision/group/GroupMemberAddedSpec.scala +++ b/modules/search-provision/src/test/scala/io/renku/search/provision/group/GroupMemberAddedSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.group import cats.effect.* diff --git a/modules/search-provision/src/test/scala/io/renku/search/provision/group/GroupMemberRemovedSpec.scala b/modules/search-provision/src/test/scala/io/renku/search/provision/group/GroupMemberRemovedSpec.scala index f31b807d..d879c462 100644 --- a/modules/search-provision/src/test/scala/io/renku/search/provision/group/GroupMemberRemovedSpec.scala +++ b/modules/search-provision/src/test/scala/io/renku/search/provision/group/GroupMemberRemovedSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.group import cats.effect.* diff --git a/modules/search-provision/src/test/scala/io/renku/search/provision/group/GroupMemberUpdatedSpec.scala b/modules/search-provision/src/test/scala/io/renku/search/provision/group/GroupMemberUpdatedSpec.scala index fdb6f10a..63965598 100644 --- a/modules/search-provision/src/test/scala/io/renku/search/provision/group/GroupMemberUpdatedSpec.scala +++ b/modules/search-provision/src/test/scala/io/renku/search/provision/group/GroupMemberUpdatedSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.group import cats.effect.* diff --git a/modules/search-provision/src/test/scala/io/renku/search/provision/group/GroupRemovedProcessSpec.scala b/modules/search-provision/src/test/scala/io/renku/search/provision/group/GroupRemovedProcessSpec.scala index 80a1f6fc..d1faabe1 100644 --- a/modules/search-provision/src/test/scala/io/renku/search/provision/group/GroupRemovedProcessSpec.scala +++ b/modules/search-provision/src/test/scala/io/renku/search/provision/group/GroupRemovedProcessSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.group import cats.effect.IO diff --git a/modules/search-provision/src/test/scala/io/renku/search/provision/group/GroupUpdatedProvisioningSpec.scala b/modules/search-provision/src/test/scala/io/renku/search/provision/group/GroupUpdatedProvisioningSpec.scala index 3e49a28c..775ed01d 100644 --- a/modules/search-provision/src/test/scala/io/renku/search/provision/group/GroupUpdatedProvisioningSpec.scala +++ b/modules/search-provision/src/test/scala/io/renku/search/provision/group/GroupUpdatedProvisioningSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.group import cats.effect.IO diff --git a/modules/search-provision/src/test/scala/io/renku/search/provision/metrics/DocumentKindGaugeUpdaterSpec.scala b/modules/search-provision/src/test/scala/io/renku/search/provision/metrics/DocumentKindGaugeUpdaterSpec.scala index 013c5606..e731a834 100644 --- a/modules/search-provision/src/test/scala/io/renku/search/provision/metrics/DocumentKindGaugeUpdaterSpec.scala +++ b/modules/search-provision/src/test/scala/io/renku/search/provision/metrics/DocumentKindGaugeUpdaterSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.metrics import cats.effect.IO diff --git a/modules/search-provision/src/test/scala/io/renku/search/provision/project/AuthorizationAddedProvisioningSpec.scala b/modules/search-provision/src/test/scala/io/renku/search/provision/project/AuthorizationAddedProvisioningSpec.scala index 6d9ee3cd..efa66646 100644 --- a/modules/search-provision/src/test/scala/io/renku/search/provision/project/AuthorizationAddedProvisioningSpec.scala +++ b/modules/search-provision/src/test/scala/io/renku/search/provision/project/AuthorizationAddedProvisioningSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.project import cats.effect.IO diff --git a/modules/search-provision/src/test/scala/io/renku/search/provision/project/AuthorizationRemovedProvisioningSpec.scala b/modules/search-provision/src/test/scala/io/renku/search/provision/project/AuthorizationRemovedProvisioningSpec.scala index 1457c2d7..df308d55 100644 --- a/modules/search-provision/src/test/scala/io/renku/search/provision/project/AuthorizationRemovedProvisioningSpec.scala +++ b/modules/search-provision/src/test/scala/io/renku/search/provision/project/AuthorizationRemovedProvisioningSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision package project diff --git a/modules/search-provision/src/test/scala/io/renku/search/provision/project/AuthorizationUpdatedProvisioningSpec.scala b/modules/search-provision/src/test/scala/io/renku/search/provision/project/AuthorizationUpdatedProvisioningSpec.scala index 4c4bfc53..8163581a 100644 --- a/modules/search-provision/src/test/scala/io/renku/search/provision/project/AuthorizationUpdatedProvisioningSpec.scala +++ b/modules/search-provision/src/test/scala/io/renku/search/provision/project/AuthorizationUpdatedProvisioningSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision package project diff --git a/modules/search-provision/src/test/scala/io/renku/search/provision/project/ProjectCreatedProvisioningSpec.scala b/modules/search-provision/src/test/scala/io/renku/search/provision/project/ProjectCreatedProvisioningSpec.scala index 95f34585..2896ab91 100644 --- a/modules/search-provision/src/test/scala/io/renku/search/provision/project/ProjectCreatedProvisioningSpec.scala +++ b/modules/search-provision/src/test/scala/io/renku/search/provision/project/ProjectCreatedProvisioningSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.project import cats.effect.IO diff --git a/modules/search-provision/src/test/scala/io/renku/search/provision/project/ProjectRemovedProcessSpec.scala b/modules/search-provision/src/test/scala/io/renku/search/provision/project/ProjectRemovedProcessSpec.scala index 95a61a91..efa75102 100644 --- a/modules/search-provision/src/test/scala/io/renku/search/provision/project/ProjectRemovedProcessSpec.scala +++ b/modules/search-provision/src/test/scala/io/renku/search/provision/project/ProjectRemovedProcessSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.project import cats.effect.IO diff --git a/modules/search-provision/src/test/scala/io/renku/search/provision/project/ProjectUpdatedProvisioningSpec.scala b/modules/search-provision/src/test/scala/io/renku/search/provision/project/ProjectUpdatedProvisioningSpec.scala index 545385fc..539afb4d 100644 --- a/modules/search-provision/src/test/scala/io/renku/search/provision/project/ProjectUpdatedProvisioningSpec.scala +++ b/modules/search-provision/src/test/scala/io/renku/search/provision/project/ProjectUpdatedProvisioningSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.project import cats.effect.IO diff --git a/modules/search-provision/src/test/scala/io/renku/search/provision/reindex/ReIndexServiceSpec.scala b/modules/search-provision/src/test/scala/io/renku/search/provision/reindex/ReIndexServiceSpec.scala index 0b5b1771..cb82d543 100644 --- a/modules/search-provision/src/test/scala/io/renku/search/provision/reindex/ReIndexServiceSpec.scala +++ b/modules/search-provision/src/test/scala/io/renku/search/provision/reindex/ReIndexServiceSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.reindex import cats.effect.* diff --git a/modules/search-provision/src/test/scala/io/renku/search/provision/reindex/ReprovisionServiceSpec.scala b/modules/search-provision/src/test/scala/io/renku/search/provision/reindex/ReprovisionServiceSpec.scala index 133a4ae1..8400dd47 100644 --- a/modules/search-provision/src/test/scala/io/renku/search/provision/reindex/ReprovisionServiceSpec.scala +++ b/modules/search-provision/src/test/scala/io/renku/search/provision/reindex/ReprovisionServiceSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.reindex import cats.effect.* diff --git a/modules/search-provision/src/test/scala/io/renku/search/provision/user/UserAddedProvisioningSpec.scala b/modules/search-provision/src/test/scala/io/renku/search/provision/user/UserAddedProvisioningSpec.scala index 02c479c2..edfa168d 100644 --- a/modules/search-provision/src/test/scala/io/renku/search/provision/user/UserAddedProvisioningSpec.scala +++ b/modules/search-provision/src/test/scala/io/renku/search/provision/user/UserAddedProvisioningSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.user import cats.data.NonEmptyList diff --git a/modules/search-provision/src/test/scala/io/renku/search/provision/user/UserRemovedProcessSpec.scala b/modules/search-provision/src/test/scala/io/renku/search/provision/user/UserRemovedProcessSpec.scala index 41d7e43a..2d014a49 100644 --- a/modules/search-provision/src/test/scala/io/renku/search/provision/user/UserRemovedProcessSpec.scala +++ b/modules/search-provision/src/test/scala/io/renku/search/provision/user/UserRemovedProcessSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.user import cats.data.NonEmptyList diff --git a/modules/search-provision/src/test/scala/io/renku/search/provision/user/UserUpdatedProvisioningSpec.scala b/modules/search-provision/src/test/scala/io/renku/search/provision/user/UserUpdatedProvisioningSpec.scala index fda03724..8061930f 100644 --- a/modules/search-provision/src/test/scala/io/renku/search/provision/user/UserUpdatedProvisioningSpec.scala +++ b/modules/search-provision/src/test/scala/io/renku/search/provision/user/UserUpdatedProvisioningSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.provision.user import cats.effect.IO diff --git a/modules/search-query/src/main/scala/io/renku/search/query/Comparison.scala b/modules/search-query/src/main/scala/io/renku/search/query/Comparison.scala index 759acfe1..238e19a4 100644 --- a/modules/search-query/src/main/scala/io/renku/search/query/Comparison.scala +++ b/modules/search-query/src/main/scala/io/renku/search/query/Comparison.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.query import io.bullet.borer.{Decoder, Encoder} diff --git a/modules/search-query/src/main/scala/io/renku/search/query/DateTimeCalc.scala b/modules/search-query/src/main/scala/io/renku/search/query/DateTimeCalc.scala index bd34a0fa..c9a9ca52 100644 --- a/modules/search-query/src/main/scala/io/renku/search/query/DateTimeCalc.scala +++ b/modules/search-query/src/main/scala/io/renku/search/query/DateTimeCalc.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.query import java.time.Period diff --git a/modules/search-query/src/main/scala/io/renku/search/query/DateTimeRef.scala b/modules/search-query/src/main/scala/io/renku/search/query/DateTimeRef.scala index eea0c29a..ec355fc7 100644 --- a/modules/search-query/src/main/scala/io/renku/search/query/DateTimeRef.scala +++ b/modules/search-query/src/main/scala/io/renku/search/query/DateTimeRef.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.query import java.time.Instant diff --git a/modules/search-query/src/main/scala/io/renku/search/query/Field.scala b/modules/search-query/src/main/scala/io/renku/search/query/Field.scala index 96ae84a2..af6f3be2 100644 --- a/modules/search-query/src/main/scala/io/renku/search/query/Field.scala +++ b/modules/search-query/src/main/scala/io/renku/search/query/Field.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.query import io.bullet.borer.{Decoder, Encoder} diff --git a/modules/search-query/src/main/scala/io/renku/search/query/FieldTerm.scala b/modules/search-query/src/main/scala/io/renku/search/query/FieldTerm.scala index f77fead7..2da57ca7 100644 --- a/modules/search-query/src/main/scala/io/renku/search/query/FieldTerm.scala +++ b/modules/search-query/src/main/scala/io/renku/search/query/FieldTerm.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.query import cats.data.NonEmptyList diff --git a/modules/search-query/src/main/scala/io/renku/search/query/Order.scala b/modules/search-query/src/main/scala/io/renku/search/query/Order.scala index 7c3a0fac..3ea7398d 100644 --- a/modules/search-query/src/main/scala/io/renku/search/query/Order.scala +++ b/modules/search-query/src/main/scala/io/renku/search/query/Order.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.query import cats.data.NonEmptyList diff --git a/modules/search-query/src/main/scala/io/renku/search/query/PartialDateTime.scala b/modules/search-query/src/main/scala/io/renku/search/query/PartialDateTime.scala index 80c98628..079be8a4 100644 --- a/modules/search-query/src/main/scala/io/renku/search/query/PartialDateTime.scala +++ b/modules/search-query/src/main/scala/io/renku/search/query/PartialDateTime.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.query import java.time.* diff --git a/modules/search-query/src/main/scala/io/renku/search/query/Query.scala b/modules/search-query/src/main/scala/io/renku/search/query/Query.scala index c52ef03d..64c22e60 100644 --- a/modules/search-query/src/main/scala/io/renku/search/query/Query.scala +++ b/modules/search-query/src/main/scala/io/renku/search/query/Query.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.query import cats.data.NonEmptyList diff --git a/modules/search-query/src/main/scala/io/renku/search/query/RelativeDate.scala b/modules/search-query/src/main/scala/io/renku/search/query/RelativeDate.scala index 1704f80e..8f946345 100644 --- a/modules/search-query/src/main/scala/io/renku/search/query/RelativeDate.scala +++ b/modules/search-query/src/main/scala/io/renku/search/query/RelativeDate.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.query enum RelativeDate: diff --git a/modules/search-query/src/main/scala/io/renku/search/query/SortableField.scala b/modules/search-query/src/main/scala/io/renku/search/query/SortableField.scala index e3eb2edc..36cad180 100644 --- a/modules/search-query/src/main/scala/io/renku/search/query/SortableField.scala +++ b/modules/search-query/src/main/scala/io/renku/search/query/SortableField.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.query import cats.kernel.Order diff --git a/modules/search-query/src/main/scala/io/renku/search/query/Strings.scala b/modules/search-query/src/main/scala/io/renku/search/query/Strings.scala index 49281483..9de23b0b 100644 --- a/modules/search-query/src/main/scala/io/renku/search/query/Strings.scala +++ b/modules/search-query/src/main/scala/io/renku/search/query/Strings.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.query private object Strings { diff --git a/modules/search-query/src/main/scala/io/renku/search/query/parse/DateTimeParser.scala b/modules/search-query/src/main/scala/io/renku/search/query/parse/DateTimeParser.scala index b1aa339e..60e88e4b 100644 --- a/modules/search-query/src/main/scala/io/renku/search/query/parse/DateTimeParser.scala +++ b/modules/search-query/src/main/scala/io/renku/search/query/parse/DateTimeParser.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.query.parse import java.time.* diff --git a/modules/search-query/src/main/scala/io/renku/search/query/parse/QueryParser.scala b/modules/search-query/src/main/scala/io/renku/search/query/parse/QueryParser.scala index d44d850d..21db8eb9 100644 --- a/modules/search-query/src/main/scala/io/renku/search/query/parse/QueryParser.scala +++ b/modules/search-query/src/main/scala/io/renku/search/query/parse/QueryParser.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.query.parse import cats.data.NonEmptyList diff --git a/modules/search-query/src/main/scala/io/renku/search/query/parse/QueryUtil.scala b/modules/search-query/src/main/scala/io/renku/search/query/parse/QueryUtil.scala index 56a9f1aa..e333e37d 100644 --- a/modules/search-query/src/main/scala/io/renku/search/query/parse/QueryUtil.scala +++ b/modules/search-query/src/main/scala/io/renku/search/query/parse/QueryUtil.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.query.parse import cats.syntax.all.* diff --git a/modules/search-query/src/test/scala/io/renku/search/query/DateTimeRefSpec.scala b/modules/search-query/src/test/scala/io/renku/search/query/DateTimeRefSpec.scala index 7b9ead8d..14c88e6d 100644 --- a/modules/search-query/src/test/scala/io/renku/search/query/DateTimeRefSpec.scala +++ b/modules/search-query/src/test/scala/io/renku/search/query/DateTimeRefSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.query import java.time.Instant diff --git a/modules/search-query/src/test/scala/io/renku/search/query/PartialDateTimeSpec.scala b/modules/search-query/src/test/scala/io/renku/search/query/PartialDateTimeSpec.scala index 86ef7679..2f7439a8 100644 --- a/modules/search-query/src/test/scala/io/renku/search/query/PartialDateTimeSpec.scala +++ b/modules/search-query/src/test/scala/io/renku/search/query/PartialDateTimeSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.query import java.time.{Instant, ZoneOffset} diff --git a/modules/search-query/src/test/scala/io/renku/search/query/QueryGenerators.scala b/modules/search-query/src/test/scala/io/renku/search/query/QueryGenerators.scala index 5fea9536..245fbd4c 100644 --- a/modules/search-query/src/test/scala/io/renku/search/query/QueryGenerators.scala +++ b/modules/search-query/src/test/scala/io/renku/search/query/QueryGenerators.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.query import java.time.* diff --git a/modules/search-query/src/test/scala/io/renku/search/query/StringsSpec.scala b/modules/search-query/src/test/scala/io/renku/search/query/StringsSpec.scala index 6acbf63b..e2798029 100644 --- a/modules/search-query/src/test/scala/io/renku/search/query/StringsSpec.scala +++ b/modules/search-query/src/test/scala/io/renku/search/query/StringsSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.query import munit.FunSuite diff --git a/modules/search-query/src/test/scala/io/renku/search/query/parse/DateTimeParserSpec.scala b/modules/search-query/src/test/scala/io/renku/search/query/parse/DateTimeParserSpec.scala index 4f3c4836..0ebe3a6c 100644 --- a/modules/search-query/src/test/scala/io/renku/search/query/parse/DateTimeParserSpec.scala +++ b/modules/search-query/src/test/scala/io/renku/search/query/parse/DateTimeParserSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.query.parse import java.time.temporal.ChronoUnit diff --git a/modules/search-query/src/test/scala/io/renku/search/query/parse/ParserSuite.scala b/modules/search-query/src/test/scala/io/renku/search/query/parse/ParserSuite.scala index de367b56..4255e1d8 100644 --- a/modules/search-query/src/test/scala/io/renku/search/query/parse/ParserSuite.scala +++ b/modules/search-query/src/test/scala/io/renku/search/query/parse/ParserSuite.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.query.parse import cats.data.NonEmptyList diff --git a/modules/search-query/src/test/scala/io/renku/search/query/parse/QueryParserSpec.scala b/modules/search-query/src/test/scala/io/renku/search/query/parse/QueryParserSpec.scala index 548509e3..b21a9502 100644 --- a/modules/search-query/src/test/scala/io/renku/search/query/parse/QueryParserSpec.scala +++ b/modules/search-query/src/test/scala/io/renku/search/query/parse/QueryParserSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.query.parse import cats.data.NonEmptyList as Nel diff --git a/modules/search-solr-client/src/main/scala/io/renku/search/solr/SearchRole.scala b/modules/search-solr-client/src/main/scala/io/renku/search/solr/SearchRole.scala index 6a53d323..81ab6077 100644 --- a/modules/search-solr-client/src/main/scala/io/renku/search/solr/SearchRole.scala +++ b/modules/search-solr-client/src/main/scala/io/renku/search/solr/SearchRole.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr import io.renku.search.model.Id diff --git a/modules/search-solr-client/src/main/scala/io/renku/search/solr/client/RenkuEntityQuery.scala b/modules/search-solr-client/src/main/scala/io/renku/search/solr/client/RenkuEntityQuery.scala index 2b951054..8dfd6956 100644 --- a/modules/search-solr-client/src/main/scala/io/renku/search/solr/client/RenkuEntityQuery.scala +++ b/modules/search-solr-client/src/main/scala/io/renku/search/solr/client/RenkuEntityQuery.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.client import io.renku.search.solr.SearchRole diff --git a/modules/search-solr-client/src/main/scala/io/renku/search/solr/client/SearchSolrClient.scala b/modules/search-solr-client/src/main/scala/io/renku/search/solr/client/SearchSolrClient.scala index 07d0351d..94a52eaa 100644 --- a/modules/search-solr-client/src/main/scala/io/renku/search/solr/client/SearchSolrClient.scala +++ b/modules/search-solr-client/src/main/scala/io/renku/search/solr/client/SearchSolrClient.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.client import cats.data.NonEmptyList diff --git a/modules/search-solr-client/src/main/scala/io/renku/search/solr/client/SearchSolrClientImpl.scala b/modules/search-solr-client/src/main/scala/io/renku/search/solr/client/SearchSolrClientImpl.scala index e89e170b..04e7d9cc 100644 --- a/modules/search-solr-client/src/main/scala/io/renku/search/solr/client/SearchSolrClientImpl.scala +++ b/modules/search-solr-client/src/main/scala/io/renku/search/solr/client/SearchSolrClientImpl.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.client import cats.data.NonEmptyList diff --git a/modules/search-solr-client/src/main/scala/io/renku/search/solr/documents/CompoundId.scala b/modules/search-solr-client/src/main/scala/io/renku/search/solr/documents/CompoundId.scala index b622ab13..fff86bd0 100644 --- a/modules/search-solr-client/src/main/scala/io/renku/search/solr/documents/CompoundId.scala +++ b/modules/search-solr-client/src/main/scala/io/renku/search/solr/documents/CompoundId.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.documents import cats.syntax.all.* diff --git a/modules/search-solr-client/src/main/scala/io/renku/search/solr/documents/DocumentKind.scala b/modules/search-solr-client/src/main/scala/io/renku/search/solr/documents/DocumentKind.scala index cf666711..521187a3 100644 --- a/modules/search-solr-client/src/main/scala/io/renku/search/solr/documents/DocumentKind.scala +++ b/modules/search-solr-client/src/main/scala/io/renku/search/solr/documents/DocumentKind.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.documents import io.bullet.borer.Decoder diff --git a/modules/search-solr-client/src/main/scala/io/renku/search/solr/documents/EntityDocument.scala b/modules/search-solr-client/src/main/scala/io/renku/search/solr/documents/EntityDocument.scala index 0ed41e2e..34878934 100644 --- a/modules/search-solr-client/src/main/scala/io/renku/search/solr/documents/EntityDocument.scala +++ b/modules/search-solr-client/src/main/scala/io/renku/search/solr/documents/EntityDocument.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.documents import io.bullet.borer.* diff --git a/modules/search-solr-client/src/main/scala/io/renku/search/solr/documents/EntityMembers.scala b/modules/search-solr-client/src/main/scala/io/renku/search/solr/documents/EntityMembers.scala index 3b03c713..745e4415 100644 --- a/modules/search-solr-client/src/main/scala/io/renku/search/solr/documents/EntityMembers.scala +++ b/modules/search-solr-client/src/main/scala/io/renku/search/solr/documents/EntityMembers.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.documents import cats.kernel.Monoid diff --git a/modules/search-solr-client/src/main/scala/io/renku/search/solr/documents/PartialEntityDocument.scala b/modules/search-solr-client/src/main/scala/io/renku/search/solr/documents/PartialEntityDocument.scala index 02a48557..f91a81b6 100644 --- a/modules/search-solr-client/src/main/scala/io/renku/search/solr/documents/PartialEntityDocument.scala +++ b/modules/search-solr-client/src/main/scala/io/renku/search/solr/documents/PartialEntityDocument.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.documents import io.bullet.borer.* diff --git a/modules/search-solr-client/src/main/scala/io/renku/search/solr/documents/SolrDocument.scala b/modules/search-solr-client/src/main/scala/io/renku/search/solr/documents/SolrDocument.scala index e04a20ec..74f892cd 100644 --- a/modules/search-solr-client/src/main/scala/io/renku/search/solr/documents/SolrDocument.scala +++ b/modules/search-solr-client/src/main/scala/io/renku/search/solr/documents/SolrDocument.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.documents import io.renku.search.model.Id diff --git a/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/Context.scala b/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/Context.scala index be3e53da..fd31d076 100644 --- a/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/Context.scala +++ b/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/Context.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.query import java.time.Instant diff --git a/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/LuceneQueryEncoders.scala b/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/LuceneQueryEncoders.scala index b7de834a..bd8ec634 100644 --- a/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/LuceneQueryEncoders.scala +++ b/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/LuceneQueryEncoders.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.query import cats.Applicative diff --git a/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/LuceneQueryInterpreter.scala b/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/LuceneQueryInterpreter.scala index 80a48f17..9a158067 100644 --- a/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/LuceneQueryInterpreter.scala +++ b/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/LuceneQueryInterpreter.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.query import cats.Monad diff --git a/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/QueryInterpreter.scala b/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/QueryInterpreter.scala index 02ad7787..68d6c9d5 100644 --- a/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/QueryInterpreter.scala +++ b/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/QueryInterpreter.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.query import io.renku.search.query.Query diff --git a/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/SolrQuery.scala b/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/SolrQuery.scala index d8532a83..7e196abb 100644 --- a/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/SolrQuery.scala +++ b/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/SolrQuery.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.query import cats.Monoid diff --git a/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/SolrSortCreate.scala b/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/SolrSortCreate.scala index 9f595955..fc98d465 100644 --- a/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/SolrSortCreate.scala +++ b/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/SolrSortCreate.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.query import cats.data.NonEmptyList diff --git a/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/SolrToken.scala b/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/SolrToken.scala index 985af16f..9c821aba 100644 --- a/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/SolrToken.scala +++ b/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/SolrToken.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.query import java.time.Instant diff --git a/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/SolrTokenEncoder.scala b/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/SolrTokenEncoder.scala index 2a7a1168..afa89cc5 100644 --- a/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/SolrTokenEncoder.scala +++ b/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/SolrTokenEncoder.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.query import scala.collection.AbstractIterable diff --git a/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/StringEscape.scala b/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/StringEscape.scala index 06c75e8a..ed71049e 100644 --- a/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/StringEscape.scala +++ b/modules/search-solr-client/src/main/scala/io/renku/search/solr/query/StringEscape.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.query private[query] object StringEscape: diff --git a/modules/search-solr-client/src/main/scala/io/renku/search/solr/schema/Discriminator.scala b/modules/search-solr-client/src/main/scala/io/renku/search/solr/schema/Discriminator.scala index 921add64..4c5f3f69 100644 --- a/modules/search-solr-client/src/main/scala/io/renku/search/solr/schema/Discriminator.scala +++ b/modules/search-solr-client/src/main/scala/io/renku/search/solr/schema/Discriminator.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.schema opaque type Discriminator = String diff --git a/modules/search-solr-client/src/main/scala/io/renku/search/solr/schema/EntityDocumentSchema.scala b/modules/search-solr-client/src/main/scala/io/renku/search/solr/schema/EntityDocumentSchema.scala index 1e6d7cc7..38dcb6e3 100644 --- a/modules/search-solr-client/src/main/scala/io/renku/search/solr/schema/EntityDocumentSchema.scala +++ b/modules/search-solr-client/src/main/scala/io/renku/search/solr/schema/EntityDocumentSchema.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.schema import io.renku.solr.client.schema.* diff --git a/modules/search-solr-client/src/main/scala/io/renku/search/solr/schema/Migrations.scala b/modules/search-solr-client/src/main/scala/io/renku/search/solr/schema/Migrations.scala index 797a0339..5c6015da 100644 --- a/modules/search-solr-client/src/main/scala/io/renku/search/solr/schema/Migrations.scala +++ b/modules/search-solr-client/src/main/scala/io/renku/search/solr/schema/Migrations.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.schema import io.renku.solr.client.migration.SchemaMigration diff --git a/modules/search-solr-client/src/test/scala/io/renku/search/solr/client/RenkuEntityQuerySpec.scala b/modules/search-solr-client/src/test/scala/io/renku/search/solr/client/RenkuEntityQuerySpec.scala index 60ab18e0..3a750d5d 100644 --- a/modules/search-solr-client/src/test/scala/io/renku/search/solr/client/RenkuEntityQuerySpec.scala +++ b/modules/search-solr-client/src/test/scala/io/renku/search/solr/client/RenkuEntityQuerySpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.client import io.renku.search.model.Id diff --git a/modules/search-solr-client/src/test/scala/io/renku/search/solr/client/SearchSolrClientSpec.scala b/modules/search-solr-client/src/test/scala/io/renku/search/solr/client/SearchSolrClientSpec.scala index 407db568..ecc9514e 100644 --- a/modules/search-solr-client/src/test/scala/io/renku/search/solr/client/SearchSolrClientSpec.scala +++ b/modules/search-solr-client/src/test/scala/io/renku/search/solr/client/SearchSolrClientSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.client import cats.effect.IO diff --git a/modules/search-solr-client/src/test/scala/io/renku/search/solr/client/SearchSolrSuite.scala b/modules/search-solr-client/src/test/scala/io/renku/search/solr/client/SearchSolrSuite.scala index d3b24d36..3a64f778 100644 --- a/modules/search-solr-client/src/test/scala/io/renku/search/solr/client/SearchSolrSuite.scala +++ b/modules/search-solr-client/src/test/scala/io/renku/search/solr/client/SearchSolrSuite.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.client import cats.effect.* diff --git a/modules/search-solr-client/src/test/scala/io/renku/search/solr/client/SolrDocumentGenerators.scala b/modules/search-solr-client/src/test/scala/io/renku/search/solr/client/SolrDocumentGenerators.scala index 20ab63af..40325cb5 100644 --- a/modules/search-solr-client/src/test/scala/io/renku/search/solr/client/SolrDocumentGenerators.scala +++ b/modules/search-solr-client/src/test/scala/io/renku/search/solr/client/SolrDocumentGenerators.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.client import cats.syntax.all.* diff --git a/modules/search-solr-client/src/test/scala/io/renku/search/solr/documents/EntityEncodingSpec.scala b/modules/search-solr-client/src/test/scala/io/renku/search/solr/documents/EntityEncodingSpec.scala index 25e824ff..c9bc9b9e 100644 --- a/modules/search-solr-client/src/test/scala/io/renku/search/solr/documents/EntityEncodingSpec.scala +++ b/modules/search-solr-client/src/test/scala/io/renku/search/solr/documents/EntityEncodingSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.documents import io.bullet.borer.Json diff --git a/modules/search-solr-client/src/test/scala/io/renku/search/solr/documents/EntityMembersSpec.scala b/modules/search-solr-client/src/test/scala/io/renku/search/solr/documents/EntityMembersSpec.scala index a566e8ac..ddd96ed4 100644 --- a/modules/search-solr-client/src/test/scala/io/renku/search/solr/documents/EntityMembersSpec.scala +++ b/modules/search-solr-client/src/test/scala/io/renku/search/solr/documents/EntityMembersSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.documents import io.renku.search.GeneratorSyntax.* diff --git a/modules/search-solr-client/src/test/scala/io/renku/search/solr/documents/EntityOps.scala b/modules/search-solr-client/src/test/scala/io/renku/search/solr/documents/EntityOps.scala index bd50e236..48f3e751 100644 --- a/modules/search-solr-client/src/test/scala/io/renku/search/solr/documents/EntityOps.scala +++ b/modules/search-solr-client/src/test/scala/io/renku/search/solr/documents/EntityOps.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.documents import io.renku.solr.client.DocVersion diff --git a/modules/search-solr-client/src/test/scala/io/renku/search/solr/documents/PartialProjectSpec.scala b/modules/search-solr-client/src/test/scala/io/renku/search/solr/documents/PartialProjectSpec.scala index cbab066d..7fef43a7 100644 --- a/modules/search-solr-client/src/test/scala/io/renku/search/solr/documents/PartialProjectSpec.scala +++ b/modules/search-solr-client/src/test/scala/io/renku/search/solr/documents/PartialProjectSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.documents import io.renku.search.GeneratorSyntax diff --git a/modules/search-solr-client/src/test/scala/io/renku/search/solr/documents/ProjectSpec.scala b/modules/search-solr-client/src/test/scala/io/renku/search/solr/documents/ProjectSpec.scala index a479a85f..cbe332ca 100644 --- a/modules/search-solr-client/src/test/scala/io/renku/search/solr/documents/ProjectSpec.scala +++ b/modules/search-solr-client/src/test/scala/io/renku/search/solr/documents/ProjectSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.documents import io.renku.search.model.MemberRole.* diff --git a/modules/search-solr-client/src/test/scala/io/renku/search/solr/query/AuthTestData.scala b/modules/search-solr-client/src/test/scala/io/renku/search/solr/query/AuthTestData.scala index 6b156d37..3fdaf5f4 100644 --- a/modules/search-solr-client/src/test/scala/io/renku/search/solr/query/AuthTestData.scala +++ b/modules/search-solr-client/src/test/scala/io/renku/search/solr/query/AuthTestData.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.query import cats.effect.IO diff --git a/modules/search-solr-client/src/test/scala/io/renku/search/solr/query/LuceneQueryEncoderSpec.scala b/modules/search-solr-client/src/test/scala/io/renku/search/solr/query/LuceneQueryEncoderSpec.scala index c1c98635..55bbb51e 100644 --- a/modules/search-solr-client/src/test/scala/io/renku/search/solr/query/LuceneQueryEncoderSpec.scala +++ b/modules/search-solr-client/src/test/scala/io/renku/search/solr/query/LuceneQueryEncoderSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.query import java.time.{Instant, ZoneId} diff --git a/modules/search-solr-client/src/test/scala/io/renku/search/solr/query/LuceneQueryInterpreterSpec.scala b/modules/search-solr-client/src/test/scala/io/renku/search/solr/query/LuceneQueryInterpreterSpec.scala index 0d366af0..7fee297f 100644 --- a/modules/search-solr-client/src/test/scala/io/renku/search/solr/query/LuceneQueryInterpreterSpec.scala +++ b/modules/search-solr-client/src/test/scala/io/renku/search/solr/query/LuceneQueryInterpreterSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.query import java.time.Instant diff --git a/modules/search-solr-client/src/test/scala/io/renku/search/solr/query/SolrTokenSpec.scala b/modules/search-solr-client/src/test/scala/io/renku/search/solr/query/SolrTokenSpec.scala index 5b3649dd..223481f6 100644 --- a/modules/search-solr-client/src/test/scala/io/renku/search/solr/query/SolrTokenSpec.scala +++ b/modules/search-solr-client/src/test/scala/io/renku/search/solr/query/SolrTokenSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.query import java.time.Instant diff --git a/modules/search-solr-client/src/test/scala/io/renku/search/solr/query/StringEscapeSpec.scala b/modules/search-solr-client/src/test/scala/io/renku/search/solr/query/StringEscapeSpec.scala index 3a7792d9..772d09ec 100644 --- a/modules/search-solr-client/src/test/scala/io/renku/search/solr/query/StringEscapeSpec.scala +++ b/modules/search-solr-client/src/test/scala/io/renku/search/solr/query/StringEscapeSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.solr.query import munit.FunSuite diff --git a/modules/sentry/src/main/scala/io/renku/search/sentry/Level.scala b/modules/sentry/src/main/scala/io/renku/search/sentry/Level.scala index 1416ac1d..4674a2a9 100644 --- a/modules/sentry/src/main/scala/io/renku/search/sentry/Level.scala +++ b/modules/sentry/src/main/scala/io/renku/search/sentry/Level.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.sentry import _root_.scribe.Level as ScribeLevel diff --git a/modules/sentry/src/main/scala/io/renku/search/sentry/Sentry.scala b/modules/sentry/src/main/scala/io/renku/search/sentry/Sentry.scala index c9dd78ff..20e2fcc5 100644 --- a/modules/sentry/src/main/scala/io/renku/search/sentry/Sentry.scala +++ b/modules/sentry/src/main/scala/io/renku/search/sentry/Sentry.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.sentry import cats.Applicative diff --git a/modules/sentry/src/main/scala/io/renku/search/sentry/SentryConfig.scala b/modules/sentry/src/main/scala/io/renku/search/sentry/SentryConfig.scala index 89c2de28..c2b7d7e6 100644 --- a/modules/sentry/src/main/scala/io/renku/search/sentry/SentryConfig.scala +++ b/modules/sentry/src/main/scala/io/renku/search/sentry/SentryConfig.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.sentry import io.sentry.SentryOptions diff --git a/modules/sentry/src/main/scala/io/renku/search/sentry/SentryDsn.scala b/modules/sentry/src/main/scala/io/renku/search/sentry/SentryDsn.scala index e4677dc1..ba4aa85f 100644 --- a/modules/sentry/src/main/scala/io/renku/search/sentry/SentryDsn.scala +++ b/modules/sentry/src/main/scala/io/renku/search/sentry/SentryDsn.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.sentry opaque type SentryDsn = String diff --git a/modules/sentry/src/main/scala/io/renku/search/sentry/SentryEnv.scala b/modules/sentry/src/main/scala/io/renku/search/sentry/SentryEnv.scala index 4f7f26e3..cd8ac06c 100644 --- a/modules/sentry/src/main/scala/io/renku/search/sentry/SentryEnv.scala +++ b/modules/sentry/src/main/scala/io/renku/search/sentry/SentryEnv.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.sentry opaque type SentryEnv = String diff --git a/modules/sentry/src/main/scala/io/renku/search/sentry/SentryEvent.scala b/modules/sentry/src/main/scala/io/renku/search/sentry/SentryEvent.scala index 4b07fd64..6c55b765 100644 --- a/modules/sentry/src/main/scala/io/renku/search/sentry/SentryEvent.scala +++ b/modules/sentry/src/main/scala/io/renku/search/sentry/SentryEvent.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.sentry import java.time.Instant diff --git a/modules/sentry/src/main/scala/io/renku/search/sentry/TagName.scala b/modules/sentry/src/main/scala/io/renku/search/sentry/TagName.scala index 8b346b11..fdf1f7cd 100644 --- a/modules/sentry/src/main/scala/io/renku/search/sentry/TagName.scala +++ b/modules/sentry/src/main/scala/io/renku/search/sentry/TagName.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.sentry opaque type TagName = String diff --git a/modules/sentry/src/main/scala/io/renku/search/sentry/TagValue.scala b/modules/sentry/src/main/scala/io/renku/search/sentry/TagValue.scala index 59d1c54e..66f21793 100644 --- a/modules/sentry/src/main/scala/io/renku/search/sentry/TagValue.scala +++ b/modules/sentry/src/main/scala/io/renku/search/sentry/TagValue.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.sentry opaque type TagValue = String diff --git a/modules/sentry/src/main/scala/io/renku/search/sentry/scribe/SentryHandler.scala b/modules/sentry/src/main/scala/io/renku/search/sentry/scribe/SentryHandler.scala index 849475dc..23616d6a 100644 --- a/modules/sentry/src/main/scala/io/renku/search/sentry/scribe/SentryHandler.scala +++ b/modules/sentry/src/main/scala/io/renku/search/sentry/scribe/SentryHandler.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.sentry.scribe import java.time.Instant diff --git a/modules/sentry/src/test/scala/io/renku/search/sentry/SentryConfigSpec.scala b/modules/sentry/src/test/scala/io/renku/search/sentry/SentryConfigSpec.scala index 9f0de09b..0dde1d9a 100644 --- a/modules/sentry/src/test/scala/io/renku/search/sentry/SentryConfigSpec.scala +++ b/modules/sentry/src/test/scala/io/renku/search/sentry/SentryConfigSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.search.sentry import scala.jdk.CollectionConverters.* diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/CoreResponse.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/CoreResponse.scala index fc6f1d64..892995a0 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/CoreResponse.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/CoreResponse.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client import io.bullet.borer.Decoder diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/CreateCoreRequest.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/CreateCoreRequest.scala index 5eeabe48..67cf74c9 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/CreateCoreRequest.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/CreateCoreRequest.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client import io.bullet.borer.Encoder diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/CursorMark.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/CursorMark.scala index 59c1f050..d4234d57 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/CursorMark.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/CursorMark.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client import io.bullet.borer.{Decoder, Encoder} diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/DeleteCoreRequest.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/DeleteCoreRequest.scala index 52399811..234f38ac 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/DeleteCoreRequest.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/DeleteCoreRequest.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client import io.bullet.borer.Encoder diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/DeleteIdRequest.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/DeleteIdRequest.scala index 3d5174fb..b29336eb 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/DeleteIdRequest.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/DeleteIdRequest.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client import cats.data.NonEmptyList diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/DeleteRequest.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/DeleteRequest.scala index 94a2068d..81a10884 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/DeleteRequest.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/DeleteRequest.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client import io.bullet.borer.derivation.MapBasedCodecs.deriveEncoder diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/DocVersion.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/DocVersion.scala index 2de11b3f..03e0d1ab 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/DocVersion.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/DocVersion.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client import io.bullet.borer.Decoder diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/GetByIdResponse.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/GetByIdResponse.scala index feb161e7..75916124 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/GetByIdResponse.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/GetByIdResponse.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client import io.bullet.borer.Decoder diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/InsertResponse.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/InsertResponse.scala index 88f46e50..f3a1b0f3 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/InsertResponse.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/InsertResponse.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client import io.bullet.borer.Decoder diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/QueryData.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/QueryData.scala index ebc95af5..798b1c54 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/QueryData.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/QueryData.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client import io.bullet.borer.Encoder diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/QueryResponse.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/QueryResponse.scala index 2ff3db55..243df7e6 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/QueryResponse.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/QueryResponse.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client import io.bullet.borer.Decoder diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/QueryString.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/QueryString.scala index b4109cbd..421def10 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/QueryString.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/QueryString.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client final case class QueryString(q: String, limit: Int, offset: Int) diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/ResponseBody.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/ResponseBody.scala index 2559b33d..dfda23b3 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/ResponseBody.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/ResponseBody.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client import io.bullet.borer.derivation.MapBasedCodecs diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/ResponseHeader.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/ResponseHeader.scala index 2d252453..cda237bb 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/ResponseHeader.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/ResponseHeader.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client import io.bullet.borer.Decoder diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/SchemaResponse.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/SchemaResponse.scala index 1dfac7ee..339b8363 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/SchemaResponse.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/SchemaResponse.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client import io.bullet.borer.Decoder diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/SolrClient.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/SolrClient.scala index c61a7446..d85cee58 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/SolrClient.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/SolrClient.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client import scala.concurrent.duration.* diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/SolrClientImpl.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/SolrClientImpl.scala index c94c70e3..d42d20e7 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/SolrClientImpl.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/SolrClientImpl.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client import scala.concurrent.duration.* diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/SolrConfig.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/SolrConfig.scala index 1dd5e652..cd1b42df 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/SolrConfig.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/SolrConfig.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client import org.http4s.Uri diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/SolrEntityCodec.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/SolrEntityCodec.scala index 66458ec2..d374ef76 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/SolrEntityCodec.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/SolrEntityCodec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client import cats.effect.Concurrent diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/SolrSort.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/SolrSort.scala index 9cdb2a05..56e6b56c 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/SolrSort.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/SolrSort.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client import cats.kernel.Monoid diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/StatusResponse.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/StatusResponse.scala index 439b6a8e..249426ec 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/StatusResponse.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/StatusResponse.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client import java.time.Instant diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/SubQuery.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/SubQuery.scala index 04ae7c3e..98cb0789 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/SubQuery.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/SubQuery.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client import cats.syntax.option.* diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/UpsertResponse.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/UpsertResponse.scala index 01f47d9b..df7bd741 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/UpsertResponse.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/UpsertResponse.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client import scala.concurrent.duration.* diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/facet/Facet.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/facet/Facet.scala index 354d1623..1cb09c38 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/facet/Facet.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/facet/Facet.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client.facet import cats.data.NonEmptyList diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/facet/FacetAlgorithm.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/facet/FacetAlgorithm.scala index 91ac68aa..3483779c 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/facet/FacetAlgorithm.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/facet/FacetAlgorithm.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client.facet import io.bullet.borer.Encoder diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/facet/FacetRange.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/facet/FacetRange.scala index df9d57ef..cc18a59d 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/facet/FacetRange.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/facet/FacetRange.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client.facet import io.bullet.borer.Encoder diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/facet/FacetResponse.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/facet/FacetResponse.scala index 4d6f03de..a717f740 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/facet/FacetResponse.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/facet/FacetResponse.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client.facet import io.bullet.borer.Decoder diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/facet/Facets.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/facet/Facets.scala index aba31dbd..4714eb17 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/facet/Facets.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/facet/Facets.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client.facet import cats.Monoid diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/migration/MigrateResult.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/migration/MigrateResult.scala index 9bb189ea..6e8ebf28 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/migration/MigrateResult.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/migration/MigrateResult.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client.migration final case class MigrateResult( diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/migration/SchemaMigration.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/migration/SchemaMigration.scala index 45fd1540..63ec8a6a 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/migration/SchemaMigration.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/migration/SchemaMigration.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client.migration import io.renku.solr.client.schema.* diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/migration/SchemaMigrator.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/migration/SchemaMigrator.scala index fa9e1148..0e60a027 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/migration/SchemaMigrator.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/migration/SchemaMigrator.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client.migration import cats.effect.kernel.Resource diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/migration/VersionDocument.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/migration/VersionDocument.scala index 2537ebb0..88ab9745 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/migration/VersionDocument.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/migration/VersionDocument.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client.migration import cats.effect.* diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/schema/Analyzer.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/schema/Analyzer.scala index 2a8e1b38..466798ee 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/schema/Analyzer.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/schema/Analyzer.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client.schema // see https://solr.apache.org/guide/solr/latest/indexing-guide/analyzers.html diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/schema/CopyFieldRule.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/schema/CopyFieldRule.scala index 367a7201..508efbd1 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/schema/CopyFieldRule.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/schema/CopyFieldRule.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client.schema final case class CopyFieldRule( diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/schema/CoreSchema.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/schema/CoreSchema.scala index c85b4e71..02cdfe66 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/schema/CoreSchema.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/schema/CoreSchema.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client.schema final case class CoreSchema( diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/schema/DynamicFieldRule.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/schema/DynamicFieldRule.scala index 007362a2..0171038f 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/schema/DynamicFieldRule.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/schema/DynamicFieldRule.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client.schema final case class DynamicFieldRule( diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/schema/Field.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/schema/Field.scala index 50de9bbf..543eda57 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/schema/Field.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/schema/Field.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client.schema import io.bullet.borer.derivation.MapBasedCodecs diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/schema/FieldName.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/schema/FieldName.scala index 78c9fa50..75485d2d 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/schema/FieldName.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/schema/FieldName.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client.schema import io.bullet.borer.Decoder diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/schema/FieldType.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/schema/FieldType.scala index f4a81d71..007ec609 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/schema/FieldType.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/schema/FieldType.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client.schema final case class FieldType( diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/schema/FieldTypeClass.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/schema/FieldTypeClass.scala index 583e4283..a530d43e 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/schema/FieldTypeClass.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/schema/FieldTypeClass.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client.schema import io.bullet.borer.Decoder diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/schema/Filter.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/schema/Filter.scala index 53eefee0..10b81cc7 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/schema/Filter.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/schema/Filter.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client.schema import scala.compiletime.* diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/schema/SchemaCommand.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/schema/SchemaCommand.scala index c81f93f8..f492ff54 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/schema/SchemaCommand.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/schema/SchemaCommand.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client.schema import io.renku.solr.client.schema.SchemaCommand.DeleteDynamicField diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/schema/SchemaJsonCodec.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/schema/SchemaJsonCodec.scala index 98bd6fff..ee7aac17 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/schema/SchemaJsonCodec.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/schema/SchemaJsonCodec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client.schema import io.bullet.borer.NullOptions.given diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/schema/Tokenizer.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/schema/Tokenizer.scala index db29e37e..5de77965 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/schema/Tokenizer.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/schema/Tokenizer.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client.schema final case class Tokenizer(name: String) diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/schema/TypeName.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/schema/TypeName.scala index 83f07962..a97d9c8a 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/schema/TypeName.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/schema/TypeName.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client.schema import io.bullet.borer.Decoder diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/util/DocumentLockResource.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/util/DocumentLockResource.scala index 65940c0d..3dddcabb 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/util/DocumentLockResource.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/util/DocumentLockResource.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client.util import cats.MonadThrow diff --git a/modules/solr-client/src/main/scala/io/renku/solr/client/util/LockDocument.scala b/modules/solr-client/src/main/scala/io/renku/solr/client/util/LockDocument.scala index 85c00e50..f27746d7 100644 --- a/modules/solr-client/src/main/scala/io/renku/solr/client/util/LockDocument.scala +++ b/modules/solr-client/src/main/scala/io/renku/solr/client/util/LockDocument.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client.util import io.bullet.borer.* diff --git a/modules/solr-client/src/test/scala/io/renku/solr/client/RetryOnConflictSpec.scala b/modules/solr-client/src/test/scala/io/renku/solr/client/RetryOnConflictSpec.scala index f05a8063..492b7812 100644 --- a/modules/solr-client/src/test/scala/io/renku/solr/client/RetryOnConflictSpec.scala +++ b/modules/solr-client/src/test/scala/io/renku/solr/client/RetryOnConflictSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client import cats.effect.* diff --git a/modules/solr-client/src/test/scala/io/renku/solr/client/SearchCaseInsensitiveSpec.scala b/modules/solr-client/src/test/scala/io/renku/solr/client/SearchCaseInsensitiveSpec.scala index d3f2cf3d..20705306 100644 --- a/modules/solr-client/src/test/scala/io/renku/solr/client/SearchCaseInsensitiveSpec.scala +++ b/modules/solr-client/src/test/scala/io/renku/solr/client/SearchCaseInsensitiveSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client import cats.effect.IO diff --git a/modules/solr-client/src/test/scala/io/renku/solr/client/SolrClientGenerator.scala b/modules/solr-client/src/test/scala/io/renku/solr/client/SolrClientGenerator.scala index 377d07b7..768cac2e 100644 --- a/modules/solr-client/src/test/scala/io/renku/solr/client/SolrClientGenerator.scala +++ b/modules/solr-client/src/test/scala/io/renku/solr/client/SolrClientGenerator.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client import io.renku.search.common.CommonGenerators diff --git a/modules/solr-client/src/test/scala/io/renku/solr/client/SolrClientSpec.scala b/modules/solr-client/src/test/scala/io/renku/solr/client/SolrClientSpec.scala index 285356b3..7a8b0d86 100644 --- a/modules/solr-client/src/test/scala/io/renku/solr/client/SolrClientSpec.scala +++ b/modules/solr-client/src/test/scala/io/renku/solr/client/SolrClientSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client import java.util.UUID diff --git a/modules/solr-client/src/test/scala/io/renku/solr/client/facet/FacetsSpec.scala b/modules/solr-client/src/test/scala/io/renku/solr/client/facet/FacetsSpec.scala index c24ea766..bafc92bc 100644 --- a/modules/solr-client/src/test/scala/io/renku/solr/client/facet/FacetsSpec.scala +++ b/modules/solr-client/src/test/scala/io/renku/solr/client/facet/FacetsSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client.facet import cats.data.NonEmptyList diff --git a/modules/solr-client/src/test/scala/io/renku/solr/client/migration/SolrMigratorSpec.scala b/modules/solr-client/src/test/scala/io/renku/solr/client/migration/SolrMigratorSpec.scala index f390ed1b..ec04231b 100644 --- a/modules/solr-client/src/test/scala/io/renku/solr/client/migration/SolrMigratorSpec.scala +++ b/modules/solr-client/src/test/scala/io/renku/solr/client/migration/SolrMigratorSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client.migration import cats.data.NonEmptyList diff --git a/modules/solr-client/src/test/scala/io/renku/solr/client/schema/BorerJsonCodecTest.scala b/modules/solr-client/src/test/scala/io/renku/solr/client/schema/BorerJsonCodecTest.scala index 8ca0f98f..a172b2ec 100644 --- a/modules/solr-client/src/test/scala/io/renku/solr/client/schema/BorerJsonCodecTest.scala +++ b/modules/solr-client/src/test/scala/io/renku/solr/client/schema/BorerJsonCodecTest.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client.schema import scala.io.Source diff --git a/modules/solr-client/src/test/scala/io/renku/solr/client/util/DocumentLockResourceSpec.scala b/modules/solr-client/src/test/scala/io/renku/solr/client/util/DocumentLockResourceSpec.scala index 3e15b336..3d52afcb 100644 --- a/modules/solr-client/src/test/scala/io/renku/solr/client/util/DocumentLockResourceSpec.scala +++ b/modules/solr-client/src/test/scala/io/renku/solr/client/util/DocumentLockResourceSpec.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client.util import java.util.UUID diff --git a/modules/solr-client/src/test/scala/io/renku/solr/client/util/SolrClientBaseSuite.scala b/modules/solr-client/src/test/scala/io/renku/solr/client/util/SolrClientBaseSuite.scala index aac95a21..fcd8e7f5 100644 --- a/modules/solr-client/src/test/scala/io/renku/solr/client/util/SolrClientBaseSuite.scala +++ b/modules/solr-client/src/test/scala/io/renku/solr/client/util/SolrClientBaseSuite.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client.util import cats.effect.* diff --git a/modules/solr-client/src/test/scala/io/renku/solr/client/util/SolrServerSuite.scala b/modules/solr-client/src/test/scala/io/renku/solr/client/util/SolrServerSuite.scala index 23b543da..44d4a002 100644 --- a/modules/solr-client/src/test/scala/io/renku/solr/client/util/SolrServerSuite.scala +++ b/modules/solr-client/src/test/scala/io/renku/solr/client/util/SolrServerSuite.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client.util import io.renku.servers.SolrServer diff --git a/modules/solr-client/src/test/scala/io/renku/solr/client/util/SolrTruncate.scala b/modules/solr-client/src/test/scala/io/renku/solr/client/util/SolrTruncate.scala index c562967b..47c5eb15 100644 --- a/modules/solr-client/src/test/scala/io/renku/solr/client/util/SolrTruncate.scala +++ b/modules/solr-client/src/test/scala/io/renku/solr/client/util/SolrTruncate.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client.util import cats.effect.IO diff --git a/modules/solr-client/src/test/scala/io/renku/solr/client/util/TestSearchSolrServer.scala b/modules/solr-client/src/test/scala/io/renku/solr/client/util/TestSearchSolrServer.scala index 91e324d5..8f56af35 100644 --- a/modules/solr-client/src/test/scala/io/renku/solr/client/util/TestSearchSolrServer.scala +++ b/modules/solr-client/src/test/scala/io/renku/solr/client/util/TestSearchSolrServer.scala @@ -1,21 +1,3 @@ -/* - * Copyright 2024 Swiss Data Science Center (SDSC) - * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and - * Eidgenössische Technische Hochschule Zürich (ETHZ). - * - * 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 io.renku.solr.client.util import cats.effect.{ExitCode, IO, IOApp} From 00b05baf722163e039f49f84beb0553e29654205 Mon Sep 17 00:00:00 2001 From: Eike Kettner Date: Wed, 8 Jan 2025 12:25:46 +0100 Subject: [PATCH 3/3] Add remove header commit to ignore-revs --- .git-blame-ignore-revs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs index 6c462c26..2c67df4d 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -8,3 +8,6 @@ 57e3d43ba8025acd521d2e65de80ba9c13fbdb13 # Scala Steward: Reformat with scalafmt 3.8.2 9cc3dd838b39afa97ddb76987d070f35f9bd36b8 + +# eikek: remove header from all sources +eefe534f36aceb8b9b73176d968fb9eaff2a71d7 \ No newline at end of file