[gatein-issues] [JBoss JIRA] (GTNPORTAL-3502) Commnon deployer for JavaScript and skin services

Peter Palaga (JIRA) issues at jboss.org
Fri May 30 16:31:16 EDT 2014


Peter Palaga created GTNPORTAL-3502:
---------------------------------------

             Summary: Commnon deployer for JavaScript and skin services
                 Key: GTNPORTAL-3502
                 URL: https://issues.jboss.org/browse/GTNPORTAL-3502
             Project: GateIn Portal
          Issue Type: Task
      Security Level: Public (Everyone can see)
            Reporter: Peter Palaga
            Assignee: Peter Palaga


At present, there are two independent deployers for JavaScript and skin services: {{GateInSkinConfigDeployer}} and {{JavascriptConfigDeployer}}. There are two problems with that:

(1) Both of them parse {{gatein-resources.xml}} independently, which is a performance drawback.

(2) They can succeed or fail independently, e.g. in case there is some meaningless declaration in {{gatein-resources.xml}}, which can lead to an inconsistent state of the portal.

An ideal solution for (2) would be to rollback deployment of the whole web application, but unfortunately, the present design of the portal does not allow for that. Therefore, I propose to keep at least the two services consistent by introducing a common deployer, that will grant that resources will either succeed to be added to both or to none. Problem (1) will be solved by that too.





--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the gatein-issues mailing list