forked from oncokb/oncokb-public
-
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.
Now can go back 3 year in usage stats
- Loading branch information
Showing
8 changed files
with
536 additions
and
395 deletions.
There are no files selected for viewing
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
674 changes: 415 additions & 259 deletions
674
src/main/java/org/mskcc/cbio/oncokb/web/rest/UsageAnalysisController.java
Large diffs are not rendered by default.
Oops, something went wrong.
50 changes: 22 additions & 28 deletions
50
src/main/java/org/mskcc/cbio/oncokb/web/rest/vm/usageAnalysis/UsageSummary.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,42 +1,36 @@ | ||
package org.mskcc.cbio.oncokb.web.rest.vm.usageAnalysis; | ||
|
||
import org.json.simple.JSONObject; | ||
|
||
import java.util.Map; | ||
import java.util.HashMap; | ||
|
||
/** | ||
* Created by Yifu Yao on 2020-10-28 | ||
*/ | ||
import java.util.Map; | ||
|
||
public class UsageSummary { | ||
private Map<String, JSONObject> day = new HashMap<>(); | ||
private Map<String, JSONObject> month = new HashMap<>(); | ||
private Map<String, Long> year = new HashMap<>(); | ||
private Map<String, Map<String, Long>> day = new HashMap<>(); | ||
|
||
public Map<String, JSONObject> getDay() { | ||
return day; | ||
} | ||
private Map<String, Map<String, Long>> month = new HashMap<>(); | ||
|
||
public void setDay(Map<String, JSONObject> day) { | ||
this.day = day; | ||
} | ||
private Map<String, Map<String, Long>> year = new HashMap<>(); | ||
|
||
public Map<String, JSONObject> getMonth() { | ||
return month; | ||
} | ||
public Map<String, Map<String, Long>> getDay() { | ||
return day; | ||
} | ||
|
||
public void setMonth(Map<String, JSONObject> month) { | ||
this.month = month; | ||
} | ||
public void setDay(Map<String, Map<String, Long>> day) { | ||
this.day = day; | ||
} | ||
|
||
public Map<String, Long> getYear() { | ||
return year; | ||
} | ||
public Map<String, Map<String, Long>> getMonth() { | ||
return month; | ||
} | ||
|
||
public void setYear(Map<String, Long> year) { | ||
this.year = year; | ||
} | ||
public void setMonth(Map<String, Map<String, Long>> month) { | ||
this.month = month; | ||
} | ||
|
||
public Map<String, Map<String, Long>> getYear() { | ||
return year; | ||
} | ||
|
||
public void setYear(Map<String, Map<String, Long>> year) { | ||
this.year = year; | ||
} | ||
} |
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
Oops, something went wrong.