Add health checks to Node.js services (#26)

* Move Node healthchecks to gRPC

* gitignore proto files

* Switch to standard health RPC

* Fix lint

* Update client.js

* Add protos back + update them

* node services: fix & run genproto.sh

this gets currencyservice to work but paymentservice is still crashing
in the docker container.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>

* Fix docker breaking

* update dockerfiles with released health probe

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
Ace Nassri 2018-09-19 12:35:22 -07:00 committed by Ahmet Alp Balkan
parent 360d983512
commit 6c37a96f3a
18 changed files with 313 additions and 109 deletions

View file

@ -14,9 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#!/bin/bash -e
# protos are loaded dynamically for node, simply copies over the proto.
mkdir -p proto && \
cp ../../pb/demo.proto proto
mkdir -p proto
cp -r ../../pb/* ./proto