Bug 1038545

Summary: Automatic way to update all sites at once (Portal, groups and user sites)
Product: [JBoss] JBoss Enterprise Portal Platform 6 Reporter: Martin Weiler <mweiler>
Component: PortalAssignee: Lucas Ponce <lponce>
Status: VERIFIED --- QA Contact: Martin Vecera <mvecera>
Severity: high Docs Contact:
Priority: high    
Version: 6.1.0CC: bdawidow, epp-bugs, ppalaga, theute, tkyjovsk
Target Milestone: DR01   
Target Release: 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: 6_2 In_Progress JCR_Upgrade
Fixed In Version: Doc Type: Enhancement
Doc Text:
Previously, it was not possible for the Portal REST API to concurrently perform a single import or export operation over several portals. This forced large updates to portals to be performed individually, which created unnecessary deployment complexity. This release introduces the concept of Templates, which take the form of a Zip archive. The archive contains a file structure which permits changes to a number of portal instances in a single operation. The functionality is described in the Red Hat JBoss Portal 6.2 Development Guide "Working with Templates" section.
Story Points: ---
Clone Of:
: 1072188 1072189 (view as bug list) Environment:
Last Closed: Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1072189, 1072188    
Attachments:
Description Flags
Curl based script for REST invocations
none
REST tests descriptions none

Description Martin Weiler 2013-12-05 10:16:34 UTC
Description of problem:
Platform issue for GTNPORTAL-3328: Changes applied to the user dashboard template should be propagated to the existing dashboards of all users.

Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1. Deploy an extension which defines the users dashboard template
2. Log in as userX and access the dashboard
3. Redefine (eg. add a page/navigation node) the extensions dashboard template
4. Redeploy the extension
5. Log in as userX and access the dashboard


Actual results:
userX sees the old dashboard data, as the new template definition only applies to dashboards created after the change

Expected results:
userX sees the updated dashboard


Additional info:
Further details can be found in the public spec document:
https://community.jboss.org/wiki/AutomaticWayToUpdateAllSitesAtOncePortalGroupsAndUserSites

Comment 2 Lucas Ponce 2014-01-21 14:32:57 UTC
Created attachment 853255 [details]
Curl based script for REST invocations

Tests used for this feature.

Comment 3 Lucas Ponce 2014-01-21 15:11:27 UTC
This issue depends on resolution and release of this JIRA in eXo WS component

https://jira.exoplatform.org/browse/WS-285

Comment 4 Boleslaw Dawidowicz 2014-02-05 13:35:29 UTC
Requires verification after JCR upgrade in master

Comment 5 Lucas Ponce 2014-02-14 13:21:26 UTC
Created attachment 863275 [details]
REST tests descriptions

Description of tests used for this feature.

Tests scripts are also attached.

Comment 6 Peter Palaga 2014-03-03 12:10:13 UTC
https://github.com/gatein/gatein-portal/pull/786 was merged in the upstream.

Comment 7 Boleslaw Dawidowicz 2014-04-07 09:51:42 UTC
Related GateIn Documentation https://docs.jboss.org/author/display/GTNPORTAL38/Working+with+Templates