Skip to content

Commit 320605a

Browse files
Merge pull request #259 from toarunmishra/fix_build
Fix build
2 parents 4e52aa8 + af2abc7 commit 320605a

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

src/main/java/com/iemr/common/service/beneficiary/IdentityBeneficiaryServiceImpl.java

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
import com.google.gson.*;
3030
import org.slf4j.Logger;
3131
import org.slf4j.LoggerFactory;
32+
import org.springframework.beans.factory.annotation.Value;
3233
import org.springframework.stereotype.Service;
3334

3435
import com.iemr.common.dto.identity.BeneficiariesDTO;
@@ -50,8 +51,12 @@ public class IdentityBeneficiaryServiceImpl implements IdentityBeneficiaryServic
5051
Logger logger = LoggerFactory.getLogger(this.getClass().getName());
5152
private static HttpUtils httpUtils = new HttpUtils();
5253
private InputMapper inputMapper = new InputMapper();
53-
private String identityBaseURL = ConfigProperties.getPropertyByName("identity-api-url");
54-
private String identity1097BaseURL = ConfigProperties.getPropertyByName("identity-1097-api-url");
54+
@Value("${identity-api-ur}")
55+
private String identityBaseURL;
56+
57+
@Value("${identity-1097-api-url}")
58+
private String identity1097BaseURL;
59+
5560
private static final String IDENTITY_BASE_URL = "IDENTITY_BASE_URL";
5661

5762
private static final String BEN_GEN = ConfigProperties.getPropertyByName("genben-api");

0 commit comments

Comments
 (0)