Skip to content

Commit e5080f9

Browse files
Found new managed modules references (#196)
New managed modules references found. Please review. Co-authored-by: unmultimedio <unmultimedio@users.noreply.github.com>
1 parent 38582d4 commit e5080f9

15 files changed

+360
-8
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Testing
2+
3+
Many `protovalidate` tests are defined as protobuf messages, this provides a
4+
language agnostic way to ensure all `protovalidate` components and
5+
implementations have the same features and support without regression.
6+
7+
Discover more [here](https://github.com/bufbuild/protovalidate/tools/protovalidate-conformance).
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
shake256:8f88503768991dcc77b5a39a4a8d3374c99f4f0f69fb9e58a383fa238b20645190dc4570817b8ab9bbd83e90d063d151048137ef8c6bdb51ea797f7c6f41cfba LICENSE
2+
shake256:838f55cc2961a34975d1b9545ed659d80c69dd0f61850ddad867a44615e5aab920a056524a4464e8760f68924ae89b6fae6d39c56908113e9ac2cbc78c911deb README.md
3+
shake256:62550ee153ce38c032a09e70d510592fa48e725249583aac43f0a8a290493073cd3970a5aeff223e99264d32970002d3115f184c787ffcc7187559bd921ec619 buf.yaml
4+
shake256:5c77db050615b9b477032d8df35eaf3040c4a306aa282ca9e5aa4ae10ed922a79998368582b80ae3a6b8d0fda470e762b760f650074ea737950cb237ce4ead8f buf/validate/conformance/cases/bool.proto
5+
shake256:8574cbadfba41ecb00a7d5c9b029c8c241831f742f324f260b5d6014c74891e763fa79a27cebc7c2e19e49af87f02b7699c661285c550b5df1195ec010cd353b buf/validate/conformance/cases/bytes.proto
6+
shake256:ee0d18a57d7fd0b8f0dec58a8806b8faf8368db69b9b266c0b7b5ff8fb043dae86f096e31e32ae5aa49474454cd85eb75d1097b040c4a2afadd21f0d57505bf7 buf/validate/conformance/cases/custom_constraints/custom_constraints.proto
7+
shake256:9ad14c76b20c8d01a3f16a9716642bf394ab92faf1bc85a9a0138f6a0684dd0e4b0c6573fa55d6d6f1e372fbfed23892206d9e82850d22423dcedb6663b4678b buf/validate/conformance/cases/enums.proto
8+
shake256:f27bc7f3fc084c84cd163322bdaa850cf923b9efaaa6ecca3466f51f0898fafe9a6fa00cd4b3af071382c30921b3f19e1fe6fb7c35f50069f92a7a4f84364697 buf/validate/conformance/cases/filename-with-dash.proto
9+
shake256:d9917ad3fbe71842cac39b1dff0772e2106362c9f1de4dff873c456b2ea710597e29d9eb0945a23c3404a74e7d0fa7981bffe1c4a16acfc87067e5287f287410 buf/validate/conformance/cases/kitchen_sink.proto
10+
shake256:43980d43da1aceb1b1758df0c0fea3fb784f4bdcad0481225334a7ab93a0126ae49fc569ce027e6ce63de04f1e492136084c0ae855b39aabb484d7dfc992f618 buf/validate/conformance/cases/maps.proto
11+
shake256:8187f9fa2552af97918fe710521933a1b7fd51b8419289ce853ec74c98b2640eb280e658eaae5ea6bfecbcb20ff9c290194c21c02881311b27a49e4cd0c450c6 buf/validate/conformance/cases/messages.proto
12+
shake256:bef3936a8b571ac55546d5ef926de16882b906931edb63b3487f96d1a7dd9d7afe9a2d7c71cb0f880495ea786840a7a3fd17c565f0fae79f230fbca99a9a0d32 buf/validate/conformance/cases/numbers.proto
13+
shake256:74f2fe1b75ec3dd2bd029cc99e526971d160513bed0d36b226e6e32ca64494857b8e57dcb7fa99870335958bdc0febed64040805c6fd86a6081998d254ce226f buf/validate/conformance/cases/oneofs.proto
14+
shake256:50633a57b483850fb64e06c1bcd0eb545c8a359a940dd4d92ef1e14232e05ab6f8194e89f1b5fadab5722f1b2f7eb240036b034018ea3437c23039eab1e9db5c buf/validate/conformance/cases/other_package/embed.proto
15+
shake256:bd45adb2035256c24752abb062383dccc5f4bc62a0e15b3d4f98742f2da33b15f6e891806ce694a536198f805825c72eccc4b585b93d98d10d9dd38d64601d35 buf/validate/conformance/cases/repeated.proto
16+
shake256:80cb0e60ef85aa44aba7510e812b453c3e410a34ee97203c3ff2ed5a957919fc522ae5c0837bd464f4b2a67b59662b631eab0e6e9c9acb3d4677e893653bce7a buf/validate/conformance/cases/strings.proto
17+
shake256:5bd92ab2145d3a6c301948b75af7b69d367f70b172fb29538d192c51e0516ee48d3db820a76f4ebcbbffc6ea1baf3b590399da2b160adb648458079080360b07 buf/validate/conformance/cases/subdirectory/in_subdirectory.proto
18+
shake256:a742e6490da44a38f9977f2fabd38d92696dd8316720d9d8cd4d7adb2bcc09cc433dffa56112c569995e65649275bbc1a6e32c09a4cdfcce47a4c71371abb88d buf/validate/conformance/cases/wkt_any.proto
19+
shake256:98774a40b1bf96f092e16685af2b769a84f8ade76242c168f1ed4b7e53b6644b0a99deb6c207a2c7c1e86ba65675d6c0c3ebd398d5ff3ccd79cd6a5e636e80f8 buf/validate/conformance/cases/wkt_duration.proto
20+
shake256:e0fa2c82ea25392f2e28d3345e1a7210c9fb82367795cbe2d5c191fa643171efec2d3b9752214d97fc936194428bf7d37fc365eadd0ecb369e888984902264cf buf/validate/conformance/cases/wkt_nested.proto
21+
shake256:56d36a5e1f3b96add142ce7efd796cfbc72be914c778761b331abf594901c41a5fc6fec7a2145d555d9343a4224ac99bc040d95b0966a689d6d22475ababd8a7 buf/validate/conformance/cases/wkt_timestamp.proto
22+
shake256:7a4f30de82964fa0a8524111af262f3973d77cab6deb7c46c3880008109983c31ea1bff52fd9d2edecc4dddc8fff427713fc974def5b35155d9a728398c14f4b buf/validate/conformance/cases/wkt_wrappers.proto
23+
shake256:5ed1054c3b0604ddb721929f2f9e0acc882f9d838a1f7e1e8312ebfe51b9a80e7937654f668e0a3b783340e64c331f540cf496f93ffd83f53dbdbcb14f9d9efa buf/validate/conformance/cases/yet_another_package/embed2.proto
24+
shake256:63a97e0866edeceea33b536475eebe770978b2f7ce3f2d499ee5423908feeb076c3523b0fb4b7f5aacb00b83a26fef8bbd79c566981d62c4d99727c491553bf7 buf/validate/conformance/harness/harness.proto
25+
shake256:160efbb6958bcedfbf354970512f2485182bcb58b4c2bbdf2dc8798a79bc6c4ffe57c9c0cc6b52ac73c97a83c5c7550f5275f01d1bd44b127e3d4ab81ba23554 buf/validate/conformance/harness/results.proto

modules/sync/bufbuild/protovalidate-testing/state.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@
6363
{
6464
"name": "v0.2.2",
6565
"digest": "5bbd9baf7191b035784233538a19b10255c7d47a5677ee2a88c4d5945cc2745f3e7e7caf50921c9d84e5d4c92c827e08b37366fdc64f295651c68a2e360f196e"
66+
},
67+
{
68+
"name": "v0.2.3",
69+
"digest": "f303036acdf4ac9f0dbcf0f6fca370ccfce230d3f9e42645a6fc9c1c04c21cb7e81275db6a81a3a27353f0561b3be18e58e443227838b40c81981fbe311dbfd2"
6670
}
6771
]
6872
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
shake256:8f88503768991dcc77b5a39a4a8d3374c99f4f0f69fb9e58a383fa238b20645190dc4570817b8ab9bbd83e90d063d151048137ef8c6bdb51ea797f7c6f41cfba LICENSE
2+
shake256:b8ec4cbd3f0ff7194a4c6564eecfecc967ce2a93caeb5a09f402efb172371655b358d7bcb6fd7d6a01c1c2f71f705c3f21a55f159c779ea246f99e385a7f4bbb buf.yaml
3+
shake256:f0012d59456f8caa8b4c00719dcef5685d0281bac842ce47178d3dfda6392fa1875fb216bbd7c0e3b71f0f5f1d13219f3221768c3b7fb22978717b1b0256d9ee buf/validate/expression.proto
4+
shake256:f2538a667097bb6d0cc76667105835496205d67c40bdcfecdcf724bf32febd311b46ae5b1b19eb0b86ea4a01c21f15a4e4391e43e9bcffe190ebe3228da53e69 buf/validate/priv/private.proto
5+
shake256:4121b90438772676b7722b0fb75f2fba0059f6ff22fd5301e3a9ded410cbb02b73c6f20c85a52236c95633cdec2e1f92daa612fe074811dd68f7460c15f99de3 buf/validate/validate.proto
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
// Copyright 2023 Buf Technologies, Inc.
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
syntax = "proto3";
16+
17+
package buf.validate;
18+
19+
option go_package = "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate";
20+
21+
// `Constraint` represents a validation rule written in the Common Expression
22+
// Language (CEL) syntax. Each Constraint includes a unique identifier, an
23+
// optional error message, and the CEL expression to evaluate. For more
24+
// information on CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md).
25+
//
26+
// ```proto
27+
// message Foo {
28+
// option (buf.validate.message).cel = {
29+
// id: "foo.bar"
30+
// message: "bar must be greater than 0"
31+
// expression: "this.bar > 0"
32+
// };
33+
// int32 bar = 1;
34+
// }
35+
// ```
36+
message Constraint {
37+
// `id` is a string that serves as a machine-readable name for this Constraint.
38+
// It should be unique within its scope, which could be either a message or a field.
39+
string id = 1;
40+
41+
// `message` is an optional field that provides a human-readable error message
42+
// for this Constraint when the CEL expression evaluates to false. If a
43+
// non-empty message is provided, any strings resulting from the CEL
44+
// expression evaluation are ignored.
45+
string message = 2;
46+
47+
// `expression` is the actual CEL expression that will be evaluated for
48+
// validation. This string must resolve to either a boolean or a string
49+
// value. If the expression evaluates to false or a non-empty string, the
50+
// validation is considered failed, and the message is rejected.
51+
string expression = 3;
52+
}
53+
54+
// `Violations` is a collection of `Violation` messages. This message type is returned by
55+
// protovalidate when a proto message fails to meet the requirements set by the `Constraint` validation rules.
56+
// Each individual violation is represented by a `Violation` message.
57+
message Violations {
58+
// `violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
59+
repeated Violation violations = 1;
60+
}
61+
62+
// `Violation` represents a single instance where a validation rule, expressed
63+
// as a `Constraint`, was not met. It provides information about the field that
64+
// caused the violation, the specific constraint that wasn't fulfilled, and a
65+
// human-readable error message.
66+
//
67+
// ```json
68+
// {
69+
// "fieldPath": "bar",
70+
// "constraintId": "foo.bar",
71+
// "message": "bar must be greater than 0"
72+
// }
73+
// ```
74+
message Violation {
75+
// `field_path` is a machine-readable identifier that points to the specific field that failed the validation.
76+
// This could be a nested field, in which case the path will include all the parent fields leading to the actual field that caused the violation.
77+
string field_path = 1;
78+
79+
// `constraint_id` is the unique identifier of the `Constraint` that was not fulfilled.
80+
// This is the same `id` that was specified in the `Constraint` message, allowing easy tracing of which rule was violated.
81+
string constraint_id = 2;
82+
83+
// `message` is a human-readable error message that describes the nature of the violation.
84+
// This can be the default error message from the violated `Constraint`, or it can be a custom message that gives more context about the violation.
85+
string message = 3;
86+
87+
// `for_key` indicates whether the violation was caused by a map key, rather than a value.
88+
bool for_key = 4;
89+
}

modules/sync/bufbuild/protovalidate/state.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@
6363
{
6464
"name": "v0.2.2",
6565
"digest": "b21de7ba7f2951cb74b55526618950096e0e3e156b5d69d64a13e0b9fcba7c76b061b9701459bd544ecba7e0e47c62ecb4bcfc6068372ad7b323ce466674f9f5"
66+
},
67+
{
68+
"name": "v0.2.3",
69+
"digest": "10914818cc0aab4ed70ad3b0443d6e78550e576b9a6d0e2d151b37d690c6c4ceca7e7e3514cdee6722b2dfc8febeb1c2075ab0390d46e3c92c441c3c729551f2"
6670
}
6771
]
6872
}

modules/sync/envoyproxy/envoy/state.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26223,6 +26223,30 @@
2622326223
{
2622426224
"name": "cf2b15d0f73d6238da2d0b6fe97a063423915144",
2622526225
"digest": "370e7ee63f49ff56b01d575a5676341e310cf80cb46ade453842e3913d686bcaa141e7e28644ed0477834970a8489578f618b26ad3ba1bf4d407b4459b983b04"
26226+
},
26227+
{
26228+
"name": "0a672f829fcc02681de38656b964ebae00c58608",
26229+
"digest": "370e7ee63f49ff56b01d575a5676341e310cf80cb46ade453842e3913d686bcaa141e7e28644ed0477834970a8489578f618b26ad3ba1bf4d407b4459b983b04"
26230+
},
26231+
{
26232+
"name": "5e1b1e3b6351035063da4c8422517c3f6008a94a",
26233+
"digest": "370e7ee63f49ff56b01d575a5676341e310cf80cb46ade453842e3913d686bcaa141e7e28644ed0477834970a8489578f618b26ad3ba1bf4d407b4459b983b04"
26234+
},
26235+
{
26236+
"name": "2311e03d91b146db83bac4c03f50aed4b7cf5e74",
26237+
"digest": "370e7ee63f49ff56b01d575a5676341e310cf80cb46ade453842e3913d686bcaa141e7e28644ed0477834970a8489578f618b26ad3ba1bf4d407b4459b983b04"
26238+
},
26239+
{
26240+
"name": "8ea51fe2ba41c2af2efd4bee68939c93154d3145",
26241+
"digest": "370e7ee63f49ff56b01d575a5676341e310cf80cb46ade453842e3913d686bcaa141e7e28644ed0477834970a8489578f618b26ad3ba1bf4d407b4459b983b04"
26242+
},
26243+
{
26244+
"name": "085031109bf3213cc5285c7caea40d9500796731",
26245+
"digest": "370e7ee63f49ff56b01d575a5676341e310cf80cb46ade453842e3913d686bcaa141e7e28644ed0477834970a8489578f618b26ad3ba1bf4d407b4459b983b04"
26246+
},
26247+
{
26248+
"name": "69f1713832b6088ba0b43872b9b64072db481674",
26249+
"digest": "370e7ee63f49ff56b01d575a5676341e310cf80cb46ade453842e3913d686bcaa141e7e28644ed0477834970a8489578f618b26ad3ba1bf4d407b4459b983b04"
2622626250
}
2622726251
]
2622826252
}

modules/sync/googleapis/googleapis/state.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6083,6 +6083,14 @@
60836083
{
60846084
"name": "bbafc659a184b445ee2c999261db384ac5ab9f7d",
60856085
"digest": "ec78043de98c49d5ef405d1403b894d7a2c4c28cef691d94dffb31ba6e5953a92d8a54a76801e09411efcee4238bee1c44e1b85d1703cce18a6fd6d42a16c52a"
6086+
},
6087+
{
6088+
"name": "b9fb22c5183a7d8753a7e2c633b4f2e50da5b50a",
6089+
"digest": "ec78043de98c49d5ef405d1403b894d7a2c4c28cef691d94dffb31ba6e5953a92d8a54a76801e09411efcee4238bee1c44e1b85d1703cce18a6fd6d42a16c52a"
6090+
},
6091+
{
6092+
"name": "254e3cb5e752e5b11c4388d0b3b49b528af69e18",
6093+
"digest": "ec78043de98c49d5ef405d1403b894d7a2c4c28cef691d94dffb31ba6e5953a92d8a54a76801e09411efcee4238bee1c44e1b85d1703cce18a6fd6d42a16c52a"
60866094
}
60876095
]
60886096
}

modules/sync/googlechrome/lighthouse/state.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,18 @@
327327
{
328328
"name": "a4f9313336bfdd1f4a5ce391ce3218e1ce00a777",
329329
"digest": "621110abef3e38d55f25c02ed7572fbc7700ec63772855cb4cec01c27a901c2bf8f5724d7eccfb439b09f3f43f270c9a0a3112a980ae28f2ce5722001e4865b8"
330+
},
331+
{
332+
"name": "ec59d8054b55aaedb40ede486e7c7bc925ee6d96",
333+
"digest": "621110abef3e38d55f25c02ed7572fbc7700ec63772855cb4cec01c27a901c2bf8f5724d7eccfb439b09f3f43f270c9a0a3112a980ae28f2ce5722001e4865b8"
334+
},
335+
{
336+
"name": "4debf10e06c7c0c817104971176620b7fcaf091a",
337+
"digest": "621110abef3e38d55f25c02ed7572fbc7700ec63772855cb4cec01c27a901c2bf8f5724d7eccfb439b09f3f43f270c9a0a3112a980ae28f2ce5722001e4865b8"
338+
},
339+
{
340+
"name": "20b8b28832ce4871187f2937a7f1d8abff89be46",
341+
"digest": "621110abef3e38d55f25c02ed7572fbc7700ec63772855cb4cec01c27a901c2bf8f5724d7eccfb439b09f3f43f270c9a0a3112a980ae28f2ce5722001e4865b8"
330342
}
331343
]
332344
}

modules/sync/grpc-ecosystem/grpc-gateway/state.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1215,6 +1215,10 @@
12151215
{
12161216
"name": "3c8aa0d2ca10057a7936c01cc85f3b7900b3597c",
12171217
"digest": "56e11d99165309adf89664157258e3ec800af508759feddb9b60e1377dccab08ae011028c18666c502806396c0620500414713f35b13bbc72ce8660f08b0ea3a"
1218+
},
1219+
{
1220+
"name": "9d72895eb29648c7546fd48ce086cfffcf069653",
1221+
"digest": "56e11d99165309adf89664157258e3ec800af508759feddb9b60e1377dccab08ae011028c18666c502806396c0620500414713f35b13bbc72ce8660f08b0ea3a"
12181222
}
12191223
]
12201224
}

0 commit comments

Comments
 (0)