LP1825891 Use Hatch 'hostname' for workstation reg.
authorBill Erickson <berickxx@gmail.com>
Mon, 22 Apr 2019 21:02:05 +0000 (14:02 -0700)
committerJason Boyer <JBoyer@eoli.info>
Fri, 13 Dec 2019 14:36:28 +0000 (09:36 -0500)
commit7c1a336274cfa24c27a750993a589b12c526d822
tree04552b55f43006462e24da5f2c80f81ba69a8a3a
parent7fe6caf37e7d0474ff8e721976a5d49b950dfdce
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>
Signed-off-by: Jason Boyer <JBoyer@eoli.info>
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