-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 7.4
-
Fix Version/s: 9.1
-
Component/s: nuxeoctl start/stop/admin
-
Tags:
-
Sprint:DevOps Sprint 11, DevOps-12, nxcore 9.1.3
-
Story Points:3
We should provide a way to display warning on nuxeoctl status in addition to errors.
At the moment using Framework.getRuntime().getWarnings().add(message);
fails because it reports warning as being errors on the summary api: AbstractRuntimeService#getStatusMessage.
In this case the --strict mode will abort the start on warning and we don't want this.
This happens in CI:
https://qa.nuxeo.org/jenkins/job/addons_FT_nuxeo-sample-project-master/1991/org.nuxeo.marketplace.sample$webdriver/console
[INFO] [exec] ..............Shutting down because of unstarted component in strict mode... [INFO] [exec] ====================================================================== [INFO] [exec] = Component Loading Errors: [INFO] [exec] * Warning: target extension point 'views' of 'org.nuxeo.theme.services.ThemeService' is unknown as it has been removed since 7.4. Check your extension in component service:org.nuxeo.project.sample.themes [INFO] [exec] * Warning: target extension point 'presets' of 'org.nuxeo.theme.services.ThemeService' is unknown as it has been removed since 7.4. Check your extension in component service:org.nuxeo.project.sample.themes [INFO] [exec] * Warning: target extension point 'presets' of 'org.nuxeo.theme.services.ThemeService' is unknown as it has been removed since 7.4. Check your extension in component service:org.nuxeo.project.sample.themes [INFO] [exec] * Warning: target extension point 'presets' of 'org.nuxeo.theme.services.ThemeService' is unknown as it has been removed since 7.4. Check your extension in component service:org.nuxeo.project.sample.themes [INFO] [exec] * Warning: target extension point 'presets' of 'org.nuxeo.theme.services.ThemeService' is unknown as it has been removed since 7.4. Check your extension in component service:org.nuxeo.project.sample.themes [INFO] [exec] ====================================================================== [INFO] [exec] = Component Loading Status: Pending: 0 / Unstarted: 0 / Total: 594 [INFO] [exec] ====================================================================== [INFO] [exec] Started in 0min28s [INFO] [exec] Stopping server......Server stopped.