Move container classes to their Testcontainers 2 packages

MSAL

Change Testcontainers container classes to their new package locations in Testcontainers 2.x.

org.openrewrite.java.testing.testcontainers.Testcontainers2ContainerClasses
mod run . --recipe=org.openrewrite.java.testing.testcontainers.Testcontainers2ContainerClasses

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Change type org.testcontainers.containers.BigQueryEmulatorContainer to org.testcontainers.gcloud.BigQueryEmulatorContainer
  2. Change type org.testcontainers.containers.BigtableEmulatorContainer to org.testcontainers.gcloud.BigtableEmulatorContainer
  3. Change type org.testcontainers.containers.BrowserWebDriverContainer to org.testcontainers.selenium.BrowserWebDriverContainer
  4. Change type org.testcontainers.containers.CassandraContainer to org.testcontainers.cassandra.CassandraContainer
  5. Change type org.testcontainers.containers.CockroachContainer to org.testcontainers.cockroachdb.CockroachContainer
  6. Change type org.testcontainers.containers.DatastoreEmulatorContainer to org.testcontainers.gcloud.DatastoreEmulatorContainer
  7. Change type org.testcontainers.containers.Db2Container to org.testcontainers.db2.Db2Container
  8. Change type org.testcontainers.containers.FirestoreEmulatorContainer to org.testcontainers.gcloud.FirestoreEmulatorContainer
  9. Migrate Kafka containers preserving the image provider
  10. Change type org.testcontainers.containers.localstack.LocalStackContainer to org.testcontainers.localstack.LocalStackContainer
  11. Change type org.testcontainers.containers.MariaDBContainer to org.testcontainers.mariadb.MariaDBContainer
  12. Change type org.testcontainers.containers.MockServerContainer to org.testcontainers.mockserver.MockServerContainer
  13. Change type org.testcontainers.containers.MongoDBContainer to org.testcontainers.mongodb.MongoDBContainer
  14. Change type org.testcontainers.containers.MSSQLServerContainer to org.testcontainers.mssqlserver.MSSQLServerContainer
  15. Change type org.testcontainers.containers.MySQLContainer to org.testcontainers.mysql.MySQLContainer
  16. Change type org.testcontainers.containers.Neo4jContainer to org.testcontainers.neo4j.Neo4jContainer
  17. Change type org.testcontainers.containers.NginxContainer to org.testcontainers.nginx.NginxContainer
  18. Change type org.testcontainers.containers.OrientDBContainer to org.testcontainers.orientdb.OrientDBContainer
  19. Change type org.testcontainers.containers.PostgreSQLContainer to org.testcontainers.postgresql.PostgreSQLContainer
  20. Change type org.testcontainers.containers.PubSubEmulatorContainer to org.testcontainers.gcloud.PubSubEmulatorContainer
  21. Change type org.testcontainers.containers.PulsarContainer to org.testcontainers.pulsar.PulsarContainer
  22. Change type org.testcontainers.containers.RabbitMQContainer to org.testcontainers.rabbitmq.RabbitMQContainer
  23. Change type org.testcontainers.containers.SolrContainer to org.testcontainers.solr.SolrContainer
  24. Change type org.testcontainers.containers.SpannerEmulatorContainer to org.testcontainers.gcloud.SpannerEmulatorContainer
  25. Change type org.testcontainers.containers.TiDBContainer to org.testcontainers.tidb.TiDBContainer
  26. Change type org.testcontainers.containers.ToxiproxyContainer to org.testcontainers.toxiproxy.ToxiproxyContainer
  27. Remove parameterized type arguments from a Java class org.testcontainers.gcloud.BigQueryEmulatorContainer
  28. Remove parameterized type arguments from a Java class org.testcontainers.gcloud.BigtableEmulatorContainer
  29. Remove parameterized type arguments from a Java class org.testcontainers.selenium.BrowserWebDriverContainer
  30. Remove parameterized type arguments from a Java class org.testcontainers.cassandra.CassandraContainer
  31. Remove parameterized type arguments from a Java class org.testcontainers.cockroachdb.CockroachContainer
  32. Remove parameterized type arguments from a Java class org.testcontainers.gcloud.DatastoreEmulatorContainer
  33. Remove parameterized type arguments from a Java class org.testcontainers.db2.Db2Container
  34. Remove parameterized type arguments from a Java class org.testcontainers.gcloud.FirestoreEmulatorContainer
  35. Remove parameterized type arguments from a Java class org.testcontainers.kafka.KafkaContainer
  36. Remove parameterized type arguments from a Java class org.testcontainers.localstack.LocalStackContainer
  37. Remove parameterized type arguments from a Java class org.testcontainers.mariadb.MariaDBContainer
  38. Remove parameterized type arguments from a Java class org.testcontainers.mockserver.MockServerContainer
  39. Remove parameterized type arguments from a Java class org.testcontainers.mongodb.MongoDBContainer
  40. Remove parameterized type arguments from a Java class org.testcontainers.mssqlserver.MSSQLServerContainer
  41. Remove parameterized type arguments from a Java class org.testcontainers.mysql.MySQLContainer
  42. Remove parameterized type arguments from a Java class org.testcontainers.neo4j.Neo4jContainer
  43. Remove parameterized type arguments from a Java class org.testcontainers.nginx.NginxContainer
  44. Remove parameterized type arguments from a Java class org.testcontainers.orientdb.OrientDBContainer
  45. Remove parameterized type arguments from a Java class org.testcontainers.postgresql.PostgreSQLContainer
  46. Remove parameterized type arguments from a Java class org.testcontainers.gcloud.PubSubEmulatorContainer
  47. Remove parameterized type arguments from a Java class org.testcontainers.pulsar.PulsarContainer
  48. Remove parameterized type arguments from a Java class org.testcontainers.rabbitmq.RabbitMQContainer
  49. Remove parameterized type arguments from a Java class org.testcontainers.solr.SolrContainer
  50. Remove parameterized type arguments from a Java class org.testcontainers.gcloud.SpannerEmulatorContainer
  51. Remove parameterized type arguments from a Java class org.testcontainers.tidb.TiDBContainer
  52. Remove parameterized type arguments from a Java class org.testcontainers.toxiproxy.ToxiproxyContainer
  53. Remove parameterized type arguments from a Java class org.testcontainers.trino.TrinoContainer