Skip to content

Commit

Permalink
chore: bundle flagd new proto schems (#551)
Browse files Browse the repository at this point in the history
Signed-off-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com>
Signed-off-by: Kavindu Dodanduwa <Kavindu-Dodan@users.noreply.github.com>
Co-authored-by: Todd Baert <todd.baert@dynatrace.com>
  • Loading branch information
Kavindu-Dodan and toddbaert authored Nov 21, 2023
1 parent 2f3c069 commit 478d593
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 5 deletions.
30 changes: 30 additions & 0 deletions providers/flagd/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,36 @@
</arguments>
</configuration>
</execution>
<execution>
<id>copy-evaluation.proto</id>
<phase>validate</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<!-- run: cp schemas/protobuf/flagd/evaluation/v1/evaluation.proto src/main/proto/ -->
<executable>cp</executable>
<arguments>
<argument>schemas/protobuf/flagd/evaluation/v1/evaluation.proto</argument>
<argument>src/main/proto/</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>copy-sync.proto</id>
<phase>validate</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<!-- run: cp schemas/protobuf/flagd/sync/v1/sync.proto src/main/proto/ -->
<executable>cp</executable>
<arguments>
<argument>schemas/protobuf/flagd/sync/v1/sync.proto</argument>
<argument>src/main/proto/</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>copy-schema-json</id>
<phase>validate</phase>
Expand Down
2 changes: 1 addition & 1 deletion providers/flagd/schemas
3 changes: 1 addition & 2 deletions providers/flagd/src/main/proto/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
schema.proto
sync_service.proto
*.proto
4 changes: 2 additions & 2 deletions spotbugs-exclusions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@

<!-- Ignore generated dev.openfeature.flagd.grpc schemas -->
<Match>
<Package name="~dev\.openfeature\.flagd\.grpc\.*" />
<Package name="~dev.openfeature.flagd.grpc.*" />
</Match>

<!-- Ignore generated dev.openfeature.flagd.sync schemas -->
<Match>
<Package name="~dev\.openfeature\.flagd\.sync\.*" />
<Package name="dev.openfeature.flagd.sync.*" />
</Match>

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

0 comments on commit 478d593

Please sign in to comment.