[
https://issues.apache.org/jira/browse/FINERACT-2628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adam Monsen updated FINERACT-2628:
----------------------------------
Description:
[EchoHeadersApiResource|https://github.com/apache/fineract/blob/8a1d848c9923da27fcc31a93faa3702cca6f666c/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/debug/EchoHeadersApiResource.java]
defines an endpoint to debug request headers. Only GET is handled in that
class, but [only POST is allowed in
SecurityConfig|https://github.com/apache/fineract/blob/8a1d848c9923da27fcc31a93faa3702cca6f666c/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/config/SecurityConfig.java#L136],
so this is dead code. It confused me. Let's destroy it. (was:
[EchoHeadersApiResource|https://github.com/apache/fineract/blob/8a1d848c9923da27fcc31a93faa3702cca6f666c/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/debug/EchoHeadersApiResource.java]
defines an endpoint to debug request headers. Only GET is handled in that
class, but [only POST is allowed in
SecurityConfig|https://github.com/apache/fineract/blob/8a1d848c9923da27fcc31a93faa3702cca6f666c/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/config/SecurityConfig.java#L136],
so this is dead code. It confused me. Let's remove it.)
> remove dead code /echo endpoint
> -------------------------------
>
> Key: FINERACT-2628
> URL: https://issues.apache.org/jira/browse/FINERACT-2628
> Project: Apache Fineract
> Issue Type: Task
> Reporter: Adam Monsen
> Priority: Trivial
> Fix For: 1.15.0
>
>
> [EchoHeadersApiResource|https://github.com/apache/fineract/blob/8a1d848c9923da27fcc31a93faa3702cca6f666c/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/debug/EchoHeadersApiResource.java]
> defines an endpoint to debug request headers. Only GET is handled in that
> class, but [only POST is allowed in
> SecurityConfig|https://github.com/apache/fineract/blob/8a1d848c9923da27fcc31a93faa3702cca6f666c/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/config/SecurityConfig.java#L136],
> so this is dead code. It confused me. Let's destroy it.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
