update harness lib for org&space

Change-Id: I2d38b7dbf6592f5760fb2a63c00517a4c2244700
Signed-off-by: Jing Gong <jgong@SHA-2-JINGG-R.(none)>
Signed-off-by: jgong <jgong@rbcon.com>
Reviewed-on: http://reviews.cloudfoundry.org/8830
Tested-by: CI Master <cf-ci@rbcon.com>
Reviewed-by: Pin Xie <pxie@vmware.com>
support system_services for v1 and v2

fix multiple provider and domain_url

Change-Id: Id53a5e27e711a042fe9adf139db47c4794e4b1dd
Signed-off-by: Pin Xie <pxie@vmware.com>
Reviewed-on: http://reviews.cloudfoundry.org/8902
Tested-by: CI Master <cf-ci@rbcon.com>
Reviewed-by: Jing Gong <jgong@rbcon.com>
create and delete service

support ccng to create/delete service

Change-Id: I2a1f6a06724c93005003cc04538c1ddaf9553599
Signed-off-by: Pin Xie <pxie@vmware.com>
Reviewed-on: http://reviews.cloudfoundry.org/9109
Tested-by: CI Master <cf-ci@rbcon.com>
Reviewed-by: Jing Gong <jgong@rbcon.com>
app support v2

Change-Id: I688c8493e7f8156fd53724fd366355c744d6d697
Signed-off-by: jgong <jgong@rbcon.com>
Reviewed-on: http://reviews.cloudfoundry.org/9056
Tested-by: CI Master <cf-ci@rbcon.com>
Reviewed-by: Michael Zhang <zhangcheng@rbcon.com>
add bind/unbind service

support bind/unbind service in harness

Change-Id: Idf0c900d4192725be64ab1ad21e728e61c50e726
Signed-off-by: Pin Xie <pxie@vmware.com>
Reviewed-on: http://reviews.cloudfoundry.org/9185
Tested-by: CI Master <cf-ci@rbcon.com>
Reviewed-by: Jing Gong <jgong@rbcon.com>
support ccng v1 testing

remove hard code api. url
add monkey patch to force using CFoundry::V1 to talk to CCNG v1 api

Change-Id: I730704a056b40cddd5cd43a5b03d14023731b75d
Signed-off-by: Pin Xie <pxie@vmware.com>
Reviewed-on: http://reviews.cloudfoundry.org/9193
Tested-by: CI Master <cf-ci@rbcon.com>
Reviewed-by: Jing Gong <jgong@rbcon.com>
fix service.label for v1 api

Change-Id: I65e85b2561deb6f39f4ad36141db8c2dbaaa3374
Signed-off-by: Pin Xie <pxie@vmware.com>
Reviewed-on: http://reviews.cloudfoundry.org/9196
Tested-by: CI Master <cf-ci@rbcon.com>
upgrade to cfoundry 0.3.31, vmc 0.3.21

upgrade to cfoundry 0.3.31
upgrade to vmc 0.3.21
remove monkey patch since bugs have been fixed on P02
bump assets to use VCAP_* environment variables on DEA

Change-Id: I94bf4db38171affab450caed878a0a42ea83c4f9
Signed-off-by: Pin Xie <pxie@vmware.com>
Reviewed-on: http://reviews.cloudfoundry.org/9281
Tested-by: CI Master <cf-ci@rbcon.com>
Reviewed-by: Jing Gong <jgong@rbcon.com>
puts exception for App#file, App#files

Signed-off-by: Pin Xie <pxie@vmware.com>

Change-Id: Iba1789163076fc7ef953466c4fe3cf68d96e955a
Signed-off-by: Pin Xie <pxie@vmware.com>
Reviewed-on: http://reviews.cloudfoundry.org/9310
Tested-by: CI Master <cf-ci@rbcon.com>
Reviewed-by: Jing Gong <jgong@rbcon.com>
puts exception for App#stats method

puts exception for App#stats method
upgrade default mongodb version to 2.0

Change-Id: I70cdce9e0c15b15008ee06c3f6b6575215225284
Signed-off-by: Pin Xie <pxie@vmware.com>
Reviewed-on: http://reviews.cloudfoundry.org/9312
Tested-by: CI Master <cf-ci@rbcon.com>
Reviewed-by: Jing Gong <jgong@rbcon.com>
remove hard code in app.logs

Change-Id: I470937987ba31afe847d1e00bfede2f4bf56b17b
Signed-off-by: jgong <jgong@rbcon.com>
Reviewed-on: http://reviews.cloudfoundry.org/9313
Tested-by: CI Master <cf-ci@rbcon.com>
Reviewed-by: Pin Xie <pxie@vmware.com>
upgrade to cfoundry 0.3.32

Change-Id: Ib41916084445d7aca940d9b6344353ab71a654a3
Signed-off-by: Pin Xie <pxie@vmware.com>
Reviewed-on: http://reviews.cloudfoundry.org/9356
Tested-by: CI Master <cf-ci@rbcon.com>
Reviewed-by: Jing Gong <jgong@rbcon.com>
fix application udpate test script

1. reduce_instance should be less than total available instances
2. remove pending statement, since the bug for App#scale has been fixed

Signed-off-by: Pin Xie <pxie@vmware.com>

Change-Id: I1a7ae276a614fa90bc333892ac01a45181614480
Reviewed-on: http://reviews.cloudfoundry.org/9358
Tested-by: CI Master <cf-ci@rbcon.com>
Reviewed-by: Jing Gong <jgong@rbcon.com>
fix VMC::Cli::Client.login issue

Change-Id: Iaf9a7cf4e364c66647038ba8c0ca673eaaf2438f
Signed-off-by: michael zhang <zhangcheng@rbcon.com>
Reviewed-on: http://reviews.cloudfoundry.org/9362
Tested-by: CI Master <cf-ci@rbcon.com>
Reviewed-by: Pin Xie <pxie@vmware.com>
fix bug: java spring

Change-Id: Ia7997c9809bf945fd096be4cd0539f9f5e832a63
Signed-off-by: jgong <jgong@rbcon.com>
Reviewed-on: http://reviews.cloudfoundry.org/9363
Tested-by: CI Master <cf-ci@rbcon.com>
Reviewed-by: Pin Xie <pxie@vmware.com>
add switch space case

Change-Id: Icbd977e866167c83dd36ad1fadc7a881f4312fe4
Signed-off-by: jgong <jgong@rbcon.com>
Reviewed-on: http://reviews.cloudfoundry.org/9483
Tested-by: CI Master <cf-ci@rbcon.com>
Reviewed-by: Pin Xie <pxie@vmware.com>
fix add_env issue for v2

Change-Id: I61a0c540595decd642ca9bd8e961067ac4b0f4ce
Signed-off-by: jgong <jgong@rbcon.com>
Reviewed-on: http://reviews.cloudfoundry.org/9523
Tested-by: CI Master <cf-ci@rbcon.com>
Reviewed-by: Pin Xie <pxie@vmware.com>
fix service lifecycle scripts

service connection string has been retrieved from VCAP_*
environment variables, instead of VMC_* environment variables

so, update script according to new data structure

Change-Id: I1c87f596b8fecce3c6e54acfec85b27dd88ee5ff
Signed-off-by: Pin Xie <pxie@vmware.com>
Reviewed-on: http://reviews.cloudfoundry.org/9556
Tested-by: CI Master <cf-ci@rbcon.com>
Reviewed-by: Jing Gong <jgong@rbcon.com>
upgrade cfoundry 0.3.34

Change-Id: Ifdcb0adad602bbb86e354c77ff8af8d04cfa8cba
Signed-off-by: Pin Xie <pxie@vmware.com>
Reviewed-on: http://reviews.cloudfoundry.org/9588
Tested-by: CI Master <cf-ci@rbcon.com>
Reviewed-by: Jing Gong <jgong@rbcon.com>
add more error message for service lifecycle

Change-Id: Ia00d39a8f6ca1cc4e7a4ad28f8eb976d7af08561
Signed-off-by: Pin Xie <pxie@vmware.com>
Reviewed-on: http://reviews.cloudfoundry.org/9590
Tested-by: CI Master <cf-ci@rbcon.com>
Reviewed-by: Jing Gong <jgong@rbcon.com>