Skip to content

An OpenFeign Client for Dapr Invokes #1294

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
790e502
feat(springboot openfeign): An OpenFeign Client for Dapr Invokes
lony2003 Apr 1, 2025
5e0e110
feat(springboot openfeign): An OpenFeign Client for Dapr Invokes
lony2003 Apr 1, 2025
2e7d1d0
feat(springboot openfeign): An OpenFeign Client for Dapr Invokes
lony2003 Apr 1, 2025
665c299
docs(springboot openfeign): add an example to springboot-examples
lony2003 Apr 2, 2025
d7831b0
test(springboot openfeign): A new test that tests PostgreSQL bindings.
lony2003 Apr 2, 2025
6498a09
docs(springboot openfeign): Update doc for Dapr OpenFeign
lony2003 Apr 2, 2025
fd89e6f
docs(springboot openfeign): A fix of example docs.
lony2003 Apr 3, 2025
46a9f65
refactor(springboot openfeign): Use BeanPostProcessor to modify the o…
lony2003 Apr 7, 2025
2877e86
style(springboot openfeign): add headers, clean import, refresh style
lony2003 Apr 8, 2025
ee6f761
fix(springboot openfeign): delete pubsub subscription to make DaprSpr…
lony2003 Apr 8, 2025
bb9e2fe
fix(springboot openfeign): fix spring cloud version error for springb…
lony2003 Apr 8, 2025
475835c
fix(springboot openfeign): change IT ports to make DaprSpringMassagin…
lony2003 Apr 8, 2025
7b8bba5
Merge branch 'master' into development-openfeign
lony2003 Apr 23, 2025
a330ef2
fix(springcloud openfeign): fix IT failed because of reflactor of DAP…
lony2003 Apr 23, 2025
c381e44
fix(springboot openfeign): fix IT failed for tests that have two dapr…
lony2003 Apr 23, 2025
bc6d98c
fix(springboot openfeign): fix IT failed for tests that have two dapr…
lony2003 Apr 23, 2025
e8a35cc
fix(springboot openfeign): fix IT failure because of APP_PORT
lony2003 Apr 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -25,11 +25,13 @@ jobs:
matrix:
java: [ 17 ]
spring-boot-version: [ 3.4.3 ]
spring-cloud-version: [ 2024.0.1 ]
spring-boot-display-version: [ 3.4.x ]
experimental: [ false ]
include:
- java: 17
spring-boot-version: 3.3.9
spring-cloud-version: 2023.0.5
spring-boot-display-version: 3.3.x
experimental: false
env:
@@ -126,7 +128,7 @@ jobs:
run: ./mvnw install -q -B -DskipTests
- name: Integration tests using spring boot version ${{ matrix.spring-boot-version }}
id: integration_tests
run: PRODUCT_SPRING_BOOT_VERSION=${{ matrix.spring-boot-version }} ./mvnw -B -Pintegration-tests verify
run: PRODUCT_SPRING_BOOT_VERSION=${{ matrix.spring-boot-version }} PRODUCT_SPRING_CLOUD_VERSION=${{ matrix.spring-cloud-version }} ./mvnw -B -Pintegration-tests verify
env:
DOCKER_HOST: ${{steps.setup_docker.outputs.sock}}
- name: Upload test report for sdk
36 changes: 36 additions & 0 deletions dapr-spring/dapr-openfeign-client/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>io.dapr.spring</groupId>
<artifactId>dapr-spring-parent</artifactId>
<version>0.15.0-SNAPSHOT</version>
</parent>

<artifactId>dapr-openfeign-client</artifactId>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<spotbugs.exclude.filter.file>./spotbugs-exclude.xml</spotbugs.exclude.filter.file>
</properties>

<dependencies>
<dependency>
<groupId>io.github.openfeign</groupId>
<artifactId>feign-core</artifactId>
<version>13.2.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.github.openfeign</groupId>
<artifactId>feign-jaxrs</artifactId>
<version>13.5</version>
<scope>test</scope>
</dependency>
</dependencies>

</project>
11 changes: 11 additions & 0 deletions dapr-spring/dapr-openfeign-client/spotbugs-exclude.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<FindBugsFilter>
<Match>
<Package name="~io\.dapr.*"/>
<Bug pattern="EI_EXPOSE_REP"/>
</Match>

<Match>
<Package name="~io\.dapr.*"/>
<Bug pattern="EI_EXPOSE_REP2"/>
</Match>
</FindBugsFilter>
Loading