Hatch omnibus circa 3.3 (Java updates and more)

Bug #1830391 reported by Bill Erickson on 2019-05-24
50
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Evergreen
Undecided
Unassigned

Bug Description

Evergreen 3.3 era

Combo bug for:

https://bugs.launchpad.net/evergreen/+bug/1824391
https://bugs.launchpad.net/evergreen/+bug/1825896
https://bugs.launchpad.net/evergreen/+bug/1817932

Related dupe bugs:

https://bugs.launchpad.net/evergreen/+bug/1741299
https://bugs.launchpad.net/evergreen/+bug/1825891

-----

Collection of Hatch and Hatch-related Evergreen improvements and features. Opening this combo bug since the various branches are starting to step on each other's toes. Similarly, creating Windows installers for all of the features will get messy and error prone.

Changes included:

1. Migrating to local OpenJDK and OpenJFX builds for all OS's.
2. Updating from Java 8 to Java 11
3. Support for storing workstations in Hatch when available, including migrating existing workstation data from the browser into Hatch.
4. Populate the workstation name field with the hostname of the PC as reported by Hatch when available.
5. Support for a new stock printer called the Hatch File Writer which translates print content into text and writes the data to a file on the PC in the Hatch profile directory. The file is named "receipt.$printContext.txt".

Branch and Windows build en route.

Bill Erickson (berick) wrote :

Windows build posted:

https://evergreen-ils.org/downloads/Hatch-Installer-0.3.2.exe

Linux users will need to run the new fetch-deps.sh file before compiling and running Hatch.

Evergreen Branch:

https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/berick/lp1830391-hatch-omnibus-java-workstations-files

Hatch Branch:

https://git.evergreen-ils.org/?p=working/Hatch.git;a=shortlog;h=refs/heads/user/berick/lp1830391-hatch-omnibus-java-workstations-files

Testing:

* Confirm existing workstation registrations are migrated to Hatch (files eg.workstation.all / eg.workstation.default)

* Register a new workstation and confirm it defaults to the PC hostname.

* Configure printing to use the Hatch File Writer, test print, confirm it created the appropriate receipt.$context.txt file in the Hatch profile directory.

* Confirm the Hatch profile directory is now c:\\ProgramData\Hatch on Windows.

===

Note while testing I found the actor.workstation_setting table did not have a unique constraint on name + workstation. The tip commit of this working branch resolves that. It can be easily extracted for back-porting.

tags: added: pullrequest
Changed in evergreen:
assignee: Bill Erickson (berick) → nobody
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers