From 571fbcede1bba75da310ba512a3f40edf81275b5 Mon Sep 17 00:00:00 2001 From: alexander-yevsyukov Date: Mon, 9 Dec 2024 20:21:57 +0000 Subject: [PATCH 01/37] Bump version -> `2.0.0-SNAPSHOT.180` --- version.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.gradle.kts b/version.gradle.kts index 4b160c1a..81ca190f 100644 --- a/version.gradle.kts +++ b/version.gradle.kts @@ -29,4 +29,4 @@ * * For Spine-based dependencies please see [io.spine.dependency.local.Spine]. */ -val validationVersion by extra("2.0.0-SNAPSHOT.179") +val validationVersion by extra("2.0.0-SNAPSHOT.180") From 73016517dcc664f5bef526e8179668ac29aad641 Mon Sep 17 00:00:00 2001 From: alexander-yevsyukov Date: Mon, 9 Dec 2024 20:23:21 +0000 Subject: [PATCH 02/37] Introduce `required` subpackage --- .../kotlin/io/spine/validation/GoesPolicy.kt | 1 + .../io/spine/validation/ValidationPlugin.kt | 4 ++ .../{ => required}/RequiredFieldRepository.kt | 5 +- .../{ => required}/RequiredFieldView.kt | 5 +- .../{ => required}/RequiredIdOptionPolicy.kt | 2 +- .../{ => required}/RequiredIdPatternPolicy.kt | 3 +- .../{ => required}/RequiredIdPolicy.kt | 8 +++- .../{ => required}/RequiredPolicy.kt | 8 +++- .../validation/{ => required}/RequiredRule.kt | 47 ++++++++++++------- 9 files changed, 58 insertions(+), 25 deletions(-) rename model/src/main/kotlin/io/spine/validation/{ => required}/RequiredFieldRepository.kt (91%) rename model/src/main/kotlin/io/spine/validation/{ => required}/RequiredFieldView.kt (93%) rename model/src/main/kotlin/io/spine/validation/{ => required}/RequiredIdOptionPolicy.kt (98%) rename model/src/main/kotlin/io/spine/validation/{ => required}/RequiredIdPatternPolicy.kt (97%) rename model/src/main/kotlin/io/spine/validation/{ => required}/RequiredIdPolicy.kt (93%) rename model/src/main/kotlin/io/spine/validation/{ => required}/RequiredPolicy.kt (92%) rename model/src/main/kotlin/io/spine/validation/{ => required}/RequiredRule.kt (81%) diff --git a/model/src/main/kotlin/io/spine/validation/GoesPolicy.kt b/model/src/main/kotlin/io/spine/validation/GoesPolicy.kt index 8b55d30f..2656e76c 100644 --- a/model/src/main/kotlin/io/spine/validation/GoesPolicy.kt +++ b/model/src/main/kotlin/io/spine/validation/GoesPolicy.kt @@ -40,6 +40,7 @@ import io.spine.server.event.Just import io.spine.server.event.Just.Companion.just import io.spine.server.event.React import io.spine.validation.event.RuleAdded +import io.spine.validation.required.RequiredRule /** * A policy to add a validation rule to a type whenever the `(goes)` field option diff --git a/model/src/main/kotlin/io/spine/validation/ValidationPlugin.kt b/model/src/main/kotlin/io/spine/validation/ValidationPlugin.kt index 77fe6bf7..af2e8e9e 100644 --- a/model/src/main/kotlin/io/spine/validation/ValidationPlugin.kt +++ b/model/src/main/kotlin/io/spine/validation/ValidationPlugin.kt @@ -29,6 +29,10 @@ package io.spine.validation import io.spine.protodata.plugin.Plugin import io.spine.protodata.plugin.Policy import io.spine.protodata.plugin.ViewRepository +import io.spine.validation.required.RequiredFieldRepository +import io.spine.validation.required.RequiredIdOptionPolicy +import io.spine.validation.required.RequiredIdPatternPolicy +import io.spine.validation.required.RequiredPolicy /** * A ProtoData plugin which attaches validation-related policies and views. diff --git a/model/src/main/kotlin/io/spine/validation/RequiredFieldRepository.kt b/model/src/main/kotlin/io/spine/validation/required/RequiredFieldRepository.kt similarity index 91% rename from model/src/main/kotlin/io/spine/validation/RequiredFieldRepository.kt rename to model/src/main/kotlin/io/spine/validation/required/RequiredFieldRepository.kt index 6e561d2f..6ecf5099 100644 --- a/model/src/main/kotlin/io/spine/validation/RequiredFieldRepository.kt +++ b/model/src/main/kotlin/io/spine/validation/required/RequiredFieldRepository.kt @@ -24,7 +24,10 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -package io.spine.validation +package io.spine.validation.required + +import io.spine.validation.BoolFieldOptionRepo +import io.spine.validation.RequiredField /** * A repository for the [RequiredFieldView]s. diff --git a/model/src/main/kotlin/io/spine/validation/RequiredFieldView.kt b/model/src/main/kotlin/io/spine/validation/required/RequiredFieldView.kt similarity index 93% rename from model/src/main/kotlin/io/spine/validation/RequiredFieldView.kt rename to model/src/main/kotlin/io/spine/validation/required/RequiredFieldView.kt index fc608682..d8018f97 100644 --- a/model/src/main/kotlin/io/spine/validation/RequiredFieldView.kt +++ b/model/src/main/kotlin/io/spine/validation/required/RequiredFieldView.kt @@ -24,7 +24,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -package io.spine.validation +package io.spine.validation.required import io.spine.core.External import io.spine.core.Subscribe @@ -34,6 +34,9 @@ import io.spine.protobuf.unpack import io.spine.protodata.ast.Option import io.spine.protodata.ast.event.FieldOptionDiscovered import io.spine.server.entity.alter +import io.spine.validation.BoolFieldOptionView +import io.spine.validation.OPTION_NAME +import io.spine.validation.RequiredField /** * A view of a field that is marked as `required`. diff --git a/model/src/main/kotlin/io/spine/validation/RequiredIdOptionPolicy.kt b/model/src/main/kotlin/io/spine/validation/required/RequiredIdOptionPolicy.kt similarity index 98% rename from model/src/main/kotlin/io/spine/validation/RequiredIdOptionPolicy.kt rename to model/src/main/kotlin/io/spine/validation/required/RequiredIdOptionPolicy.kt index 2ee96def..bfb762e0 100644 --- a/model/src/main/kotlin/io/spine/validation/RequiredIdOptionPolicy.kt +++ b/model/src/main/kotlin/io/spine/validation/required/RequiredIdOptionPolicy.kt @@ -24,7 +24,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -package io.spine.validation +package io.spine.validation.required import io.spine.core.External import io.spine.protodata.ast.MessageType diff --git a/model/src/main/kotlin/io/spine/validation/RequiredIdPatternPolicy.kt b/model/src/main/kotlin/io/spine/validation/required/RequiredIdPatternPolicy.kt similarity index 97% rename from model/src/main/kotlin/io/spine/validation/RequiredIdPatternPolicy.kt rename to model/src/main/kotlin/io/spine/validation/required/RequiredIdPatternPolicy.kt index 809c04fb..bd8d0797 100644 --- a/model/src/main/kotlin/io/spine/validation/RequiredIdPatternPolicy.kt +++ b/model/src/main/kotlin/io/spine/validation/required/RequiredIdPatternPolicy.kt @@ -24,7 +24,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -package io.spine.validation +package io.spine.validation.required import com.google.common.collect.ImmutableList import io.spine.core.External @@ -36,6 +36,7 @@ import io.spine.protodata.ast.matches import io.spine.server.event.NoReaction import io.spine.server.event.React import io.spine.server.tuple.EitherOf2 +import io.spine.validation.MessageMarkers import io.spine.validation.event.RuleAdded /** diff --git a/model/src/main/kotlin/io/spine/validation/RequiredIdPolicy.kt b/model/src/main/kotlin/io/spine/validation/required/RequiredIdPolicy.kt similarity index 93% rename from model/src/main/kotlin/io/spine/validation/RequiredIdPolicy.kt rename to model/src/main/kotlin/io/spine/validation/required/RequiredIdPolicy.kt index 279516b9..ab51be21 100644 --- a/model/src/main/kotlin/io/spine/validation/RequiredIdPolicy.kt +++ b/model/src/main/kotlin/io/spine/validation/required/RequiredIdPolicy.kt @@ -23,7 +23,8 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -package io.spine.validation + +package io.spine.validation.required import io.spine.protodata.ast.Field import io.spine.protodata.ast.event.TypeDiscovered @@ -31,8 +32,11 @@ import io.spine.protodata.settings.loadSettings import io.spine.server.event.NoReaction import io.spine.server.event.asA import io.spine.server.tuple.EitherOf2 -import io.spine.validation.RequiredRule.isRequired +import io.spine.validation.ValidationConfig +import io.spine.validation.ValidationPolicy +import io.spine.validation.required.RequiredRule.isRequired import io.spine.validation.event.RuleAdded +import io.spine.validation.toEvent /** * A policy which defines validation rules for ID fields. diff --git a/model/src/main/kotlin/io/spine/validation/RequiredPolicy.kt b/model/src/main/kotlin/io/spine/validation/required/RequiredPolicy.kt similarity index 92% rename from model/src/main/kotlin/io/spine/validation/RequiredPolicy.kt rename to model/src/main/kotlin/io/spine/validation/required/RequiredPolicy.kt index 975a2011..4b73c3d3 100644 --- a/model/src/main/kotlin/io/spine/validation/RequiredPolicy.kt +++ b/model/src/main/kotlin/io/spine/validation/required/RequiredPolicy.kt @@ -24,7 +24,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -package io.spine.validation +package io.spine.validation.required import io.spine.core.External import io.spine.protodata.ast.Field @@ -34,7 +34,13 @@ import io.spine.server.event.NoReaction import io.spine.server.event.React import io.spine.server.event.asA import io.spine.server.tuple.EitherOf2 +import io.spine.validation.REQUIRED +import io.spine.validation.RequiredField +import io.spine.validation.ValidationPolicy import io.spine.validation.event.RuleAdded +import io.spine.validation.fieldId +import io.spine.validation.findField +import io.spine.validation.toEvent /** * A [ValidationPolicy] which controls whether a field should be validated as `required`. diff --git a/model/src/main/kotlin/io/spine/validation/RequiredRule.kt b/model/src/main/kotlin/io/spine/validation/required/RequiredRule.kt similarity index 81% rename from model/src/main/kotlin/io/spine/validation/RequiredRule.kt rename to model/src/main/kotlin/io/spine/validation/required/RequiredRule.kt index 2b8db86b..a01fc5ef 100644 --- a/model/src/main/kotlin/io/spine/validation/RequiredRule.kt +++ b/model/src/main/kotlin/io/spine/validation/required/RequiredRule.kt @@ -24,7 +24,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -package io.spine.validation +package io.spine.validation.required import io.spine.option.IfMissingOption import io.spine.option.OptionsProto @@ -34,22 +34,47 @@ import io.spine.protodata.ast.isMap import io.spine.protodata.value.Value import io.spine.validate.Diags.Required.collectionErrorMsg import io.spine.validate.Diags.Required.singularErrorMsg +import io.spine.validation.ComparisonOperator import io.spine.validation.DefaultErrorMessage.from +import io.spine.validation.Rule +import io.spine.validation.SimpleRule +import io.spine.validation.UnsetValue +import io.spine.validation.boolValue +import io.spine.validation.extractType +import io.spine.validation.`is` +import io.spine.validation.simpleRule +import io.spine.validation.wrap /** * A factory of [SimpleRule]s which represent the `(required)` constraint. */ internal object RequiredRule { + /** + * Checks if the given field is required by inspecting its options. + * + * Some fields such as entity state IDs or command message IDs are assumed to be present. + * For such fields pass the parameter [assumed] set to `true`. + * In such a case, only setting `(required) = false` for the field would cancel the assumption. + * + * @param field The field. + * @param assumed If set to `true`, the method returns `false` only if the field has + * the `(required)` option explicitly set to `false`. + * @return `true` if the field is required or assumed required. + */ + fun isRequired(field: Field, assumed: Boolean): Boolean = + field.optionList + .firstOrNull { it.`is`(OptionsProto.required) } + ?.boolValue + ?: assumed + /** * Creates a rule for the given field to be required. */ @Suppress("ReturnCount") fun forField(field: Field, errorMessage: String): Rule? { val unsetValue = UnsetValue.forField(field) - if (unsetValue == null) { - return null - } + ?: return null val integratedRule = rule( field, unsetValue, errorMessage, singularErrorMsg, false ) @@ -115,18 +140,4 @@ internal object RequiredRule { this.distribute = distibute } } - - /** - * Checks if the given field is required. - * - * @param field The field. - * @param byDefault The default value - * @return `true` if the field is marked with `(required) = true` or if - * the `byDefault` is `true`, `false` otherwise. - */ - fun isRequired(field: Field, byDefault: Boolean): Boolean = - field.optionList - .firstOrNull { it.`is`(OptionsProto.required) } - ?.boolValue - ?: byDefault } From 7ca6e06c282f7b95223ae976a1242b363ca63e43 Mon Sep 17 00:00:00 2001 From: alexander-yevsyukov Date: Mon, 9 Dec 2024 20:23:30 +0000 Subject: [PATCH 03/37] Update dependency reports --- dependencies.md | 56 ++++++++++++++++++++++++------------------------- pom.xml | 2 +- 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/dependencies.md b/dependencies.md index 3bbd5f55..84ec8e10 100644 --- a/dependencies.md +++ b/dependencies.md @@ -1,6 +1,6 @@ -# Dependencies of `io.spine.validation:spine-validation-java:2.0.0-SNAPSHOT.179` +# Dependencies of `io.spine.validation:spine-validation-java:2.0.0-SNAPSHOT.180` ## Runtime 1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.15.3. @@ -852,12 +852,12 @@ The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Fri Dec 06 15:45:53 CET 2024** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). +This report was generated on **Mon Dec 09 20:22:37 WET 2024** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.validation:spine-validation-java-bundle:2.0.0-SNAPSHOT.179` +# Dependencies of `io.spine.validation:spine-validation-java-bundle:2.0.0-SNAPSHOT.180` ## Runtime 1. **Group** : org.jetbrains. **Name** : annotations. **Version** : 24.0.1. @@ -1452,12 +1452,12 @@ This report was generated on **Fri Dec 06 15:45:53 CET 2024** using [Gradle-Lice The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Fri Dec 06 15:45:54 CET 2024** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). +This report was generated on **Mon Dec 09 20:22:38 WET 2024** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.validation:spine-validation-java-runtime:2.0.0-SNAPSHOT.179` +# Dependencies of `io.spine.validation:spine-validation-java-runtime:2.0.0-SNAPSHOT.180` ## Runtime 1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2. @@ -2114,12 +2114,12 @@ This report was generated on **Fri Dec 06 15:45:54 CET 2024** using [Gradle-Lice The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Fri Dec 06 15:45:54 CET 2024** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). +This report was generated on **Mon Dec 09 20:22:38 WET 2024** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.validation:spine-validation-java-tests:2.0.0-SNAPSHOT.179` +# Dependencies of `io.spine.validation:spine-validation-java-tests:2.0.0-SNAPSHOT.180` ## Runtime 1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.15.3. @@ -3039,12 +3039,12 @@ This report was generated on **Fri Dec 06 15:45:54 CET 2024** using [Gradle-Lice The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Fri Dec 06 15:45:56 CET 2024** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). +This report was generated on **Mon Dec 09 20:22:38 WET 2024** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.validation:spine-validation-model:2.0.0-SNAPSHOT.179` +# Dependencies of `io.spine.validation:spine-validation-model:2.0.0-SNAPSHOT.180` ## Runtime 1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.15.3. @@ -3899,12 +3899,12 @@ This report was generated on **Fri Dec 06 15:45:56 CET 2024** using [Gradle-Lice The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Fri Dec 06 15:45:56 CET 2024** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). +This report was generated on **Mon Dec 09 20:22:39 WET 2024** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.validation:spine-validation-proto:2.0.0-SNAPSHOT.179` +# Dependencies of `io.spine.validation:spine-validation-proto:2.0.0-SNAPSHOT.180` ## Runtime 1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.15.3. @@ -4793,12 +4793,12 @@ This report was generated on **Fri Dec 06 15:45:56 CET 2024** using [Gradle-Lice The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Fri Dec 06 15:45:57 CET 2024** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). +This report was generated on **Mon Dec 09 20:22:39 WET 2024** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.validation:spine-validation-consumer:2.0.0-SNAPSHOT.179` +# Dependencies of `io.spine.validation:spine-validation-consumer:2.0.0-SNAPSHOT.180` ## Runtime 1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.15.3. @@ -5666,12 +5666,12 @@ This report was generated on **Fri Dec 06 15:45:57 CET 2024** using [Gradle-Lice The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Fri Dec 06 15:45:57 CET 2024** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). +This report was generated on **Mon Dec 09 20:22:39 WET 2024** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.validation:spine-validation-consumer-dependency:2.0.0-SNAPSHOT.179` +# Dependencies of `io.spine.validation:spine-validation-consumer-dependency:2.0.0-SNAPSHOT.180` ## Runtime 1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2. @@ -6419,12 +6419,12 @@ This report was generated on **Fri Dec 06 15:45:57 CET 2024** using [Gradle-Lice The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Fri Dec 06 15:45:58 CET 2024** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). +This report was generated on **Mon Dec 09 20:22:39 WET 2024** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.validation:spine-validation-extensions:2.0.0-SNAPSHOT.179` +# Dependencies of `io.spine.validation:spine-validation-extensions:2.0.0-SNAPSHOT.180` ## Runtime 1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.15.3. @@ -7321,12 +7321,12 @@ This report was generated on **Fri Dec 06 15:45:58 CET 2024** using [Gradle-Lice The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Fri Dec 06 15:45:59 CET 2024** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). +This report was generated on **Mon Dec 09 20:22:40 WET 2024** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.validation:spine-validation-runtime:2.0.0-SNAPSHOT.179` +# Dependencies of `io.spine.validation:spine-validation-runtime:2.0.0-SNAPSHOT.180` ## Runtime 1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2. @@ -8077,12 +8077,12 @@ This report was generated on **Fri Dec 06 15:45:59 CET 2024** using [Gradle-Lice The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Fri Dec 06 15:45:59 CET 2024** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). +This report was generated on **Mon Dec 09 20:22:40 WET 2024** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.validation:spine-validation-validating:2.0.0-SNAPSHOT.179` +# Dependencies of `io.spine.validation:spine-validation-validating:2.0.0-SNAPSHOT.180` ## Runtime 1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2. @@ -8837,12 +8837,12 @@ This report was generated on **Fri Dec 06 15:45:59 CET 2024** using [Gradle-Lice The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Fri Dec 06 15:45:59 CET 2024** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). +This report was generated on **Mon Dec 09 20:22:40 WET 2024** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.validation:spine-validation-vanilla:2.0.0-SNAPSHOT.179` +# Dependencies of `io.spine.validation:spine-validation-vanilla:2.0.0-SNAPSHOT.180` ## Runtime 1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2. @@ -9588,12 +9588,12 @@ This report was generated on **Fri Dec 06 15:45:59 CET 2024** using [Gradle-Lice The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Fri Dec 06 15:46:00 CET 2024** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). +This report was generated on **Mon Dec 09 20:22:40 WET 2024** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.validation:spine-validation-configuration:2.0.0-SNAPSHOT.179` +# Dependencies of `io.spine.validation:spine-validation-configuration:2.0.0-SNAPSHOT.180` ## Runtime 1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.15.3. @@ -10466,12 +10466,12 @@ This report was generated on **Fri Dec 06 15:46:00 CET 2024** using [Gradle-Lice The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Fri Dec 06 15:46:01 CET 2024** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). +This report was generated on **Mon Dec 09 20:22:40 WET 2024** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.validation:spine-validation-context:2.0.0-SNAPSHOT.179` +# Dependencies of `io.spine.validation:spine-validation-context:2.0.0-SNAPSHOT.180` ## Runtime 1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.15.3. @@ -11344,4 +11344,4 @@ This report was generated on **Fri Dec 06 15:46:01 CET 2024** using [Gradle-Lice The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Fri Dec 06 15:46:01 CET 2024** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). \ No newline at end of file +This report was generated on **Mon Dec 09 20:22:41 WET 2024** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). \ No newline at end of file diff --git a/pom.xml b/pom.xml index 4aeb7582..23d85323 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ all modules and does not describe the project structure per-subproject. --> io.spine.validation validation -2.0.0-SNAPSHOT.179 +2.0.0-SNAPSHOT.180 2015 From 5c9e3f2b6e40da5e4b55075cca17552efa698dc2 Mon Sep 17 00:00:00 2001 From: alexander-yevsyukov Date: Mon, 9 Dec 2024 20:25:29 +0000 Subject: [PATCH 04/37] Update config --- .github/workflows/gradle-wrapper-validation.yml | 2 +- .idea/inspectionProfiles/Project_Default.xml | 16 ++++++++++++---- .../io/spine/dependency/build/ErrorProne.kt | 1 - .../kotlin/io/spine/dependency/lib/KotlinX.kt | 3 ++- .../kotlin/io/spine/dependency/local/Base.kt | 4 ++-- .../kotlin/io/spine/dependency/local/McJava.kt | 4 ++-- .../io/spine/dependency/local/ProtoData.kt | 4 ++-- .../io/spine/dependency/local/Validation.kt | 2 +- buildSrc/src/main/kotlin/jvm-module.gradle.kts | 4 ++-- config | 2 +- 10 files changed, 25 insertions(+), 17 deletions(-) diff --git a/.github/workflows/gradle-wrapper-validation.yml b/.github/workflows/gradle-wrapper-validation.yml index a13b1911..b2955de3 100644 --- a/.github/workflows/gradle-wrapper-validation.yml +++ b/.github/workflows/gradle-wrapper-validation.yml @@ -16,4 +16,4 @@ jobs: uses: actions/checkout@v4 - name: Validate Gradle Wrapper - uses: gradle/wrapper-validation-action@v1 + uses: gradle/actions/wrapper-validation@v4 diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index 6ddfcc9d..35bbdff5 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -146,11 +146,13 @@ + + @@ -192,6 +194,7 @@ + @@ -575,6 +578,7 @@ + @@ -619,9 +623,6 @@ - - - @@ -689,6 +690,7 @@ + @@ -709,6 +711,7 @@ +