Class DiningCachingProxyApplication
java.lang.Object
edu.ucsb.cs156.diningcachingproxy.DiningCachingProxyApplication
@SpringBootApplication(excludeName="de.flapdoodle.embed.mongo.spring.autoconfigure.EmbeddedMongoAutoConfiguration")
public class DiningCachingProxyApplication
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclock()Injected wherever "now" matters (e.g. cache timestamps) so tests can pin the time.static voidorg.springframework.web.client.RestTemplate
-
Constructor Details
-
DiningCachingProxyApplication
public DiningCachingProxyApplication()
-
-
Method Details
-
main
-
restTemplate
@Bean public org.springframework.web.client.RestTemplate restTemplate() -
clock
Injected wherever "now" matters (e.g. cache timestamps) so tests can pin the time.
-