[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)....
[Trunk | Monitor Service]:1. StakeholderController.java & TopicController.java & CategoryController.java & SubCategoryController.java && SectionController.java && IndicatorController.java: a. Comment logs for get requests. b. Use "ForbiddenException" instead of "AccessDeniedException"...
[Trunk | Monitor Service]:1. In all enums, add capitalized values too (maybe in the future, lowercased values will be removed - NOT NOW).2. Visibility.java: New enumeration Visibility added with values: PUBLIC, RESTRICTED, PRIVATE (will replace isPublic and isActive fields)....
[Trunk | Monitor Service]:1. trunk/src/test/java/eu/dnetlib/uoamonitorservice: New folders for tests.2. ExceptionsHandler.java: Replace "log.debug" with "log.error".3. Stakeholder.java: Field 'description' and getter/ setter methods added.4. Topic.java: Field 'icon' and getter/ setter methods added | In method "copyFromDefault()", set "isActive" and "isPublic" fields of new Topic same as the values from default Topic....
[Trunk | Monitor Service]:1. Stakeholder.java: Field 'name' added.2. Section.java: In method 'copyFromDefault()' initialize indicators (empty list).3. StakeholderDAO.java & MongoDBStakeholderDAO.java: Added method 'Stakeholder findByTopicsContaining(String topic);' (needed to find in which Stakeholder a Topic belongs - section needs stakeholderAlias)....
[Trunk | Monitor Service]:1. Section entity level added. Hierarchy changed from: Stakeholder > Topic > Category > SubCategory > Indicator to: Stakeholder > Topic > Category > SubCategory > Section > Indicator.2. Section.java & SectionDAO.java & MongoDBSectionDAO.java & SectionController.java: New entity 'Section', DAOs for Section, Controller for section added....
Indicator.java: [Bug fix]: One extra parenthesis is removed.
1. pom.xml: Add dependency for "uoa-help-texts-library" (will be renamed).2. UoaMonitorServiceApplication.java: Add @PropertySource path used in dl170.3. MongoConnection.java: @EnableMongoRepositories not only from: eu.dnetlib.uoamonitorservice.dao, but also: eu.dnetlib.uoahelptexts.dao....
1. Schema changes: Move each entity on its own collection - each entity keeps ids for its sub-entities.2. New controllers for each entity: TopicController.java, CategoryController.java, SubCategoryController.java, IndicatorController.java.3. New DAOs for each entity: TopicDAO.java, MongoDBTopicDAO.java, CategoryDAO.java, MongoDBCategoryDAO.java, SubCategoryDAO.java, MongoDBSubCategoryDAO.java....
1. Add IndicatorDAO.java & MongoDBIndicatorDAO.java.2. StakeholderDAO.java & MongoDBStakeholderDAO.java: Add methods 'findById()' and 'delete()'.3. Category.java & SubCategory.java & Topic.java: Add fields 'id' and 'isDefault' and getters/setters for 'isDefault'....
1. Stakeholder.java: Create constructor and copy constructor & change getters-setters for 'isDeafult', 'isPublic' and 'isActive' fields.2. Topic.java: Create constructor and copy constructor & change getters-setters for 'isPublic' and 'isActive' fields.3. Category.java: Create constructor and copy constructor & change getters-setters for 'isOverview, 'isPublic' and 'isActive' fields & remove field 'description'....
Initial commit for monitor-service.