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 Summary
FieldsModifier and TypeFieldDescriptionprivate org.springframework.web.client.RestTemplateprivate org.springframework.web.util.UriComponentsBuilder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void(package private) void(package private) void(package private) boolean
-
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
- Throws:
InterruptedException
-
waitFor
-
server_can_get_jdbc_connection
@Test void server_can_get_jdbc_connection() -
server_can_get_mongo_connection
@Test void server_can_get_mongo_connection()
-