From 671bea445777b93d613f27db071c6f6ae1b7ed08 Mon Sep 17 00:00:00 2001 From: Alex Henning Johannessen Date: Mon, 31 Aug 2020 18:27:52 +0100 Subject: [PATCH] build: move to sbt-spiewak --- .github/workflows/ci.yml | 16 +- LICENSE | 203 +++++++++++++++++- build.sbt | 45 ++-- core/src/main/scala/sec/api/callcontext.scala | 16 ++ .../scala/sec/api/cluster/grpc/Listener.scala | 16 ++ .../scala/sec/api/cluster/grpc/Notifier.scala | 16 ++ .../scala/sec/api/cluster/grpc/Resolver.scala | 16 ++ .../api/cluster/grpc/ResolverProvider.scala | 16 ++ .../scala/sec/api/cluster/preference.scala | 16 ++ .../scala/sec/api/cluster/prioritizer.scala | 16 ++ .../main/scala/sec/api/cluster/settings.scala | 16 ++ .../main/scala/sec/api/cluster/watch.scala | 16 ++ core/src/main/scala/sec/api/direction.scala | 16 ++ core/src/main/scala/sec/api/endpoint.scala | 16 ++ core/src/main/scala/sec/api/filter.scala | 16 ++ core/src/main/scala/sec/api/gossip.scala | 16 ++ .../main/scala/sec/api/grpc/constants.scala | 16 ++ .../src/main/scala/sec/api/grpc/convert.scala | 16 ++ .../main/scala/sec/api/grpc/marshalling.scala | 16 ++ .../main/scala/sec/api/grpc/metadata.scala | 16 ++ .../main/scala/sec/api/mapping/error.scala | 16 ++ .../main/scala/sec/api/mapping/gossip.scala | 16 ++ .../scala/sec/api/mapping/implicits.scala | 16 ++ .../main/scala/sec/api/mapping/shared.scala | 16 ++ .../main/scala/sec/api/mapping/streams.scala | 16 ++ .../src/main/scala/sec/api/mapping/time.scala | 16 ++ core/src/main/scala/sec/api/meta.scala | 16 ++ core/src/main/scala/sec/api/opts.scala | 16 ++ core/src/main/scala/sec/api/package.scala | 16 ++ core/src/main/scala/sec/api/retries.scala | 16 ++ core/src/main/scala/sec/api/streams.scala | 16 ++ core/src/main/scala/sec/client/builder.scala | 16 ++ core/src/main/scala/sec/client/client.scala | 16 ++ core/src/main/scala/sec/client/options.scala | 16 ++ core/src/main/scala/sec/core/event.scala | 16 ++ core/src/main/scala/sec/core/exceptions.scala | 16 ++ core/src/main/scala/sec/core/id.scala | 16 ++ core/src/main/scala/sec/core/metadata.scala | 16 ++ core/src/main/scala/sec/core/version.scala | 16 ++ core/src/main/scala/sec/package.scala | 16 ++ core/src/main/scala/sec/syntax/streams.scala | 16 ++ core/src/test/scala/sec/Arbitraries.scala | 16 ++ core/src/test/scala/sec/api/ITest.scala | 16 ++ core/src/test/scala/sec/api/callcontext.scala | 16 ++ .../scala/sec/api/cluster/preference.scala | 16 ++ .../scala/sec/api/cluster/prioritizer.scala | 16 ++ .../test/scala/sec/api/cluster/watch.scala | 16 ++ core/src/test/scala/sec/api/direction.scala | 16 ++ core/src/test/scala/sec/api/endpoint.scala | 16 ++ core/src/test/scala/sec/api/filter.scala | 16 ++ core/src/test/scala/sec/api/gossip.scala | 16 ++ .../src/test/scala/sec/api/grpc/convert.scala | 16 ++ .../test/scala/sec/api/grpc/marshalling.scala | 16 ++ .../test/scala/sec/api/grpc/metadata.scala | 16 ++ .../test/scala/sec/api/mapping/gossip.scala | 16 ++ .../scala/sec/api/mapping/implicits.scala | 16 ++ .../test/scala/sec/api/mapping/shared.scala | 16 ++ .../test/scala/sec/api/mapping/streams.scala | 16 ++ .../src/test/scala/sec/api/mapping/time.scala | 16 ++ core/src/test/scala/sec/api/streams.scala | 16 ++ core/src/test/scala/sec/core/event.scala | 16 ++ core/src/test/scala/sec/core/id.scala | 16 ++ core/src/test/scala/sec/core/metadata.scala | 16 ++ core/src/test/scala/sec/core/version.scala | 16 ++ core/src/test/scala/sec/package.scala | 16 ++ demo/src/main/scala/sec/Demo.scala | 16 ++ netty/src/main/scala/sec/client/netty.scala | 16 ++ netty/src/main/scala/sec/client/package.scala | 16 ++ project/plugins.sbt | 15 +- 69 files changed, 1268 insertions(+), 51 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d8ff6b71..90f0be4f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - scala: [2.13.3, 0.27.0-RC1] + scala: [0.27.0-RC1, 2.13.3] java: [adopt@1.11] runs-on: ${{ matrix.os }} steps: @@ -114,7 +114,7 @@ jobs: publish: name: Publish Artifacts needs: [build] - if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v')) + if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v')) strategy: matrix: os: [ubuntu-latest] @@ -171,22 +171,22 @@ jobs: path: ~/.sbt key: ${{ runner.os }}-sbt-cache-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} - - name: Download target directories (2.13.3) + - name: Download target directories (0.27.0-RC1) uses: actions/download-artifact@v2 with: - name: target-${{ matrix.os }}-2.13.3-${{ matrix.java }} + name: target-${{ matrix.os }}-0.27.0-RC1-${{ matrix.java }} - - name: Inflate target directories (2.13.3) + - name: Inflate target directories (0.27.0-RC1) run: | tar xf targets.tar rm targets.tar - - name: Download target directories (0.27.0-RC1) + - name: Download target directories (2.13.3) uses: actions/download-artifact@v2 with: - name: target-${{ matrix.os }}-0.27.0-RC1-${{ matrix.java }} + name: target-${{ matrix.os }}-2.13.3-${{ matrix.java }} - - name: Inflate target directories (0.27.0-RC1) + - name: Inflate target directories (2.13.3) run: | tar xf targets.tar rm targets.tar diff --git a/LICENSE b/LICENSE index a20b2fde..7a4a3ea2 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,202 @@ -Copyright 2019 Alex Henning Johannessen -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file + 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. \ No newline at end of file diff --git a/build.sbt b/build.sbt index 6ad7ec7e..dff96aab 100644 --- a/build.sbt +++ b/build.sbt @@ -64,11 +64,7 @@ lazy val commonSettings = Seq( Test / scalacOptions ~= devScalacOptions, IntegrationTest / scalacOptions ~= devScalacOptions, libraryDependencies ++= - testM(catsLaws, disciplineSpecs2, specs2, specs2ScalaCheck).map(_.withDottyCompat(scalaVersion.value)), - Compile / doc / sources := { - val old = (Compile / doc / sources).value - if (isDotty.value) Seq() else old - } + testM(catsLaws, disciplineSpecs2, specs2, specs2ScalaCheck).map(_.withDottyCompat(scalaVersion.value)) ) lazy val metalsEnabled = @@ -82,36 +78,23 @@ val devScalacOptions = { options: Seq[String] => inThisBuild( List( - scalaVersion := "2.13.3", - crossScalaVersions := Seq("2.13.3", "0.27.0-RC1"), + baseVersion := "0.0.1", + crossScalaVersions := Seq("0.27.0-RC1", "2.13.3"), scalacOptions ++= Seq("-target:jvm-1.8"), javacOptions ++= Seq("-target", "8", "-source", "8"), organization := "io.github.ahjohannessen", - organizationName := "Scala EventStoreDB Client", - developers := List( - Developer( - "ahjohannessen", - "Alex Henning Johannessen", - "ahjohannessen@gmail.com", - url("https://github.com/ahjohannessen") - ) - ), + publishGithubUser := "ahjohannessen", + publishFullName := "Alex Henning Johannessen", homepage := Some(url("https://github.com/ahjohannessen/sec")), - licenses += ("MIT", url("http://opensource.org/licenses/MIT")), - pomIncludeRepository := { _ => - false - }, - scalacOptions in (Compile, doc) ++= Seq( - "-groups", - "-sourcepath", - (baseDirectory in LocalRootProject).value.getAbsolutePath, - "-doc-source-url", - "https://github.com/ahjohannessen/sec/blob/v" + version.value + "€{FILE_PATH}.scala" - ), - shellPrompt := Prompt.enrichedShellPrompt, - // - // Github Actions - // + scmInfo := Some(ScmInfo(url("https://github.com/ahjohannessen/sec"), "git@github.com:ahjohannessen/sec.git")), + shellPrompt := Prompt.enrichedShellPrompt + ) +) + +// Github Actions + +inThisBuild( + List( githubWorkflowJavaVersions := Seq("adopt@1.11"), githubWorkflowTargetTags += "v*", githubWorkflowBuildPreamble += WorkflowStep.Run( diff --git a/core/src/main/scala/sec/api/callcontext.scala b/core/src/main/scala/sec/api/callcontext.scala index f042e3a0..56329379 100644 --- a/core/src/main/scala/sec/api/callcontext.scala +++ b/core/src/main/scala/sec/api/callcontext.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api diff --git a/core/src/main/scala/sec/api/cluster/grpc/Listener.scala b/core/src/main/scala/sec/api/cluster/grpc/Listener.scala index 40e23d6f..f3df4699 100644 --- a/core/src/main/scala/sec/api/cluster/grpc/Listener.scala +++ b/core/src/main/scala/sec/api/cluster/grpc/Listener.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api package cluster diff --git a/core/src/main/scala/sec/api/cluster/grpc/Notifier.scala b/core/src/main/scala/sec/api/cluster/grpc/Notifier.scala index dc481867..91f1e5ec 100644 --- a/core/src/main/scala/sec/api/cluster/grpc/Notifier.scala +++ b/core/src/main/scala/sec/api/cluster/grpc/Notifier.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api package cluster diff --git a/core/src/main/scala/sec/api/cluster/grpc/Resolver.scala b/core/src/main/scala/sec/api/cluster/grpc/Resolver.scala index 6a057e2c..c235ed36 100644 --- a/core/src/main/scala/sec/api/cluster/grpc/Resolver.scala +++ b/core/src/main/scala/sec/api/cluster/grpc/Resolver.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api package cluster diff --git a/core/src/main/scala/sec/api/cluster/grpc/ResolverProvider.scala b/core/src/main/scala/sec/api/cluster/grpc/ResolverProvider.scala index 2d6a5232..a6746e97 100644 --- a/core/src/main/scala/sec/api/cluster/grpc/ResolverProvider.scala +++ b/core/src/main/scala/sec/api/cluster/grpc/ResolverProvider.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api package cluster diff --git a/core/src/main/scala/sec/api/cluster/preference.scala b/core/src/main/scala/sec/api/cluster/preference.scala index 22e7fae8..9ff0283a 100644 --- a/core/src/main/scala/sec/api/cluster/preference.scala +++ b/core/src/main/scala/sec/api/cluster/preference.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api package cluster diff --git a/core/src/main/scala/sec/api/cluster/prioritizer.scala b/core/src/main/scala/sec/api/cluster/prioritizer.scala index c80b00ee..5fc1f4ed 100644 --- a/core/src/main/scala/sec/api/cluster/prioritizer.scala +++ b/core/src/main/scala/sec/api/cluster/prioritizer.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api package cluster diff --git a/core/src/main/scala/sec/api/cluster/settings.scala b/core/src/main/scala/sec/api/cluster/settings.scala index b4a086f1..84c5451b 100644 --- a/core/src/main/scala/sec/api/cluster/settings.scala +++ b/core/src/main/scala/sec/api/cluster/settings.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api package cluster diff --git a/core/src/main/scala/sec/api/cluster/watch.scala b/core/src/main/scala/sec/api/cluster/watch.scala index ac86397c..a4517bb5 100644 --- a/core/src/main/scala/sec/api/cluster/watch.scala +++ b/core/src/main/scala/sec/api/cluster/watch.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api package cluster diff --git a/core/src/main/scala/sec/api/direction.scala b/core/src/main/scala/sec/api/direction.scala index ab77f655..7acdff4f 100644 --- a/core/src/main/scala/sec/api/direction.scala +++ b/core/src/main/scala/sec/api/direction.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api diff --git a/core/src/main/scala/sec/api/endpoint.scala b/core/src/main/scala/sec/api/endpoint.scala index 52717155..59ef74c3 100644 --- a/core/src/main/scala/sec/api/endpoint.scala +++ b/core/src/main/scala/sec/api/endpoint.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api diff --git a/core/src/main/scala/sec/api/filter.scala b/core/src/main/scala/sec/api/filter.scala index 2a87e965..8a1c1fc4 100644 --- a/core/src/main/scala/sec/api/filter.scala +++ b/core/src/main/scala/sec/api/filter.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api diff --git a/core/src/main/scala/sec/api/gossip.scala b/core/src/main/scala/sec/api/gossip.scala index 460d58ce..75748866 100644 --- a/core/src/main/scala/sec/api/gossip.scala +++ b/core/src/main/scala/sec/api/gossip.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api diff --git a/core/src/main/scala/sec/api/grpc/constants.scala b/core/src/main/scala/sec/api/grpc/constants.scala index 83b0b684..7e568c5f 100644 --- a/core/src/main/scala/sec/api/grpc/constants.scala +++ b/core/src/main/scala/sec/api/grpc/constants.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api package grpc diff --git a/core/src/main/scala/sec/api/grpc/convert.scala b/core/src/main/scala/sec/api/grpc/convert.scala index 060bf924..2e4dd93e 100644 --- a/core/src/main/scala/sec/api/grpc/convert.scala +++ b/core/src/main/scala/sec/api/grpc/convert.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api package grpc diff --git a/core/src/main/scala/sec/api/grpc/marshalling.scala b/core/src/main/scala/sec/api/grpc/marshalling.scala index dbd795b6..a0c75b07 100644 --- a/core/src/main/scala/sec/api/grpc/marshalling.scala +++ b/core/src/main/scala/sec/api/grpc/marshalling.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api package grpc diff --git a/core/src/main/scala/sec/api/grpc/metadata.scala b/core/src/main/scala/sec/api/grpc/metadata.scala index e109e39f..85c206a4 100644 --- a/core/src/main/scala/sec/api/grpc/metadata.scala +++ b/core/src/main/scala/sec/api/grpc/metadata.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api package grpc diff --git a/core/src/main/scala/sec/api/mapping/error.scala b/core/src/main/scala/sec/api/mapping/error.scala index bceeeae9..62320574 100644 --- a/core/src/main/scala/sec/api/mapping/error.scala +++ b/core/src/main/scala/sec/api/mapping/error.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api package mapping diff --git a/core/src/main/scala/sec/api/mapping/gossip.scala b/core/src/main/scala/sec/api/mapping/gossip.scala index 97aa8d6c..6868f56b 100644 --- a/core/src/main/scala/sec/api/mapping/gossip.scala +++ b/core/src/main/scala/sec/api/mapping/gossip.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api package mapping diff --git a/core/src/main/scala/sec/api/mapping/implicits.scala b/core/src/main/scala/sec/api/mapping/implicits.scala index 68d2ea85..a87b8bd9 100644 --- a/core/src/main/scala/sec/api/mapping/implicits.scala +++ b/core/src/main/scala/sec/api/mapping/implicits.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api package mapping diff --git a/core/src/main/scala/sec/api/mapping/shared.scala b/core/src/main/scala/sec/api/mapping/shared.scala index a69404a4..422aa226 100644 --- a/core/src/main/scala/sec/api/mapping/shared.scala +++ b/core/src/main/scala/sec/api/mapping/shared.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api package mapping diff --git a/core/src/main/scala/sec/api/mapping/streams.scala b/core/src/main/scala/sec/api/mapping/streams.scala index c2e43a82..8f1ac5a9 100644 --- a/core/src/main/scala/sec/api/mapping/streams.scala +++ b/core/src/main/scala/sec/api/mapping/streams.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api package mapping diff --git a/core/src/main/scala/sec/api/mapping/time.scala b/core/src/main/scala/sec/api/mapping/time.scala index 5ff9ac65..06ca84bd 100644 --- a/core/src/main/scala/sec/api/mapping/time.scala +++ b/core/src/main/scala/sec/api/mapping/time.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api package mapping diff --git a/core/src/main/scala/sec/api/meta.scala b/core/src/main/scala/sec/api/meta.scala index a6657b9e..26457aa9 100644 --- a/core/src/main/scala/sec/api/meta.scala +++ b/core/src/main/scala/sec/api/meta.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api diff --git a/core/src/main/scala/sec/api/opts.scala b/core/src/main/scala/sec/api/opts.scala index c939f2a2..8519e3e0 100644 --- a/core/src/main/scala/sec/api/opts.scala +++ b/core/src/main/scala/sec/api/opts.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api diff --git a/core/src/main/scala/sec/api/package.scala b/core/src/main/scala/sec/api/package.scala index e0c91a6d..d6e497cf 100644 --- a/core/src/main/scala/sec/api/package.scala +++ b/core/src/main/scala/sec/api/package.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec import java.util.UUID diff --git a/core/src/main/scala/sec/api/retries.scala b/core/src/main/scala/sec/api/retries.scala index b9cccb96..bed601b5 100644 --- a/core/src/main/scala/sec/api/retries.scala +++ b/core/src/main/scala/sec/api/retries.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api diff --git a/core/src/main/scala/sec/api/streams.scala b/core/src/main/scala/sec/api/streams.scala index ff6c998c..77cc15ab 100644 --- a/core/src/main/scala/sec/api/streams.scala +++ b/core/src/main/scala/sec/api/streams.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api diff --git a/core/src/main/scala/sec/client/builder.scala b/core/src/main/scala/sec/client/builder.scala index 3afeaefc..3d34f907 100644 --- a/core/src/main/scala/sec/client/builder.scala +++ b/core/src/main/scala/sec/client/builder.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package client diff --git a/core/src/main/scala/sec/client/client.scala b/core/src/main/scala/sec/client/client.scala index 78c4074b..3c8b583c 100644 --- a/core/src/main/scala/sec/client/client.scala +++ b/core/src/main/scala/sec/client/client.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package client diff --git a/core/src/main/scala/sec/client/options.scala b/core/src/main/scala/sec/client/options.scala index d358814a..8d025a21 100644 --- a/core/src/main/scala/sec/client/options.scala +++ b/core/src/main/scala/sec/client/options.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package client diff --git a/core/src/main/scala/sec/core/event.scala b/core/src/main/scala/sec/core/event.scala index 19ec49c8..4d08a0ca 100644 --- a/core/src/main/scala/sec/core/event.scala +++ b/core/src/main/scala/sec/core/event.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package core diff --git a/core/src/main/scala/sec/core/exceptions.scala b/core/src/main/scala/sec/core/exceptions.scala index 556a22aa..ae3bd6a8 100644 --- a/core/src/main/scala/sec/core/exceptions.scala +++ b/core/src/main/scala/sec/core/exceptions.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package core diff --git a/core/src/main/scala/sec/core/id.scala b/core/src/main/scala/sec/core/id.scala index 316ba67c..550d6f0e 100644 --- a/core/src/main/scala/sec/core/id.scala +++ b/core/src/main/scala/sec/core/id.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package core diff --git a/core/src/main/scala/sec/core/metadata.scala b/core/src/main/scala/sec/core/metadata.scala index e01667f5..dbd83a81 100644 --- a/core/src/main/scala/sec/core/metadata.scala +++ b/core/src/main/scala/sec/core/metadata.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package core diff --git a/core/src/main/scala/sec/core/version.scala b/core/src/main/scala/sec/core/version.scala index e2e29698..12bfd0ad 100644 --- a/core/src/main/scala/sec/core/version.scala +++ b/core/src/main/scala/sec/core/version.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package core diff --git a/core/src/main/scala/sec/package.scala b/core/src/main/scala/sec/package.scala index 8c068477..eace29bd 100644 --- a/core/src/main/scala/sec/package.scala +++ b/core/src/main/scala/sec/package.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import java.util.Locale import scala.util.Random import scala.concurrent.duration._ diff --git a/core/src/main/scala/sec/syntax/streams.scala b/core/src/main/scala/sec/syntax/streams.scala index 545cc4ab..464224e6 100644 --- a/core/src/main/scala/sec/syntax/streams.scala +++ b/core/src/main/scala/sec/syntax/streams.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package syntax diff --git a/core/src/test/scala/sec/Arbitraries.scala b/core/src/test/scala/sec/Arbitraries.scala index 318a6ba4..568b5259 100644 --- a/core/src/test/scala/sec/Arbitraries.scala +++ b/core/src/test/scala/sec/Arbitraries.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec import java.time.{ZoneOffset, ZonedDateTime} diff --git a/core/src/test/scala/sec/api/ITest.scala b/core/src/test/scala/sec/api/ITest.scala index c1fbf563..0cc2f0a9 100644 --- a/core/src/test/scala/sec/api/ITest.scala +++ b/core/src/test/scala/sec/api/ITest.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api diff --git a/core/src/test/scala/sec/api/callcontext.scala b/core/src/test/scala/sec/api/callcontext.scala index c5ef7798..1ac76a7a 100644 --- a/core/src/test/scala/sec/api/callcontext.scala +++ b/core/src/test/scala/sec/api/callcontext.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api diff --git a/core/src/test/scala/sec/api/cluster/preference.scala b/core/src/test/scala/sec/api/cluster/preference.scala index 8fe8ebb4..f231e3ac 100644 --- a/core/src/test/scala/sec/api/cluster/preference.scala +++ b/core/src/test/scala/sec/api/cluster/preference.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api package cluster diff --git a/core/src/test/scala/sec/api/cluster/prioritizer.scala b/core/src/test/scala/sec/api/cluster/prioritizer.scala index 16046ceb..55fe7eaf 100644 --- a/core/src/test/scala/sec/api/cluster/prioritizer.scala +++ b/core/src/test/scala/sec/api/cluster/prioritizer.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api package cluster diff --git a/core/src/test/scala/sec/api/cluster/watch.scala b/core/src/test/scala/sec/api/cluster/watch.scala index 5203eb16..13bc93e6 100644 --- a/core/src/test/scala/sec/api/cluster/watch.scala +++ b/core/src/test/scala/sec/api/cluster/watch.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api package cluster diff --git a/core/src/test/scala/sec/api/direction.scala b/core/src/test/scala/sec/api/direction.scala index 3008fcf5..9925b909 100644 --- a/core/src/test/scala/sec/api/direction.scala +++ b/core/src/test/scala/sec/api/direction.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api diff --git a/core/src/test/scala/sec/api/endpoint.scala b/core/src/test/scala/sec/api/endpoint.scala index 4e8ec3fb..727b855d 100644 --- a/core/src/test/scala/sec/api/endpoint.scala +++ b/core/src/test/scala/sec/api/endpoint.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api diff --git a/core/src/test/scala/sec/api/filter.scala b/core/src/test/scala/sec/api/filter.scala index ac143bbe..bcf59a0c 100644 --- a/core/src/test/scala/sec/api/filter.scala +++ b/core/src/test/scala/sec/api/filter.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api diff --git a/core/src/test/scala/sec/api/gossip.scala b/core/src/test/scala/sec/api/gossip.scala index d9db9a43..8cbbf400 100644 --- a/core/src/test/scala/sec/api/gossip.scala +++ b/core/src/test/scala/sec/api/gossip.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api diff --git a/core/src/test/scala/sec/api/grpc/convert.scala b/core/src/test/scala/sec/api/grpc/convert.scala index ea3aba1d..ff6f34a9 100644 --- a/core/src/test/scala/sec/api/grpc/convert.scala +++ b/core/src/test/scala/sec/api/grpc/convert.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api package grpc diff --git a/core/src/test/scala/sec/api/grpc/marshalling.scala b/core/src/test/scala/sec/api/grpc/marshalling.scala index b55e2403..bce71682 100644 --- a/core/src/test/scala/sec/api/grpc/marshalling.scala +++ b/core/src/test/scala/sec/api/grpc/marshalling.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api package grpc diff --git a/core/src/test/scala/sec/api/grpc/metadata.scala b/core/src/test/scala/sec/api/grpc/metadata.scala index fbb35ebc..dcedf119 100644 --- a/core/src/test/scala/sec/api/grpc/metadata.scala +++ b/core/src/test/scala/sec/api/grpc/metadata.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api package grpc diff --git a/core/src/test/scala/sec/api/mapping/gossip.scala b/core/src/test/scala/sec/api/mapping/gossip.scala index 31ff6b88..911d015e 100644 --- a/core/src/test/scala/sec/api/mapping/gossip.scala +++ b/core/src/test/scala/sec/api/mapping/gossip.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api package mapping diff --git a/core/src/test/scala/sec/api/mapping/implicits.scala b/core/src/test/scala/sec/api/mapping/implicits.scala index c396dabc..967cffd6 100644 --- a/core/src/test/scala/sec/api/mapping/implicits.scala +++ b/core/src/test/scala/sec/api/mapping/implicits.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api package mapping diff --git a/core/src/test/scala/sec/api/mapping/shared.scala b/core/src/test/scala/sec/api/mapping/shared.scala index 439e6108..9d5239f7 100644 --- a/core/src/test/scala/sec/api/mapping/shared.scala +++ b/core/src/test/scala/sec/api/mapping/shared.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api package mapping diff --git a/core/src/test/scala/sec/api/mapping/streams.scala b/core/src/test/scala/sec/api/mapping/streams.scala index 7a9958c0..f9c2e76a 100644 --- a/core/src/test/scala/sec/api/mapping/streams.scala +++ b/core/src/test/scala/sec/api/mapping/streams.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api package mapping diff --git a/core/src/test/scala/sec/api/mapping/time.scala b/core/src/test/scala/sec/api/mapping/time.scala index a2a7707b..5e904429 100644 --- a/core/src/test/scala/sec/api/mapping/time.scala +++ b/core/src/test/scala/sec/api/mapping/time.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api package mapping diff --git a/core/src/test/scala/sec/api/streams.scala b/core/src/test/scala/sec/api/streams.scala index 07bcc06a..e33ebbea 100644 --- a/core/src/test/scala/sec/api/streams.scala +++ b/core/src/test/scala/sec/api/streams.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package api diff --git a/core/src/test/scala/sec/core/event.scala b/core/src/test/scala/sec/core/event.scala index 8648b880..30590797 100644 --- a/core/src/test/scala/sec/core/event.scala +++ b/core/src/test/scala/sec/core/event.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package core diff --git a/core/src/test/scala/sec/core/id.scala b/core/src/test/scala/sec/core/id.scala index 840464d6..bd87b3cd 100644 --- a/core/src/test/scala/sec/core/id.scala +++ b/core/src/test/scala/sec/core/id.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package core diff --git a/core/src/test/scala/sec/core/metadata.scala b/core/src/test/scala/sec/core/metadata.scala index 81c15a96..2b087c56 100644 --- a/core/src/test/scala/sec/core/metadata.scala +++ b/core/src/test/scala/sec/core/metadata.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package core diff --git a/core/src/test/scala/sec/core/version.scala b/core/src/test/scala/sec/core/version.scala index 71e68ce3..7d40aadb 100644 --- a/core/src/test/scala/sec/core/version.scala +++ b/core/src/test/scala/sec/core/version.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package core diff --git a/core/src/test/scala/sec/package.scala b/core/src/test/scala/sec/package.scala index 48015713..a422eec4 100644 --- a/core/src/test/scala/sec/package.scala +++ b/core/src/test/scala/sec/package.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec import cats.implicits._ diff --git a/demo/src/main/scala/sec/Demo.scala b/demo/src/main/scala/sec/Demo.scala index 5f7c002e..1762717c 100644 --- a/demo/src/main/scala/sec/Demo.scala +++ b/demo/src/main/scala/sec/Demo.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec import java.io.File diff --git a/netty/src/main/scala/sec/client/netty.scala b/netty/src/main/scala/sec/client/netty.scala index 419f32c9..872b3f46 100644 --- a/netty/src/main/scala/sec/client/netty.scala +++ b/netty/src/main/scala/sec/client/netty.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec package client diff --git a/netty/src/main/scala/sec/client/package.scala b/netty/src/main/scala/sec/client/package.scala index 6624108c..ed2c8c1b 100644 --- a/netty/src/main/scala/sec/client/package.scala +++ b/netty/src/main/scala/sec/client/package.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2020 Alex Henning Johannessen + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package sec import cats.effect._ diff --git a/project/plugins.sbt b/project/plugins.sbt index f7fc3b99..afe78fb0 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,8 +1,7 @@ -addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.4.2") -addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.1.13") -addSbtPlugin("com.codecommit" % "sbt-github-actions" % "0.9.2") -addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.5.3") -addSbtPlugin("org.lyranthe.fs2-grpc" % "sbt-java-gen" % "0.7.3") -addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.2") -addSbtPlugin("io.spray" % "sbt-revolver" % "0.9.1") -addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.10.0") +addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.4.2") +addSbtPlugin("com.codecommit" % "sbt-spiewak" % "0.15.2") +addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.5.3") +addSbtPlugin("org.lyranthe.fs2-grpc" % "sbt-java-gen" % "0.7.3") +addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.2") +addSbtPlugin("io.spray" % "sbt-revolver" % "0.9.1") +addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.10.0")