forked from Hyperfoil/Horreum
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
285ec51
commit e59bd5c
Showing
288 changed files
with
22,916 additions
and
22,309 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
horreum-api/src/main/java/io/hyperfoil/tools/horreum/api/SortDirection.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package io.hyperfoil.tools.horreum.api; | ||
|
||
public enum SortDirection { | ||
Ascending, | ||
Descending | ||
Ascending, | ||
Descending | ||
} |
24 changes: 12 additions & 12 deletions
24
horreum-api/src/main/java/io/hyperfoil/tools/horreum/api/Version.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
package io.hyperfoil.tools.horreum.api; | ||
|
||
import io.quarkus.logging.Log; | ||
|
||
import java.io.IOException; | ||
import java.util.Properties; | ||
|
||
import io.quarkus.logging.Log; | ||
|
||
public class Version { | ||
public static final String getVersion(){ | ||
final Properties properties = new Properties(); | ||
try { | ||
properties.load(Version.class.getClassLoader().getResourceAsStream("build.properties")); | ||
return properties.getProperty("horreum.version"); | ||
} catch (IOException e) { | ||
Log.error("Failed to load version.properties",e); | ||
} | ||
return null; | ||
} | ||
public static final String getVersion() { | ||
final Properties properties = new Properties(); | ||
try { | ||
properties.load(Version.class.getClassLoader().getResourceAsStream("build.properties")); | ||
return properties.getProperty("horreum.version"); | ||
} catch (IOException e) { | ||
Log.error("Failed to load version.properties", e); | ||
} | ||
return null; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 19 additions & 20 deletions
39
horreum-api/src/main/java/io/hyperfoil/tools/horreum/api/alerting/ChangeDetection.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 5 additions & 3 deletions
8
horreum-api/src/main/java/io/hyperfoil/tools/horreum/api/alerting/DataPoint.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 13 additions & 10 deletions
23
horreum-api/src/main/java/io/hyperfoil/tools/horreum/api/alerting/DatasetLog.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 6 additions & 5 deletions
11
horreum-api/src/main/java/io/hyperfoil/tools/horreum/api/alerting/NotificationSettings.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
package io.hyperfoil.tools.horreum.api.alerting; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import jakarta.validation.constraints.NotNull; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
public class NotificationSettings { | ||
public Integer id; | ||
@NotNull | ||
@JsonProperty( required = true ) | ||
@JsonProperty(required = true) | ||
public String name; | ||
@JsonProperty( required = true ) | ||
@JsonProperty(required = true) | ||
public boolean isTeam; | ||
@NotNull | ||
@JsonProperty( required = true ) | ||
@JsonProperty(required = true) | ||
public String method; | ||
public String data; | ||
@NotNull | ||
@JsonProperty( required = true ) | ||
@JsonProperty(required = true) | ||
public boolean disabled; | ||
|
||
} |
5 changes: 3 additions & 2 deletions
5
horreum-api/src/main/java/io/hyperfoil/tools/horreum/api/alerting/RunExpectation.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.