Skip to content

Commit

Permalink
Merge pull request #151 from s7techlab/upd-protos-go
Browse files Browse the repository at this point in the history
upd protos and fix discovery
  • Loading branch information
vitiko authored Jun 4, 2024
2 parents 1232e47 + 1fe00aa commit ccebf86
Show file tree
Hide file tree
Showing 16 changed files with 634 additions and 523 deletions.
7 changes: 4 additions & 3 deletions client/discovery/gossip_discovery_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"fmt"

"github.com/hyperledger/fabric-protos-go/discovery"
"github.com/hyperledger/fabric-protos-go/peer"
discClient "github.com/hyperledger/fabric/discovery/client"
)

Expand All @@ -31,8 +32,8 @@ func (s *gossipServiceDiscovery) DiscoverChaincode(ctx context.Context, ccName,
OfChannel(chanName).
AddPeersQuery().
AddConfigQuery().
AddEndorsersQuery(&discovery.ChaincodeInterest{
Chaincodes: []*discovery.ChaincodeCall{
AddEndorsersQuery(&peer.ChaincodeInterest{
Chaincodes: []*peer.ChaincodeCall{
{Name: ccName},
},
})
Expand All @@ -46,7 +47,7 @@ func (s *gossipServiceDiscovery) DiscoverChaincode(ctx context.Context, ccName,
}

chanEndorsers, err := res.ForChannel(chanName).Endorsers(discClient.InvocationChain{
&discovery.ChaincodeCall{
&peer.ChaincodeCall{
Name: ccName,
},
}, discClient.NoFilter)
Expand Down
2 changes: 1 addition & 1 deletion client/grpc/grpc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func TestNewGRPCOptionsFromConfig(t *testing.T) {
assert.NotNil(t, opts)
assert.NoError(t, err)
conn, err = grpc.DialContext(ctx, tlsConnConfig.Host, opts.Dial...)
assert.NoError(t, err)
assert.NoError(t, err, tlsConnConfig.Host)
assert.NotNil(t, conn)
cli = testpb.NewTestServiceClient(conn)
out, err = cli.EmptyCall(context.Background(), &testpb.Empty{})
Expand Down
98 changes: 49 additions & 49 deletions client/grpc/testdata/tls/ca/ca-key.pem
Original file line number Diff line number Diff line change
@@ -1,51 +1,51 @@
-----BEGIN RSA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2pfRO
4pPcNpp5+aKJgldd0auDdYd1WQ2jt4VgLRZJoMxBUDcFwAdg/l0USFUXyqRHLZa6
gKFyF5Ub5GA=
-----END CERTIFICATE REQUEST-----
54 changes: 27 additions & 27 deletions client/grpc/testdata/tls/ca/ca.pem
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
-----BEGIN CERTIFICATE-----
MIIFQzCCAyugAwIBAgIUW/QL+G/bdkeWWyYADw1HUlfTjRYwDQYJKoZIhvcNAQEN
MIIFQzCCAyugAwIBAgIUJlWQCzKjfX+2IJmivDsT2F1YW+UwDQYJKoZIhvcNAQEN
BQAwMTEKMAgGA1UEBhMBQzEKMAgGA1UEBxMBTDEXMBUGA1UEChMOSExGLVNESy1H
TyBUTFMwHhcNMjMwNTI5MTE0ODAwWhcNMjgwNTI3MTE0ODAwWjAxMQowCAYDVQQG
TyBUTFMwHhcNMjQwNjA0MTIwOTAwWhcNMzQwNjAyMTIwOTAwWjAxMQowCAYDVQQG
EwFDMQowCAYDVQQHEwFMMRcwFQYDVQQKEw5ITEYtU0RLLUdPIFRMUzCCAiIwDQYJ
KoZIhvcNAQEBBQADggIPADCCAgoCggIBAK0L4W4EplPHACx3B8f7uSNtFahq1MPZ
W8tsoMIH8JQrdfphoE/YS0ISp1yee36GclxuefqkibTaAMvsLsx7T45UPR8zvcc2
2nlkjRxGxsNh3S6CLyGX/C7qWxoYvyk+NfnLptfhqREA3ebYx9cnF89dJ3Z9PldB
xNi2mwLMX7gikFsg+b/TGW9Sp6nYQ45uT/wl4cS0kPLEuH3UHU27LsU7/qfUWedP
0hT4R3kybpzIkhNTpMZ5FSjQxmjt7GQoBI0O+t/kp1soTiAsm90W6PS9QmcJyzxP
0w6nGqEzORdkybXTMX+QziZJG6d+1fkvE75QjCHUNmZk/AbF5lCzq767BF4gfEa/
TQAnLL8p4+AS1JtBkMDrenINZV1EYFZEULa/ZBnp2bNumN1W0c3x6N0jaq3brDMO
ZfmW++Dp+qMLJcBJPLHmr1oo8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ZcQsdeT5b9anCcQTiL1CETA6+DJtWPk
s3Q96DLX8nZYhCAyTrT+S9SffOvznEWE/qaYG6da7s72ty7gclLbokrqjP/nM5zI
iO4027NmSofiJ615iVPn+GYnrEu8oNlI5omLkoXccj6CqgqZnXC3b1RtyRSyvcFn
iZTomBF0/5PcENGGN2KJ8Py2zVrQxko/jM0pwhLqqZ/wsGUOL0jvskGkod9YtjyS
b0+O67dI2rVdUoUIywP1E6e96wGAjtQzs6avQB/7NOcGueLxdFj/hClXmnn4t/UA
A0oCEqRNwj6mFT9f5vPnQeR38qjcWHad5w7NQ2YSCZEcUMeECL4kvOsaXeKDUs7F
OHAGACLMx65f+o81TWKMndwRWRQJ45lzn8HZiTbfc+m0F8jYJwFBWihFUwZErTdn
gZ/AplRZkXCI76O1QBL9Gat8vtj/y0saYxm7DSKGICJNZBA9pfD2qm/rqE47JNVY
TzadI6R4bw==
-----END CERTIFICATE-----
27 changes: 27 additions & 0 deletions client/grpc/testdata/tls/ca/cfssl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"signing": {
"default": {
"expiry": "8760h"
},
"profiles": {
"server": {
"usages": [
"signing",
"digital signing",
"key encipherment",
"server auth"
],
"expiry": "87600h"
},
"client": {
"usages": [
"signing",
"digital signature",
"key encipherment",
"client auth"
],
"expiry": "87600h"
}
}
}
}
4 changes: 4 additions & 0 deletions client/grpc/testdata/tls/ca/csr.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"CA": {
"expiry": "87600h",
"pathlen": 0
},
"hosts": [
"localhost",
"127.0.0.1"
Expand Down
Loading

0 comments on commit ccebf86

Please sign in to comment.