File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
testcontainers-dapr/src/main/java/io/dapr/testcontainers Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 1616import io .dapr .testcontainers .converter .ComponentYamlConverter ;
1717import io .dapr .testcontainers .converter .YamlConverter ;
1818import io .dapr .testcontainers .converter .YamlMapperFactory ;
19+ import org .slf4j .Logger ;
20+ import org .slf4j .LoggerFactory ;
1921import org .testcontainers .containers .GenericContainer ;
2022import org .testcontainers .images .builder .Transferable ;
2123import org .testcontainers .utility .DockerImageName ;
2527 * Test container for Dapr Workflow Dashboard.
2628 */
2729public class WorkflowDashboardContainer extends GenericContainer <WorkflowDashboardContainer > {
28-
30+ private static final Logger LOGGER = LoggerFactory . getLogger ( WorkflowDashboardContainer . class );
2931 private static final Yaml YAML_MAPPER = YamlMapperFactory .create ();
3032 private static final YamlConverter <Component > COMPONENT_CONVERTER = new ComponentYamlConverter (YAML_MAPPER );
3133 public static final DockerImageName DEFAULT_IMAGE_NAME = DockerImageName
@@ -77,6 +79,14 @@ public WorkflowDashboardContainer withPort(Integer port) {
7779 return this ;
7880 }
7981
82+ @ Override
83+ public void start () {
84+ super .start ();
85+
86+ LOGGER .info ("Dapr Workflow Dashboard container started." );
87+ LOGGER .info ("Access the Dashboard at: http://localhost:{}" , this .getMappedPort (dashboardPort ));
88+ }
89+
8090 public int getPort () {
8191 return dashboardPort ;
8292 }
You can’t perform that action at this time.
0 commit comments