-
Notifications
You must be signed in to change notification settings - Fork 13
Added notifcation API and eventstore API example #30
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
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
4ed1829
Added notifcation API and eventstore API example
anfelbar 4c960d4
Build file changes for using public protos from engflowapis
anfelbar a1b2524
Divided creation of channel and pull into two different try statements
anfelbar b912580
Added parser for options
anfelbar e0a8eb0
Client example is now able againts clusters with certificate auth and…
anfelbar 1c4bdfe
Added more details to documentation
anfelbar 8878856
Removed local_repository googleapis
anfelbar 480aab0
Changed git_repository for http_archive for engflowapis dependency
anfelbar 32f8bd8
Code formated and exception added to channel creation
anfelbar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,59 @@ | ||
| package(default_visibility = ["//visibility:public"]) | ||
anfelbar marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| load("@io_grpc_grpc_java//:java_grpc_library.bzl", "java_grpc_library") | ||
|
|
||
| java_proto_library( | ||
| name = "engflowapis_java_proto", | ||
| visibility = ["//visibility:public"], | ||
| deps = [ | ||
| "@com_engflow_engflowapis//engflow/eventstore/v1:build_event_proto", | ||
| "@com_engflow_engflowapis//engflow/eventstore/v1:eventstore_proto", | ||
| "@com_engflow_engflowapis//engflow/eventstore/v1:notifications_proto", | ||
| "@com_engflow_engflowapis//engflow/notification/v1:notification_proto", | ||
| "@com_engflow_engflowapis//engflow/notification/v1:notification_queue_proto", | ||
anfelbar marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| ], | ||
| ) | ||
|
|
||
| java_grpc_library( | ||
| name = "notification_queue_java_grpc", | ||
| srcs = [ | ||
| "@com_engflow_engflowapis//engflow/notification/v1:notification_queue_proto", | ||
| ], | ||
| deps = [ | ||
| ":engflowapis_java_proto", | ||
| ], | ||
| ) | ||
|
|
||
| java_grpc_library( | ||
| name = "eventstore_java_grpc", | ||
| srcs = [ | ||
| "@com_engflow_engflowapis//engflow/eventstore/v1:eventstore_proto", | ||
| ], | ||
| deps = [ | ||
| ":engflowapis_java_proto", | ||
| ], | ||
| ) | ||
|
|
||
| java_binary( | ||
| name = "client", | ||
| srcs = [ | ||
| "Client.java", | ||
| "NotificationOptions.java", | ||
| ], | ||
| main_class = "com.engflow.notificationqueue.Client", | ||
| deps = [ | ||
| ":engflowapis_java_proto", | ||
| ":eventstore_java_grpc", | ||
| ":notification_queue_java_grpc", | ||
| "@com_google_protobuf//:any_proto", | ||
| "@com_google_protobuf//java/core", | ||
| "@io_grpc_grpc_java//api", | ||
| "@io_grpc_grpc_java//context", | ||
| "@io_grpc_grpc_java//netty", | ||
| "@io_grpc_grpc_java//stub", | ||
| "@maven//:com_google_code_findbugs_jsr305", | ||
| "@maven//:com_google_guava_guava", | ||
| "@maven//:commons_cli_commons_cli", | ||
| "@maven//:io_netty_netty_handler", | ||
| ], | ||
| ) | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.