diff --git a/src/main/java/com/iemr/common/service/beneficiary/IdentityBeneficiaryServiceImpl.java b/src/main/java/com/iemr/common/service/beneficiary/IdentityBeneficiaryServiceImpl.java index a31c71ab..39cc4cfd 100644 --- a/src/main/java/com/iemr/common/service/beneficiary/IdentityBeneficiaryServiceImpl.java +++ b/src/main/java/com/iemr/common/service/beneficiary/IdentityBeneficiaryServiceImpl.java @@ -403,8 +403,9 @@ public String getIdentityResponse(String request, String auth, Boolean is1097) t header.put("Authorization", auth); } - String apiUrl = ConfigProperties.getPropertyByName("identity-api-url-benCreate") - .replace(IDENTITY_BASE_URL, (is1097 ? identity1097BaseURL : identityBaseURL)); +// String apiUrl = ConfigProperties.getPropertyByName("identity-api-url-benCreate") +// .replace(IDENTITY_BASE_URL, (is1097 ? identity1097BaseURL : identityBaseURL)); + String apiUrl ="https://amritdemo.piramalswasthya.org/identity-api/id/create"; logger.info("Calling URL: {}", apiUrl); logger.info("Request Payload: {}", request); diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index a26b8bbb..af7947d2 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -116,7 +116,6 @@ identity-api-url-getByPhoneNum =IDENTITY_BASE_URL/id/getByPhoneNum?phoneNum= identity-api-url-getByBenId =IDENTITY_BASE_URL/id/getByBenId?benId= identity-api-url-getByBenRegId =IDENTITY_BASE_URL/id/getByBenRegId?benRegId= identity-api-url-benCreate =IDENTITY_BASE_URL/id/create -#identity-api-url-benCreate =IDENTITY_BASE_URL/id/create identity-api-url-benEdit =IDENTITY_BASE_URL/id/edit identity-api-url-benEditEducationCommunity=IDENTITY_BASE_URL/id/editEducationOrCommunity