Commit 530b4abd authored by Martin Dindoffer's avatar Martin Dindoffer
Browse files

Fix #800 Increase max Artifact size from Integer to Long

parent 5335c9e2
......@@ -30,7 +30,7 @@ public class Artifact {
}
private FileType fileType;
private Integer size;
private Long size;
private String filename;
private String fileFormat;
......@@ -42,11 +42,11 @@ public class Artifact {
this.fileType = fileType;
}
public Integer getSize() {
public Long getSize() {
return size;
}
public void setSize(Integer size) {
public void setSize(Long size) {
this.size = size;
}
......
......@@ -15,6 +15,7 @@
},
"artifacts": [
{"file_type": "archive", "size": 1000, "filename": "artifacts.zip", "file_format": "zip"},
{"file_type": "archive", "size": 9223372036854775807 , "filename": "long.max_value.sized.zip", "file_format": "zip"},
{"file_type": "metadata", "size": 186, "filename": "metadata.gz", "file_format": "gzip"},
{"file_type": "trace", "size": 1500, "filename": "job.log", "file_format": "raw"},
{"file_type": "junit", "size": 750, "filename": "junit.xml.gz", "file_format": "gzip"}
......@@ -61,4 +62,4 @@
"created_at": "2013-09-30T13:46:02Z"
}
}
\ No newline at end of file
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment