DESCRIPTION

CBQE-3940- Add temp support for RBAC to memcached client, hardcording
all the user names everywhere.

1. Create a user temp in basetestcase.py
2. Update data_client in datahelper.py to use user temp for auth and setting bucket explicitly
3. Update bucket_helper.py to also use user temp for auth and setting bucket explicitly

Change-Id: Ie009de69bd292a15026717385f018c16d1b9548f


COMMENTS

author: Ean Andrews
date: 2017-03-01 11:52:09.429000000

Uploaded patch set 2.

-------------------------------------
author: Titus Ho
date: 2017-03-01 15:54:15.788000000

Patch Set 2:

(1 comment)

Line:280, lib/membase/helper/bucket_helper.py -> will this break buckets with sasl passwords?

-------------------------------------
author: Ean Andrews
date: 2017-03-01 17:12:00.434000000

Patch Set 2:

(1 comment)

Line:280, lib/membase/helper/bucket_helper.py -> With RBAC changes, there is no concept of sasl bucket, everything is going to run with the users that are defined in CB.  I have tested the following tests:

view.createdeleteview.CreateDeleteViewTests.test_view_ops,ddoc_ops=update,test_with_view=True,num_ddocs=2,num_views_per_ddoc=5,items=200000,sasl_buckets=1,standard_buckets=1

And

warmup.warmuptest.WarmUpTests.warmup_test,stats_monitor=vb_replica_perc_mem_resident,items=1000,active_resident_threshold=70,dgm_run=True,is_partial=True

-------------------------------------
author: Ezekiel Beck
date: 2017-03-01 17:20:31.788000000

Patch Set 2: Code-Review+2 Verified+1

-------------------------------------
