From ceeabae889fe4ca9304febca99eee6c74d7ebec1 Mon Sep 17 00:00:00 2001 From: h1alexbel Date: Fri, 26 Jan 2024 17:48:54 +0300 Subject: [PATCH] chore(#96) --- .gitattributes | 8 + .xcop | 0 LICENSE.txt | 8 +- checkstyle-suppressions.xml | 29 --- pom.xml | 146 +++++++------- .../java/io/github/eocqrs/cmig/Master.java | 182 +++++++++--------- .../java/io/github/eocqrs/cmig/Preload.java | 90 ++++----- .../java/io/github/eocqrs/cmig/State.java | 16 +- .../eocqrs/cmig/check/CmigKeyspace.java | 47 ++--- .../github/eocqrs/cmig/check/StatesTable.java | 33 ++-- .../eocqrs/cmig/check/package-info.java | 9 +- .../io/github/eocqrs/cmig/meta/Author.java | 101 +++++----- .../java/io/github/eocqrs/cmig/meta/Ids.java | 48 ++--- .../io/github/eocqrs/cmig/meta/Names.java | 103 +++++----- .../io/github/eocqrs/cmig/meta/XpathList.java | 17 +- .../github/eocqrs/cmig/meta/package-info.java | 9 +- .../io/github/eocqrs/cmig/package-info.java | 9 +- .../github/eocqrs/cmig/session/Cassandra.java | 21 +- .../io/github/eocqrs/cmig/session/Cql.java | 22 +-- .../io/github/eocqrs/cmig/session/InFile.java | 68 ++++--- .../io/github/eocqrs/cmig/session/InText.java | 77 +++++--- .../io/github/eocqrs/cmig/session/Simple.java | 81 ++++---- .../eocqrs/cmig/session/package-info.java | 9 +- .../io/github/eocqrs/cmig/sha/ContentsOf.java | 63 +++--- .../java/io/github/eocqrs/cmig/sha/Sha.java | 91 +++++---- .../github/eocqrs/cmig/sha/StateChanges.java | 55 +++--- .../github/eocqrs/cmig/sha/package-info.java | 9 +- .../io/github/eocqrs/cmig/MasterTest.java | 26 +-- .../io/github/eocqrs/cmig/PreloadTest.java | 41 ++-- .../eocqrs/cmig/check/CmigKeyspaceTest.java | 41 ++-- .../eocqrs/cmig/check/StatesTableTest.java | 43 +++-- .../eocqrs/cmig/check/package-info.java | 30 +++ .../github/eocqrs/cmig/meta/AuthorTest.java | 36 ++-- .../io/github/eocqrs/cmig/meta/IdsTest.java | 47 ++--- .../io/github/eocqrs/cmig/meta/NamesTest.java | 48 ++--- .../github/eocqrs/cmig/meta/package-info.java | 30 +++ .../io/github/eocqrs/cmig/package-info.java | 30 +++ .../eocqrs/cmig/session/InFileTest.java | 28 +-- .../eocqrs/cmig/session/InTextTest.java | 32 +-- .../eocqrs/cmig/session/SimpleTest.java | 60 +++--- .../eocqrs/cmig/session/package-info.java | 30 +++ .../eocqrs/cmig/sha/ContentsOfTest.java | 42 ++-- .../io/github/eocqrs/cmig/sha/ShaTest.java | 44 ++--- .../eocqrs/cmig/sha/StateChangesTest.java | 70 ++++--- .../github/eocqrs/cmig/sha/package-info.java | 30 +++ src/test/java/it/CassandraIntegration.java | 62 ++++-- src/test/java/it/CassandraRunsIT.java | 26 +-- src/test/java/it/CmigKeyspaceIT.java | 54 +++--- src/test/java/it/InFileIT.java | 38 ++-- src/test/java/it/MasterIT.java | 67 +++---- src/test/java/it/PreloadIT.java | 52 ++--- src/test/java/it/SimpleIT.java | 36 ++-- src/test/java/it/package-info.java | 30 +++ src/test/resources/cmig/master.xml | 8 +- src/verifier/verifications.xml | 8 +- 55 files changed, 1319 insertions(+), 1121 deletions(-) create mode 100644 .gitattributes create mode 100644 .xcop delete mode 100644 checkstyle-suppressions.xml create mode 100644 src/test/java/io/github/eocqrs/cmig/check/package-info.java create mode 100644 src/test/java/io/github/eocqrs/cmig/meta/package-info.java create mode 100644 src/test/java/io/github/eocqrs/cmig/package-info.java create mode 100644 src/test/java/io/github/eocqrs/cmig/session/package-info.java create mode 100644 src/test/java/io/github/eocqrs/cmig/sha/package-info.java create mode 100644 src/test/java/it/package-info.java diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..3908207 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,8 @@ +# Check out all text files in UNIX format, with LF as end of line +# Don't change this file. If you have any ideas about it, please +# submit a separate issue about it and we'll discuss. + +* text=auto eol=lf +*.java ident +*.xml ident +*.png binary diff --git a/.xcop b/.xcop new file mode 100644 index 0000000..e69de29 diff --git a/LICENSE.txt b/LICENSE.txt index 4e7da55..94a812e 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,6 +1,6 @@ -MIT License +The MIT License (MIT) -Copyright (c) 2023 Aliaksei Bialiauski, EO-CQRS +Copyright (c) 2023-2024 Aliaksei Bialiauski, EO-CQRS Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -9,8 +9,8 @@ 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: -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, diff --git a/checkstyle-suppressions.xml b/checkstyle-suppressions.xml deleted file mode 100644 index 8e56b64..0000000 --- a/checkstyle-suppressions.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - diff --git a/pom.xml b/pom.xml index 78535fd..dfeb1f4 100644 --- a/pom.xml +++ b/pom.xml @@ -1,8 +1,8 @@