added `spring_metrics` path
This commit is contained in:
parent
427ceed7a0
commit
66632e1f82
|
@ -17,7 +17,7 @@ import org.springframework.context.annotation.Import;
|
|||
|
||||
@Configuration
|
||||
@Import({ EndpointAutoConfiguration.class, PublicMetricsAutoConfiguration.class })
|
||||
@Path("metrics")
|
||||
@Path("spring_metrics")
|
||||
public class SpringBootActuatorConfig {
|
||||
|
||||
@Bean
|
||||
|
|
|
@ -169,6 +169,9 @@ public class StorageIDResolver {
|
|||
//Reading the content size
|
||||
size = metaFile.getSize();
|
||||
LOG.debug("Read size {} from {}", size, StorageMetadataFile.class.getSimpleName());
|
||||
}else {
|
||||
//Bug fixing #28276
|
||||
throw ExceptionManager.notFoundException(httpRequest, "Error on accessing the "+STORAGE_ID+ " '"+storageId+"'. Is it a valid id?", StorageIDResolver.class, help);
|
||||
}
|
||||
|
||||
//CHECKING TO DEFAULT METADATA
|
||||
|
|
Loading…
Reference in New Issue