Commit 1dcd6dae authored by Sutton's avatar Sutton
Browse files

Adding iappproperties back

parent 86074d0c
Pipeline #28195 failed with stages
in 65 minutes and 44 seconds
......@@ -32,8 +32,8 @@ import javax.inject.Inject;
@Component
public class EntitlementsClientFactory extends AbstractFactoryBean<IEntitlementsFactory> {
@Value("${AUTHORIZE_API}")
public String AUTHORIZE_API;
@Autowired
private IAppProperties config;
@Inject
private HttpResponseBodyMapper httpResponseBodyMapper;
......@@ -42,7 +42,7 @@ public class EntitlementsClientFactory extends AbstractFactoryBean<IEntitlements
protected IEntitlementsFactory createInstance() {
return new EntitlementsFactory(EntitlementsAPIConfig
.builder()
.rootUrl(AUTHORIZE_API)
.rootUrl(config.getAuthorizeAPI())
.build(), httpResponseBodyMapper);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment