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; ...@@ -32,8 +32,8 @@ import javax.inject.Inject;
@Component @Component
public class EntitlementsClientFactory extends AbstractFactoryBean<IEntitlementsFactory> { public class EntitlementsClientFactory extends AbstractFactoryBean<IEntitlementsFactory> {
@Value("${AUTHORIZE_API}") @Autowired
public String AUTHORIZE_API; private IAppProperties config;
@Inject @Inject
private HttpResponseBodyMapper httpResponseBodyMapper; private HttpResponseBodyMapper httpResponseBodyMapper;
...@@ -42,7 +42,7 @@ public class EntitlementsClientFactory extends AbstractFactoryBean<IEntitlements ...@@ -42,7 +42,7 @@ public class EntitlementsClientFactory extends AbstractFactoryBean<IEntitlements
protected IEntitlementsFactory createInstance() { protected IEntitlementsFactory createInstance() {
return new EntitlementsFactory(EntitlementsAPIConfig return new EntitlementsFactory(EntitlementsAPIConfig
.builder() .builder()
.rootUrl(AUTHORIZE_API) .rootUrl(config.getAuthorizeAPI())
.build(), httpResponseBodyMapper); .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