Skip to content

Commit

Permalink
Hlm 4496 individual UUID search (#656)
Browse files Browse the repository at this point in the history
* HLM-4496: updated changedlog for individual, health-services-models, project, referralmanagement

* HLM-4496: Added size annotations on individual search userUuid field

* hlm-4496: Revert of application.properties changes
  • Loading branch information
kanishq-egov committed Feb 28, 2024
1 parent 9a489b0 commit f5e2aa6
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion health-services/individual/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
All notable changes to this module will be documented in this file.

## 1.1.3
- Search by uuid added for individual search
- Added ability to search by user UUID for individual search.

## 1.1.2
- upgraded version from beta
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import javax.validation.Valid;
import javax.validation.constraints.DecimalMax;
import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.Size;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
Expand Down Expand Up @@ -101,6 +102,7 @@ public class IndividualSearch {

@Exclude
@JsonProperty("userUuid")
@Size(min = 1)
private List<String> userUuid;

@Exclude
Expand Down
5 changes: 3 additions & 2 deletions health-services/libraries/health-services-models/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
All notable changes to this module will be documented in this file.

## 1.0.19 - 2024-02-26
- Project staff search staffId changed to a list
- Stock senderid and receiver id is added.
- Updated project staff search to accept a list of staffIds
- Added senderId and receiverId fields to stock information.


## 1.0.18 - 2024-02-13
- Adding user uuid in individual search
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import org.springframework.validation.annotation.Validated;

import javax.validation.Valid;
import javax.validation.constraints.Size;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
Expand Down Expand Up @@ -84,6 +85,7 @@ public class IndividualSearch {
private Long userId;

@JsonProperty("userUuid")
@Size(min = 1)
private List<String> userUuid;
}

3 changes: 2 additions & 1 deletion health-services/project/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
All notable changes to this module will be documented in this file.

## 1.1.2 - 2024-02-26
- Added Project start date and end date update validation
- Implemented validation for updating project start date and end date.
- Added numberOfSessions field in additional details for attendance registry.

## 1.1.1 - 2023-11-15
- Added tag in project beneficiary
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,9 @@ public List<ProjectStaff> create(ProjectStaffBulkRequest request, boolean isBulk
if (!validEntities.isEmpty()) {
log.info("processing {} valid entities", validEntities.size());
enrichmentService.create(validEntities, request);
// Pushing the data as ProjectStaffBulkRequest for Attendance Service Consumer
producer.push(projectConfiguration.getProjectStaffAttendanceTopic(), new ProjectStaffBulkRequest(request.getRequestInfo(),validEntities));
// Pushing the data as list for persister consumer
projectStaffRepository.save(validEntities, projectConfiguration.getCreateProjectStaffTopic());
log.info("successfully created project staff");
}
Expand Down
3 changes: 3 additions & 0 deletions health-services/referralmanagement/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Changelog
All notable changes to this module will be documented in this file.

## 1.0.1 - 2024-02-28
- Added functionality for referrals handled by health facilities, referred to as "hfreferral".

## 1.0.0 - 2023-11-15
- Added Downsync Feature

Expand Down

0 comments on commit f5e2aa6

Please sign in to comment.