Skip to content

Commit d97f0d6

Browse files
feature: promote module 'bitcoin-regtest' to main level
1 parent eab3a5b commit d97f0d6

File tree

28 files changed

+25
-17
lines changed

28 files changed

+25
-17
lines changed

incubator/bitcoin-regtest/bitcoin-regtest-autoconfigure/build.gradle renamed to bitcoin-regtest/bitcoin-regtest-autoconfigure/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55
description = 'bitcoin regtest autoconfigure package'
66

77
dependencies {
8-
compileOnly project(':incubator:bitcoin-regtest:bitcoin-regtest-core')
8+
compileOnly project(':bitcoin-regtest:bitcoin-regtest-core')
99

1010
implementation project(':bitcoin-jsonrpc-client:bitcoin-jsonrpc-client-autoconfigure')
1111

incubator/bitcoin-regtest/bitcoin-regtest-starter/build.gradle renamed to bitcoin-regtest/bitcoin-regtest-starter/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ plugins {
55
description = 'bitcoin regtest starter package'
66

77
dependencies {
8-
api project(':incubator:bitcoin-regtest:bitcoin-regtest-core')
9-
api project(':incubator:bitcoin-regtest:bitcoin-regtest-autoconfigure')
8+
api project(':bitcoin-regtest:bitcoin-regtest-core')
9+
api project(':bitcoin-regtest:bitcoin-regtest-autoconfigure')
1010

1111
api project(':spring-testcontainer:spring-testcontainer-bitcoind-starter')
1212
api project(':bitcoin-jsonrpc-client:bitcoin-jsonrpc-client-starter')

examples/incubator/bitcoin-electrum-gateway-example-application/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apply plugin: 'org.springframework.boot'
33
description = 'electrum gateway example application package'
44

55
dependencies {
6-
implementation project(':incubator:bitcoin-regtest:bitcoin-regtest-starter')
6+
implementation project(':bitcoin-regtest:bitcoin-regtest-starter')
77

88
implementation project(':spring-testcontainer:spring-testcontainer-electrumx-starter')
99
implementation project(':spring-testcontainer:spring-testcontainer-electrum-daemon-starter')

examples/lnd-playground-example-application/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apply plugin: 'org.springframework.boot'
33
description = 'lnd testcontainer example application package'
44

55
dependencies {
6-
implementation project(':incubator:bitcoin-regtest:bitcoin-regtest-starter')
6+
implementation project(':bitcoin-regtest:bitcoin-regtest-starter')
77

88
implementation project(':spring-testcontainer:spring-testcontainer-lnd-starter')
99
implementation project(':lnd-grpc-client:lnd-grpc-client-starter')

incubator/bitcoin-mqtt/bitcoin-mqtt-server-example-application/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description = 'bitcoin mqtt server example application package'
55
dependencies {
66
implementation project(':incubator:bitcoin-mqtt:bitcoin-mqtt-server-starter')
77

8-
implementation project(':incubator:bitcoin-regtest:bitcoin-regtest-starter')
8+
implementation project(':bitcoin-regtest:bitcoin-regtest-starter')
99

1010
implementation 'org.flywaydb:flyway-core'
1111
implementation "org.xerial:sqlite-jdbc:${sqliteVersion}"

incubator/bitcoin-mqtt/bitcoin-mqtt-server-starter/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies {
1313

1414
implementation 'org.springframework.boot:spring-boot-starter'
1515

16-
integTestImplementation project(':incubator:bitcoin-regtest:bitcoin-regtest-starter')
16+
integTestImplementation project(':bitcoin-regtest:bitcoin-regtest-starter')
1717

1818
integTestImplementation 'org.springframework.integration:spring-integration-mqtt'
1919
}

incubator/tbk-electrum-daemon-client/tbk-electrum-daemon-client-core/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dependencies {
1010
implementation "org.apache.httpcomponents:httpcore:${httpComponentsVersion}"
1111
implementation "org.apache.httpcomponents:httpclient:${httpComponentsClientVersion}"
1212

13-
integTestImplementation project(':incubator:bitcoin-regtest:bitcoin-regtest-starter')
13+
integTestImplementation project(':bitcoin-regtest:bitcoin-regtest-starter')
1414
integTestImplementation project(':spring-testcontainer:spring-testcontainer-test')
1515
integTestImplementation project(':spring-testcontainer:spring-testcontainer-electrumx-starter')
1616
integTestImplementation project(':spring-testcontainer:spring-testcontainer-electrum-daemon-starter')

readme.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -217,14 +217,22 @@ Most of these spring boot starter modules contain a simple example application.
217217
They can be used in combination with other modules like [bitcoin-jsonrpc-client](#bitcoin-jsonrpc-client),
218218
[bitcoin-zeromq-client](#bitcoin-zeromq-client), [lnd-grpc-client](#lnd-grpc-client), etc.
219219

220+
### bitcoin-regtest
221+
A module containing spring boot starters for integration and regression testing your own application.
222+
It includes functionality to create and fund addresses, send transactions, mine blocks and much more.
220223

221224
### incubator
222225
This subproject is home to all almost-ready modules.
223226

224227
#### tbk-electrum-daemon-client
225-
A module containing a spring boot starter for a [Electrum daemon](https://github.com/spesmilo/electrum) JSON-RPC API client.
228+
A module containing a spring boot starter for an [Electrum daemon](https://github.com/moquette-io/moquette) JSON-RPC API client.
226229
It can be used in combination with [spring-testcontainer-electrum-daemon-starter](#spring-testcontainer)!
227230

231+
#### spring-mqtt
232+
A module containing a spring boot starter for [Moquette](https://github.com/moquette-io/moquette) MQTT broker.
233+
234+
#### bitcoin-mqtt
235+
A module containing a spring boot starter for a broker publishing Bitcoin ZeroMQ messages via MQTT.
228236

229237
## Examples
230238
Besides, that most starter modules also have their own example applications, there are also stand-alone

settings.gradle

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ include 'bitcoin-jsonrpc-client:bitcoin-jsonrpc-client-autoconfigure'
66
include 'bitcoin-jsonrpc-client:bitcoin-jsonrpc-client-starter'
77
include 'bitcoin-jsonrpc-client:bitcoin-jsonrpc-client-example-application'
88

9+
include 'bitcoin-regtest:bitcoin-regtest-core'
10+
include 'bitcoin-regtest:bitcoin-regtest-autoconfigure'
11+
include 'bitcoin-regtest:bitcoin-regtest-starter'
12+
913
include 'bitcoin-zeromq-client:bitcoin-zeromq-client-core'
1014
include 'bitcoin-zeromq-client:bitcoin-zeromq-client-bitcoinj'
1115
include 'bitcoin-zeromq-client:bitcoin-zeromq-client-autoconfigure'
@@ -71,10 +75,6 @@ include 'incubator:bitcoin-mqtt:bitcoin-mqtt-server-autoconfigure'
7175
include 'incubator:bitcoin-mqtt:bitcoin-mqtt-server-starter'
7276
include 'incubator:bitcoin-mqtt:bitcoin-mqtt-server-example-application'
7377

74-
include 'incubator:bitcoin-regtest:bitcoin-regtest-core'
75-
include 'incubator:bitcoin-regtest:bitcoin-regtest-autoconfigure'
76-
include 'incubator:bitcoin-regtest:bitcoin-regtest-starter'
77-
7878
include 'incubator:spring-mqtt:moquette-autoconfigure'
7979
include 'incubator:spring-mqtt:moquette-starter'
8080

spring-testcontainer/spring-testcontainer-bitcoind-example-application/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apply plugin: 'org.springframework.boot'
33
description = 'bitcoin testcontainer example application package'
44

55
dependencies {
6-
implementation project(':incubator:bitcoin-regtest:bitcoin-regtest-starter')
6+
implementation project(':bitcoin-regtest:bitcoin-regtest-starter')
77

88
implementation "io.projectreactor:reactor-core"
99

spring-testcontainer/spring-testcontainer-btc-rpc-explorer-example-application/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apply plugin: 'org.springframework.boot'
33
description = 'btc-rpc-explorer testcontainer example application package'
44

55
dependencies {
6-
implementation project(':incubator:bitcoin-regtest:bitcoin-regtest-starter')
6+
implementation project(':bitcoin-regtest:bitcoin-regtest-starter')
77

88
implementation project(':spring-testcontainer:spring-testcontainer-electrumx-starter')
99
implementation project(':spring-testcontainer:spring-testcontainer-btc-rpc-explorer-starter')

spring-testcontainer/spring-testcontainer-electrum-daemon-example-application/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apply plugin: 'org.springframework.boot'
33
description = 'electrum-daemon testcontainer example application package'
44

55
dependencies {
6-
implementation project(':incubator:bitcoin-regtest:bitcoin-regtest-starter')
6+
implementation project(':bitcoin-regtest:bitcoin-regtest-starter')
77

88
implementation project(':spring-testcontainer:spring-testcontainer-lnd-starter')
99
implementation project(':lnd-grpc-client:lnd-grpc-client-starter')

spring-testcontainer/spring-testcontainer-lnd-example-application/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apply plugin: 'org.springframework.boot'
33
description = 'lnd testcontainer example application package'
44

55
dependencies {
6-
implementation project(':incubator:bitcoin-regtest:bitcoin-regtest-starter')
6+
implementation project(':bitcoin-regtest:bitcoin-regtest-starter')
77

88
implementation project(':spring-testcontainer:spring-testcontainer-lnd-starter')
99
implementation project(':lnd-grpc-client:lnd-grpc-client-starter')

0 commit comments

Comments
 (0)