ABCDEFGHIJKLMN
1
ImpactLR SW Release VersionFeature VersionService TestedTest ObjectiveInput DetailsTest Input Testing ProcedureExpected OutputExpected System BehaviorTest OutputPass/FailTested ByDate tested
2
1Distibute: Node to Node replicationVerify that all the documents of resource_data and distributable of "doc_type" are replicated from a source node to the target node. Distributed resource_data documents must have the "node_timestamp" close to the current UTC time. 1. A defined set of resource data on the source node (sourceNode)
A set of resource metadata on Node 11. Configure two nodes (sourceNode and targetNode) using the setup_node.py script to be on the same community and network.

2. Delete the resource_data database on the targetNode couchdb

3.Delete the resource_data dabase on the source node couchdb.
distribuatable data documents from the source node is replicated to the target node. Check the number of records on each machine using the Status API and verify that they matchPASSPASSJohn Poyau10/15/2011
3
1Node to Node Replication of Resource DataVerify that data is not replicated to nodes that are not specified for replication in the node configuration1. A defined set of resource data on the source node (sourceNode)
A set of resource metadata on Node 1Delete all resource data from Node 2. Configure Node 1 with no Node 1->Node 2 replication rule. Run distribute script Data from Node 1 is not replicated to Node 2PASSPASSJohn Poyau10/15/2011
4
1Data distribution Between Gateway nodes in an Open CommunityVerify that data distribution happens between networks in the same Open communityA defined set of resource data on the source node(SourceNode) resource_data database

destination node (TargetNode) resource_data database is empty
A set of defined Resource MetaData on Node 3. A set of Defined Resource Metadata on Node 4. Run Distribute Script on Node 3. Distribute is successful. PASSJohn Poyau10/15/2011
5
1Data distribution Between Gateway nodes in an Open Community when the Gateway Connection is falseVerify that data distribution does not happen between networks in the same Open community if the Gateway connection is false A set of defined Resource MetaData on Node 3. A set of Defined Resource Metadata on Node 4. Run Distribute Script on Node 3. Distribute fails.PassJohn Poyau10/15/2011
6
1Data distribution between open communities using Gateway nodes Verify that data distribution happens between open communities using the appropriate gatewaysResource Metadata on LRDev Node 3 and ADL. Configure LRDev testbed to be Open(default). Configure ADL testbed to be Open. Create distribute rule in LRDev Node 3 for Node 3-> ADL Gateway. Create a publish script with uniqe IDs not present in ADL. Publish this data. Create a Publish script with a few unique IDs not present in ADL and a few IDs that are present in ADL. Verify that Publish happens without duplication of data on ADL. Distribute should succesfully occur for 1. Distribute should fail for 2. PASSJohn Poyau10/19/2011
7
1Data distribution between networks in a closed communityVerify that data distribution happens according to configuration between netwroks in a closed communityDistribute is successful John Poyau
8
1Data distribution between closed communites does not happenVerify that distribution does not happen when attempted between closed communitiesDistribute fails and returns correct error codeJohn Poyau
9
1Data distribution between a closed community and an Open community does not happenVerify that distribution does not happen when attempted between a closed community and an open community. If distribute is appempted from a closed community to an open community, it fails. If distribute is attempted from an open community to a closed community, it fails. A defined set of resource data on the source node(SourceNode) resource_data database

destination node (TargetNode) resource_data database is empty

destination node (TargetNode) node database contains a filter description document
Distribute fails and returns correct error codeJohn Poyau10/17/2011
10
2More than one Gateway connection from a GatewayVerify that data distribution works only when there is one gateway connection to a gatewayConfigure Nodes 3 and 4 as gateway nodes.Configure Node 4->Node-.Gateway_Connection as True and configure Node 3->Node-.Gateway_Connection as True. Configure Node 3 with Node 3->Node 4 distribution rule. Populate Node 3 with a set of defined Resource MetaData.A set of defined meatdata on each of Node 3, Node 4 and ADL GatewayRun distribute from Node 3. Distribute failsPASSJohn Poyau10/17/2011
11
Distribute: FilterVerify that only documents that conforms to destination node filter rules are replicatedA defined set of resource data on the source node(SourceNode) resource_data database

destination node (TargetNode) resource_data database is empty

destination node (TargetNode) node database contains a filter description document
Only documents that conform the target node filter rules are replicatedPASSPASSJohn Poyau10/13/2011
12
13
14
Service DescriptionVerify the service description document adheres to the specification's service descriptionhttp://lrtest02.learningregistry.org/servicesScroll down to the document that matches "service_name: Resource Data Distribution"1. Verify doc_type = "service_description"
2. Verify doc_version = "0.20.0"
3. Verify doc_scope = "node"
4. Verify active = "true"
5. Verify service_id = "<uniqueid>"
6. Verify service_type = "distribute"
7. Verify service_name = "Resource Data Distribution"
8. Verify service_description = "Service used to distribute resource documents from one node to other nodes"
9. Verify service_version = "0.23.0"
10. Verify service_endpoint = "<node-service-endpoint-URL>"
11. Verify service_auth is correctly formatted
12. Verify service_authz values is correct
13. Verify service_key value is correct
14. Verify service_https value is correct
15. Verify irrelevant keys and values are not listed in the service description document
{
"doc_type": "service_description",
"doc_version": "0.20.0",
"doc_scope": "node",
"active": true,
"service_id": "<uniqueid>",
"service_type": "distribute",
"service_name": "Resource Data Distribution",
▲"service_description": "Service used to distribute resource documents from one node to other nodes",
"service_version": ▲"0.23.0",
"service_endpoint": "<node-service-endpoint-URL>",
"service_auth": // service authentication and authorization descriptions
{
"service_authz": ["<authvalue>"], // authz values for the service
"service_key": <T/F>, // does service use an access key
"service_https": <T/F> // does service require https
}
}
All keys and values are correct{
doc_type: "service_description"
service_version: "0.1"
service_name: "Resource Data Distribution"
service_type: "distribute"
doc_version: "0.20.0"
service_endpoint: "http://lrtest02.learningregistry.org/Resource Data Distribution"
service_data: { }
service_description: "distribute Resource Data Distribution service"
service_auth: -{
service_https: false
service_key: false
service_authz: null
}
active: true
doc_scope: "node"
service_id: "e28ad0d0de704a7fa6bd286067d7c0b0"
}
FailDamon Regan10/27/2011