[
https://issues.apache.org/jira/browse/SHINDIG-1592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
li xu resolved SHINDIG-1592.
----------------------------
Resolution: Fixed
resolve the issue as it's committed by Ryan.
> EE sample gadget doesn't work out of box if deployed with context other than
> root or deployed on port other than 8080
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: SHINDIG-1592
> URL: https://issues.apache.org/jira/browse/SHINDIG-1592
> Project: Shindig
> Issue Type: Bug
> Components: Java
> Affects Versions: 3.0.0
> Reporter: li xu
> Priority: Minor
> Labels: shindig
> Fix For: 3.0.0
>
> Attachments: patch0824
>
>
> This fix enables EE sample page to work out of box even if it's deployed with
> a context root other than root or port other than 8080
> we added two tokens at sample db: canonicaldb.json
> %contextroot%
> %origin%
> it's resolved by JsonDBOpensocialService.java based on injected hostProvider
> This is a generic change... any other opensocial object could use the same
> token in sample json db.
> Opensocial sample context is updated to include an additional attribute since
> photogadget.xml need to refer to AlbumViewer.xml
> "eeGadget" :
> "%origin%%contextroot%/samplecontainer/examples/embeddedexperiences/AlbumViewer.xml",
> fixed related junit tests.
> Thanks to Ryan's help on this!
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira