Skip to content

Commit

Permalink
Cacti image name changes and TODO mentions
Browse files Browse the repository at this point in the history
Signed-off-by: VRamakrishna <vramakr2@in.ibm.com>
  • Loading branch information
VRamakrishna committed Apr 15, 2024
1 parent 6657280 commit cdc492e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion integration/nwo/weaver/platform.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ func (p *Platform) PostRun(bool) {
Expect(err).NotTo(HaveOccurred())
destinationFabric.InvokeChaincode(cc, "CreateVerificationPolicy", raw)

// TODO: RAMA - Replace the lines below with a call to `CreateLocalMembership`
// from `"github.com/hyperledger/cacti/weaver/sdks/fabric/go-sdk/v2/membershipmanager`.
raw, err = os.ReadFile(p.RelayServerInteropMembership(sourceRelay))
Expect(err).NotTo(HaveOccurred())
destinationFabric.InvokeChaincode(cc, "CreateMembership", raw)
Expand Down Expand Up @@ -212,7 +214,9 @@ func (p *Platform) Cleanup() {

// remove all weaver related containers
err = d.Cleanup(p.NetworkID, func(name string) bool {
return strings.HasPrefix(name, "/driver") || strings.HasPrefix(name, "/relay")
return strings.HasPrefix(name, "/cacti-weaver-driver") ||
strings.HasPrefix(name, "/cacti-weaver-relay") ||
strings.HasPrefix(name, "/cacti-weaver-iin-agent")
})
Expect(err).NotTo(HaveOccurred())
}
Expand Down

0 comments on commit cdc492e

Please sign in to comment.