activitystream:tv/6828
allura:tv/6828

For reference, here are my settings from production.ini:

~~~~
activitystream.master = mongodb://10.58.1.24:27017
activitystream.database = activitystream
activitystream.activity_collection = activities
activitystream.node_collection = nodes
activitystream.enabled = true
activitystream.recording.enabled = true
~~~~

setup.py has the Ming storage driver installed by default. To fall back to the 
default (pymongo), comment out these lines in Allura/setup.py:

~~~~
    [activitystream.storage]
    driver = activitystream.storage.mingstorage:MingStorage
~~~~

To do functional testing, create a new project and some new users. For now, the 
home page of the project and users is still their activity page. Trying making 
at least one of the users watch a project and follow another user. "Do stuff" 
on the project(s) or with the users to make activities (comments, new 
artifacts, etc), then confirm that the activities show up on the appropriate 
timelines. To recap the logic:

1. If I am looking at my own timeline, I see stuff I've done, and stuff related 
to people or projects i'm following/watching.
2. If I'm looking at someone else's timeline, I only see stuff they've done.
3. If I'm looking at a project timeline, I see stuff related to that project.


You can switch back and forth between pymongo and ming at will (needs `setup.py 
develop`). I ran all the Allura tests using both.


---

** [tickets:#6828] Switch activitystream lib to use Ming instead of pymongo**

**Status:** code-review
**Labels:** activitystreams 
**Created:** Fri Nov 01, 2013 07:04 PM UTC by Tim Van Steenburgh
**Last Updated:** Fri Nov 15, 2013 06:27 PM UTC
**Owner:** Tim Van Steenburgh

Also make sure appropriate indexes are defined.


---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed 
to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.

Reply via email to