mirror of
https://github.com/OpenBankProject/API-Explorer.git
synced 2026-02-06 10:47:23 +00:00
Merge remote-tracking branch 'Simon/develop' into develop
This commit is contained in:
commit
c09e886c33
@ -6,8 +6,8 @@ COPY src src
|
||||
# Copy default props file
|
||||
COPY src/main/resources/props/sample.props.template src/main/resources/props/default.props
|
||||
COPY src/main/resources/container.logback.xml.example src/main/resources/default.logback.xml
|
||||
RUN mvn -e -B dependency:resolve
|
||||
RUN mvn -e -B package
|
||||
RUN --mount=type=cache,target=/root/.m2 mvn -e -B dependency:resolve
|
||||
RUN --mount=type=cache,target=/root/.m2 mvn -e -B package
|
||||
|
||||
FROM jetty
|
||||
|
||||
|
||||
@ -707,6 +707,9 @@ object OBPRequest extends MdcLoggable {
|
||||
|
||||
addAppAccessIfNecessary.foreach(header => request.setRequestProperty(header.key, header.value))
|
||||
|
||||
// Please note that this MUST be called before we set the body of our request
|
||||
// Otherwise it can fail due to IllegalStateException("Already connected")
|
||||
// In the end we cannot see info at Request Header's Box at API Explorer
|
||||
val requestHeaders = tryo {
|
||||
addAppAccessIfNecessary.map(header => (header.key, Set(header.value))) :::
|
||||
request.getRequestProperties().asScala.mapValues(_.asScala.toSet).toList
|
||||
|
||||
Loading…
Reference in New Issue
Block a user