We have to update social app url in store.json file which is stored
following registry path /
<https://localhost:9444/carbon/resources/resource.jsp?region=region3&item=resource_browser_menu&viewType=std&path=/_system/config/store/configs/store.json#>
_system
<https://localhost:9444/carbon/resources/resource.jsp?region=region3&item=resource_browser_menu&viewType=std&path=/_system/config/store/configs/store.json#>
/
*config*
<https://localhost:9444/carbon/resources/resource.jsp?region=region3&item=resource_browser_menu&viewType=std&path=/_system/config/store/configs/store.json#>
/
*store*
<https://localhost:9444/carbon/resources/resource.jsp?region=region3&item=resource_browser_menu&viewType=std&path=/_system/config/store/configs/store.json#>
/
*configs*
<https://localhost:9444/carbon/resources/resource.jsp?region=region3&item=resource_browser_menu&viewType=std&path=/_system/config/store/configs/store.json#>
/
*store.json*
<https://localhost:9444/carbon/resources/resource.jsp?region=region3&item=resource_browser_menu&viewType=std&path=/_system/config/store/configs/store.json#>.
After updating the social app url and after restarting the server, changes
will affect in store.

Is this the correct way to add the social app url for store? In that case
it is not included in feature installation document.

On Thu, Oct 22, 2015 at 4:50 PM, Lakshman Udayakantha <[email protected]>
wrote:

> Hi,
>
> As I can see the host and port of social iframe source url is
> localhost:9443 in store. That should be actually localhost:9444 according
> to the documentation[1]. When I hardcoded that url to 9444 port in relevant
> hbs file, social component shows accurate average rating. Where we can
> configure social app url in store?
>
> I configured it in sso-idp-config.xml and store-tenant.json. But still the
> base of social app url is https://localhost:9443.
>
> [1]
> https://docs.wso2.com/display/Governance501/Installing+WSO2+API+Manager+Features
>
> Thanks
>
> On Wed, Oct 21, 2015 at 6:43 PM, Lakshman Udayakantha <[email protected]>
> wrote:
>
>> Hi Udara,
>>
>> Thanks for the quick response. I have checked all the tables
>> in WSO2SOCIAL_DB in social-datasources.xml including the SOCIAL_RATING_CACHE
>> table also by issuing select * query. But there is no row in that table.
>> anyway social iframe is showing comment and rating data after server
>> restarting also. is there any other place rating data stored?
>>
>> Thanks
>>
>> On Wed, Oct 21, 2015 at 6:22 PM, Udara Rathnayake <[email protected]>
>> wrote:
>>
>>> rating should be stored within SOCIAL_RATING table and average rating
>>> inside SOCIAL_RATING_CACHE
>>>
>>> On Wed, Oct 21, 2015 at 5:42 PM, Lakshman Udayakantha <
>>> [email protected]> wrote:
>>>
>>>> Hi ES team,
>>>>
>>>> I have checked out store 2.3.9-SNAPSHOT and governance registry
>>>> 5.1.0-SNAPSHOT and built packs from those branches and created the setup
>>>> according to [1].
>>>>
>>>> After adding several reviews in social components, I can see rating and
>>>> comment is updating in social iframe component. but after refreshing the
>>>> page, overall rating for the assets is not updating.
>>>>
>>>> I have checked the database pointed in social-datasources.xml. but
>>>> couldn't find any entry stored in it. Where these social data is stored?
>>>> any point to trouble shoot this issue is highly appreciated.
>>>>
>>>> [1]
>>>> https://docs.wso2.com/display/Governance501/Installing+WSO2+API+Manager+Features
>>>>
>>>> --
>>>> Lakshman Udayakantha
>>>> WSO2 Inc. www.wso2.com
>>>> lean.enterprise.middleware
>>>> Mobile: *0711241005*
>>>>
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>
>>
>> --
>> Lakshman Udayakantha
>> WSO2 Inc. www.wso2.com
>> lean.enterprise.middleware
>> Mobile: *0711241005*
>>
>>
>
>
> --
> Lakshman Udayakantha
> WSO2 Inc. www.wso2.com
> lean.enterprise.middleware
> Mobile: *0711241005*
>
>


-- 
Lakshman Udayakantha
WSO2 Inc. www.wso2.com
lean.enterprise.middleware
Mobile: *0711241005*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to