Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
None
Description
Pre-release
[V] Download the RPM (http://download.devel.redhat.com/brewroot/work/tasks/7095/8267095/jboss-download-manager-2.1.0-1.el6.noarch.rpm)
Release
- [V] Turn on the maintenance page for http(s)://www.jboss.org/download-manager/* and set the bypassing IP addresses
- [V] Stop EAP
- [V] Dump the database in case we need to roll it back
- [V] Install the RPM.
- [V] Apply the database changes (see bellow)
- [V] Start EAP.
- [V,H] Watch logs on start.
- [H] Check Web UI
- [H] Check a random download with anonymous, zero dollar and no terms and conditions subscription model
- [V] Turn off the maintenance page
Rollback
- [V] If running, shut down EAP
- [V] Restore database
- [V] Revert war
- [V] Start EAP
- [V,H] Check the functionality.
Database Changes
Database modification
ALTER TABLE product ADD COLUMN productcode character varying(25); ALTER TABLE terms_and_conditions ADD COLUMN anonymousaccessallowed boolean; ALTER TABLE product_version ADD COLUMN trackingdisabled boolean default false; ALTER TABLE product_version ALTER COLUMN trackingdisabled SET NOT NULL; ALTER TABLE product_version ALTER COLUMN trackingdisabled SET DEFAULT false; update product_version set trackingdisabled = true where trackingstring = ''; ALTER TABLE product_version DROP COLUMN trackingstring;