Skip to content

Commit 0815602

Browse files
authored
Refactored the tests (#3)
1 parent 860f88a commit 0815602

5 files changed

Lines changed: 144 additions & 730 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,13 @@ This project uses the database plugin interface introduced in Vault version 0.7.
88

99
The plugin supports the generation of static and dynamic user roles and root credential rotation.
1010

11+
1112
## Build
1213

1314
To build this package for any platform you will need to clone this repository and cd into the repo directory and `go build -o couchbasecapella-database-plugin ./cmd/couchbasecapella-database-plugin/`.
15+
To run some of the tests, create a provisioned Capella cluster instance and run it locally similar to the below example.
16+
% go test -v -apiUrl='https://cloudapi.dev.nonprod-project-avengers.com/v4' -orgId='6af08c0a-8cab-4c1c-b257-b521575c16d0' -projectId='d352361d-8de1-445b-9969-873b6decb63a' -clusterId='92236592-9f74-475e-afeb-0609b743c41b' -adminUserAccessKey='NbMSRuuUlVNuvFCLNDVc9Hk9xvoqMbKP' -adminUserSecretKey='eNJMuUwHP95vxSftiBsjO2WPS1znWcIQlng64PKIkUjCf5#yBVWDS8tFtFnGt7es'
17+
1418

1519
## Installation
1620

connection_producer.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ func (c *couchbaseCapellaDBConnectionProducer) Init(ctx context.Context, initCon
5555

5656
c.logger = hclog.New(&hclog.LoggerOptions{})
5757
if c.rawConfig == nil {
58-
c.logger.Info("Init, setting initconfig")
5958
c.rawConfig = initConfig
6059
}
6160
decoderConfig := &mapstructure.DecoderConfig{

0 commit comments

Comments
 (0)