Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Commit cb2f56a

Browse files
committed
[FAB-8860] Remove unused config lines
Change-Id: Id1cf15784b81dab9fa7356fbb686d05a823f6e62 Signed-off-by: Troy Ronda <troy@troyronda.com>
1 parent 267c094 commit cb2f56a

22 files changed

+464
-200
lines changed

pkg/client/msp/testdata/config_test.yaml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,6 @@
1010
#
1111
name: "global-trade-network"
1212

13-
#
14-
# Any properties with an "x-" prefix will be treated as application-specific, exactly like how naming
15-
# in HTTP headers or swagger properties work. The SDK will simply ignore these fields and leave
16-
# them for the applications to process. This is a mechanism for different components of an application
17-
# to exchange information that are not part of the standard schema described below. In particular,
18-
# the "x-type" property with the "hlfv1" value example below is used by Hyperledger Composer to
19-
# determine the type of Fabric networks (v0.6 vs. v1.0) it needs to work with.
20-
#
21-
x-type: "hlfv1"
22-
x-loggingLevel: info
23-
2413
#
2514
# Describe what the target network is/does.
2615
#
@@ -247,7 +236,6 @@ orderers:
247236
#TODO to be moved to high level, common for all grpc connections
248237
grpcOptions:
249238
ssl-target-name-override: orderer.example.com
250-
grpc-max-send-message-length: 15
251239
# These parameters should be set in coordination with the keepalive policy on the server,
252240
# as incompatible settings can result in closing of connection.
253241
# When duration of the 'keep-alive-time' is set to 0 or less the keep alive client parameters are disabled
@@ -277,7 +265,6 @@ peers:
277265
#TODO to be moved to high level, common for all grpc connections
278266
grpcOptions:
279267
ssl-target-name-override: peer0.org1.example.com
280-
grpc.http2.keepalive_time: 15
281268
# These parameters should be set in coordination with the keepalive policy on the server,
282269
# as incompatible settings can result in closing of connection.
283270
# When duration of the 'keep-alive-time' is set to 0 or less the keep alive client parameters are disabled

pkg/client/resmgmt/testdata/ccproposal_test.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
#
1111
name: "global-trade-network"
1212

13-
x-type: "hlfv1"
14-
x-loggingLevel: info
1513

1614
description: "The network to be in if you want to stay in the global trade business"
1715
version: 1.0.0
@@ -109,7 +107,6 @@ orderers:
109107

110108
grpcOptions:
111109
ssl-target-name-override: orderer.example.com
112-
grpc-max-send-message-length: 15
113110

114111
tlsCACerts:
115112
# Certificate location absolute path
@@ -125,7 +122,6 @@ peers:
125122

126123
grpcOptions:
127124
ssl-target-name-override:
128-
grpc.http2.keepalive_time: 15
129125

130126
tlsCACerts:
131127
# Certificate location absolute path
@@ -140,7 +136,6 @@ peers:
140136

141137
grpcOptions:
142138
ssl-target-name-override:
143-
grpc.http2.keepalive_time: 15
144139

145140
tlsCACerts:
146141
# Certificate location absolute path

pkg/client/resmgmt/testdata/event_source_missing_test.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
#
1111
name: "global-trade-network"
1212

13-
x-type: "hlfv1"
14-
x-loggingLevel: info
1513

1614
description: "The network to be in if you want to stay in the global trade business"
1715
version: 1.0.0
@@ -100,7 +98,6 @@ orderers:
10098

10199
grpcOptions:
102100
ssl-target-name-override: orderer.example.com
103-
grpc-max-send-message-length: 15
104101

105102
tlsCACerts:
106103
# Certificate location absolute path
@@ -117,7 +114,6 @@ peers:
117114

118115
grpcOptions:
119116
ssl-target-name-override:
120-
grpc.http2.keepalive_time: 15
121117

122118
tlsCACerts:
123119
# Certificate location absolute path

pkg/client/resmgmt/testdata/invalidchorderer_test.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ orderers:
6464
# they will be passed in as-is to gRPC client constructor
6565
grpcOptions:
6666
ssl-target-name-override: orderer.example.com
67-
grpc-max-send-message-length: 15
6867

6968
tlsCACerts:
7069
# Certificate location absolute path

pkg/client/resmgmt/testdata/invalidorderer_test.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ orderers:
6161

6262
grpcOptions:
6363
ssl-target-name-override: orderer.example.com
64-
grpc-max-send-message-length: 15
6564

6665
tlsCACerts:
6766
# INVALID certificate location absolute path

pkg/core/config/config_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ var configImpl *Config
3232
const (
3333
org0 = "org0"
3434
org1 = "Org1"
35-
configTestFilePath = "../../../test/fixtures/config/config_test.yaml"
35+
configTestFilePath = "testdata/config_test.yaml"
3636
configEmptyTestFilePath = "testdata/empty.yaml"
3737
configPemTestFilePath = "testdata/config_test_pem.yaml"
38-
configEmbeddedUsersTestFilePath = "../../../test/fixtures/config/config_test_embedded_pems.yaml"
38+
configEmbeddedUsersTestFilePath = "testdata/config_test_embedded_pems.yaml"
3939
configType = "yaml"
4040
defaultConfigPath = "testdata/template"
4141
)

0 commit comments

Comments
 (0)