Bug 1141885 - no snapshot created when user does not have access to
directory

takeSnaphost operation now always creates snapshot and then checks for write
permission on move location, which if not granted, fails the entire
operation) - operation also returns string result saying major steps
(snapshot created, snapshots moved/deleted). Also operation now fails in
case we fail to delete or move any snapshot directory.
I broke something in VersionedRuntimeDiscovery. Reverting the change.
Bug 1099447 - [as7] It's not possible to add a port to SocketBindingGroup resource

'fixed-port' property is not required by EAP, mark it as such in the plugin descriptor
[BZ 1150624] Avoid DTD retrieval even if the DOM has it. Also avoid parsing logic to determine if the dtd is on the document; let the transformer handle that at output time.
[1151441] - JON server was unexpectedly stopped after ~ 1 day
Improve log message relevant to the reported failure.  I think this issue
is due to a change of IP, or some other change to the result of
InetAddress.getLocalHost().getCanonicalHostName(), which is the default
value for the server if it is not explicitly set in rhq.server.high-availability.name.
[BZ 1150624] Add additional code to prevent attempts to load DTD.
[BZ 1146266] - Metric graph is empty if high, low, and avg values are all the same for every time bucket within the selected time range - d3.scale.linear().domain() funcion excepts an array with >2 distinct elements. The global min and max were used here, but if all the values were the same it didn't work so I've changed it to [0.9 * min, 1.1 * max] if min == max.
[BZ 1070521] Fixed retrieval of OOB datapoints.
Make the test link for forced OOB calculation work again.
Deprecating the measurement aggregate JPA entity classes.
They're no longer used anywhere.
Revert "[BZ 1070521] Fixed retrieval of OOB datapoints."

The storage queries still don't work as expected.
This is what you get for late night commits.

This reverts the premature commit 6bf49506b834a6bcac699712610b76fdbd4d9e96.
BZ 991510 - Add method javadoc
[BZ 1070521] Fixed retrieval of OOB datapoints.
[BZ 1149687] - Storage Node's cluster status is DOWN when cluster maintenance is scheduled - considering the MAINTENANCE operation mode as NORMAL cluster status.
[BZ 1114600] - Cannot load Metric red error when client time is different from server - trying to resolve the time into # of milliseconds on the server side where the referential time zone is used. Introducing a new class called Moment for storing 5 integers: year, month, day, hours, minutes.
[1151441] JON server was unexpectedly stopped
Only resolve the identity of the running server (i.e. the SERVER_NAME) one
time and cache it as a static for ServerManagerBean.  This is more efficient
as the server name can not change at runtime, and actually should not change
for a defined server, ever, in general.  Moreover, for server where
rhq.server.high-availability.name is not set, it prevents repeated calls to
InetAddress.getLocalhost(), which can fail if there is a temporary DNS
issue, and the localhost can not be resolved.
[BZ 1114600] - Cannot load Metric red error when client time is different from server - Moving Moment.java to core/domain module. There was CNF exception during the install, but also CLI can benefit from this timezone independent class as well. (because depending on number millis from 1970 is confusing - it may return different number on different timezones)
[BZ 1114600] - Cannot load Metric red error when client time is different from server - Renaming Moment.java -> Instant.java to be 'language compliant' with Joda time and Java 8 time API.
itests-2 were broken beacuse Server and StorageNode entities now have a version column
[BZ 1114600] - Bulk revert of 3448429138161, cb5078b367f9e and 546cf53e3c588 - I reproduced the issue by changing the time on a client (browser) machine. But we don't support such a behavior. When changing only the timezone, I didn't reproduce the exception.

* Revert "[BZ 1114600] - Cannot load Metric red error when client time is different from server - Renaming Moment.java -> Instant.java to be 'language compliant' with Joda time and Java 8 time API."

This reverts commit 3448429138161a1fd329b3f937488ee65fd9a199.

* Revert "[BZ 1114600] - Cannot load Metric red error when client time is different from server - Moving Moment.java to core/domain module. There was CNF exception during the install, but also CLI can benefit from this timezone independent class as well. (because depending on number millis from 1970 is confusing - it may return different number on different timezones)"

This reverts commit cb5078b367f9ed8d268669fbdc122422e08dfa19.

* Revert "[BZ 1114600] - Cannot load Metric red error when client time is different from server - trying to resolve the time into # of milliseconds on the server side where the referential time zone is used. Introducing a new class called Moment for storing 5 integers: year, month, day, hours, minutes."

This reverts commit 546cf53e3c58825ca089aa90e49f1897de937887.