Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/environment/common_ci.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ registrarQuickSearchByPhoneNoUrl =@env.COMMON_API@beneficiary/searchUserByPhone
getBenImageFromIdentity =@env.IDENTITY_API@id/benImageByBenRegID

##beneficiary edit
beneficiaryEditUrl =@env.COMMON_API@beneficiary/updateBenefciaryDetails
beneficiaryEditUrl =@env.COMMON_API@beneficiary/update

## Advance Search
registrarAdvanceSearchUrl =@env.COMMON_API@beneficiary/searchBeneficiary
Expand Down
2 changes: 1 addition & 1 deletion src/main/environment/common_docker.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ registrarQuickSearchByPhoneNoUrl=${COMMON_API}/beneficiary/searchUserByPhone
getBenImageFromIdentity=${IDENTITY_API}/id/benImageByBenRegID

## beneficiary edit
beneficiaryEditUrl=${COMMON_API}/beneficiary/updateBenefciaryDetails
beneficiaryEditUrl=${COMMON_API}beneficiary/update

## Advance Search
registrarAdvanceSearchUrl=${COMMON_API}/beneficiary/searchBeneficiary
Expand Down
2 changes: 1 addition & 1 deletion src/main/environment/common_example.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ registrarQuickSearchByPhoneNoUrl =http://localhost:8083/beneficiary/searchUserBy
getBenImageFromIdentity =http://localhost:8094/id/benImageByBenRegID

##beneficiary edit
beneficiaryEditUrl =http://localhost:8083/beneficiary/updateBenefciaryDetails
beneficiaryEditUrl =http://localhost:8083/beneficiary/update

## Advance Search
registrarAdvanceSearchUrl =http://localhost:8083/beneficiary/searchBeneficiary
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@
HttpEntity<Object> request = RestTemplateUtil.createRequestEntity(comingRequest, Authorization);
ResponseEntity<String> response = restTemplate.exchange(beneficiaryEditUrl, HttpMethod.POST, request,
String.class);

logger.info("Edit url="+beneficiaryEditUrl);

Check warning on line 705 in src/main/java/com/iemr/tm/service/registrar/RegistrarServiceImpl.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Use the built-in formatting to construct this argument.

See more on https://sonarcloud.io/project/issues?id=PSMRI_TM-API&issues=AZ1ro0mQjEVdSavzEQZ3&open=AZ1ro0mQjEVdSavzEQZ3&pullRequest=147

Check warning on line 705 in src/main/java/com/iemr/tm/service/registrar/RegistrarServiceImpl.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Format specifiers should be used instead of string concatenation.

See more on https://sonarcloud.io/project/issues?id=PSMRI_TM-API&issues=AZ1ro0mQjEVdSavzEQZ4&open=AZ1ro0mQjEVdSavzEQZ4&pullRequest=147
if (response.getStatusCodeValue() == 200) {
BeneficiaryFlowStatus obj = InputMapper.gson().fromJson(comingRequest, BeneficiaryFlowStatus.class);
if (obj.getPassToNurse() != null && obj.getPassToNurse() == true)
Expand Down
Loading