Skip to content

Commit

Permalink
fix: Adds grpc server to client EPS. Still not reachable from outside…
Browse files Browse the repository at this point in the history
…, but necessary for communication between health departments.

PR #637
  • Loading branch information
lucky-lusa authored Feb 28, 2022
1 parent 7a2a597 commit 679c08e
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ channels: # defines all the channels that we want to open when starting the serv
type: jsonrpc_client
settings:
endpoint: "http://$IRIS_CLIENT_BFF_HOSTNAME:8092/data-submission-rpc"
- name: main gRPC server # accepts incoming gRPC connections to deliver and receive messages
type: grpc_server
settings:
bind_address: "0.0.0.0:8888"
tls:
ca_certificate_files: *CA_FILES
certificate_file: *CERT_FILE
key_file: *KEY_FILE
- name: main gRPC client # creates outgoing gRPC connections to deliver and receive messages
type: grpc_client
settings:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@ channels: # defines all the channels that we want to open when starting the serv
type: jsonrpc_client
settings:
endpoint: "http://$IRIS_CLIENT_BFF_HOSTNAME:8092/data-submission-rpc"
- name: main gRPC server # accepts incoming gRPC connections to deliver and receive messages
type: grpc_server
settings:
bind_address: "0.0.0.0:8888"
tls:
ca_certificate_files: *CA_FILES
certificate_file: *CERT_FILE
key_file: *KEY_FILE
- name: main gRPC client # creates outgoing gRPC connections to deliver and receive messages
type: grpc_client
settings:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ channels: # defines all the channels that we want to open when starting the serv
type: jsonrpc_client
settings:
endpoint: "$IRIS_CLIENT_BFF_ENDPOINT"
- name: main gRPC server # accepts incoming gRPC connections to deliver and receive messages
type: grpc_server
settings:
bind_address: "0.0.0.0:8888"
tls:
ca_certificate_files: *CA_FILES
certificate_file: *CERT_FILE
key_file: *KEY_FILE
- name: main gRPC client # creates outgoing gRPC connections to deliver and receive messages
type: grpc_client
settings:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@ channels: # defines all the channels that we want to open when starting the serv
type: jsonrpc_client
settings:
endpoint: "$IRIS_CLIENT_BFF_ENDPOINT"
- name: main gRPC server # accepts incoming gRPC connections to deliver and receive messages
type: grpc_server
settings:
bind_address: "0.0.0.0:8888"
tls:
ca_certificate_files: *CA_FILES
certificate_file: *CERT_FILE
key_file: *KEY_FILE
- name: main gRPC client # creates outgoing gRPC connections to deliver and receive messages
type: grpc_client
settings:
Expand Down

0 comments on commit 679c08e

Please sign in to comment.