wCN Integration Testing
================


Beta Release Plan
---------------------------
             5057 (cn-sandbox)/5057(5056 mn-sandbox-ucsb-1 +1 mn-sandbox-orc-1)
             (mn-sandbox-ucsb-2 and mn-sandbox-unm-1 only have replicas)
metacat=> select distinct number_replicas from systemmetadata; 
 number_replicas 
-----------------
              -1
               2
               3
(3 rows)

metacat=> select sum(number_replicas) from systemmetadata where number_replicas=2;
 sum 
-----
   8
(1 row)

metacat=> select count(number_replicas) from systemmetadata where number_replicas=3; 
 count 
-------
  5001
(1 row)

Since the we only have 4 member nodes and orc-1 (GMN) doesn't work, the  replicas of an object can only be 2 even though the replication policy  says 3. So the total replicas will be: 
 8 + 5001X2 = 10,010 
 Total objects in memeber node: (this is for orginal node) = 5057 (5056 from ucsb-1 and 1 from orc-1).
 
 The scientific metadata harvested to cn is: 
metacat=> select count(*) from systemmetadata where object_format not  like 'text%' and object_format not like 'application%'; 
 count 
------- 
  5037 
(1 row) 

So the total number is 10,010+ 5057+5037=20104. 

The completed replication is 20100 as well: 
metacat=> select count(*) from smreplicationstatus where status='COMPLETED'; 
 count 
------- 
 20104 
(1 row) 

So the numbers match.
 
         
Release Integration testing Plan for Stage
------------------------------------------------------------

                https://cn-stage-ucsb-1.test.dataone.org/cn/v1/object/08d2c688-19fd-4cd5-88ff-4ed76bf40332
              https://cn-stage-ucsb-1.test.dataone.org/cn/v1/meta/08d2c688-19fd-4cd5-88ff-4ed76bf40332
              https://cn-stage-orc-1.test.dataone.org/cn/v1/object/08d2c688-19fd-4cd5-88ff-4ed76bf40332
              https://cn-stage-orc-1.test.dataone.org/cn/v1/meta/08d2c688-19fd-4cd5-88ff-4ed76bf40332

https://cn-stage-unm-1.test.dataone.org/cn/v1/object/08d2c688-19fd-4cd5-88ff-4ed76bf40332

https://cn-stage-unm-1.test.dataone.org/cn/v1/meta/08d2c688-19fd-4cd5-88ff-4ed76bf40332