Commit 11ec72b2 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

template fixed

parent 2acb3c2c
Pipeline #47158 passed with stage
in 20 minutes and 43 seconds
......@@ -36,7 +36,7 @@ public class DocsController extends BaseController {
this.configurationService = configurationService;
}
@GetMapping(value = "/{page:.+}")
@GetMapping(value = "/{requestedPage:.+}")
public byte[] getTaxonomy(final @PathVariable String requestedPage) throws ObjectNotFoundException, IOException {
String page = requestedPage;
if (page == null || page.isEmpty()) {
......
......@@ -55,8 +55,7 @@ public class EndPointsInputValidationTests extends ControllerIntegrationTest {
@After
public void tearDown() throws Exception {
String file = "src/test/resources/log4j2.properties";
LoggerContext context = (org.apache.logging.log4j.core.LoggerContext) org.apache.logging.log4j.LogManager
.getContext(false);
LoggerContext context = (LoggerContext) LogManager.getContext(false);
context.setConfigLocation(new URI(file));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment