Skip to content

Commit a423726

Browse files
author
Jason Yellick
committed
[FAB-2163] Move orderer provisional bootstrapper
https://jira.hyperledger.org/browse/FAB-2163 This CR moves the orderer provisional bootstrapper to the common/configtx/tool directory to be used as the starting point for the configtx/tool Change-Id: I0bf349235255e7d49e4c7c2828dfd34e7e67aa57 Signed-off-by: Jason Yellick <jyellick@us.ibm.com>
1 parent a061e6d commit a423726

File tree

23 files changed

+21
-21
lines changed

23 files changed

+21
-21
lines changed

orderer/common/deliver/deliver_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ import (
2323

2424
configtxapi "github.com/hyperledger/fabric/common/configtx/api"
2525
genesisconfig "github.com/hyperledger/fabric/common/configtx/tool/localconfig"
26+
"github.com/hyperledger/fabric/common/configtx/tool/provisional"
2627
mockconfigtxorderer "github.com/hyperledger/fabric/common/mocks/configtx/handlers/orderer"
2728
mockpolicies "github.com/hyperledger/fabric/common/mocks/policies"
2829
"github.com/hyperledger/fabric/common/policies"
29-
"github.com/hyperledger/fabric/orderer/common/bootstrap/provisional"
3030
ordererledger "github.com/hyperledger/fabric/orderer/ledger"
3131
ramledger "github.com/hyperledger/fabric/orderer/ledger/ram"
3232
cb "github.com/hyperledger/fabric/protos/common"

orderer/kafka/broker_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"testing"
2121

2222
"github.com/Shopify/sarama"
23-
"github.com/hyperledger/fabric/orderer/common/bootstrap/provisional"
23+
"github.com/hyperledger/fabric/common/configtx/tool/provisional"
2424
)
2525

2626
func TestBrokerGetOffset(t *testing.T) {

orderer/kafka/chain_partition_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"strings"
2222
"testing"
2323

24-
"github.com/hyperledger/fabric/orderer/common/bootstrap/provisional"
24+
"github.com/hyperledger/fabric/common/configtx/tool/provisional"
2525
)
2626

2727
func TestChainPartition(t *testing.T) {

orderer/kafka/consumer_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ package kafka
1919
import (
2020
"testing"
2121

22-
"github.com/hyperledger/fabric/orderer/common/bootstrap/provisional"
22+
"github.com/hyperledger/fabric/common/configtx/tool/provisional"
2323
ab "github.com/hyperledger/fabric/protos/orderer"
2424
)
2525

orderer/kafka/orderer_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ import (
2323
"time"
2424

2525
"github.com/Shopify/sarama"
26+
"github.com/hyperledger/fabric/common/configtx/tool/provisional"
2627
mockconfigtxorderer "github.com/hyperledger/fabric/common/mocks/configtx/handlers/orderer"
27-
"github.com/hyperledger/fabric/orderer/common/bootstrap/provisional"
2828
"github.com/hyperledger/fabric/orderer/localconfig"
2929
mockblockcutter "github.com/hyperledger/fabric/orderer/mocks/blockcutter"
3030
mockmultichain "github.com/hyperledger/fabric/orderer/mocks/multichain"

orderer/kafka/partitioner_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"testing"
2121

2222
"github.com/Shopify/sarama"
23-
"github.com/hyperledger/fabric/orderer/common/bootstrap/provisional"
23+
"github.com/hyperledger/fabric/common/configtx/tool/provisional"
2424
)
2525

2626
func TestStaticPartitioner(t *testing.T) {

orderer/kafka/util_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"testing"
2121

2222
"github.com/Shopify/sarama"
23-
"github.com/hyperledger/fabric/orderer/common/bootstrap/provisional"
23+
"github.com/hyperledger/fabric/common/configtx/tool/provisional"
2424
"github.com/hyperledger/fabric/orderer/localconfig"
2525
"github.com/hyperledger/fabric/orderer/mocks/util"
2626
"github.com/stretchr/testify/assert"

orderer/ledger/file/fileledger_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"testing"
2424

2525
genesisconfig "github.com/hyperledger/fabric/common/configtx/tool/localconfig"
26-
"github.com/hyperledger/fabric/orderer/common/bootstrap/provisional"
26+
"github.com/hyperledger/fabric/common/configtx/tool/provisional"
2727
ordererledger "github.com/hyperledger/fabric/orderer/ledger"
2828
cb "github.com/hyperledger/fabric/protos/common"
2929
ab "github.com/hyperledger/fabric/protos/orderer"

0 commit comments

Comments
 (0)