-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: small enhancements feat: solution for step 3 feat: solution for step 5 feat: solution for step 6 refactor(*): Update Postman collection feat(*): step 6
- Loading branch information
1 parent
086daf4
commit 22002ec
Showing
40 changed files
with
514 additions
and
956 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,35 @@ | ||
# Compiled class file | ||
*.class | ||
|
||
# Log file | ||
*.log | ||
|
||
# BlueJ files | ||
*.ctxt | ||
# Eclipse | ||
.project | ||
.classpath | ||
.settings/ | ||
bin/ | ||
|
||
# IntelliJ | ||
.idea | ||
*.ipr | ||
*.iml | ||
*.iws | ||
|
||
# Mobile Tools for Java (J2ME) | ||
.mtj.tmp/ | ||
# NetBeans | ||
nb-configuration.xml | ||
|
||
# Package Files # | ||
*.jar | ||
*.war | ||
*.nar | ||
*.ear | ||
*.zip | ||
*.tar.gz | ||
*.rar | ||
# Visual Studio Code | ||
.vscode | ||
|
||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml | ||
hs_err_pid* | ||
# OSX | ||
.DS_Store | ||
|
||
.idea/ | ||
# Vim | ||
*.swp | ||
*.swo | ||
|
||
*.iml | ||
# patch | ||
*.orig | ||
*.rej | ||
|
||
bookmark-service/target | ||
# Maven | ||
target/ | ||
pom.xml.tag | ||
pom.xml.releaseBackup | ||
pom.xml.versionsBackup | ||
release.properties |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
mvn io.quarkus:quarkus-maven-plugin:0.22.0:create \ | ||
mvn io.quarkus:quarkus-maven-plugin:0.26.1:create \ | ||
-DprojectGroupId=fr.loicmathieu.bookmarkit \ | ||
-DprojectArtifactId=bookmark-service \ | ||
-DclassName="fr.loicmathieu.bookmarkit.BookmarkResource" \ | ||
-Dpath="/bookmarks" \ | ||
-Dextensions="resteasy-jsonb,openapi,metrics,health,rest-client,hibernate-orm-panache,jdbc-postgresql,fault-tolerance,amqp" | ||
|
||
mvn io.quarkus:quarkus-maven-plugin:0.22.0:create \ | ||
mvn io.quarkus:quarkus-maven-plugin:0.26.1:create \ | ||
-DprojectGroupId=fr.loicmathieu.bookmarkit \ | ||
-DprojectArtifactId=bookmark-message-consumer \ | ||
-DclassName="fr.loicmathieu.bookmarkit.BookmarkConsumer" \ | ||
-Dpath="/bookmarks" \ | ||
-Dextensions="metrics,health,amqp" | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/ObjectStore/ | ||
|
||
# Eclipse | ||
.project | ||
.classpath | ||
.settings/ | ||
bin/ | ||
|
||
# IntelliJ | ||
.idea | ||
*.ipr | ||
*.iml | ||
*.iws | ||
|
||
# NetBeans | ||
nb-configuration.xml | ||
|
||
# Visual Studio Code | ||
.vscode | ||
|
||
# OSX | ||
.DS_Store | ||
|
||
# Vim | ||
*.swp | ||
*.swo | ||
|
||
# patch | ||
*.orig | ||
*.rej | ||
|
||
# Maven | ||
target/ | ||
pom.xml.tag | ||
pom.xml.releaseBackup | ||
pom.xml.versionsBackup | ||
release.properties |
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
7 changes: 5 additions & 2 deletions
7
bookmark-message-consumer/src/main/java/fr/loicmathieu/bookmarkit/BookmarkConsumer.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,14 +1,17 @@ | ||
package fr.loicmathieu.bookmarkit; | ||
|
||
import org.eclipse.microprofile.reactive.messaging.Incoming; | ||
import org.jboss.logging.Logger; | ||
|
||
import javax.enterprise.context.ApplicationScoped; | ||
|
||
@ApplicationScoped | ||
public class BookmarkConsumer { | ||
|
||
private static final Logger LOG = Logger.getLogger(BookmarkConsumer.class); | ||
|
||
@Incoming("bookmarks") | ||
public void process(String bookmark) { | ||
System.out.println("Indexing a bookmark: " +bookmark ); | ||
LOG.infof("Indexing a bookmark: %s", bookmark); | ||
} | ||
} | ||
} |
21 changes: 0 additions & 21 deletions
21
bookmark-message-consumer/src/test/java/fr/loicmathieu/bookmarkit/BookmarkConsumerTest.java
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
...rk-message-consumer/src/test/java/fr/loicmathieu/bookmarkit/NativeBookmarkConsumerIT.java
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
bookmark-message-consumer/target/classes/application.properties
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
...nsumer/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
...consumer/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
This file was deleted.
Oops, something went wrong.
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,37 @@ | ||
/ObjectStore/ | ||
|
||
# Eclipse | ||
.project | ||
.classpath | ||
.settings/ | ||
bin/ | ||
|
||
# IntelliJ | ||
.idea | ||
*.ipr | ||
*.iml | ||
*.iws | ||
|
||
# NetBeans | ||
nb-configuration.xml | ||
|
||
# Visual Studio Code | ||
.vscode | ||
|
||
# OSX | ||
.DS_Store | ||
|
||
# Vim | ||
*.swp | ||
*.swo | ||
|
||
# patch | ||
*.orig | ||
*.rej | ||
|
||
# Maven | ||
target/ | ||
pom.xml.tag | ||
pom.xml.releaseBackup | ||
pom.xml.versionsBackup | ||
release.properties |
Oops, something went wrong.