| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
77
|
49452
|
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())
|
|
77
|
36457
|
3349
-
3369
|
Apply
|
org.make.core.technical.IdGenerator.nextId
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.idGenerator.nextId()
|
|
79
|
34364
|
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())
|
|
79
|
41942
|
3432
-
3458
|
Apply
|
java.lang.System.currentTimeMillis
|
org.make.api.user.adminuserapitest
|
java.lang.System.currentTimeMillis()
|
|
82
|
47374
|
3589
-
3617
|
Apply
|
org.make.api.technical.MakeDirectives.usesCookies
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.usesCookies(applicationName)
|
|
83
|
42974
|
3627
-
3653
|
Apply
|
akka.http.scaladsl.server.directives.CookieDirectives.optionalCookie
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.optionalCookie(cookieName)
|
|
83
|
49487
|
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]])
|
|
83
|
35099
|
3664
-
3671
|
Select
|
akka.http.scaladsl.model.headers.HttpCookiePair.value
|
org.make.api.technical.makedirectivestest
|
x$2.value
|
|
83
|
48476
|
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
|
36211
|
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
|
40894
|
3657
-
3657
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
org.make.api.user.adminuserapitest
|
util.this.Tupler.forAnyRef[Option[String]]
|
|
85
|
34125
|
3693
-
3706
|
Apply
|
akka.http.scaladsl.server.directives.BasicDirectives.provide
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.provide[Option[String]](scala.None)
|
|
85
|
41379
|
3701
-
3705
|
Select
|
scala.None
|
org.make.api.technical.makedirectivestest
|
scala.None
|
|
85
|
46860
|
3693
-
3706
|
Block
|
akka.http.scaladsl.server.directives.BasicDirectives.provide
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.provide[Option[String]](scala.None)
|
|
95
|
46623
|
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
|
33545
|
3957
-
3957
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[Option[String]]
|
|
95
|
34606
|
3960
-
4029
|
Apply
|
org.make.api.technical.MakeDirectives.optionalCookieValue
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.optionalCookieValue(MakeDirectives.this.makeSettings.SessionCookie.name, applicationName)
|
|
95
|
42716
|
3980
-
4011
|
Select
|
org.make.api.extensions.MakeSettings.SessionCookie.name
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.makeSettings.SessionCookie.name
|
|
96
|
49243
|
4057
-
4057
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
org.make.api.user.adminuserapitest
|
util.this.Tupler.forAnyRef[Option[String]]
|
|
96
|
41144
|
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
|
40646
|
4060
-
4123
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Session-Id.name)
|
|
96
|
47913
|
4103
-
4122
|
Select
|
org.make.api.technical.X-Session-Id.name
|
org.make.api.user.adminuserapitest
|
X-Session-Id.name
|
|
97
|
47661
|
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
|
34642
|
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
|
42752
|
4197
-
4209
|
Apply
|
org.make.core.session.SessionId.apply
|
org.make.api.technical.makedirectivestest
|
org.make.core.session.SessionId.apply(x$4)
|
|
97
|
40850
|
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]])
|
|
97
|
36246
|
4136
-
4185
|
Apply
|
scala.Option.orElse
|
org.make.api.user.adminuserapitest
|
maybeCookieSessionId.orElse[String](maybeHeaderSessionId)
|
|
101
|
32259
|
4316
-
4347
|
Apply
|
org.make.api.technical.MakeDirectives.maybeSessionId
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.maybeSessionId(applicationName)
|
|
101
|
34113
|
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
|
47111
|
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
|
49278
|
4385
-
4412
|
Apply
|
org.make.core.technical.IdGenerator.nextSessionId
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.idGenerator.nextSessionId()
|
|
102
|
41176
|
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())
|
|
104
|
33297
|
4464
-
4491
|
Apply
|
org.make.core.technical.IdGenerator.nextSessionId
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.idGenerator.nextSessionId()
|
|
105
|
42514
|
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))
|
|
105
|
48788
|
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
|
47364
|
4511
-
4581
|
Apply
|
org.make.api.sessionhistory.SessionHistoryCoordinatorService.getCurrentSessionId
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.sessionHistoryCoordinatorService.getCurrentSessionId(id, newSessionId)
|
|
105
|
42234
|
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])
|
|
106
|
35709
|
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
|
40599
|
4715
-
4715
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
|
util.this.Tuple.forTuple1[org.make.core.session.SessionId]
|
|
107
|
47698
|
4707
-
4718
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.failWith
|
|
MakeDirectives.this.failWith(e)
|
|
107
|
33005
|
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])
|
|
118
|
39544
|
4938
-
4969
|
Select
|
org.make.api.extensions.MakeSettings.VisitorCookie.name
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.makeSettings.VisitorCookie.name
|
|
118
|
34884
|
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
|
39043
|
4920
-
4920
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[String]
|
|
118
|
34437
|
4923
-
4970
|
Apply
|
akka.http.scaladsl.server.directives.CookieDirectives.optionalCookie
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.optionalCookie(MakeDirectives.this.makeSettings.VisitorCookie.name)
|
|
119
|
33877
|
4998
-
4998
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
org.make.api.user.adminuserapitest
|
util.this.Tupler.forAnyRef[String]
|
|
119
|
40632
|
5001
-
5064
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Visitor-Id.name)
|
|
119
|
47151
|
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
|
48759
|
5044
-
5063
|
Select
|
org.make.api.technical.X-Visitor-Id.name
|
org.make.api.user.adminuserapitest
|
X-Visitor-Id.name
|
|
120
|
40968
|
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)
|
|
120
|
49231
|
5144
-
5177
|
Select
|
org.make.core.session.VisitorId.value
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.idGenerator.nextVisitorId().value
|
|
120
|
33041
|
5102
-
5109
|
Select
|
akka.http.scaladsl.model.headers.HttpCookiePair.value
|
|
x$5.value
|
|
125
|
32288
|
5269
-
5269
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[java.time.ZonedDateTime]
|
|
125
|
48261
|
5287
-
5327
|
Select
|
org.make.api.extensions.MakeSettings.VisitorCookie.createdAtName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.makeSettings.VisitorCookie.createdAtName
|
|
125
|
45321
|
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
|
40392
|
5272
-
5328
|
Apply
|
akka.http.scaladsl.server.directives.CookieDirectives.optionalCookie
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.optionalCookie(MakeDirectives.this.makeSettings.VisitorCookie.createdAtName)
|
|
126
|
48710
|
5352
-
5352
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
org.make.api.user.adminuserapitest
|
util.this.Tupler.forAnyRef[java.time.ZonedDateTime]
|
|
126
|
49269
|
5355
-
5416
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptyHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptyHeaderValueByName(X-Visitor-CreatedAt.name)
|
|
126
|
40425
|
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])
|
|
126
|
32792
|
5389
-
5415
|
Select
|
org.make.api.technical.X-Visitor-CreatedAt.name
|
org.make.api.user.adminuserapitest
|
X-Visitor-CreatedAt.name
|
|
129
|
41422
|
5467
-
5474
|
Select
|
akka.http.scaladsl.model.headers.HttpCookiePair.value
|
|
x$6.value
|
|
131
|
33907
|
5543
-
5572
|
Apply
|
java.time.ZonedDateTime.parse
|
|
java.time.ZonedDateTime.parse(creation)
|
|
131
|
47187
|
5539
-
5582
|
Select
|
scala.util.Try.toOption
|
|
scala.util.Try.apply[java.time.ZonedDateTime](java.time.ZonedDateTime.parse(creation)).toOption
|
|
132
|
34921
|
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())
|
|
132
|
38799
|
5603
-
5619
|
Apply
|
org.make.core.DefaultDateHelper.now
|
org.make.api.user.adminuserapitest
|
org.make.core.DateHelper.now()
|
|
137
|
42224
|
5767
-
5831
|
Apply
|
org.make.api.technical.MakeDirectives.checkMandatoryConnectionEndpointAccess
|
|
MakeDirectives.this.checkMandatoryConnectionEndpointAccess(userRights, endpointType)
|
|
137
|
33328
|
5767
-
5831
|
Block
|
org.make.api.technical.MakeDirectives.checkMandatoryConnectionEndpointAccess
|
|
MakeDirectives.this.checkMandatoryConnectionEndpointAccess(userRights, endpointType)
|
|
139
|
38835
|
5851
-
5855
|
Block
|
akka.http.scaladsl.server.directives.BasicDirectives.pass
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.pass
|
|
139
|
46939
|
5851
-
5855
|
Select
|
akka.http.scaladsl.server.directives.BasicDirectives.pass
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.pass
|
|
145
|
34685
|
6049
-
6053
|
Select
|
akka.http.scaladsl.server.directives.BasicDirectives.pass
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.pass
|
|
146
|
32043
|
6096
-
6096
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forUnit
|
org.make.api.technical.makedirectivestest
|
util.this.Tuple.forUnit[Nothing]
|
|
146
|
45360
|
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
|
48748
|
6097
-
6125
|
Select
|
akka.http.scaladsl.server.AuthorizationFailedRejection
|
org.make.api.technical.makedirectivestest
|
akka.http.scaladsl.server.AuthorizationFailedRejection
|
|
146
|
39865
|
6090
-
6126
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.reject
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.reject(akka.http.scaladsl.server.AuthorizationFailedRejection)
|
|
149
|
41983
|
6242
-
6246
|
Select
|
akka.http.scaladsl.server.directives.BasicDirectives.pass
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.pass
|
|
151
|
38591
|
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
|
34398
|
6354
-
6387
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.reject
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.reject(EmailNotVerifiedRejection)
|
|
151
|
47138
|
6360
-
6360
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forUnit
|
org.make.api.technical.makedirectivestest
|
util.this.Tuple.forUnit[Nothing]
|
|
153
|
47481
|
6522
-
6527
|
Select
|
org.make.api.technical.auth.MakeAuthentication.realm
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.realm
|
|
153
|
40928
|
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
|
32781
|
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))
|
|
153
|
45114
|
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
|
33118
|
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
|
42018
|
6429
-
6429
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forUnit
|
org.make.api.technical.makedirectivestest
|
util.this.Tuple.forUnit[Nothing]
|
|
153
|
34718
|
6468
-
6486
|
Select
|
akka.http.scaladsl.server.AuthenticationFailedRejection.CredentialsMissing
|
org.make.api.technical.makedirectivestest
|
akka.http.scaladsl.server.AuthenticationFailedRejection.CredentialsMissing
|
|
159
|
46894
|
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
|
39327
|
7056
-
7060
|
Select
|
akka.http.scaladsl.server.directives.BasicDirectives.pass
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.pass
|
|
181
|
48547
|
7101
-
7177
|
Apply
|
scala.Int.!=
|
org.make.api.technical.makedirectivestest
|
values.keySet.&(getParametersHeaderAllowedValues).size.!=(values.keySet.size)
|
|
181
|
31515
|
7159
-
7177
|
Select
|
scala.collection.IterableOnceOps.size
|
org.make.api.technical.makedirectivestest
|
values.keySet.size
|
|
182
|
32537
|
7195
-
7195
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forUnit
|
org.make.api.technical.makedirectivestest
|
util.this.Tuple.forUnit[Nothing]
|
|
182
|
45859
|
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
|
42054
|
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])
|
|
182
|
40415
|
7189
-
7219
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.reject
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.reject(GetParametersRejection)
|
|
183
|
46930
|
7233
-
7237
|
Block
|
akka.http.scaladsl.server.directives.BasicDirectives.pass
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.pass
|
|
183
|
34192
|
7233
-
7237
|
Select
|
akka.http.scaladsl.server.directives.BasicDirectives.pass
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.pass
|
|
191
|
39110
|
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
|
37528
|
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
|
39122
|
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
|
40207
|
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
|
47734
|
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
|
30974
|
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
|
39085
|
7535
-
7565
|
Select
|
org.make.api.extensions.MakeSettings.SecureCookie.name
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.makeSettings.SecureCookie.name
|
|
198
|
30934
|
7589
-
7606
|
Select
|
org.make.core.auth.Token.accessToken
|
org.make.api.technical.makedirectivestest
|
token.accessToken
|
|
199
|
48579
|
7631
-
7665
|
Select
|
org.make.api.extensions.MakeSettings.SecureCookie.isSecure
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.makeSettings.SecureCookie.isSecure
|
|
200
|
40172
|
7692
-
7696
|
Literal
|
<nosymbol>
|
org.make.api.technical.makedirectivestest
|
true
|
|
203
|
37495
|
7941
-
7990
|
Select
|
scala.Int.toLong
|
org.make.api.technical.makedirectivestest
|
java.lang.Math.max(token.refreshExpiresIn, token.expiresIn).toLong
|
|
203
|
45348
|
7974
-
7989
|
Select
|
org.make.core.auth.Token.expiresIn
|
org.make.api.technical.makedirectivestest
|
token.expiresIn
|
|
203
|
33684
|
7936
-
7991
|
Apply
|
scala.Some.apply
|
org.make.api.technical.makedirectivestest
|
scala.Some.apply[Long](java.lang.Math.max(token.refreshExpiresIn, token.expiresIn).toLong)
|
|
203
|
32568
|
7950
-
7972
|
Select
|
org.make.core.auth.Token.refreshExpiresIn
|
org.make.api.technical.makedirectivestest
|
token.refreshExpiresIn
|
|
204
|
46701
|
8014
-
8023
|
Apply
|
scala.Some.apply
|
org.make.api.technical.makedirectivestest
|
scala.Some.apply[String]("/")
|
|
205
|
32331
|
8051
-
8066
|
Select
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
org.make.api.technical.makedirectivestest
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
|
205
|
45103
|
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)
|
|
207
|
37325
|
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
|
40712
|
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)
|
|
209
|
30759
|
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
|
39078
|
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
|
44581
|
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
|
|
210
|
34147
|
8171
-
8211
|
Select
|
org.make.api.extensions.MakeSettings.SecureCookie.expirationName
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.makeSettings.SecureCookie.expirationName
|
|
211
|
30722
|
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)
|
|
211
|
46727
|
8279
-
8295
|
Apply
|
org.make.core.DefaultDateHelper.now
|
org.make.api.technical.makedirectivestest
|
org.make.core.DateHelper.now()
|
|
211
|
48536
|
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
|
38619
|
8309
-
8331
|
Select
|
scala.Int.toLong
|
org.make.api.technical.makedirectivestest
|
token.refreshExpiresIn.toLong
|
|
212
|
40670
|
8358
-
8392
|
Select
|
org.make.api.extensions.MakeSettings.SecureCookie.isSecure
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.makeSettings.SecureCookie.isSecure
|
|
213
|
32364
|
8419
-
8424
|
Literal
|
<nosymbol>
|
org.make.api.technical.makedirectivestest
|
false
|
|
214
|
34182
|
8449
-
8473
|
Apply
|
scala.Some.apply
|
org.make.api.technical.makedirectivestest
|
scala.Some.apply[Long](scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds)
|
|
214
|
37290
|
8454
-
8472
|
Select
|
scala.concurrent.duration.FiniteDuration.toSeconds
|
org.make.api.technical.makedirectivestest
|
scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds
|
|
214
|
45137
|
8454
-
8457
|
Literal
|
<nosymbol>
|
org.make.api.technical.makedirectivestest
|
365
|
|
215
|
47186
|
8496
-
8505
|
Apply
|
scala.Some.apply
|
org.make.api.technical.makedirectivestest
|
scala.Some.apply[String]("/")
|
|
216
|
32558
|
8533
-
8548
|
Select
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
org.make.api.technical.makedirectivestest
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
|
216
|
45605
|
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)
|
|
218
|
33944
|
8576
-
8576
|
Apply
|
org.make.api.technical.MakeDirectives.$anonfun.<init>
|
org.make.api.user.adminuserapitest
|
new $anonfun()
|
|
218
|
47222
|
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]))
|
|
223
|
44618
|
8684
-
8750
|
Apply
|
akka.http.scaladsl.server.directives.RespondWithDirectives.respondWithDefaultHeaders
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.respondWithDefaultHeaders(MakeDirectives.this.defaultCorsHeaders(origin))
|
|
224
|
31228
|
8718
-
8744
|
Apply
|
org.make.api.technical.MakeDirectives.defaultCorsHeaders
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.defaultCorsHeaders(origin)
|
|
229
|
33979
|
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
|
37240
|
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
|
40748
|
8862
-
8897
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
org.make.api.user.adminuserapitest
|
X-Content-Type-Options.apply("nosniff")
|
|
232
|
32319
|
8907
-
8973
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
org.make.api.user.adminuserapitest
|
Strict-Transport-Security.apply("max-age=31536000; includeSubDomains")
|
|
233
|
45639
|
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
|
32357
|
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
|
45399
|
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
|
40499
|
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
|
46717
|
9931
-
9956
|
Apply
|
org.make.api.technical.X-Route-Time.apply
|
org.make.api.technical.tracking.trackingapitest
|
X-Route-Time.apply(startTime)
|
|
260
|
38870
|
9968
-
9993
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
org.make.api.technical.tracking.trackingapitest
|
X-Request-Id.apply(requestId)
|
|
261
|
31266
|
10005
-
10030
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
org.make.api.technical.tracking.trackingapitest
|
X-Route-Name.apply(routeName)
|
|
262
|
43773
|
10042
-
10074
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
org.make.api.technical.tracking.trackingapitest
|
X-Make-External-Id.apply(externalId)
|
|
265
|
31370
|
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
|
37280
|
10195
-
10240
|
Select
|
scala.concurrent.duration.Duration.toSeconds
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.makeSettings.SessionCookie.lifetime.toSeconds
|
|
267
|
50596
|
10166
-
10241
|
Apply
|
java.time.ZonedDateTime.plusSeconds
|
org.make.api.user.adminuserapitest
|
org.make.core.DateHelper.now().plusSeconds(MakeDirectives.this.makeSettings.SessionCookie.lifetime.toSeconds)
|
|
267
|
46483
|
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))
|
|
269
|
38664
|
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
|
38908
|
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
|
43810
|
10386
-
10411
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
org.make.api.user.adminuserapitest
|
X-Route-Name.apply(routeName)
|
|
273
|
40703
|
10423
-
10455
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
org.make.api.user.adminuserapitest
|
X-Make-External-Id.apply(externalId)
|
|
274
|
32119
|
10467
-
10492
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
org.make.api.user.adminuserapitest
|
X-Session-Id.apply(sessionId)
|
|
275
|
45434
|
10504
-
10552
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
org.make.api.user.adminuserapitest
|
X-Session-Id-Expiration.apply(sessionExpirationDate)
|
|
276
|
37315
|
10564
-
10589
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
org.make.api.user.adminuserapitest
|
X-Visitor-Id.apply(visitorId)
|
|
277
|
47215
|
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
|
50350
|
10623
-
10658
|
Apply
|
org.make.core.DefaultDateHelper.format
|
org.make.api.user.adminuserapitest
|
org.make.core.DateHelper.format(visitorCreatedAt)
|
|
279
|
39188
|
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
|
43072
|
10687
-
10687
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forUnit
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forUnit[Nothing]
|
|
280
|
50169
|
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
|
38159
|
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
|
39400
|
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
|
30545
|
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)
|
|
283
|
46963
|
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
|
51146
|
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
|
|
284
|
30507
|
10808
-
10839
|
Select
|
org.make.api.extensions.MakeSettings.SessionCookie.name
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.makeSettings.SessionCookie.name
|
|
286
|
43849
|
10897
-
10932
|
Select
|
org.make.api.extensions.MakeSettings.SessionCookie.isSecure
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.makeSettings.SessionCookie.isSecure
|
|
287
|
36764
|
10959
-
10963
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
true
|
|
288
|
32862
|
10993
-
11038
|
Select
|
scala.concurrent.duration.Duration.toSeconds
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.makeSettings.SessionCookie.lifetime.toSeconds
|
|
288
|
45961
|
10988
-
11039
|
Apply
|
scala.Some.apply
|
org.make.api.user.adminuserapitest
|
scala.Some.apply[Long](MakeDirectives.this.makeSettings.SessionCookie.lifetime.toSeconds)
|
|
289
|
37075
|
11062
-
11071
|
Apply
|
scala.Some.apply
|
org.make.api.user.adminuserapitest
|
scala.Some.apply[String]("/")
|
|
290
|
36801
|
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
|
43600
|
11099
-
11114
|
Select
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
|
291
|
31009
|
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
|
36568
|
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)
|
|
291
|
44402
|
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
|
38618
|
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
|
|
292
|
32603
|
11162
-
11203
|
Select
|
org.make.api.extensions.MakeSettings.SessionCookie.expirationName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.makeSettings.SessionCookie.expirationName
|
|
294
|
45389
|
11273
-
11308
|
Select
|
org.make.api.extensions.MakeSettings.SessionCookie.isSecure
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.makeSettings.SessionCookie.isSecure
|
|
295
|
37110
|
11335
-
11340
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
false
|
|
296
|
50905
|
11365
-
11369
|
Select
|
scala.None
|
org.make.api.user.adminuserapitest
|
scala.None
|
|
297
|
47005
|
11392
-
11401
|
Apply
|
scala.Some.apply
|
org.make.api.user.adminuserapitest
|
scala.Some.apply[String]("/")
|
|
298
|
45425
|
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)
|
|
298
|
32643
|
11429
-
11444
|
Select
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
|
299
|
50092
|
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
|
32145
|
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
|
37600
|
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
|
45173
|
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
|
37562
|
11492
-
11523
|
Select
|
org.make.api.extensions.MakeSettings.VisitorCookie.name
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.makeSettings.VisitorCookie.name
|
|
302
|
50943
|
11581
-
11616
|
Select
|
org.make.api.extensions.MakeSettings.VisitorCookie.isSecure
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.makeSettings.VisitorCookie.isSecure
|
|
303
|
43082
|
11643
-
11647
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
true
|
|
304
|
44855
|
11672
-
11696
|
Apply
|
scala.Some.apply
|
org.make.api.user.adminuserapitest
|
scala.Some.apply[Long](scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds)
|
|
304
|
38652
|
11677
-
11680
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
365
|
|
304
|
31043
|
11677
-
11695
|
Select
|
scala.concurrent.duration.FiniteDuration.toSeconds
|
org.make.api.user.adminuserapitest
|
scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds
|
|
305
|
36601
|
11719
-
11728
|
Apply
|
scala.Some.apply
|
org.make.api.user.adminuserapitest
|
scala.Some.apply[String]("/")
|
|
306
|
43120
|
11756
-
11771
|
Select
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
|
306
|
38690
|
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)
|
|
307
|
30832
|
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
|
38443
|
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
|
|
307
|
44651
|
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
|
35780
|
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)
|
|
308
|
30796
|
11819
-
11859
|
Select
|
org.make.api.extensions.MakeSettings.VisitorCookie.createdAtName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.makeSettings.VisitorCookie.createdAtName
|
|
309
|
43590
|
11883
-
11918
|
Apply
|
org.make.core.DefaultDateHelper.format
|
org.make.api.user.adminuserapitest
|
org.make.core.DateHelper.format(visitorCreatedAt)
|
|
310
|
35744
|
11943
-
11978
|
Select
|
org.make.api.extensions.MakeSettings.VisitorCookie.isSecure
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.makeSettings.VisitorCookie.isSecure
|
|
311
|
31898
|
12005
-
12009
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
true
|
|
312
|
45208
|
12039
-
12042
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
365
|
|
312
|
38129
|
12039
-
12057
|
Select
|
scala.concurrent.duration.FiniteDuration.toSeconds
|
org.make.api.user.adminuserapitest
|
scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds
|
|
312
|
50130
|
12034
-
12058
|
Apply
|
scala.Some.apply
|
org.make.api.user.adminuserapitest
|
scala.Some.apply[Long](scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds)
|
|
313
|
43316
|
12081
-
12090
|
Apply
|
scala.Some.apply
|
org.make.api.user.adminuserapitest
|
scala.Some.apply[String]("/")
|
|
314
|
49840
|
12118
-
12133
|
Select
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
|
314
|
44965
|
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
|
36589
|
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)))
|
|
326
|
44683
|
12366
-
12448
|
Apply
|
org.make.api.sessionhistory.SessionHistoryCoordinatorService.convertSession
|
|
MakeDirectives.this.sessionHistoryCoordinatorService.convertSession(sessionId, userId, requestContext)
|
|
333
|
42859
|
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
|
49590
|
12806
-
12840
|
Apply
|
org.make.api.technical.auth.MakeAuthentication.secureCookieValue
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.secureCookieValue(applicationName)
|
|
338
|
45719
|
12823
-
12823
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[Option[String]]
|
|
338
|
50728
|
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
}))
}))
|
|
342
|
37354
|
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
|
43110
|
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
|
37918
|
13042
-
13055
|
Select
|
akka.http.scaladsl.model.headers.Authorization
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.Authorization
|
|
342
|
51226
|
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
|
35241
|
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]]
|
|
345
|
36356
|
13294
-
13322
|
Apply
|
akka.http.scaladsl.model.headers.HttpChallenges.oAuth2
|
|
akka.http.scaladsl.model.headers.HttpChallenges.oAuth2(MakeDirectives.this.realm)
|
|
345
|
49628
|
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
|
44723
|
13316
-
13321
|
Select
|
org.make.api.technical.auth.MakeAuthentication.realm
|
|
MakeDirectives.this.realm
|
|
345
|
44920
|
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
|
30786
|
13273
-
13292
|
Select
|
akka.http.scaladsl.server.AuthenticationFailedRejection.CredentialsRejected
|
|
akka.http.scaladsl.server.AuthenticationFailedRejection.CredentialsRejected
|
|
355
|
42899
|
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
|
35280
|
13629
-
13641
|
Apply
|
java.lang.String.split
|
org.make.api.technical.makedirectivestest
|
x$8.split("&")
|
|
357
|
43887
|
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]]))
|
|
357
|
30546
|
13655
-
13670
|
Apply
|
java.lang.String.split
|
org.make.api.technical.makedirectivestest
|
x$9.split("=", 2)
|
|
358
|
44953
|
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
|
36390
|
13723
-
13735
|
Apply
|
scala.Predef.ArrowAssoc.->
|
org.make.api.technical.makedirectivestest
|
scala.Predef.ArrowAssoc[String](key).->[String](value)
|
|
360
|
49386
|
13772
-
13781
|
Apply
|
scala.Predef.ArrowAssoc.->
|
org.make.api.technical.makedirectivestest
|
scala.Predef.ArrowAssoc[String](key).->[String]("")
|
|
362
|
37391
|
13801
-
13801
|
TypeApply
|
scala.<:<.refl
|
org.make.api.technical.makedirectivestest
|
scala.this.<:<.refl[(String, String)]
|
|
362
|
51179
|
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)])
|
|
371
|
34501
|
14025
-
14041
|
Apply
|
org.make.core.SlugHelper.apply
|
org.make.api.user.adminuserapitest
|
org.make.core.SlugHelper.apply(name)
|
|
372
|
30577
|
14046
-
14079
|
Apply
|
org.make.api.technical.tracing.Tracing.entrypoint
|
org.make.api.user.adminuserapitest
|
org.make.api.technical.tracing.Tracing.entrypoint(slugifiedName)
|
|
375
|
48542
|
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
|
43924
|
14110
-
14119
|
Select
|
org.make.api.technical.MakeDirectives.requestId
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.requestId
|
|
375
|
30890
|
14107
-
14107
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
376
|
49425
|
14139
-
14167
|
Apply
|
kamon.instrumentation.akka.http.TracingDirectives.operationName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.operationName(slugifiedName, MakeDirectives.this.operationName$default$2)
|
|
376
|
39322
|
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])
}))
|
|
376
|
36838
|
14139
-
14139
|
Select
|
kamon.instrumentation.akka.http.TracingDirectives.operationName$default$2
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.operationName$default$2
|
|
377
|
41309
|
14222
-
14233
|
Select
|
akka.http.scaladsl.model.headers.ModeledCompanion.name
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.Origin.name
|
|
377
|
34152
|
14184
-
14184
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
377
|
37148
|
14187
-
14234
|
Apply
|
org.make.api.technical.MakeDirectives.optionNonEmptyURLHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionNonEmptyURLHeaderValueByName(akka.http.scaladsl.model.headers.Origin.name)
|
|
377
|
46888
|
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])
|
|
378
|
51219
|
14254
-
14276
|
Apply
|
org.make.api.technical.MakeDirectives.addCorsHeaders
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.addCorsHeaders(origin)
|
|
378
|
38304
|
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])
}))
}))
|
|
379
|
43356
|
14296
-
14310
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.encodeResponse
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.encodeResponse
|
|
379
|
45819
|
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
|
40925
|
14327
-
14327
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
380
|
32775
|
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])
|
|
380
|
34539
|
14330
-
14339
|
Select
|
org.make.api.technical.MakeDirectives.startTime
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.startTime
|
|
381
|
48504
|
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
|
44436
|
14370
-
14436
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-App-Name.name)
|
|
381
|
30978
|
14367
-
14367
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
381
|
30619
|
14413
-
14435
|
Select
|
org.make.api.technical.X-Make-App-Name.name
|
org.make.api.user.adminuserapitest
|
X-Make-App-Name.name
|
|
382
|
37182
|
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]])
|
|
382
|
49335
|
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
|
41075
|
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
|
36872
|
14460
-
14488
|
Apply
|
enumeratum.values.ValueEnum.withValueOpt
|
org.make.api.technical.makedirectivestest
|
org.make.core.ApplicationName.withValueOpt(i)
|
|
383
|
47401
|
14514
-
14514
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
383
|
39286
|
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
|
50975
|
14517
-
14526
|
Select
|
org.make.api.technical.MakeDirectives.visitorId
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.visitorId
|
|
384
|
43390
|
14553
-
14569
|
Select
|
org.make.api.technical.MakeDirectives.visitorCreatedAt
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.visitorCreatedAt
|
|
384
|
34394
|
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
|
41977
|
14550
-
14550
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
385
|
31691
|
14596
-
14665
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-External-Id.name)
|
|
385
|
32740
|
14593
-
14593
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
385
|
36637
|
14669
-
14669
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
org.make.api.user.adminuserapitest
|
util.this.Tupler.forAnyRef[String]
|
|
385
|
45354
|
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])
|
|
385
|
49376
|
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
|
35269
|
14639
-
14664
|
Select
|
org.make.api.technical.X-Make-External-Id.name
|
org.make.api.user.adminuserapitest
|
X-Make-External-Id.name
|
|
385
|
44474
|
14670
-
14692
|
Apply
|
scala.Option.getOrElse
|
org.make.api.user.adminuserapitest
|
x$11.getOrElse[String](requestId)
|
|
386
|
41805
|
14720
-
14761
|
Apply
|
org.make.api.technical.MakeDirectives.getCurrentSessionId
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.getCurrentSessionId(maybeApplicationName)
|
|
386
|
48743
|
14717
-
14717
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
386
|
40888
|
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])
|
|
387
|
51015
|
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)
|
|
387
|
30939
|
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])
}))
}))
}))
}))
|
|
391
|
37702
|
14869
-
14891
|
Select
|
org.make.core.session.SessionId.value
|
org.make.api.user.adminuserapitest
|
currentSessionId.value
|
|
398
|
42611
|
15034
-
15054
|
Apply
|
org.make.api.technical.MakeDirectives.addSecurityHeaders
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.addSecurityHeaders()
|
|
398
|
38546
|
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
|
48333
|
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
|
46347
|
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
|
35024
|
15103
-
15153
|
Apply
|
org.make.api.MakeApi.exceptionHandler
|
org.make.api.user.adminuserapitest
|
org.make.api.MakeApi.exceptionHandler(slugifiedName, requestId)
|
|
400
|
36670
|
15186
-
15228
|
Apply
|
akka.http.scaladsl.server.directives.ExecutionDirectives.handleRejections
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.handleRejections(org.make.api.MakeApi.rejectionHandler)
|
|
400
|
34356
|
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
|
44237
|
15203
-
15227
|
Select
|
org.make.api.MakeApi.rejectionHandler
|
org.make.api.user.adminuserapitest
|
org.make.api.MakeApi.rejectionHandler
|
|
401
|
45316
|
15257
-
15257
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
401
|
49412
|
15260
-
15314
|
Apply
|
org.make.api.technical.MakeDirectives.makeTriggerAuthRefreshFromCookie
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.makeTriggerAuthRefreshFromCookie(maybeApplicationName)
|
|
401
|
41459
|
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
|
32004
|
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])
}))
}))
|
|
402
|
41558
|
15346
-
15418
|
Apply
|
org.make.api.technical.MakeDirectives.addMaybeRefreshedSecureCookie
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.addMaybeRefreshedSecureCookie(maybeApplicationName, maybeTokenRefreshed)
|
|
403
|
37139
|
15450
-
15515
|
Apply
|
org.make.api.technical.MakeDirectives.makeAuthCookieHandlers
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.makeAuthCookieHandlers(maybeTokenRefreshed, maybeApplicationName)
|
|
403
|
39826
|
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])
}))
|
|
404
|
48704
|
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
|
50773
|
15547
-
15563
|
Select
|
org.make.api.technical.MakeDirectives.extractIpAndHash
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.extractIpAndHash
|
|
404
|
31183
|
15544
-
15544
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
405
|
46898
|
15592
-
15592
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
405
|
42648
|
15595
-
15613
|
Select
|
org.make.api.technical.auth.MakeAuthentication.optionalMakeOAuth2
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.optionalMakeOAuth2
|
|
405
|
38795
|
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])
|
|
406
|
35061
|
15645
-
15717
|
Apply
|
org.make.api.technical.MakeDirectives.checkTokenExpirationIfNoCookieIsDefined
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.checkTokenExpirationIfNoCookieIsDefined(maybeUser, maybeApplicationName)
|
|
406
|
33285
|
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
|
41418
|
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])
}))
|
|
407
|
43664
|
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
|
36169
|
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
|
47548
|
15783
-
15789
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
x$12.user
|
|
408
|
41598
|
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
|
49170
|
15871
-
15888
|
Select
|
akka.http.scaladsl.model.headers.ModeledCompanion.name
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.headers.User-Agent.name
|
|
408
|
32786
|
15834
-
15834
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
408
|
45278
|
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
|
33182
|
15964
-
15987
|
Select
|
org.make.api.technical.X-Make-Operation.name
|
org.make.api.user.adminuserapitest
|
X-Make-Operation.name
|
|
409
|
40386
|
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])
|
|
409
|
48200
|
15918
-
15918
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
409
|
50206
|
15921
-
15988
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Operation.name)
|
|
410
|
42681
|
16063
-
16083
|
Select
|
org.make.api.technical.X-Make-Source.name
|
org.make.api.user.adminuserapitest
|
X-Make-Source.name
|
|
410
|
34818
|
16020
-
16084
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Source.name)
|
|
410
|
34880
|
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
|
38758
|
16017
-
16017
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
411
|
33868
|
16113
-
16113
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
411
|
47585
|
16159
-
16181
|
Select
|
org.make.api.technical.X-Make-Location.name
|
org.make.api.user.adminuserapitest
|
X-Make-Location.name
|
|
411
|
47145
|
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])
|
|
411
|
44722
|
16116
-
16182
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Location.name)
|
|
412
|
49203
|
16214
-
16280
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question.name)
|
|
412
|
45530
|
16211
-
16211
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
412
|
41669
|
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
|
36626
|
16257
-
16279
|
Select
|
org.make.api.technical.X-Make-Question.name
|
org.make.api.user.adminuserapitest
|
X-Make-Question.name
|
|
413
|
42122
|
16355
-
16382
|
Select
|
org.make.api.technical.X-Make-Question-Slug.name
|
org.make.api.user.adminuserapitest
|
X-Make-Question-Slug.name
|
|
413
|
32748
|
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])
|
|
413
|
40628
|
16309
-
16309
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
413
|
33220
|
16312
-
16383
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Slug.name)
|
|
414
|
43142
|
16415
-
16480
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Country.name)
|
|
414
|
48752
|
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
|
34845
|
16412
-
16412
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
414
|
51005
|
16458
-
16479
|
Select
|
org.make.api.technical.X-Make-Country.name
|
org.make.api.user.adminuserapitest
|
X-Make-Country.name
|
|
415
|
34854
|
16555
-
16580
|
Select
|
org.make.api.technical.X-Detected-Country.name
|
org.make.api.user.adminuserapitest
|
X-Detected-Country.name
|
|
415
|
39537
|
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])
|
|
415
|
48646
|
16512
-
16581
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Detected-Country.name)
|
|
415
|
47106
|
16509
-
16509
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
416
|
44757
|
16656
-
16678
|
Select
|
org.make.api.technical.X-Make-Language.name
|
org.make.api.user.adminuserapitest
|
X-Make-Language.name
|
|
416
|
42229
|
16610
-
16610
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
416
|
33331
|
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])
|
|
416
|
36662
|
16613
-
16679
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Language.name)
|
|
417
|
32997
|
16708
-
16708
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
417
|
49191
|
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
|
42154
|
16711
-
16786
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Language.name)
|
|
417
|
49662
|
16754
-
16785
|
Select
|
org.make.api.technical.X-Make-Question-Language.name
|
org.make.api.user.adminuserapitest
|
X-Make-Question-Language.name
|
|
418
|
33255
|
16861
-
16892
|
Select
|
org.make.api.technical.X-Make-Proposal-Language.name
|
org.make.api.user.adminuserapitest
|
X-Make-Proposal-Language.name
|
|
418
|
40594
|
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
|
50759
|
16818
-
16893
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Proposal-Language.name)
|
|
418
|
48715
|
16815
-
16815
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
419
|
43178
|
16968
-
16997
|
Select
|
org.make.api.technical.X-Make-Client-Language.name
|
org.make.api.user.adminuserapitest
|
X-Make-Client-Language.name
|
|
419
|
38805
|
16922
-
16922
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
419
|
35703
|
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
|
34775
|
16925
-
16998
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Client-Language.name)
|
|
420
|
39792
|
17030
-
17091
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Hostname.name)
|
|
420
|
48682
|
17073
-
17090
|
Select
|
org.make.api.technical.X-Hostname.name
|
org.make.api.user.adminuserapitest
|
X-Hostname.name
|
|
420
|
47357
|
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])
|
|
420
|
33292
|
17027
-
17027
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
421
|
36421
|
17157
-
17180
|
Select
|
org.make.api.technical.X-Get-Parameters.name
|
org.make.api.user.adminuserapitest
|
X-Get-Parameters.name
|
|
421
|
42190
|
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])
|
|
421
|
49702
|
17123
-
17181
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptyHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptyHeaderValueByName(X-Get-Parameters.name)
|
|
421
|
49273
|
17120
-
17120
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
422
|
34329
|
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
|
32253
|
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
|
41308
|
17221
-
17268
|
Apply
|
org.make.api.technical.MakeDirectives.parseGetParametersHeader
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.parseGetParametersHeader(maybeGetParametersRaw)
|
|
422
|
40068
|
17210
-
17210
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
423
|
47657
|
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])
}))
|
|
423
|
50798
|
17301
-
17345
|
Apply
|
org.make.api.technical.MakeDirectives.checkGetParametersHeader
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.checkGetParametersHeader(maybeGetParameters)
|
|
424
|
34810
|
17377
-
17446
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Question-Id.name)
|
|
424
|
35664
|
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
|
39049
|
17374
-
17374
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
424
|
42936
|
17420
-
17445
|
Select
|
org.make.api.technical.X-Make-Question-Id.name
|
org.make.api.user.adminuserapitest
|
X-Make-Question-Id.name
|
|
425
|
40307
|
17478
-
17544
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptySanitizedHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptySanitizedHeaderValueByName(X-Make-Referrer.name)
|
|
425
|
46617
|
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])
|
|
425
|
33257
|
17475
-
17475
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple1
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple1[org.make.core.RequestContext]
|
|
425
|
48120
|
17521
-
17543
|
Select
|
org.make.api.technical.X-Make-Referrer.name
|
org.make.api.user.adminuserapitest
|
X-Make-Referrer.name
|
|
426
|
49234
|
17573
-
17573
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
org.make.api.user.adminuserapitest
|
util.this.Tupler.forAnyRef[org.make.core.RequestContext]
|
|
426
|
48924
|
17576
-
17636
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptyHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.optionalNonEmptyHeaderValueByName(X-Make-Custom-Data.name)
|
|
426
|
41139
|
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
|
36461
|
17610
-
17635
|
Select
|
org.make.api.technical.X-Make-Custom-Data.name
|
org.make.api.user.adminuserapitest
|
X-Make-Custom-Data.name
|
|
428
|
42707
|
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
|
33768
|
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))
|
|
429
|
41348
|
17725
-
17738
|
Select
|
org.make.core.auth.UserRights.userId
|
|
x$13.user.userId
|
|
432
|
42977
|
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))
|
|
432
|
50562
|
17835
-
17855
|
Apply
|
org.make.core.session.VisitorId.apply
|
org.make.api.user.adminuserapitest
|
org.make.core.session.VisitorId.apply(visitorId)
|
|
433
|
34576
|
17885
-
17907
|
Apply
|
scala.Some.apply
|
org.make.api.user.adminuserapitest
|
scala.Some.apply[java.time.ZonedDateTime](visitorCreatedAt)
|
|
435
|
47878
|
17983
-
17997
|
Apply
|
org.make.core.operation.OperationId.apply
|
|
org.make.core.operation.OperationId.apply(x$14)
|
|
435
|
39749
|
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
|
41385
|
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
|
48965
|
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)))
|
|
441
|
36216
|
18237
-
18250
|
Apply
|
org.make.core.question.QuestionId.apply
|
|
org.make.core.question.QuestionId.apply(x$15)
|
|
443
|
41148
|
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
|
46270
|
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
|
34284
|
18352
-
18373
|
Apply
|
org.make.core.reference.Language.apply
|
|
org.make.core.reference.Language.apply(x$16)
|
|
445
|
43494
|
18431
-
18452
|
Apply
|
org.make.core.reference.Language.apply
|
|
org.make.core.reference.Language.apply(x$17)
|
|
445
|
34610
|
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)))
|
|
446
|
40815
|
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
|
47919
|
18510
-
18531
|
Apply
|
org.make.core.reference.Language.apply
|
|
org.make.core.reference.Language.apply(x$18)
|
|
447
|
48998
|
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)))
|
|
447
|
36946
|
18585
-
18606
|
Apply
|
org.make.core.reference.Language.apply
|
|
org.make.core.reference.Language.apply(x$19)
|
|
449
|
34319
|
18654
-
18664
|
Apply
|
org.make.core.reference.Country.apply
|
|
org.make.core.reference.Country.apply(x$20)
|
|
449
|
47331
|
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)))
|
|
450
|
42927
|
18718
-
18728
|
Apply
|
org.make.core.reference.Country.apply
|
|
org.make.core.reference.Country.apply(x$21)
|
|
450
|
34646
|
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)))
|
|
452
|
48435
|
18804
-
18808
|
Select
|
org.make.api.technical.IpAndHash.ip
|
org.make.api.user.userapitest
|
x$22.ip
|
|
452
|
40856
|
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
|
32423
|
18854
-
18860
|
Select
|
org.make.api.technical.IpAndHash.hash
|
org.make.api.user.userapitest
|
x$23.hash
|
|
453
|
49447
|
18835
-
18861
|
Apply
|
scala.Option.map
|
org.make.api.user.adminuserapitest
|
maybeIpAddress.map[String](((x$23: org.make.api.technical.IpAndHash) => x$23.hash))
|
|
463
|
41182
|
19118
-
19201
|
Apply
|
java.lang.String.split
|
org.make.api.technical.makedirectivestest
|
java.net.URLDecoder.decode(customData, "UTF-8").split(",")
|
|
464
|
34089
|
19223
-
19238
|
Apply
|
java.lang.String.split
|
org.make.api.technical.makedirectivestest
|
x$24.split("=", 2)
|
|
464
|
47369
|
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]]))
|
|
465
|
32458
|
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
|
35096
|
19319
-
19329
|
Apply
|
java.lang.String.trim
|
org.make.api.technical.makedirectivestest
|
value.trim()
|
|
466
|
48469
|
19307
-
19329
|
Apply
|
scala.Predef.ArrowAssoc.->
|
org.make.api.technical.makedirectivestest
|
scala.Predef.ArrowAssoc[String](key.trim()).->[String](value.trim())
|
|
466
|
42969
|
19307
-
19315
|
Apply
|
java.lang.String.trim
|
org.make.api.technical.makedirectivestest
|
key.trim()
|
|
467
|
40604
|
19374
-
19388
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String](key.trim()).->[String]("")
|
|
469
|
49485
|
19424
-
19424
|
TypeApply
|
scala.<:<.refl
|
org.make.api.technical.makedirectivestest
|
scala.this.<:<.refl[(String, String)]
|
|
469
|
41102
|
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
|
34118
|
19463
-
19472
|
TypeApply
|
scala.collection.immutable.Map.empty
|
org.make.api.user.adminuserapitest
|
scala.Predef.Map.empty[String, Nothing]
|
|
471
|
47117
|
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
|
35132
|
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
|
40639
|
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
|
32500
|
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)
|
|
474
|
47620
|
19602
-
19615
|
Select
|
org.make.core.auth.UserRights.userId
|
|
x$25.user.userId
|
|
480
|
45063
|
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
|
40676
|
19799
-
19830
|
Apply
|
scala.collection.SeqOps.contains
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.authorizedUris.contains[String](origin)
|
|
481
|
47692
|
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)))
}
|
|
482
|
32532
|
19858
-
19869
|
Apply
|
akka.http.scaladsl.model.Uri.apply
|
org.make.api.technical.makedirectivestest
|
akka.http.scaladsl.model.Uri.apply(origin)
|
|
483
|
37453
|
19917
-
19941
|
Select
|
akka.http.scaladsl.model.Uri.Authority.host
|
org.make.api.technical.makedirectivestest
|
originUri.authority.host
|
|
483
|
39080
|
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
|
46924
|
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
|
30930
|
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
|
45853
|
19894
-
19910
|
Select
|
akka.http.scaladsl.model.Uri.scheme
|
org.make.api.technical.makedirectivestest
|
originUri.scheme
|
|
483
|
34186
|
19943
-
19967
|
Select
|
akka.http.scaladsl.model.Uri.Authority.port
|
org.make.api.technical.makedirectivestest
|
originUri.authority.port
|
|
485
|
32562
|
19994
-
19998
|
Block
|
scala.None
|
|
scala.None
|
|
485
|
40164
|
19994
-
19998
|
Select
|
scala.None
|
|
scala.None
|
|
492
|
37490
|
20141
-
20171
|
Apply
|
org.make.api.technical.MakeDirectives.getMakeHttpOrigin
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.getMakeHttpOrigin(originValue)
|
|
495
|
40919
|
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
|
33623
|
20243
-
20259
|
Select
|
akka.http.scaladsl.model.HttpMethods.POST
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.HttpMethods.POST
|
|
497
|
46693
|
20269
-
20284
|
Select
|
akka.http.scaladsl.model.HttpMethods.GET
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.HttpMethods.GET
|
|
498
|
39114
|
20294
-
20309
|
Select
|
akka.http.scaladsl.model.HttpMethods.PUT
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.HttpMethods.PUT
|
|
499
|
30681
|
20319
-
20336
|
Select
|
akka.http.scaladsl.model.HttpMethods.PATCH
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.HttpMethods.PATCH
|
|
500
|
44020
|
20346
-
20364
|
Select
|
akka.http.scaladsl.model.HttpMethods.DELETE
|
org.make.api.user.adminuserapitest
|
akka.http.scaladsl.model.HttpMethods.DELETE
|
|
502
|
32325
|
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
|
37283
|
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
|
44856
|
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
|
45098
|
20484
-
20503
|
Select
|
org.make.api.technical.X-Request-Id.name
|
org.make.api.user.adminuserapitest
|
X-Request-Id.name
|
|
506
|
37247
|
20515
-
20534
|
Select
|
org.make.api.technical.X-Route-Name.name
|
org.make.api.user.adminuserapitest
|
X-Route-Name.name
|
|
507
|
34142
|
20546
-
20565
|
Select
|
org.make.api.technical.X-Route-Time.name
|
org.make.api.user.adminuserapitest
|
X-Route-Time.name
|
|
508
|
47435
|
20577
-
20602
|
Select
|
org.make.api.technical.X-Make-External-Id.name
|
org.make.api.user.adminuserapitest
|
X-Make-External-Id.name
|
|
509
|
39640
|
20614
-
20633
|
Select
|
org.make.api.technical.X-Session-Id.name
|
org.make.api.user.adminuserapitest
|
X-Session-Id.name
|
|
510
|
30715
|
20645
-
20675
|
Select
|
org.make.api.technical.X-Session-Id-Expiration.name
|
org.make.api.user.adminuserapitest
|
X-Session-Id-Expiration.name
|
|
511
|
44058
|
20687
-
20707
|
Select
|
org.make.api.technical.X-Total-Count.name
|
org.make.api.user.adminuserapitest
|
X-Total-Count.name
|
|
512
|
40664
|
20719
-
20745
|
Select
|
org.make.api.technical.X-Visitor-CreatedAt.name
|
org.make.api.user.adminuserapitest
|
X-Visitor-CreatedAt.name
|
|
513
|
33076
|
20757
-
20776
|
Select
|
org.make.api.technical.X-Visitor-Id.name
|
org.make.api.user.adminuserapitest
|
X-Visitor-Id.name
|
|
516
|
47182
|
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)))
|
|
516
|
39073
|
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))))
|
|
517
|
51359
|
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
|
47218
|
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
|
44577
|
21083
-
21083
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[Option[String]]
|
|
524
|
30481
|
21066
-
21100
|
Apply
|
org.make.api.technical.auth.MakeAuthentication.secureCookieValue
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.secureCookieValue(applicationName)
|
|
524
|
51112
|
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
}))
|
|
527
|
32824
|
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
|
40709
|
21272
-
21298
|
Select
|
org.make.core.auth.Token.accessToken
|
org.make.api.technical.makedirectivestest
|
refreshedToken.accessToken
|
|
528
|
45600
|
21341
-
21372
|
Apply
|
akka.http.scaladsl.model.headers.OAuth2BearerToken.apply
|
org.make.api.technical.makedirectivestest
|
akka.http.scaladsl.model.headers.OAuth2BearerToken.apply(secureCookie)
|
|
530
|
37319
|
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
|
45636
|
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
|
38828
|
21657
-
21691
|
Apply
|
org.make.api.technical.auth.MakeAuthentication.secureCookieValue
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.secureCookieValue(applicationName)
|
|
538
|
37233
|
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]])
|
|
540
|
44612
|
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
|
|
540
|
31222
|
21743
-
21798
|
Apply
|
org.make.api.technical.auth.MakeDataHandler.refreshIfTokenIsExpired
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.oauth2DataHandler.refreshIfTokenIsExpired(secureCookie)
|
|
541
|
32313
|
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)
|
|
541
|
40457
|
21853
-
21857
|
Select
|
scala.None
|
org.make.api.user.adminuserapitest
|
scala.None
|
|
545
|
43805
|
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
|
38865
|
21969
-
21969
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Option[String]]
|
|
546
|
51150
|
21970
-
21981
|
Select
|
akka.http.scaladsl.model.headers.ModeledCompanion.name
|
|
akka.http.scaladsl.model.headers.Origin.name
|
|
546
|
46968
|
21935
-
21982
|
Apply
|
org.make.api.technical.MakeDirectives.optionNonEmptyURLHeaderValueByName
|
|
MakeDirectives.optionNonEmptyURLHeaderValueByName(akka.http.scaladsl.model.headers.Origin.name)
|
|
546
|
31784
|
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
})))))
|
|
547
|
31260
|
22045
-
22087
|
Apply
|
org.make.api.technical.MakeDirectives.defaultCorsHeaders
|
|
MakeDirectives.this.defaultCorsHeaders(mayBeOriginHeaderValue)
|
|
547
|
38903
|
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
|
43766
|
22019
-
22088
|
Apply
|
akka.http.scaladsl.server.directives.RespondWithDirectives.respondWithDefaultHeaders
|
|
MakeDirectives.this.respondWithDefaultHeaders(MakeDirectives.this.defaultCorsHeaders(mayBeOriginHeaderValue))
|
|
548
|
36805
|
22127
-
22159
|
Select
|
akka.http.scaladsl.model.headers.Access-Control-Request-Headers
|
|
akka.http.scaladsl.model.headers.Access-Control-Request-Headers
|
|
548
|
32077
|
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
|
45393
|
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
|
46475
|
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
|
37275
|
22126
-
22126
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Option[akka.http.scaladsl.model.headers.Access-Control-Request-Headers]]
|
|
550
|
50309
|
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
|
35963
|
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
|
45428
|
22728
-
22741
|
Apply
|
akka.http.scaladsl.server.directives.MiscDirectives.withSizeLimit
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.withSizeLimit(maxBytes)
|
|
567
|
32110
|
22710
-
22726
|
Select
|
akka.http.scaladsl.server.directives.MiscDirectives.withoutSizeLimit
|
org.make.api.question.moderationquestionapitest
|
MakeDirectives.this.withoutSizeLimit
|
|
568
|
46923
|
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
|
50346
|
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
|
38336
|
22841
-
22923
|
Apply
|
java.nio.file.Path.toFile
|
|
java.nio.file.Files.createTempFile("makeapi", com.google.common.io.Files.getFileExtension(fileInfo.fileName)).toFile()
|
|
574
|
45166
|
22958
-
22958
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple2
|
org.make.api.user.adminuserapitest
|
util.this.Tuple.forTuple2[String, java.io.File]
|
|
574
|
37596
|
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
|
38656
|
22999
-
23018
|
Apply
|
java.io.File.deleteOnExit
|
|
file.deleteOnExit()
|
|
577
|
30504
|
23047
-
23063
|
Select
|
akka.http.scaladsl.server.directives.FileInfo.contentType
|
|
info.contentType
|
|
578
|
43281
|
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
|
36760
|
23155
-
23184
|
Select
|
akka.http.scaladsl.model.MediaType.isImage
|
|
contentType.mediaType.isImage
|
|
579
|
45953
|
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
|
43560
|
23137
-
23153
|
Literal
|
<nosymbol>
|
|
"invalid_format"
|
|
579
|
32858
|
23186
-
23209
|
Literal
|
<nosymbol>
|
|
"File must be an image"
|
|
580
|
50097
|
23224
-
23261
|
Apply
|
org.make.core.Validation.validateUploadFileName
|
|
org.make.core.Validation.validateUploadFileName(info.fileName)
|
|
580
|
37069
|
23247
-
23260
|
Select
|
akka.http.scaladsl.server.directives.FileInfo.fileName
|
|
info.fileName
|
|
582
|
39398
|
23328
-
23341
|
Select
|
akka.http.scaladsl.server.directives.FileInfo.fileName
|
|
info.fileName
|
|
582
|
31586
|
23304
-
23342
|
Apply
|
com.google.common.io.Files.getFileExtension
|
|
com.google.common.io.Files.getFileExtension(info.fileName)
|
|
583
|
43593
|
23357
-
23406
|
Select
|
scala.Boolean.unary_!
|
|
MakeDirectives.this.SupportedImageExtensions.contains(fileExtension).unary_!
|
|
584
|
31003
|
23428
-
23428
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple2
|
|
util.this.Tuple.forTuple2[String, java.io.File]
|
|
584
|
38611
|
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
|
36562
|
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
|
44657
|
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
|
43321
|
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
|
50900
|
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
|
38133
|
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
|
32599
|
23540
-
23553
|
Literal
|
<nosymbol>
|
|
"unsupported"
|
|
587
|
45383
|
23555
-
23605
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](("Image type \'".+(fileExtension).+("\' not supported"): String))
|
|
587
|
36793
|
23522
-
23538
|
Literal
|
<nosymbol>
|
|
"file_extension"
|
|
592
|
49844
|
23693
-
23706
|
Select
|
akka.http.scaladsl.server.directives.FileInfo.fileName
|
|
info.fileName
|
|
592
|
36595
|
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]))
|
|
592
|
43076
|
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
|
49595
|
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
|
45130
|
23708
-
23725
|
Select
|
akka.http.impl.util.ValueRenderable.value
|
|
contentType.value
|
|
592
|
38646
|
23762
-
23771
|
Apply
|
scala.Tuple2.apply
|
|
scala.Tuple2.apply[String, java.io.File](x$39, file)
|
|
592
|
44848
|
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
|
30753
|
23761
-
23761
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple2
|
|
util.this.Tuple.forTuple2[String, java.io.File]
|
|
592
|
37559
|
23727
-
23744
|
Apply
|
org.make.api.technical.storage.Content.FileContent.apply
|
|
org.make.api.technical.storage.Content.FileContent.apply(file)
|
|
592
|
50936
|
23682
-
23745
|
Apply
|
scala.Function3.apply
|
|
uploadFile.apply(info.fileName, contentType.value, org.make.api.technical.storage.Content.FileContent.apply(file))
|
|
599
|
51392
|
23941
-
23949
|
Literal
|
<nosymbol>
|
|
16777216L
|
|
599
|
30789
|
23960
-
23960
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple2
|
|
util.this.Tuple.forTuple2[akka.http.scaladsl.server.directives.FileInfo, java.io.File]
|
|
600
|
38404
|
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
|
43114
|
24034
-
24116
|
Apply
|
java.nio.file.Path.toFile
|
|
java.nio.file.Files.createTempFile("makeapi", com.google.common.io.Files.getFileExtension(fileInfo.fileName)).toFile()
|
|
604
|
36843
|
24140
-
24140
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple2
|
|
util.this.Tuple.forTuple2[String, java.io.File]
|
|
604
|
49586
|
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])
|
|
606
|
43586
|
24177
-
24196
|
Apply
|
java.io.File.deleteOnExit
|
|
file.deleteOnExit()
|
|
607
|
35735
|
24223
-
24239
|
Select
|
akka.http.scaladsl.server.directives.FileInfo.contentType
|
|
info.contentType
|
|
608
|
44642
|
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
|
42265
|
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
|
49098
|
24332
-
24348
|
Literal
|
<nosymbol>
|
|
"invalid_format"
|
|
612
|
38120
|
24362
-
24415
|
Apply
|
java.lang.Object.==
|
|
contentType.mediaType.==(akka.http.scaladsl.model.MediaTypes.application/pdf)
|
|
612
|
44923
|
24387
-
24415
|
Select
|
akka.http.scaladsl.model.MediaTypes.application/pdf
|
|
akka.http.scaladsl.model.MediaTypes.application/pdf
|
|
613
|
50125
|
24429
-
24449
|
Literal
|
<nosymbol>
|
|
"File must be a pdf"
|
|
615
|
30828
|
24473
-
24510
|
Apply
|
org.make.core.Validation.validateUploadFileName
|
|
org.make.core.Validation.validateUploadFileName(info.fileName)
|
|
615
|
34745
|
24496
-
24509
|
Select
|
akka.http.scaladsl.server.directives.FileInfo.fileName
|
|
info.fileName
|
|
617
|
44957
|
24574
-
24591
|
Apply
|
org.make.api.technical.storage.Content.FileContent.apply
|
|
org.make.api.technical.storage.Content.FileContent.apply(file)
|
|
617
|
43067
|
24609
-
24618
|
Apply
|
scala.Tuple2.apply
|
|
scala.Tuple2.apply[String, java.io.File](x$41, file)
|
|
617
|
38153
|
24529
-
24592
|
Apply
|
scala.Function3.apply
|
|
uploadFile.apply(info.fileName, contentType.value, org.make.api.technical.storage.Content.FileContent.apply(file))
|
|
617
|
35198
|
24608
-
24608
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple2
|
|
util.this.Tuple.forTuple2[String, java.io.File]
|
|
617
|
35775
|
24540
-
24553
|
Select
|
akka.http.scaladsl.server.directives.FileInfo.fileName
|
|
info.fileName
|
|
617
|
49546
|
24555
-
24572
|
Select
|
akka.http.impl.util.ValueRenderable.value
|
|
contentType.value
|
|
617
|
31363
|
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
|
51182
|
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
|
44680
|
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]))
|
|
621
|
45716
|
24764
-
24769
|
Literal
|
<nosymbol>
|
org.make.api.technical.auth.authenticationapitest
|
false
|
|
622
|
30780
|
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
|
35237
|
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
|
51222
|
24895
-
24940
|
Apply
|
java.lang.Object.==
|
|
cookie.name().==(MakeDirectives.this.makeSettings.SecureCookie.name)
|
|
624
|
37912
|
24910
-
24940
|
Select
|
org.make.api.extensions.MakeSettings.SecureCookie.name
|
|
MakeDirectives.this.makeSettings.SecureCookie.name
|
|
625
|
42815
|
24978
-
24983
|
Literal
|
<nosymbol>
|
|
false
|
|
629
|
44441
|
25028
-
25039
|
Select
|
scala.Boolean.unary_!
|
org.make.api.technical.auth.authenticationapitest
|
alreadySet.unary_!
|
|
630
|
50765
|
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
|
42643
|
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
|
33427
|
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
|
49380
|
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
|
37103
|
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
|
41268
|
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
|
|
633
|
51173
|
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)
|
|
634
|
36350
|
25140
-
25170
|
Select
|
org.make.api.extensions.MakeSettings.SecureCookie.name
|
org.make.api.technical.auth.authenticationapitest
|
MakeDirectives.this.makeSettings.SecureCookie.name
|
|
635
|
49622
|
25192
-
25209
|
Select
|
org.make.api.technical.auth.TokenResponse.accessToken
|
org.make.api.technical.auth.authenticationapitest
|
token.accessToken
|
|
636
|
41234
|
25232
-
25266
|
Select
|
org.make.api.extensions.MakeSettings.SecureCookie.isSecure
|
org.make.api.technical.auth.authenticationapitest
|
MakeDirectives.this.makeSettings.SecureCookie.isSecure
|
|
637
|
37349
|
25291
-
25295
|
Literal
|
<nosymbol>
|
org.make.api.technical.auth.authenticationapitest
|
true
|
|
640
|
43884
|
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
|
50982
|
25576
-
25591
|
Select
|
org.make.api.technical.auth.TokenResponse.expiresIn
|
org.make.api.technical.auth.authenticationapitest
|
token.expiresIn
|
|
640
|
30538
|
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
|
42853
|
25543
-
25592
|
Apply
|
scala.Option.getOrElse
|
org.make.api.technical.auth.authenticationapitest
|
token.refreshExpiresIn.getOrElse[Long](token.expiresIn)
|
|
640
|
35272
|
25594
-
25609
|
Select
|
org.make.api.technical.auth.TokenResponse.expiresIn
|
org.make.api.technical.auth.authenticationapitest
|
token.expiresIn
|
|
641
|
36097
|
25632
-
25641
|
Apply
|
scala.Some.apply
|
org.make.api.technical.auth.authenticationapitest
|
scala.Some.apply[String]("/")
|
|
642
|
35029
|
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)
|
|
642
|
42891
|
25667
-
25682
|
Select
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
|
643
|
38201
|
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
|
41069
|
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
|
49878
|
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
|
50966
|
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
|
47800
|
25726
-
25766
|
Select
|
org.make.api.extensions.MakeSettings.SecureCookie.expirationName
|
org.make.api.technical.auth.authenticationapitest
|
MakeDirectives.this.makeSettings.SecureCookie.expirationName
|
|
645
|
37142
|
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
|
43630
|
25858
-
25873
|
Select
|
org.make.api.technical.auth.TokenResponse.createdAt
|
org.make.api.technical.auth.authenticationapitest
|
token.createdAt
|
|
648
|
36832
|
25937
-
25952
|
Select
|
org.make.api.technical.auth.TokenResponse.expiresIn
|
org.make.api.technical.auth.authenticationapitest
|
token.expiresIn
|
|
648
|
49419
|
25904
-
25953
|
Apply
|
scala.Option.getOrElse
|
org.make.api.technical.auth.authenticationapitest
|
token.refreshExpiresIn.getOrElse[Long](token.expiresIn)
|
|
648
|
41033
|
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))
|
|
650
|
51214
|
25991
-
26025
|
Select
|
org.make.api.extensions.MakeSettings.SecureCookie.isSecure
|
org.make.api.technical.auth.authenticationapitest
|
MakeDirectives.this.makeSettings.SecureCookie.isSecure
|
|
651
|
43351
|
26050
-
26055
|
Literal
|
<nosymbol>
|
org.make.api.technical.auth.authenticationapitest
|
false
|
|
652
|
47553
|
26083
-
26101
|
Select
|
scala.concurrent.duration.FiniteDuration.toSeconds
|
org.make.api.technical.auth.authenticationapitest
|
scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds
|
|
652
|
44429
|
26078
-
26102
|
Apply
|
scala.Some.apply
|
org.make.api.technical.auth.authenticationapitest
|
scala.Some.apply[Long](scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds)
|
|
652
|
34533
|
26083
-
26086
|
Literal
|
<nosymbol>
|
org.make.api.technical.auth.authenticationapitest
|
365
|
|
653
|
36868
|
26123
-
26132
|
Apply
|
scala.Some.apply
|
org.make.api.technical.auth.authenticationapitest
|
scala.Some.apply[String]("/")
|
|
654
|
43387
|
26158
-
26173
|
Select
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
|
654
|
34980
|
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)
|
|
655
|
48049
|
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
|
36666
|
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
|
35020
|
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
|
|
655
|
44231
|
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
|
|
656
|
47592
|
26217
-
26247
|
Select
|
org.make.api.extensions.MakeSettings.UserIdCookie.name
|
org.make.api.technical.auth.authenticationapitest
|
MakeDirectives.this.makeSettings.UserIdCookie.name
|
|
657
|
44469
|
26269
-
26281
|
Select
|
org.make.core.user.UserId.value
|
org.make.api.technical.auth.authenticationapitest
|
userId.value
|
|
658
|
36630
|
26304
-
26338
|
Select
|
org.make.api.extensions.MakeSettings.UserIdCookie.isSecure
|
org.make.api.technical.auth.authenticationapitest
|
MakeDirectives.this.makeSettings.UserIdCookie.isSecure
|
|
659
|
49372
|
26363
-
26367
|
Literal
|
<nosymbol>
|
org.make.api.technical.auth.authenticationapitest
|
true
|
|
660
|
51010
|
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
|
41518
|
26395
-
26398
|
Literal
|
<nosymbol>
|
org.make.api.technical.auth.authenticationapitest
|
365
|
|
660
|
34005
|
26395
-
26413
|
Select
|
scala.concurrent.duration.FiniteDuration.toSeconds
|
org.make.api.technical.auth.authenticationapitest
|
scala.concurrent.duration.`package`.DurationInt(365).days.toSeconds
|
|
661
|
43147
|
26435
-
26444
|
Apply
|
scala.Some.apply
|
org.make.api.technical.auth.authenticationapitest
|
scala.Some.apply[String]("/")
|
|
662
|
41554
|
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)
|
|
662
|
49131
|
26470
-
26485
|
Select
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
|
666
|
47542
|
26524
-
26539
|
Block
|
akka.http.scaladsl.server.Directive.Empty
|
|
akka.http.scaladsl.server.Directive.Empty
|
|
666
|
34778
|
26524
-
26539
|
Select
|
akka.http.scaladsl.server.Directive.Empty
|
|
akka.http.scaladsl.server.Directive.Empty
|
|
671
|
36428
|
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
|
43659
|
26650
-
26668
|
Apply
|
akka.http.scaladsl.server.directives.RespondWithDirectives.respondWithHeaders
|
org.make.api.technical.auth.authenticationapitest
|
MakeDirectives.this.respondWithHeaders(responseHeaders)
|
|
674
|
41592
|
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
|
49166
|
26777
-
26802
|
Apply
|
akka.http.scaladsl.server.directives.RespondWithDirectives.respondWithDefaultHeaders
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.respondWithDefaultHeaders(responseHeaders)
|
|
679
|
33177
|
26979
-
27007
|
Apply
|
org.make.api.technical.MakeDirectives.usesCookies
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.usesCookies(applicationName)
|
|
680
|
34813
|
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))))
|
|
680
|
47580
|
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
|
50203
|
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
|
42399
|
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)))
|
|
682
|
39717
|
27071
-
27086
|
Select
|
akka.http.scaladsl.server.Directive.Empty
|
org.make.api.technical.makedirectivestest
|
akka.http.scaladsl.server.Directive.Empty
|
|
682
|
36621
|
27071
-
27086
|
Block
|
akka.http.scaladsl.server.Directive.Empty
|
org.make.api.technical.makedirectivestest
|
akka.http.scaladsl.server.Directive.Empty
|
|
688
|
48930
|
27308
-
27313
|
Literal
|
<nosymbol>
|
org.make.api.technical.makedirectivestest
|
false
|
|
689
|
41352
|
27423
-
27427
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
true
|
|
694
|
41545
|
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]]
|
|
694
|
34288
|
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
|
33214
|
27501
-
27516
|
Select
|
akka.http.scaladsl.server.directives.MiscDirectives.extractClientIP
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.extractClientIP
|
|
695
|
49659
|
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
|
36382
|
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
|
43138
|
27593
-
27635
|
Apply
|
org.make.api.technical.IpAndHash.obfuscateIp
|
org.make.api.user.userapitest
|
IpAndHash.obfuscateIp(addr.getHostAddress())
|
|
698
|
51259
|
27615
-
27634
|
Apply
|
java.net.InetAddress.getHostAddress
|
org.make.api.user.userapitest
|
addr.getHostAddress()
|
|
699
|
39753
|
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
|
48642
|
27698
-
27734
|
Select
|
org.make.api.technical.security.SecurityConfiguration.secureHashSalt
|
org.make.api.user.userapitest
|
MakeDirectives.this.securityConfiguration.secureHashSalt
|
|
699
|
35561
|
27677
-
27696
|
Apply
|
java.net.InetAddress.getHostAddress
|
org.make.api.user.userapitest
|
addr.getHostAddress()
|
|
706
|
35309
|
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
|
47030
|
27876
-
27883
|
Select
|
akka.http.scaladsl.server.PathMatchers.Segment
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.Segment
|
|
706
|
42894
|
27892
-
27915
|
Apply
|
enumeratum.values.ValueEnum.withValueOpt
|
org.make.api.user.adminuserapitest
|
stringEnum.withValueOpt(i)
|
|
718
|
48079
|
28282
-
28319
|
Apply
|
akka.http.scaladsl.server.directives.HeaderDirectives.optionalHeaderValueByName
|
org.make.api.user.adminuserapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.optionalHeaderValueByName(headerName)
|
|
718
|
49700
|
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]])
|
|
718
|
36415
|
28324
-
28324
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
org.make.api.user.adminuserapitest
|
util.this.Tupler.forAnyRef[Option[String]]
|
|
719
|
40821
|
28349
-
28353
|
Select
|
scala.None
|
|
scala.None
|
|
725
|
41302
|
28497
-
28542
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptyHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.optionalNonEmptyHeaderValueByName(headerName)
|
|
725
|
33723
|
28557
-
28565
|
Apply
|
org.make.api.technical.MakeDirectives.sanitize
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.sanitize(value)
|
|
725
|
34802
|
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
|
46785
|
28547
-
28566
|
Apply
|
scala.Option.flatMap
|
org.make.api.user.adminuserapitest
|
x$43.flatMap[String](((value: String) => MakeDirectives.this.sanitize(value)))
|
|
725
|
42930
|
28546
-
28546
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
org.make.api.user.adminuserapitest
|
util.this.Tupler.forAnyRef[Option[String]]
|
|
728
|
41345
|
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
|
47834
|
28664
-
28709
|
Apply
|
org.make.api.technical.MakeDirectives.optionalNonEmptyHeaderValueByName
|
org.make.api.user.adminuserapitest
|
MakeDirectives.this.optionalNonEmptyHeaderValueByName(headerName)
|
|
728
|
49451
|
28713
-
28713
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
org.make.api.user.adminuserapitest
|
util.this.Tupler.forAnyRef[Option[String]]
|
|
728
|
36456
|
28714
-
28728
|
Apply
|
scala.Option.flatMap
|
org.make.api.user.adminuserapitest
|
x$44.flatMap[String](((value: String) => MakeDirectives.this.url(value)))
|
|
728
|
39707
|
28724
-
28727
|
Apply
|
org.make.api.technical.MakeDirectives.url
|
org.make.api.technical.makedirectivestest
|
MakeDirectives.this.url(value)
|
|
730
|
33467
|
28778
-
28807
|
Apply
|
java.net.URI.toURL
|
org.make.api.technical.makedirectivestest
|
new java.net.URI(value).toURL()
|
|
730
|
46229
|
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
|
34570
|
28955
-
28964
|
Apply
|
java.lang.String.isEmpty
|
org.make.api.technical.makedirectivestest
|
x$46.isEmpty()
|
|
733
|
42973
|
28892
-
28943
|
Apply
|
scala.collection.StringOps.take
|
org.make.api.technical.makedirectivestest
|
scala.Predef.augmentString(value.replaceAll("[^a-zA-Z0-9/#_ -]", "")).take(100)
|
|
733
|
47874
|
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()))
|
|
749
|
40771
|
29636
-
29640
|
Literal
|
<nosymbol>
|
|
true
|
|
750
|
31861
|
29685
-
29689
|
Literal
|
<nosymbol>
|
|
true
|
|
754
|
48961
|
29800
-
29814
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-request-id"
|
|
755
|
34280
|
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
|
41107
|
29882
-
29907
|
Apply
|
org.make.api.technical.X-Request-Id.<init>
|
org.make.api.user.adminuserapitest
|
new X-Request-Id(value)
|
|
759
|
46264
|
30061
-
30065
|
Literal
|
<nosymbol>
|
|
true
|
|
760
|
43428
|
30110
-
30114
|
Literal
|
<nosymbol>
|
|
true
|
|
765
|
34605
|
30313
-
30327
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-route-name"
|
|
766
|
47625
|
30395
-
30420
|
Apply
|
org.make.api.technical.X-Route-Name.<init>
|
org.make.api.user.adminuserapitest
|
new X-Route-Name(value)
|
|
766
|
40810
|
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
|
31893
|
30662
-
30666
|
Literal
|
<nosymbol>
|
|
true
|
|
772
|
49406
|
30711
-
30715
|
Literal
|
<nosymbol>
|
|
true
|
|
776
|
41143
|
30826
-
30840
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-route-time"
|
|
778
|
34313
|
30912
-
30977
|
Apply
|
scala.NotImplementedError.<init>
|
|
new scala.NotImplementedError("Please use the apply from long instead")
|
|
778
|
47326
|
30904
-
30978
|
Apply
|
scala.util.Failure.apply
|
|
scala.util.Failure.apply[Nothing](new scala.NotImplementedError("Please use the apply from long instead"))
|
|
780
|
42922
|
31056
-
31110
|
Apply
|
scala.Any.toString
|
org.make.api.user.adminuserapitest
|
java.lang.System.currentTimeMillis().-(startTimeMillis).toString()
|
|
780
|
35054
|
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())
|
|
785
|
48432
|
31376
-
31380
|
Literal
|
<nosymbol>
|
|
true
|
|
786
|
40847
|
31425
-
31429
|
Literal
|
<nosymbol>
|
|
true
|
|
790
|
32965
|
31552
-
31572
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-make-external-id"
|
|
792
|
49443
|
31647
-
31678
|
Apply
|
org.make.api.technical.X-Make-External-Id.<init>
|
org.make.api.user.adminuserapitest
|
new X-Make-External-Id(value)
|
|
792
|
41591
|
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))
|
|
798
|
34084
|
31964
-
31968
|
Literal
|
<nosymbol>
|
|
true
|
|
799
|
47362
|
32013
-
32017
|
Literal
|
<nosymbol>
|
|
true
|
|
803
|
38968
|
32148
-
32172
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-content-type-options"
|
|
805
|
47866
|
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
|
35092
|
32251
-
32286
|
Apply
|
org.make.api.technical.X-Content-Type-Options.<init>
|
org.make.api.user.adminuserapitest
|
new X-Content-Type-Options(value)
|
|
811
|
40598
|
32584
-
32588
|
Literal
|
<nosymbol>
|
|
true
|
|
812
|
32454
|
32633
-
32637
|
Literal
|
<nosymbol>
|
|
true
|
|
816
|
49197
|
32774
-
32801
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"strict-transport-security"
|
|
818
|
41628
|
32883
-
32921
|
Apply
|
org.make.api.technical.Strict-Transport-Security.<init>
|
org.make.api.user.adminuserapitest
|
new Strict-Transport-Security(value)
|
|
818
|
33499
|
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
|
47110
|
33211
-
33215
|
Literal
|
<nosymbol>
|
|
true
|
|
825
|
39005
|
33260
-
33264
|
Literal
|
<nosymbol>
|
|
true
|
|
829
|
34848
|
33397
-
33422
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"content-security-policy"
|
|
831
|
40027
|
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))
|
|
831
|
47614
|
33502
-
33538
|
Apply
|
org.make.api.technical.Content-Security-Policy.<init>
|
org.make.api.user.adminuserapitest
|
new Content-Security-Policy(value)
|
|
838
|
41132
|
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
|
32214
|
33822
-
33833
|
TypeApply
|
scala.collection.IterableOnceOps.toSet
|
|
roles.toSet[org.make.core.user.Role]
|
|
838
|
45534
|
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
|
38763
|
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
|
33251
|
33932
-
33944
|
Select
|
org.make.core.user.Role.RoleOperator
|
org.make.api.demographics.admindemographicscardapitest
|
org.make.core.user.Role.RoleOperator
|
|
842
|
47317
|
33946
-
33960
|
Select
|
org.make.core.user.Role.RoleSuperAdmin
|
org.make.api.demographics.admindemographicscardapitest
|
org.make.core.user.Role.RoleSuperAdmin
|
|
846
|
47652
|
34066
-
34075
|
Select
|
org.make.core.user.Role.RoleAdmin
|
org.make.api.technical.tracking.trackingapitest
|
org.make.core.user.Role.RoleAdmin
|
|
846
|
32956
|
34091
-
34105
|
Select
|
org.make.core.user.Role.RoleSuperAdmin
|
org.make.api.technical.tracking.trackingapitest
|
org.make.core.user.Role.RoleSuperAdmin
|
|
846
|
45566
|
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)
|
|
846
|
34883
|
34051
-
34064
|
Select
|
org.make.core.user.Role.RoleModerator
|
org.make.api.technical.tracking.trackingapitest
|
org.make.core.user.Role.RoleModerator
|
|
846
|
39784
|
34077
-
34089
|
Select
|
org.make.core.user.Role.RoleOperator
|
org.make.api.technical.tracking.trackingapitest
|
org.make.core.user.Role.RoleOperator
|
|
850
|
35695
|
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
|
47065
|
34263
-
34324
|
Apply
|
scala.collection.IterableOnceOps.forall
|
|
questionIds.iterator.forall(((elem: Any) => user.availableQuestions.contains[Any](elem)))
|
|
850
|
33289
|
34291
-
34323
|
Apply
|
scala.collection.SeqOps.contains
|
|
user.availableQuestions.contains[Any](elem)
|
|
850
|
42183
|
34249
-
34258
|
Select
|
org.make.core.user.Role.RoleAdmin
|
|
org.make.core.user.Role.RoleAdmin
|
|
850
|
39494
|
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))))
|
|
854
|
46030
|
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
|
40587
|
34421
-
34433
|
Select
|
org.make.core.user.Role.RoleOperator
|
org.make.api.user.adminuserapitest
|
org.make.core.user.Role.RoleOperator
|
|
854
|
48708
|
34410
-
34419
|
Select
|
org.make.core.user.Role.RoleAdmin
|
org.make.api.user.adminuserapitest
|
org.make.core.user.Role.RoleAdmin
|
|
854
|
32702
|
34435
-
34449
|
Select
|
org.make.core.user.Role.RoleSuperAdmin
|
org.make.api.user.adminuserapitest
|
org.make.core.user.Role.RoleSuperAdmin
|
|
858
|
42222
|
34540
-
34554
|
Select
|
org.make.core.user.Role.RoleSuperAdmin
|
org.make.api.user.adminuserapitest
|
org.make.core.user.Role.RoleSuperAdmin
|
|
858
|
34362
|
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
|
45568
|
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
|
46859
|
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
|
39289
|
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)
|
|
862
|
33860
|
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
|
41378
|
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
|
|
863
|
47101
|
34636
-
34667
|
Select
|
org.make.api.extensions.MakeSettings.SessionCookie.name
|
org.make.api.technical.auth.authenticationapitest
|
MakeAuthenticationDirectives.this.makeSettings.SessionCookie.name
|
|
864
|
39533
|
34683
-
34716
|
Select
|
org.make.core.session.SessionId.value
|
org.make.api.technical.auth.authenticationapitest
|
MakeAuthenticationDirectives.this.idGenerator.nextSessionId().value
|
|
865
|
31107
|
34733
-
34768
|
Select
|
org.make.api.extensions.MakeSettings.SessionCookie.isSecure
|
org.make.api.technical.auth.authenticationapitest
|
MakeAuthenticationDirectives.this.makeSettings.SessionCookie.isSecure
|
|
866
|
48747
|
34787
-
34791
|
Literal
|
<nosymbol>
|
org.make.api.technical.auth.authenticationapitest
|
true
|
|
867
|
32743
|
34808
-
34859
|
Apply
|
scala.Some.apply
|
org.make.api.technical.auth.authenticationapitest
|
scala.Some.apply[Long](MakeAuthenticationDirectives.this.makeSettings.SessionCookie.lifetime.toSeconds)
|
|
867
|
40341
|
34813
-
34858
|
Select
|
scala.concurrent.duration.Duration.toSeconds
|
org.make.api.technical.auth.authenticationapitest
|
MakeAuthenticationDirectives.this.makeSettings.SessionCookie.lifetime.toSeconds
|
|
868
|
45522
|
34874
-
34883
|
Apply
|
scala.Some.apply
|
org.make.api.technical.auth.authenticationapitest
|
scala.Some.apply[String]("/")
|
|
869
|
47911
|
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
|
31142
|
34903
-
34918
|
Select
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
|
870
|
39822
|
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
|
32536
|
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
|
|
870
|
47952
|
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
|
45311
|
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)
|
|
871
|
40378
|
34950
-
34991
|
Select
|
org.make.api.extensions.MakeSettings.SessionCookie.expirationName
|
org.make.api.technical.auth.authenticationapitest
|
MakeAuthenticationDirectives.this.makeSettings.SessionCookie.expirationName
|
|
873
|
32779
|
35063
-
35108
|
Select
|
scala.concurrent.duration.Duration.toSeconds
|
org.make.api.technical.auth.authenticationapitest
|
MakeAuthenticationDirectives.this.makeSettings.SessionCookie.lifetime.toSeconds
|
|
873
|
37700
|
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
|
45272
|
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
|
34312
|
35127
-
35162
|
Select
|
org.make.api.extensions.MakeSettings.SessionCookie.isSecure
|
org.make.api.technical.auth.authenticationapitest
|
MakeAuthenticationDirectives.this.makeSettings.SessionCookie.isSecure
|
|
875
|
46892
|
35181
-
35186
|
Literal
|
<nosymbol>
|
org.make.api.technical.auth.authenticationapitest
|
false
|
|
876
|
38789
|
35203
-
35207
|
Select
|
scala.None
|
org.make.api.technical.auth.authenticationapitest
|
scala.None
|
|
877
|
30895
|
35222
-
35231
|
Apply
|
scala.Some.apply
|
org.make.api.technical.auth.authenticationapitest
|
scala.Some.apply[String]("/")
|
|
878
|
37459
|
35251
-
35266
|
Select
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
|
878
|
34350
|
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)
|
|
879
|
45068
|
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
|
|
879
|
34388
|
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
|
37494
|
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
|
47398
|
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)
|
|
880
|
46344
|
35298
-
35328
|
Select
|
org.make.api.extensions.MakeSettings.SecureCookie.name
|
org.make.api.technical.auth.authenticationapitest
|
MakeAuthenticationDirectives.this.makeSettings.SecureCookie.name
|
|
881
|
38541
|
35344
-
35346
|
Literal
|
<nosymbol>
|
org.make.api.technical.auth.authenticationapitest
|
""
|
|
882
|
30933
|
35363
-
35397
|
Select
|
org.make.api.extensions.MakeSettings.SecureCookie.isSecure
|
org.make.api.technical.auth.authenticationapitest
|
MakeAuthenticationDirectives.this.makeSettings.SecureCookie.isSecure
|
|
883
|
48464
|
35416
-
35420
|
Literal
|
<nosymbol>
|
org.make.api.technical.auth.authenticationapitest
|
true
|
|
884
|
40884
|
35437
-
35444
|
Apply
|
scala.Some.apply
|
org.make.api.technical.auth.authenticationapitest
|
scala.Some.apply[Long](0L)
|
|
885
|
32733
|
35459
-
35468
|
Apply
|
scala.Some.apply
|
org.make.api.technical.auth.authenticationapitest
|
scala.Some.apply[String]("/")
|
|
886
|
30686
|
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)
|
|
886
|
39282
|
35488
-
35503
|
Select
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
|
887
|
39042
|
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
|
46882
|
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
|
|
887
|
31441
|
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
|
44821
|
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)
|
|
888
|
44784
|
35535
-
35575
|
Select
|
org.make.api.extensions.MakeSettings.SecureCookie.expirationName
|
org.make.api.technical.auth.authenticationapitest
|
MakeAuthenticationDirectives.this.makeSettings.SecureCookie.expirationName
|
|
889
|
40922
|
35591
-
35593
|
Literal
|
<nosymbol>
|
org.make.api.technical.auth.authenticationapitest
|
""
|
|
890
|
32493
|
35610
-
35644
|
Select
|
org.make.api.extensions.MakeSettings.SecureCookie.isSecure
|
org.make.api.technical.auth.authenticationapitest
|
MakeAuthenticationDirectives.this.makeSettings.SecureCookie.isSecure
|
|
891
|
45813
|
35663
-
35668
|
Literal
|
<nosymbol>
|
org.make.api.technical.auth.authenticationapitest
|
false
|
|
892
|
38298
|
35685
-
35692
|
Apply
|
scala.Some.apply
|
org.make.api.technical.auth.authenticationapitest
|
scala.Some.apply[Long](0L)
|
|
893
|
34145
|
35707
-
35716
|
Apply
|
scala.Some.apply
|
org.make.api.technical.auth.authenticationapitest
|
scala.Some.apply[String]("/")
|
|
894
|
32526
|
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
|
40669
|
35736
-
35751
|
Select
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
org.make.api.technical.auth.authenticationapitest
|
akka.http.scaladsl.model.headers.SameSite.Strict
|
|
910
|
37447
|
36277
-
36281
|
Literal
|
<nosymbol>
|
|
true
|
|
911
|
34180
|
36326
-
36331
|
Literal
|
<nosymbol>
|
|
false
|
|
915
|
46646
|
36450
-
36468
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-make-operation"
|
|
916
|
30922
|
36532
-
36570
|
Apply
|
scala.util.Success.apply
|
|
scala.util.Success.apply[org.make.api.technical.X-Make-Operation](new X-Make-Operation(value))
|
|
916
|
39076
|
36540
-
36569
|
Apply
|
org.make.api.technical.X-Make-Operation.<init>
|
|
new X-Make-Operation(value)
|
|
921
|
43984
|
36815
-
36819
|
Literal
|
<nosymbol>
|
|
true
|
|
922
|
40156
|
36864
-
36869
|
Literal
|
<nosymbol>
|
|
false
|
|
926
|
32286
|
36982
-
36997
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-make-source"
|
|
927
|
45603
|
37066
-
37092
|
Apply
|
org.make.api.technical.X-Make-Source.<init>
|
|
new X-Make-Source(value)
|
|
927
|
37484
|
37058
-
37093
|
Apply
|
scala.util.Success.apply
|
|
scala.util.Success.apply[org.make.api.technical.X-Make-Source](new X-Make-Source(value))
|
|
932
|
50519
|
37346
-
37350
|
Literal
|
<nosymbol>
|
|
true
|
|
933
|
46684
|
37395
-
37400
|
Literal
|
<nosymbol>
|
|
false
|
|
937
|
38833
|
37517
-
37534
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-make-location"
|
|
938
|
30675
|
37605
-
37633
|
Apply
|
org.make.api.technical.X-Make-Location.<init>
|
|
new X-Make-Location(value)
|
|
938
|
44016
|
37597
-
37634
|
Apply
|
scala.util.Success.apply
|
|
scala.util.Success.apply[org.make.api.technical.X-Make-Location](new X-Make-Location(value))
|
|
943
|
40621
|
37887
-
37891
|
Literal
|
<nosymbol>
|
|
true
|
|
944
|
32317
|
37936
-
37941
|
Literal
|
<nosymbol>
|
|
false
|
|
948
|
45093
|
38058
-
38075
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-make-question"
|
|
949
|
37238
|
38146
-
38174
|
Apply
|
org.make.api.technical.X-Make-Question.<init>
|
|
new X-Make-Question(value)
|
|
949
|
51317
|
38138
-
38175
|
Apply
|
scala.util.Success.apply
|
|
scala.util.Success.apply[org.make.api.technical.X-Make-Question](new X-Make-Question(value))
|
|
955
|
47137
|
38452
-
38456
|
Literal
|
<nosymbol>
|
|
true
|
|
956
|
38869
|
38501
-
38506
|
Literal
|
<nosymbol>
|
|
false
|
|
960
|
30710
|
38633
-
38655
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-make-question-slug"
|
|
961
|
36968
|
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
|
43771
|
38731
-
38764
|
Apply
|
org.make.api.technical.X-Make-Question-Slug.<init>
|
|
new X-Make-Question-Slug(value)
|
|
966
|
33074
|
39018
-
39022
|
Literal
|
<nosymbol>
|
|
true
|
|
967
|
46159
|
39067
-
39072
|
Literal
|
<nosymbol>
|
|
false
|
|
971
|
37278
|
39189
-
39206
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-make-language"
|
|
972
|
47179
|
39269
-
39306
|
Apply
|
scala.util.Success.apply
|
|
scala.util.Success.apply[org.make.api.technical.X-Make-Language](new X-Make-Language(value))
|
|
972
|
51072
|
39277
-
39305
|
Apply
|
org.make.api.technical.X-Make-Language.<init>
|
|
new X-Make-Language(value)
|
|
978
|
39068
|
39599
-
39603
|
Literal
|
<nosymbol>
|
|
true
|
|
979
|
31790
|
39648
-
39653
|
Literal
|
<nosymbol>
|
|
false
|
|
983
|
43809
|
39788
-
39814
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-make-question-language"
|
|
984
|
36726
|
39894
-
39931
|
Apply
|
org.make.api.technical.X-Make-Question-Language.<init>
|
|
new X-Make-Question-Language(value)
|
|
984
|
32820
|
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
|
45595
|
40225
-
40229
|
Literal
|
<nosymbol>
|
|
true
|
|
991
|
37040
|
40274
-
40279
|
Literal
|
<nosymbol>
|
|
false
|
|
995
|
51108
|
40414
-
40440
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-make-proposal-language"
|
|
996
|
47214
|
40520
-
40557
|
Apply
|
org.make.api.technical.X-Make-Proposal-Language.<init>
|
|
new X-Make-Proposal-Language(value)
|
|
996
|
38822
|
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
|
31216
|
40843
-
40847
|
Literal
|
<nosymbol>
|
|
true
|
|
1003
|
44330
|
40892
-
40897
|
Literal
|
<nosymbol>
|
|
false
|
|
1007
|
36763
|
41028
-
41052
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-make-client-language"
|
|
1008
|
32306
|
41130
-
41165
|
Apply
|
org.make.api.technical.X-Make-Client-Language.<init>
|
|
new X-Make-Client-Language(value)
|
|
1008
|
45347
|
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))
|
|
1013
|
37771
|
41415
-
41419
|
Literal
|
<nosymbol>
|
|
true
|
|
1014
|
51142
|
41464
-
41469
|
Literal
|
<nosymbol>
|
|
false
|
|
1018
|
43285
|
41584
-
41600
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-make-country"
|
|
1019
|
30972
|
41662
-
41698
|
Apply
|
scala.util.Success.apply
|
|
scala.util.Success.apply[org.make.api.technical.X-Make-Country](new X-Make-Country(value))
|
|
1019
|
38860
|
41670
-
41697
|
Apply
|
org.make.api.technical.X-Make-Country.<init>
|
|
new X-Make-Country(value)
|
|
1024
|
43760
|
41963
-
41967
|
Literal
|
<nosymbol>
|
|
true
|
|
1025
|
36798
|
42012
-
42017
|
Literal
|
<nosymbol>
|
|
false
|
|
1029
|
32071
|
42140
-
42160
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-detected-country"
|
|
1030
|
38297
|
42226
-
42266
|
Apply
|
scala.util.Success.apply
|
|
scala.util.Success.apply[org.make.api.technical.X-Detected-Country](new X-Detected-Country(value))
|
|
1030
|
45387
|
42234
-
42265
|
Apply
|
org.make.api.technical.X-Detected-Country.<init>
|
|
new X-Detected-Country(value)
|
|
1035
|
50303
|
42499
-
42503
|
Literal
|
<nosymbol>
|
|
true
|
|
1036
|
42776
|
42548
-
42553
|
Literal
|
<nosymbol>
|
|
false
|
|
1040
|
38616
|
42660
-
42672
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-hostname"
|
|
1041
|
31006
|
42738
-
42761
|
Apply
|
org.make.api.technical.X-Hostname.<init>
|
|
new X-Hostname(value)
|
|
1041
|
43798
|
42730
-
42762
|
Apply
|
scala.util.Success.apply
|
|
scala.util.Success.apply[org.make.api.technical.X-Hostname](new X-Hostname(value))
|
|
1046
|
35953
|
43019
-
43023
|
Literal
|
<nosymbol>
|
|
true
|
|
1047
|
32105
|
43068
-
43073
|
Literal
|
<nosymbol>
|
|
false
|
|
1051
|
45135
|
43192
-
43210
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-get-parameters"
|
|
1052
|
38332
|
43282
-
43311
|
Apply
|
org.make.api.technical.X-Get-Parameters.<init>
|
org.make.api.technical.makedirectivestest
|
new X-Get-Parameters(value)
|
|
1052
|
50341
|
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
|
43237
|
43553
-
43557
|
Literal
|
<nosymbol>
|
|
true
|
|
1058
|
38649
|
43602
-
43606
|
Literal
|
<nosymbol>
|
|
true
|
|
1062
|
31548
|
43717
-
43731
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-session-id"
|
|
1063
|
36754
|
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))
|
|
1063
|
44852
|
43799
-
43824
|
Apply
|
org.make.api.technical.X-Session-Id.<init>
|
org.make.api.user.adminuserapitest
|
new X-Session-Id(value)
|
|
1071
|
49766
|
44119
-
44124
|
Literal
|
<nosymbol>
|
|
false
|
|
1072
|
45172
|
44169
-
44173
|
Literal
|
<nosymbol>
|
|
true
|
|
1076
|
37063
|
44306
-
44331
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-session-id-expiration"
|
|
1077
|
50091
|
44410
-
44446
|
Apply
|
org.make.api.technical.X-Session-Id-Expiration.<init>
|
org.make.api.user.adminuserapitest
|
new X-Session-Id-Expiration(value)
|
|
1077
|
43277
|
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))
|
|
1082
|
39108
|
44692
-
44696
|
Literal
|
<nosymbol>
|
|
true
|
|
1083
|
31579
|
44741
-
44745
|
Literal
|
<nosymbol>
|
|
true
|
|
1087
|
43588
|
44849
-
44864
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-total-count"
|
|
1088
|
49807
|
44916
-
44951
|
Apply
|
scala.util.Success.apply
|
|
scala.util.Success.apply[org.make.api.technical.X-Total-Count](new X-Total-Count(value))
|
|
1088
|
36521
|
44924
-
44950
|
Apply
|
org.make.api.technical.X-Total-Count.<init>
|
|
new X-Total-Count(value)
|
|
1093
|
45378
|
45192
-
45196
|
Literal
|
<nosymbol>
|
|
true
|
|
1094
|
38128
|
45241
-
45245
|
Literal
|
<nosymbol>
|
|
true
|
|
1098
|
50128
|
45356
-
45370
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-visitor-id"
|
|
1099
|
43034
|
45438
-
45463
|
Apply
|
org.make.api.technical.X-Visitor-Id.<init>
|
org.make.api.user.adminuserapitest
|
new X-Visitor-Id(value)
|
|
1099
|
35448
|
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))
|
|
1104
|
30999
|
45733
-
45737
|
Literal
|
<nosymbol>
|
|
true
|
|
1105
|
44649
|
45782
-
45786
|
Literal
|
<nosymbol>
|
|
true
|
|
1109
|
36557
|
45911
-
45933
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-visitor-created-at"
|
|
1110
|
49553
|
46008
-
46040
|
Apply
|
org.make.api.technical.X-Visitor-CreatedAt.<init>
|
org.make.api.user.adminuserapitest
|
new X-Visitor-CreatedAt(value)
|
|
1110
|
45123
|
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
|
37557
|
46306
-
46310
|
Literal
|
<nosymbol>
|
|
true
|
|
1116
|
50660
|
46355
-
46360
|
Literal
|
<nosymbol>
|
|
false
|
|
1120
|
43071
|
46483
-
46503
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-make-question-id"
|
|
1121
|
34939
|
46577
-
46608
|
Apply
|
org.make.api.technical.X-Make-Question-Id.<init>
|
|
new X-Make-Question-Id(value)
|
|
1121
|
30749
|
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))
|
|
1126
|
44094
|
46862
-
46866
|
Literal
|
<nosymbol>
|
|
true
|
|
1127
|
36318
|
46911
-
46916
|
Literal
|
<nosymbol>
|
|
false
|
|
1131
|
49589
|
47033
-
47050
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-make-app-name"
|
|
1132
|
45160
|
47121
-
47149
|
Apply
|
org.make.api.technical.X-Make-App-Name.<init>
|
org.make.api.technical.makedirectivestest
|
new X-Make-App-Name(value)
|
|
1132
|
37312
|
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
|
51387
|
47403
-
47407
|
Literal
|
<nosymbol>
|
|
true
|
|
1138
|
42820
|
47452
-
47457
|
Literal
|
<nosymbol>
|
|
false
|
|
1142
|
34707
|
47574
-
47591
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-make-referrer"
|
|
1143
|
30785
|
47662
-
47690
|
Apply
|
org.make.api.technical.X-Make-Referrer.<init>
|
|
new X-Make-Referrer(value)
|
|
1143
|
44604
|
47654
-
47691
|
Apply
|
scala.util.Success.apply
|
|
scala.util.Success.apply[org.make.api.technical.X-Make-Referrer](new X-Make-Referrer(value))
|
|
1148
|
37031
|
47956
-
47960
|
Literal
|
<nosymbol>
|
|
true
|
|
1149
|
49092
|
48005
-
48010
|
Literal
|
<nosymbol>
|
|
false
|
|
1153
|
41239
|
48133
-
48153
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"x-make-custom-data"
|
|
1154
|
37352
|
48227
-
48258
|
Apply
|
org.make.api.technical.X-Make-Custom-Data.<init>
|
org.make.api.technical.makedirectivestest
|
new X-Make-Custom-Data(value)
|
|
1154
|
51145
|
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))
|