private void addDataToInstalledProducts(Consumer consumer) {
ComplianceStatus complianceStatus = complianceRules.getStatus(
consumer, null, false);
ConsumerInstalledProductEnricher enricher = new ConsumerInstalledProductEnricher(
consumer, complianceStatus, complianceRules);
for (ConsumerInstalledProduct cip : consumer.getInstalledProducts()) {
String prodId = cip.getProductId();
Product prod = productAdapter.getProductById(prodId);
if (prod != null) {
enricher.enrich(cip, prod);
}
}
}