Alibaba RSocket Broker Testcontainers module


License

License

Categories

Categories

Container
GroupId

GroupId

com.alibaba.rsocket
ArtifactId

ArtifactId

testcontainers-rsocket-broker-module
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

Alibaba RSocket Broker Testcontainers module
Alibaba RSocket Broker Testcontainers module
Project URL

Project URL

https://github.com/alibaba-rsocket-broker/testcontainers-rsocket-broker-module
Source Code Management

Source Code Management

https://github.com/alibaba-rsocket-broker/testcontainers-rsocket-broker-module

Download testcontainers-rsocket-broker-module

How to add to project

<!-- https://jarcasting.com/artifacts/com.alibaba.rsocket/testcontainers-rsocket-broker-module/ -->
<dependency>
    <groupId>com.alibaba.rsocket</groupId>
    <artifactId>testcontainers-rsocket-broker-module</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.alibaba.rsocket/testcontainers-rsocket-broker-module/
implementation 'com.alibaba.rsocket:testcontainers-rsocket-broker-module:1.0.1'
// https://jarcasting.com/artifacts/com.alibaba.rsocket/testcontainers-rsocket-broker-module/
implementation ("com.alibaba.rsocket:testcontainers-rsocket-broker-module:1.0.1")
'com.alibaba.rsocket:testcontainers-rsocket-broker-module:jar:1.0.1'
<dependency org="com.alibaba.rsocket" name="testcontainers-rsocket-broker-module" rev="1.0.1">
  <artifact name="testcontainers-rsocket-broker-module" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.alibaba.rsocket', module='testcontainers-rsocket-broker-module', version='1.0.1')
)
libraryDependencies += "com.alibaba.rsocket" % "testcontainers-rsocket-broker-module" % "1.0.1"
[com.alibaba.rsocket/testcontainers-rsocket-broker-module "1.0.1"]

Dependencies

compile (2)

Group / Artifact Type Version
org.testcontainers : testcontainers jar 1.15.2
ch.qos.logback : logback-classic jar 1.2.3

test (3)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter jar
org.assertj : assertj-core jar 3.19.0
org.testcontainers : junit-jupiter jar

Project Modules

There are no modules declared in this project.

Alibaba RSocket Broker Testcontainers module

Quickstart

  • Add dependency in the pom.xml
<dependency>
    <groupId>com.alibaba.rsocket</groupId>
    <artifactId>testcontainers-rsocket-broker-module</artifactId>
    <version>1.0.1</version>
</dependency>
  • Add static RSocketBrokerContainer instance in test class as following:
import org.junit.jupiter.api.Test;
import org.testcontainers.junit.jupiter.Container;
import org.testcontainers.junit.jupiter.Testcontainers;

@Testcontainers
public class RSocketBrokerContainerTest {
    @Container
    static RSocketBrokerContainer rsocketBrokerContainer = new RSocketBrokerContainer();

    @Test
    public void shouldAnswerWithTrue() {
        System.out.println(rsocketBrokerContainer.getRSocketBrokerUri());
        System.out.println(rsocketBrokerContainer.getWebConsoleUri());
    }
}

References

com.alibaba.rsocket

Alibaba RSocket Broker

Alibaba RSocket Broker: Mesh, Streaming & IoT

Versions

Version
1.0.1
1.0.0