Class HelloApiContainerIT

java.lang.Object
info.ejava.examples.svc.docker.hello.HelloApiContainerIT

@SpringBootTest(classes=ClientTestConfiguration.class, webEnvironment=NONE) @ActiveProfiles({"test","it"}) @EnableAutoConfiguration(exclude={org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration.class,org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfiguration.class}) class HelloApiContainerIT extends Object
  • Field Details

    • anonymousUser

      @Autowired private org.springframework.web.client.RestTemplate anonymousUser
    • helloDBUrl

      private org.springframework.web.util.UriComponentsBuilder helloDBUrl
  • Constructor Details

    • HelloApiContainerIT

      HelloApiContainerIT()
  • Method Details

    • init

      @BeforeEach void init(@Autowired URI baseUrl) throws InterruptedException
      Throws:
      InterruptedException
    • waitFor

      boolean waitFor(URI waitForUrl, Duration maxWait)
    • server_can_get_jdbc_connection

      @Test void server_can_get_jdbc_connection()
    • server_can_get_mongo_connection

      @Test void server_can_get_mongo_connection()