Skip to content
Snippets Groups Projects
Commit 5c17b8e3 authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

change path to property

parent ae81b19d
No related branches found
No related tags found
1 merge request!806AWS Lambda
Showing
with 13 additions and 13 deletions
......@@ -17,7 +17,7 @@ import jakarta.inject.Singleton;
@Singleton
public class PrimingResource implements OrderedResource {
@Value("${nshmp.context-path}")
@Value("${nshmp-haz.context-path}")
String contextPath;
@Override
......
......@@ -28,7 +28,7 @@ import jakarta.inject.Inject;
name = "Swagger",
description = "Swagger OpenAPI YAML")
@Hidden
@Controller("${nshmp.context-path}/swagger")
@Controller("${nshmp-haz.context-path}/swagger")
public class SwaggerController {
@Inject
......
......@@ -23,7 +23,7 @@ import jakarta.inject.Inject;
* Handle Swagger static resources.
*/
@Controller(
value = "${nshmp.context-path}/",
value = "${nshmp-haz.context-path}/",
produces = {
MediaType.APPLICATION_YAML,
MediaType.TEXT_HTML,
......
......@@ -46,7 +46,7 @@ import jakarta.inject.Inject;
@Tag(
name = DisaggService.NAME,
description = "USGS NSHM hazard disaggregation service")
@Controller("${nshmp.context-path}/disagg")
@Controller("${nshmp-haz.context-path}/disagg")
public class DisaggController {
@Inject
......
......@@ -40,7 +40,7 @@ import jakarta.inject.Inject;
@Tag(
name = HazardService.NAME,
description = "USGS NSHM hazard calculation service")
@Controller("${nshmp.context-path}/hazard")
@Controller("${nshmp-haz.context-path}/hazard")
public class HazardController {
@Inject
......
......@@ -36,7 +36,7 @@ import jakarta.inject.Inject;
@Tag(
name = FeaturesService.NAME,
description = "USGS NSHM source model features service")
@Controller("${nshmp.context-path}/features")
@Controller("${nshmp-haz.context-path}/features")
public class FeaturesController {
@Inject
......
......@@ -34,7 +34,7 @@ import jakarta.inject.Inject;
@Tag(
name = LogicTreesService.NAME,
description = "USGS NSHM source model logic tree service")
@Controller("${nshmp.context-path}/trees")
@Controller("${nshmp-haz.context-path}/trees")
public class LogicTreesController {
@Inject
......
......@@ -39,7 +39,7 @@ import jakarta.inject.Inject;
@Tag(
name = MapController.NAME,
description = "NSHM map boundary")
@Controller("${nshmp.context-path}/map")
@Controller("${nshmp-haz.context-path}/map")
public class MapController {
static final Logger LOG = LoggerFactory.getLogger(MapController.class);
static final String NAME = "Map Boundary";
......
......@@ -40,7 +40,7 @@ import jakarta.inject.Inject;
@Tag(
name = MfdsService.NAME,
description = "USGS NSHM source model MFD service")
@Controller("${nshmp.context-path}/mfds")
@Controller("${nshmp-haz.context-path}/mfds")
public class MfdsController {
@Inject
......
......@@ -34,7 +34,7 @@ import jakarta.inject.Inject;
@Tag(
name = RateService.NAME_PROBABILITY,
description = "USGS NSHM earthquake probability calculation service")
@Controller("${nshmp.context-path}/probability")
@Controller("${nshmp-haz.context-path}/probability")
public class ProbabilityController {
@Inject
......
......@@ -34,7 +34,7 @@ import jakarta.inject.Inject;
@Tag(
name = RateService.NAME_RATE,
description = "USGS NSHM earthquake rate calculation service")
@Controller("${nshmp.context-path}/rate")
@Controller("${nshmp-haz.context-path}/rate")
public class RateController {
@Inject
......
......@@ -32,7 +32,7 @@ import jakarta.inject.Inject;
@Tag(
name = SourceService.NAME,
description = "USGS NSHM source model metadata service")
@Controller("${nshmp.context-path}/source")
@Controller("${nshmp-haz.context-path}/source")
public class SourceController {
// TODO consider renaming to /model
......
......@@ -39,7 +39,7 @@ import jakarta.inject.Inject;
@Tag(
name = TestSitesController.NAME,
description = "NSHM test sites")
@Controller("${nshmp.context-path}/sites")
@Controller("${nshmp-haz.context-path}/sites")
public class TestSitesController {
static final Logger LOG = LoggerFactory.getLogger(TestSitesController.class);
static final String NAME = "Test Sites";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment