[NCBC-725] ICouchbaseCluster Interface Internal - Can't Mock Root Object Created: 21/Nov/14  Updated: 21/Nov/14

Status: Open
Project: Couchbase .NET client library
Component/s: library
Affects Version/s: 2.0 Beta, 2.0 Beta 2
Fix Version/s: None

Type: Improvement Priority: Blocker
Reporter: cameronpearce Assignee: Jeff Morris
Resolution: Unresolved Votes: 0
Labels: system-test
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
The ICouchbaseCluster interface has been made internal, and the Class which inherits this interface (Cluster) is a sealed class, thus I cannot inherit from it.

Because of this, we cannot mock the root object.

I would suggest making the interface public instead of internal, if you do not want to expose code from the Cluster class.

Thanks and I hope to see this in the next release.




[NCBC-724] Version numbers and configuration logging Created: 20/Nov/14  Updated: 20/Nov/14  Resolved: 20/Nov/14

Status: Resolved
Project: Couchbase .NET client library
Component/s: library
Affects Version/s: 2.0 Beta 2
Fix Version/s: 2.0.0

Type: Task Priority: Major
Reporter: Jeff Morris Assignee: Jeff Morris
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
This feature appends the version number of the assembly plus the current client configuration (not the cluster map info) to the log file when the Cluster object is initialized.

 Comments   
Comment by Jeff Morris [ 20/Nov/14 ]
http://review.couchbase.org/#/c/43457/




[NCBC-723] Timings - public interface level, server level, IO level Created: 19/Nov/14  Updated: 21/Nov/14  Resolved: 21/Nov/14

Status: Resolved
Project: Couchbase .NET client library
Component/s: library
Affects Version/s: 2.0 Beta 2
Fix Version/s: 2.0.0

Type: Task Priority: Major
Reporter: Jeff Morris Assignee: Jeff Morris
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
For performance testing/tuning. Default implementation uses StopWatch and Common.Log, but can be extended.

 Comments   
Comment by Jeff Morris [ 21/Nov/14 ]
Might need some refactoring after feedback:
http://review.couchbase.org/#/c/43419/




[NCBC-722] Provide means of mapping to POCO's without using a ViewResultRow<T> Created: 19/Nov/14  Updated: 19/Nov/14

Status: Open
Project: Couchbase .NET client library
Component/s: library
Affects Version/s: 2.0 Beta 2
Fix Version/s: 2.0.0

Type: Task Priority: Major
Reporter: Jeff Morris Assignee: Jeff Morris
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
Each row returned by a view request is wrapped in a "view result row". This ticket provides a means of escaping the row wrapper so that a use can map results direct to a List<T> instead of a List<ViewResultRow<T>> collection. For example:

{"total_rows":7303,"rows":[
{"id":"21st_amendment_brewery_cafe","key":["21st_amendment_brewery_cafe"],"value":null},
{"id":"21st_amendment_brewery_cafe-21a_ipa","key":["21st_amendment_brewery_cafe","21st_amendment_brewery_cafe-21a_ipa"],"value":null},
...
{"id":"zea_rotisserie_and_brewery-z_p_a_india_pale_ale","key":["zea_rotisserie_and_brewery","zea_rotisserie_and_brewery-z_p_a_india_pale_ale"],"value":null}
]
}

See post: https://forums.couchbase.com/t/2-0-dp3-question-on-views-jsondatamapper-cs-deserialization/1951




Generated at Mon Nov 24 02:25:44 CST 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.