-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add coverage to eventbus '@ConsumeEvent' annotation
- Loading branch information
pablo gonzalez granados
committed
Jan 19, 2023
1 parent
c0cecb4
commit 7da0d4b
Showing
4 changed files
with
60 additions
and
1 deletion.
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
8 changes: 8 additions & 0 deletions
8
security/vertx-jwt/src/main/java/io/quarkus/ts/security/vertx/CommonApplication.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,8 @@ | ||
package io.quarkus.ts.security.vertx; | ||
|
||
public abstract class CommonApplication<T> { | ||
|
||
public static final String ADDRESS = "greeting"; | ||
|
||
public abstract void consumeEventBusEvent(T event); | ||
} |
14 changes: 14 additions & 0 deletions
14
security/vertx-jwt/src/main/java/io/quarkus/ts/security/vertx/model/HelloEvent.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,14 @@ | ||
package io.quarkus.ts.security.vertx.model; | ||
|
||
public class HelloEvent { | ||
|
||
final String message; | ||
|
||
public HelloEvent(String message) { | ||
this.message = message; | ||
} | ||
|
||
public String getMessage() { | ||
return message; | ||
} | ||
} |
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