Skip to content

Commit 478d593

Browse files
chore: bundle flagd new proto schems (#551)
Signed-off-by: Kavindu Dodanduwa <[email protected]> Signed-off-by: Kavindu Dodanduwa <[email protected]> Co-authored-by: Todd Baert <[email protected]>
1 parent 2f3c069 commit 478d593

File tree

4 files changed

+34
-5
lines changed

4 files changed

+34
-5
lines changed

providers/flagd/pom.xml

+30
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,36 @@
199199
</arguments>
200200
</configuration>
201201
</execution>
202+
<execution>
203+
<id>copy-evaluation.proto</id>
204+
<phase>validate</phase>
205+
<goals>
206+
<goal>exec</goal>
207+
</goals>
208+
<configuration>
209+
<!-- run: cp schemas/protobuf/flagd/evaluation/v1/evaluation.proto src/main/proto/ -->
210+
<executable>cp</executable>
211+
<arguments>
212+
<argument>schemas/protobuf/flagd/evaluation/v1/evaluation.proto</argument>
213+
<argument>src/main/proto/</argument>
214+
</arguments>
215+
</configuration>
216+
</execution>
217+
<execution>
218+
<id>copy-sync.proto</id>
219+
<phase>validate</phase>
220+
<goals>
221+
<goal>exec</goal>
222+
</goals>
223+
<configuration>
224+
<!-- run: cp schemas/protobuf/flagd/sync/v1/sync.proto src/main/proto/ -->
225+
<executable>cp</executable>
226+
<arguments>
227+
<argument>schemas/protobuf/flagd/sync/v1/sync.proto</argument>
228+
<argument>src/main/proto/</argument>
229+
</arguments>
230+
</configuration>
231+
</execution>
202232
<execution>
203233
<id>copy-schema-json</id>
204234
<phase>validate</phase>

providers/flagd/schemas

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
schema.proto
2-
sync_service.proto
1+
*.proto

spotbugs-exclusions.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33

44
<!-- Ignore generated dev.openfeature.flagd.grpc schemas -->
55
<Match>
6-
<Package name="~dev\.openfeature\.flagd\.grpc\.*" />
6+
<Package name="~dev.openfeature.flagd.grpc.*" />
77
</Match>
88

99
<!-- Ignore generated dev.openfeature.flagd.sync schemas -->
1010
<Match>
11-
<Package name="~dev\.openfeature\.flagd\.sync\.*" />
11+
<Package name="dev.openfeature.flagd.sync.*" />
1212
</Match>
1313

1414
<!-- All bugs in test classes, except for JUnit-specific bugs -->

0 commit comments

Comments
 (0)