[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. pom.xml: Comment dependency of "uoa-help-texts-library" and add dependency of "uoa-admin-tools-library" | Add dependency of "spring-boot-starter-test".2. MongoConnection.java: Replace basePackage "eu.dnetlib.uoahelptexts.dao" with "eu.dnetlib.uoaadmintoolslibrary.dao"....
[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]: SectionController: [Bug fix] In method "saveSection()" (/{stakeholderId}/{topicId}/{categoryId}/{subcategoryId}/save/{index}) a. Pathvariable "index" is required - if index == -1, ignore it and add section in the end of the list....
[Trunk | Monitor Service]:1. SectionController.java: In 'saveSection()' method add in path index where section will be stored in subcategory (path: /{stakeholderId}/{topicId}/{categoryId}/{subcategoryId}/save/{index}).2. IndicatorController.java: In 'parameterMapping()' method add replacement in number url - add 'urlEncode()' helper method.
[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....
StakeholderController.java & TopicController.java & CategoryController.java & SubCategoryController.java: toggle methods for status and access 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. IndicatorController.java: Reorder method changed (parameter is List<String> and return value is List<Indicator>).2. CategoryController.java: Default subcategory has name "Overview", alias "overview" and isDefault is true.
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.
Adding the trunk and branches folders for the project
Creating a folder for the service of monitor dashboard