Skip to content

Commit 38b98c7

Browse files
authored
added rest api processing to OSN to update the channel configuration (#5252)
Signed-off-by: Fedor Partanskiy <[email protected]>
1 parent cfbb004 commit 38b98c7

File tree

8 files changed

+683
-30
lines changed

8 files changed

+683
-30
lines changed

cmd/osnadmin/mocks/channel_management.go

Lines changed: 97 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/osnadmin/osnadmin_suite_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ type channelManagement interface {
2121
ChannelList() types.ChannelList
2222
ChannelInfo(channelID string) (types.ChannelInfo, error)
2323
JoinChannel(channelID string, configBlock *cb.Block) (types.ChannelInfo, error)
24+
UpdateChannel(channelID string, configUpdateEnvelope *cb.Envelope) (types.ChannelInfo, error)
2425
RemoveChannel(channelID string) error
2526
}
2627

orderer/common/channelparticipation/mocks/channel_management.go

Lines changed: 97 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)