[JBoss JIRA] Deleted: (GTNPORTAL-1179) Provide an option in NewPortalConfigListener allowing to override portal navigation metadata from the XML configuration files each time the server restarts
by Trong Tran (JIRA)
[ https://jira.jboss.org/browse/GTNPORTAL-1179?page=com.atlassian.jira.plug... ]
Trong Tran deleted GTNPORTAL-1179:
----------------------------------
> Provide an option in NewPortalConfigListener allowing to override portal navigation metadata from the XML configuration files each time the server restarts
> -----------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: GTNPORTAL-1179
> URL: https://jira.jboss.org/browse/GTNPORTAL-1179
> Project: GateIn Portal
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Reporter: Trong Tran
> Assignee: Trong Tran
>
> This is a very useful feature for developpement because it allows to change portal navigation without dumping the whole JCR. It dramatically shortcuts the developpement/deploy cycle.
> The logic contained within the ExtendedPortalConfigListener can be merged in the NewPortalConfigListener also.
> {code}
> public class ExtendedPortalConfigListener extends NewPortalConfigListener {
> private UserPortalConfigService portalConfigService;
> List<NewPortalConfig> configs;
> boolean override;
> @SuppressWarnings("unchecked")
> public ExtendedPortalConfigListener(UserPortalConfigService portalConfigService, DataStorage pdcService,
> ConfigurationManager cmanager, InitParams params) throws Exception {
> super(pdcService, cmanager, params);
> this.portalConfigService = portalConfigService;
> configs = params.getObjectParamValues(NewPortalConfig.class);
> ValueParam param = params.getValueParam("override");
> if (param != null) {
> override = Boolean.parseBoolean(param.getValue());
> }
> }
> @Override
> public void run() throws Exception {
> if (override) {
> for (NewPortalConfig config : configs) {
> Set<String> users = config.getPredefinedOwner();
> for (String user : users) {
> try {
> portalConfigService.removeUserPortalConfig(user);
> } catch (Exception e) {
> System.err.println(e.getMessage());
> }
> }
> }
> }
> super.run();
> }
> }
> {code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months
[JBoss JIRA] Created: (GTNPORTAL-332) Generate one ear per distribution kind : single-node, clustering
by Dimitri BAELI (JIRA)
Generate one ear per distribution kind : single-node, clustering
----------------------------------------------------------------
Key: GTNPORTAL-332
URL: https://jira.jboss.org/jira/browse/GTNPORTAL-332
Project: GateIn Portal
Issue Type: Task
Components: Packaging
Affects Versions: 3.0.0-Beta03
Reporter: Dimitri BAELI
Assignee: Dimitri BAELI
Fix For: 3.0.0-Beta04
DESCRIPTION:
* Current GateIn packaging contains only the single-node configuration
* The configuration of clustering is not available (in comments or ready to use) in the packaging
EXPECTED:
* Ready to use configuration to switch GateIn in a cluster mode (changes in the configuration prepared in comments)
* Ready to use configured ear packaged during the gatein build (a gatein-<version>-ha.ear)
INFORMATIONS:
Some configurations are distincts between usages and should be easy to change or prepared for most of the users:
* Clustering configuration
* Database configuration
* WSRP configuration (tomcat/jboss)
* date/temp directories (tomcat/jboss)
NOTES:
* This work should be linked to the packager rework and a clean-up of gatein maven build
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months