File tree Expand file tree Collapse file tree
src/main/java/com/iemr/common/service/beneficiary Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929import com .google .gson .*;
3030import org .slf4j .Logger ;
3131import org .slf4j .LoggerFactory ;
32+ import org .springframework .beans .factory .annotation .Value ;
3233import org .springframework .stereotype .Service ;
3334
3435import 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" );
You can’t perform that action at this time.
0 commit comments