-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fabric-sdk: do not add resolvers for Fabric peers #375
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DO we need another cleanup in the fabric config?
A quick search for resolvers show a few places. Here a few pointers I question if we still need them.
@@ -85,6 +85,7 @@ func measure() { | |||
} | |||
|
|||
func TestNewAggregatorFakeInput(t *testing.T) { | |||
t.Skip() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know, but it was failing continuously for no reason 😢
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Captured this temporary disablement in #359
I didn't remove all resolvers. They are still needed to have some of the integration tests working. Let's take the |
Ok - makes sense to me. |
I understand your point but it is out of scope for this PR to change that configuration path. |
BTW Can't we use the org ca cert to check these identities? |
what do you mean? |
If Alice forms a transaction and requires Bob signature, in particular, any signature from Bob's org, for the endorsement. So instead of looking up the identity of Bob, could Alice simply check the Bob's cert (attached with the endorsement) belongs to Bob org? Anyway, this seems orthogonal to this PR. |
do you need any additional change then? :) |
@alexandrosfilios , please, have a look ASAP. Thanks :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Please angelo, rebase and squash the fixups. We would like to keep the commit for disabling the flaky test separately. :)
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
249456d
to
7eec89e
Compare
This PR updates NWO to remove from the resolvers references to Fabric peers.
The FPC integration was relaying in these resolvers. To fix this, the PR updates the FPC integration to leverage Fabric Discovery.
In addition, a flaky unit-test has been disabled.
Signed-off-by: Angelo De Caro adc@zurich.ibm.com