LP1825891 Use Hatch 'hostname' for workstation reg.
authorBill Erickson <berickxx@gmail.com>
Mon, 22 Apr 2019 21:02:05 +0000 (14:02 -0700)
committerBill Erickson <berickxx@gmail.com>
Mon, 5 Aug 2019 14:39:14 +0000 (10:39 -0400)
commitc59ecdabffe87c373c69a51611ef7c3fb33f8133
treec13d4eee8285dfbbb639070a45d7925d9909a3a3
parent09f24e72d72231ca5f2fa268507183553e9ae624
LP1825891 Use Hatch 'hostname' for workstation reg.

Populate the workstation name with the hostname of the PC when
registring a new workstation for Hatch-enabled workstations.

Note the code gracefully returns null if Hatch returns a 404 (not found)
or Hatch is not active.

Updates the AngJS and Angular workstation admin pages to load the
hostname value when possible.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/core/hatch.service.ts
Open-ILS/src/eg2/src/app/staff/admin/workstation/workstations/workstations.component.ts
Open-ILS/web/js/ui/default/staff/admin/workstation/app.js
Open-ILS/web/js/ui/default/staff/services/hatch.js