|
17 | 17 | public class AzureServiceBusEmulatorContainer extends GenericContainer<AzureServiceBusEmulatorContainer> { |
18 | 18 |
|
19 | 19 | private static final String CONNECTION_STRING_FORMAT = |
20 | | - "Endpoint=sb://%s:%d;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=SAS_KEY_VALUE;UseDevelopmentEmulator=true;"; |
| 20 | + "Endpoint=sb://%s:%d;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=SAS_KEY_VALUE;UseDevelopmentEmulator=true;"; |
21 | 21 |
|
22 | 22 | private static final int DEFAULT_PORT = 5672; |
23 | 23 |
|
24 | 24 | private static final DockerImageName DEFAULT_IMAGE_NAME = DockerImageName.parse( |
25 | | - "mcr.microsoft.com/azure-messaging/servicebus-emulator" |
| 25 | + "mcr.microsoft.com/azure-messaging/servicebus-emulator" |
26 | 26 | ); |
27 | 27 |
|
28 | 28 | private MSSQLServerContainer<?> msSqlServerContainer; |
@@ -51,7 +51,7 @@ public AzureServiceBusEmulatorContainer(final DockerImageName dockerImageName) { |
51 | 51 | * @return this |
52 | 52 | */ |
53 | 53 | public AzureServiceBusEmulatorContainer withMsSqlServerContainer( |
54 | | - final MSSQLServerContainer<?> msSqlServerContainer |
| 54 | + final MSSQLServerContainer<?> msSqlServerContainer |
55 | 55 | ) { |
56 | 56 | dependsOn(msSqlServerContainer); |
57 | 57 | this.msSqlServerContainer = msSqlServerContainer; |
@@ -82,9 +82,9 @@ public AzureServiceBusEmulatorContainer acceptLicense() { |
82 | 82 | protected void configure() { |
83 | 83 | if (msSqlServerContainer == null) { |
84 | 84 | throw new IllegalStateException( |
85 | | - "The image " + |
86 | | - getDockerImageName() + |
87 | | - " requires an Microsoft SQL Server container. Please provide one with the withMsSqlServerContainer method!" |
| 85 | + "The image " + |
| 86 | + getDockerImageName() + |
| 87 | + " requires a Microsoft SQL Server container. Please provide one with the withMsSqlServerContainer method!" |
88 | 88 | ); |
89 | 89 | } |
90 | 90 | withEnv("SQL_SERVER", msSqlServerContainer.getNetworkAliases().get(0)); |
|
0 commit comments