@Configuration class RoutingConfig extends Object
| Constructor and Description |
|---|
RoutingConfig(RoutingProperties routingProperties) |
| Modifier and Type | Method and Description |
|---|---|
(package private) static void |
downloadOsmFile(String urlString,
Path osmFile) |
(package private) com.graphhopper.reader.osm.GraphHopperOSM |
graphHopper()
Avoids creating real GraphHopper instance when running a @SpringBootTest.
|
@Autowired RoutingConfig(RoutingProperties routingProperties)
@Profile(value="!test")
@Bean
@ConditionalOnProperty(prefix="app.routing",
name="engine",
havingValue="graphhopper",
matchIfMissing=true)
com.graphhopper.reader.osm.GraphHopperOSM graphHopper()
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.