Skip to content

Commit

Permalink
[FAB-9058] add missing global cache entries
Browse files Browse the repository at this point in the history
Change-Id: I214a9f5f855e7ee6057b65603c5c259b08412527
Signed-off-by: Baha Shaaban <baha.shaaban@securekey.com>
  • Loading branch information
Baha Shaaban committed Mar 22, 2018
1 parent 1a3cfe5 commit b7343fe
Show file tree
Hide file tree
Showing 17 changed files with 39 additions and 9 deletions.
3 changes: 3 additions & 0 deletions pkg/client/msp/testdata/config_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ client:
resmgmt: 60s
cache:
connectionIdle: 30s
eventServiceIdle: 2m
channelConfig: 60s
channelMembership: 30s

# Root of the MSP directories with keys and certs.
cryptoconfig:
Expand Down
3 changes: 3 additions & 0 deletions pkg/client/resmgmt/testdata/ccproposal_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ client:
resmgmt: 60s
cache:
connectionIdle: 30s
eventServiceIdle: 2m
channelConfig: 60s
channelMembership: 30s

# Needed to load users crypto keys and certs.
cryptoconfig:
Expand Down
3 changes: 3 additions & 0 deletions pkg/client/resmgmt/testdata/event_source_missing_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ client:
resmgmt: 60s
cache:
connectionIdle: 30s
eventServiceIdle: 2m
channelConfig: 60s
channelMembership: 30s

# Needed to load users crypto keys and certs.
cryptoconfig:
Expand Down
5 changes: 3 additions & 2 deletions pkg/core/config/testdata/config_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,9 @@ client:
resmgmt: 60s
cache:
connectionIdle: 30s
eventServiceIdle: 500ms

eventServiceIdle: 2m
channelConfig: 60s
channelMembership: 30s

# Root of the MSP directories with keys and certs.
cryptoconfig:
Expand Down
5 changes: 3 additions & 2 deletions pkg/core/config/testdata/config_test_embedded_pems.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ client:
resmgmt: 60s
cache:
connectionIdle: 30s
eventServiceIdle: 30s

eventServiceIdle: 2m
channelConfig: 60s
channelMembership: 30s

# Needed to load users crypto keys and certs.
# cryptoconfig:
Expand Down
4 changes: 3 additions & 1 deletion pkg/core/config/testdata/config_test_pem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ client:
resmgmt: 60s
cache:
connectionIdle: 30s

eventServiceIdle: 2m
channelConfig: 60s
channelMembership: 30s

# Needed to load users crypto keys and certs.
cryptoconfig:
Expand Down
3 changes: 3 additions & 0 deletions pkg/core/config/testdata/template/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ client:
resmgmt: 60s
cache:
connectionIdle: 30s
eventServiceIdle: 2m
channelConfig: 60s
channelMembership: 30s

# Needed to load users crypto keys and certs.
cryptoconfig:
Expand Down
3 changes: 3 additions & 0 deletions pkg/fabsdk/testdata/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ client:
resmgmt: 60s
cache:
connectionIdle: 30s
eventServiceIdle: 2m
channelConfig: 60s
channelMembership: 30s

cryptoconfig:
path: ${GOPATH}/src/github.com/hyperledger/fabric-sdk-go/${CRYPTOCONFIG_FIXTURES_PATH}
Expand Down
3 changes: 3 additions & 0 deletions pkg/msp/testdata/config_embedded_registrar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ client:
resmgmt: 60s
cache:
connectionIdle: 30s
eventServiceIdle: 2m
channelConfig: 60s
channelMembership: 30s

# Root of the MSP directories with keys and certs.
cryptoconfig:
Expand Down
3 changes: 3 additions & 0 deletions pkg/msp/testdata/config_no_ca.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ client:
resmgmt: 60s
cache:
connectionIdle: 30s
eventServiceIdle: 2m
channelConfig: 60s
channelMembership: 30s

# Root of the MSP directories with keys and certs.
cryptoconfig:
Expand Down
3 changes: 3 additions & 0 deletions pkg/msp/testdata/config_no_registrar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ client:
resmgmt: 60s
cache:
connectionIdle: 30s
eventServiceIdle: 2m
channelConfig: 60s
channelMembership: 30s

# Root of the MSP directories with keys and certs.
cryptoconfig:
Expand Down
3 changes: 3 additions & 0 deletions pkg/msp/testdata/config_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ client:
resmgmt: 60s
cache:
connectionIdle: 30s
eventServiceIdle: 2m
channelConfig: 60s
channelMembership: 30s

# Root of the MSP directories with keys and certs.
cryptoconfig:
Expand Down
3 changes: 3 additions & 0 deletions pkg/msp/testdata/config_wrong_url.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ client:
resmgmt: 60s
cache:
connectionIdle: 30s
eventServiceIdle: 2m
channelConfig: 60s
channelMembership: 30s

# Root of the MSP directories with keys and certs.
cryptoconfig:
Expand Down
1 change: 0 additions & 1 deletion test/fixtures/config/config_pkcs11_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ client:
channelConfig: 60s
channelMembership: 30s


# Some SDKs support pluggable KV stores, the properties under "credentialStore"
# are implementation specific
credentialStore:
Expand Down
1 change: 0 additions & 1 deletion test/fixtures/config/config_revoke_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ client:
channelConfig: 60s
channelMembership: 30s


# Root of the MSP directories with keys and certs.
cryptoconfig:
path: ${GOPATH}/src/github.com/hyperledger/fabric-sdk-go/${CRYPTOCONFIG_FIXTURES_PATH}
Expand Down
1 change: 0 additions & 1 deletion test/fixtures/config/config_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ client:
channelConfig: 60s
channelMembership: 30s


# Root of the MSP directories with keys and certs.
cryptoconfig:
path: ${GOPATH}/src/github.com/hyperledger/fabric-sdk-go/${CRYPTOCONFIG_FIXTURES_PATH}
Expand Down
1 change: 0 additions & 1 deletion test/fixtures/config/config_test_no_orderer_local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ client:
channelConfig: 60s
channelMembership: 30s


# Needed to load users crypto keys and certs.
cryptoconfig:
path: ${GOPATH}/src/github.com/hyperledger/fabric-sdk-go/${CRYPTOCONFIG_FIXTURES_PATH}
Expand Down

0 comments on commit b7343fe

Please sign in to comment.