[forge-issues] [JBoss JIRA] (FORGE-2460) support an easy way to eagerly load commands

James Strachan (JIRA) issues at jboss.org
Thu Aug 27 10:17:05 EDT 2015


    [ https://issues.jboss.org/browse/FORGE-2460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13102762#comment-13102762 ] 

James Strachan commented on FORGE-2460:
---------------------------------------

This is what I'm doing now btw
https://github.com/jstrachan/fabric8/blob/cdelivery/forge/fabric8-forge-core/src/main/java/io/fabric8/forge/rest/main/ForgeInitialiser.java#L63-63

part of the issue could maybe be to do with multi-step wizards; maybe that might help; if there's a way to force all the steps for all commands to be eagerly loaded? Currently DevOpsEdit is really slow too on startup which is basically a few wizard steps

> support an easy way to eagerly load commands
> --------------------------------------------
>
>                 Key: FORGE-2460
>                 URL: https://issues.jboss.org/browse/FORGE-2460
>             Project: Forge
>          Issue Type: Feature Request
>            Reporter: James Strachan
>
> It can take a little while for JBoss Forge to load commands. When using JBoss Forge on the server side it'd be great to just load all the commands into memory upfront so that if someone tries to use a command the web app is very responsive and doesn't hang for a few seconds.
> Right now I've been adding a few hacks to preload a few commands by hand by issuing dummy commands to validate commands to force them to activate and classload etc.
> I wonder is there a way we could do this generically? 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the forge-issues mailing list