Skip to content

Commit

Permalink
01399 m yacli valide ip and port address book update (#1454)
Browse files Browse the repository at this point in the history
* add checks to validate port number in service endpoints when uploading an addressBook using yahcli

Signed-off-by: anighanta <[email protected]>

* add test addressbook for bad port in endpoint

Signed-off-by: anighanta <[email protected]>

* updated gitignore to not track script files from yahcli/assests

Signed-off-by: anighanta <[email protected]>

* screened launch script

Signed-off-by: anighanta <[email protected]>
  • Loading branch information
anighanta authored May 21, 2021
1 parent 0d5aecb commit 72544e3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ hs_err_pid*
!hedera-node/data/backup/*.sh
!hedera-node/configuration/compose/init.db/*.sh
!test-clients/yahcli/run/*.sh
!test-clients/yahcli/assets/*.sh
!test-clients/yahcli/run/test/local/*.sh
*.json
!hapi-utils/src/test/resources/bootstrap/*.json
Expand Down
7 changes: 7 additions & 0 deletions test-clients/yahcli/assets/screened-launch.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#! /bin/sh
java -jar /opt/bin/yahcli.jar $* 2>syserr.log
RC=$?
if [ ! $RC -eq 0 ]; then
cat syserr.log
fi
exit $RC

0 comments on commit 72544e3

Please sign in to comment.