| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
77
|
36467
|
3349
-
3369
|
Apply
|
org.make.core.technical.IdGenerator.nextId
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.idGenerator.nextId()
|
|
77
|
49489
|
3325
-
3370
|
Apply
|
akka.http.scaladsl.server.directives.BasicDirectives.provide
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.server.directives.BasicDirectives.provide[String](MakeDirectives.this.idGenerator.nextId())
|
|
79
|
41964
|
3432
-
3458
|
Apply
|
java.lang.System.currentTimeMillis
|
org.make.api.user.adminuserapitest
|
java.lang.System.currentTimeMillis()
|
|
79
|
34369
|
3408
-
3459
|
Apply
|
akka.http.scaladsl.server.directives.BasicDirectives.provide
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.server.directives.BasicDirectives.provide[Long](java.lang.System.currentTimeMillis())
|
|
82
|
47410
|
3589
-
3617
|
Apply
|
org.make.api.technical.MakeDirectives.usesCookies
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.usesCookies(applicationName)
|
|
83
|
40914
|
3657
-
3657
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
org.make.api.user.adminuserapitest
|
util.this.Tupler.forAnyRef[Option[String]]
|
|
83
|
36221
|
3627
-
3673
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.map
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[akka.http.scaladsl.model.headers.HttpCookiePair]](MakeDirectives.this.optionalCookie(cookieName)).map[Option[String]](((x$1: Option[akka.http.scaladsl.model.headers.HttpCookiePair]) => x$1.map[String](((x$2: akka.http.scaladsl.model.headers.HttpCookiePair) => x$2.value))))(util.this.Tupler.forAnyRef[Option[String]])
|
|
83
|
48512
|
3658
-
3672
|
Apply
|
scala.Option.map
|
org.make.api.user.adminuserapitest
|
x$1.map[String](((x$2: akka.http.scaladsl.model.headers.HttpCookiePair) => x$2.value))
|
|
83
|
42997
|
3627
-
3653
|
Apply
|
akka.http.scaladsl.server.directives.CookieDirectives.optionalCookie
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.optionalCookie(cookieName)
|
|
83
|
35105
|
3664
-
3671
|
Select
|
akka.http.scaladsl.model.headers.HttpCookiePair.value
|
org.make.api.technical.makedirectivestest
|
x$2.value
|
|
83
|
49525
|
3627
-
3673
|
Block
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.map
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[akka.http.scaladsl.model.headers.HttpCookiePair]](MakeDirectives.this.optionalCookie(cookieName)).map[Option[String]](((x$1: Option[akka.http.scaladsl.model.headers.HttpCookiePair]) => x$1.map[String](((x$2: akka.http.scaladsl.model.headers.HttpCookiePair) => x$2.value))))(util.this.Tupler.forAnyRef[Option[String]])
|
|
85
|
34130
|
3693
-
3706
|
Apply
|
akka.http.scaladsl.server.directives.BasicDirectives.provide
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.provide[Option[String]](scala.None)
|
|
85
|
46896
|
3693
-
3706
|
Block
|
akka.http.scaladsl.server.directives.BasicDirectives.provide
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.provide[Option[String]](scala.None)
|
|
85
|
41399
|
3701
-
3705
|
Select
|
scala.None
|
org.make.api.technical.makedirectivestest
|
scala.None
|
|
95
|
46659
|
3924
-
4185
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.this.optionalCookieValue(MakeDirectives.this.makeSettings.SessionCookie.name, applicationName)).flatMap[(Option[String],)](((maybeCookieSessionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Session-Id.name)).map[Option[String]](((maybeHeaderSessionId: Option[String]) => maybeCookieSessionId.orElse[String](maybeHeaderSessionId)))(util.this.Tupler.forAnyRef[Option[String]])))(util.this.Tuple.forTuple1[Option[String]])
|
|
95
|
42738
|
3980
-
4011
|
Select
|
org.make.api.extensions.MakeSettings.SessionCookie.name
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.makeSettings.SessionCookie.name
|
|
95
|
33550
|
3957
-
3957
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[Option[String]]
|
|
95
|
34611
|
3960
-
4029
|
Apply
|
org.make.api.technical.MakeDirectives.optionalCookieValue
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.optionalCookieValue(MakeDirectives.this.makeSettings.SessionCookie.name, applicationName)
|
|
96
|
41164
|
4036
-
4185
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.map
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Session-Id.name)).map[Option[String]](((maybeHeaderSessionId: Option[String]) => maybeCookieSessionId.orElse[String](maybeHeaderSessionId)))(util.this.Tupler.forAnyRef[Option[String]])
|
|
96
|
47949
|
4103
-
4122
|
Select
|
org.make.api.technical.X-Session-Id.name
|
org.make.api.user.adminuserapitest
|
X-Session-Id.name
|
|
96
|
40666
|
4060
-
4123
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Session-Id.name)
|
|
96
|
49279
|
4057
-
4057
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
org.make.api.user.adminuserapitest
|
util.this.Tupler.forAnyRef[Option[String]]
|
|
97
|
47697
|
4190
-
4190
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
org.make.api.user.adminuserapitest
|
util.this.Tupler.forAnyRef[Option[org.make.core.session.SessionId]]
|
|
97
|
34647
|
4191
-
4210
|
Apply
|
scala.Option.map
|
org.make.api.user.adminuserapitest
|
x$3.map[org.make.core.session.SessionId](((x$4: String) => org.make.core.session.SessionId.apply(x$4)))
|
|
97
|
36256
|
4136
-
4185
|
Apply
|
scala.Option.orElse
|
org.make.api.user.adminuserapitest
|
maybeCookieSessionId.orElse[String](maybeHeaderSessionId)
|
|
97
|
42775
|
4197
-
4209
|
Apply
|
org.make.core.session.SessionId.apply
|
org.make.api.technical.makedirectivestest
|
org.make.core.session.SessionId.apply(x$4)
|
|
97
|
40870
|
3924
-
4211
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.map
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[String]](server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.this.optionalCookieValue(MakeDirectives.this.makeSettings.SessionCookie.name, applicationName)).flatMap[(Option[String],)](((maybeCookieSessionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Session-Id.name)).map[Option[String]](((maybeHeaderSessionId: Option[String]) => maybeCookieSessionId.orElse[String](maybeHeaderSessionId)))(util.this.Tupler.forAnyRef[Option[String]])))(util.this.Tuple.forTuple1[Option[String]])).map[Option[org.make.core.session.SessionId]](((x$3: Option[String]) => x$3.map[org.make.core.session.SessionId](((x$4: String) => org.make.core.session.SessionId.apply(x$4)))))(util.this.Tupler.forAnyRef[Option[org.make.core.session.SessionId]])
|
|
101
|
32264
|
4316
-
4347
|
Apply
|
org.make.api.technical.MakeDirectives.maybeSessionId
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.maybeSessionId(applicationName)
|
|
101
|
34118
|
4356
-
4356
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.session.SessionId]
|
|
101
|
47147
|
4316
-
4734
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[org.make.core.session.SessionId]](MakeDirectives.this.maybeSessionId(applicationName)).flatMap[(org.make.core.session.SessionId,)](((x0$1: Option[org.make.core.session.SessionId]) => x0$1 match {
case scala.None => MakeDirectives.this.provide[org.make.core.session.SessionId](MakeDirectives.this.idGenerator.nextSessionId())
case (value: org.make.core.session.SessionId): Some[org.make.core.session.SessionId]((id @ _)) => {
val newSessionId: org.make.core.session.SessionId = MakeDirectives.this.idGenerator.nextSessionId();
server.this.Directive.SingleValueTransformers[scala.util.Try[org.make.core.session.SessionId]](MakeDirectives.this.onComplete[org.make.core.session.SessionId](MakeDirectives.this.sessionHistoryCoordinatorService.getCurrentSessionId(id, newSessionId))).flatMap[(org.make.core.session.SessionId,)](((x0$2: scala.util.Try[org.make.core.session.SessionId]) => x0$2 match {
case (value: org.make.core.session.SessionId): scala.util.Success[org.make.core.session.SessionId]((currentSessionId @ _)) => MakeDirectives.this.provide[org.make.core.session.SessionId](currentSessionId)
case (exception: Throwable): scala.util.Failure[org.make.core.session.SessionId]((e @ _)) => server.this.StandardRoute.toDirective[(org.make.core.session.SessionId,)](MakeDirectives.this.failWith(e))(util.this.Tuple.forTuple1[org.make.core.session.SessionId])
}))(util.this.Tuple.forTuple1[org.make.core.session.SessionId])
}
}))(util.this.Tuple.forTuple1[org.make.core.session.SessionId])
|
|
102
|
41196
|
4377
-
4413
|
Apply
|
akka.http.scaladsl.server.directives.BasicDirectives.provide
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.provide[org.make.core.session.SessionId](MakeDirectives.this.idGenerator.nextSessionId())
|
|
102
|
49315
|
4385
-
4412
|
Apply
|
org.make.core.technical.IdGenerator.nextSessionId
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.idGenerator.nextSessionId()
|
|
104
|
33302
|
4464
-
4491
|
Apply
|
org.make.core.technical.IdGenerator.nextSessionId
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.idGenerator.nextSessionId()
|
|
105
|
48824
|
4591
-
4591
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.technical.makedirectivestest
|
util.this.Tuple.forTuple1[org.make.core.session.SessionId]
|
|
105
|
47400
|
4511
-
4581
|
Apply
|
org.make.api.sessionhistory.SessionHistoryCoordinatorService.getCurrentSessionId
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.sessionHistoryCoordinatorService.getCurrentSessionId(id, newSessionId)
|
|
105
|
42256
|
4500
-
4728
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.technical.makedirectivestest
|
server.this.Directive.SingleValueTransformers[scala.util.Try[org.make.core.session.SessionId]](MakeDirectives.this.onComplete[org.make.core.session.SessionId](MakeDirectives.this.sessionHistoryCoordinatorService.getCurrentSessionId(id, newSessionId))).flatMap[(org.make.core.session.SessionId,)](((x0$2: scala.util.Try[org.make.core.session.SessionId]) => x0$2 match {
case (value: org.make.core.session.SessionId): scala.util.Success[org.make.core.session.SessionId]((currentSessionId @ _)) => MakeDirectives.this.provide[org.make.core.session.SessionId](currentSessionId)
case (exception: Throwable): scala.util.Failure[org.make.core.session.SessionId]((e @ _)) => server.this.StandardRoute.toDirective[(org.make.core.session.SessionId,)](MakeDirectives.this.failWith(e))(util.this.Tuple.forTuple1[org.make.core.session.SessionId])
}))(util.this.Tuple.forTuple1[org.make.core.session.SessionId])
|
|
105
|
42536
|
4500
-
4582
|
Apply
|
akka.http.scaladsl.server.directives.FutureDirectives.onComplete
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.onComplete[org.make.core.session.SessionId](MakeDirectives.this.sessionHistoryCoordinatorService.getCurrentSessionId(id, newSessionId))
|
|
106
|
35718
|
4637
-
4662
|
Apply
|
akka.http.scaladsl.server.directives.BasicDirectives.provide
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.provide[org.make.core.session.SessionId](currentSessionId)
|
|
107
|
33010
|
4707
-
4718
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.StandardRoute.toDirective
|
|
server.this.StandardRoute.toDirective[(org.make.core.session.SessionId,)](MakeDirectives.this.failWith(e))(util.this.Tuple.forTuple1[org.make.core.session.SessionId])
|
|
107
|
40619
|
4715
-
4715
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
|
util.this.Tuple.forTuple1[org.make.core.session.SessionId]
|
|
107
|
47734
|
4707
-
4718
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.failWith
|
|
MakeDirectives.this.failWith(e)
|
|
118
|
34442
|
4923
-
4970
|
Apply
|
akka.http.scaladsl.server.directives.CookieDirectives.optionalCookie
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.optionalCookie(MakeDirectives.this.makeSettings.VisitorCookie.name)
|
|
118
|
39564
|
4938
-
4969
|
Select
|
org.make.api.extensions.MakeSettings.VisitorCookie.name
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.makeSettings.VisitorCookie.name
|
|
118
|
34889
|
4887
-
5178
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[akka.http.scaladsl.model.headers.HttpCookiePair]](MakeDirectives.this.optionalCookie(MakeDirectives.this.makeSettings.VisitorCookie.name)).flatMap[(String,)](((maybeCookieVisitorId: Option[akka.http.scaladsl.model.headers.HttpCookiePair]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Visitor-Id.name)).map[String](((maybeVisitorId: Option[String]) => maybeCookieVisitorId.map[String](((x$5: akka.http.scaladsl.model.headers.HttpCookiePair) => x$5.value)).orElse[String](maybeVisitorId).getOrElse[String](MakeDirectives.this.idGenerator.nextVisitorId().value)))(util.this.Tupler.forAnyRef[String])))(util.this.Tuple.forTuple1[String])
|
|
118
|
39063
|
4920
-
4920
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[String]
|
|
119
|
33882
|
4998
-
4998
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
org.make.api.user.adminuserapitest
|
util.this.Tupler.forAnyRef[String]
|
|
119
|
47187
|
4977
-
5178
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.map
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Visitor-Id.name)).map[String](((maybeVisitorId: Option[String]) => maybeCookieVisitorId.map[String](((x$5: akka.http.scaladsl.model.headers.HttpCookiePair) => x$5.value)).orElse[String](maybeVisitorId).getOrElse[String](MakeDirectives.this.idGenerator.nextVisitorId().value)))(util.this.Tupler.forAnyRef[String])
|
|
119
|
40652
|
5001
-
5064
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Visitor-Id.name)
|
|
119
|
48795
|
5044
-
5063
|
Select
|
org.make.api.technical.X-Visitor-Id.name
|
org.make.api.user.adminuserapitest
|
X-Visitor-Id.name
|
|
120
|
49267
|
5144
-
5177
|
Select
|
org.make.core.session.VisitorId.value
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.idGenerator.nextVisitorId().value
|
|
120
|
33046
|
5102
-
5109
|
Select
|
akka.http.scaladsl.model.headers.HttpCookiePair.value
|
|
x$5.value
|
|
120
|
40988
|
5077
-
5178
|
Apply
|
scala.Option.getOrElse
|
org.make.api.user.adminuserapitest
|
maybeCookieVisitorId.map[String](((x$5: akka.http.scaladsl.model.headers.HttpCookiePair) => x$5.value)).orElse[String](maybeVisitorId).getOrElse[String](MakeDirectives.this.idGenerator.nextVisitorId().value)
|
|
125
|
48297
|
5287
-
5327
|
Select
|
org.make.api.extensions.MakeSettings.VisitorCookie.createdAtName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.makeSettings.VisitorCookie.createdAtName
|
|
125
|
45354
|
5240
-
5620
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[akka.http.scaladsl.model.headers.HttpCookiePair]](MakeDirectives.this.optionalCookie(MakeDirectives.this.makeSettings.VisitorCookie.createdAtName)).flatMap[(java.time.ZonedDateTime,)](((maybeCookieValue: Option[akka.http.scaladsl.model.headers.HttpCookiePair]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Visitor-CreatedAt.name)).map[java.time.ZonedDateTime](((maybeHeaderValue: Option[String]) => maybeCookieValue.map[String](((x$6: akka.http.scaladsl.model.headers.HttpCookiePair) => x$6.value)).orElse[String](maybeHeaderValue).flatMap[java.time.ZonedDateTime](((creation: String) => scala.util.Try.apply[java.time.ZonedDateTime](java.time.ZonedDateTime.parse(creation)).toOption)).getOrElse[java.time.ZonedDateTime](org.make.core.DateHelper.now())))(util.this.Tupler.forAnyRef[java.time.ZonedDateTime])))(util.this.Tuple.forTuple1[java.time.ZonedDateTime])
|
|
125
|
32293
|
5269
-
5269
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[java.time.ZonedDateTime]
|
|
125
|
40412
|
5272
-
5328
|
Apply
|
akka.http.scaladsl.server.directives.CookieDirectives.optionalCookie
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.optionalCookie(MakeDirectives.this.makeSettings.VisitorCookie.createdAtName)
|
|
126
|
48746
|
5352
-
5352
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
org.make.api.user.adminuserapitest
|
util.this.Tupler.forAnyRef[java.time.ZonedDateTime]
|
|
126
|
32797
|
5389
-
5415
|
Select
|
org.make.api.technical.X-Visitor-CreatedAt.name
|
org.make.api.user.adminuserapitest
|
X-Visitor-CreatedAt.name
|
|
126
|
49306
|
5355
-
5416
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptyHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptyHeaderValueByName(X-Visitor-CreatedAt.name)
|
|
126
|
40445
|
5335
-
5620
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.map
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Visitor-CreatedAt.name)).map[java.time.ZonedDateTime](((maybeHeaderValue: Option[String]) => maybeCookieValue.map[String](((x$6: akka.http.scaladsl.model.headers.HttpCookiePair) => x$6.value)).orElse[String](maybeHeaderValue).flatMap[java.time.ZonedDateTime](((creation: String) => scala.util.Try.apply[java.time.ZonedDateTime](java.time.ZonedDateTime.parse(creation)).toOption)).getOrElse[java.time.ZonedDateTime](org.make.core.DateHelper.now())))(util.this.Tupler.forAnyRef[java.time.ZonedDateTime])
|
|
129
|
41442
|
5467
-
5474
|
Select
|
akka.http.scaladsl.model.headers.HttpCookiePair.value
|
|
x$6.value
|
|
131
|
33912
|
5543
-
5572
|
Apply
|
java.time.ZonedDateTime.parse
|
|
java.time.ZonedDateTime.parse(creation)
|
|
131
|
47223
|
5539
-
5582
|
Select
|
scala.util.Try.toOption
|
|
scala.util.Try.apply[java.time.ZonedDateTime](java.time.ZonedDateTime.parse(creation)).toOption
|
|
132
|
38818
|
5603
-
5619
|
Apply
|
org.make.core.DefaultDateHelper.now
|
org.make.api.user.adminuserapitest
|
org.make.core.DateHelper.now()
|
|
132
|
34927
|
5437
-
5620
|
Apply
|
scala.Option.getOrElse
|
org.make.api.user.adminuserapitest
|
maybeCookieValue.map[String](((x$6: akka.http.scaladsl.model.headers.HttpCookiePair) => x$6.value)).orElse[String](maybeHeaderValue).flatMap[java.time.ZonedDateTime](((creation: String) => scala.util.Try.apply[java.time.ZonedDateTime](java.time.ZonedDateTime.parse(creation)).toOption)).getOrElse[java.time.ZonedDateTime](org.make.core.DateHelper.now())
|
|
137
|
33333
|
5767
-
5831
|
Block
|
org.make.api.technical.MakeDirectives.checkMandatoryConnectionEndpointAccess
|
|
MakeDirectives.this.checkMandatoryConnectionEndpointAccess(userRights, endpointType)
|
|
137
|
42246
|
5767
-
5831
|
Apply
|
org.make.api.technical.MakeDirectives.checkMandatoryConnectionEndpointAccess
|
|
MakeDirectives.this.checkMandatoryConnectionEndpointAccess(userRights, endpointType)
|
|
139
|
46975
|
5851
-
5855
|
Select
|
akka.http.scaladsl.server.directives.BasicDirectives.pass
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.pass
|
|
139
|
38855
|
5851
-
5855
|
Block
|
akka.http.scaladsl.server.directives.BasicDirectives.pass
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.pass
|
|
145
|
34690
|
6049
-
6053
|
Select
|
akka.http.scaladsl.server.directives.BasicDirectives.pass
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.pass
|
|
146
|
45394
|
6090
-
6126
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.StandardRoute.toDirective
|
org.make.api.technical.makedirectivestest
|
server.this.StandardRoute.toDirective[Unit](MakeDirectives.this.reject(akka.http.scaladsl.server.AuthorizationFailedRejection))(util.this.Tuple.forUnit[Nothing])
|
|
146
|
39885
|
6090
-
6126
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.reject
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.reject(akka.http.scaladsl.server.AuthorizationFailedRejection)
|
|
146
|
48784
|
6097
-
6125
|
Select
|
akka.http.scaladsl.server.AuthorizationFailedRejection
|
org.make.api.technical.makedirectivestest
|
akka.http.scaladsl.server.AuthorizationFailedRejection
|
|
146
|
32048
|
6096
-
6096
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forUnit
|
org.make.api.technical.makedirectivestest
|
util.this.Tuple.forUnit[Nothing]
|
|
149
|
42005
|
6242
-
6246
|
Select
|
akka.http.scaladsl.server.directives.BasicDirectives.pass
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.pass
|
|
151
|
34403
|
6354
-
6387
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.reject
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.reject(EmailNotVerifiedRejection)
|
|
151
|
38610
|
6354
-
6387
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.StandardRoute.toDirective
|
org.make.api.technical.makedirectivestest
|
server.this.StandardRoute.toDirective[Unit](MakeDirectives.this.reject(EmailNotVerifiedRejection))(util.this.Tuple.forUnit[Nothing])
|
|
151
|
47174
|
6360
-
6360
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forUnit
|
org.make.api.technical.makedirectivestest
|
util.this.Tuple.forUnit[Nothing]
|
|
153
|
33123
|
6423
-
6530
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.StandardRoute.toDirective
|
org.make.api.technical.makedirectivestest
|
server.this.StandardRoute.toDirective[Unit](MakeDirectives.this.reject(akka.http.scaladsl.server.AuthenticationFailedRejection.apply(akka.http.scaladsl.server.AuthenticationFailedRejection.CredentialsMissing, akka.http.scaladsl.model.headers.HttpChallenges.oAuth2(MakeDirectives.this.realm))))(util.this.Tuple.forUnit[Nothing])
|
|
153
|
47517
|
6522
-
6527
|
Select
|
org.make.api.technical.auth.MakeAuthentication.realm
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.realm
|
|
153
|
34723
|
6468
-
6486
|
Select
|
akka.http.scaladsl.server.AuthenticationFailedRejection.CredentialsMissing
|
org.make.api.technical.makedirectivestest
|
akka.http.scaladsl.server.AuthenticationFailedRejection.CredentialsMissing
|
|
153
|
42040
|
6429
-
6429
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forUnit
|
org.make.api.technical.makedirectivestest
|
util.this.Tuple.forUnit[Nothing]
|
|
153
|
45147
|
6423
-
6530
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.reject
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.reject(akka.http.scaladsl.server.AuthenticationFailedRejection.apply(akka.http.scaladsl.server.AuthenticationFailedRejection.CredentialsMissing, akka.http.scaladsl.model.headers.HttpChallenges.oAuth2(MakeDirectives.this.realm)))
|
|
153
|
40948
|
6500
-
6528
|
Apply
|
akka.http.scaladsl.model.headers.HttpChallenges.oAuth2
|
org.make.api.technical.makedirectivestest
|
akka.http.scaladsl.model.headers.HttpChallenges.oAuth2(MakeDirectives.this.realm)
|
|
153
|
32786
|
6430
-
6529
|
Apply
|
akka.http.scaladsl.server.AuthenticationFailedRejection.apply
|
org.make.api.technical.makedirectivestest
|
akka.http.scaladsl.server.AuthenticationFailedRejection.apply(akka.http.scaladsl.server.AuthenticationFailedRejection.CredentialsMissing, akka.http.scaladsl.model.headers.HttpChallenges.oAuth2(MakeDirectives.this.realm))
|
|
159
|
46930
|
6693
-
7010
|
Apply
|
scala.collection.IterableFactory.apply
|
org.make.api.user.adminuserapitest
|
scala.Predef.Set.apply[String]("source", "utm_campaign", "utm_content", "utm_medium", "utm_source", "utm_term", "country", "introCard", "pushProposal", "question", "signUpCard", "firstProposal", "widgetId", "language", "questionSlug", "hash")
|
|
179
|
39347
|
7056
-
7060
|
Select
|
akka.http.scaladsl.server.directives.BasicDirectives.pass
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.pass
|
|
181
|
31519
|
7159
-
7177
|
Select
|
scala.collection.IterableOnceOps.size
|
org.make.api.technical.makedirectivestest
|
values.keySet.size
|
|
181
|
48583
|
7101
-
7177
|
Apply
|
scala.Int.!=
|
org.make.api.technical.makedirectivestest
|
values.keySet.&(getParametersHeaderAllowedValues).size.!=(values.keySet.size)
|
|
182
|
40435
|
7189
-
7219
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.reject
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.reject(GetParametersRejection)
|
|
182
|
32542
|
7195
-
7195
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forUnit
|
org.make.api.technical.makedirectivestest
|
util.this.Tuple.forUnit[Nothing]
|
|
182
|
45895
|
7189
-
7219
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.StandardRoute.toDirective
|
org.make.api.technical.makedirectivestest
|
server.this.StandardRoute.toDirective[Unit](MakeDirectives.this.reject(GetParametersRejection))(util.this.Tuple.forUnit[Nothing])
|
|
182
|
42076
|
7189
-
7219
|
Block
|
akka.http.scaladsl.server.StandardRoute.toDirective
|
org.make.api.technical.makedirectivestest
|
server.this.StandardRoute.toDirective[Unit](MakeDirectives.this.reject(GetParametersRejection))(util.this.Tuple.forUnit[Nothing])
|
|
183
|
34197
|
7233
-
7237
|
Select
|
akka.http.scaladsl.server.directives.BasicDirectives.pass
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.pass
|
|
183
|
46966
|
7233
-
7237
|
Block
|
akka.http.scaladsl.server.directives.BasicDirectives.pass
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.pass
|
|
191
|
39130
|
7390
-
8613
|
Apply
|
scala.Function2.apply
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.addDefaultCookies.apply(applicationName, scala.`package`.Seq.apply[Option[akka.http.scaladsl.model.headers.HttpCookie]](tokenRefreshed.map[akka.http.scaladsl.model.headers.HttpCookie](((token: org.make.core.auth.Token) => {
<artifact> val x$1: String = MakeDirectives.this.makeSettings.SecureCookie.name;
<artifact> val x$2: String = token.accessToken;
<artifact> val x$3: Boolean = MakeDirectives.this.makeSettings.SecureCookie.isSecure;
<artifact> val x$4: Boolean(true) = true;
<artifact> val x$5: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](java.lang.Math.max(token.refreshExpiresIn, token.expiresIn).toLong);
<artifact> val x$6: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$7: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$1, x$2, x$7, x$5, x$8, x$6, x$3, true, x$9)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict))), tokenRefreshed.map[akka.http.scaladsl.model.headers.HttpCookie](((token: org.make.core.auth.Token) => {
<artifact> val x$10: String = MakeDirectives.this.makeSettings.SecureCookie.expirationName;
<artifact> val x$11: String = org.make.core.DateHelper.format(token.createdAt.getOrElse[java.time.ZonedDateTime](org.make.core.DateHelper.now()).plusSeconds(token.refreshExpiresIn.toLong));
<artifact> val x$12: Boolean = MakeDirectives.this.makeSettings.SecureCookie.isSecure;
<artifact> val x$13: Boolean(false) = false;
<artifact> val x$14: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds);
<artifact> val x$15: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$16: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$10, x$11, x$16, x$14, x$17, x$15, x$12, false, x$18)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict)))).collect[akka.http.scaladsl.model.headers.HttpCookie](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[Option[akka.http.scaladsl.model.headers.HttpCookie],akka.http.scaladsl.model.headers.HttpCookie] with java.io.Serializable {
def <init>(): <$anon: Option[akka.http.scaladsl.model.headers.HttpCookie] => akka.http.scaladsl.model.headers.HttpCookie> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: Option[akka.http.scaladsl.model.headers.HttpCookie], B1 >: akka.http.scaladsl.model.headers.HttpCookie](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[Option[akka.http.scaladsl.model.headers.HttpCookie]]: Option[akka.http.scaladsl.model.headers.HttpCookie]): Option[akka.http.scaladsl.model.headers.HttpCookie] @unchecked) match {
case (value: akka.http.scaladsl.model.headers.HttpCookie): Some[akka.http.scaladsl.model.headers.HttpCookie]((cookie @ _)) => cookie
case (defaultCase$ @ _) => default.apply(x1)
};
final def isDefinedAt(x1: Option[akka.http.scaladsl.model.headers.HttpCookie]): Boolean = ((x1.asInstanceOf[Option[akka.http.scaladsl.model.headers.HttpCookie]]: Option[akka.http.scaladsl.model.headers.HttpCookie]): Option[akka.http.scaladsl.model.headers.HttpCookie] @unchecked) match {
case (value: akka.http.scaladsl.model.headers.HttpCookie): Some[akka.http.scaladsl.model.headers.HttpCookie]((cookie @ _)) => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[Option[akka.http.scaladsl.model.headers.HttpCookie],akka.http.scaladsl.model.headers.HttpCookie])))
|
|
194
|
37545
|
7451
-
8077
|
Apply
|
scala.Option.map
|
org.make.api.user.adminuserapitest
|
tokenRefreshed.map[akka.http.scaladsl.model.headers.HttpCookie](((token: org.make.core.auth.Token) => {
<artifact> val x$1: String = MakeDirectives.this.makeSettings.SecureCookie.name;
<artifact> val x$2: String = token.accessToken;
<artifact> val x$3: Boolean = MakeDirectives.this.makeSettings.SecureCookie.isSecure;
<artifact> val x$4: Boolean(true) = true;
<artifact> val x$5: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](java.lang.Math.max(token.refreshExpiresIn, token.expiresIn).toLong);
<artifact> val x$6: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$7: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$1, x$2, x$7, x$5, x$8, x$6, x$3, true, x$9)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict)))
|
|
196
|
47770
|
7502
-
7502
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$9
|
org.make.api.technical.makedirectivestest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$9
|
|
196
|
39142
|
7502
-
7502
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$3
|
org.make.api.technical.makedirectivestest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$3
|
|
196
|
40227
|
7502
-
8037
|
Apply
|
akka.http.scaladsl.model.headers.HttpCookie.apply
|
org.make.api.technical.makedirectivestest
|
akka.http.scaladsl.model.headers.HttpCookie.apply(x$1, x$2, x$7, x$5, x$8, x$6, x$3, true, x$9)
|
|
196
|
30977
|
7502
-
7502
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$5
|
org.make.api.technical.makedirectivestest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$5
|
|
197
|
39105
|
7535
-
7565
|
Select
|
org.make.api.extensions.MakeSettings.SecureCookie.name
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.makeSettings.SecureCookie.name
|
|
198
|
30935
|
7589
-
7606
|
Select
|
org.make.core.auth.Token.accessToken
|
org.make.api.technical.makedirectivestest
|
token.accessToken
|
|
199
|
48615
|
7631
-
7665
|
Select
|
org.make.api.extensions.MakeSettings.SecureCookie.isSecure
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.makeSettings.SecureCookie.isSecure
|
|
200
|
40192
|
7692
-
7696
|
Literal
|
<nosymbol>
|
org.make.api.technical.makedirectivestest
|
true
|
|
203
|
45382
|
7974
-
7989
|
Select
|
org.make.core.auth.Token.expiresIn
|
org.make.api.technical.makedirectivestest
|
token.expiresIn
|
|
203
|
32573
|
7950
-
7972
|
Select
|
org.make.core.auth.Token.refreshExpiresIn
|
org.make.api.technical.makedirectivestest
|
token.refreshExpiresIn
|
|
203
|
37512
|
7941
-
7990
|
Select
|
scala.Int.toLong
|
org.make.api.technical.makedirectivestest
|
java.lang.Math.max(token.refreshExpiresIn, token.expiresIn).toLong
|
|
203
|
33689
|
7936
-
7991
|
Apply
|
scala.Some.apply
|
org.make.api.technical.makedirectivestest
|
scala.Some.apply[Long](java.lang.Math.max(token.refreshExpiresIn, token.expiresIn).toLong)
|
|
204
|
46737
|
8014
-
8023
|
Apply
|
scala.Some.apply
|
org.make.api.technical.makedirectivestest
|
scala.Some.apply[String]("/")
|
|
205
|
45136
|
7502
-
8067
|
Apply
|
akka.http.scaladsl.model.headers.HttpCookie.withSameSite
|
org.make.api.technical.makedirectivestest
|
{
<artifact> val x$1: String = MakeDirectives.this.makeSettings.SecureCookie.name;
<artifact> val x$2: String = token.accessToken;
<artifact> val x$3: Boolean = MakeDirectives.this.makeSettings.SecureCookie.isSecure;
<artifact> val x$4: Boolean(true) = true;
<artifact> val x$5: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](java.lang.Math.max(token.refreshExpiresIn, token.expiresIn).toLong);
<artifact> val x$6: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$7: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$1, x$2, x$7, x$5, x$8, x$6, x$3, true, x$9)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict)
|
|
205
|
32336
|
8051
-
8066
|
Select
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
org.make.api.technical.makedirectivestest
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
|
207
|
37342
|
8087
-
8559
|
Apply
|
scala.Option.map
|
org.make.api.user.adminuserapitest
|
tokenRefreshed.map[akka.http.scaladsl.model.headers.HttpCookie](((token: org.make.core.auth.Token) => {
<artifact> val x$10: String = MakeDirectives.this.makeSettings.SecureCookie.expirationName;
<artifact> val x$11: String = org.make.core.DateHelper.format(token.createdAt.getOrElse[java.time.ZonedDateTime](org.make.core.DateHelper.now()).plusSeconds(token.refreshExpiresIn.toLong));
<artifact> val x$12: Boolean = MakeDirectives.this.makeSettings.SecureCookie.isSecure;
<artifact> val x$13: Boolean(false) = false;
<artifact> val x$14: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds);
<artifact> val x$15: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$16: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$10, x$11, x$16, x$14, x$17, x$15, x$12, false, x$18)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict)))
|
|
209
|
44613
|
8138
-
8138
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$9
|
org.make.api.technical.makedirectivestest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$9
|
|
209
|
30760
|
8138
-
8138
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$5
|
org.make.api.technical.makedirectivestest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$5
|
|
209
|
39098
|
8138
-
8138
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$3
|
org.make.api.technical.makedirectivestest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$3
|
|
209
|
40732
|
8138
-
8519
|
Apply
|
akka.http.scaladsl.model.headers.HttpCookie.apply
|
org.make.api.technical.makedirectivestest
|
akka.http.scaladsl.model.headers.HttpCookie.apply(x$10, x$11, x$16, x$14, x$17, x$15, x$12, false, x$18)
|
|
210
|
34152
|
8171
-
8211
|
Select
|
org.make.api.extensions.MakeSettings.SecureCookie.expirationName
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.makeSettings.SecureCookie.expirationName
|
|
211
|
38638
|
8309
-
8331
|
Select
|
scala.Int.toLong
|
org.make.api.technical.makedirectivestest
|
token.refreshExpiresIn.toLong
|
|
211
|
46763
|
8279
-
8295
|
Apply
|
org.make.core.DefaultDateHelper.now
|
org.make.api.technical.makedirectivestest
|
org.make.core.DateHelper.now()
|
|
211
|
48572
|
8235
-
8333
|
Apply
|
org.make.core.DefaultDateHelper.format
|
org.make.api.technical.makedirectivestest
|
org.make.core.DateHelper.format(token.createdAt.getOrElse[java.time.ZonedDateTime](org.make.core.DateHelper.now()).plusSeconds(token.refreshExpiresIn.toLong))
|
|
211
|
30723
|
8253
-
8332
|
Apply
|
java.time.ZonedDateTime.plusSeconds
|
org.make.api.technical.makedirectivestest
|
token.createdAt.getOrElse[java.time.ZonedDateTime](org.make.core.DateHelper.now()).plusSeconds(token.refreshExpiresIn.toLong)
|
|
212
|
40690
|
8358
-
8392
|
Select
|
org.make.api.extensions.MakeSettings.SecureCookie.isSecure
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.makeSettings.SecureCookie.isSecure
|
|
213
|
32369
|
8419
-
8424
|
Literal
|
<nosymbol>
|
org.make.api.technical.makedirectivestest
|
false
|
|
214
|
37307
|
8454
-
8472
|
Select
|
scala.concurrent.duration.FiniteDuration.toSeconds
|
org.make.api.technical.makedirectivestest
|
scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds
|
|
214
|
34187
|
8449
-
8473
|
Apply
|
scala.Some.apply
|
org.make.api.technical.makedirectivestest
|
scala.Some.apply[Long](scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds)
|
|
214
|
45170
|
8454
-
8457
|
Literal
|
<nosymbol>
|
org.make.api.technical.makedirectivestest
|
365
|
|
215
|
47222
|
8496
-
8505
|
Apply
|
scala.Some.apply
|
org.make.api.technical.makedirectivestest
|
scala.Some.apply[String]("/")
|
|
216
|
45641
|
8138
-
8549
|
Apply
|
akka.http.scaladsl.model.headers.HttpCookie.withSameSite
|
org.make.api.technical.makedirectivestest
|
{
<artifact> val x$10: String = MakeDirectives.this.makeSettings.SecureCookie.expirationName;
<artifact> val x$11: String = org.make.core.DateHelper.format(token.createdAt.getOrElse[java.time.ZonedDateTime](org.make.core.DateHelper.now()).plusSeconds(token.refreshExpiresIn.toLong));
<artifact> val x$12: Boolean = MakeDirectives.this.makeSettings.SecureCookie.isSecure;
<artifact> val x$13: Boolean(false) = false;
<artifact> val x$14: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds);
<artifact> val x$15: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$16: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$10, x$11, x$16, x$14, x$17, x$15, x$12, false, x$18)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict)
|
|
216
|
32563
|
8533
-
8548
|
Select
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
org.make.api.technical.makedirectivestest
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
|
218
|
47258
|
7438
-
8607
|
Apply
|
scala.collection.IterableOps.collect
|
org.make.api.user.adminuserapitest
|
scala.`package`.Seq.apply[Option[akka.http.scaladsl.model.headers.HttpCookie]](tokenRefreshed.map[akka.http.scaladsl.model.headers.HttpCookie](((token: org.make.core.auth.Token) => {
<artifact> val x$1: String = MakeDirectives.this.makeSettings.SecureCookie.name;
<artifact> val x$2: String = token.accessToken;
<artifact> val x$3: Boolean = MakeDirectives.this.makeSettings.SecureCookie.isSecure;
<artifact> val x$4: Boolean(true) = true;
<artifact> val x$5: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](java.lang.Math.max(token.refreshExpiresIn, token.expiresIn).toLong);
<artifact> val x$6: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$7: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$1, x$2, x$7, x$5, x$8, x$6, x$3, true, x$9)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict))), tokenRefreshed.map[akka.http.scaladsl.model.headers.HttpCookie](((token: org.make.core.auth.Token) => {
<artifact> val x$10: String = MakeDirectives.this.makeSettings.SecureCookie.expirationName;
<artifact> val x$11: String = org.make.core.DateHelper.format(token.createdAt.getOrElse[java.time.ZonedDateTime](org.make.core.DateHelper.now()).plusSeconds(token.refreshExpiresIn.toLong));
<artifact> val x$12: Boolean = MakeDirectives.this.makeSettings.SecureCookie.isSecure;
<artifact> val x$13: Boolean(false) = false;
<artifact> val x$14: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds);
<artifact> val x$15: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$16: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$10, x$11, x$16, x$14, x$17, x$15, x$12, false, x$18)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict)))).collect[akka.http.scaladsl.model.headers.HttpCookie](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[Option[akka.http.scaladsl.model.headers.HttpCookie],akka.http.scaladsl.model.headers.HttpCookie] with java.io.Serializable {
def <init>(): <$anon: Option[akka.http.scaladsl.model.headers.HttpCookie] => akka.http.scaladsl.model.headers.HttpCookie> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: Option[akka.http.scaladsl.model.headers.HttpCookie], B1 >: akka.http.scaladsl.model.headers.HttpCookie](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[Option[akka.http.scaladsl.model.headers.HttpCookie]]: Option[akka.http.scaladsl.model.headers.HttpCookie]): Option[akka.http.scaladsl.model.headers.HttpCookie] @unchecked) match {
case (value: akka.http.scaladsl.model.headers.HttpCookie): Some[akka.http.scaladsl.model.headers.HttpCookie]((cookie @ _)) => cookie
case (defaultCase$ @ _) => default.apply(x1)
};
final def isDefinedAt(x1: Option[akka.http.scaladsl.model.headers.HttpCookie]): Boolean = ((x1.asInstanceOf[Option[akka.http.scaladsl.model.headers.HttpCookie]]: Option[akka.http.scaladsl.model.headers.HttpCookie]): Option[akka.http.scaladsl.model.headers.HttpCookie] @unchecked) match {
case (value: akka.http.scaladsl.model.headers.HttpCookie): Some[akka.http.scaladsl.model.headers.HttpCookie]((cookie @ _)) => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[Option[akka.http.scaladsl.model.headers.HttpCookie],akka.http.scaladsl.model.headers.HttpCookie]))
|
|
218
|
33949
|
8576
-
8576
|
Apply
|
org.make.api.technical.MakeDirectives.$anonfun.<init>
|
org.make.api.user.adminuserapitest
|
new $anonfun()
|
|
223
|
44650
|
8684
-
8750
|
Apply
|
akka.http.scaladsl.server.directives.RespondWithDirectives.respondWithDefaultHeaders
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.respondWithDefaultHeaders(MakeDirectives.this.defaultCorsHeaders(origin))
|
|
224
|
31232
|
8718
-
8744
|
Apply
|
org.make.api.technical.MakeDirectives.defaultCorsHeaders
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.defaultCorsHeaders(origin)
|
|
229
|
33984
|
8803
-
9550
|
Apply
|
akka.http.scaladsl.server.directives.RespondWithDirectives.respondWithDefaultHeaders
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.respondWithDefaultHeaders(scala.`package`.Seq.apply[akka.http.scaladsl.model.HttpHeader](X-Content-Type-Options.apply("nosniff"), Strict-Transport-Security.apply("max-age=31536000; includeSubDomains"), Content-Security-Policy.apply("default-src \'self\';script-src \'self\' \'unsafe-inline\' https://*.google.com;connect-src \'self\' https://*.googleapis.com https://*.google.com https://*.gstatic.com;style-src \'self\' \'unsafe-inline\' https://stackpath.bootstrapcdn.com https://fonts.googleapis.com;img-src \'self\' https://*.googleusercontent.com https://*.gstatic.com;frame-src https://accounts.google.com;")))
|
|
230
|
37256
|
8837
-
9544
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
org.make.api.user.adminuserapitest
|
scala.`package`.Seq.apply[akka.http.scaladsl.model.HttpHeader](X-Content-Type-Options.apply("nosniff"), Strict-Transport-Security.apply("max-age=31536000; includeSubDomains"), Content-Security-Policy.apply("default-src \'self\';script-src \'self\' \'unsafe-inline\' https://*.google.com;connect-src \'self\' https://*.googleapis.com https://*.google.com https://*.gstatic.com;style-src \'self\' \'unsafe-inline\' https://stackpath.bootstrapcdn.com https://fonts.googleapis.com;img-src \'self\' https://*.googleusercontent.com https://*.gstatic.com;frame-src https://accounts.google.com;"))
|
|
231
|
40768
|
8862
-
8897
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
org.make.api.user.adminuserapitest
|
X-Content-Type-Options.apply("nosniff")
|
|
232
|
32324
|
8907
-
8973
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
org.make.api.user.adminuserapitest
|
Strict-Transport-Security.apply("max-age=31536000; includeSubDomains")
|
|
233
|
45675
|
8983
-
9482
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
org.make.api.user.adminuserapitest
|
Content-Security-Policy.apply("default-src \'self\';script-src \'self\' \'unsafe-inline\' https://*.google.com;connect-src \'self\' https://*.googleapis.com https://*.google.com https://*.gstatic.com;style-src \'self\' \'unsafe-inline\' https://stackpath.bootstrapcdn.com https://fonts.googleapis.com;img-src \'self\' https://*.googleusercontent.com https://*.gstatic.com;frame-src https://accounts.google.com;")
|
|
257
|
32362
|
9868
-
10092
|
Apply
|
akka.http.scaladsl.server.directives.RespondWithDirectives.respondWithDefaultHeaders
|
org.make.api.technical.tracking.trackingapitest
|
MakeDirectives.this.respondWithDefaultHeaders(scala.`package`.Seq.apply[akka.http.scaladsl.model.HttpHeader](X-Route-Time.apply(startTime), X-Request-Id.apply(requestId), X-Route-Name.apply(routeName), X-Make-External-Id.apply(externalId)))
|
|
257
|
45434
|
9868
-
10092
|
Block
|
akka.http.scaladsl.server.directives.RespondWithDirectives.respondWithDefaultHeaders
|
org.make.api.technical.tracking.trackingapitest
|
MakeDirectives.this.respondWithDefaultHeaders(scala.`package`.Seq.apply[akka.http.scaladsl.model.HttpHeader](X-Route-Time.apply(startTime), X-Request-Id.apply(requestId), X-Route-Name.apply(routeName), X-Make-External-Id.apply(externalId)))
|
|
258
|
40519
|
9904
-
10084
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
org.make.api.technical.tracking.trackingapitest
|
scala.`package`.Seq.apply[akka.http.scaladsl.model.HttpHeader](X-Route-Time.apply(startTime), X-Request-Id.apply(requestId), X-Route-Name.apply(routeName), X-Make-External-Id.apply(externalId))
|
|
259
|
46753
|
9931
-
9956
|
Apply
|
org.make.api.technical.X-Route-Time.apply
|
org.make.api.technical.tracking.trackingapitest
|
X-Route-Time.apply(startTime)
|
|
260
|
38890
|
9968
-
9993
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
org.make.api.technical.tracking.trackingapitest
|
X-Request-Id.apply(requestId)
|
|
261
|
31270
|
10005
-
10030
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
org.make.api.technical.tracking.trackingapitest
|
X-Route-Name.apply(routeName)
|
|
262
|
43803
|
10042
-
10074
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
org.make.api.technical.tracking.trackingapitest
|
X-Make-External-Id.apply(externalId)
|
|
265
|
31374
|
10104
-
12170
|
Block
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
{
val sessionExpirationDate: String = org.make.core.DateHelper.format(org.make.core.DateHelper.now().plusSeconds(MakeDirectives.this.makeSettings.SessionCookie.lifetime.toSeconds));
MakeDirectives.this.respondWithDefaultHeaders(scala.`package`.Seq.apply[akka.http.scaladsl.model.HttpHeader](X-Route-Time.apply(startTime), X-Request-Id.apply(requestId), X-Route-Name.apply(routeName), X-Make-External-Id.apply(externalId), X-Session-Id.apply(sessionId), X-Session-Id-Expiration.apply(sessionExpirationDate), X-Visitor-Id.apply(visitorId), X-Visitor-CreatedAt.apply(org.make.core.DateHelper.format(visitorCreatedAt)))).tflatMap[Unit](((x$7: Unit) => MakeDirectives.this.addDefaultCookies.apply(applicationName, scala.`package`.Seq.apply[akka.http.scaladsl.model.headers.HttpCookie]({
<artifact> val x$1: String = MakeDirectives.this.makeSettings.SessionCookie.name;
<artifact> val x$2: String = sessionId;
<artifact> val x$3: Boolean = MakeDirectives.this.makeSettings.SessionCookie.isSecure;
<artifact> val x$4: Boolean(true) = true;
<artifact> val x$5: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](MakeDirectives.this.makeSettings.SessionCookie.lifetime.toSeconds);
<artifact> val x$6: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$7: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$1, x$2, x$7, x$5, x$8, x$6, x$3, true, x$9)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict), {
<artifact> val x$10: String = MakeDirectives.this.makeSettings.SessionCookie.expirationName;
<artifact> val x$11: String = sessionExpirationDate;
<artifact> val x$12: Boolean = MakeDirectives.this.makeSettings.SessionCookie.isSecure;
<artifact> val x$13: Boolean(false) = false;
<artifact> val x$14: None.type = scala.None;
<artifact> val x$15: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$16: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$10, x$11, x$16, x$14, x$17, x$15, x$12, false, x$18)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict), {
<artifact> val x$19: String = MakeDirectives.this.makeSettings.VisitorCookie.name;
<artifact> val x$20: String = visitorId;
<artifact> val x$21: Boolean = MakeDirectives.this.makeSettings.VisitorCookie.isSecure;
<artifact> val x$22: Boolean(true) = true;
<artifact> val x$23: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds);
<artifact> val x$24: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$25: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$26: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$19, x$20, x$25, x$23, x$26, x$24, x$21, true, x$27)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict), {
<artifact> val x$28: String = MakeDirectives.this.makeSettings.VisitorCookie.createdAtName;
<artifact> val x$29: String = org.make.core.DateHelper.format(visitorCreatedAt);
<artifact> val x$30: Boolean = MakeDirectives.this.makeSettings.VisitorCookie.isSecure;
<artifact> val x$31: Boolean(true) = true;
<artifact> val x$32: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds);
<artifact> val x$33: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$34: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$35: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$36: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$28, x$29, x$34, x$32, x$35, x$33, x$30, true, x$36)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict)))))(util.this.Tuple.forUnit[Nothing])
}
|
|
267
|
37297
|
10195
-
10240
|
Select
|
scala.concurrent.duration.Duration.toSeconds
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.makeSettings.SessionCookie.lifetime.toSeconds
|
|
267
|
46519
|
10148
-
10242
|
Apply
|
org.make.core.DefaultDateHelper.format
|
org.make.api.user.adminuserapitest
|
org.make.core.DateHelper.format(org.make.core.DateHelper.now().plusSeconds(MakeDirectives.this.makeSettings.SessionCookie.lifetime.toSeconds))
|
|
267
|
50640
|
10166
-
10241
|
Apply
|
java.time.ZonedDateTime.plusSeconds
|
org.make.api.user.adminuserapitest
|
org.make.core.DateHelper.now().plusSeconds(MakeDirectives.this.makeSettings.SessionCookie.lifetime.toSeconds)
|
|
269
|
38683
|
10285
-
10669
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
org.make.api.user.adminuserapitest
|
scala.`package`.Seq.apply[akka.http.scaladsl.model.HttpHeader](X-Route-Time.apply(startTime), X-Request-Id.apply(requestId), X-Route-Name.apply(routeName), X-Make-External-Id.apply(externalId), X-Session-Id.apply(sessionId), X-Session-Id-Expiration.apply(sessionExpirationDate), X-Visitor-Id.apply(visitorId), X-Visitor-CreatedAt.apply(org.make.core.DateHelper.format(visitorCreatedAt)))
|
|
270
|
38928
|
10312
-
10337
|
Apply
|
org.make.api.technical.X-Route-Time.apply
|
org.make.api.user.adminuserapitest
|
X-Route-Time.apply(startTime)
|
|
271
|
30477
|
10349
-
10374
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
org.make.api.user.adminuserapitest
|
X-Request-Id.apply(requestId)
|
|
272
|
43841
|
10386
-
10411
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
org.make.api.user.adminuserapitest
|
X-Route-Name.apply(routeName)
|
|
273
|
40723
|
10423
-
10455
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
org.make.api.user.adminuserapitest
|
X-Make-External-Id.apply(externalId)
|
|
274
|
32124
|
10467
-
10492
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
org.make.api.user.adminuserapitest
|
X-Session-Id.apply(sessionId)
|
|
275
|
45469
|
10504
-
10552
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
org.make.api.user.adminuserapitest
|
X-Session-Id-Expiration.apply(sessionExpirationDate)
|
|
276
|
37332
|
10564
-
10589
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
org.make.api.user.adminuserapitest
|
X-Visitor-Id.apply(visitorId)
|
|
277
|
47251
|
10601
-
10659
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
org.make.api.user.adminuserapitest
|
X-Visitor-CreatedAt.apply(org.make.core.DateHelper.format(visitorCreatedAt))
|
|
277
|
50393
|
10623
-
10658
|
Apply
|
org.make.core.DefaultDateHelper.format
|
org.make.api.user.adminuserapitest
|
org.make.core.DateHelper.format(visitorCreatedAt)
|
|
279
|
39208
|
10249
-
12164
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.tflatMap
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.respondWithDefaultHeaders(scala.`package`.Seq.apply[akka.http.scaladsl.model.HttpHeader](X-Route-Time.apply(startTime), X-Request-Id.apply(requestId), X-Route-Name.apply(routeName), X-Make-External-Id.apply(externalId), X-Session-Id.apply(sessionId), X-Session-Id-Expiration.apply(sessionExpirationDate), X-Visitor-Id.apply(visitorId), X-Visitor-CreatedAt.apply(org.make.core.DateHelper.format(visitorCreatedAt)))).tflatMap[Unit](((x$7: Unit) => MakeDirectives.this.addDefaultCookies.apply(applicationName, scala.`package`.Seq.apply[akka.http.scaladsl.model.headers.HttpCookie]({
<artifact> val x$1: String = MakeDirectives.this.makeSettings.SessionCookie.name;
<artifact> val x$2: String = sessionId;
<artifact> val x$3: Boolean = MakeDirectives.this.makeSettings.SessionCookie.isSecure;
<artifact> val x$4: Boolean(true) = true;
<artifact> val x$5: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](MakeDirectives.this.makeSettings.SessionCookie.lifetime.toSeconds);
<artifact> val x$6: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$7: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$1, x$2, x$7, x$5, x$8, x$6, x$3, true, x$9)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict), {
<artifact> val x$10: String = MakeDirectives.this.makeSettings.SessionCookie.expirationName;
<artifact> val x$11: String = sessionExpirationDate;
<artifact> val x$12: Boolean = MakeDirectives.this.makeSettings.SessionCookie.isSecure;
<artifact> val x$13: Boolean(false) = false;
<artifact> val x$14: None.type = scala.None;
<artifact> val x$15: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$16: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$10, x$11, x$16, x$14, x$17, x$15, x$12, false, x$18)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict), {
<artifact> val x$19: String = MakeDirectives.this.makeSettings.VisitorCookie.name;
<artifact> val x$20: String = visitorId;
<artifact> val x$21: Boolean = MakeDirectives.this.makeSettings.VisitorCookie.isSecure;
<artifact> val x$22: Boolean(true) = true;
<artifact> val x$23: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds);
<artifact> val x$24: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$25: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$26: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$19, x$20, x$25, x$23, x$26, x$24, x$21, true, x$27)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict), {
<artifact> val x$28: String = MakeDirectives.this.makeSettings.VisitorCookie.createdAtName;
<artifact> val x$29: String = org.make.core.DateHelper.format(visitorCreatedAt);
<artifact> val x$30: Boolean = MakeDirectives.this.makeSettings.VisitorCookie.isSecure;
<artifact> val x$31: Boolean(true) = true;
<artifact> val x$32: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds);
<artifact> val x$33: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$34: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$35: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$36: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$28, x$29, x$34, x$32, x$35, x$33, x$30, true, x$36)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict)))))(util.this.Tuple.forUnit[Nothing])
|
|
279
|
43095
|
10687
-
10687
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forUnit
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forUnit[Nothing]
|
|
280
|
50210
|
10702
-
12156
|
Apply
|
scala.Function2.apply
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.addDefaultCookies.apply(applicationName, scala.`package`.Seq.apply[akka.http.scaladsl.model.headers.HttpCookie]({
<artifact> val x$1: String = MakeDirectives.this.makeSettings.SessionCookie.name;
<artifact> val x$2: String = sessionId;
<artifact> val x$3: Boolean = MakeDirectives.this.makeSettings.SessionCookie.isSecure;
<artifact> val x$4: Boolean(true) = true;
<artifact> val x$5: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](MakeDirectives.this.makeSettings.SessionCookie.lifetime.toSeconds);
<artifact> val x$6: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$7: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$1, x$2, x$7, x$5, x$8, x$6, x$3, true, x$9)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict), {
<artifact> val x$10: String = MakeDirectives.this.makeSettings.SessionCookie.expirationName;
<artifact> val x$11: String = sessionExpirationDate;
<artifact> val x$12: Boolean = MakeDirectives.this.makeSettings.SessionCookie.isSecure;
<artifact> val x$13: Boolean(false) = false;
<artifact> val x$14: None.type = scala.None;
<artifact> val x$15: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$16: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$10, x$11, x$16, x$14, x$17, x$15, x$12, false, x$18)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict), {
<artifact> val x$19: String = MakeDirectives.this.makeSettings.VisitorCookie.name;
<artifact> val x$20: String = visitorId;
<artifact> val x$21: Boolean = MakeDirectives.this.makeSettings.VisitorCookie.isSecure;
<artifact> val x$22: Boolean(true) = true;
<artifact> val x$23: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds);
<artifact> val x$24: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$25: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$26: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$19, x$20, x$25, x$23, x$26, x$24, x$21, true, x$27)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict), {
<artifact> val x$28: String = MakeDirectives.this.makeSettings.VisitorCookie.createdAtName;
<artifact> val x$29: String = org.make.core.DateHelper.format(visitorCreatedAt);
<artifact> val x$30: Boolean = MakeDirectives.this.makeSettings.VisitorCookie.isSecure;
<artifact> val x$31: Boolean(true) = true;
<artifact> val x$32: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds);
<artifact> val x$33: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$34: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$35: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$36: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$28, x$29, x$34, x$32, x$35, x$33, x$30, true, x$36)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict)))
|
|
282
|
38177
|
10758
-
12146
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
org.make.api.user.adminuserapitest
|
scala.`package`.Seq.apply[akka.http.scaladsl.model.headers.HttpCookie]({
<artifact> val x$1: String = MakeDirectives.this.makeSettings.SessionCookie.name;
<artifact> val x$2: String = sessionId;
<artifact> val x$3: Boolean = MakeDirectives.this.makeSettings.SessionCookie.isSecure;
<artifact> val x$4: Boolean(true) = true;
<artifact> val x$5: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](MakeDirectives.this.makeSettings.SessionCookie.lifetime.toSeconds);
<artifact> val x$6: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$7: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$1, x$2, x$7, x$5, x$8, x$6, x$3, true, x$9)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict), {
<artifact> val x$10: String = MakeDirectives.this.makeSettings.SessionCookie.expirationName;
<artifact> val x$11: String = sessionExpirationDate;
<artifact> val x$12: Boolean = MakeDirectives.this.makeSettings.SessionCookie.isSecure;
<artifact> val x$13: Boolean(false) = false;
<artifact> val x$14: None.type = scala.None;
<artifact> val x$15: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$16: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$10, x$11, x$16, x$14, x$17, x$15, x$12, false, x$18)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict), {
<artifact> val x$19: String = MakeDirectives.this.makeSettings.VisitorCookie.name;
<artifact> val x$20: String = visitorId;
<artifact> val x$21: Boolean = MakeDirectives.this.makeSettings.VisitorCookie.isSecure;
<artifact> val x$22: Boolean(true) = true;
<artifact> val x$23: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds);
<artifact> val x$24: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$25: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$26: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$19, x$20, x$25, x$23, x$26, x$24, x$21, true, x$27)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict), {
<artifact> val x$28: String = MakeDirectives.this.makeSettings.VisitorCookie.createdAtName;
<artifact> val x$29: String = org.make.core.DateHelper.format(visitorCreatedAt);
<artifact> val x$30: Boolean = MakeDirectives.this.makeSettings.VisitorCookie.isSecure;
<artifact> val x$31: Boolean(true) = true;
<artifact> val x$32: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds);
<artifact> val x$33: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$34: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$35: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$36: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$28, x$29, x$34, x$32, x$35, x$33, x$30, true, x$36)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict))
|
|
283
|
46999
|
10775
-
10775
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$5
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$5
|
|
283
|
51192
|
10775
-
10775
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$3
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$3
|
|
283
|
39420
|
10775
-
10775
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$9
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$9
|
|
283
|
30546
|
10775
-
11085
|
Apply
|
akka.http.scaladsl.model.headers.HttpCookie.apply
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply(x$1, x$2, x$7, x$5, x$8, x$6, x$3, true, x$9)
|
|
284
|
30508
|
10808
-
10839
|
Select
|
org.make.api.extensions.MakeSettings.SessionCookie.name
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.makeSettings.SessionCookie.name
|
|
286
|
43880
|
10897
-
10932
|
Select
|
org.make.api.extensions.MakeSettings.SessionCookie.isSecure
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.makeSettings.SessionCookie.isSecure
|
|
287
|
36777
|
10959
-
10963
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
true
|
|
288
|
45997
|
10988
-
11039
|
Apply
|
scala.Some.apply
|
org.make.api.user.adminuserapitest
|
scala.Some.apply[Long](MakeDirectives.this.makeSettings.SessionCookie.lifetime.toSeconds)
|
|
288
|
32867
|
10993
-
11038
|
Select
|
scala.concurrent.duration.Duration.toSeconds
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.makeSettings.SessionCookie.lifetime.toSeconds
|
|
289
|
37090
|
11062
-
11071
|
Apply
|
scala.Some.apply
|
org.make.api.user.adminuserapitest
|
scala.Some.apply[String]("/")
|
|
290
|
36814
|
10775
-
11115
|
Apply
|
akka.http.scaladsl.model.headers.HttpCookie.withSameSite
|
org.make.api.user.adminuserapitest
|
{
<artifact> val x$1: String = MakeDirectives.this.makeSettings.SessionCookie.name;
<artifact> val x$2: String = sessionId;
<artifact> val x$3: Boolean = MakeDirectives.this.makeSettings.SessionCookie.isSecure;
<artifact> val x$4: Boolean(true) = true;
<artifact> val x$5: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](MakeDirectives.this.makeSettings.SessionCookie.lifetime.toSeconds);
<artifact> val x$6: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$7: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$1, x$2, x$7, x$5, x$8, x$6, x$3, true, x$9)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict)
|
|
290
|
43628
|
11099
-
11114
|
Select
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
|
291
|
31012
|
11129
-
11129
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$5
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$5
|
|
291
|
38637
|
11129
-
11129
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$3
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$3
|
|
291
|
44433
|
11129
-
11129
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$9
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$9
|
|
291
|
36578
|
11129
-
11415
|
Apply
|
akka.http.scaladsl.model.headers.HttpCookie.apply
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply(x$10, x$11, x$16, x$14, x$17, x$15, x$12, false, x$18)
|
|
292
|
32608
|
11162
-
11203
|
Select
|
org.make.api.extensions.MakeSettings.SessionCookie.expirationName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.makeSettings.SessionCookie.expirationName
|
|
294
|
45424
|
11273
-
11308
|
Select
|
org.make.api.extensions.MakeSettings.SessionCookie.isSecure
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.makeSettings.SessionCookie.isSecure
|
|
295
|
37125
|
11335
-
11340
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
false
|
|
296
|
50950
|
11365
-
11369
|
Select
|
scala.None
|
org.make.api.user.adminuserapitest
|
scala.None
|
|
297
|
47041
|
11392
-
11401
|
Apply
|
scala.Some.apply
|
org.make.api.user.adminuserapitest
|
scala.Some.apply[String]("/")
|
|
298
|
32648
|
11429
-
11444
|
Select
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
|
298
|
45460
|
11129
-
11445
|
Apply
|
akka.http.scaladsl.model.headers.HttpCookie.withSameSite
|
org.make.api.user.adminuserapitest
|
{
<artifact> val x$10: String = MakeDirectives.this.makeSettings.SessionCookie.expirationName;
<artifact> val x$11: String = sessionExpirationDate;
<artifact> val x$12: Boolean = MakeDirectives.this.makeSettings.SessionCookie.isSecure;
<artifact> val x$13: Boolean(false) = false;
<artifact> val x$14: None.type = scala.None;
<artifact> val x$15: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$16: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$10, x$11, x$16, x$14, x$17, x$15, x$12, false, x$18)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict)
|
|
299
|
50133
|
11459
-
11742
|
Apply
|
akka.http.scaladsl.model.headers.HttpCookie.apply
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply(x$19, x$20, x$25, x$23, x$26, x$24, x$21, true, x$27)
|
|
299
|
37617
|
11459
-
11459
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$9
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$9
|
|
299
|
32150
|
11459
-
11459
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$3
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$3
|
|
299
|
45206
|
11459
-
11459
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$5
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$5
|
|
300
|
37579
|
11492
-
11523
|
Select
|
org.make.api.extensions.MakeSettings.VisitorCookie.name
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.makeSettings.VisitorCookie.name
|
|
302
|
50988
|
11581
-
11616
|
Select
|
org.make.api.extensions.MakeSettings.VisitorCookie.isSecure
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.makeSettings.VisitorCookie.isSecure
|
|
303
|
43105
|
11643
-
11647
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
true
|
|
304
|
38671
|
11677
-
11680
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
365
|
|
304
|
44888
|
11672
-
11696
|
Apply
|
scala.Some.apply
|
org.make.api.user.adminuserapitest
|
scala.Some.apply[Long](scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds)
|
|
304
|
31046
|
11677
-
11695
|
Select
|
scala.concurrent.duration.FiniteDuration.toSeconds
|
org.make.api.user.adminuserapitest
|
scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds
|
|
305
|
36611
|
11719
-
11728
|
Apply
|
scala.Some.apply
|
org.make.api.user.adminuserapitest
|
scala.Some.apply[String]("/")
|
|
306
|
38709
|
11459
-
11772
|
Apply
|
akka.http.scaladsl.model.headers.HttpCookie.withSameSite
|
org.make.api.user.adminuserapitest
|
{
<artifact> val x$19: String = MakeDirectives.this.makeSettings.VisitorCookie.name;
<artifact> val x$20: String = visitorId;
<artifact> val x$21: Boolean = MakeDirectives.this.makeSettings.VisitorCookie.isSecure;
<artifact> val x$22: Boolean(true) = true;
<artifact> val x$23: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds);
<artifact> val x$24: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$25: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$26: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$19, x$20, x$25, x$23, x$26, x$24, x$21, true, x$27)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict)
|
|
306
|
43143
|
11756
-
11771
|
Select
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
|
307
|
35789
|
11786
-
12104
|
Apply
|
akka.http.scaladsl.model.headers.HttpCookie.apply
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply(x$28, x$29, x$34, x$32, x$35, x$33, x$30, true, x$36)
|
|
307
|
44683
|
11786
-
11786
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$9
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$9
|
|
307
|
30833
|
11786
-
11786
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$5
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$5
|
|
307
|
38462
|
11786
-
11786
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$3
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$3
|
|
308
|
30797
|
11819
-
11859
|
Select
|
org.make.api.extensions.MakeSettings.VisitorCookie.createdAtName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.makeSettings.VisitorCookie.createdAtName
|
|
309
|
43618
|
11883
-
11918
|
Apply
|
org.make.core.DefaultDateHelper.format
|
org.make.api.user.adminuserapitest
|
org.make.core.DateHelper.format(visitorCreatedAt)
|
|
310
|
35753
|
11943
-
11978
|
Select
|
org.make.api.extensions.MakeSettings.VisitorCookie.isSecure
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.makeSettings.VisitorCookie.isSecure
|
|
311
|
31903
|
12005
-
12009
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
true
|
|
312
|
45241
|
12039
-
12042
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
365
|
|
312
|
38147
|
12039
-
12057
|
Select
|
scala.concurrent.duration.FiniteDuration.toSeconds
|
org.make.api.user.adminuserapitest
|
scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds
|
|
312
|
50171
|
12034
-
12058
|
Apply
|
scala.Some.apply
|
org.make.api.user.adminuserapitest
|
scala.Some.apply[Long](scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds)
|
|
313
|
43341
|
12081
-
12090
|
Apply
|
scala.Some.apply
|
org.make.api.user.adminuserapitest
|
scala.Some.apply[String]("/")
|
|
314
|
49880
|
12118
-
12133
|
Select
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
|
314
|
44998
|
11786
-
12134
|
Apply
|
akka.http.scaladsl.model.headers.HttpCookie.withSameSite
|
org.make.api.user.adminuserapitest
|
{
<artifact> val x$28: String = MakeDirectives.this.makeSettings.VisitorCookie.createdAtName;
<artifact> val x$29: String = org.make.core.DateHelper.format(visitorCreatedAt);
<artifact> val x$30: Boolean = MakeDirectives.this.makeSettings.VisitorCookie.isSecure;
<artifact> val x$31: Boolean(true) = true;
<artifact> val x$32: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds);
<artifact> val x$33: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$34: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$35: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$36: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$28, x$29, x$34, x$32, x$35, x$33, x$30, true, x$36)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict)
|
|
326
|
44715
|
12366
-
12448
|
Apply
|
org.make.api.sessionhistory.SessionHistoryCoordinatorService.convertSession
|
|
MakeDirectives.this.sessionHistoryCoordinatorService.convertSession(sessionId, userId, requestContext)
|
|
326
|
36599
|
12336
-
12449
|
Apply
|
scala.Option.foreach
|
org.make.api.user.adminuserapitest
|
maybeUserId.foreach[scala.concurrent.Future[Unit]](((userId: org.make.core.user.UserId) => MakeDirectives.this.sessionHistoryCoordinatorService.convertSession(sessionId, userId, requestContext)))
|
|
333
|
42882
|
12616
-
13475
|
Apply
|
akka.http.scaladsl.server.directives.BasicDirectives.mapInnerRoute
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.mapInnerRoute(((route: akka.http.scaladsl.server.Route) => maybeUser match {
case (value: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]): Some[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]](_) => route
case _ => server.this.Directive.addDirectiveApply[(Option[String],)](MakeDirectives.this.secureCookieValue(applicationName))(util.this.ApplyConverter.hac1[Option[String]]).apply(((x0$1: Option[String]) => x0$1 match {
case (value: String): Some[String](_) => route
case scala.None => server.this.Directive.addDirectiveApply[(Option[akka.http.scaladsl.model.headers.Authorization],)](MakeDirectives.this.optionalHeaderValueByType[akka.http.scaladsl.model.headers.Authorization](directives.this.HeaderMagnet.fromCompanionNormalHeader[akka.http.scaladsl.model.headers.Authorization](akka.http.scaladsl.model.headers.Authorization)((ClassTag.apply[akka.http.scaladsl.model.headers.Authorization](classOf[akka.http.scaladsl.model.headers.Authorization]): scala.reflect.ClassTag[akka.http.scaladsl.model.headers.Authorization]))))(util.this.ApplyConverter.hac1[Option[akka.http.scaladsl.model.headers.Authorization]]).apply(((x0$2: Option[akka.http.scaladsl.model.headers.Authorization]) => x0$2 match {
case (value: akka.http.scaladsl.model.headers.Authorization): Some[akka.http.scaladsl.model.headers.Authorization]((credentials: akka.http.scaladsl.model.headers.HttpCredentials): akka.http.scaladsl.model.headers.Authorization((token: String): akka.http.scaladsl.model.headers.OAuth2BearerToken(_))) => MakeDirectives.this.reject(akka.http.scaladsl.server.AuthenticationFailedRejection.apply(akka.http.scaladsl.server.AuthenticationFailedRejection.CredentialsRejected, akka.http.scaladsl.model.headers.HttpChallenges.oAuth2(MakeDirectives.this.realm)))
case _ => route
}))
}))
}))
|
|
338
|
45755
|
12823
-
12823
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[Option[String]]
|
|
338
|
50772
|
12806
-
13461
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addDirectiveApply[(Option[String],)](MakeDirectives.this.secureCookieValue(applicationName))(util.this.ApplyConverter.hac1[Option[String]]).apply(((x0$1: Option[String]) => x0$1 match {
case (value: String): Some[String](_) => route
case scala.None => server.this.Directive.addDirectiveApply[(Option[akka.http.scaladsl.model.headers.Authorization],)](MakeDirectives.this.optionalHeaderValueByType[akka.http.scaladsl.model.headers.Authorization](directives.this.HeaderMagnet.fromCompanionNormalHeader[akka.http.scaladsl.model.headers.Authorization](akka.http.scaladsl.model.headers.Authorization)((ClassTag.apply[akka.http.scaladsl.model.headers.Authorization](classOf[akka.http.scaladsl.model.headers.Authorization]): scala.reflect.ClassTag[akka.http.scaladsl.model.headers.Authorization]))))(util.this.ApplyConverter.hac1[Option[akka.http.scaladsl.model.headers.Authorization]]).apply(((x0$2: Option[akka.http.scaladsl.model.headers.Authorization]) => x0$2 match {
case (value: akka.http.scaladsl.model.headers.Authorization): Some[akka.http.scaladsl.model.headers.Authorization]((credentials: akka.http.scaladsl.model.headers.HttpCredentials): akka.http.scaladsl.model.headers.Authorization((token: String): akka.http.scaladsl.model.headers.OAuth2BearerToken(_))) => MakeDirectives.this.reject(akka.http.scaladsl.server.AuthenticationFailedRejection.apply(akka.http.scaladsl.server.AuthenticationFailedRejection.CredentialsRejected, akka.http.scaladsl.model.headers.HttpChallenges.oAuth2(MakeDirectives.this.realm)))
case _ => route
}))
}))
|
|
338
|
49629
|
12806
-
12840
|
Apply
|
org.make.api.technical.auth.MakeAuthentication.secureCookieValue
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.secureCookieValue(applicationName)
|
|
342
|
43133
|
13016
-
13056
|
Apply
|
akka.http.scaladsl.server.directives.HeaderDirectives.optionalHeaderValueByType
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.optionalHeaderValueByType[akka.http.scaladsl.model.headers.Authorization](directives.this.HeaderMagnet.fromCompanionNormalHeader[akka.http.scaladsl.model.headers.Authorization](akka.http.scaladsl.model.headers.Authorization)((ClassTag.apply[akka.http.scaladsl.model.headers.Authorization](classOf[akka.http.scaladsl.model.headers.Authorization]): scala.reflect.ClassTag[akka.http.scaladsl.model.headers.Authorization])))
|
|
342
|
51272
|
13042
-
13055
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.LowPriorityHeaderMagnetImplicits.fromCompanionNormalHeader
|
org.make.api.user.adminuserapitest
|
directives.this.HeaderMagnet.fromCompanionNormalHeader[akka.http.scaladsl.model.headers.Authorization](akka.http.scaladsl.model.headers.Authorization)((ClassTag.apply[akka.http.scaladsl.model.headers.Authorization](classOf[akka.http.scaladsl.model.headers.Authorization]): scala.reflect.ClassTag[akka.http.scaladsl.model.headers.Authorization]))
|
|
342
|
35248
|
13041
-
13041
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[Option[akka.http.scaladsl.model.headers.Authorization]]
|
|
342
|
37371
|
13016
-
13449
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addDirectiveApply[(Option[akka.http.scaladsl.model.headers.Authorization],)](MakeDirectives.this.optionalHeaderValueByType[akka.http.scaladsl.model.headers.Authorization](directives.this.HeaderMagnet.fromCompanionNormalHeader[akka.http.scaladsl.model.headers.Authorization](akka.http.scaladsl.model.headers.Authorization)((ClassTag.apply[akka.http.scaladsl.model.headers.Authorization](classOf[akka.http.scaladsl.model.headers.Authorization]): scala.reflect.ClassTag[akka.http.scaladsl.model.headers.Authorization]))))(util.this.ApplyConverter.hac1[Option[akka.http.scaladsl.model.headers.Authorization]]).apply(((x0$2: Option[akka.http.scaladsl.model.headers.Authorization]) => x0$2 match {
case (value: akka.http.scaladsl.model.headers.Authorization): Some[akka.http.scaladsl.model.headers.Authorization]((credentials: akka.http.scaladsl.model.headers.HttpCredentials): akka.http.scaladsl.model.headers.Authorization((token: String): akka.http.scaladsl.model.headers.OAuth2BearerToken(_))) => MakeDirectives.this.reject(akka.http.scaladsl.server.AuthenticationFailedRejection.apply(akka.http.scaladsl.server.AuthenticationFailedRejection.CredentialsRejected, akka.http.scaladsl.model.headers.HttpChallenges.oAuth2(MakeDirectives.this.realm)))
case _ => route
}))
|
|
342
|
37936
|
13042
-
13055
|
Select
|
akka.http.scaladsl.model.headers.Authorization
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.Authorization
|
|
345
|
49667
|
13243
-
13323
|
Apply
|
akka.http.scaladsl.server.AuthenticationFailedRejection.apply
|
|
akka.http.scaladsl.server.AuthenticationFailedRejection.apply(akka.http.scaladsl.server.AuthenticationFailedRejection.CredentialsRejected, akka.http.scaladsl.model.headers.HttpChallenges.oAuth2(MakeDirectives.this.realm))
|
|
345
|
30787
|
13273
-
13292
|
Select
|
akka.http.scaladsl.server.AuthenticationFailedRejection.CredentialsRejected
|
|
akka.http.scaladsl.server.AuthenticationFailedRejection.CredentialsRejected
|
|
345
|
44953
|
13236
-
13324
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.reject
|
|
MakeDirectives.this.reject(akka.http.scaladsl.server.AuthenticationFailedRejection.apply(akka.http.scaladsl.server.AuthenticationFailedRejection.CredentialsRejected, akka.http.scaladsl.model.headers.HttpChallenges.oAuth2(MakeDirectives.this.realm)))
|
|
345
|
44755
|
13316
-
13321
|
Select
|
org.make.api.technical.auth.MakeAuthentication.realm
|
|
MakeDirectives.this.realm
|
|
345
|
36366
|
13294
-
13322
|
Apply
|
akka.http.scaladsl.model.headers.HttpChallenges.oAuth2
|
|
akka.http.scaladsl.model.headers.HttpChallenges.oAuth2(MakeDirectives.this.realm)
|
|
355
|
42922
|
13596
-
13812
|
Apply
|
scala.Option.map
|
org.make.api.user.adminuserapitest
|
maybeGetParametersRaw.map[scala.collection.immutable.Map[String,String]](((x$8: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](x$8.split("&")).map[Array[String]](((x$9: String) => x$9.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key).->[String](value)
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)])))
|
|
356
|
35287
|
13629
-
13641
|
Apply
|
java.lang.String.split
|
org.make.api.technical.makedirectivestest
|
x$8.split("&")
|
|
357
|
30547
|
13655
-
13670
|
Apply
|
java.lang.String.split
|
org.make.api.technical.makedirectivestest
|
x$9.split("=", 2)
|
|
357
|
43918
|
13629
-
13671
|
ApplyToImplicitArgs
|
scala.collection.ArrayOps.map
|
org.make.api.technical.makedirectivestest
|
scala.Predef.refArrayOps[String](x$8.split("&")).map[Array[String]](((x$9: String) => x$9.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))
|
|
358
|
44986
|
13629
-
13791
|
ApplyToImplicitArgs
|
scala.collection.ArrayOps.map
|
org.make.api.technical.makedirectivestest
|
scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](x$8.split("&")).map[Array[String]](((x$9: String) => x$9.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key).->[String](value)
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))
|
|
359
|
36400
|
13723
-
13735
|
Apply
|
scala.Predef.ArrowAssoc.->
|
org.make.api.technical.makedirectivestest
|
scala.Predef.ArrowAssoc[String](key).->[String](value)
|
|
360
|
49423
|
13772
-
13781
|
Apply
|
scala.Predef.ArrowAssoc.->
|
org.make.api.technical.makedirectivestest
|
scala.Predef.ArrowAssoc[String](key).->[String]("")
|
|
362
|
51225
|
13629
-
13806
|
ApplyToImplicitArgs
|
scala.collection.IterableOnceOps.toMap
|
org.make.api.technical.makedirectivestest
|
scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](x$8.split("&")).map[Array[String]](((x$9: String) => x$9.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key).->[String](value)
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)])
|
|
362
|
37408
|
13801
-
13801
|
TypeApply
|
scala.<:<.refl
|
org.make.api.technical.makedirectivestest
|
scala.this.<:<.refl[(String, String)]
|
|
371
|
34506
|
14025
-
14041
|
Apply
|
org.make.core.SlugHelper.apply
|
org.make.api.user.adminuserapitest
|
org.make.core.SlugHelper.apply(name)
|
|
372
|
30578
|
14046
-
14079
|
Apply
|
org.make.api.technical.tracing.Tracing.entrypoint
|
org.make.api.user.adminuserapitest
|
org.make.api.technical.tracing.Tracing.entrypoint(slugifiedName)
|
|
375
|
43955
|
14110
-
14119
|
Select
|
org.make.api.technical.MakeDirectives.requestId
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.requestId
|
|
375
|
48578
|
14085
-
19660
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[String](MakeDirectives.this.requestId).flatMap[(org.make.core.RequestContext,)](((requestId: String) => org.make.api.Predef.RichDirective0(MakeDirectives.this.operationName(slugifiedName, MakeDirectives.this.operationName$default$2)).flatMap[org.make.core.RequestContext](((x$37: Unit) => (x$37: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionNonEmptyURLHeaderValueByName(akka.http.scaladsl.model.headers.Origin.name)).flatMap[(org.make.core.RequestContext,)](((origin: Option[String]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.addCorsHeaders(origin)).flatMap[org.make.core.RequestContext](((x$36: Unit) => (x$36: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.encodeResponse).flatMap[org.make.core.RequestContext](((x$35: Unit) => (x$35: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Long](MakeDirectives.this.startTime).flatMap[(org.make.core.RequestContext,)](((startTime: Long) => server.this.Directive.SingleValueTransformers[Option[org.make.core.ApplicationName]](server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-App-Name.name)).map[Option[org.make.core.ApplicationName]](((x$10: Option[String]) => x$10.flatMap[org.make.core.ApplicationName](((i: String) => org.make.core.ApplicationName.withValueOpt(i)))))(util.this.Tupler.forAnyRef[Option[org.make.core.ApplicationName]])).flatMap[(org.make.core.RequestContext,)](((maybeApplicationName: Option[org.make.core.ApplicationName]) => server.this.Directive.SingleValueTransformers[String](MakeDirectives.this.visitorId).flatMap[(org.make.core.RequestContext,)](((visitorId: String) => server.this.Directive.SingleValueTransformers[java.time.ZonedDateTime](MakeDirectives.this.visitorCreatedAt).flatMap[(org.make.core.RequestContext,)](((visitorCreatedAt: java.time.ZonedDateTime) => server.this.Directive.SingleValueTransformers[String](server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-External-Id.name)).map[String](((x$11: Option[String]) => x$11.getOrElse[String](requestId)))(util.this.Tupler.forAnyRef[String])).flatMap[(org.make.core.RequestContext,)](((externalId: String) => server.this.Directive.SingleValueTransformers[org.make.core.session.SessionId](MakeDirectives.this.getCurrentSessionId(maybeApplicationName)).flatMap[(org.make.core.RequestContext,)](((currentSessionId: org.make.core.session.SessionId) => org.make.api.Predef.RichDirective0(MakeDirectives.this.addMakeHeaders(maybeApplicationName, requestId, slugifiedName, currentSessionId.value, visitorId, visitorCreatedAt, startTime, externalId, anonymize)).flatMap[org.make.core.RequestContext](((x$34: Unit) => (x$34: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.addSecurityHeaders()).flatMap[org.make.core.RequestContext](((x$33: Unit) => (x$33: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.handleExceptions(org.make.api.MakeApi.exceptionHandler(slugifiedName, requestId))).flatMap[org.make.core.RequestContext](((x$32: Unit) => (x$32: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.handleRejections(org.make.api.MakeApi.rejectionHandler)).flatMap[org.make.core.RequestContext](((x$31: Unit) => (x$31: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[org.make.core.auth.Token]](MakeDirectives.this.makeTriggerAuthRefreshFromCookie(maybeApplicationName)).flatMap[(org.make.core.RequestContext,)](((maybeTokenRefreshed: Option[org.make.core.auth.Token]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.addMaybeRefreshedSecureCookie(maybeApplicationName, maybeTokenRefreshed)).flatMap[org.make.core.RequestContext](((x$30: Unit) => (x$30: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.makeAuthCookieHandlers(maybeTokenRefreshed, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$29: Unit) => (x$29: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[org.make.api.technical.IpAndHash]](MakeDirectives.this.extractIpAndHash).flatMap[(org.make.core.RequestContext,)](((maybeIpAddress: Option[org.make.api.technical.IpAndHash]) => server.this.Directive.SingleValueTransformers[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]](MakeDirectives.this.optionalMakeOAuth2).flatMap[(org.make.core.RequestContext,)](((maybeUser: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkTokenExpirationIfNoCookieIsDefined(maybeUser, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$28: Unit) => (x$28: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkEndpointAccess(maybeUser.map[org.make.core.auth.UserRights](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user)), endpointType)).flatMap[org.make.core.RequestContext](((x$27: Unit) => (x$27: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(akka.http.scaladsl.model.headers.User-Agent.name)).flatMap[(org.make.core.RequestContext,)](((maybeUserAgent: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Operation.name)).flatMap[(org.make.core.RequestContext,)](((maybeOperation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Source.name)).flatMap[(org.make.core.RequestContext,)](((maybeSource: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Location.name)).flatMap[(org.make.core.RequestContext,)](((maybeLocation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestion: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Slug.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionSlug: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Detected-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeDetectedCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeProposalLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
|
|
375
|
30891
|
14107
-
14107
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
376
|
36851
|
14139
-
14139
|
Select
|
kamon.instrumentation.akka.http.TracingDirectives.operationName$default$2
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.operationName$default$2
|
|
376
|
49462
|
14139
-
14167
|
Apply
|
kamon.instrumentation.akka.http.TracingDirectives.operationName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.operationName(slugifiedName, MakeDirectives.this.operationName$default$2)
|
|
376
|
39342
|
14126
-
19660
|
Apply
|
org.make.api.Predef.RichDirective0.flatMap
|
org.make.api.user.adminuserapitest
|
org.make.api.Predef.RichDirective0(MakeDirectives.this.operationName(slugifiedName, MakeDirectives.this.operationName$default$2)).flatMap[org.make.core.RequestContext](((x$37: Unit) => (x$37: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionNonEmptyURLHeaderValueByName(akka.http.scaladsl.model.headers.Origin.name)).flatMap[(org.make.core.RequestContext,)](((origin: Option[String]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.addCorsHeaders(origin)).flatMap[org.make.core.RequestContext](((x$36: Unit) => (x$36: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.encodeResponse).flatMap[org.make.core.RequestContext](((x$35: Unit) => (x$35: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Long](MakeDirectives.this.startTime).flatMap[(org.make.core.RequestContext,)](((startTime: Long) => server.this.Directive.SingleValueTransformers[Option[org.make.core.ApplicationName]](server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-App-Name.name)).map[Option[org.make.core.ApplicationName]](((x$10: Option[String]) => x$10.flatMap[org.make.core.ApplicationName](((i: String) => org.make.core.ApplicationName.withValueOpt(i)))))(util.this.Tupler.forAnyRef[Option[org.make.core.ApplicationName]])).flatMap[(org.make.core.RequestContext,)](((maybeApplicationName: Option[org.make.core.ApplicationName]) => server.this.Directive.SingleValueTransformers[String](MakeDirectives.this.visitorId).flatMap[(org.make.core.RequestContext,)](((visitorId: String) => server.this.Directive.SingleValueTransformers[java.time.ZonedDateTime](MakeDirectives.this.visitorCreatedAt).flatMap[(org.make.core.RequestContext,)](((visitorCreatedAt: java.time.ZonedDateTime) => server.this.Directive.SingleValueTransformers[String](server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-External-Id.name)).map[String](((x$11: Option[String]) => x$11.getOrElse[String](requestId)))(util.this.Tupler.forAnyRef[String])).flatMap[(org.make.core.RequestContext,)](((externalId: String) => server.this.Directive.SingleValueTransformers[org.make.core.session.SessionId](MakeDirectives.this.getCurrentSessionId(maybeApplicationName)).flatMap[(org.make.core.RequestContext,)](((currentSessionId: org.make.core.session.SessionId) => org.make.api.Predef.RichDirective0(MakeDirectives.this.addMakeHeaders(maybeApplicationName, requestId, slugifiedName, currentSessionId.value, visitorId, visitorCreatedAt, startTime, externalId, anonymize)).flatMap[org.make.core.RequestContext](((x$34: Unit) => (x$34: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.addSecurityHeaders()).flatMap[org.make.core.RequestContext](((x$33: Unit) => (x$33: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.handleExceptions(org.make.api.MakeApi.exceptionHandler(slugifiedName, requestId))).flatMap[org.make.core.RequestContext](((x$32: Unit) => (x$32: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.handleRejections(org.make.api.MakeApi.rejectionHandler)).flatMap[org.make.core.RequestContext](((x$31: Unit) => (x$31: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[org.make.core.auth.Token]](MakeDirectives.this.makeTriggerAuthRefreshFromCookie(maybeApplicationName)).flatMap[(org.make.core.RequestContext,)](((maybeTokenRefreshed: Option[org.make.core.auth.Token]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.addMaybeRefreshedSecureCookie(maybeApplicationName, maybeTokenRefreshed)).flatMap[org.make.core.RequestContext](((x$30: Unit) => (x$30: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.makeAuthCookieHandlers(maybeTokenRefreshed, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$29: Unit) => (x$29: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[org.make.api.technical.IpAndHash]](MakeDirectives.this.extractIpAndHash).flatMap[(org.make.core.RequestContext,)](((maybeIpAddress: Option[org.make.api.technical.IpAndHash]) => server.this.Directive.SingleValueTransformers[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]](MakeDirectives.this.optionalMakeOAuth2).flatMap[(org.make.core.RequestContext,)](((maybeUser: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkTokenExpirationIfNoCookieIsDefined(maybeUser, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$28: Unit) => (x$28: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkEndpointAccess(maybeUser.map[org.make.core.auth.UserRights](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user)), endpointType)).flatMap[org.make.core.RequestContext](((x$27: Unit) => (x$27: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(akka.http.scaladsl.model.headers.User-Agent.name)).flatMap[(org.make.core.RequestContext,)](((maybeUserAgent: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Operation.name)).flatMap[(org.make.core.RequestContext,)](((maybeOperation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Source.name)).flatMap[(org.make.core.RequestContext,)](((maybeSource: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Location.name)).flatMap[(org.make.core.RequestContext,)](((maybeLocation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestion: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Slug.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionSlug: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Detected-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeDetectedCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeProposalLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
|
|
377
|
41329
|
14222
-
14233
|
Select
|
akka.http.scaladsl.model.headers.ModeledCompanion.name
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.Origin.name
|
|
377
|
46924
|
14174
-
19660
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionNonEmptyURLHeaderValueByName(akka.http.scaladsl.model.headers.Origin.name)).flatMap[(org.make.core.RequestContext,)](((origin: Option[String]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.addCorsHeaders(origin)).flatMap[org.make.core.RequestContext](((x$36: Unit) => (x$36: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.encodeResponse).flatMap[org.make.core.RequestContext](((x$35: Unit) => (x$35: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Long](MakeDirectives.this.startTime).flatMap[(org.make.core.RequestContext,)](((startTime: Long) => server.this.Directive.SingleValueTransformers[Option[org.make.core.ApplicationName]](server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-App-Name.name)).map[Option[org.make.core.ApplicationName]](((x$10: Option[String]) => x$10.flatMap[org.make.core.ApplicationName](((i: String) => org.make.core.ApplicationName.withValueOpt(i)))))(util.this.Tupler.forAnyRef[Option[org.make.core.ApplicationName]])).flatMap[(org.make.core.RequestContext,)](((maybeApplicationName: Option[org.make.core.ApplicationName]) => server.this.Directive.SingleValueTransformers[String](MakeDirectives.this.visitorId).flatMap[(org.make.core.RequestContext,)](((visitorId: String) => server.this.Directive.SingleValueTransformers[java.time.ZonedDateTime](MakeDirectives.this.visitorCreatedAt).flatMap[(org.make.core.RequestContext,)](((visitorCreatedAt: java.time.ZonedDateTime) => server.this.Directive.SingleValueTransformers[String](server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-External-Id.name)).map[String](((x$11: Option[String]) => x$11.getOrElse[String](requestId)))(util.this.Tupler.forAnyRef[String])).flatMap[(org.make.core.RequestContext,)](((externalId: String) => server.this.Directive.SingleValueTransformers[org.make.core.session.SessionId](MakeDirectives.this.getCurrentSessionId(maybeApplicationName)).flatMap[(org.make.core.RequestContext,)](((currentSessionId: org.make.core.session.SessionId) => org.make.api.Predef.RichDirective0(MakeDirectives.this.addMakeHeaders(maybeApplicationName, requestId, slugifiedName, currentSessionId.value, visitorId, visitorCreatedAt, startTime, externalId, anonymize)).flatMap[org.make.core.RequestContext](((x$34: Unit) => (x$34: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.addSecurityHeaders()).flatMap[org.make.core.RequestContext](((x$33: Unit) => (x$33: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.handleExceptions(org.make.api.MakeApi.exceptionHandler(slugifiedName, requestId))).flatMap[org.make.core.RequestContext](((x$32: Unit) => (x$32: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.handleRejections(org.make.api.MakeApi.rejectionHandler)).flatMap[org.make.core.RequestContext](((x$31: Unit) => (x$31: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[org.make.core.auth.Token]](MakeDirectives.this.makeTriggerAuthRefreshFromCookie(maybeApplicationName)).flatMap[(org.make.core.RequestContext,)](((maybeTokenRefreshed: Option[org.make.core.auth.Token]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.addMaybeRefreshedSecureCookie(maybeApplicationName, maybeTokenRefreshed)).flatMap[org.make.core.RequestContext](((x$30: Unit) => (x$30: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.makeAuthCookieHandlers(maybeTokenRefreshed, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$29: Unit) => (x$29: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[org.make.api.technical.IpAndHash]](MakeDirectives.this.extractIpAndHash).flatMap[(org.make.core.RequestContext,)](((maybeIpAddress: Option[org.make.api.technical.IpAndHash]) => server.this.Directive.SingleValueTransformers[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]](MakeDirectives.this.optionalMakeOAuth2).flatMap[(org.make.core.RequestContext,)](((maybeUser: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkTokenExpirationIfNoCookieIsDefined(maybeUser, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$28: Unit) => (x$28: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkEndpointAccess(maybeUser.map[org.make.core.auth.UserRights](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user)), endpointType)).flatMap[org.make.core.RequestContext](((x$27: Unit) => (x$27: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(akka.http.scaladsl.model.headers.User-Agent.name)).flatMap[(org.make.core.RequestContext,)](((maybeUserAgent: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Operation.name)).flatMap[(org.make.core.RequestContext,)](((maybeOperation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Source.name)).flatMap[(org.make.core.RequestContext,)](((maybeSource: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Location.name)).flatMap[(org.make.core.RequestContext,)](((maybeLocation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestion: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Slug.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionSlug: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Detected-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeDetectedCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeProposalLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
|
|
377
|
34157
|
14184
-
14184
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
377
|
37163
|
14187
-
14234
|
Apply
|
org.make.api.technical.MakeDirectives.optionNonEmptyURLHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionNonEmptyURLHeaderValueByName(akka.http.scaladsl.model.headers.Origin.name)
|
|
378
|
38322
|
14241
-
19660
|
Apply
|
org.make.api.Predef.RichDirective0.flatMap
|
org.make.api.user.adminuserapitest
|
org.make.api.Predef.RichDirective0(MakeDirectives.this.addCorsHeaders(origin)).flatMap[org.make.core.RequestContext](((x$36: Unit) => (x$36: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.encodeResponse).flatMap[org.make.core.RequestContext](((x$35: Unit) => (x$35: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Long](MakeDirectives.this.startTime).flatMap[(org.make.core.RequestContext,)](((startTime: Long) => server.this.Directive.SingleValueTransformers[Option[org.make.core.ApplicationName]](server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-App-Name.name)).map[Option[org.make.core.ApplicationName]](((x$10: Option[String]) => x$10.flatMap[org.make.core.ApplicationName](((i: String) => org.make.core.ApplicationName.withValueOpt(i)))))(util.this.Tupler.forAnyRef[Option[org.make.core.ApplicationName]])).flatMap[(org.make.core.RequestContext,)](((maybeApplicationName: Option[org.make.core.ApplicationName]) => server.this.Directive.SingleValueTransformers[String](MakeDirectives.this.visitorId).flatMap[(org.make.core.RequestContext,)](((visitorId: String) => server.this.Directive.SingleValueTransformers[java.time.ZonedDateTime](MakeDirectives.this.visitorCreatedAt).flatMap[(org.make.core.RequestContext,)](((visitorCreatedAt: java.time.ZonedDateTime) => server.this.Directive.SingleValueTransformers[String](server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-External-Id.name)).map[String](((x$11: Option[String]) => x$11.getOrElse[String](requestId)))(util.this.Tupler.forAnyRef[String])).flatMap[(org.make.core.RequestContext,)](((externalId: String) => server.this.Directive.SingleValueTransformers[org.make.core.session.SessionId](MakeDirectives.this.getCurrentSessionId(maybeApplicationName)).flatMap[(org.make.core.RequestContext,)](((currentSessionId: org.make.core.session.SessionId) => org.make.api.Predef.RichDirective0(MakeDirectives.this.addMakeHeaders(maybeApplicationName, requestId, slugifiedName, currentSessionId.value, visitorId, visitorCreatedAt, startTime, externalId, anonymize)).flatMap[org.make.core.RequestContext](((x$34: Unit) => (x$34: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.addSecurityHeaders()).flatMap[org.make.core.RequestContext](((x$33: Unit) => (x$33: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.handleExceptions(org.make.api.MakeApi.exceptionHandler(slugifiedName, requestId))).flatMap[org.make.core.RequestContext](((x$32: Unit) => (x$32: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.handleRejections(org.make.api.MakeApi.rejectionHandler)).flatMap[org.make.core.RequestContext](((x$31: Unit) => (x$31: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[org.make.core.auth.Token]](MakeDirectives.this.makeTriggerAuthRefreshFromCookie(maybeApplicationName)).flatMap[(org.make.core.RequestContext,)](((maybeTokenRefreshed: Option[org.make.core.auth.Token]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.addMaybeRefreshedSecureCookie(maybeApplicationName, maybeTokenRefreshed)).flatMap[org.make.core.RequestContext](((x$30: Unit) => (x$30: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.makeAuthCookieHandlers(maybeTokenRefreshed, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$29: Unit) => (x$29: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[org.make.api.technical.IpAndHash]](MakeDirectives.this.extractIpAndHash).flatMap[(org.make.core.RequestContext,)](((maybeIpAddress: Option[org.make.api.technical.IpAndHash]) => server.this.Directive.SingleValueTransformers[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]](MakeDirectives.this.optionalMakeOAuth2).flatMap[(org.make.core.RequestContext,)](((maybeUser: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkTokenExpirationIfNoCookieIsDefined(maybeUser, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$28: Unit) => (x$28: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkEndpointAccess(maybeUser.map[org.make.core.auth.UserRights](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user)), endpointType)).flatMap[org.make.core.RequestContext](((x$27: Unit) => (x$27: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(akka.http.scaladsl.model.headers.User-Agent.name)).flatMap[(org.make.core.RequestContext,)](((maybeUserAgent: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Operation.name)).flatMap[(org.make.core.RequestContext,)](((maybeOperation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Source.name)).flatMap[(org.make.core.RequestContext,)](((maybeSource: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Location.name)).flatMap[(org.make.core.RequestContext,)](((maybeLocation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestion: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Slug.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionSlug: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Detected-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeDetectedCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeProposalLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))
|
|
378
|
51265
|
14254
-
14276
|
Apply
|
org.make.api.technical.MakeDirectives.addCorsHeaders
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.addCorsHeaders(origin)
|
|
379
|
43381
|
14296
-
14310
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.encodeResponse
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.encodeResponse
|
|
379
|
45855
|
14283
-
19660
|
Apply
|
org.make.api.Predef.RichDirective0.flatMap
|
org.make.api.user.adminuserapitest
|
org.make.api.Predef.RichDirective0(MakeDirectives.this.encodeResponse).flatMap[org.make.core.RequestContext](((x$35: Unit) => (x$35: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Long](MakeDirectives.this.startTime).flatMap[(org.make.core.RequestContext,)](((startTime: Long) => server.this.Directive.SingleValueTransformers[Option[org.make.core.ApplicationName]](server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-App-Name.name)).map[Option[org.make.core.ApplicationName]](((x$10: Option[String]) => x$10.flatMap[org.make.core.ApplicationName](((i: String) => org.make.core.ApplicationName.withValueOpt(i)))))(util.this.Tupler.forAnyRef[Option[org.make.core.ApplicationName]])).flatMap[(org.make.core.RequestContext,)](((maybeApplicationName: Option[org.make.core.ApplicationName]) => server.this.Directive.SingleValueTransformers[String](MakeDirectives.this.visitorId).flatMap[(org.make.core.RequestContext,)](((visitorId: String) => server.this.Directive.SingleValueTransformers[java.time.ZonedDateTime](MakeDirectives.this.visitorCreatedAt).flatMap[(org.make.core.RequestContext,)](((visitorCreatedAt: java.time.ZonedDateTime) => server.this.Directive.SingleValueTransformers[String](server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-External-Id.name)).map[String](((x$11: Option[String]) => x$11.getOrElse[String](requestId)))(util.this.Tupler.forAnyRef[String])).flatMap[(org.make.core.RequestContext,)](((externalId: String) => server.this.Directive.SingleValueTransformers[org.make.core.session.SessionId](MakeDirectives.this.getCurrentSessionId(maybeApplicationName)).flatMap[(org.make.core.RequestContext,)](((currentSessionId: org.make.core.session.SessionId) => org.make.api.Predef.RichDirective0(MakeDirectives.this.addMakeHeaders(maybeApplicationName, requestId, slugifiedName, currentSessionId.value, visitorId, visitorCreatedAt, startTime, externalId, anonymize)).flatMap[org.make.core.RequestContext](((x$34: Unit) => (x$34: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.addSecurityHeaders()).flatMap[org.make.core.RequestContext](((x$33: Unit) => (x$33: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.handleExceptions(org.make.api.MakeApi.exceptionHandler(slugifiedName, requestId))).flatMap[org.make.core.RequestContext](((x$32: Unit) => (x$32: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.handleRejections(org.make.api.MakeApi.rejectionHandler)).flatMap[org.make.core.RequestContext](((x$31: Unit) => (x$31: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[org.make.core.auth.Token]](MakeDirectives.this.makeTriggerAuthRefreshFromCookie(maybeApplicationName)).flatMap[(org.make.core.RequestContext,)](((maybeTokenRefreshed: Option[org.make.core.auth.Token]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.addMaybeRefreshedSecureCookie(maybeApplicationName, maybeTokenRefreshed)).flatMap[org.make.core.RequestContext](((x$30: Unit) => (x$30: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.makeAuthCookieHandlers(maybeTokenRefreshed, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$29: Unit) => (x$29: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[org.make.api.technical.IpAndHash]](MakeDirectives.this.extractIpAndHash).flatMap[(org.make.core.RequestContext,)](((maybeIpAddress: Option[org.make.api.technical.IpAndHash]) => server.this.Directive.SingleValueTransformers[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]](MakeDirectives.this.optionalMakeOAuth2).flatMap[(org.make.core.RequestContext,)](((maybeUser: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkTokenExpirationIfNoCookieIsDefined(maybeUser, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$28: Unit) => (x$28: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkEndpointAccess(maybeUser.map[org.make.core.auth.UserRights](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user)), endpointType)).flatMap[org.make.core.RequestContext](((x$27: Unit) => (x$27: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(akka.http.scaladsl.model.headers.User-Agent.name)).flatMap[(org.make.core.RequestContext,)](((maybeUserAgent: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Operation.name)).flatMap[(org.make.core.RequestContext,)](((maybeOperation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Source.name)).flatMap[(org.make.core.RequestContext,)](((maybeSource: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Location.name)).flatMap[(org.make.core.RequestContext,)](((maybeLocation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestion: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Slug.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionSlug: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Detected-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeDetectedCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeProposalLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
|
|
380
|
34544
|
14330
-
14339
|
Select
|
org.make.api.technical.MakeDirectives.startTime
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.startTime
|
|
380
|
40945
|
14327
-
14327
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
380
|
32780
|
14317
-
19660
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Long](MakeDirectives.this.startTime).flatMap[(org.make.core.RequestContext,)](((startTime: Long) => server.this.Directive.SingleValueTransformers[Option[org.make.core.ApplicationName]](server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-App-Name.name)).map[Option[org.make.core.ApplicationName]](((x$10: Option[String]) => x$10.flatMap[org.make.core.ApplicationName](((i: String) => org.make.core.ApplicationName.withValueOpt(i)))))(util.this.Tupler.forAnyRef[Option[org.make.core.ApplicationName]])).flatMap[(org.make.core.RequestContext,)](((maybeApplicationName: Option[org.make.core.ApplicationName]) => server.this.Directive.SingleValueTransformers[String](MakeDirectives.this.visitorId).flatMap[(org.make.core.RequestContext,)](((visitorId: String) => server.this.Directive.SingleValueTransformers[java.time.ZonedDateTime](MakeDirectives.this.visitorCreatedAt).flatMap[(org.make.core.RequestContext,)](((visitorCreatedAt: java.time.ZonedDateTime) => server.this.Directive.SingleValueTransformers[String](server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-External-Id.name)).map[String](((x$11: Option[String]) => x$11.getOrElse[String](requestId)))(util.this.Tupler.forAnyRef[String])).flatMap[(org.make.core.RequestContext,)](((externalId: String) => server.this.Directive.SingleValueTransformers[org.make.core.session.SessionId](MakeDirectives.this.getCurrentSessionId(maybeApplicationName)).flatMap[(org.make.core.RequestContext,)](((currentSessionId: org.make.core.session.SessionId) => org.make.api.Predef.RichDirective0(MakeDirectives.this.addMakeHeaders(maybeApplicationName, requestId, slugifiedName, currentSessionId.value, visitorId, visitorCreatedAt, startTime, externalId, anonymize)).flatMap[org.make.core.RequestContext](((x$34: Unit) => (x$34: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.addSecurityHeaders()).flatMap[org.make.core.RequestContext](((x$33: Unit) => (x$33: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.handleExceptions(org.make.api.MakeApi.exceptionHandler(slugifiedName, requestId))).flatMap[org.make.core.RequestContext](((x$32: Unit) => (x$32: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.handleRejections(org.make.api.MakeApi.rejectionHandler)).flatMap[org.make.core.RequestContext](((x$31: Unit) => (x$31: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[org.make.core.auth.Token]](MakeDirectives.this.makeTriggerAuthRefreshFromCookie(maybeApplicationName)).flatMap[(org.make.core.RequestContext,)](((maybeTokenRefreshed: Option[org.make.core.auth.Token]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.addMaybeRefreshedSecureCookie(maybeApplicationName, maybeTokenRefreshed)).flatMap[org.make.core.RequestContext](((x$30: Unit) => (x$30: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.makeAuthCookieHandlers(maybeTokenRefreshed, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$29: Unit) => (x$29: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[org.make.api.technical.IpAndHash]](MakeDirectives.this.extractIpAndHash).flatMap[(org.make.core.RequestContext,)](((maybeIpAddress: Option[org.make.api.technical.IpAndHash]) => server.this.Directive.SingleValueTransformers[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]](MakeDirectives.this.optionalMakeOAuth2).flatMap[(org.make.core.RequestContext,)](((maybeUser: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkTokenExpirationIfNoCookieIsDefined(maybeUser, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$28: Unit) => (x$28: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkEndpointAccess(maybeUser.map[org.make.core.auth.UserRights](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user)), endpointType)).flatMap[org.make.core.RequestContext](((x$27: Unit) => (x$27: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(akka.http.scaladsl.model.headers.User-Agent.name)).flatMap[(org.make.core.RequestContext,)](((maybeUserAgent: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Operation.name)).flatMap[(org.make.core.RequestContext,)](((maybeOperation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Source.name)).flatMap[(org.make.core.RequestContext,)](((maybeSource: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Location.name)).flatMap[(org.make.core.RequestContext,)](((maybeLocation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestion: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Slug.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionSlug: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Detected-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeDetectedCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeProposalLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
|
|
381
|
44467
|
14370
-
14436
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-App-Name.name)
|
|
381
|
48540
|
14346
-
19660
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[org.make.core.ApplicationName]](server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-App-Name.name)).map[Option[org.make.core.ApplicationName]](((x$10: Option[String]) => x$10.flatMap[org.make.core.ApplicationName](((i: String) => org.make.core.ApplicationName.withValueOpt(i)))))(util.this.Tupler.forAnyRef[Option[org.make.core.ApplicationName]])).flatMap[(org.make.core.RequestContext,)](((maybeApplicationName: Option[org.make.core.ApplicationName]) => server.this.Directive.SingleValueTransformers[String](MakeDirectives.this.visitorId).flatMap[(org.make.core.RequestContext,)](((visitorId: String) => server.this.Directive.SingleValueTransformers[java.time.ZonedDateTime](MakeDirectives.this.visitorCreatedAt).flatMap[(org.make.core.RequestContext,)](((visitorCreatedAt: java.time.ZonedDateTime) => server.this.Directive.SingleValueTransformers[String](server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-External-Id.name)).map[String](((x$11: Option[String]) => x$11.getOrElse[String](requestId)))(util.this.Tupler.forAnyRef[String])).flatMap[(org.make.core.RequestContext,)](((externalId: String) => server.this.Directive.SingleValueTransformers[org.make.core.session.SessionId](MakeDirectives.this.getCurrentSessionId(maybeApplicationName)).flatMap[(org.make.core.RequestContext,)](((currentSessionId: org.make.core.session.SessionId) => org.make.api.Predef.RichDirective0(MakeDirectives.this.addMakeHeaders(maybeApplicationName, requestId, slugifiedName, currentSessionId.value, visitorId, visitorCreatedAt, startTime, externalId, anonymize)).flatMap[org.make.core.RequestContext](((x$34: Unit) => (x$34: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.addSecurityHeaders()).flatMap[org.make.core.RequestContext](((x$33: Unit) => (x$33: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.handleExceptions(org.make.api.MakeApi.exceptionHandler(slugifiedName, requestId))).flatMap[org.make.core.RequestContext](((x$32: Unit) => (x$32: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.handleRejections(org.make.api.MakeApi.rejectionHandler)).flatMap[org.make.core.RequestContext](((x$31: Unit) => (x$31: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[org.make.core.auth.Token]](MakeDirectives.this.makeTriggerAuthRefreshFromCookie(maybeApplicationName)).flatMap[(org.make.core.RequestContext,)](((maybeTokenRefreshed: Option[org.make.core.auth.Token]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.addMaybeRefreshedSecureCookie(maybeApplicationName, maybeTokenRefreshed)).flatMap[org.make.core.RequestContext](((x$30: Unit) => (x$30: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.makeAuthCookieHandlers(maybeTokenRefreshed, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$29: Unit) => (x$29: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[org.make.api.technical.IpAndHash]](MakeDirectives.this.extractIpAndHash).flatMap[(org.make.core.RequestContext,)](((maybeIpAddress: Option[org.make.api.technical.IpAndHash]) => server.this.Directive.SingleValueTransformers[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]](MakeDirectives.this.optionalMakeOAuth2).flatMap[(org.make.core.RequestContext,)](((maybeUser: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkTokenExpirationIfNoCookieIsDefined(maybeUser, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$28: Unit) => (x$28: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkEndpointAccess(maybeUser.map[org.make.core.auth.UserRights](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user)), endpointType)).flatMap[org.make.core.RequestContext](((x$27: Unit) => (x$27: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(akka.http.scaladsl.model.headers.User-Agent.name)).flatMap[(org.make.core.RequestContext,)](((maybeUserAgent: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Operation.name)).flatMap[(org.make.core.RequestContext,)](((maybeOperation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Source.name)).flatMap[(org.make.core.RequestContext,)](((maybeSource: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Location.name)).flatMap[(org.make.core.RequestContext,)](((maybeLocation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestion: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Slug.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionSlug: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Detected-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeDetectedCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeProposalLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
|
|
381
|
30620
|
14413
-
14435
|
Select
|
org.make.api.technical.X-Make-App-Name.name
|
org.make.api.user.adminuserapitest
|
X-Make-App-Name.name
|
|
381
|
30981
|
14367
-
14367
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
382
|
36885
|
14460
-
14488
|
Apply
|
enumeratum.values.ValueEnum.withValueOpt
|
org.make.api.technical.makedirectivestest
|
org.make.core.ApplicationName.withValueOpt(i)
|
|
382
|
41095
|
14449
-
14449
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
org.make.api.user.adminuserapitest
|
util.this.Tupler.forAnyRef[Option[org.make.core.ApplicationName]]
|
|
382
|
49372
|
14450
-
14489
|
Apply
|
scala.Option.flatMap
|
org.make.api.user.adminuserapitest
|
x$10.flatMap[org.make.core.ApplicationName](((i: String) => org.make.core.ApplicationName.withValueOpt(i)))
|
|
382
|
37197
|
14370
-
14490
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.map
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-App-Name.name)).map[Option[org.make.core.ApplicationName]](((x$10: Option[String]) => x$10.flatMap[org.make.core.ApplicationName](((i: String) => org.make.core.ApplicationName.withValueOpt(i)))))(util.this.Tupler.forAnyRef[Option[org.make.core.ApplicationName]])
|
|
383
|
39306
|
14497
-
19660
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[String](MakeDirectives.this.visitorId).flatMap[(org.make.core.RequestContext,)](((visitorId: String) => server.this.Directive.SingleValueTransformers[java.time.ZonedDateTime](MakeDirectives.this.visitorCreatedAt).flatMap[(org.make.core.RequestContext,)](((visitorCreatedAt: java.time.ZonedDateTime) => server.this.Directive.SingleValueTransformers[String](server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-External-Id.name)).map[String](((x$11: Option[String]) => x$11.getOrElse[String](requestId)))(util.this.Tupler.forAnyRef[String])).flatMap[(org.make.core.RequestContext,)](((externalId: String) => server.this.Directive.SingleValueTransformers[org.make.core.session.SessionId](MakeDirectives.this.getCurrentSessionId(maybeApplicationName)).flatMap[(org.make.core.RequestContext,)](((currentSessionId: org.make.core.session.SessionId) => org.make.api.Predef.RichDirective0(MakeDirectives.this.addMakeHeaders(maybeApplicationName, requestId, slugifiedName, currentSessionId.value, visitorId, visitorCreatedAt, startTime, externalId, anonymize)).flatMap[org.make.core.RequestContext](((x$34: Unit) => (x$34: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.addSecurityHeaders()).flatMap[org.make.core.RequestContext](((x$33: Unit) => (x$33: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.handleExceptions(org.make.api.MakeApi.exceptionHandler(slugifiedName, requestId))).flatMap[org.make.core.RequestContext](((x$32: Unit) => (x$32: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.handleRejections(org.make.api.MakeApi.rejectionHandler)).flatMap[org.make.core.RequestContext](((x$31: Unit) => (x$31: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[org.make.core.auth.Token]](MakeDirectives.this.makeTriggerAuthRefreshFromCookie(maybeApplicationName)).flatMap[(org.make.core.RequestContext,)](((maybeTokenRefreshed: Option[org.make.core.auth.Token]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.addMaybeRefreshedSecureCookie(maybeApplicationName, maybeTokenRefreshed)).flatMap[org.make.core.RequestContext](((x$30: Unit) => (x$30: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.makeAuthCookieHandlers(maybeTokenRefreshed, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$29: Unit) => (x$29: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[org.make.api.technical.IpAndHash]](MakeDirectives.this.extractIpAndHash).flatMap[(org.make.core.RequestContext,)](((maybeIpAddress: Option[org.make.api.technical.IpAndHash]) => server.this.Directive.SingleValueTransformers[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]](MakeDirectives.this.optionalMakeOAuth2).flatMap[(org.make.core.RequestContext,)](((maybeUser: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkTokenExpirationIfNoCookieIsDefined(maybeUser, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$28: Unit) => (x$28: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkEndpointAccess(maybeUser.map[org.make.core.auth.UserRights](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user)), endpointType)).flatMap[org.make.core.RequestContext](((x$27: Unit) => (x$27: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(akka.http.scaladsl.model.headers.User-Agent.name)).flatMap[(org.make.core.RequestContext,)](((maybeUserAgent: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Operation.name)).flatMap[(org.make.core.RequestContext,)](((maybeOperation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Source.name)).flatMap[(org.make.core.RequestContext,)](((maybeSource: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Location.name)).flatMap[(org.make.core.RequestContext,)](((maybeLocation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestion: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Slug.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionSlug: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Detected-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeDetectedCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeProposalLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
|
|
383
|
47437
|
14514
-
14514
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
383
|
51020
|
14517
-
14526
|
Select
|
org.make.api.technical.MakeDirectives.visitorId
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.visitorId
|
|
384
|
41999
|
14550
-
14550
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
384
|
34399
|
14533
-
19660
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[java.time.ZonedDateTime](MakeDirectives.this.visitorCreatedAt).flatMap[(org.make.core.RequestContext,)](((visitorCreatedAt: java.time.ZonedDateTime) => server.this.Directive.SingleValueTransformers[String](server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-External-Id.name)).map[String](((x$11: Option[String]) => x$11.getOrElse[String](requestId)))(util.this.Tupler.forAnyRef[String])).flatMap[(org.make.core.RequestContext,)](((externalId: String) => server.this.Directive.SingleValueTransformers[org.make.core.session.SessionId](MakeDirectives.this.getCurrentSessionId(maybeApplicationName)).flatMap[(org.make.core.RequestContext,)](((currentSessionId: org.make.core.session.SessionId) => org.make.api.Predef.RichDirective0(MakeDirectives.this.addMakeHeaders(maybeApplicationName, requestId, slugifiedName, currentSessionId.value, visitorId, visitorCreatedAt, startTime, externalId, anonymize)).flatMap[org.make.core.RequestContext](((x$34: Unit) => (x$34: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.addSecurityHeaders()).flatMap[org.make.core.RequestContext](((x$33: Unit) => (x$33: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.handleExceptions(org.make.api.MakeApi.exceptionHandler(slugifiedName, requestId))).flatMap[org.make.core.RequestContext](((x$32: Unit) => (x$32: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.handleRejections(org.make.api.MakeApi.rejectionHandler)).flatMap[org.make.core.RequestContext](((x$31: Unit) => (x$31: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[org.make.core.auth.Token]](MakeDirectives.this.makeTriggerAuthRefreshFromCookie(maybeApplicationName)).flatMap[(org.make.core.RequestContext,)](((maybeTokenRefreshed: Option[org.make.core.auth.Token]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.addMaybeRefreshedSecureCookie(maybeApplicationName, maybeTokenRefreshed)).flatMap[org.make.core.RequestContext](((x$30: Unit) => (x$30: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.makeAuthCookieHandlers(maybeTokenRefreshed, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$29: Unit) => (x$29: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[org.make.api.technical.IpAndHash]](MakeDirectives.this.extractIpAndHash).flatMap[(org.make.core.RequestContext,)](((maybeIpAddress: Option[org.make.api.technical.IpAndHash]) => server.this.Directive.SingleValueTransformers[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]](MakeDirectives.this.optionalMakeOAuth2).flatMap[(org.make.core.RequestContext,)](((maybeUser: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkTokenExpirationIfNoCookieIsDefined(maybeUser, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$28: Unit) => (x$28: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkEndpointAccess(maybeUser.map[org.make.core.auth.UserRights](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user)), endpointType)).flatMap[org.make.core.RequestContext](((x$27: Unit) => (x$27: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(akka.http.scaladsl.model.headers.User-Agent.name)).flatMap[(org.make.core.RequestContext,)](((maybeUserAgent: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Operation.name)).flatMap[(org.make.core.RequestContext,)](((maybeOperation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Source.name)).flatMap[(org.make.core.RequestContext,)](((maybeSource: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Location.name)).flatMap[(org.make.core.RequestContext,)](((maybeLocation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestion: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Slug.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionSlug: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Detected-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeDetectedCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeProposalLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
|
|
384
|
43415
|
14553
-
14569
|
Select
|
org.make.api.technical.MakeDirectives.visitorCreatedAt
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.visitorCreatedAt
|
|
385
|
49413
|
14596
-
14693
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.map
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-External-Id.name)).map[String](((x$11: Option[String]) => x$11.getOrElse[String](requestId)))(util.this.Tupler.forAnyRef[String])
|
|
385
|
44505
|
14670
-
14692
|
Apply
|
scala.Option.getOrElse
|
org.make.api.user.adminuserapitest
|
x$11.getOrElse[String](requestId)
|
|
385
|
35276
|
14639
-
14664
|
Select
|
org.make.api.technical.X-Make-External-Id.name
|
org.make.api.user.adminuserapitest
|
X-Make-External-Id.name
|
|
385
|
32745
|
14593
-
14593
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
385
|
31695
|
14596
-
14665
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-External-Id.name)
|
|
385
|
36647
|
14669
-
14669
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
org.make.api.user.adminuserapitest
|
util.this.Tupler.forAnyRef[String]
|
|
385
|
45388
|
14576
-
19660
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[String](server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-External-Id.name)).map[String](((x$11: Option[String]) => x$11.getOrElse[String](requestId)))(util.this.Tupler.forAnyRef[String])).flatMap[(org.make.core.RequestContext,)](((externalId: String) => server.this.Directive.SingleValueTransformers[org.make.core.session.SessionId](MakeDirectives.this.getCurrentSessionId(maybeApplicationName)).flatMap[(org.make.core.RequestContext,)](((currentSessionId: org.make.core.session.SessionId) => org.make.api.Predef.RichDirective0(MakeDirectives.this.addMakeHeaders(maybeApplicationName, requestId, slugifiedName, currentSessionId.value, visitorId, visitorCreatedAt, startTime, externalId, anonymize)).flatMap[org.make.core.RequestContext](((x$34: Unit) => (x$34: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.addSecurityHeaders()).flatMap[org.make.core.RequestContext](((x$33: Unit) => (x$33: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.handleExceptions(org.make.api.MakeApi.exceptionHandler(slugifiedName, requestId))).flatMap[org.make.core.RequestContext](((x$32: Unit) => (x$32: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.handleRejections(org.make.api.MakeApi.rejectionHandler)).flatMap[org.make.core.RequestContext](((x$31: Unit) => (x$31: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[org.make.core.auth.Token]](MakeDirectives.this.makeTriggerAuthRefreshFromCookie(maybeApplicationName)).flatMap[(org.make.core.RequestContext,)](((maybeTokenRefreshed: Option[org.make.core.auth.Token]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.addMaybeRefreshedSecureCookie(maybeApplicationName, maybeTokenRefreshed)).flatMap[org.make.core.RequestContext](((x$30: Unit) => (x$30: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.makeAuthCookieHandlers(maybeTokenRefreshed, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$29: Unit) => (x$29: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[org.make.api.technical.IpAndHash]](MakeDirectives.this.extractIpAndHash).flatMap[(org.make.core.RequestContext,)](((maybeIpAddress: Option[org.make.api.technical.IpAndHash]) => server.this.Directive.SingleValueTransformers[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]](MakeDirectives.this.optionalMakeOAuth2).flatMap[(org.make.core.RequestContext,)](((maybeUser: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkTokenExpirationIfNoCookieIsDefined(maybeUser, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$28: Unit) => (x$28: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkEndpointAccess(maybeUser.map[org.make.core.auth.UserRights](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user)), endpointType)).flatMap[org.make.core.RequestContext](((x$27: Unit) => (x$27: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(akka.http.scaladsl.model.headers.User-Agent.name)).flatMap[(org.make.core.RequestContext,)](((maybeUserAgent: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Operation.name)).flatMap[(org.make.core.RequestContext,)](((maybeOperation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Source.name)).flatMap[(org.make.core.RequestContext,)](((maybeSource: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Location.name)).flatMap[(org.make.core.RequestContext,)](((maybeLocation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestion: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Slug.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionSlug: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Detected-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeDetectedCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeProposalLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
|
|
386
|
40908
|
14700
-
19660
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[org.make.core.session.SessionId](MakeDirectives.this.getCurrentSessionId(maybeApplicationName)).flatMap[(org.make.core.RequestContext,)](((currentSessionId: org.make.core.session.SessionId) => org.make.api.Predef.RichDirective0(MakeDirectives.this.addMakeHeaders(maybeApplicationName, requestId, slugifiedName, currentSessionId.value, visitorId, visitorCreatedAt, startTime, externalId, anonymize)).flatMap[org.make.core.RequestContext](((x$34: Unit) => (x$34: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.addSecurityHeaders()).flatMap[org.make.core.RequestContext](((x$33: Unit) => (x$33: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.handleExceptions(org.make.api.MakeApi.exceptionHandler(slugifiedName, requestId))).flatMap[org.make.core.RequestContext](((x$32: Unit) => (x$32: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.handleRejections(org.make.api.MakeApi.rejectionHandler)).flatMap[org.make.core.RequestContext](((x$31: Unit) => (x$31: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[org.make.core.auth.Token]](MakeDirectives.this.makeTriggerAuthRefreshFromCookie(maybeApplicationName)).flatMap[(org.make.core.RequestContext,)](((maybeTokenRefreshed: Option[org.make.core.auth.Token]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.addMaybeRefreshedSecureCookie(maybeApplicationName, maybeTokenRefreshed)).flatMap[org.make.core.RequestContext](((x$30: Unit) => (x$30: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.makeAuthCookieHandlers(maybeTokenRefreshed, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$29: Unit) => (x$29: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[org.make.api.technical.IpAndHash]](MakeDirectives.this.extractIpAndHash).flatMap[(org.make.core.RequestContext,)](((maybeIpAddress: Option[org.make.api.technical.IpAndHash]) => server.this.Directive.SingleValueTransformers[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]](MakeDirectives.this.optionalMakeOAuth2).flatMap[(org.make.core.RequestContext,)](((maybeUser: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkTokenExpirationIfNoCookieIsDefined(maybeUser, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$28: Unit) => (x$28: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkEndpointAccess(maybeUser.map[org.make.core.auth.UserRights](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user)), endpointType)).flatMap[org.make.core.RequestContext](((x$27: Unit) => (x$27: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(akka.http.scaladsl.model.headers.User-Agent.name)).flatMap[(org.make.core.RequestContext,)](((maybeUserAgent: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Operation.name)).flatMap[(org.make.core.RequestContext,)](((maybeOperation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Source.name)).flatMap[(org.make.core.RequestContext,)](((maybeSource: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Location.name)).flatMap[(org.make.core.RequestContext,)](((maybeLocation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestion: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Slug.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionSlug: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Detected-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeDetectedCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeProposalLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
|
|
386
|
48779
|
14717
-
14717
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
386
|
41827
|
14720
-
14761
|
Apply
|
org.make.api.technical.MakeDirectives.getCurrentSessionId
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.getCurrentSessionId(maybeApplicationName)
|
|
387
|
30940
|
14768
-
19660
|
Apply
|
org.make.api.Predef.RichDirective0.flatMap
|
org.make.api.user.adminuserapitest
|
org.make.api.Predef.RichDirective0(MakeDirectives.this.addMakeHeaders(maybeApplicationName, requestId, slugifiedName, currentSessionId.value, visitorId, visitorCreatedAt, startTime, externalId, anonymize)).flatMap[org.make.core.RequestContext](((x$34: Unit) => (x$34: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.addSecurityHeaders()).flatMap[org.make.core.RequestContext](((x$33: Unit) => (x$33: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.handleExceptions(org.make.api.MakeApi.exceptionHandler(slugifiedName, requestId))).flatMap[org.make.core.RequestContext](((x$32: Unit) => (x$32: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.handleRejections(org.make.api.MakeApi.rejectionHandler)).flatMap[org.make.core.RequestContext](((x$31: Unit) => (x$31: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[org.make.core.auth.Token]](MakeDirectives.this.makeTriggerAuthRefreshFromCookie(maybeApplicationName)).flatMap[(org.make.core.RequestContext,)](((maybeTokenRefreshed: Option[org.make.core.auth.Token]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.addMaybeRefreshedSecureCookie(maybeApplicationName, maybeTokenRefreshed)).flatMap[org.make.core.RequestContext](((x$30: Unit) => (x$30: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.makeAuthCookieHandlers(maybeTokenRefreshed, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$29: Unit) => (x$29: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[org.make.api.technical.IpAndHash]](MakeDirectives.this.extractIpAndHash).flatMap[(org.make.core.RequestContext,)](((maybeIpAddress: Option[org.make.api.technical.IpAndHash]) => server.this.Directive.SingleValueTransformers[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]](MakeDirectives.this.optionalMakeOAuth2).flatMap[(org.make.core.RequestContext,)](((maybeUser: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkTokenExpirationIfNoCookieIsDefined(maybeUser, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$28: Unit) => (x$28: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkEndpointAccess(maybeUser.map[org.make.core.auth.UserRights](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user)), endpointType)).flatMap[org.make.core.RequestContext](((x$27: Unit) => (x$27: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(akka.http.scaladsl.model.headers.User-Agent.name)).flatMap[(org.make.core.RequestContext,)](((maybeUserAgent: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Operation.name)).flatMap[(org.make.core.RequestContext,)](((maybeOperation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Source.name)).flatMap[(org.make.core.RequestContext,)](((maybeSource: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Location.name)).flatMap[(org.make.core.RequestContext,)](((maybeLocation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestion: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Slug.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionSlug: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Detected-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeDetectedCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeProposalLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))
}))
}))
|
|
387
|
51060
|
14773
-
15002
|
Apply
|
org.make.api.technical.MakeDirectives.addMakeHeaders
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.addMakeHeaders(maybeApplicationName, requestId, slugifiedName, currentSessionId.value, visitorId, visitorCreatedAt, startTime, externalId, anonymize)
|
|
391
|
37719
|
14869
-
14891
|
Select
|
org.make.core.session.SessionId.value
|
org.make.api.user.adminuserapitest
|
currentSessionId.value
|
|
398
|
42633
|
15034
-
15054
|
Apply
|
org.make.api.technical.MakeDirectives.addSecurityHeaders
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.addSecurityHeaders()
|
|
398
|
38565
|
15009
-
19660
|
Apply
|
org.make.api.Predef.RichDirective0.flatMap
|
org.make.api.user.adminuserapitest
|
org.make.api.Predef.RichDirective0(MakeDirectives.this.addSecurityHeaders()).flatMap[org.make.core.RequestContext](((x$33: Unit) => (x$33: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.handleExceptions(org.make.api.MakeApi.exceptionHandler(slugifiedName, requestId))).flatMap[org.make.core.RequestContext](((x$32: Unit) => (x$32: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.handleRejections(org.make.api.MakeApi.rejectionHandler)).flatMap[org.make.core.RequestContext](((x$31: Unit) => (x$31: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[org.make.core.auth.Token]](MakeDirectives.this.makeTriggerAuthRefreshFromCookie(maybeApplicationName)).flatMap[(org.make.core.RequestContext,)](((maybeTokenRefreshed: Option[org.make.core.auth.Token]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.addMaybeRefreshedSecureCookie(maybeApplicationName, maybeTokenRefreshed)).flatMap[org.make.core.RequestContext](((x$30: Unit) => (x$30: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.makeAuthCookieHandlers(maybeTokenRefreshed, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$29: Unit) => (x$29: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[org.make.api.technical.IpAndHash]](MakeDirectives.this.extractIpAndHash).flatMap[(org.make.core.RequestContext,)](((maybeIpAddress: Option[org.make.api.technical.IpAndHash]) => server.this.Directive.SingleValueTransformers[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]](MakeDirectives.this.optionalMakeOAuth2).flatMap[(org.make.core.RequestContext,)](((maybeUser: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkTokenExpirationIfNoCookieIsDefined(maybeUser, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$28: Unit) => (x$28: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkEndpointAccess(maybeUser.map[org.make.core.auth.UserRights](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user)), endpointType)).flatMap[org.make.core.RequestContext](((x$27: Unit) => (x$27: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(akka.http.scaladsl.model.headers.User-Agent.name)).flatMap[(org.make.core.RequestContext,)](((maybeUserAgent: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Operation.name)).flatMap[(org.make.core.RequestContext,)](((maybeOperation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Source.name)).flatMap[(org.make.core.RequestContext,)](((maybeSource: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Location.name)).flatMap[(org.make.core.RequestContext,)](((maybeLocation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestion: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Slug.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionSlug: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Detected-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeDetectedCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeProposalLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))
}))
|
|
399
|
48369
|
15086
-
15154
|
Apply
|
akka.http.scaladsl.server.directives.ExecutionDirectives.handleExceptions
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.handleExceptions(org.make.api.MakeApi.exceptionHandler(slugifiedName, requestId))
|
|
399
|
46383
|
15061
-
19660
|
Apply
|
org.make.api.Predef.RichDirective0.flatMap
|
org.make.api.user.adminuserapitest
|
org.make.api.Predef.RichDirective0(MakeDirectives.this.handleExceptions(org.make.api.MakeApi.exceptionHandler(slugifiedName, requestId))).flatMap[org.make.core.RequestContext](((x$32: Unit) => (x$32: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.handleRejections(org.make.api.MakeApi.rejectionHandler)).flatMap[org.make.core.RequestContext](((x$31: Unit) => (x$31: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[org.make.core.auth.Token]](MakeDirectives.this.makeTriggerAuthRefreshFromCookie(maybeApplicationName)).flatMap[(org.make.core.RequestContext,)](((maybeTokenRefreshed: Option[org.make.core.auth.Token]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.addMaybeRefreshedSecureCookie(maybeApplicationName, maybeTokenRefreshed)).flatMap[org.make.core.RequestContext](((x$30: Unit) => (x$30: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.makeAuthCookieHandlers(maybeTokenRefreshed, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$29: Unit) => (x$29: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[org.make.api.technical.IpAndHash]](MakeDirectives.this.extractIpAndHash).flatMap[(org.make.core.RequestContext,)](((maybeIpAddress: Option[org.make.api.technical.IpAndHash]) => server.this.Directive.SingleValueTransformers[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]](MakeDirectives.this.optionalMakeOAuth2).flatMap[(org.make.core.RequestContext,)](((maybeUser: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkTokenExpirationIfNoCookieIsDefined(maybeUser, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$28: Unit) => (x$28: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkEndpointAccess(maybeUser.map[org.make.core.auth.UserRights](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user)), endpointType)).flatMap[org.make.core.RequestContext](((x$27: Unit) => (x$27: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(akka.http.scaladsl.model.headers.User-Agent.name)).flatMap[(org.make.core.RequestContext,)](((maybeUserAgent: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Operation.name)).flatMap[(org.make.core.RequestContext,)](((maybeOperation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Source.name)).flatMap[(org.make.core.RequestContext,)](((maybeSource: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Location.name)).flatMap[(org.make.core.RequestContext,)](((maybeLocation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestion: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Slug.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionSlug: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Detected-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeDetectedCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeProposalLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))
|
|
399
|
35030
|
15103
-
15153
|
Apply
|
org.make.api.MakeApi.exceptionHandler
|
org.make.api.user.adminuserapitest
|
org.make.api.MakeApi.exceptionHandler(slugifiedName, requestId)
|
|
400
|
34361
|
15161
-
19660
|
Apply
|
org.make.api.Predef.RichDirective0.flatMap
|
org.make.api.user.adminuserapitest
|
org.make.api.Predef.RichDirective0(MakeDirectives.this.handleRejections(org.make.api.MakeApi.rejectionHandler)).flatMap[org.make.core.RequestContext](((x$31: Unit) => (x$31: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[org.make.core.auth.Token]](MakeDirectives.this.makeTriggerAuthRefreshFromCookie(maybeApplicationName)).flatMap[(org.make.core.RequestContext,)](((maybeTokenRefreshed: Option[org.make.core.auth.Token]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.addMaybeRefreshedSecureCookie(maybeApplicationName, maybeTokenRefreshed)).flatMap[org.make.core.RequestContext](((x$30: Unit) => (x$30: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.makeAuthCookieHandlers(maybeTokenRefreshed, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$29: Unit) => (x$29: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[org.make.api.technical.IpAndHash]](MakeDirectives.this.extractIpAndHash).flatMap[(org.make.core.RequestContext,)](((maybeIpAddress: Option[org.make.api.technical.IpAndHash]) => server.this.Directive.SingleValueTransformers[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]](MakeDirectives.this.optionalMakeOAuth2).flatMap[(org.make.core.RequestContext,)](((maybeUser: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkTokenExpirationIfNoCookieIsDefined(maybeUser, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$28: Unit) => (x$28: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkEndpointAccess(maybeUser.map[org.make.core.auth.UserRights](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user)), endpointType)).flatMap[org.make.core.RequestContext](((x$27: Unit) => (x$27: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(akka.http.scaladsl.model.headers.User-Agent.name)).flatMap[(org.make.core.RequestContext,)](((maybeUserAgent: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Operation.name)).flatMap[(org.make.core.RequestContext,)](((maybeOperation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Source.name)).flatMap[(org.make.core.RequestContext,)](((maybeSource: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Location.name)).flatMap[(org.make.core.RequestContext,)](((maybeLocation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestion: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Slug.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionSlug: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Detected-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeDetectedCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeProposalLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
|
|
400
|
44268
|
15203
-
15227
|
Select
|
org.make.api.MakeApi.rejectionHandler
|
org.make.api.user.adminuserapitest
|
org.make.api.MakeApi.rejectionHandler
|
|
400
|
36680
|
15186
-
15228
|
Apply
|
akka.http.scaladsl.server.directives.ExecutionDirectives.handleRejections
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.handleRejections(org.make.api.MakeApi.rejectionHandler)
|
|
401
|
45349
|
15257
-
15257
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
401
|
49449
|
15260
-
15314
|
Apply
|
org.make.api.technical.MakeDirectives.makeTriggerAuthRefreshFromCookie
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.makeTriggerAuthRefreshFromCookie(maybeApplicationName)
|
|
401
|
41480
|
15235
-
19660
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[org.make.core.auth.Token]](MakeDirectives.this.makeTriggerAuthRefreshFromCookie(maybeApplicationName)).flatMap[(org.make.core.RequestContext,)](((maybeTokenRefreshed: Option[org.make.core.auth.Token]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.addMaybeRefreshedSecureCookie(maybeApplicationName, maybeTokenRefreshed)).flatMap[org.make.core.RequestContext](((x$30: Unit) => (x$30: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.makeAuthCookieHandlers(maybeTokenRefreshed, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$29: Unit) => (x$29: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[org.make.api.technical.IpAndHash]](MakeDirectives.this.extractIpAndHash).flatMap[(org.make.core.RequestContext,)](((maybeIpAddress: Option[org.make.api.technical.IpAndHash]) => server.this.Directive.SingleValueTransformers[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]](MakeDirectives.this.optionalMakeOAuth2).flatMap[(org.make.core.RequestContext,)](((maybeUser: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkTokenExpirationIfNoCookieIsDefined(maybeUser, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$28: Unit) => (x$28: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkEndpointAccess(maybeUser.map[org.make.core.auth.UserRights](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user)), endpointType)).flatMap[org.make.core.RequestContext](((x$27: Unit) => (x$27: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(akka.http.scaladsl.model.headers.User-Agent.name)).flatMap[(org.make.core.RequestContext,)](((maybeUserAgent: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Operation.name)).flatMap[(org.make.core.RequestContext,)](((maybeOperation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Source.name)).flatMap[(org.make.core.RequestContext,)](((maybeSource: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Location.name)).flatMap[(org.make.core.RequestContext,)](((maybeLocation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestion: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Slug.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionSlug: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Detected-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeDetectedCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeProposalLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
|
|
402
|
41579
|
15346
-
15418
|
Apply
|
org.make.api.technical.MakeDirectives.addMaybeRefreshedSecureCookie
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.addMaybeRefreshedSecureCookie(maybeApplicationName, maybeTokenRefreshed)
|
|
402
|
32009
|
15321
-
19660
|
Apply
|
org.make.api.Predef.RichDirective0.flatMap
|
org.make.api.user.adminuserapitest
|
org.make.api.Predef.RichDirective0(MakeDirectives.this.addMaybeRefreshedSecureCookie(maybeApplicationName, maybeTokenRefreshed)).flatMap[org.make.core.RequestContext](((x$30: Unit) => (x$30: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.makeAuthCookieHandlers(maybeTokenRefreshed, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$29: Unit) => (x$29: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[org.make.api.technical.IpAndHash]](MakeDirectives.this.extractIpAndHash).flatMap[(org.make.core.RequestContext,)](((maybeIpAddress: Option[org.make.api.technical.IpAndHash]) => server.this.Directive.SingleValueTransformers[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]](MakeDirectives.this.optionalMakeOAuth2).flatMap[(org.make.core.RequestContext,)](((maybeUser: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkTokenExpirationIfNoCookieIsDefined(maybeUser, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$28: Unit) => (x$28: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkEndpointAccess(maybeUser.map[org.make.core.auth.UserRights](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user)), endpointType)).flatMap[org.make.core.RequestContext](((x$27: Unit) => (x$27: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(akka.http.scaladsl.model.headers.User-Agent.name)).flatMap[(org.make.core.RequestContext,)](((maybeUserAgent: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Operation.name)).flatMap[(org.make.core.RequestContext,)](((maybeOperation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Source.name)).flatMap[(org.make.core.RequestContext,)](((maybeSource: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Location.name)).flatMap[(org.make.core.RequestContext,)](((maybeLocation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestion: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Slug.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionSlug: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Detected-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeDetectedCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeProposalLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))
|
|
403
|
39846
|
15425
-
19660
|
Apply
|
org.make.api.Predef.RichDirective0.flatMap
|
org.make.api.user.adminuserapitest
|
org.make.api.Predef.RichDirective0(MakeDirectives.this.makeAuthCookieHandlers(maybeTokenRefreshed, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$29: Unit) => (x$29: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[org.make.api.technical.IpAndHash]](MakeDirectives.this.extractIpAndHash).flatMap[(org.make.core.RequestContext,)](((maybeIpAddress: Option[org.make.api.technical.IpAndHash]) => server.this.Directive.SingleValueTransformers[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]](MakeDirectives.this.optionalMakeOAuth2).flatMap[(org.make.core.RequestContext,)](((maybeUser: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkTokenExpirationIfNoCookieIsDefined(maybeUser, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$28: Unit) => (x$28: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkEndpointAccess(maybeUser.map[org.make.core.auth.UserRights](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user)), endpointType)).flatMap[org.make.core.RequestContext](((x$27: Unit) => (x$27: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(akka.http.scaladsl.model.headers.User-Agent.name)).flatMap[(org.make.core.RequestContext,)](((maybeUserAgent: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Operation.name)).flatMap[(org.make.core.RequestContext,)](((maybeOperation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Source.name)).flatMap[(org.make.core.RequestContext,)](((maybeSource: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Location.name)).flatMap[(org.make.core.RequestContext,)](((maybeLocation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestion: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Slug.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionSlug: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Detected-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeDetectedCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeProposalLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
|
|
403
|
37154
|
15450
-
15515
|
Apply
|
org.make.api.technical.MakeDirectives.makeAuthCookieHandlers
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.makeAuthCookieHandlers(maybeTokenRefreshed, maybeApplicationName)
|
|
404
|
48740
|
15522
-
19660
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[org.make.api.technical.IpAndHash]](MakeDirectives.this.extractIpAndHash).flatMap[(org.make.core.RequestContext,)](((maybeIpAddress: Option[org.make.api.technical.IpAndHash]) => server.this.Directive.SingleValueTransformers[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]](MakeDirectives.this.optionalMakeOAuth2).flatMap[(org.make.core.RequestContext,)](((maybeUser: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkTokenExpirationIfNoCookieIsDefined(maybeUser, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$28: Unit) => (x$28: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkEndpointAccess(maybeUser.map[org.make.core.auth.UserRights](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user)), endpointType)).flatMap[org.make.core.RequestContext](((x$27: Unit) => (x$27: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(akka.http.scaladsl.model.headers.User-Agent.name)).flatMap[(org.make.core.RequestContext,)](((maybeUserAgent: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Operation.name)).flatMap[(org.make.core.RequestContext,)](((maybeOperation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Source.name)).flatMap[(org.make.core.RequestContext,)](((maybeSource: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Location.name)).flatMap[(org.make.core.RequestContext,)](((maybeLocation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestion: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Slug.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionSlug: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Detected-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeDetectedCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeProposalLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
|
|
404
|
50817
|
15547
-
15563
|
Select
|
org.make.api.technical.MakeDirectives.extractIpAndHash
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.extractIpAndHash
|
|
404
|
31186
|
15544
-
15544
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
405
|
46934
|
15592
-
15592
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
405
|
38814
|
15570
-
19660
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]](MakeDirectives.this.optionalMakeOAuth2).flatMap[(org.make.core.RequestContext,)](((maybeUser: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkTokenExpirationIfNoCookieIsDefined(maybeUser, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$28: Unit) => (x$28: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkEndpointAccess(maybeUser.map[org.make.core.auth.UserRights](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user)), endpointType)).flatMap[org.make.core.RequestContext](((x$27: Unit) => (x$27: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(akka.http.scaladsl.model.headers.User-Agent.name)).flatMap[(org.make.core.RequestContext,)](((maybeUserAgent: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Operation.name)).flatMap[(org.make.core.RequestContext,)](((maybeOperation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Source.name)).flatMap[(org.make.core.RequestContext,)](((maybeSource: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Location.name)).flatMap[(org.make.core.RequestContext,)](((maybeLocation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestion: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Slug.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionSlug: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Detected-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeDetectedCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeProposalLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
|
|
405
|
42670
|
15595
-
15613
|
Select
|
org.make.api.technical.auth.MakeAuthentication.optionalMakeOAuth2
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.optionalMakeOAuth2
|
|
406
|
35067
|
15645
-
15717
|
Apply
|
org.make.api.technical.MakeDirectives.checkTokenExpirationIfNoCookieIsDefined
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.checkTokenExpirationIfNoCookieIsDefined(maybeUser, maybeApplicationName)
|
|
406
|
33290
|
15620
-
19660
|
Apply
|
org.make.api.Predef.RichDirective0.flatMap
|
org.make.api.user.adminuserapitest
|
org.make.api.Predef.RichDirective0(MakeDirectives.this.checkTokenExpirationIfNoCookieIsDefined(maybeUser, maybeApplicationName)).flatMap[org.make.core.RequestContext](((x$28: Unit) => (x$28: Unit @unchecked) match {
case _ => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkEndpointAccess(maybeUser.map[org.make.core.auth.UserRights](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user)), endpointType)).flatMap[org.make.core.RequestContext](((x$27: Unit) => (x$27: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(akka.http.scaladsl.model.headers.User-Agent.name)).flatMap[(org.make.core.RequestContext,)](((maybeUserAgent: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Operation.name)).flatMap[(org.make.core.RequestContext,)](((maybeOperation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Source.name)).flatMap[(org.make.core.RequestContext,)](((maybeSource: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Location.name)).flatMap[(org.make.core.RequestContext,)](((maybeLocation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestion: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Slug.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionSlug: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Detected-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeDetectedCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeProposalLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
}))
|
|
407
|
43692
|
15769
-
15790
|
Apply
|
scala.Option.map
|
org.make.api.user.adminuserapitest
|
maybeUser.map[org.make.core.auth.UserRights](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user))
|
|
407
|
36178
|
15749
-
15805
|
Apply
|
org.make.api.technical.MakeDirectives.checkEndpointAccess
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.checkEndpointAccess(maybeUser.map[org.make.core.auth.UserRights](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user)), endpointType)
|
|
407
|
47584
|
15783
-
15789
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
x$12.user
|
|
407
|
41438
|
15724
-
19660
|
Apply
|
org.make.api.Predef.RichDirective0.flatMap
|
org.make.api.user.adminuserapitest
|
org.make.api.Predef.RichDirective0(MakeDirectives.this.checkEndpointAccess(maybeUser.map[org.make.core.auth.UserRights](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user)), endpointType)).flatMap[org.make.core.RequestContext](((x$27: Unit) => (x$27: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(akka.http.scaladsl.model.headers.User-Agent.name)).flatMap[(org.make.core.RequestContext,)](((maybeUserAgent: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Operation.name)).flatMap[(org.make.core.RequestContext,)](((maybeOperation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Source.name)).flatMap[(org.make.core.RequestContext,)](((maybeSource: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Location.name)).flatMap[(org.make.core.RequestContext,)](((maybeLocation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestion: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Slug.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionSlug: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Detected-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeDetectedCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeProposalLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
|
|
408
|
32791
|
15834
-
15834
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
408
|
41619
|
15837
-
15889
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptyHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptyHeaderValueByName(akka.http.scaladsl.model.headers.User-Agent.name)
|
|
408
|
49206
|
15871
-
15888
|
Select
|
akka.http.scaladsl.model.headers.ModeledCompanion.name
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.User-Agent.name
|
|
408
|
45311
|
15812
-
19660
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(akka.http.scaladsl.model.headers.User-Agent.name)).flatMap[(org.make.core.RequestContext,)](((maybeUserAgent: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Operation.name)).flatMap[(org.make.core.RequestContext,)](((maybeOperation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Source.name)).flatMap[(org.make.core.RequestContext,)](((maybeSource: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Location.name)).flatMap[(org.make.core.RequestContext,)](((maybeLocation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestion: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Slug.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionSlug: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Detected-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeDetectedCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeProposalLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
|
|
409
|
50247
|
15921
-
15988
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Operation.name)
|
|
409
|
48236
|
15918
-
15918
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
409
|
33187
|
15964
-
15987
|
Select
|
org.make.api.technical.X-Make-Operation.name
|
org.make.api.user.adminuserapitest
|
X-Make-Operation.name
|
|
409
|
40406
|
15896
-
19660
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Operation.name)).flatMap[(org.make.core.RequestContext,)](((maybeOperation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Source.name)).flatMap[(org.make.core.RequestContext,)](((maybeSource: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Location.name)).flatMap[(org.make.core.RequestContext,)](((maybeLocation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestion: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Slug.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionSlug: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Detected-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeDetectedCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeProposalLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
|
|
410
|
34885
|
15995
-
19660
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Source.name)).flatMap[(org.make.core.RequestContext,)](((maybeSource: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Location.name)).flatMap[(org.make.core.RequestContext,)](((maybeLocation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestion: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Slug.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionSlug: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Detected-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeDetectedCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeProposalLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
|
|
410
|
38777
|
16017
-
16017
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
410
|
34823
|
16020
-
16084
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Source.name)
|
|
410
|
42703
|
16063
-
16083
|
Select
|
org.make.api.technical.X-Make-Source.name
|
org.make.api.user.adminuserapitest
|
X-Make-Source.name
|
|
411
|
44754
|
16116
-
16182
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Location.name)
|
|
411
|
47621
|
16159
-
16181
|
Select
|
org.make.api.technical.X-Make-Location.name
|
org.make.api.user.adminuserapitest
|
X-Make-Location.name
|
|
411
|
33873
|
16113
-
16113
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
411
|
47181
|
16091
-
19660
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Location.name)).flatMap[(org.make.core.RequestContext,)](((maybeLocation: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestion: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Slug.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionSlug: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Detected-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeDetectedCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeProposalLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
|
|
412
|
41691
|
16189
-
19660
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestion: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Slug.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionSlug: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Detected-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeDetectedCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeProposalLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
|
|
412
|
49239
|
16214
-
16280
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question.name)
|
|
412
|
36636
|
16257
-
16279
|
Select
|
org.make.api.technical.X-Make-Question.name
|
org.make.api.user.adminuserapitest
|
X-Make-Question.name
|
|
412
|
45565
|
16211
-
16211
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
413
|
33225
|
16312
-
16383
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Slug.name)
|
|
413
|
40648
|
16309
-
16309
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
413
|
42144
|
16355
-
16382
|
Select
|
org.make.api.technical.X-Make-Question-Slug.name
|
org.make.api.user.adminuserapitest
|
X-Make-Question-Slug.name
|
|
413
|
32753
|
16287
-
19660
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Slug.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionSlug: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Detected-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeDetectedCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeProposalLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
|
|
414
|
48788
|
16390
-
19660
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Detected-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeDetectedCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeProposalLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
|
|
414
|
43165
|
16415
-
16480
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Country.name)
|
|
414
|
34850
|
16412
-
16412
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
414
|
51050
|
16458
-
16479
|
Select
|
org.make.api.technical.X-Make-Country.name
|
org.make.api.user.adminuserapitest
|
X-Make-Country.name
|
|
415
|
47142
|
16509
-
16509
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
415
|
48682
|
16512
-
16581
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Detected-Country.name)
|
|
415
|
34859
|
16555
-
16580
|
Select
|
org.make.api.technical.X-Detected-Country.name
|
org.make.api.user.adminuserapitest
|
X-Detected-Country.name
|
|
415
|
39557
|
16487
-
19660
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Detected-Country.name)).flatMap[(org.make.core.RequestContext,)](((maybeDetectedCountry: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeProposalLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
|
|
416
|
42251
|
16610
-
16610
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
416
|
44789
|
16656
-
16678
|
Select
|
org.make.api.technical.X-Make-Language.name
|
org.make.api.user.adminuserapitest
|
X-Make-Language.name
|
|
416
|
36672
|
16613
-
16679
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Language.name)
|
|
416
|
33336
|
16588
-
19660
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeProposalLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
|
|
417
|
42176
|
16711
-
16786
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)
|
|
417
|
49227
|
16686
-
19660
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeProposalLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
|
|
417
|
33002
|
16708
-
16708
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
417
|
49701
|
16754
-
16785
|
Select
|
org.make.api.technical.X-Make-Question-Language.name
|
org.make.api.user.adminuserapitest
|
X-Make-Question-Language.name
|
|
418
|
40614
|
16793
-
19660
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeProposalLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
|
|
418
|
33260
|
16861
-
16892
|
Select
|
org.make.api.technical.X-Make-Proposal-Language.name
|
org.make.api.user.adminuserapitest
|
X-Make-Proposal-Language.name
|
|
418
|
50803
|
16818
-
16893
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)
|
|
418
|
48751
|
16815
-
16815
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
419
|
34780
|
16925
-
16998
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)
|
|
419
|
43201
|
16968
-
16997
|
Select
|
org.make.api.technical.X-Make-Client-Language.name
|
org.make.api.user.adminuserapitest
|
X-Make-Client-Language.name
|
|
419
|
35712
|
16900
-
19660
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)).flatMap[(org.make.core.RequestContext,)](((maybeClientLanguage: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
|
|
419
|
38824
|
16922
-
16922
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
420
|
33297
|
17027
-
17027
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
420
|
39812
|
17030
-
17091
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)
|
|
420
|
48718
|
17073
-
17090
|
Select
|
org.make.api.technical.X-Hostname.name
|
org.make.api.user.adminuserapitest
|
X-Hostname.name
|
|
420
|
47393
|
17005
-
19660
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)).flatMap[(org.make.core.RequestContext,)](((maybeHostName: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
|
|
421
|
36431
|
17157
-
17180
|
Select
|
org.make.api.technical.X-Get-Parameters.name
|
org.make.api.user.adminuserapitest
|
X-Get-Parameters.name
|
|
421
|
49741
|
17123
-
17181
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptyHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)
|
|
421
|
49310
|
17120
-
17120
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
421
|
42212
|
17098
-
19660
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)).flatMap[(org.make.core.RequestContext,)](((maybeGetParametersRaw: Option[String]) => server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
|
|
422
|
40088
|
17210
-
17210
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
422
|
34334
|
17213
-
17269
|
Apply
|
akka.http.scaladsl.server.directives.BasicDirectives.provide
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))
|
|
422
|
32258
|
17188
-
19660
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[Map[String,String]]](MakeDirectives.this.provide[Option[Map[String,String]]](MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw))).flatMap[(org.make.core.RequestContext,)](((maybeGetParameters: Option[Map[String,String]]) => org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
|
|
422
|
41328
|
17221
-
17268
|
Apply
|
org.make.api.technical.MakeDirectives.parseGetParametersHeader
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw)
|
|
423
|
50842
|
17301
-
17345
|
Apply
|
org.make.api.technical.MakeDirectives.checkGetParametersHeader
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)
|
|
423
|
47693
|
17276
-
19660
|
Apply
|
org.make.api.Predef.RichDirective0.flatMap
|
org.make.api.user.adminuserapitest
|
org.make.api.Predef.RichDirective0(MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)).flatMap[org.make.core.RequestContext](((x$26: Unit) => (x$26: Unit @unchecked) match {
case _ => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
}))
|
|
424
|
42959
|
17420
-
17445
|
Select
|
org.make.api.technical.X-Make-Question-Id.name
|
org.make.api.user.adminuserapitest
|
X-Make-Question-Id.name
|
|
424
|
34815
|
17377
-
17446
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)
|
|
424
|
35673
|
17352
-
19660
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)).flatMap[(org.make.core.RequestContext,)](((maybeQuestionId: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
|
|
424
|
39069
|
17374
-
17374
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
425
|
40327
|
17478
-
17544
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)
|
|
425
|
48156
|
17521
-
17543
|
Select
|
org.make.api.technical.X-Make-Referrer.name
|
org.make.api.user.adminuserapitest
|
X-Make-Referrer.name
|
|
425
|
33262
|
17475
-
17475
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
425
|
46653
|
17453
-
19660
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)).flatMap[(org.make.core.RequestContext,)](((maybeReferrer: Option[String]) => server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])))(util.this.Tuple.forTuple1[org.make.core.RequestContext])
|
|
426
|
41159
|
17551
-
19660
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.map
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)).map[org.make.core.RequestContext](((maybeCustomData: Option[String]) => {
val requestContext: org.make.core.RequestContext = {
<artifact> val x$1: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId));
<artifact> val x$2: String = requestId;
<artifact> val x$3: org.make.core.session.SessionId = currentSessionId;
<artifact> val x$4: Some[org.make.core.session.VisitorId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId));
<artifact> val x$5: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt);
<artifact> val x$6: String = externalId;
<artifact> val x$7: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeSource;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeLocation;
<artifact> val x$10: org.make.core.RequestContextQuestion = org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))));
<artifact> val x$11: org.make.core.RequestContextLanguage = org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))));
<artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)));
<artifact> val x$13: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeHostName;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip));
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash));
<artifact> val x$17: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = maybeGetParameters;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeUserAgent;
<artifact> val x$19: Option[org.make.core.ApplicationName] @scala.reflect.internal.annotations.uncheckedBounds = maybeApplicationName;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = maybeReferrer;
<artifact> val x$21: scala.collection.immutable.Map[String,String] @scala.reflect.internal.annotations.uncheckedBounds = maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing]);
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
};
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin);
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext);
requestContext
}))(util.this.Tupler.forAnyRef[org.make.core.RequestContext])
|
|
426
|
48960
|
17576
-
17636
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptyHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)
|
|
426
|
36471
|
17610
-
17635
|
Select
|
org.make.api.technical.X-Make-Custom-Data.name
|
org.make.api.user.adminuserapitest
|
X-Make-Custom-Data.name
|
|
426
|
49270
|
17573
-
17573
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
org.make.api.user.adminuserapitest
|
util.this.Tupler.forAnyRef[org.make.core.RequestContext]
|
|
428
|
42729
|
17678
-
19481
|
Apply
|
org.make.core.RequestContext.apply
|
org.make.api.user.adminuserapitest
|
org.make.core.RequestContext.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$12, x$13, x$11, x$7, x$8, x$9, x$10, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21)
|
|
429
|
41368
|
17725
-
17738
|
Select
|
org.make.core.auth.UserRights.userId
|
|
x$13.user.userId
|
|
429
|
33773
|
17711
-
17739
|
Apply
|
scala.Option.map
|
org.make.api.user.adminuserapitest
|
maybeUser.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId))
|
|
432
|
50606
|
17835
-
17855
|
Apply
|
org.make.core.session.VisitorId.apply
|
org.make.api.user.adminuserapitest
|
org.make.core.session.VisitorId.apply(visitorId)
|
|
432
|
43000
|
17830
-
17856
|
Apply
|
scala.Some.apply
|
org.make.api.user.adminuserapitest
|
scala.Some.apply[org.make.core.session.VisitorId](org.make.core.session.VisitorId.apply(visitorId))
|
|
433
|
34581
|
17885
-
17907
|
Apply
|
scala.Some.apply
|
org.make.api.user.adminuserapitest
|
scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt)
|
|
435
|
47914
|
17983
-
17997
|
Apply
|
org.make.core.operation.OperationId.apply
|
|
org.make.core.operation.OperationId.apply(x$14)
|
|
435
|
39769
|
17964
-
17998
|
Apply
|
scala.Option.map
|
org.make.api.user.adminuserapitest
|
maybeOperation.map[org.make.core.operation.OperationId](((x$14: String) => org.make.core.operation.OperationId.apply(x$14)))
|
|
438
|
41405
|
18090
-
18261
|
Apply
|
org.make.core.RequestContextQuestion.apply
|
org.make.api.user.adminuserapitest
|
org.make.core.RequestContextQuestion.apply(maybeQuestion, maybeQuestionSlug, maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15))))
|
|
441
|
36226
|
18237
-
18250
|
Apply
|
org.make.core.question.QuestionId.apply
|
|
org.make.core.question.QuestionId.apply(x$15)
|
|
441
|
49001
|
18217
-
18251
|
Apply
|
scala.Option.map
|
org.make.api.user.adminuserapitest
|
maybeQuestionId.map[org.make.core.question.QuestionId](((x$15: String) => org.make.core.question.QuestionId.apply(x$15)))
|
|
443
|
41168
|
18289
-
18617
|
Apply
|
org.make.core.RequestContextLanguage.apply
|
org.make.api.user.adminuserapitest
|
org.make.core.RequestContextLanguage.apply(maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16))), maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17))), maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18))), maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19))))
|
|
444
|
46306
|
18334
-
18374
|
Apply
|
scala.Option.map
|
org.make.api.user.adminuserapitest
|
maybeLanguage.map[org.make.core.reference.Language](((x$16: String) => org.make.core.reference.Language.apply(x$16)))
|
|
444
|
34289
|
18352
-
18373
|
Apply
|
org.make.core.reference.Language.apply
|
|
org.make.core.reference.Language.apply(x$16)
|
|
445
|
34615
|
18405
-
18453
|
Apply
|
scala.Option.map
|
org.make.api.user.adminuserapitest
|
maybeQuestionLanguage.map[org.make.core.reference.Language](((x$17: String) => org.make.core.reference.Language.apply(x$17)))
|
|
445
|
43520
|
18431
-
18452
|
Apply
|
org.make.core.reference.Language.apply
|
|
org.make.core.reference.Language.apply(x$17)
|
|
446
|
40835
|
18484
-
18532
|
Apply
|
scala.Option.map
|
org.make.api.user.adminuserapitest
|
maybeProposalLanguage.map[org.make.core.reference.Language](((x$18: String) => org.make.core.reference.Language.apply(x$18)))
|
|
446
|
47955
|
18510
-
18531
|
Apply
|
org.make.core.reference.Language.apply
|
|
org.make.core.reference.Language.apply(x$18)
|
|
447
|
36959
|
18585
-
18606
|
Apply
|
org.make.core.reference.Language.apply
|
|
org.make.core.reference.Language.apply(x$19)
|
|
447
|
49034
|
18561
-
18607
|
Apply
|
scala.Option.map
|
org.make.api.user.adminuserapitest
|
maybeClientLanguage.map[org.make.core.reference.Language](((x$19: String) => org.make.core.reference.Language.apply(x$19)))
|
|
449
|
47367
|
18637
-
18665
|
Apply
|
scala.Option.map
|
org.make.api.user.adminuserapitest
|
maybeCountry.map[org.make.core.reference.Country](((x$20: String) => org.make.core.reference.Country.apply(x$20)))
|
|
449
|
34324
|
18654
-
18664
|
Apply
|
org.make.core.reference.Country.apply
|
|
org.make.core.reference.Country.apply(x$20)
|
|
450
|
34651
|
18693
-
18729
|
Apply
|
scala.Option.map
|
org.make.api.user.adminuserapitest
|
maybeDetectedCountry.map[org.make.core.reference.Country](((x$21: String) => org.make.core.reference.Country.apply(x$21)))
|
|
450
|
42950
|
18718
-
18728
|
Apply
|
org.make.core.reference.Country.apply
|
|
org.make.core.reference.Country.apply(x$21)
|
|
452
|
48471
|
18804
-
18808
|
Select
|
org.make.api.technical.IpAndHash.ip
|
org.make.api.user.userapitest
|
x$22.ip
|
|
452
|
40876
|
18785
-
18809
|
Apply
|
scala.Option.map
|
org.make.api.user.adminuserapitest
|
maybeIpAddress.map[String](((x$22: org.make.api.technical.IpAndHash) => x$22.ip))
|
|
453
|
49484
|
18835
-
18861
|
Apply
|
scala.Option.map
|
org.make.api.user.adminuserapitest
|
maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash))
|
|
453
|
32428
|
18854
-
18860
|
Select
|
org.make.api.technical.IpAndHash.hash
|
org.make.api.user.userapitest
|
x$23.hash
|
|
463
|
41202
|
19118
-
19201
|
Apply
|
java.lang.String.split
|
org.make.api.technical.makedirectivestest
|
java.net.URLDecoder.decode(customData, "UTF-8").split(",")
|
|
464
|
47405
|
19118
-
19239
|
ApplyToImplicitArgs
|
scala.collection.ArrayOps.map
|
org.make.api.technical.makedirectivestest
|
scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))
|
|
464
|
34094
|
19223
-
19238
|
Apply
|
java.lang.String.split
|
org.make.api.technical.makedirectivestest
|
x$24.split("=", 2)
|
|
465
|
32463
|
19118
-
19406
|
ApplyToImplicitArgs
|
scala.collection.ArrayOps.map
|
org.make.api.technical.makedirectivestest
|
scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))
|
|
466
|
42992
|
19307
-
19315
|
Apply
|
java.lang.String.trim
|
org.make.api.technical.makedirectivestest
|
key.trim()
|
|
466
|
35102
|
19319
-
19329
|
Apply
|
java.lang.String.trim
|
org.make.api.technical.makedirectivestest
|
value.trim()
|
|
466
|
48505
|
19307
-
19329
|
Apply
|
scala.Predef.ArrowAssoc.->
|
org.make.api.technical.makedirectivestest
|
scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
|
|
467
|
40624
|
19374
-
19388
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
|
|
469
|
49523
|
19424
-
19424
|
TypeApply
|
scala.<:<.refl
|
org.make.api.technical.makedirectivestest
|
scala.this.<:<.refl[(String, String)]
|
|
469
|
41122
|
19118
-
19429
|
ApplyToImplicitArgs
|
scala.collection.IterableOnceOps.toMap
|
org.make.api.technical.makedirectivestest
|
scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)])
|
|
471
|
34123
|
19463
-
19472
|
TypeApply
|
scala.collection.immutable.Map.empty
|
org.make.api.user.adminuserapitest
|
scala.Predef.Map.empty[String, Nothing]
|
|
471
|
47153
|
19046
-
19473
|
Apply
|
scala.Option.getOrElse
|
org.make.api.user.adminuserapitest
|
maybeCustomData.map[scala.collection.immutable.Map[String,String]](((customData: String) => scala.Predef.wrapRefArray[(String, String)](scala.Predef.refArrayOps[Array[String]](scala.Predef.refArrayOps[String](java.net.URLDecoder.decode(customData, "UTF-8").split(",")).map[Array[String]](((x$24: String) => x$24.split("=", 2)))((ClassTag.apply[Array[String]](scala.runtime.ScalaRunTime.arrayClass(classOf[java.lang.String])): scala.reflect.ClassTag[Array[String]]))).map[(String, String)](((x0$1: Array[String]) => x0$1 match {
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _), (value @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
case scala.Array.unapplySeq[String](<unapply-selector>) <unapply> ((key @ _)) => scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
}))((ClassTag.apply[(String, String)](classOf[scala.Tuple2]): scala.reflect.ClassTag[(String, String)]))).toMap[String, String](scala.this.<:<.refl[(String, String)]))).getOrElse[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, Nothing])
|
|
473
|
35138
|
19488
-
19544
|
Apply
|
org.make.api.technical.monitoring.MonitoringUtils.logRequest
|
org.make.api.user.adminuserapitest
|
org.make.api.technical.monitoring.MonitoringUtils.logRequest(name, requestContext, origin)
|
|
474
|
40659
|
19588
-
19616
|
Apply
|
scala.Option.map
|
org.make.api.user.adminuserapitest
|
maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId))
|
|
474
|
47656
|
19602
-
19615
|
Select
|
org.make.core.auth.UserRights.userId
|
|
x$25.user.userId
|
|
474
|
32505
|
19551
-
19633
|
Apply
|
org.make.api.technical.MakeDirectives.connectIfNecessary
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.connectIfNecessary(currentSessionId, maybeUser.map[org.make.core.user.UserId](((x$25: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$25.user.userId)), requestContext)
|
|
480
|
45096
|
19752
-
20012
|
Apply
|
scala.Option.flatMap
|
org.make.api.user.adminuserapitest
|
mayBeOriginValue.flatMap[akka.http.scaladsl.model.headers.HttpOrigin](((origin: String) => if (MakeDirectives.this.authorizedUris.contains[String](origin))
{
val originUri: akka.http.scaladsl.model.Uri = akka.http.scaladsl.model.Uri.apply(origin);
scala.Some.apply[akka.http.scaladsl.model.headers.HttpOrigin](akka.http.scaladsl.model.headers.HttpOrigin.apply(originUri.scheme, akka.http.scaladsl.model.headers.Host.apply(originUri.authority.host, originUri.authority.port)))
}
else
scala.None))
|
|
481
|
47728
|
19832
-
19978
|
Block
|
<nosymbol>
|
org.make.api.technical.makedirectivestest
|
{
val originUri: akka.http.scaladsl.model.Uri = akka.http.scaladsl.model.Uri.apply(origin);
scala.Some.apply[akka.http.scaladsl.model.headers.HttpOrigin](akka.http.scaladsl.model.headers.HttpOrigin.apply(originUri.scheme, akka.http.scaladsl.model.headers.Host.apply(originUri.authority.host, originUri.authority.port)))
}
|
|
481
|
40696
|
19799
-
19830
|
Apply
|
scala.collection.SeqOps.contains
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.authorizedUris.contains[String](origin)
|
|
482
|
32537
|
19858
-
19869
|
Apply
|
akka.http.scaladsl.model.Uri.apply
|
org.make.api.technical.makedirectivestest
|
akka.http.scaladsl.model.Uri.apply(origin)
|
|
483
|
30931
|
19878
-
19970
|
Apply
|
scala.Some.apply
|
org.make.api.technical.makedirectivestest
|
scala.Some.apply[akka.http.scaladsl.model.headers.HttpOrigin](akka.http.scaladsl.model.headers.HttpOrigin.apply(originUri.scheme, akka.http.scaladsl.model.headers.Host.apply(originUri.authority.host, originUri.authority.port)))
|
|
483
|
34191
|
19943
-
19967
|
Select
|
akka.http.scaladsl.model.Uri.Authority.port
|
org.make.api.technical.makedirectivestest
|
originUri.authority.port
|
|
483
|
46960
|
19912
-
19968
|
Apply
|
akka.http.scaladsl.model.headers.Host.apply
|
org.make.api.technical.makedirectivestest
|
akka.http.scaladsl.model.headers.Host.apply(originUri.authority.host, originUri.authority.port)
|
|
483
|
45889
|
19894
-
19910
|
Select
|
akka.http.scaladsl.model.Uri.scheme
|
org.make.api.technical.makedirectivestest
|
originUri.scheme
|
|
483
|
39100
|
19883
-
19969
|
Apply
|
akka.http.scaladsl.model.headers.HttpOrigin.apply
|
org.make.api.technical.makedirectivestest
|
akka.http.scaladsl.model.headers.HttpOrigin.apply(originUri.scheme, akka.http.scaladsl.model.headers.Host.apply(originUri.authority.host, originUri.authority.port))
|
|
483
|
37470
|
19917
-
19941
|
Select
|
akka.http.scaladsl.model.Uri.Authority.host
|
org.make.api.technical.makedirectivestest
|
originUri.authority.host
|
|
485
|
40184
|
19994
-
19998
|
Select
|
scala.None
|
|
scala.None
|
|
485
|
32567
|
19994
-
19998
|
Block
|
scala.None
|
|
scala.None
|
|
492
|
37507
|
20141
-
20171
|
Apply
|
org.make.api.technical.MakeDirectives.getMakeHttpOrigin
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.getMakeHttpOrigin(originValue)
|
|
495
|
40939
|
20203
-
20372
|
Apply
|
akka.http.scaladsl.model.headers.Access-Control-Allow-Methods.apply
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.Access-Control-Allow-Methods.apply(akka.http.scaladsl.model.HttpMethods.POST, akka.http.scaladsl.model.HttpMethods.GET, akka.http.scaladsl.model.HttpMethods.PUT, akka.http.scaladsl.model.HttpMethods.PATCH, akka.http.scaladsl.model.HttpMethods.DELETE)
|
|
496
|
33628
|
20243
-
20259
|
Select
|
akka.http.scaladsl.model.HttpMethods.POST
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.HttpMethods.POST
|
|
497
|
46729
|
20269
-
20284
|
Select
|
akka.http.scaladsl.model.HttpMethods.GET
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.HttpMethods.GET
|
|
498
|
39134
|
20294
-
20309
|
Select
|
akka.http.scaladsl.model.HttpMethods.PUT
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.HttpMethods.PUT
|
|
499
|
30682
|
20319
-
20336
|
Select
|
akka.http.scaladsl.model.HttpMethods.PATCH
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.HttpMethods.PATCH
|
|
500
|
44051
|
20346
-
20364
|
Select
|
akka.http.scaladsl.model.HttpMethods.DELETE
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.HttpMethods.DELETE
|
|
502
|
32330
|
20380
-
20420
|
Apply
|
akka.http.scaladsl.model.headers.Access-Control-Allow-Credentials.apply
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.Access-Control-Allow-Credentials.apply(true)
|
|
503
|
37300
|
20428
-
20794
|
Apply
|
akka.http.scaladsl.model.headers.Access-Control-Expose-Headers.apply
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.Access-Control-Expose-Headers.apply(scala.`package`.Seq.apply[String](X-Request-Id.name, X-Route-Name.name, X-Route-Time.name, X-Make-External-Id.name, X-Session-Id.name, X-Session-Id-Expiration.name, X-Total-Count.name, X-Visitor-CreatedAt.name, X-Visitor-Id.name))
|
|
504
|
44889
|
20469
-
20786
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
org.make.api.user.adminuserapitest
|
scala.`package`.Seq.apply[String](X-Request-Id.name, X-Route-Name.name, X-Route-Time.name, X-Make-External-Id.name, X-Session-Id.name, X-Session-Id-Expiration.name, X-Total-Count.name, X-Visitor-CreatedAt.name, X-Visitor-Id.name)
|
|
505
|
45131
|
20484
-
20503
|
Select
|
org.make.api.technical.X-Request-Id.name
|
org.make.api.user.adminuserapitest
|
X-Request-Id.name
|
|
506
|
37263
|
20515
-
20534
|
Select
|
org.make.api.technical.X-Route-Name.name
|
org.make.api.user.adminuserapitest
|
X-Route-Name.name
|
|
507
|
34147
|
20546
-
20565
|
Select
|
org.make.api.technical.X-Route-Time.name
|
org.make.api.user.adminuserapitest
|
X-Route-Time.name
|
|
508
|
47471
|
20577
-
20602
|
Select
|
org.make.api.technical.X-Make-External-Id.name
|
org.make.api.user.adminuserapitest
|
X-Make-External-Id.name
|
|
509
|
39660
|
20614
-
20633
|
Select
|
org.make.api.technical.X-Session-Id.name
|
org.make.api.user.adminuserapitest
|
X-Session-Id.name
|
|
510
|
30716
|
20645
-
20675
|
Select
|
org.make.api.technical.X-Session-Id-Expiration.name
|
org.make.api.user.adminuserapitest
|
X-Session-Id-Expiration.name
|
|
511
|
44089
|
20687
-
20707
|
Select
|
org.make.api.technical.X-Total-Count.name
|
org.make.api.user.adminuserapitest
|
X-Total-Count.name
|
|
512
|
40684
|
20719
-
20745
|
Select
|
org.make.api.technical.X-Visitor-CreatedAt.name
|
org.make.api.user.adminuserapitest
|
X-Visitor-CreatedAt.name
|
|
513
|
33081
|
20757
-
20776
|
Select
|
org.make.api.technical.X-Visitor-Id.name
|
org.make.api.user.adminuserapitest
|
X-Visitor-Id.name
|
|
516
|
39093
|
20177
-
20903
|
Apply
|
scala.collection.IterableOps.++
|
org.make.api.user.adminuserapitest
|
scala.`package`.Seq.apply[akka.http.scaladsl.model.headers.ModeledHeader](akka.http.scaladsl.model.headers.Access-Control-Allow-Methods.apply(akka.http.scaladsl.model.HttpMethods.POST, akka.http.scaladsl.model.HttpMethods.GET, akka.http.scaladsl.model.HttpMethods.PUT, akka.http.scaladsl.model.HttpMethods.PATCH, akka.http.scaladsl.model.HttpMethods.DELETE), akka.http.scaladsl.model.headers.Access-Control-Allow-Credentials.apply(true), akka.http.scaladsl.model.headers.Access-Control-Expose-Headers.apply(scala.`package`.Seq.apply[String](X-Request-Id.name, X-Route-Name.name, X-Route-Time.name, X-Make-External-Id.name, X-Session-Id.name, X-Session-Id-Expiration.name, X-Total-Count.name, X-Visitor-CreatedAt.name, X-Visitor-Id.name))).++[akka.http.scaladsl.model.headers.ModeledHeader](mayBeOriginValue.map[akka.http.scaladsl.model.headers.Access-Control-Allow-Origin](((httpOrigin: akka.http.scaladsl.model.headers.HttpOrigin) => akka.http.scaladsl.model.headers.Access-Control-Allow-Origin.apply(httpOrigin))))
|
|
516
|
47218
|
20804
-
20903
|
Apply
|
scala.Option.map
|
org.make.api.user.adminuserapitest
|
mayBeOriginValue.map[akka.http.scaladsl.model.headers.Access-Control-Allow-Origin](((httpOrigin: akka.http.scaladsl.model.headers.HttpOrigin) => akka.http.scaladsl.model.headers.Access-Control-Allow-Origin.apply(httpOrigin)))
|
|
517
|
51405
|
20847
-
20897
|
Apply
|
akka.http.scaladsl.model.headers.Access-Control-Allow-Origin.apply
|
org.make.api.technical.makedirectivestest
|
akka.http.scaladsl.model.headers.Access-Control-Allow-Origin.apply(httpOrigin)
|
|
523
|
47254
|
21035
-
21541
|
Apply
|
akka.http.scaladsl.server.directives.BasicDirectives.mapInnerRoute
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.mapInnerRoute(((route: akka.http.scaladsl.server.Route) => server.this.Directive.addDirectiveApply[(Option[String],)](MakeDirectives.this.secureCookieValue(applicationName))(util.this.ApplyConverter.hac1[Option[String]]).apply(((x0$1: Option[String]) => x0$1 match {
case (value: String): Some[String]((secureCookie @ _)) => {
val credentials: akka.http.scaladsl.model.headers.OAuth2BearerToken = maybeRefreshedToken match {
case (value: org.make.core.auth.Token): Some[org.make.core.auth.Token]((refreshedToken @ _)) => akka.http.scaladsl.model.headers.OAuth2BearerToken.apply(refreshedToken.accessToken)
case scala.None => akka.http.scaladsl.model.headers.OAuth2BearerToken.apply(secureCookie)
};
server.this.Directive.addByNameNullaryApply(MakeDirectives.this.mapRequest(((request: akka.http.scaladsl.model.HttpRequest) => request.addCredentials(credentials)))).apply(route)
}
case scala.None => route
}))))
|
|
524
|
44609
|
21083
-
21083
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[Option[String]]
|
|
524
|
51158
|
21066
-
21535
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addDirectiveApply[(Option[String],)](MakeDirectives.this.secureCookieValue(applicationName))(util.this.ApplyConverter.hac1[Option[String]]).apply(((x0$1: Option[String]) => x0$1 match {
case (value: String): Some[String]((secureCookie @ _)) => {
val credentials: akka.http.scaladsl.model.headers.OAuth2BearerToken = maybeRefreshedToken match {
case (value: org.make.core.auth.Token): Some[org.make.core.auth.Token]((refreshedToken @ _)) => akka.http.scaladsl.model.headers.OAuth2BearerToken.apply(refreshedToken.accessToken)
case scala.None => akka.http.scaladsl.model.headers.OAuth2BearerToken.apply(secureCookie)
};
server.this.Directive.addByNameNullaryApply(MakeDirectives.this.mapRequest(((request: akka.http.scaladsl.model.HttpRequest) => request.addCredentials(credentials)))).apply(route)
}
case scala.None => route
}))
|
|
524
|
30481
|
21066
-
21100
|
Apply
|
org.make.api.technical.auth.MakeAuthentication.secureCookieValue
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.secureCookieValue(applicationName)
|
|
527
|
32829
|
21254
-
21299
|
Apply
|
akka.http.scaladsl.model.headers.OAuth2BearerToken.apply
|
org.make.api.technical.makedirectivestest
|
akka.http.scaladsl.model.headers.OAuth2BearerToken.apply(refreshedToken.accessToken)
|
|
527
|
40729
|
21272
-
21298
|
Select
|
org.make.core.auth.Token.accessToken
|
org.make.api.technical.makedirectivestest
|
refreshedToken.accessToken
|
|
528
|
45636
|
21341
-
21372
|
Apply
|
akka.http.scaladsl.model.headers.OAuth2BearerToken.apply
|
org.make.api.technical.makedirectivestest
|
akka.http.scaladsl.model.headers.OAuth2BearerToken.apply(secureCookie)
|
|
530
|
37336
|
21395
-
21500
|
Apply
|
scala.Function1.apply
|
org.make.api.technical.makedirectivestest
|
server.this.Directive.addByNameNullaryApply(MakeDirectives.this.mapRequest(((request: akka.http.scaladsl.model.HttpRequest) => request.addCredentials(credentials)))).apply(route)
|
|
538
|
45672
|
21700
-
21700
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[Option[org.make.core.auth.Token]]
|
|
538
|
37249
|
21657
-
21864
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.this.secureCookieValue(applicationName)).flatMap[(Option[org.make.core.auth.Token],)](((x0$1: Option[String]) => x0$1 match {
case (value: String): Some[String]((secureCookie @ _)) => org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.auth.Token]](MakeDirectives.this.oauth2DataHandler.refreshIfTokenIsExpired(secureCookie)).asDirective
case scala.None => MakeDirectives.this.provide[Option[org.make.core.auth.Token]](scala.None)
}))(util.this.Tuple.forTuple1[Option[org.make.core.auth.Token]])
|
|
538
|
38848
|
21657
-
21691
|
Apply
|
org.make.api.technical.auth.MakeAuthentication.secureCookieValue
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.secureCookieValue(applicationName)
|
|
540
|
31226
|
21743
-
21798
|
Apply
|
org.make.api.technical.auth.MakeDataHandler.refreshIfTokenIsExpired
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.oauth2DataHandler.refreshIfTokenIsExpired(secureCookie)
|
|
540
|
44644
|
21743
-
21810
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
org.make.api.technical.makedirectivestest
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.auth.Token]](MakeDirectives.this.oauth2DataHandler.refreshIfTokenIsExpired(secureCookie)).asDirective
|
|
541
|
40477
|
21853
-
21857
|
Select
|
scala.None
|
org.make.api.user.adminuserapitest
|
scala.None
|
|
541
|
32318
|
21830
-
21858
|
Apply
|
akka.http.scaladsl.server.directives.BasicDirectives.provide
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.provide[Option[org.make.core.auth.Token]](scala.None)
|
|
545
|
43836
|
21904
-
22401
|
Apply
|
akka.http.scaladsl.server.directives.BasicDirectives.mapInnerRoute
|
|
MakeDirectives.this.mapInnerRoute(((route: akka.http.scaladsl.server.Route) => server.this.Directive.addDirectiveApply[(Option[String],)](MakeDirectives.optionNonEmptyURLHeaderValueByName(akka.http.scaladsl.model.headers.Origin.name))(util.this.ApplyConverter.hac1[Option[String]]).apply(((mayBeOriginHeaderValue: Option[String]) => server.this.Directive.addByNameNullaryApply(MakeDirectives.this.respondWithDefaultHeaders(MakeDirectives.this.defaultCorsHeaders(mayBeOriginHeaderValue))).apply(server.this.Directive.addDirectiveApply[(Option[akka.http.scaladsl.model.headers.Access-Control-Request-Headers],)](MakeDirectives.this.optionalHeaderValueByType[akka.http.scaladsl.model.headers.Access-Control-Request-Headers](directives.this.HeaderMagnet.fromCompanionNormalHeader[akka.http.scaladsl.model.headers.Access-Control-Request-Headers](akka.http.scaladsl.model.headers.Access-Control-Request-Headers)((ClassTag.apply[akka.http.scaladsl.model.headers.Access-Control-Request-Headers](classOf[akka.http.scaladsl.model.headers.Access$minusControl$minusRequest$minusHeaders]): scala.reflect.ClassTag[akka.http.scaladsl.model.headers.Access-Control-Request-Headers]))))(util.this.ApplyConverter.hac1[Option[akka.http.scaladsl.model.headers.Access-Control-Request-Headers]]).apply(((x0$1: Option[akka.http.scaladsl.model.headers.Access-Control-Request-Headers]) => x0$1 match {
case (value: akka.http.scaladsl.model.headers.Access-Control-Request-Headers): Some[akka.http.scaladsl.model.headers.Access-Control-Request-Headers]((requestHeader @ _)) => server.this.Directive.addByNameNullaryApply(MakeDirectives.this.respondWithDefaultHeader(akka.http.scaladsl.model.headers.Access-Control-Allow-Headers.apply(requestHeader.value()))).apply(route)
case scala.None => route
})))))))
|
|
546
|
51196
|
21970
-
21981
|
Select
|
akka.http.scaladsl.model.headers.ModeledCompanion.name
|
|
akka.http.scaladsl.model.headers.Origin.name
|
|
546
|
31789
|
21935
-
22395
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Option[String],)](MakeDirectives.optionNonEmptyURLHeaderValueByName(akka.http.scaladsl.model.headers.Origin.name))(util.this.ApplyConverter.hac1[Option[String]]).apply(((mayBeOriginHeaderValue: Option[String]) => server.this.Directive.addByNameNullaryApply(MakeDirectives.this.respondWithDefaultHeaders(MakeDirectives.this.defaultCorsHeaders(mayBeOriginHeaderValue))).apply(server.this.Directive.addDirectiveApply[(Option[akka.http.scaladsl.model.headers.Access-Control-Request-Headers],)](MakeDirectives.this.optionalHeaderValueByType[akka.http.scaladsl.model.headers.Access-Control-Request-Headers](directives.this.HeaderMagnet.fromCompanionNormalHeader[akka.http.scaladsl.model.headers.Access-Control-Request-Headers](akka.http.scaladsl.model.headers.Access-Control-Request-Headers)((ClassTag.apply[akka.http.scaladsl.model.headers.Access-Control-Request-Headers](classOf[akka.http.scaladsl.model.headers.Access$minusControl$minusRequest$minusHeaders]): scala.reflect.ClassTag[akka.http.scaladsl.model.headers.Access-Control-Request-Headers]))))(util.this.ApplyConverter.hac1[Option[akka.http.scaladsl.model.headers.Access-Control-Request-Headers]]).apply(((x0$1: Option[akka.http.scaladsl.model.headers.Access-Control-Request-Headers]) => x0$1 match {
case (value: akka.http.scaladsl.model.headers.Access-Control-Request-Headers): Some[akka.http.scaladsl.model.headers.Access-Control-Request-Headers]((requestHeader @ _)) => server.this.Directive.addByNameNullaryApply(MakeDirectives.this.respondWithDefaultHeader(akka.http.scaladsl.model.headers.Access-Control-Allow-Headers.apply(requestHeader.value()))).apply(route)
case scala.None => route
})))))
|
|
546
|
38885
|
21969
-
21969
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Option[String]]
|
|
546
|
47004
|
21935
-
21982
|
Apply
|
org.make.api.technical.MakeDirectives.optionNonEmptyURLHeaderValueByName
|
|
MakeDirectives.optionNonEmptyURLHeaderValueByName(akka.http.scaladsl.model.headers.Origin.name)
|
|
547
|
43796
|
22019
-
22088
|
Apply
|
akka.http.scaladsl.server.directives.RespondWithDirectives.respondWithDefaultHeaders
|
|
MakeDirectives.this.respondWithDefaultHeaders(MakeDirectives.this.defaultCorsHeaders(mayBeOriginHeaderValue))
|
|
547
|
38923
|
22019
-
22387
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(MakeDirectives.this.respondWithDefaultHeaders(MakeDirectives.this.defaultCorsHeaders(mayBeOriginHeaderValue))).apply(server.this.Directive.addDirectiveApply[(Option[akka.http.scaladsl.model.headers.Access-Control-Request-Headers],)](MakeDirectives.this.optionalHeaderValueByType[akka.http.scaladsl.model.headers.Access-Control-Request-Headers](directives.this.HeaderMagnet.fromCompanionNormalHeader[akka.http.scaladsl.model.headers.Access-Control-Request-Headers](akka.http.scaladsl.model.headers.Access-Control-Request-Headers)((ClassTag.apply[akka.http.scaladsl.model.headers.Access-Control-Request-Headers](classOf[akka.http.scaladsl.model.headers.Access$minusControl$minusRequest$minusHeaders]): scala.reflect.ClassTag[akka.http.scaladsl.model.headers.Access-Control-Request-Headers]))))(util.this.ApplyConverter.hac1[Option[akka.http.scaladsl.model.headers.Access-Control-Request-Headers]]).apply(((x0$1: Option[akka.http.scaladsl.model.headers.Access-Control-Request-Headers]) => x0$1 match {
case (value: akka.http.scaladsl.model.headers.Access-Control-Request-Headers): Some[akka.http.scaladsl.model.headers.Access-Control-Request-Headers]((requestHeader @ _)) => server.this.Directive.addByNameNullaryApply(MakeDirectives.this.respondWithDefaultHeader(akka.http.scaladsl.model.headers.Access-Control-Allow-Headers.apply(requestHeader.value()))).apply(route)
case scala.None => route
})))
|
|
547
|
31264
|
22045
-
22087
|
Apply
|
org.make.api.technical.MakeDirectives.defaultCorsHeaders
|
|
MakeDirectives.this.defaultCorsHeaders(mayBeOriginHeaderValue)
|
|
548
|
37292
|
22126
-
22126
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Option[akka.http.scaladsl.model.headers.Access-Control-Request-Headers]]
|
|
548
|
32082
|
22127
-
22159
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.LowPriorityHeaderMagnetImplicits.fromCompanionNormalHeader
|
|
directives.this.HeaderMagnet.fromCompanionNormalHeader[akka.http.scaladsl.model.headers.Access-Control-Request-Headers](akka.http.scaladsl.model.headers.Access-Control-Request-Headers)((ClassTag.apply[akka.http.scaladsl.model.headers.Access-Control-Request-Headers](classOf[akka.http.scaladsl.model.headers.Access$minusControl$minusRequest$minusHeaders]): scala.reflect.ClassTag[akka.http.scaladsl.model.headers.Access-Control-Request-Headers]))
|
|
548
|
46511
|
22101
-
22377
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Option[akka.http.scaladsl.model.headers.Access-Control-Request-Headers],)](MakeDirectives.this.optionalHeaderValueByType[akka.http.scaladsl.model.headers.Access-Control-Request-Headers](directives.this.HeaderMagnet.fromCompanionNormalHeader[akka.http.scaladsl.model.headers.Access-Control-Request-Headers](akka.http.scaladsl.model.headers.Access-Control-Request-Headers)((ClassTag.apply[akka.http.scaladsl.model.headers.Access-Control-Request-Headers](classOf[akka.http.scaladsl.model.headers.Access$minusControl$minusRequest$minusHeaders]): scala.reflect.ClassTag[akka.http.scaladsl.model.headers.Access-Control-Request-Headers]))))(util.this.ApplyConverter.hac1[Option[akka.http.scaladsl.model.headers.Access-Control-Request-Headers]]).apply(((x0$1: Option[akka.http.scaladsl.model.headers.Access-Control-Request-Headers]) => x0$1 match {
case (value: akka.http.scaladsl.model.headers.Access-Control-Request-Headers): Some[akka.http.scaladsl.model.headers.Access-Control-Request-Headers]((requestHeader @ _)) => server.this.Directive.addByNameNullaryApply(MakeDirectives.this.respondWithDefaultHeader(akka.http.scaladsl.model.headers.Access-Control-Allow-Headers.apply(requestHeader.value()))).apply(route)
case scala.None => route
}))
|
|
548
|
45428
|
22101
-
22160
|
Apply
|
akka.http.scaladsl.server.directives.HeaderDirectives.optionalHeaderValueByType
|
|
MakeDirectives.this.optionalHeaderValueByType[akka.http.scaladsl.model.headers.Access-Control-Request-Headers](directives.this.HeaderMagnet.fromCompanionNormalHeader[akka.http.scaladsl.model.headers.Access-Control-Request-Headers](akka.http.scaladsl.model.headers.Access-Control-Request-Headers)((ClassTag.apply[akka.http.scaladsl.model.headers.Access-Control-Request-Headers](classOf[akka.http.scaladsl.model.headers.Access$minusControl$minusRequest$minusHeaders]): scala.reflect.ClassTag[akka.http.scaladsl.model.headers.Access-Control-Request-Headers])))
|
|
548
|
36818
|
22127
-
22159
|
Select
|
akka.http.scaladsl.model.headers.Access-Control-Request-Headers
|
|
akka.http.scaladsl.model.headers.Access-Control-Request-Headers
|
|
550
|
50351
|
22217
-
22334
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(MakeDirectives.this.respondWithDefaultHeader(akka.http.scaladsl.model.headers.Access-Control-Allow-Headers.apply(requestHeader.value()))).apply(route)
|
|
559
|
35972
|
22444
-
22508
|
Apply
|
scala.collection.IterableFactory.apply
|
org.make.api.user.adminuserapitest
|
scala.Predef.Set.apply[String]("jpg", "jpeg", "jfif", "pjpeg", "pjp", "png", "webp", "svg")
|
|
567
|
45463
|
22728
-
22741
|
Apply
|
akka.http.scaladsl.server.directives.MiscDirectives.withSizeLimit
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.withSizeLimit(maxBytes)
|
|
567
|
32115
|
22710
-
22726
|
Select
|
akka.http.scaladsl.server.directives.MiscDirectives.withoutSizeLimit
|
org.make.api.question.moderationquestionapitest
|
MakeDirectives.this.withoutSizeLimit
|
|
568
|
46959
|
22759
-
22759
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple2
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple2[akka.http.scaladsl.server.directives.FileInfo, java.io.File]
|
|
569
|
50389
|
22774
-
22933
|
Apply
|
akka.http.scaladsl.server.directives.FileUploadDirectives.storeUploadedFile
|
|
MakeDirectives.this.storeUploadedFile(imageFieldName, ((fileInfo: akka.http.scaladsl.server.directives.FileInfo) => java.nio.file.Files.createTempFile("makeapi", com.google.common.io.Files.getFileExtension(fileInfo.fileName)).toFile()))
|
|
571
|
38355
|
22841
-
22923
|
Apply
|
java.nio.file.Path.toFile
|
|
java.nio.file.Files.createTempFile("makeapi", com.google.common.io.Files.getFileExtension(fileInfo.fileName)).toFile()
|
|
574
|
45199
|
22958
-
22958
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple2
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple2[String, java.io.File]
|
|
574
|
37613
|
22688
-
23780
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.tflatMap
|
org.make.api.user.adminuserapitest
|
sizeLimit.fold[akka.http.scaladsl.server.Directive0](MakeDirectives.this.withoutSizeLimit)(((maxBytes: Long) => MakeDirectives.this.withSizeLimit(maxBytes))).tflatMap[(akka.http.scaladsl.server.directives.FileInfo, java.io.File)](((x$38: Unit) => MakeDirectives.this.storeUploadedFile(imageFieldName, ((fileInfo: akka.http.scaladsl.server.directives.FileInfo) => java.nio.file.Files.createTempFile("makeapi", com.google.common.io.Files.getFileExtension(fileInfo.fileName)).toFile()))))(util.this.Tuple.forTuple2[akka.http.scaladsl.server.directives.FileInfo, java.io.File]).tflatMap[(String, java.io.File)](((x0$1: (akka.http.scaladsl.server.directives.FileInfo, java.io.File)) => x0$1 match {
case (_1: akka.http.scaladsl.server.directives.FileInfo, _2: java.io.File): (akka.http.scaladsl.server.directives.FileInfo, java.io.File)((info @ _), (file @ _)) => {
file.deleteOnExit();
val contentType: akka.http.scaladsl.model.ContentType = info.contentType;
org.make.core.Validation.validate(org.make.core.Validation.validateField(imageFieldName, "invalid_format", contentType.mediaType.isImage, "File must be an image"), org.make.core.Validation.validateUploadFileName(info.fileName));
val fileExtension: String = com.google.common.io.Files.getFileExtension(info.fileName);
if (MakeDirectives.this.SupportedImageExtensions.contains(fileExtension).unary_!)
server.this.StandardRoute.toDirective[(String, java.io.File)](MakeDirectives.this.failWith(org.make.core.ValidationFailedError.apply(scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("file_extension", "unsupported", scala.Some.apply[String](("Image type \'".+(fileExtension).+("\' not supported"): String)))))))(util.this.Tuple.forTuple2[String, java.io.File])
else
server.this.Directive.SingleValueTransformers[String](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[String](uploadFile.apply(info.fileName, contentType.value, org.make.api.technical.storage.Content.FileContent.apply(file))).asDirective).map[(String, java.io.File)](((x$39: String) => scala.Tuple2.apply[String, java.io.File](x$39, file)))(util.this.Tupler.forTuple[(String, java.io.File)](util.this.Tuple.forTuple2[String, java.io.File]))
}
}))(util.this.Tuple.forTuple2[String, java.io.File])
|
|
576
|
38675
|
22999
-
23018
|
Apply
|
java.io.File.deleteOnExit
|
|
file.deleteOnExit()
|
|
577
|
30505
|
23047
-
23063
|
Select
|
akka.http.scaladsl.server.directives.FileInfo.contentType
|
|
info.contentType
|
|
578
|
43306
|
23074
-
23273
|
Apply
|
org.make.core.Validation.validate
|
|
org.make.core.Validation.validate(org.make.core.Validation.validateField(imageFieldName, "invalid_format", contentType.mediaType.isImage, "File must be an image"), org.make.core.Validation.validateUploadFileName(info.fileName))
|
|
579
|
45989
|
23107
-
23210
|
Apply
|
org.make.core.Validation.validateField
|
|
org.make.core.Validation.validateField(imageFieldName, "invalid_format", contentType.mediaType.isImage, "File must be an image")
|
|
579
|
32863
|
23186
-
23209
|
Literal
|
<nosymbol>
|
|
"File must be an image"
|
|
579
|
43587
|
23137
-
23153
|
Literal
|
<nosymbol>
|
|
"invalid_format"
|
|
579
|
36773
|
23155
-
23184
|
Select
|
akka.http.scaladsl.model.MediaType.isImage
|
|
contentType.mediaType.isImage
|
|
580
|
50138
|
23224
-
23261
|
Apply
|
org.make.core.Validation.validateUploadFileName
|
|
org.make.core.Validation.validateUploadFileName(info.fileName)
|
|
580
|
37084
|
23247
-
23260
|
Select
|
akka.http.scaladsl.server.directives.FileInfo.fileName
|
|
info.fileName
|
|
582
|
39418
|
23328
-
23341
|
Select
|
akka.http.scaladsl.server.directives.FileInfo.fileName
|
|
info.fileName
|
|
582
|
31590
|
23304
-
23342
|
Apply
|
com.google.common.io.Files.getFileExtension
|
|
com.google.common.io.Files.getFileExtension(info.fileName)
|
|
583
|
43621
|
23357
-
23406
|
Select
|
scala.Boolean.unary_!
|
|
MakeDirectives.this.SupportedImageExtensions.contains(fileExtension).unary_!
|
|
584
|
36572
|
23420
-
23654
|
Block
|
akka.http.scaladsl.server.StandardRoute.toDirective
|
|
server.this.StandardRoute.toDirective[(String, java.io.File)](MakeDirectives.this.failWith(org.make.core.ValidationFailedError.apply(scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("file_extension", "unsupported", scala.Some.apply[String](("Image type \'".+(fileExtension).+("\' not supported"): String)))))))(util.this.Tuple.forTuple2[String, java.io.File])
|
|
584
|
31006
|
23428
-
23428
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple2
|
|
util.this.Tuple.forTuple2[String, java.io.File]
|
|
584
|
38630
|
23420
-
23654
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.failWith
|
|
MakeDirectives.this.failWith(org.make.core.ValidationFailedError.apply(scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("file_extension", "unsupported", scala.Some.apply[String](("Image type \'".+(fileExtension).+("\' not supported"): String))))))
|
|
584
|
44689
|
23420
-
23654
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.StandardRoute.toDirective
|
|
server.this.StandardRoute.toDirective[(String, java.io.File)](MakeDirectives.this.failWith(org.make.core.ValidationFailedError.apply(scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("file_extension", "unsupported", scala.Some.apply[String](("Image type \'".+(fileExtension).+("\' not supported"): String)))))))(util.this.Tuple.forTuple2[String, java.io.File])
|
|
585
|
43346
|
23444
-
23640
|
Apply
|
org.make.core.ValidationFailedError.apply
|
|
org.make.core.ValidationFailedError.apply(scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("file_extension", "unsupported", scala.Some.apply[String](("Image type \'".+(fileExtension).+("\' not supported"): String)))))
|
|
586
|
50945
|
23483
-
23624
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("file_extension", "unsupported", scala.Some.apply[String](("Image type \'".+(fileExtension).+("\' not supported"): String))))
|
|
587
|
45418
|
23555
-
23605
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](("Image type \'".+(fileExtension).+("\' not supported"): String))
|
|
587
|
38151
|
23506
-
23606
|
Apply
|
org.make.core.ValidationError.apply
|
|
org.make.core.ValidationError.apply("file_extension", "unsupported", scala.Some.apply[String](("Image type \'".+(fileExtension).+("\' not supported"): String)))
|
|
587
|
36806
|
23522
-
23538
|
Literal
|
<nosymbol>
|
|
"file_extension"
|
|
587
|
32604
|
23540
-
23553
|
Literal
|
<nosymbol>
|
|
"unsupported"
|
|
592
|
38665
|
23762
-
23771
|
Apply
|
scala.Tuple2.apply
|
|
scala.Tuple2.apply[String, java.io.File](x$39, file)
|
|
592
|
37576
|
23727
-
23744
|
Apply
|
org.make.api.technical.storage.Content.FileContent.apply
|
|
org.make.api.technical.storage.Content.FileContent.apply(file)
|
|
592
|
49634
|
23682
-
23772
|
Block
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.map
|
|
server.this.Directive.SingleValueTransformers[String](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[String](uploadFile.apply(info.fileName, contentType.value, org.make.api.technical.storage.Content.FileContent.apply(file))).asDirective).map[(String, java.io.File)](((x$39: String) => scala.Tuple2.apply[String, java.io.File](x$39, file)))(util.this.Tupler.forTuple[(String, java.io.File)](util.this.Tuple.forTuple2[String, java.io.File]))
|
|
592
|
30754
|
23761
-
23761
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple2
|
|
util.this.Tuple.forTuple2[String, java.io.File]
|
|
592
|
45163
|
23708
-
23725
|
Select
|
akka.http.impl.util.ValueRenderable.value
|
|
contentType.value
|
|
592
|
43099
|
23682
-
23757
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[String](uploadFile.apply(info.fileName, contentType.value, org.make.api.technical.storage.Content.FileContent.apply(file))).asDirective
|
|
592
|
49884
|
23693
-
23706
|
Select
|
akka.http.scaladsl.server.directives.FileInfo.fileName
|
|
info.fileName
|
|
592
|
44881
|
23761
-
23761
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.util.Tupler.forTuple
|
|
util.this.Tupler.forTuple[(String, java.io.File)](util.this.Tuple.forTuple2[String, java.io.File])
|
|
592
|
50981
|
23682
-
23745
|
Apply
|
scala.Function3.apply
|
|
uploadFile.apply(info.fileName, contentType.value, org.make.api.technical.storage.Content.FileContent.apply(file))
|
|
592
|
36605
|
23682
-
23772
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.map
|
|
server.this.Directive.SingleValueTransformers[String](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[String](uploadFile.apply(info.fileName, contentType.value, org.make.api.technical.storage.Content.FileContent.apply(file))).asDirective).map[(String, java.io.File)](((x$39: String) => scala.Tuple2.apply[String, java.io.File](x$39, file)))(util.this.Tupler.forTuple[(String, java.io.File)](util.this.Tuple.forTuple2[String, java.io.File]))
|
|
599
|
51438
|
23941
-
23949
|
Literal
|
<nosymbol>
|
|
16777216L
|
|
599
|
30790
|
23960
-
23960
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple2
|
|
util.this.Tuple.forTuple2[akka.http.scaladsl.server.directives.FileInfo, java.io.File]
|
|
600
|
38423
|
23973
-
24124
|
Apply
|
akka.http.scaladsl.server.directives.FileUploadDirectives.storeUploadedFile
|
|
MakeDirectives.this.storeUploadedFile(pdfFieldName, ((fileInfo: akka.http.scaladsl.server.directives.FileInfo) => java.nio.file.Files.createTempFile("makeapi", com.google.common.io.Files.getFileExtension(fileInfo.fileName)).toFile()))
|
|
602
|
43137
|
24034
-
24116
|
Apply
|
java.nio.file.Path.toFile
|
|
java.nio.file.Files.createTempFile("makeapi", com.google.common.io.Files.getFileExtension(fileInfo.fileName)).toFile()
|
|
604
|
49625
|
23927
-
24625
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.tflatMap
|
|
MakeDirectives.this.withSizeLimit(16777216L).tflatMap[(akka.http.scaladsl.server.directives.FileInfo, java.io.File)](((x$40: Unit) => MakeDirectives.this.storeUploadedFile(pdfFieldName, ((fileInfo: akka.http.scaladsl.server.directives.FileInfo) => java.nio.file.Files.createTempFile("makeapi", com.google.common.io.Files.getFileExtension(fileInfo.fileName)).toFile()))))(util.this.Tuple.forTuple2[akka.http.scaladsl.server.directives.FileInfo, java.io.File]).tflatMap[(String, java.io.File)](((x0$1: (akka.http.scaladsl.server.directives.FileInfo, java.io.File)) => x0$1 match {
case (_1: akka.http.scaladsl.server.directives.FileInfo, _2: java.io.File): (akka.http.scaladsl.server.directives.FileInfo, java.io.File)((info @ _), (file @ _)) => {
file.deleteOnExit();
val contentType: akka.http.scaladsl.model.ContentType = info.contentType;
org.make.core.Validation.validate(org.make.core.Validation.validateField(pdfFieldName, "invalid_format", contentType.mediaType.==(akka.http.scaladsl.model.MediaTypes.application/pdf), "File must be a pdf"), org.make.core.Validation.validateUploadFileName(info.fileName));
server.this.Directive.SingleValueTransformers[String](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[String](uploadFile.apply(info.fileName, contentType.value, org.make.api.technical.storage.Content.FileContent.apply(file))).asDirective).map[(String, java.io.File)](((x$41: String) => scala.Tuple2.apply[String, java.io.File](x$41, file)))(util.this.Tupler.forTuple[(String, java.io.File)](util.this.Tuple.forTuple2[String, java.io.File]))
}
}))(util.this.Tuple.forTuple2[String, java.io.File])
|
|
604
|
36856
|
24140
-
24140
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple2
|
|
util.this.Tuple.forTuple2[String, java.io.File]
|
|
606
|
43614
|
24177
-
24196
|
Apply
|
java.io.File.deleteOnExit
|
|
file.deleteOnExit()
|
|
607
|
35744
|
24223
-
24239
|
Select
|
akka.http.scaladsl.server.directives.FileInfo.contentType
|
|
info.contentType
|
|
608
|
44674
|
24248
-
24520
|
Apply
|
org.make.core.Validation.validate
|
|
org.make.core.Validation.validate(org.make.core.Validation.validateField(pdfFieldName, "invalid_format", contentType.mediaType.==(akka.http.scaladsl.model.MediaTypes.application/pdf), "File must be a pdf"), org.make.core.Validation.validateUploadFileName(info.fileName))
|
|
609
|
42287
|
24279
-
24461
|
Apply
|
org.make.core.Validation.validateField
|
|
org.make.core.Validation.validateField(pdfFieldName, "invalid_format", contentType.mediaType.==(akka.http.scaladsl.model.MediaTypes.application/pdf), "File must be a pdf")
|
|
611
|
49134
|
24332
-
24348
|
Literal
|
<nosymbol>
|
|
"invalid_format"
|
|
612
|
38138
|
24362
-
24415
|
Apply
|
java.lang.Object.==
|
|
contentType.mediaType.==(akka.http.scaladsl.model.MediaTypes.application/pdf)
|
|
612
|
44956
|
24387
-
24415
|
Select
|
akka.http.scaladsl.model.MediaTypes.application/pdf
|
|
akka.http.scaladsl.model.MediaTypes.application/pdf
|
|
613
|
50166
|
24429
-
24449
|
Literal
|
<nosymbol>
|
|
"File must be a pdf"
|
|
615
|
30829
|
24473
-
24510
|
Apply
|
org.make.core.Validation.validateUploadFileName
|
|
org.make.core.Validation.validateUploadFileName(info.fileName)
|
|
615
|
34750
|
24496
-
24509
|
Select
|
akka.http.scaladsl.server.directives.FileInfo.fileName
|
|
info.fileName
|
|
617
|
44712
|
24529
-
24619
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.map
|
|
server.this.Directive.SingleValueTransformers[String](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[String](uploadFile.apply(info.fileName, contentType.value, org.make.api.technical.storage.Content.FileContent.apply(file))).asDirective).map[(String, java.io.File)](((x$41: String) => scala.Tuple2.apply[String, java.io.File](x$41, file)))(util.this.Tupler.forTuple[(String, java.io.File)](util.this.Tuple.forTuple2[String, java.io.File]))
|
|
617
|
44990
|
24574
-
24591
|
Apply
|
org.make.api.technical.storage.Content.FileContent.apply
|
|
org.make.api.technical.storage.Content.FileContent.apply(file)
|
|
617
|
38171
|
24529
-
24592
|
Apply
|
scala.Function3.apply
|
|
uploadFile.apply(info.fileName, contentType.value, org.make.api.technical.storage.Content.FileContent.apply(file))
|
|
617
|
51228
|
24529
-
24604
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[String](uploadFile.apply(info.fileName, contentType.value, org.make.api.technical.storage.Content.FileContent.apply(file))).asDirective
|
|
617
|
31367
|
24608
-
24608
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.util.Tupler.forTuple
|
|
util.this.Tupler.forTuple[(String, java.io.File)](util.this.Tuple.forTuple2[String, java.io.File])
|
|
617
|
35784
|
24540
-
24553
|
Select
|
akka.http.scaladsl.server.directives.FileInfo.fileName
|
|
info.fileName
|
|
617
|
43090
|
24609
-
24618
|
Apply
|
scala.Tuple2.apply
|
|
scala.Tuple2.apply[String, java.io.File](x$41, file)
|
|
617
|
49585
|
24555
-
24572
|
Select
|
akka.http.impl.util.ValueRenderable.value
|
|
contentType.value
|
|
617
|
35205
|
24608
-
24608
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple2
|
|
util.this.Tuple.forTuple2[String, java.io.File]
|
|
621
|
45752
|
24764
-
24769
|
Literal
|
<nosymbol>
|
org.make.api.technical.auth.authenticationapitest
|
false
|
|
622
|
30781
|
24774
-
25019
|
Apply
|
akka.http.scaladsl.server.directives.BasicDirectives.mapResponseHeaders
|
org.make.api.technical.auth.authenticationapitest
|
MakeDirectives.this.mapResponseHeaders(((responseHeaders: Seq[akka.http.scaladsl.model.HttpHeader]) => {
alreadySet = responseHeaders.exists(((x0$1: akka.http.scaladsl.model.HttpHeader) => x0$1 match {
case (cookie: akka.http.scaladsl.model.headers.HttpCookie): akka.http.scaladsl.model.headers.Set-Cookie((cookie @ _)) => cookie.name().==(MakeDirectives.this.makeSettings.SecureCookie.name)
case _ => false
}));
responseHeaders
}))
|
|
623
|
35244
|
24833
-
24991
|
Apply
|
scala.collection.IterableOnceOps.exists
|
|
responseHeaders.exists(((x0$1: akka.http.scaladsl.model.HttpHeader) => x0$1 match {
case (cookie: akka.http.scaladsl.model.headers.HttpCookie): akka.http.scaladsl.model.headers.Set-Cookie((cookie @ _)) => cookie.name().==(MakeDirectives.this.makeSettings.SecureCookie.name)
case _ => false
}))
|
|
624
|
51268
|
24895
-
24940
|
Apply
|
java.lang.Object.==
|
|
cookie.name().==(MakeDirectives.this.makeSettings.SecureCookie.name)
|
|
624
|
37930
|
24910
-
24940
|
Select
|
org.make.api.extensions.MakeSettings.SecureCookie.name
|
|
MakeDirectives.this.makeSettings.SecureCookie.name
|
|
625
|
42838
|
24978
-
24983
|
Literal
|
<nosymbol>
|
|
false
|
|
629
|
44472
|
25028
-
25039
|
Select
|
scala.Boolean.unary_!
|
org.make.api.technical.auth.authenticationapitest
|
alreadySet.unary_!
|
|
630
|
50809
|
25049
-
26504
|
Apply
|
scala.Function2.apply
|
org.make.api.technical.auth.authenticationapitest
|
MakeDirectives.this.addCookies.apply(applicationName, scala.`package`.Seq.apply[akka.http.scaladsl.model.headers.HttpCookie]({
<artifact> val x$1: String = MakeDirectives.this.makeSettings.SecureCookie.name;
<artifact> val x$2: String = token.accessToken;
<artifact> val x$3: Boolean = MakeDirectives.this.makeSettings.SecureCookie.isSecure;
<artifact> val x$4: Boolean(true) = true;
<artifact> val x$5: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](java.lang.Math.max(token.refreshExpiresIn.getOrElse[Long](token.expiresIn), token.expiresIn));
<artifact> val x$6: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$7: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$1, x$2, x$7, x$5, x$8, x$6, x$3, true, x$9)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict), {
<artifact> val x$10: String = MakeDirectives.this.makeSettings.SecureCookie.expirationName;
<artifact> val x$11: String = org.make.core.DateHelper.format(java.time.ZonedDateTime.parse(token.createdAt).plusSeconds(token.refreshExpiresIn.getOrElse[Long](token.expiresIn)));
<artifact> val x$12: Boolean = MakeDirectives.this.makeSettings.SecureCookie.isSecure;
<artifact> val x$13: Boolean(false) = false;
<artifact> val x$14: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds);
<artifact> val x$15: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$16: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$10, x$11, x$16, x$14, x$17, x$15, x$12, false, x$18)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict), {
<artifact> val x$19: String = MakeDirectives.this.makeSettings.UserIdCookie.name;
<artifact> val x$20: String = userId.value;
<artifact> val x$21: Boolean = MakeDirectives.this.makeSettings.UserIdCookie.isSecure;
<artifact> val x$22: Boolean(true) = true;
<artifact> val x$23: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds);
<artifact> val x$24: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$25: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$26: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$19, x$20, x$25, x$23, x$26, x$24, x$21, true, x$27)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict)))
|
|
630
|
42665
|
25049
-
26504
|
Block
|
scala.Function2.apply
|
org.make.api.technical.auth.authenticationapitest
|
MakeDirectives.this.addCookies.apply(applicationName, scala.`package`.Seq.apply[akka.http.scaladsl.model.headers.HttpCookie]({
<artifact> val x$1: String = MakeDirectives.this.makeSettings.SecureCookie.name;
<artifact> val x$2: String = token.accessToken;
<artifact> val x$3: Boolean = MakeDirectives.this.makeSettings.SecureCookie.isSecure;
<artifact> val x$4: Boolean(true) = true;
<artifact> val x$5: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](java.lang.Math.max(token.refreshExpiresIn.getOrElse[Long](token.expiresIn), token.expiresIn));
<artifact> val x$6: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$7: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$1, x$2, x$7, x$5, x$8, x$6, x$3, true, x$9)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict), {
<artifact> val x$10: String = MakeDirectives.this.makeSettings.SecureCookie.expirationName;
<artifact> val x$11: String = org.make.core.DateHelper.format(java.time.ZonedDateTime.parse(token.createdAt).plusSeconds(token.refreshExpiresIn.getOrElse[Long](token.expiresIn)));
<artifact> val x$12: Boolean = MakeDirectives.this.makeSettings.SecureCookie.isSecure;
<artifact> val x$13: Boolean(false) = false;
<artifact> val x$14: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds);
<artifact> val x$15: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$16: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$10, x$11, x$16, x$14, x$17, x$15, x$12, false, x$18)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict), {
<artifact> val x$19: String = MakeDirectives.this.makeSettings.UserIdCookie.name;
<artifact> val x$20: String = userId.value;
<artifact> val x$21: Boolean = MakeDirectives.this.makeSettings.UserIdCookie.isSecure;
<artifact> val x$22: Boolean(true) = true;
<artifact> val x$23: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds);
<artifact> val x$24: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$25: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$26: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$19, x$20, x$25, x$23, x$26, x$24, x$21, true, x$27)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict)))
|
|
632
|
33432
|
25094
-
26496
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
org.make.api.technical.auth.authenticationapitest
|
scala.`package`.Seq.apply[akka.http.scaladsl.model.headers.HttpCookie]({
<artifact> val x$1: String = MakeDirectives.this.makeSettings.SecureCookie.name;
<artifact> val x$2: String = token.accessToken;
<artifact> val x$3: Boolean = MakeDirectives.this.makeSettings.SecureCookie.isSecure;
<artifact> val x$4: Boolean(true) = true;
<artifact> val x$5: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](java.lang.Math.max(token.refreshExpiresIn.getOrElse[Long](token.expiresIn), token.expiresIn));
<artifact> val x$6: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$7: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$1, x$2, x$7, x$5, x$8, x$6, x$3, true, x$9)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict), {
<artifact> val x$10: String = MakeDirectives.this.makeSettings.SecureCookie.expirationName;
<artifact> val x$11: String = org.make.core.DateHelper.format(java.time.ZonedDateTime.parse(token.createdAt).plusSeconds(token.refreshExpiresIn.getOrElse[Long](token.expiresIn)));
<artifact> val x$12: Boolean = MakeDirectives.this.makeSettings.SecureCookie.isSecure;
<artifact> val x$13: Boolean(false) = false;
<artifact> val x$14: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds);
<artifact> val x$15: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$16: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$10, x$11, x$16, x$14, x$17, x$15, x$12, false, x$18)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict), {
<artifact> val x$19: String = MakeDirectives.this.makeSettings.UserIdCookie.name;
<artifact> val x$20: String = userId.value;
<artifact> val x$21: Boolean = MakeDirectives.this.makeSettings.UserIdCookie.isSecure;
<artifact> val x$22: Boolean(true) = true;
<artifact> val x$23: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds);
<artifact> val x$24: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$25: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$26: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$19, x$20, x$25, x$23, x$26, x$24, x$21, true, x$27)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict))
|
|
633
|
51219
|
25109
-
25653
|
Apply
|
akka.http.scaladsl.model.headers.HttpCookie.apply
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply(x$1, x$2, x$7, x$5, x$8, x$6, x$3, true, x$9)
|
|
633
|
37118
|
25109
-
25109
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$9
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$9
|
|
633
|
49417
|
25109
-
25109
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$3
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$3
|
|
633
|
41288
|
25109
-
25109
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$5
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$5
|
|
634
|
36360
|
25140
-
25170
|
Select
|
org.make.api.extensions.MakeSettings.SecureCookie.name
|
org.make.api.technical.auth.authenticationapitest
|
MakeDirectives.this.makeSettings.SecureCookie.name
|
|
635
|
49661
|
25192
-
25209
|
Select
|
org.make.api.technical.auth.TokenResponse.accessToken
|
org.make.api.technical.auth.authenticationapitest
|
token.accessToken
|
|
636
|
41254
|
25232
-
25266
|
Select
|
org.make.api.extensions.MakeSettings.SecureCookie.isSecure
|
org.make.api.technical.auth.authenticationapitest
|
MakeDirectives.this.makeSettings.SecureCookie.isSecure
|
|
637
|
37366
|
25291
-
25295
|
Literal
|
<nosymbol>
|
org.make.api.technical.auth.authenticationapitest
|
true
|
|
640
|
35279
|
25594
-
25609
|
Select
|
org.make.api.technical.auth.TokenResponse.expiresIn
|
org.make.api.technical.auth.authenticationapitest
|
token.expiresIn
|
|
640
|
30539
|
25534
-
25610
|
Apply
|
java.lang.Math.max
|
org.make.api.technical.auth.authenticationapitest
|
java.lang.Math.max(token.refreshExpiresIn.getOrElse[Long](token.expiresIn), token.expiresIn)
|
|
640
|
51027
|
25576
-
25591
|
Select
|
org.make.api.technical.auth.TokenResponse.expiresIn
|
org.make.api.technical.auth.authenticationapitest
|
token.expiresIn
|
|
640
|
43915
|
25529
-
25611
|
Apply
|
scala.Some.apply
|
org.make.api.technical.auth.authenticationapitest
|
scala.Some.apply[Long](java.lang.Math.max(token.refreshExpiresIn.getOrElse[Long](token.expiresIn), token.expiresIn))
|
|
640
|
42876
|
25543
-
25592
|
Apply
|
scala.Option.getOrElse
|
org.make.api.technical.auth.authenticationapitest
|
token.refreshExpiresIn.getOrElse[Long](token.expiresIn)
|
|
641
|
36106
|
25632
-
25641
|
Apply
|
scala.Some.apply
|
org.make.api.technical.auth.authenticationapitest
|
scala.Some.apply[String]("/")
|
|
642
|
42914
|
25667
-
25682
|
Select
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
|
642
|
35035
|
25109
-
25683
|
Apply
|
akka.http.scaladsl.model.headers.HttpCookie.withSameSite
|
org.make.api.technical.auth.authenticationapitest
|
{
<artifact> val x$1: String = MakeDirectives.this.makeSettings.SecureCookie.name;
<artifact> val x$2: String = token.accessToken;
<artifact> val x$3: Boolean = MakeDirectives.this.makeSettings.SecureCookie.isSecure;
<artifact> val x$4: Boolean(true) = true;
<artifact> val x$5: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](java.lang.Math.max(token.refreshExpiresIn.getOrElse[Long](token.expiresIn), token.expiresIn));
<artifact> val x$6: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$7: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$1, x$2, x$7, x$5, x$8, x$6, x$3, true, x$9)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict)
|
|
643
|
38219
|
25695
-
25695
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$9
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$9
|
|
643
|
49918
|
25695
-
25695
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$3
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$3
|
|
643
|
41089
|
25695
-
25695
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$5
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$5
|
|
643
|
51011
|
25695
-
26144
|
Apply
|
akka.http.scaladsl.model.headers.HttpCookie.apply
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply(x$10, x$11, x$16, x$14, x$17, x$15, x$12, false, x$18)
|
|
644
|
47836
|
25726
-
25766
|
Select
|
org.make.api.extensions.MakeSettings.SecureCookie.expirationName
|
org.make.api.technical.auth.authenticationapitest
|
MakeDirectives.this.makeSettings.SecureCookie.expirationName
|
|
645
|
37157
|
25788
-
25968
|
Apply
|
org.make.core.DefaultDateHelper.format
|
org.make.api.technical.auth.authenticationapitest
|
org.make.core.DateHelper.format(java.time.ZonedDateTime.parse(token.createdAt).plusSeconds(token.refreshExpiresIn.getOrElse[Long](token.expiresIn)))
|
|
647
|
43658
|
25858
-
25873
|
Select
|
org.make.api.technical.auth.TokenResponse.createdAt
|
org.make.api.technical.auth.authenticationapitest
|
token.createdAt
|
|
648
|
41053
|
25821
-
25954
|
Apply
|
java.time.ZonedDateTime.plusSeconds
|
org.make.api.technical.auth.authenticationapitest
|
java.time.ZonedDateTime.parse(token.createdAt).plusSeconds(token.refreshExpiresIn.getOrElse[Long](token.expiresIn))
|
|
648
|
36845
|
25937
-
25952
|
Select
|
org.make.api.technical.auth.TokenResponse.expiresIn
|
org.make.api.technical.auth.authenticationapitest
|
token.expiresIn
|
|
648
|
49456
|
25904
-
25953
|
Apply
|
scala.Option.getOrElse
|
org.make.api.technical.auth.authenticationapitest
|
token.refreshExpiresIn.getOrElse[Long](token.expiresIn)
|
|
650
|
51260
|
25991
-
26025
|
Select
|
org.make.api.extensions.MakeSettings.SecureCookie.isSecure
|
org.make.api.technical.auth.authenticationapitest
|
MakeDirectives.this.makeSettings.SecureCookie.isSecure
|
|
651
|
43376
|
26050
-
26055
|
Literal
|
<nosymbol>
|
org.make.api.technical.auth.authenticationapitest
|
false
|
|
652
|
47589
|
26083
-
26101
|
Select
|
scala.concurrent.duration.FiniteDuration.toSeconds
|
org.make.api.technical.auth.authenticationapitest
|
scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds
|
|
652
|
34538
|
26083
-
26086
|
Literal
|
<nosymbol>
|
org.make.api.technical.auth.authenticationapitest
|
365
|
|
652
|
44460
|
26078
-
26102
|
Apply
|
scala.Some.apply
|
org.make.api.technical.auth.authenticationapitest
|
scala.Some.apply[Long](scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds)
|
|
653
|
36881
|
26123
-
26132
|
Apply
|
scala.Some.apply
|
org.make.api.technical.auth.authenticationapitest
|
scala.Some.apply[String]("/")
|
|
654
|
34986
|
25695
-
26174
|
Apply
|
akka.http.scaladsl.model.headers.HttpCookie.withSameSite
|
org.make.api.technical.auth.authenticationapitest
|
{
<artifact> val x$10: String = MakeDirectives.this.makeSettings.SecureCookie.expirationName;
<artifact> val x$11: String = org.make.core.DateHelper.format(java.time.ZonedDateTime.parse(token.createdAt).plusSeconds(token.refreshExpiresIn.getOrElse[Long](token.expiresIn)));
<artifact> val x$12: Boolean = MakeDirectives.this.makeSettings.SecureCookie.isSecure;
<artifact> val x$13: Boolean(false) = false;
<artifact> val x$14: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds);
<artifact> val x$15: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$16: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$10, x$11, x$16, x$14, x$17, x$15, x$12, false, x$18)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict)
|
|
654
|
43412
|
26158
-
26173
|
Select
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
|
655
|
36676
|
26186
-
26456
|
Apply
|
akka.http.scaladsl.model.headers.HttpCookie.apply
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply(x$19, x$20, x$25, x$23, x$26, x$24, x$21, true, x$27)
|
|
655
|
48085
|
26186
-
26186
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$5
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$5
|
|
655
|
44262
|
26186
-
26186
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$9
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$9
|
|
655
|
35026
|
26186
-
26186
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$3
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$3
|
|
656
|
47628
|
26217
-
26247
|
Select
|
org.make.api.extensions.MakeSettings.UserIdCookie.name
|
org.make.api.technical.auth.authenticationapitest
|
MakeDirectives.this.makeSettings.UserIdCookie.name
|
|
657
|
44500
|
26269
-
26281
|
Select
|
org.make.core.user.UserId.value
|
org.make.api.technical.auth.authenticationapitest
|
userId.value
|
|
658
|
36640
|
26304
-
26338
|
Select
|
org.make.api.extensions.MakeSettings.UserIdCookie.isSecure
|
org.make.api.technical.auth.authenticationapitest
|
MakeDirectives.this.makeSettings.UserIdCookie.isSecure
|
|
659
|
49409
|
26363
-
26367
|
Literal
|
<nosymbol>
|
org.make.api.technical.auth.authenticationapitest
|
true
|
|
660
|
51055
|
26390
-
26414
|
Apply
|
scala.Some.apply
|
org.make.api.technical.auth.authenticationapitest
|
scala.Some.apply[Long](scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds)
|
|
660
|
41539
|
26395
-
26398
|
Literal
|
<nosymbol>
|
org.make.api.technical.auth.authenticationapitest
|
365
|
|
660
|
34010
|
26395
-
26413
|
Select
|
scala.concurrent.duration.FiniteDuration.toSeconds
|
org.make.api.technical.auth.authenticationapitest
|
scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds
|
|
661
|
43170
|
26435
-
26444
|
Apply
|
scala.Some.apply
|
org.make.api.technical.auth.authenticationapitest
|
scala.Some.apply[String]("/")
|
|
662
|
49167
|
26470
-
26485
|
Select
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
|
662
|
41575
|
26186
-
26486
|
Apply
|
akka.http.scaladsl.model.headers.HttpCookie.withSameSite
|
org.make.api.technical.auth.authenticationapitest
|
{
<artifact> val x$19: String = MakeDirectives.this.makeSettings.UserIdCookie.name;
<artifact> val x$20: String = userId.value;
<artifact> val x$21: Boolean = MakeDirectives.this.makeSettings.UserIdCookie.isSecure;
<artifact> val x$22: Boolean(true) = true;
<artifact> val x$23: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds);
<artifact> val x$24: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$25: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$26: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$19, x$20, x$25, x$23, x$26, x$24, x$21, true, x$27)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict)
|
|
666
|
34783
|
26524
-
26539
|
Select
|
akka.http.scaladsl.server.Directive.Empty
|
|
akka.http.scaladsl.server.Directive.Empty
|
|
666
|
47578
|
26524
-
26539
|
Block
|
akka.http.scaladsl.server.Directive.Empty
|
|
akka.http.scaladsl.server.Directive.Empty
|
|
671
|
36438
|
26632
-
26669
|
Apply
|
org.make.api.technical.MakeDirectives.addCookiesHeaders
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.addCookiesHeaders(((responseHeaders: Seq[akka.http.scaladsl.model.HttpHeader]) => MakeDirectives.this.respondWithHeaders(responseHeaders)))
|
|
671
|
43687
|
26650
-
26668
|
Apply
|
akka.http.scaladsl.server.directives.RespondWithDirectives.respondWithHeaders
|
org.make.api.technical.auth.authenticationapitest
|
MakeDirectives.this.respondWithHeaders(responseHeaders)
|
|
674
|
41613
|
26759
-
26803
|
Apply
|
org.make.api.technical.MakeDirectives.addCookiesHeaders
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.addCookiesHeaders(((responseHeaders: Seq[akka.http.scaladsl.model.HttpHeader]) => MakeDirectives.this.respondWithDefaultHeaders(responseHeaders)))
|
|
674
|
49202
|
26777
-
26802
|
Apply
|
akka.http.scaladsl.server.directives.RespondWithDirectives.respondWithDefaultHeaders
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.respondWithDefaultHeaders(responseHeaders)
|
|
679
|
33182
|
26979
-
27007
|
Apply
|
org.make.api.technical.MakeDirectives.usesCookies
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.usesCookies(applicationName)
|
|
680
|
47616
|
27017
-
27051
|
Block
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
f.apply(cookies.map[akka.http.scaladsl.model.headers.Set-Cookie](((cookie: akka.http.scaladsl.model.headers.HttpCookie) => akka.http.scaladsl.model.headers.Set-Cookie.apply(cookie))))
|
|
680
|
42421
|
27019
-
27050
|
Apply
|
scala.collection.IterableOps.map
|
org.make.api.user.adminuserapitest
|
cookies.map[akka.http.scaladsl.model.headers.Set-Cookie](((cookie: akka.http.scaladsl.model.headers.HttpCookie) => akka.http.scaladsl.model.headers.Set-Cookie.apply(cookie)))
|
|
680
|
50244
|
27031
-
27049
|
Apply
|
akka.http.scaladsl.model.headers.Set-Cookie.apply
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.Set-Cookie.apply(cookie)
|
|
680
|
34818
|
27017
-
27051
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
f.apply(cookies.map[akka.http.scaladsl.model.headers.Set-Cookie](((cookie: akka.http.scaladsl.model.headers.HttpCookie) => akka.http.scaladsl.model.headers.Set-Cookie.apply(cookie))))
|
|
682
|
36631
|
27071
-
27086
|
Block
|
akka.http.scaladsl.server.Directive.Empty
|
org.make.api.technical.makedirectivestest
|
akka.http.scaladsl.server.Directive.Empty
|
|
682
|
39737
|
27071
-
27086
|
Select
|
akka.http.scaladsl.server.Directive.Empty
|
org.make.api.technical.makedirectivestest
|
akka.http.scaladsl.server.Directive.Empty
|
|
688
|
48966
|
27308
-
27313
|
Literal
|
<nosymbol>
|
org.make.api.technical.makedirectivestest
|
false
|
|
689
|
41372
|
27423
-
27427
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
true
|
|
694
|
34293
|
27501
-
27761
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.map
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[akka.http.scaladsl.model.RemoteAddress](MakeDirectives.this.extractClientIP).map[Option[org.make.api.technical.IpAndHash]](((x$42: akka.http.scaladsl.model.RemoteAddress) => x$42.toOption.map[org.make.api.technical.IpAndHash](((addr: java.net.InetAddress) => IpAndHash.apply(IpAndHash.obfuscateIp(addr.getHostAddress()), org.make.api.technical.security.SecurityHelper.generateHash(addr.getHostAddress(), MakeDirectives.this.securityConfiguration.secureHashSalt))))))(util.this.Tupler.forAnyRef[Option[org.make.api.technical.IpAndHash]])
|
|
694
|
33219
|
27501
-
27516
|
Select
|
akka.http.scaladsl.server.directives.MiscDirectives.extractClientIP
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.extractClientIP
|
|
694
|
41566
|
27520
-
27520
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
org.make.api.user.adminuserapitest
|
util.this.Tupler.forAnyRef[Option[org.make.api.technical.IpAndHash]]
|
|
695
|
49698
|
27528
-
27755
|
Apply
|
scala.Option.map
|
org.make.api.user.adminuserapitest
|
x$42.toOption.map[org.make.api.technical.IpAndHash](((addr: java.net.InetAddress) => IpAndHash.apply(IpAndHash.obfuscateIp(addr.getHostAddress()), org.make.api.technical.security.SecurityHelper.generateHash(addr.getHostAddress(), MakeDirectives.this.securityConfiguration.secureHashSalt))))
|
|
697
|
36392
|
27570
-
27747
|
Apply
|
org.make.api.technical.IpAndHash.apply
|
org.make.api.user.userapitest
|
IpAndHash.apply(IpAndHash.obfuscateIp(addr.getHostAddress()), org.make.api.technical.security.SecurityHelper.generateHash(addr.getHostAddress(), MakeDirectives.this.securityConfiguration.secureHashSalt))
|
|
698
|
51305
|
27615
-
27634
|
Apply
|
java.net.InetAddress.getHostAddress
|
org.make.api.user.userapitest
|
addr.getHostAddress()
|
|
698
|
43161
|
27593
-
27635
|
Apply
|
org.make.api.technical.IpAndHash.obfuscateIp
|
org.make.api.user.userapitest
|
IpAndHash.obfuscateIp(addr.getHostAddress())
|
|
699
|
35569
|
27677
-
27696
|
Apply
|
java.net.InetAddress.getHostAddress
|
org.make.api.user.userapitest
|
addr.getHostAddress()
|
|
699
|
39773
|
27649
-
27735
|
Apply
|
org.make.api.technical.security.SecurityHelper.generateHash
|
org.make.api.user.userapitest
|
org.make.api.technical.security.SecurityHelper.generateHash(addr.getHostAddress(), MakeDirectives.this.securityConfiguration.secureHashSalt)
|
|
699
|
48678
|
27698
-
27734
|
Select
|
org.make.api.technical.security.SecurityConfiguration.secureHashSalt
|
org.make.api.user.userapitest
|
MakeDirectives.this.securityConfiguration.secureHashSalt
|
|
706
|
42917
|
27892
-
27915
|
Apply
|
enumeratum.values.ValueEnum.withValueOpt
|
org.make.api.user.adminuserapitest
|
stringEnum.withValueOpt(i)
|
|
706
|
35316
|
27876
-
27916
|
Apply
|
akka.http.scaladsl.server.PathMatcher.PathMatcher1Ops.flatMap
|
org.make.api.user.adminuserapitest
|
server.this.PathMatcher.PathMatcher1Ops[String](MakeDirectives.this.Segment).flatMap[A](((i: String) => stringEnum.withValueOpt(i)))
|
|
706
|
47066
|
27876
-
27883
|
Select
|
akka.http.scaladsl.server.PathMatchers.Segment
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.Segment
|
|
718
|
48115
|
28282
-
28319
|
Apply
|
akka.http.scaladsl.server.directives.HeaderDirectives.optionalHeaderValueByName
|
org.make.api.user.adminuserapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.optionalHeaderValueByName(headerName)
|
|
718
|
36425
|
28324
-
28324
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
org.make.api.user.adminuserapitest
|
util.this.Tupler.forAnyRef[Option[String]]
|
|
718
|
49739
|
28282
-
28388
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.map
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[String]](org.make.api.technical.directives.FutureDirectivesExtensions.optionalHeaderValueByName(headerName)).map[Option[String]](((x0$1: Option[String]) => x0$1 match {
case (value: String): Some[String]("") => scala.None
case (other @ _) => other
}))(util.this.Tupler.forAnyRef[Option[String]])
|
|
719
|
40841
|
28349
-
28353
|
Select
|
scala.None
|
|
scala.None
|
|
725
|
34807
|
28497
-
28567
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.map
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.this.optionalNonEmptyHeaderValueByName(headerName)).map[Option[String]](((x$43: Option[String]) => x$43.flatMap[String](((value: String) => MakeDirectives.this.sanitize(value)))))(util.this.Tupler.forAnyRef[Option[String]])
|
|
725
|
42953
|
28546
-
28546
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
org.make.api.user.adminuserapitest
|
util.this.Tupler.forAnyRef[Option[String]]
|
|
725
|
41322
|
28497
-
28542
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptyHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.optionalNonEmptyHeaderValueByName(headerName)
|
|
725
|
33728
|
28557
-
28565
|
Apply
|
org.make.api.technical.MakeDirectives.sanitize
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.sanitize(value)
|
|
725
|
46821
|
28547
-
28566
|
Apply
|
scala.Option.flatMap
|
org.make.api.user.adminuserapitest
|
x$43.flatMap[String](((value: String) => MakeDirectives.this.sanitize(value)))
|
|
728
|
47870
|
28664
-
28709
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptyHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.optionalNonEmptyHeaderValueByName(headerName)
|
|
728
|
49488
|
28713
-
28713
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
org.make.api.user.adminuserapitest
|
util.this.Tupler.forAnyRef[Option[String]]
|
|
728
|
41365
|
28664
-
28729
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.Directive.SingleValueTransformers.map
|
org.make.api.user.adminuserapitest
|
server.this.Directive.SingleValueTransformers[Option[String]](MakeDirectives.this.optionalNonEmptyHeaderValueByName(headerName)).map[Option[String]](((x$44: Option[String]) => x$44.flatMap[String](((value: String) => MakeDirectives.this.url(value)))))(util.this.Tupler.forAnyRef[Option[String]])
|
|
728
|
36466
|
28714
-
28728
|
Apply
|
scala.Option.flatMap
|
org.make.api.user.adminuserapitest
|
x$44.flatMap[String](((value: String) => MakeDirectives.this.url(value)))
|
|
728
|
39727
|
28724
-
28727
|
Apply
|
org.make.api.technical.MakeDirectives.url
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.url(value)
|
|
730
|
33472
|
28778
-
28807
|
Apply
|
java.net.URI.toURL
|
org.make.api.technical.makedirectivestest
|
new java.net.URI(value).toURL()
|
|
730
|
46265
|
28774
-
28833
|
Apply
|
scala.Option.map
|
org.make.api.technical.makedirectivestest
|
scala.util.Try.apply[java.net.URL](new java.net.URI(value).toURL()).toOption.map[String](((x$45: java.net.URL) => value))
|
|
733
|
34575
|
28955
-
28964
|
Apply
|
java.lang.String.isEmpty
|
org.make.api.technical.makedirectivestest
|
x$46.isEmpty()
|
|
733
|
47910
|
28887
-
28965
|
Apply
|
scala.Option.filterNot
|
org.make.api.technical.makedirectivestest
|
scala.Some.apply[String](scala.Predef.augmentString(value.replaceAll("[^a-zA-Z0-9/#_ -]", "")).take(100)).filterNot(((x$46: String) => x$46.isEmpty()))
|
|
733
|
42996
|
28892
-
28943
|
Apply
|
scala.collection.StringOps.take
|
org.make.api.technical.makedirectivestest
|
scala.Predef.augmentString(value.replaceAll("[^a-zA-Z0-9/#_ -]", "")).take(100)
|
|
749
|
40791
|
29636
-
29640
|
Literal
|
<nosymbol>
|
|
true
|
|
750
|
31866
|
29685
-
29689
|
Literal
|
<nosymbol>
|
|
true
|
|
754
|
48997
|
29800
-
29814
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-request-id"
|
|
755
|
34285
|
29874
-
29908
|
Apply
|
scala.util.Success.apply
|
org.make.api.user.adminuserapitest
|
scala.util.Success.apply[org.make.api.technical.X-Request-Id](new X-Request-Id(value))
|
|
755
|
41127
|
29882
-
29907
|
Apply
|
org.make.api.technical.X-Request-Id.<init>
|
org.make.api.user.adminuserapitest
|
new X-Request-Id(value)
|
|
759
|
46300
|
30061
-
30065
|
Literal
|
<nosymbol>
|
|
true
|
|
760
|
43453
|
30110
-
30114
|
Literal
|
<nosymbol>
|
|
true
|
|
765
|
34610
|
30313
-
30327
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-route-name"
|
|
766
|
47661
|
30395
-
30420
|
Apply
|
org.make.api.technical.X-Route-Name.<init>
|
org.make.api.user.adminuserapitest
|
new X-Route-Name(value)
|
|
766
|
40830
|
30387
-
30421
|
Apply
|
scala.util.Success.apply
|
org.make.api.user.adminuserapitest
|
scala.util.Success.apply[org.make.api.technical.X-Route-Name](new X-Route-Name(value))
|
|
771
|
31898
|
30662
-
30666
|
Literal
|
<nosymbol>
|
|
true
|
|
772
|
49443
|
30711
-
30715
|
Literal
|
<nosymbol>
|
|
true
|
|
776
|
41163
|
30826
-
30840
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-route-time"
|
|
778
|
34318
|
30912
-
30977
|
Apply
|
scala.NotImplementedError.<init>
|
|
new scala.NotImplementedError("Please use the apply from long instead")
|
|
778
|
47362
|
30904
-
30978
|
Apply
|
scala.util.Failure.apply
|
|
scala.util.Failure.apply[Nothing](new scala.NotImplementedError("Please use the apply from long instead"))
|
|
780
|
35060
|
31036
-
31111
|
Apply
|
org.make.api.technical.X-Route-Time.<init>
|
org.make.api.user.adminuserapitest
|
new X-Route-Time(java.lang.System.currentTimeMillis().-(startTimeMillis).toString())
|
|
780
|
42945
|
31056
-
31110
|
Apply
|
scala.Any.toString
|
org.make.api.user.adminuserapitest
|
java.lang.System.currentTimeMillis().-(startTimeMillis).toString()
|
|
785
|
48468
|
31376
-
31380
|
Literal
|
<nosymbol>
|
|
true
|
|
786
|
40867
|
31425
-
31429
|
Literal
|
<nosymbol>
|
|
true
|
|
790
|
32970
|
31552
-
31572
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-make-external-id"
|
|
792
|
41612
|
31639
-
31679
|
Apply
|
scala.util.Success.apply
|
org.make.api.user.adminuserapitest
|
scala.util.Success.apply[org.make.api.technical.X-Make-External-Id](new X-Make-External-Id(value))
|
|
792
|
49480
|
31647
-
31678
|
Apply
|
org.make.api.technical.X-Make-External-Id.<init>
|
org.make.api.user.adminuserapitest
|
new X-Make-External-Id(value)
|
|
798
|
34089
|
31964
-
31968
|
Literal
|
<nosymbol>
|
|
true
|
|
799
|
47398
|
32013
-
32017
|
Literal
|
<nosymbol>
|
|
true
|
|
803
|
38988
|
32148
-
32172
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-content-type-options"
|
|
805
|
47902
|
32243
-
32287
|
Apply
|
scala.util.Success.apply
|
org.make.api.user.adminuserapitest
|
scala.util.Success.apply[org.make.api.technical.X-Content-Type-Options](new X-Content-Type-Options(value))
|
|
805
|
35098
|
32251
-
32286
|
Apply
|
org.make.api.technical.X-Content-Type-Options.<init>
|
org.make.api.user.adminuserapitest
|
new X-Content-Type-Options(value)
|
|
811
|
40618
|
32584
-
32588
|
Literal
|
<nosymbol>
|
|
true
|
|
812
|
32459
|
32633
-
32637
|
Literal
|
<nosymbol>
|
|
true
|
|
816
|
49233
|
32774
-
32801
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"strict-transport-security"
|
|
818
|
41649
|
32883
-
32921
|
Apply
|
org.make.api.technical.Strict-Transport-Security.<init>
|
org.make.api.user.adminuserapitest
|
new Strict-Transport-Security(value)
|
|
818
|
33504
|
32875
-
32922
|
Apply
|
scala.util.Success.apply
|
org.make.api.user.adminuserapitest
|
scala.util.Success.apply[org.make.api.technical.Strict-Transport-Security](new Strict-Transport-Security(value))
|
|
824
|
47146
|
33211
-
33215
|
Literal
|
<nosymbol>
|
|
true
|
|
825
|
39025
|
33260
-
33264
|
Literal
|
<nosymbol>
|
|
true
|
|
829
|
34853
|
33397
-
33422
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"content-security-policy"
|
|
831
|
47650
|
33502
-
33538
|
Apply
|
org.make.api.technical.Content-Security-Policy.<init>
|
org.make.api.user.adminuserapitest
|
new Content-Security-Policy(value)
|
|
831
|
40047
|
33494
-
33539
|
Apply
|
scala.util.Success.apply
|
org.make.api.user.adminuserapitest
|
scala.util.Success.apply[org.make.api.technical.Content-Security-Policy](new Content-Security-Policy(value))
|
|
838
|
32219
|
33822
-
33833
|
TypeApply
|
scala.collection.IterableOnceOps.toSet
|
|
roles.toSet[org.make.core.user.Role]
|
|
838
|
41152
|
33785
-
33844
|
Apply
|
akka.http.scaladsl.server.directives.SecurityDirectives.authorize
|
org.make.api.user.adminuserapitest
|
MakeAuthenticationDirectives.this.authorize(user.roles.toSet[org.make.core.user.Role].intersect(roles.toSet[org.make.core.user.Role]).nonEmpty)
|
|
838
|
45569
|
33795
-
33843
|
Select
|
scala.collection.IterableOnceOps.nonEmpty
|
|
user.roles.toSet[org.make.core.user.Role].intersect(roles.toSet[org.make.core.user.Role]).nonEmpty
|
|
842
|
33256
|
33932
-
33944
|
Select
|
org.make.core.user.Role.RoleOperator
|
org.make.api.demographics.admindemographicscardapitest
|
org.make.core.user.Role.RoleOperator
|
|
842
|
38782
|
33914
-
33961
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireRole
|
org.make.api.demographics.admindemographicscardapitest
|
MakeAuthenticationDirectives.this.requireRole(user, org.make.core.user.Role.RoleOperator, org.make.core.user.Role.RoleSuperAdmin)
|
|
842
|
47353
|
33946
-
33960
|
Select
|
org.make.core.user.Role.RoleSuperAdmin
|
org.make.api.demographics.admindemographicscardapitest
|
org.make.core.user.Role.RoleSuperAdmin
|
|
846
|
47688
|
34066
-
34075
|
Select
|
org.make.core.user.Role.RoleAdmin
|
org.make.api.technical.tracking.trackingapitest
|
org.make.core.user.Role.RoleAdmin
|
|
846
|
34888
|
34051
-
34064
|
Select
|
org.make.core.user.Role.RoleModerator
|
org.make.api.technical.tracking.trackingapitest
|
org.make.core.user.Role.RoleModerator
|
|
846
|
39804
|
34077
-
34089
|
Select
|
org.make.core.user.Role.RoleOperator
|
org.make.api.technical.tracking.trackingapitest
|
org.make.core.user.Role.RoleOperator
|
|
846
|
32961
|
34091
-
34105
|
Select
|
org.make.core.user.Role.RoleSuperAdmin
|
org.make.api.technical.tracking.trackingapitest
|
org.make.core.user.Role.RoleSuperAdmin
|
|
846
|
45601
|
34033
-
34106
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireRole
|
org.make.api.technical.tracking.trackingapitest
|
MakeAuthenticationDirectives.this.requireRole(user, org.make.core.user.Role.RoleModerator, org.make.core.user.Role.RoleAdmin, org.make.core.user.Role.RoleOperator, org.make.core.user.Role.RoleSuperAdmin)
|
|
850
|
35704
|
34219
-
34325
|
Apply
|
akka.http.scaladsl.server.directives.SecurityDirectives.authorize
|
org.make.api.proposal.moderationproposalapitest
|
MakeAuthenticationDirectives.this.authorize(user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin).||(questionIds.iterator.forall(((elem: Any) => user.availableQuestions.contains[Any](elem)))))
|
|
850
|
39514
|
34229
-
34324
|
Apply
|
scala.Boolean.||
|
|
user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin).||(questionIds.iterator.forall(((elem: Any) => user.availableQuestions.contains[Any](elem))))
|
|
850
|
47101
|
34263
-
34324
|
Apply
|
scala.collection.IterableOnceOps.forall
|
|
questionIds.iterator.forall(((elem: Any) => user.availableQuestions.contains[Any](elem)))
|
|
850
|
42205
|
34249
-
34258
|
Select
|
org.make.core.user.Role.RoleAdmin
|
|
org.make.core.user.Role.RoleAdmin
|
|
850
|
33294
|
34291
-
34323
|
Apply
|
scala.collection.SeqOps.contains
|
|
user.availableQuestions.contains[Any](elem)
|
|
854
|
46066
|
34392
-
34450
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireRole
|
org.make.api.user.adminuserapitest
|
MakeAuthenticationDirectives.this.requireRole(user, org.make.core.user.Role.RoleAdmin, org.make.core.user.Role.RoleOperator, org.make.core.user.Role.RoleSuperAdmin)
|
|
854
|
32707
|
34435
-
34449
|
Select
|
org.make.core.user.Role.RoleSuperAdmin
|
org.make.api.user.adminuserapitest
|
org.make.core.user.Role.RoleSuperAdmin
|
|
854
|
40607
|
34421
-
34433
|
Select
|
org.make.core.user.Role.RoleOperator
|
org.make.api.user.adminuserapitest
|
org.make.core.user.Role.RoleOperator
|
|
854
|
48744
|
34410
-
34419
|
Select
|
org.make.core.user.Role.RoleAdmin
|
org.make.api.user.adminuserapitest
|
org.make.core.user.Role.RoleAdmin
|
|
858
|
42244
|
34540
-
34554
|
Select
|
org.make.core.user.Role.RoleSuperAdmin
|
org.make.api.user.adminuserapitest
|
org.make.core.user.Role.RoleSuperAdmin
|
|
858
|
34367
|
34522
-
34555
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireRole
|
org.make.api.user.adminuserapitest
|
MakeAuthenticationDirectives.this.requireRole(user, org.make.core.user.Role.RoleSuperAdmin)
|
|
861
|
45603
|
34602
-
35756
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
org.make.api.technical.auth.authenticationapitest
|
scala.`package`.Seq.apply[akka.http.scaladsl.model.headers.HttpCookie]({
<artifact> val x$1: String = MakeAuthenticationDirectives.this.makeSettings.SessionCookie.name;
<artifact> val x$2: String = MakeAuthenticationDirectives.this.idGenerator.nextSessionId().value;
<artifact> val x$3: Boolean = MakeAuthenticationDirectives.this.makeSettings.SessionCookie.isSecure;
<artifact> val x$4: Boolean(true) = true;
<artifact> val x$5: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](MakeAuthenticationDirectives.this.makeSettings.SessionCookie.lifetime.toSeconds);
<artifact> val x$6: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$7: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$1, x$2, x$7, x$5, x$8, x$6, x$3, true, x$9)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict), {
<artifact> val x$10: String = MakeAuthenticationDirectives.this.makeSettings.SessionCookie.expirationName;
<artifact> val x$11: String = org.make.core.DateHelper.format(org.make.core.DateHelper.now().plusSeconds(MakeAuthenticationDirectives.this.makeSettings.SessionCookie.lifetime.toSeconds));
<artifact> val x$12: Boolean = MakeAuthenticationDirectives.this.makeSettings.SessionCookie.isSecure;
<artifact> val x$13: Boolean(false) = false;
<artifact> val x$14: None.type = scala.None;
<artifact> val x$15: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$16: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$10, x$11, x$16, x$14, x$17, x$15, x$12, false, x$18)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict), {
<artifact> val x$19: String = MakeAuthenticationDirectives.this.makeSettings.SecureCookie.name;
<artifact> val x$20: String("") = "";
<artifact> val x$21: Boolean = MakeAuthenticationDirectives.this.makeSettings.SecureCookie.isSecure;
<artifact> val x$22: Boolean(true) = true;
<artifact> val x$23: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](0L);
<artifact> val x$24: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$25: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$26: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$19, "", x$25, x$23, x$26, x$24, x$21, true, x$27)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict), {
<artifact> val x$28: String = MakeAuthenticationDirectives.this.makeSettings.SecureCookie.expirationName;
<artifact> val x$29: String("") = "";
<artifact> val x$30: Boolean = MakeAuthenticationDirectives.this.makeSettings.SecureCookie.isSecure;
<artifact> val x$31: Boolean(false) = false;
<artifact> val x$32: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](0L);
<artifact> val x$33: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$34: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$35: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$36: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$28, "", x$34, x$32, x$35, x$33, x$30, false, x$36)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict))
|
|
862
|
33865
|
34611
-
34611
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$5
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$5
|
|
862
|
46895
|
34611
-
34611
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$9
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$9
|
|
862
|
41398
|
34611
-
34611
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$3
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$3
|
|
862
|
39309
|
34611
-
34889
|
Apply
|
akka.http.scaladsl.model.headers.HttpCookie.apply
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply(x$1, x$2, x$7, x$5, x$8, x$6, x$3, true, x$9)
|
|
863
|
47137
|
34636
-
34667
|
Select
|
org.make.api.extensions.MakeSettings.SessionCookie.name
|
org.make.api.technical.auth.authenticationapitest
|
MakeAuthenticationDirectives.this.makeSettings.SessionCookie.name
|
|
864
|
39553
|
34683
-
34716
|
Select
|
org.make.core.session.SessionId.value
|
org.make.api.technical.auth.authenticationapitest
|
MakeAuthenticationDirectives.this.idGenerator.nextSessionId().value
|
|
865
|
31110
|
34733
-
34768
|
Select
|
org.make.api.extensions.MakeSettings.SessionCookie.isSecure
|
org.make.api.technical.auth.authenticationapitest
|
MakeAuthenticationDirectives.this.makeSettings.SessionCookie.isSecure
|
|
866
|
48783
|
34787
-
34791
|
Literal
|
<nosymbol>
|
org.make.api.technical.auth.authenticationapitest
|
true
|
|
867
|
32748
|
34808
-
34859
|
Apply
|
scala.Some.apply
|
org.make.api.technical.auth.authenticationapitest
|
scala.Some.apply[Long](MakeAuthenticationDirectives.this.makeSettings.SessionCookie.lifetime.toSeconds)
|
|
867
|
40361
|
34813
-
34858
|
Select
|
scala.concurrent.duration.Duration.toSeconds
|
org.make.api.technical.auth.authenticationapitest
|
MakeAuthenticationDirectives.this.makeSettings.SessionCookie.lifetime.toSeconds
|
|
868
|
45557
|
34874
-
34883
|
Apply
|
scala.Some.apply
|
org.make.api.technical.auth.authenticationapitest
|
scala.Some.apply[String]("/")
|
|
869
|
47947
|
34611
-
34919
|
Apply
|
akka.http.scaladsl.model.headers.HttpCookie.withSameSite
|
org.make.api.technical.auth.authenticationapitest
|
{
<artifact> val x$1: String = MakeAuthenticationDirectives.this.makeSettings.SessionCookie.name;
<artifact> val x$2: String = MakeAuthenticationDirectives.this.idGenerator.nextSessionId().value;
<artifact> val x$3: Boolean = MakeAuthenticationDirectives.this.makeSettings.SessionCookie.isSecure;
<artifact> val x$4: Boolean(true) = true;
<artifact> val x$5: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](MakeAuthenticationDirectives.this.makeSettings.SessionCookie.lifetime.toSeconds);
<artifact> val x$6: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$7: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$1, x$2, x$7, x$5, x$8, x$6, x$3, true, x$9)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict)
|
|
869
|
31145
|
34903
-
34918
|
Select
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
|
870
|
39842
|
34925
-
34925
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$5
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$5
|
|
870
|
47988
|
34925
-
34925
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$3
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$3
|
|
870
|
45344
|
34925
-
35237
|
Apply
|
akka.http.scaladsl.model.headers.HttpCookie.apply
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply(x$10, x$11, x$16, x$14, x$17, x$15, x$12, false, x$18)
|
|
870
|
32541
|
34925
-
34925
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$9
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$9
|
|
871
|
40398
|
34950
-
34991
|
Select
|
org.make.api.extensions.MakeSettings.SessionCookie.expirationName
|
org.make.api.technical.auth.authenticationapitest
|
MakeAuthenticationDirectives.this.makeSettings.SessionCookie.expirationName
|
|
873
|
37717
|
35007
-
35110
|
Apply
|
org.make.core.DefaultDateHelper.format
|
org.make.api.technical.auth.authenticationapitest
|
org.make.core.DateHelper.format(org.make.core.DateHelper.now().plusSeconds(MakeAuthenticationDirectives.this.makeSettings.SessionCookie.lifetime.toSeconds))
|
|
873
|
32784
|
35063
-
35108
|
Select
|
scala.concurrent.duration.Duration.toSeconds
|
org.make.api.technical.auth.authenticationapitest
|
MakeAuthenticationDirectives.this.makeSettings.SessionCookie.lifetime.toSeconds
|
|
873
|
45305
|
35034
-
35109
|
Apply
|
java.time.ZonedDateTime.plusSeconds
|
org.make.api.technical.auth.authenticationapitest
|
org.make.core.DateHelper.now().plusSeconds(MakeAuthenticationDirectives.this.makeSettings.SessionCookie.lifetime.toSeconds)
|
|
874
|
34317
|
35127
-
35162
|
Select
|
org.make.api.extensions.MakeSettings.SessionCookie.isSecure
|
org.make.api.technical.auth.authenticationapitest
|
MakeAuthenticationDirectives.this.makeSettings.SessionCookie.isSecure
|
|
875
|
46928
|
35181
-
35186
|
Literal
|
<nosymbol>
|
org.make.api.technical.auth.authenticationapitest
|
false
|
|
876
|
38808
|
35203
-
35207
|
Select
|
scala.None
|
org.make.api.technical.auth.authenticationapitest
|
scala.None
|
|
877
|
30896
|
35222
-
35231
|
Apply
|
scala.Some.apply
|
org.make.api.technical.auth.authenticationapitest
|
scala.Some.apply[String]("/")
|
|
878
|
34355
|
34925
-
35267
|
Apply
|
akka.http.scaladsl.model.headers.HttpCookie.withSameSite
|
org.make.api.technical.auth.authenticationapitest
|
{
<artifact> val x$10: String = MakeAuthenticationDirectives.this.makeSettings.SessionCookie.expirationName;
<artifact> val x$11: String = org.make.core.DateHelper.format(org.make.core.DateHelper.now().plusSeconds(MakeAuthenticationDirectives.this.makeSettings.SessionCookie.lifetime.toSeconds));
<artifact> val x$12: Boolean = MakeAuthenticationDirectives.this.makeSettings.SessionCookie.isSecure;
<artifact> val x$13: Boolean(false) = false;
<artifact> val x$14: None.type = scala.None;
<artifact> val x$15: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$16: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$10, x$11, x$16, x$14, x$17, x$15, x$12, false, x$18)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict)
|
|
878
|
37476
|
35251
-
35266
|
Select
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
|
879
|
34393
|
35273
-
35273
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$9
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$9
|
|
879
|
37511
|
35273
-
35273
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$5
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$5
|
|
879
|
47434
|
35273
-
35474
|
Apply
|
akka.http.scaladsl.model.headers.HttpCookie.apply
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply(x$19, "", x$25, x$23, x$26, x$24, x$21, true, x$27)
|
|
879
|
45101
|
35273
-
35273
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$3
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$3
|
|
880
|
46380
|
35298
-
35328
|
Select
|
org.make.api.extensions.MakeSettings.SecureCookie.name
|
org.make.api.technical.auth.authenticationapitest
|
MakeAuthenticationDirectives.this.makeSettings.SecureCookie.name
|
|
881
|
38560
|
35344
-
35346
|
Literal
|
<nosymbol>
|
org.make.api.technical.auth.authenticationapitest
|
""
|
|
882
|
30934
|
35363
-
35397
|
Select
|
org.make.api.extensions.MakeSettings.SecureCookie.isSecure
|
org.make.api.technical.auth.authenticationapitest
|
MakeAuthenticationDirectives.this.makeSettings.SecureCookie.isSecure
|
|
883
|
48500
|
35416
-
35420
|
Literal
|
<nosymbol>
|
org.make.api.technical.auth.authenticationapitest
|
true
|
|
884
|
40904
|
35437
-
35444
|
Apply
|
scala.Some.apply
|
org.make.api.technical.auth.authenticationapitest
|
scala.Some.apply[Long](0L)
|
|
885
|
32738
|
35459
-
35468
|
Apply
|
scala.Some.apply
|
org.make.api.technical.auth.authenticationapitest
|
scala.Some.apply[String]("/")
|
|
886
|
39302
|
35488
-
35503
|
Select
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
|
886
|
30687
|
35273
-
35504
|
Apply
|
akka.http.scaladsl.model.headers.HttpCookie.withSameSite
|
org.make.api.technical.auth.authenticationapitest
|
{
<artifact> val x$19: String = MakeAuthenticationDirectives.this.makeSettings.SecureCookie.name;
<artifact> val x$20: String("") = "";
<artifact> val x$21: Boolean = MakeAuthenticationDirectives.this.makeSettings.SecureCookie.isSecure;
<artifact> val x$22: Boolean(true) = true;
<artifact> val x$23: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](0L);
<artifact> val x$24: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$25: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$26: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$19, "", x$25, x$23, x$26, x$24, x$21, true, x$27)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict)
|
|
887
|
44853
|
35510
-
35722
|
Apply
|
akka.http.scaladsl.model.headers.HttpCookie.apply
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply(x$28, "", x$34, x$32, x$35, x$33, x$30, false, x$36)
|
|
887
|
39062
|
35510
-
35510
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$5
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$5
|
|
887
|
31445
|
35510
-
35510
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$9
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$9
|
|
887
|
46918
|
35510
-
35510
|
Select
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$3
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.HttpCookie.apply$default$3
|
|
888
|
44816
|
35535
-
35575
|
Select
|
org.make.api.extensions.MakeSettings.SecureCookie.expirationName
|
org.make.api.technical.auth.authenticationapitest
|
MakeAuthenticationDirectives.this.makeSettings.SecureCookie.expirationName
|
|
889
|
40942
|
35591
-
35593
|
Literal
|
<nosymbol>
|
org.make.api.technical.auth.authenticationapitest
|
""
|
|
890
|
32498
|
35610
-
35644
|
Select
|
org.make.api.extensions.MakeSettings.SecureCookie.isSecure
|
org.make.api.technical.auth.authenticationapitest
|
MakeAuthenticationDirectives.this.makeSettings.SecureCookie.isSecure
|
|
891
|
45849
|
35663
-
35668
|
Literal
|
<nosymbol>
|
org.make.api.technical.auth.authenticationapitest
|
false
|
|
892
|
38316
|
35685
-
35692
|
Apply
|
scala.Some.apply
|
org.make.api.technical.auth.authenticationapitest
|
scala.Some.apply[Long](0L)
|
|
893
|
34150
|
35707
-
35716
|
Apply
|
scala.Some.apply
|
org.make.api.technical.auth.authenticationapitest
|
scala.Some.apply[String]("/")
|
|
894
|
32531
|
35510
-
35752
|
Apply
|
akka.http.scaladsl.model.headers.HttpCookie.withSameSite
|
org.make.api.technical.auth.authenticationapitest
|
{
<artifact> val x$28: String = MakeAuthenticationDirectives.this.makeSettings.SecureCookie.expirationName;
<artifact> val x$29: String("") = "";
<artifact> val x$30: Boolean = MakeAuthenticationDirectives.this.makeSettings.SecureCookie.isSecure;
<artifact> val x$31: Boolean(false) = false;
<artifact> val x$32: Some[Long] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Long](0L);
<artifact> val x$33: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("/");
<artifact> val x$34: Option[akka.http.scaladsl.model.DateTime] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$3;
<artifact> val x$35: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$5;
<artifact> val x$36: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.headers.HttpCookie.apply$default$9;
akka.http.scaladsl.model.headers.HttpCookie.apply(x$28, "", x$34, x$32, x$35, x$33, x$30, false, x$36)
}.withSameSite(akka.http.scaladsl.model.headers.SameSite.Strict)
|
|
894
|
40689
|
35736
-
35751
|
Select
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
|
910
|
37464
|
36277
-
36281
|
Literal
|
<nosymbol>
|
|
true
|
|
911
|
34185
|
36326
-
36331
|
Literal
|
<nosymbol>
|
|
false
|
|
915
|
46682
|
36450
-
36468
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-make-operation"
|
|
916
|
39096
|
36540
-
36569
|
Apply
|
org.make.api.technical.X-Make-Operation.<init>
|
|
new X-Make-Operation(value)
|
|
916
|
30923
|
36532
-
36570
|
Apply
|
scala.util.Success.apply
|
|
scala.util.Success.apply[org.make.api.technical.X-Make-Operation](new X-Make-Operation(value))
|
|
921
|
44015
|
36815
-
36819
|
Literal
|
<nosymbol>
|
|
true
|
|
922
|
40176
|
36864
-
36869
|
Literal
|
<nosymbol>
|
|
false
|
|
926
|
32291
|
36982
-
36997
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-make-source"
|
|
927
|
45639
|
37066
-
37092
|
Apply
|
org.make.api.technical.X-Make-Source.<init>
|
|
new X-Make-Source(value)
|
|
927
|
37501
|
37058
-
37093
|
Apply
|
scala.util.Success.apply
|
|
scala.util.Success.apply[org.make.api.technical.X-Make-Source](new X-Make-Source(value))
|
|
932
|
50562
|
37346
-
37350
|
Literal
|
<nosymbol>
|
|
true
|
|
933
|
46720
|
37395
-
37400
|
Literal
|
<nosymbol>
|
|
false
|
|
937
|
38853
|
37517
-
37534
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-make-location"
|
|
938
|
30676
|
37605
-
37633
|
Apply
|
org.make.api.technical.X-Make-Location.<init>
|
|
new X-Make-Location(value)
|
|
938
|
44047
|
37597
-
37634
|
Apply
|
scala.util.Success.apply
|
|
scala.util.Success.apply[org.make.api.technical.X-Make-Location](new X-Make-Location(value))
|
|
943
|
40641
|
37887
-
37891
|
Literal
|
<nosymbol>
|
|
true
|
|
944
|
32322
|
37936
-
37941
|
Literal
|
<nosymbol>
|
|
false
|
|
948
|
45126
|
38058
-
38075
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-make-question"
|
|
949
|
51363
|
38138
-
38175
|
Apply
|
scala.util.Success.apply
|
|
scala.util.Success.apply[org.make.api.technical.X-Make-Question](new X-Make-Question(value))
|
|
949
|
37254
|
38146
-
38174
|
Apply
|
org.make.api.technical.X-Make-Question.<init>
|
|
new X-Make-Question(value)
|
|
955
|
47173
|
38452
-
38456
|
Literal
|
<nosymbol>
|
|
true
|
|
956
|
38889
|
38501
-
38506
|
Literal
|
<nosymbol>
|
|
false
|
|
960
|
30711
|
38633
-
38655
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-make-question-slug"
|
|
961
|
36981
|
38723
-
38765
|
Apply
|
scala.util.Success.apply
|
|
scala.util.Success.apply[org.make.api.technical.X-Make-Question-Slug](new X-Make-Question-Slug(value))
|
|
961
|
43801
|
38731
-
38764
|
Apply
|
org.make.api.technical.X-Make-Question-Slug.<init>
|
|
new X-Make-Question-Slug(value)
|
|
966
|
33079
|
39018
-
39022
|
Literal
|
<nosymbol>
|
|
true
|
|
967
|
46195
|
39067
-
39072
|
Literal
|
<nosymbol>
|
|
false
|
|
971
|
37295
|
39189
-
39206
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-make-language"
|
|
972
|
47215
|
39269
-
39306
|
Apply
|
scala.util.Success.apply
|
|
scala.util.Success.apply[org.make.api.technical.X-Make-Language](new X-Make-Language(value))
|
|
972
|
51117
|
39277
-
39305
|
Apply
|
org.make.api.technical.X-Make-Language.<init>
|
|
new X-Make-Language(value)
|
|
978
|
39088
|
39599
-
39603
|
Literal
|
<nosymbol>
|
|
true
|
|
979
|
31795
|
39648
-
39653
|
Literal
|
<nosymbol>
|
|
false
|
|
983
|
43840
|
39788
-
39814
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-make-question-language"
|
|
984
|
36737
|
39894
-
39931
|
Apply
|
org.make.api.technical.X-Make-Question-Language.<init>
|
|
new X-Make-Question-Language(value)
|
|
984
|
32825
|
39886
-
39932
|
Apply
|
scala.util.Success.apply
|
|
scala.util.Success.apply[org.make.api.technical.X-Make-Question-Language](new X-Make-Question-Language(value))
|
|
990
|
45631
|
40225
-
40229
|
Literal
|
<nosymbol>
|
|
true
|
|
991
|
37054
|
40274
-
40279
|
Literal
|
<nosymbol>
|
|
false
|
|
995
|
51154
|
40414
-
40440
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-make-proposal-language"
|
|
996
|
47250
|
40520
-
40557
|
Apply
|
org.make.api.technical.X-Make-Proposal-Language.<init>
|
|
new X-Make-Proposal-Language(value)
|
|
996
|
38842
|
40512
-
40558
|
Apply
|
scala.util.Success.apply
|
|
scala.util.Success.apply[org.make.api.technical.X-Make-Proposal-Language](new X-Make-Proposal-Language(value))
|
|
1002
|
31220
|
40843
-
40847
|
Literal
|
<nosymbol>
|
|
true
|
|
1003
|
44361
|
40892
-
40897
|
Literal
|
<nosymbol>
|
|
false
|
|
1007
|
36776
|
41028
-
41052
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-make-client-language"
|
|
1008
|
45381
|
41122
-
41166
|
Apply
|
scala.util.Success.apply
|
|
scala.util.Success.apply[org.make.api.technical.X-Make-Client-Language](new X-Make-Client-Language(value))
|
|
1008
|
32311
|
41130
-
41165
|
Apply
|
org.make.api.technical.X-Make-Client-Language.<init>
|
|
new X-Make-Client-Language(value)
|
|
1013
|
37789
|
41415
-
41419
|
Literal
|
<nosymbol>
|
|
true
|
|
1014
|
51188
|
41464
-
41469
|
Literal
|
<nosymbol>
|
|
false
|
|
1018
|
43310
|
41584
-
41600
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-make-country"
|
|
1019
|
38880
|
41670
-
41697
|
Apply
|
org.make.api.technical.X-Make-Country.<init>
|
|
new X-Make-Country(value)
|
|
1019
|
30975
|
41662
-
41698
|
Apply
|
scala.util.Success.apply
|
|
scala.util.Success.apply[org.make.api.technical.X-Make-Country](new X-Make-Country(value))
|
|
1024
|
43790
|
41963
-
41967
|
Literal
|
<nosymbol>
|
|
true
|
|
1025
|
36811
|
42012
-
42017
|
Literal
|
<nosymbol>
|
|
false
|
|
1029
|
32076
|
42140
-
42160
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-detected-country"
|
|
1030
|
38315
|
42226
-
42266
|
Apply
|
scala.util.Success.apply
|
|
scala.util.Success.apply[org.make.api.technical.X-Detected-Country](new X-Detected-Country(value))
|
|
1030
|
45422
|
42234
-
42265
|
Apply
|
org.make.api.technical.X-Detected-Country.<init>
|
|
new X-Detected-Country(value)
|
|
1035
|
50345
|
42499
-
42503
|
Literal
|
<nosymbol>
|
|
true
|
|
1036
|
42799
|
42548
-
42553
|
Literal
|
<nosymbol>
|
|
false
|
|
1040
|
38635
|
42660
-
42672
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-hostname"
|
|
1041
|
31009
|
42738
-
42761
|
Apply
|
org.make.api.technical.X-Hostname.<init>
|
|
new X-Hostname(value)
|
|
1041
|
43829
|
42730
-
42762
|
Apply
|
scala.util.Success.apply
|
|
scala.util.Success.apply[org.make.api.technical.X-Hostname](new X-Hostname(value))
|
|
1046
|
35962
|
43019
-
43023
|
Literal
|
<nosymbol>
|
|
true
|
|
1047
|
32110
|
43068
-
43073
|
Literal
|
<nosymbol>
|
|
false
|
|
1051
|
45168
|
43192
-
43210
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-get-parameters"
|
|
1052
|
38351
|
43282
-
43311
|
Apply
|
org.make.api.technical.X-Get-Parameters.<init>
|
org.make.api.technical.makedirectivestest
|
new X-Get-Parameters(value)
|
|
1052
|
50384
|
43274
-
43312
|
Apply
|
scala.util.Success.apply
|
org.make.api.technical.makedirectivestest
|
scala.util.Success.apply[org.make.api.technical.X-Get-Parameters](new X-Get-Parameters(value))
|
|
1057
|
43261
|
43553
-
43557
|
Literal
|
<nosymbol>
|
|
true
|
|
1058
|
38668
|
43602
-
43606
|
Literal
|
<nosymbol>
|
|
true
|
|
1062
|
31552
|
43717
-
43731
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-session-id"
|
|
1063
|
44885
|
43799
-
43824
|
Apply
|
org.make.api.technical.X-Session-Id.<init>
|
org.make.api.user.adminuserapitest
|
new X-Session-Id(value)
|
|
1063
|
36767
|
43791
-
43825
|
Apply
|
scala.util.Success.apply
|
org.make.api.user.adminuserapitest
|
scala.util.Success.apply[org.make.api.technical.X-Session-Id](new X-Session-Id(value))
|
|
1071
|
49806
|
44119
-
44124
|
Literal
|
<nosymbol>
|
|
false
|
|
1072
|
45205
|
44169
-
44173
|
Literal
|
<nosymbol>
|
|
true
|
|
1076
|
37078
|
44306
-
44331
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-session-id-expiration"
|
|
1077
|
43302
|
44402
-
44447
|
Apply
|
scala.util.Success.apply
|
org.make.api.user.adminuserapitest
|
scala.util.Success.apply[org.make.api.technical.X-Session-Id-Expiration](new X-Session-Id-Expiration(value))
|
|
1077
|
50132
|
44410
-
44446
|
Apply
|
org.make.api.technical.X-Session-Id-Expiration.<init>
|
org.make.api.user.adminuserapitest
|
new X-Session-Id-Expiration(value)
|
|
1082
|
39128
|
44692
-
44696
|
Literal
|
<nosymbol>
|
|
true
|
|
1083
|
31583
|
44741
-
44745
|
Literal
|
<nosymbol>
|
|
true
|
|
1087
|
43616
|
44849
-
44864
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-total-count"
|
|
1088
|
36531
|
44924
-
44950
|
Apply
|
org.make.api.technical.X-Total-Count.<init>
|
|
new X-Total-Count(value)
|
|
1088
|
49847
|
44916
-
44951
|
Apply
|
scala.util.Success.apply
|
|
scala.util.Success.apply[org.make.api.technical.X-Total-Count](new X-Total-Count(value))
|
|
1093
|
45413
|
45192
-
45196
|
Literal
|
<nosymbol>
|
|
true
|
|
1094
|
38146
|
45241
-
45245
|
Literal
|
<nosymbol>
|
|
true
|
|
1098
|
50169
|
45356
-
45370
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-visitor-id"
|
|
1099
|
35456
|
45430
-
45464
|
Apply
|
scala.util.Success.apply
|
org.make.api.user.adminuserapitest
|
scala.util.Success.apply[org.make.api.technical.X-Visitor-Id](new X-Visitor-Id(value))
|
|
1099
|
43057
|
45438
-
45463
|
Apply
|
org.make.api.technical.X-Visitor-Id.<init>
|
org.make.api.user.adminuserapitest
|
new X-Visitor-Id(value)
|
|
1104
|
31002
|
45733
-
45737
|
Literal
|
<nosymbol>
|
|
true
|
|
1105
|
44681
|
45782
-
45786
|
Literal
|
<nosymbol>
|
|
true
|
|
1109
|
36567
|
45911
-
45933
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-visitor-created-at"
|
|
1110
|
49592
|
46008
-
46040
|
Apply
|
org.make.api.technical.X-Visitor-CreatedAt.<init>
|
org.make.api.user.adminuserapitest
|
new X-Visitor-CreatedAt(value)
|
|
1110
|
45156
|
46000
-
46041
|
Apply
|
scala.util.Success.apply
|
org.make.api.user.adminuserapitest
|
scala.util.Success.apply[org.make.api.technical.X-Visitor-CreatedAt](new X-Visitor-CreatedAt(value))
|
|
1115
|
37574
|
46306
-
46310
|
Literal
|
<nosymbol>
|
|
true
|
|
1116
|
50704
|
46355
-
46360
|
Literal
|
<nosymbol>
|
|
false
|
|
1120
|
43094
|
46483
-
46503
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-make-question-id"
|
|
1121
|
30750
|
46569
-
46609
|
Apply
|
scala.util.Success.apply
|
|
scala.util.Success.apply[org.make.api.technical.X-Make-Question-Id](new X-Make-Question-Id(value))
|
|
1121
|
34945
|
46577
-
46608
|
Apply
|
org.make.api.technical.X-Make-Question-Id.<init>
|
|
new X-Make-Question-Id(value)
|
|
1126
|
44125
|
46862
-
46866
|
Literal
|
<nosymbol>
|
|
true
|
|
1127
|
36328
|
46911
-
46916
|
Literal
|
<nosymbol>
|
|
false
|
|
1131
|
49628
|
47033
-
47050
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-make-app-name"
|
|
1132
|
45193
|
47121
-
47149
|
Apply
|
org.make.api.technical.X-Make-App-Name.<init>
|
org.make.api.technical.makedirectivestest
|
new X-Make-App-Name(value)
|
|
1132
|
37329
|
47113
-
47150
|
Apply
|
scala.util.Success.apply
|
org.make.api.technical.makedirectivestest
|
scala.util.Success.apply[org.make.api.technical.X-Make-App-Name](new X-Make-App-Name(value))
|
|
1137
|
51433
|
47403
-
47407
|
Literal
|
<nosymbol>
|
|
true
|
|
1138
|
42843
|
47452
-
47457
|
Literal
|
<nosymbol>
|
|
false
|
|
1142
|
34712
|
47574
-
47591
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-make-referrer"
|
|
1143
|
44636
|
47654
-
47691
|
Apply
|
scala.util.Success.apply
|
|
scala.util.Success.apply[org.make.api.technical.X-Make-Referrer](new X-Make-Referrer(value))
|
|
1143
|
30786
|
47662
-
47690
|
Apply
|
org.make.api.technical.X-Make-Referrer.<init>
|
|
new X-Make-Referrer(value)
|
|
1148
|
37045
|
47956
-
47960
|
Literal
|
<nosymbol>
|
|
true
|
|
1149
|
49128
|
48005
-
48010
|
Literal
|
<nosymbol>
|
|
false
|
|
1153
|
41259
|
48133
-
48153
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-make-custom-data"
|
|
1154
|
37369
|
48227
-
48258
|
Apply
|
org.make.api.technical.X-Make-Custom-Data.<init>
|
org.make.api.technical.makedirectivestest
|
new X-Make-Custom-Data(value)
|
|
1154
|
51191
|
48219
-
48259
|
Apply
|
scala.util.Success.apply
|
org.make.api.technical.makedirectivestest
|
scala.util.Success.apply[org.make.api.technical.X-Make-Custom-Data](new X-Make-Custom-Data(value))
|