-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keep test IT for HibernateOrmStateStore.
Uses DTO for sending Kafka records Separate PUs for fruit and people entities
- Loading branch information
1 parent
6cb8ffa
commit cb8496f
Showing
12 changed files
with
66 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../main/java/io/quarkus/it/kafka/Fruit.java → ...java/io/quarkus/it/kafka/fruit/Fruit.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package io.quarkus.it.kafka; | ||
package io.quarkus.it.kafka.fruit; | ||
|
||
import javax.persistence.Entity; | ||
|
||
|
20 changes: 20 additions & 0 deletions
20
...ts/reactive-messaging-hibernate-orm/src/main/java/io/quarkus/it/kafka/fruit/FruitDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package io.quarkus.it.kafka.fruit; | ||
|
||
public class FruitDto { | ||
String name; | ||
|
||
public FruitDto(Fruit fruit) { | ||
this.name = fruit.name; | ||
} | ||
|
||
public FruitDto() { | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...va/io/quarkus/it/kafka/FruitProducer.java → ...quarkus/it/kafka/fruit/FruitProducer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
...ests/reactive-messaging-hibernate-orm/src/main/java/io/quarkus/it/kafka/package-info.java
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...a/io/quarkus/it/kafka/PeopleProducer.java → ...arkus/it/kafka/people/PeopleProducer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...java/io/quarkus/it/kafka/PeopleState.java → .../quarkus/it/kafka/people/PeopleState.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package io.quarkus.it.kafka; | ||
package io.quarkus.it.kafka.people; | ||
|
||
import javax.persistence.Entity; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...main/java/io/quarkus/it/kafka/Person.java → ...va/io/quarkus/it/kafka/people/Person.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters