Review Board 1.7.22


Add code to handle OpenSocial Embedded Experience data model context extension per http://docs.opensocial.org/display/OSD/More+precision+for+EE+data+model for OpenSocial 2.5

Review Request #4976 - Created May 2, 2012 and submitted

Henry Saputra
trunk
SHINDIG-1762
Reviewers
shindig
rbaxter
shindig
Add code to handle EE extension for OpenSocial 2.5.0 core gadget spec: 
http://docs.opensocial.org/display/OSD/More+precision+for+EE+data+model 
http://docs.opensocial.org/display/OSD/Core-Gadget+-+Embedded+Experiences

I remove the unneeded model for EmbeddedExperience because ActivityEntry uses ExtendableBean, which act like a Map, to store opensocial and its extension so there is no need to explicitly map embed or preferredExperience with physical class:
java/social-api/src/main/java/org/apache/shindig/social/core/model/EmbeddedExperienceImpl.java
java/social-api/src/main/java/org/apache/shindig/social/opensocial/model/EmbeddedExperience.java
Updated the unit tests and modify EE sample gadget to test passing additional context and respect preferredExperience display link text.
Review request changed
Updated (June 26, 2012, 7:22 p.m.)
  • changed from pending to submitted