Skip to content

Commit

Permalink
* fixes for mysql timestamp behavior quirks
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffrey Schmidt committed May 28, 2015
1 parent dcb2ebe commit 7d8e175
Show file tree
Hide file tree
Showing 10 changed files with 2,136 additions and 2,133 deletions.
Binary file modified docs/manual.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.pearson.StatsAgg</groupId>
<artifactId>StatsAgg</artifactId>
<version>1.3</version>
<version>1.3.1</version>
<packaging>war</packaging>
<name>StatsAgg</name>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ public class AlertSuspensionsSql {
"IS_RECUR_THURSDAY BOOLEAN NOT NULL, " +
"IS_RECUR_FRIDAY BOOLEAN NOT NULL, " +
"IS_RECUR_SATURDAY BOOLEAN NOT NULL, " +
"START_DATE TIMESTAMP NOT NULL, " +
"START_TIME TIMESTAMP NOT NULL, " +
"START_DATE TIMESTAMP NULL DEFAULT NULL, " +
"START_TIME TIMESTAMP NULL DEFAULT NULL, " +
"DURATION INTEGER NOT NULL, " +
"DELETE_AT_TIMESTAMP TIMESTAMP " +
"DELETE_AT_TIMESTAMP TIMESTAMP NULL DEFAULT NULL" +
") " +
"ROW_FORMAT=DYNAMIC";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ public class AlertsSql {
"CAUTION_STOP_TRACKING_AFTER BIGINT, " +
"CAUTION_MINIMUM_SAMPLE_COUNT INTEGER, " +
"IS_CAUTION_ALERT_ACTIVE BOOLEAN NOT NULL, " +
"CAUTION_ALERT_LAST_SENT_TIMESTAMP TIMESTAMP, " +
"CAUTION_ALERT_LAST_SENT_TIMESTAMP TIMESTAMP NULL DEFAULT NULL, " +
"IS_CAUTION_ACKNOWLEDGED BOOLEAN, " +
"CAUTION_ACTIVE_ALERTS_SET MEDIUMTEXT, " +
"CAUTION_FIRST_ACTIVE_AT TIMESTAMP, " +
"CAUTION_FIRST_ACTIVE_AT TIMESTAMP NULL DEFAULT NULL, " +
"DANGER_NOTIFICATION_GROUP_ID INTEGER, " +
"DANGER_OPERATOR INTEGER, " +
"DANGER_COMBINATION INTEGER, " +
Expand All @@ -91,10 +91,10 @@ public class AlertsSql {
"DANGER_STOP_TRACKING_AFTER BIGINT, " +
"DANGER_MINIMUM_SAMPLE_COUNT INTEGER, " +
"IS_DANGER_ALERT_ACTIVE BOOLEAN NOT NULL, " +
"DANGER_ALERT_LAST_SENT_TIMESTAMP TIMESTAMP, " +
"DANGER_ALERT_LAST_SENT_TIMESTAMP TIMESTAMP NULL DEFAULT NULL, " +
"IS_DANGER_ACKNOWLEDGED BOOLEAN, " +
"DANGER_ACTIVE_ALERTS_SET MEDIUMTEXT, " +
"DANGER_FIRST_ACTIVE_AT TIMESTAMP " +
"DANGER_FIRST_ACTIVE_AT TIMESTAMP NULL DEFAULT NULL" +
") " +
"ROW_FORMAT=DYNAMIC";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class GaugesSql {
"BUCKET_SHA1 VARCHAR(50) NOT NULL, " +
"BUCKET MEDIUMTEXT NOT NULL, " +
"METRIC_VALUE DECIMAL(65,7) NOT NULL, " +
"LAST_MODIFIED TIMESTAMP NOT NULL " +
"LAST_MODIFIED TIMESTAMP NULL DEFAULT NULL " +
") " +
"ROW_FORMAT=DYNAMIC";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class MetricLastSeenSql {
"CREATE TABLE METRIC_LAST_SEEN (" +
"METRIC_KEY_SHA1 VARCHAR(50) NOT NULL, " +
"METRIC_KEY MEDIUMTEXT NOT NULL, " +
"LAST_MODIFIED TIMESTAMP NOT NULL " +
"LAST_MODIFIED TIMESTAMP NULL DEFAULT NULL" +
") " +
"ROW_FORMAT=DYNAMIC";

Expand Down
4,247 changes: 2,125 additions & 2,122 deletions src/main/webapp/docs/Manual.htm

Large diffs are not rendered by default.

Binary file modified src/main/webapp/docs/Manual_files/image001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/main/webapp/docs/Manual_files/image002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/main/webapp/docs/Manual_files/props011.xml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<ds:datastoreItem ds:itemID="{250E1DB7-BBC9-40B5-8C98-FD883BFA6083}" xmlns:ds="http://schemas.openxmlformats.org/officeDocument/2006/customXml"><ds:schemaRefs><ds:schemaRef ds:uri="http://schemas.openxmlformats.org/officeDocument/2006/bibliography"/></ds:schemaRefs></ds:datastoreItem>
<ds:datastoreItem ds:itemID="{8F071B55-FC1E-4F6C-BB3C-45A713D7D84A}" xmlns:ds="http://schemas.openxmlformats.org/officeDocument/2006/customXml"><ds:schemaRefs><ds:schemaRef ds:uri="http://schemas.openxmlformats.org/officeDocument/2006/bibliography"/></ds:schemaRefs></ds:datastoreItem>

0 comments on commit 7d8e175

Please sign in to comment.