import org.onap.portalapp.portal.logging.aop.EPMetricsLog;
import org.onap.portalapp.portal.logging.format.EPAppMessagesEnum;
import org.onap.portalapp.portal.logging.logic.EPLogUtil;
+import org.onap.portalapp.portal.service.AppsCacheService;
import org.onap.portalapp.portal.service.EPAppService;
import org.onap.portalapp.portal.transport.OnboardingApp;
import org.onap.portalapp.portal.utils.EcompPortalUtils;
@Autowired
private SessionCommunication sessionCommunication;
+
@Override
protected void executeInternal(JobExecutionContext context) throws JobExecutionException {
try {
ManageService manageService = (ManageService) applicationContext.getBean("manageService");
EPAppService appService = (EPAppService) applicationContext.getBean("epAppService");
-
- List<OnboardingApp> appList = appService.getEnabledNonOpenOnboardingApps();
+ AppsCacheService appsCacheService = (AppsCacheService)applicationContext.getBean("appsCacheService");
+
+ List<OnboardingApp> appList = appsCacheService.getAppsFullList();
onboardedAppList = appList;
TypeReference<Hashtable<String, TimeoutVO>> typeRef = new TypeReference<Hashtable<String, TimeoutVO>>() {
};