Revision 61440
Added by Konstantina Galouni over 2 years ago
Indicator.java | ||
---|---|---|
44 | 44 |
setWidth(defaultIndicator.getWidth()); |
45 | 45 |
setHeight(defaultIndicator.getHeight()); |
46 | 46 |
setTags(defaultIndicator.getTags()); |
47 |
setVisibility(defaultIndicator.getVisibility());
|
|
47 |
setVisibility(Visibility.RESTRICTED);
|
|
48 | 48 |
setCreationDate(defaultIndicator.getCreationDate()); |
49 | 49 |
setUpdateDate(defaultIndicator.getUpdateDate()); |
50 | 50 |
setDefaultId(defaultIndicator.getId()); |
Also available in: Unified diff
[Trunk | Monitor Service]:
1. MonitorServiceCheckDeployController.java: In method "checkEverything()" (/health_check/advanced), added "Date of build" field with current date.
2. Indicator.java: In method "copyFromDefault()" set visibility of new indicator to "RESTRICTED" (instead of copying the default indicator's visibility).
3. IndicatorController.java: [NEW] Bulk add for indicators (imported from file) - get charts and numbers in a list and create chart and number sections to put them.
a. Added API call method "saveBulkIndicators()" (POST /{stakeholderId}/{topicId}/{categoryId}/{subcategoryId}/save-bulk).
b. Added helper methods "createSectionsAndSaveBulk()", "createSection()", "saveIndicatorAndAddInSection()".