| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
141
|
38874
|
6904
-
6956
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.sequence.sequenceapitest
|
SequenceApi.this._enhanceRouteWithConcatenation(SequenceApi.this.startStandardSequence).~(SequenceApi.this.startConsensusSequence)
|
|
141
|
51181
|
6904
-
6925
|
Select
|
org.make.api.sequence.SequenceApi.startStandardSequence
|
org.make.api.sequence.sequenceapitest
|
SequenceApi.this.startStandardSequence
|
|
142
|
42756
|
6934
-
6956
|
Select
|
org.make.api.sequence.SequenceApi.startConsensusSequence
|
org.make.api.sequence.sequenceapitest
|
SequenceApi.this.startConsensusSequence
|
|
142
|
44391
|
6904
-
6989
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.sequence.sequenceapitest
|
SequenceApi.this._enhanceRouteWithConcatenation(SequenceApi.this._enhanceRouteWithConcatenation(SequenceApi.this.startStandardSequence).~(SequenceApi.this.startConsensusSequence)).~(SequenceApi.this.startControversySequence)
|
|
143
|
49294
|
6904
-
7018
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.sequence.sequenceapitest
|
SequenceApi.this._enhanceRouteWithConcatenation(SequenceApi.this._enhanceRouteWithConcatenation(SequenceApi.this._enhanceRouteWithConcatenation(SequenceApi.this.startStandardSequence).~(SequenceApi.this.startConsensusSequence)).~(SequenceApi.this.startControversySequence)).~(SequenceApi.this.startKeywordSequence)
|
|
143
|
31742
|
6965
-
6989
|
Select
|
org.make.api.sequence.SequenceApi.startControversySequence
|
org.make.api.sequence.sequenceapitest
|
SequenceApi.this.startControversySequence
|
|
144
|
38306
|
6904
-
7051
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.sequence.sequenceapitest
|
SequenceApi.this._enhanceRouteWithConcatenation(SequenceApi.this._enhanceRouteWithConcatenation(SequenceApi.this._enhanceRouteWithConcatenation(SequenceApi.this._enhanceRouteWithConcatenation(SequenceApi.this.startStandardSequence).~(SequenceApi.this.startConsensusSequence)).~(SequenceApi.this.startControversySequence)).~(SequenceApi.this.startKeywordSequence)).~(SequenceApi.this.getStandardFirstProposal)
|
|
144
|
36272
|
6998
-
7018
|
Select
|
org.make.api.sequence.SequenceApi.startKeywordSequence
|
org.make.api.sequence.sequenceapitest
|
SequenceApi.this.startKeywordSequence
|
|
145
|
42791
|
6904
-
7087
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.sequence.sequenceapitest
|
SequenceApi.this._enhanceRouteWithConcatenation(SequenceApi.this._enhanceRouteWithConcatenation(SequenceApi.this._enhanceRouteWithConcatenation(SequenceApi.this._enhanceRouteWithConcatenation(SequenceApi.this._enhanceRouteWithConcatenation(SequenceApi.this.startStandardSequence).~(SequenceApi.this.startConsensusSequence)).~(SequenceApi.this.startControversySequence)).~(SequenceApi.this.startKeywordSequence)).~(SequenceApi.this.getStandardFirstProposal)).~(SequenceApi.this.getControversyFirstProposal)
|
|
145
|
46176
|
7027
-
7051
|
Select
|
org.make.api.sequence.SequenceApi.getStandardFirstProposal
|
org.make.api.sequence.sequenceapitest
|
SequenceApi.this.getStandardFirstProposal
|
|
146
|
50943
|
7060
-
7087
|
Select
|
org.make.api.sequence.SequenceApi.getControversyFirstProposal
|
org.make.api.sequence.sequenceapitest
|
SequenceApi.this.getControversyFirstProposal
|
|
146
|
31778
|
6904
-
7121
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.sequence.sequenceapitest
|
SequenceApi.this._enhanceRouteWithConcatenation(SequenceApi.this._enhanceRouteWithConcatenation(SequenceApi.this._enhanceRouteWithConcatenation(SequenceApi.this._enhanceRouteWithConcatenation(SequenceApi.this._enhanceRouteWithConcatenation(SequenceApi.this._enhanceRouteWithConcatenation(SequenceApi.this.startStandardSequence).~(SequenceApi.this.startConsensusSequence)).~(SequenceApi.this.startControversySequence)).~(SequenceApi.this.startKeywordSequence)).~(SequenceApi.this.getStandardFirstProposal)).~(SequenceApi.this.getControversyFirstProposal)).~(SequenceApi.this.getConsensusFirstProposal)
|
|
147
|
38627
|
7096
-
7121
|
Select
|
org.make.api.sequence.SequenceApi.getConsensusFirstProposal
|
org.make.api.sequence.sequenceapitest
|
SequenceApi.this.getConsensusFirstProposal
|
|
164
|
49329
|
7681
-
7710
|
Apply
|
akka.http.scaladsl.server.PathMatcher.PathMatcher1Ops.map
|
org.make.api.sequence.sequenceapitest
|
server.this.PathMatcher.PathMatcher1Ops[String](DefaultSequenceApi.this.Segment).map[org.make.core.question.QuestionId](((value: String) => org.make.core.question.QuestionId.apply(value)))
|
|
164
|
36024
|
7693
-
7709
|
Apply
|
org.make.core.question.QuestionId.apply
|
org.make.api.sequence.sequenceapitest
|
org.make.core.question.QuestionId.apply(value)
|
|
164
|
43825
|
7681
-
7688
|
Select
|
akka.http.scaladsl.server.PathMatchers.Segment
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.Segment
|
|
165
|
45941
|
7774
-
7781
|
Select
|
akka.http.scaladsl.server.PathMatchers.Segment
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.Segment
|
|
165
|
51136
|
7774
-
7811
|
Apply
|
akka.http.scaladsl.server.PathMatcher.PathMatcher1Ops.map
|
org.make.api.sequence.sequenceapitest
|
server.this.PathMatcher.PathMatcher1Ops[String](DefaultSequenceApi.this.Segment).map[org.make.core.proposal.ProposalKeywordKey](((value: String) => org.make.core.proposal.ProposalKeywordKey.apply(value)))
|
|
165
|
38345
|
7786
-
7810
|
Apply
|
org.make.core.proposal.ProposalKeywordKey.apply
|
org.make.api.sequence.sequenceapitest
|
org.make.core.proposal.ProposalKeywordKey.apply(value)
|
|
167
|
42549
|
7861
-
7864
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.get
|
|
167
|
34694
|
7861
-
9345
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addByNameNullaryApply(DefaultSequenceApi.this.get).apply(server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.path[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this._segmentStringToPathMatcher("sequences")./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("standard"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])))(util.this.ApplyConverter.hac1[org.make.core.question.QuestionId]).apply(((questionId: org.make.core.question.QuestionId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultSequenceApiComponent.this.makeOperation("StartStandardSequence", DefaultSequenceApiComponent.this.makeOperation$default$2, DefaultSequenceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((userAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language])](DefaultSequenceApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("include").csv[org.make.core.proposal.ProposalId])(DefaultSequenceApi.this.proposalIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultSequenceApi.this._string2NR("token").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac4[Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language]]).apply(((includes: Option[Seq[org.make.core.proposal.ProposalId]], cardId: Option[org.make.core.demographics.DemographicsCardId], token: Option[String], preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.SequenceResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: Unit = ();
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$1: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$1.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[Unit](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.standard)
}).asDirective)(util.this.ApplyConverter.hac1[org.make.api.sequence.SequenceResult]).apply(((x$2: org.make.api.sequence.SequenceResult) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.SequenceResult](x$2)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.SequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.SequenceResult](sequence.this.SequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult])))))))))))))))))
|
|
168
|
45974
|
7878
-
7915
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._segmentStringToPathMatcher("sequences")./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("standard"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])
|
|
168
|
44879
|
7890
-
7890
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.sequence.sequenceapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
168
|
37073
|
7873
-
7916
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.path[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this._segmentStringToPathMatcher("sequences")./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("standard"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)]))
|
|
168
|
36759
|
7905
-
7915
|
Select
|
org.make.api.sequence.DefaultSequenceApiComponent.DefaultSequenceApi.questionId
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.questionId
|
|
168
|
42827
|
7873
-
9339
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.path[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this._segmentStringToPathMatcher("sequences")./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("standard"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])))(util.this.ApplyConverter.hac1[org.make.core.question.QuestionId]).apply(((questionId: org.make.core.question.QuestionId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultSequenceApiComponent.this.makeOperation("StartStandardSequence", DefaultSequenceApiComponent.this.makeOperation$default$2, DefaultSequenceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((userAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language])](DefaultSequenceApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("include").csv[org.make.core.proposal.ProposalId])(DefaultSequenceApi.this.proposalIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultSequenceApi.this._string2NR("token").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac4[Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language]]).apply(((includes: Option[Seq[org.make.core.proposal.ProposalId]], cardId: Option[org.make.core.demographics.DemographicsCardId], token: Option[String], preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.SequenceResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: Unit = ();
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$1: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$1.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[Unit](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.standard)
}).asDirective)(util.this.ApplyConverter.hac1[org.make.api.sequence.SequenceResult]).apply(((x$2: org.make.api.sequence.SequenceResult) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.SequenceResult](x$2)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.SequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.SequenceResult](sequence.this.SequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult]))))))))))))))))
|
|
168
|
31543
|
7892
-
7902
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._segmentStringToPathMatcher("standard")
|
|
168
|
49097
|
7903
-
7903
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.sequence.sequenceapitest
|
TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)]
|
|
168
|
35732
|
7878
-
7889
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"sequences"
|
|
168
|
50897
|
7877
-
7877
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.core.question.QuestionId]
|
|
169
|
35477
|
7941
-
7941
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation$default$2
|
|
169
|
43294
|
7955
-
7978
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"StartStandardSequence"
|
|
169
|
44379
|
7941
-
7979
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation("StartStandardSequence", DefaultSequenceApiComponent.this.makeOperation$default$2, DefaultSequenceApiComponent.this.makeOperation$default$3)
|
|
169
|
31576
|
7941
-
7941
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation$default$3
|
|
169
|
36525
|
7954
-
7954
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
169
|
50721
|
7941
-
9331
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultSequenceApiComponent.this.makeOperation("StartStandardSequence", DefaultSequenceApiComponent.this.makeOperation$default$2, DefaultSequenceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((userAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language])](DefaultSequenceApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("include").csv[org.make.core.proposal.ProposalId])(DefaultSequenceApi.this.proposalIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultSequenceApi.this._string2NR("token").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac4[Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language]]).apply(((includes: Option[Seq[org.make.core.proposal.ProposalId]], cardId: Option[org.make.core.demographics.DemographicsCardId], token: Option[String], preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.SequenceResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: Unit = ();
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$1: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$1.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[Unit](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.standard)
}).asDirective)(util.this.ApplyConverter.hac1[org.make.api.sequence.SequenceResult]).apply(((x$2: org.make.api.sequence.SequenceResult) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.SequenceResult](x$2)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.SequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.SequenceResult](sequence.this.SequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult]))))))))))))))
|
|
170
|
34211
|
8010
-
9321
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((userAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language])](DefaultSequenceApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("include").csv[org.make.core.proposal.ProposalId])(DefaultSequenceApi.this.proposalIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultSequenceApi.this._string2NR("token").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac4[Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language]]).apply(((includes: Option[Seq[org.make.core.proposal.ProposalId]], cardId: Option[org.make.core.demographics.DemographicsCardId], token: Option[String], preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.SequenceResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: Unit = ();
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$1: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$1.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[Unit](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.standard)
}).asDirective)(util.this.ApplyConverter.hac1[org.make.api.sequence.SequenceResult]).apply(((x$2: org.make.api.sequence.SequenceResult) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.SequenceResult](x$2)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.SequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.SequenceResult](sequence.this.SequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult]))))))))))))
|
|
170
|
46012
|
8010
-
8038
|
Apply
|
org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2)
|
|
170
|
49283
|
8010
-
8010
|
Select
|
org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.optionalOidcAuth$default$2
|
|
170
|
38136
|
8026
-
8026
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]
|
|
171
|
42306
|
8095
-
8296
|
Apply
|
akka.http.scaladsl.server.directives.ParameterDirectivesInstances.parameters
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("include").csv[org.make.core.proposal.ProposalId])(DefaultSequenceApi.this.proposalIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultSequenceApi.this._string2NR("token").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller)))
|
|
171
|
34706
|
8105
-
8105
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac4
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac4[Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language]]
|
|
172
|
34906
|
8134
-
8134
|
Select
|
org.make.core.ParameterExtractors.proposalIdFromStringUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.proposalIdFromStringUnmarshaller
|
|
172
|
31616
|
8121
-
8146
|
ApplyToImplicitArgs
|
org.make.api.technical.CsvReceptacle.paramSpec
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("include").csv[org.make.core.proposal.ProposalId])(DefaultSequenceApi.this.proposalIdFromStringUnmarshaller)
|
|
172
|
43050
|
8121
-
8146
|
TypeApply
|
org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps.csv
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("include").csv[org.make.core.proposal.ProposalId]
|
|
172
|
50936
|
8121
-
8130
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"include"
|
|
173
|
36562
|
8162
-
8207
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?
|
|
173
|
41460
|
8206
-
8206
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller)
|
|
173
|
44145
|
8162
-
8182
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"demographicsCardId"
|
|
173
|
49052
|
8206
-
8206
|
Select
|
org.make.core.ParameterExtractors.demographicsCardIdFromStringUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller
|
|
173
|
37631
|
8162
-
8207
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.sequence.sequenceapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller))
|
|
174
|
30743
|
8231
-
8231
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
|
|
174
|
42540
|
8223
-
8232
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._string2NR("token").?
|
|
174
|
50698
|
8223
-
8230
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"token"
|
|
174
|
44181
|
8223
-
8232
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.sequence.sequenceapitest
|
ParameterDirectives.this.ParamSpec.forNOR[String](DefaultSequenceApi.this._string2NR("token").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
|
|
174
|
34936
|
8231
-
8231
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
175
|
41491
|
8281
-
8281
|
Select
|
org.make.core.ParameterExtractors.languageFromStringUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.languageFromStringUnmarshaller
|
|
175
|
36322
|
8248
-
8267
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"preferredLanguage"
|
|
175
|
49086
|
8248
-
8282
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?
|
|
175
|
38089
|
8281
-
8281
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller)
|
|
175
|
50733
|
8248
-
8282
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.sequence.sequenceapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))
|
|
176
|
41808
|
8095
-
9309
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language])](DefaultSequenceApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("include").csv[org.make.core.proposal.ProposalId])(DefaultSequenceApi.this.proposalIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultSequenceApi.this._string2NR("token").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac4[Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language]]).apply(((includes: Option[Seq[org.make.core.proposal.ProposalId]], cardId: Option[org.make.core.demographics.DemographicsCardId], token: Option[String], preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.SequenceResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: Unit = ();
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$1: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$1.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[Unit](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.standard)
}).asDirective)(util.this.ApplyConverter.hac1[org.make.api.sequence.SequenceResult]).apply(((x$2: org.make.api.sequence.SequenceResult) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.SequenceResult](x$2)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.SequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.SequenceResult](sequence.this.SequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult]))))))))))
|
|
184
|
48797
|
8544
-
8608
|
Apply
|
org.make.api.question.QuestionService.getCachedQuestion
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)
|
|
185
|
35800
|
8628
-
8628
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.core.question.Question]
|
|
185
|
44627
|
8544
-
8649
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound
|
|
185
|
49612
|
8544
-
9295
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.SequenceResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: Unit = ();
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$1: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$1.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[Unit](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.standard)
}).asDirective)(util.this.ApplyConverter.hac1[org.make.api.sequence.SequenceResult]).apply(((x$2: org.make.api.sequence.SequenceResult) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.SequenceResult](x$2)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.SequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.SequenceResult](sequence.this.SequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult]))))))))
|
|
186
|
49119
|
8684
-
8699
|
Select
|
org.make.api.sequence.SequenceServiceComponent.sequenceService
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.sequenceService
|
|
187
|
48558
|
8723
-
8723
|
TypeApply
|
org.make.api.sequence.SequenceService.startNewSequence$default$7
|
org.make.api.sequence.sequenceapitest
|
qual$1.startNewSequence$default$7[Nothing]
|
|
187
|
44663
|
8739
-
8739
|
Select
|
org.make.api.sequence.SequenceBehaviourProvider.standard
|
org.make.api.sequence.sequenceapitest
|
sequence.this.SequenceBehaviourProvider.standard
|
|
187
|
36549
|
8684
-
9198
|
Apply
|
org.make.api.sequence.SequenceService.startNewSequence
|
org.make.api.sequence.sequenceapitest
|
qual$1.startNewSequence[Unit](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.standard)
|
|
188
|
41252
|
8782
-
8784
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
()
|
|
189
|
51182
|
8824
-
8851
|
Apply
|
scala.Option.map
|
org.make.api.sequence.sequenceapitest
|
userAuth.map[org.make.core.user.UserId](((x$1: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$1.user.userId))
|
|
189
|
38127
|
8837
-
8850
|
Select
|
org.make.core.auth.UserRights.userId
|
|
x$1.user.userId
|
|
190
|
42342
|
8919
-
8928
|
TypeApply
|
scala.collection.SeqFactory.Delegate.empty
|
org.make.api.sequence.sequenceapitest
|
scala.`package`.Seq.empty[Nothing]
|
|
190
|
34736
|
8900
-
8929
|
Apply
|
scala.Option.getOrElse
|
org.make.api.sequence.sequenceapitest
|
includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing])
|
|
197
|
48883
|
8684
-
9233
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: Unit = ();
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$1: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$1.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[Unit](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.standard)
}).asDirective
|
|
197
|
42055
|
9222
-
9222
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.api.sequence.SequenceResult]
|
|
198
|
34499
|
9272
-
9272
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
org.make.api.sequence.sequenceapitest
|
marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.SequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.SequenceResult](sequence.this.SequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult]))
|
|
198
|
48597
|
9272
-
9273
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
org.make.api.sequence.sequenceapitest
|
marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.SequenceResult](x$2)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.SequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.SequenceResult](sequence.this.SequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult])))
|
|
198
|
37878
|
9272
-
9272
|
Select
|
org.make.api.sequence.SequenceResult.encoder
|
org.make.api.sequence.sequenceapitest
|
sequence.this.SequenceResult.encoder
|
|
198
|
44424
|
9263
-
9274
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.SequenceResult](x$2)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.SequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.SequenceResult](sequence.this.SequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult]))))
|
|
198
|
36310
|
8684
-
9275
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(org.make.api.sequence.SequenceResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: Unit = ();
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$1: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$1.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[Unit](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.standard)
}).asDirective)(util.this.ApplyConverter.hac1[org.make.api.sequence.SequenceResult]).apply(((x$2: org.make.api.sequence.SequenceResult) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.SequenceResult](x$2)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.SequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.SequenceResult](sequence.this.SequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult]))))))
|
|
198
|
43074
|
9272
-
9272
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.SequenceResult](sequence.this.SequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult])
|
|
198
|
51217
|
9272
-
9272
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult]
|
|
206
|
48356
|
9396
-
9399
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.get
|
|
206
|
35334
|
9396
-
11386
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addByNameNullaryApply(DefaultSequenceApi.this.get).apply(server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.path[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this._segmentStringToPathMatcher("sequences")./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("consensus"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])))(util.this.ApplyConverter.hac1[org.make.core.question.QuestionId]).apply(((questionId: org.make.core.question.QuestionId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultSequenceApiComponent.this.makeOperation("StartConsensusSequence", DefaultSequenceApiComponent.this.makeOperation$default$2, DefaultSequenceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((userAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language])](DefaultSequenceApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("include").csv[org.make.core.proposal.ProposalId])(DefaultSequenceApi.this.proposalIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultSequenceApi.this._string2NR("token").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac4[Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language]]).apply(((includes: Option[Seq[org.make.core.proposal.ProposalId]], cardId: Option[org.make.core.demographics.DemographicsCardId], token: Option[String], preferredLanguage: Option[org.make.core.reference.Language]) => {
val futureTop20ConsensusThreshold: scala.concurrent.Future[Option[Double]] = DefaultSequenceApiComponent.this.elasticsearchOperationOfQuestionAPI.findOperationOfQuestionById(questionId).map[Option[Double]](((x$3: Option[org.make.core.operation.indexed.IndexedOperationOfQuestion]) => x$3.flatMap[Double](((x$4: org.make.core.operation.indexed.IndexedOperationOfQuestion) => x$4.top20ConsensusThreshold))))(scala.concurrent.ExecutionContext.Implicits.global);
server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.SequenceResult,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, Option[Double]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[Double]](futureTop20ConsensusThreshold).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.SequenceResult](((threshold: Option[Double]) => org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: org.make.api.sequence.SequenceBehaviour.ConsensusParam = org.make.api.sequence.SequenceBehaviour.ConsensusParam.apply(threshold);
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$5: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$5.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[org.make.api.sequence.SequenceBehaviour.ConsensusParam](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.consensus)
}).asDirective)))(util.this.ApplyConverter.hac1[org.make.api.sequence.SequenceResult]).apply(((x$6: org.make.api.sequence.SequenceResult) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.SequenceResult](x$6)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.SequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.SequenceResult](sequence.this.SequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult]))))))))
})))))))))
|
|
207
|
44458
|
9413
-
9424
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"sequences"
|
|
207
|
42864
|
9408
-
9452
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.path[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this._segmentStringToPathMatcher("sequences")./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("consensus"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)]))
|
|
207
|
34457
|
9412
-
9412
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.core.question.QuestionId]
|
|
207
|
34247
|
9439
-
9439
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.sequence.sequenceapitest
|
TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)]
|
|
207
|
36346
|
9427
-
9438
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._segmentStringToPathMatcher("consensus")
|
|
207
|
38735
|
9408
-
11380
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.path[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this._segmentStringToPathMatcher("sequences")./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("consensus"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])))(util.this.ApplyConverter.hac1[org.make.core.question.QuestionId]).apply(((questionId: org.make.core.question.QuestionId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultSequenceApiComponent.this.makeOperation("StartConsensusSequence", DefaultSequenceApiComponent.this.makeOperation$default$2, DefaultSequenceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((userAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language])](DefaultSequenceApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("include").csv[org.make.core.proposal.ProposalId])(DefaultSequenceApi.this.proposalIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultSequenceApi.this._string2NR("token").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac4[Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language]]).apply(((includes: Option[Seq[org.make.core.proposal.ProposalId]], cardId: Option[org.make.core.demographics.DemographicsCardId], token: Option[String], preferredLanguage: Option[org.make.core.reference.Language]) => {
val futureTop20ConsensusThreshold: scala.concurrent.Future[Option[Double]] = DefaultSequenceApiComponent.this.elasticsearchOperationOfQuestionAPI.findOperationOfQuestionById(questionId).map[Option[Double]](((x$3: Option[org.make.core.operation.indexed.IndexedOperationOfQuestion]) => x$3.flatMap[Double](((x$4: org.make.core.operation.indexed.IndexedOperationOfQuestion) => x$4.top20ConsensusThreshold))))(scala.concurrent.ExecutionContext.Implicits.global);
server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.SequenceResult,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, Option[Double]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[Double]](futureTop20ConsensusThreshold).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.SequenceResult](((threshold: Option[Double]) => org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: org.make.api.sequence.SequenceBehaviour.ConsensusParam = org.make.api.sequence.SequenceBehaviour.ConsensusParam.apply(threshold);
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$5: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$5.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[org.make.api.sequence.SequenceBehaviour.ConsensusParam](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.consensus)
}).asDirective)))(util.this.ApplyConverter.hac1[org.make.api.sequence.SequenceResult]).apply(((x$6: org.make.api.sequence.SequenceResult) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.SequenceResult](x$6)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.SequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.SequenceResult](sequence.this.SequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult]))))))))
}))))))))
|
|
207
|
41241
|
9441
-
9451
|
Select
|
org.make.api.sequence.DefaultSequenceApiComponent.DefaultSequenceApi.questionId
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.questionId
|
|
207
|
50473
|
9413
-
9451
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._segmentStringToPathMatcher("sequences")./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("consensus"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])
|
|
207
|
49363
|
9425
-
9425
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.sequence.sequenceapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
208
|
36095
|
9477
-
9477
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation$default$3
|
|
208
|
48874
|
9477
-
9516
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation("StartConsensusSequence", DefaultSequenceApiComponent.this.makeOperation$default$2, DefaultSequenceApiComponent.this.makeOperation$default$3)
|
|
208
|
41002
|
9490
-
9490
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
208
|
47785
|
9491
-
9515
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"StartConsensusSequence"
|
|
208
|
47013
|
9477
-
11372
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultSequenceApiComponent.this.makeOperation("StartConsensusSequence", DefaultSequenceApiComponent.this.makeOperation$default$2, DefaultSequenceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((userAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language])](DefaultSequenceApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("include").csv[org.make.core.proposal.ProposalId])(DefaultSequenceApi.this.proposalIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultSequenceApi.this._string2NR("token").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac4[Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language]]).apply(((includes: Option[Seq[org.make.core.proposal.ProposalId]], cardId: Option[org.make.core.demographics.DemographicsCardId], token: Option[String], preferredLanguage: Option[org.make.core.reference.Language]) => {
val futureTop20ConsensusThreshold: scala.concurrent.Future[Option[Double]] = DefaultSequenceApiComponent.this.elasticsearchOperationOfQuestionAPI.findOperationOfQuestionById(questionId).map[Option[Double]](((x$3: Option[org.make.core.operation.indexed.IndexedOperationOfQuestion]) => x$3.flatMap[Double](((x$4: org.make.core.operation.indexed.IndexedOperationOfQuestion) => x$4.top20ConsensusThreshold))))(scala.concurrent.ExecutionContext.Implicits.global);
server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.SequenceResult,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, Option[Double]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[Double]](futureTop20ConsensusThreshold).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.SequenceResult](((threshold: Option[Double]) => org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: org.make.api.sequence.SequenceBehaviour.ConsensusParam = org.make.api.sequence.SequenceBehaviour.ConsensusParam.apply(threshold);
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$5: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$5.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[org.make.api.sequence.SequenceBehaviour.ConsensusParam](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.consensus)
}).asDirective)))(util.this.ApplyConverter.hac1[org.make.api.sequence.SequenceResult]).apply(((x$6: org.make.api.sequence.SequenceResult) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.SequenceResult](x$6)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.SequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.SequenceResult](sequence.this.SequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult]))))))))
}))))))
|
|
208
|
43962
|
9477
-
9477
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation$default$2
|
|
209
|
34248
|
9547
-
11362
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((userAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language])](DefaultSequenceApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("include").csv[org.make.core.proposal.ProposalId])(DefaultSequenceApi.this.proposalIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultSequenceApi.this._string2NR("token").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac4[Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language]]).apply(((includes: Option[Seq[org.make.core.proposal.ProposalId]], cardId: Option[org.make.core.demographics.DemographicsCardId], token: Option[String], preferredLanguage: Option[org.make.core.reference.Language]) => {
val futureTop20ConsensusThreshold: scala.concurrent.Future[Option[Double]] = DefaultSequenceApiComponent.this.elasticsearchOperationOfQuestionAPI.findOperationOfQuestionById(questionId).map[Option[Double]](((x$3: Option[org.make.core.operation.indexed.IndexedOperationOfQuestion]) => x$3.flatMap[Double](((x$4: org.make.core.operation.indexed.IndexedOperationOfQuestion) => x$4.top20ConsensusThreshold))))(scala.concurrent.ExecutionContext.Implicits.global);
server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.SequenceResult,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, Option[Double]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[Double]](futureTop20ConsensusThreshold).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.SequenceResult](((threshold: Option[Double]) => org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: org.make.api.sequence.SequenceBehaviour.ConsensusParam = org.make.api.sequence.SequenceBehaviour.ConsensusParam.apply(threshold);
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$5: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$5.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[org.make.api.sequence.SequenceBehaviour.ConsensusParam](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.consensus)
}).asDirective)))(util.this.ApplyConverter.hac1[org.make.api.sequence.SequenceResult]).apply(((x$6: org.make.api.sequence.SequenceResult) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.SequenceResult](x$6)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.SequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.SequenceResult](sequence.this.SequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult]))))))))
}))))
|
|
209
|
50514
|
9547
-
9575
|
Apply
|
org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2)
|
|
209
|
33396
|
9547
-
9547
|
Select
|
org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.optionalOidcAuth$default$2
|
|
209
|
42625
|
9563
-
9563
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]
|
|
210
|
40494
|
9642
-
9642
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac4
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac4[Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language]]
|
|
210
|
48383
|
9632
-
9833
|
Apply
|
akka.http.scaladsl.server.directives.ParameterDirectivesInstances.parameters
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("include").csv[org.make.core.proposal.ProposalId])(DefaultSequenceApi.this.proposalIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultSequenceApi.this._string2NR("token").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller)))
|
|
211
|
36132
|
9658
-
9683
|
ApplyToImplicitArgs
|
org.make.api.technical.CsvReceptacle.paramSpec
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("include").csv[org.make.core.proposal.ProposalId])(DefaultSequenceApi.this.proposalIdFromStringUnmarshaller)
|
|
211
|
34489
|
9658
-
9667
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"include"
|
|
211
|
40706
|
9671
-
9671
|
Select
|
org.make.core.ParameterExtractors.proposalIdFromStringUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.proposalIdFromStringUnmarshaller
|
|
211
|
47820
|
9658
-
9683
|
TypeApply
|
org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps.csv
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("include").csv[org.make.core.proposal.ProposalId]
|
|
212
|
49939
|
9699
-
9719
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"demographicsCardId"
|
|
212
|
41042
|
9699
-
9744
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?
|
|
212
|
34199
|
9743
-
9743
|
Select
|
org.make.core.ParameterExtractors.demographicsCardIdFromStringUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller
|
|
212
|
43427
|
9699
-
9744
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.sequence.sequenceapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller))
|
|
212
|
50966
|
9743
-
9743
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller)
|
|
213
|
40743
|
9768
-
9768
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
213
|
35560
|
9760
-
9767
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"token"
|
|
213
|
47576
|
9760
-
9769
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._string2NR("token").?
|
|
213
|
49979
|
9760
-
9769
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.sequence.sequenceapitest
|
ParameterDirectives.this.ParamSpec.forNOR[String](DefaultSequenceApi.this._string2NR("token").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
|
|
213
|
36587
|
9768
-
9768
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
|
|
214
|
35593
|
9785
-
9819
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.sequence.sequenceapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))
|
|
214
|
41074
|
9785
-
9804
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"preferredLanguage"
|
|
214
|
33962
|
9785
-
9819
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?
|
|
214
|
47270
|
9818
-
9818
|
Select
|
org.make.core.ParameterExtractors.languageFromStringUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.languageFromStringUnmarshaller
|
|
214
|
42571
|
9818
-
9818
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller)
|
|
215
|
42126
|
9632
-
11350
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language])](DefaultSequenceApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("include").csv[org.make.core.proposal.ProposalId])(DefaultSequenceApi.this.proposalIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultSequenceApi.this._string2NR("token").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac4[Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language]]).apply(((includes: Option[Seq[org.make.core.proposal.ProposalId]], cardId: Option[org.make.core.demographics.DemographicsCardId], token: Option[String], preferredLanguage: Option[org.make.core.reference.Language]) => {
val futureTop20ConsensusThreshold: scala.concurrent.Future[Option[Double]] = DefaultSequenceApiComponent.this.elasticsearchOperationOfQuestionAPI.findOperationOfQuestionById(questionId).map[Option[Double]](((x$3: Option[org.make.core.operation.indexed.IndexedOperationOfQuestion]) => x$3.flatMap[Double](((x$4: org.make.core.operation.indexed.IndexedOperationOfQuestion) => x$4.top20ConsensusThreshold))))(scala.concurrent.ExecutionContext.Implicits.global);
server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.SequenceResult,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, Option[Double]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[Double]](futureTop20ConsensusThreshold).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.SequenceResult](((threshold: Option[Double]) => org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: org.make.api.sequence.SequenceBehaviour.ConsensusParam = org.make.api.sequence.SequenceBehaviour.ConsensusParam.apply(threshold);
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$5: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$5.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[org.make.api.sequence.SequenceBehaviour.ConsensusParam](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.consensus)
}).asDirective)))(util.this.ApplyConverter.hac1[org.make.api.sequence.SequenceResult]).apply(((x$6: org.make.api.sequence.SequenceResult) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.SequenceResult](x$6)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.SequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.SequenceResult](sequence.this.SequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult]))))))))
}))
|
|
225
|
33998
|
10159
-
10318
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.elasticsearchOperationOfQuestionAPI.findOperationOfQuestionById(questionId).map[Option[Double]](((x$3: Option[org.make.core.operation.indexed.IndexedOperationOfQuestion]) => x$3.flatMap[Double](((x$4: org.make.core.operation.indexed.IndexedOperationOfQuestion) => x$4.top20ConsensusThreshold))))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
225
|
42138
|
10280
-
10280
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.sequence.sequenceapitest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
225
|
36629
|
10291
-
10316
|
Select
|
org.make.core.operation.indexed.IndexedOperationOfQuestion.top20ConsensusThreshold
|
|
x$4.top20ConsensusThreshold
|
|
225
|
49396
|
10281
-
10317
|
Apply
|
scala.Option.flatMap
|
|
x$3.flatMap[Double](((x$4: org.make.core.operation.indexed.IndexedOperationOfQuestion) => x$4.top20ConsensusThreshold))
|
|
227
|
47026
|
10335
-
10399
|
Apply
|
org.make.api.question.QuestionService.getCachedQuestion
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)
|
|
228
|
42614
|
10335
-
10440
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound
|
|
228
|
48951
|
10335
-
11336
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.SequenceResult,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, Option[Double]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[Double]](futureTop20ConsensusThreshold).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.SequenceResult](((threshold: Option[Double]) => org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: org.make.api.sequence.SequenceBehaviour.ConsensusParam = org.make.api.sequence.SequenceBehaviour.ConsensusParam.apply(threshold);
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$5: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$5.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[org.make.api.sequence.SequenceBehaviour.ConsensusParam](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.consensus)
}).asDirective)))(util.this.ApplyConverter.hac1[org.make.api.sequence.SequenceResult]).apply(((x$6: org.make.api.sequence.SequenceResult) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.SequenceResult](x$6)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.SequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.SequenceResult](sequence.this.SequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult]))))))))
|
|
228
|
35014
|
10419
-
10419
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.core.question.Question]
|
|
229
|
40534
|
10505
-
10505
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
229
|
48137
|
10475
-
10516
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[Double]](futureTop20ConsensusThreshold).asDirective
|
|
230
|
49189
|
10475
-
11274
|
Apply
|
cats.FlatMap.Ops.flatMap
|
org.make.api.sequence.sequenceapitest
|
cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, Option[Double]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[Double]](futureTop20ConsensusThreshold).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.SequenceResult](((threshold: Option[Double]) => org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: org.make.api.sequence.SequenceBehaviour.ConsensusParam = org.make.api.sequence.SequenceBehaviour.ConsensusParam.apply(threshold);
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$5: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$5.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[org.make.api.sequence.SequenceBehaviour.ConsensusParam](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.consensus)
}).asDirective))
|
|
230
|
42093
|
10547
-
10547
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.api.sequence.SequenceResult]
|
|
232
|
35839
|
10612
-
10627
|
Select
|
org.make.api.sequence.SequenceServiceComponent.sequenceService
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.sequenceService
|
|
233
|
40285
|
10612
-
11209
|
Apply
|
org.make.api.sequence.SequenceService.startNewSequence
|
org.make.api.sequence.sequenceapitest
|
qual$1.startNewSequence[org.make.api.sequence.SequenceBehaviour.ConsensusParam](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.consensus)
|
|
233
|
47566
|
10673
-
10673
|
Select
|
org.make.api.sequence.SequenceBehaviourProvider.consensus
|
org.make.api.sequence.sequenceapitest
|
sequence.this.SequenceBehaviourProvider.consensus
|
|
233
|
34772
|
10657
-
10657
|
TypeApply
|
org.make.api.sequence.SequenceService.startNewSequence$default$7
|
org.make.api.sequence.sequenceapitest
|
qual$1.startNewSequence$default$7[Nothing]
|
|
234
|
49154
|
10722
-
10747
|
Apply
|
org.make.api.sequence.SequenceBehaviour.ConsensusParam.apply
|
org.make.api.sequence.sequenceapitest
|
org.make.api.sequence.SequenceBehaviour.ConsensusParam.apply(threshold)
|
|
235
|
41031
|
10806
-
10819
|
Select
|
org.make.core.auth.UserRights.userId
|
|
x$5.user.userId
|
|
235
|
33759
|
10793
-
10820
|
Apply
|
scala.Option.map
|
org.make.api.sequence.sequenceapitest
|
userAuth.map[org.make.core.user.UserId](((x$5: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$5.user.userId))
|
|
236
|
42650
|
10875
-
10904
|
Apply
|
scala.Option.getOrElse
|
org.make.api.sequence.sequenceapitest
|
includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing])
|
|
236
|
47064
|
10894
-
10903
|
TypeApply
|
scala.collection.SeqFactory.Delegate.empty
|
org.make.api.sequence.sequenceapitest
|
scala.`package`.Seq.empty[Nothing]
|
|
243
|
32136
|
10612
-
11250
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: org.make.api.sequence.SequenceBehaviour.ConsensusParam = org.make.api.sequence.SequenceBehaviour.ConsensusParam.apply(threshold);
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$5: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$5.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[org.make.api.sequence.SequenceBehaviour.ConsensusParam](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.consensus)
}).asDirective
|
|
245
|
32172
|
10475
-
11316
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(org.make.api.sequence.SequenceResult,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, Option[Double]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[Double]](futureTop20ConsensusThreshold).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.SequenceResult](((threshold: Option[Double]) => org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: org.make.api.sequence.SequenceBehaviour.ConsensusParam = org.make.api.sequence.SequenceBehaviour.ConsensusParam.apply(threshold);
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$5: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$5.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[org.make.api.sequence.SequenceBehaviour.ConsensusParam](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.consensus)
}).asDirective)))(util.this.ApplyConverter.hac1[org.make.api.sequence.SequenceResult]).apply(((x$6: org.make.api.sequence.SequenceResult) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.SequenceResult](x$6)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.SequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.SequenceResult](sequence.this.SequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult]))))))
|
|
245
|
35581
|
11313
-
11313
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
org.make.api.sequence.sequenceapitest
|
marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.SequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.SequenceResult](sequence.this.SequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult]))
|
|
245
|
42408
|
11313
-
11313
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.SequenceResult](sequence.this.SequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult])
|
|
245
|
46284
|
11313
-
11313
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult]
|
|
245
|
33167
|
11313
-
11313
|
Select
|
org.make.api.sequence.SequenceResult.encoder
|
org.make.api.sequence.sequenceapitest
|
sequence.this.SequenceResult.encoder
|
|
245
|
48631
|
11313
-
11314
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
org.make.api.sequence.sequenceapitest
|
marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.SequenceResult](x$6)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.SequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.SequenceResult](sequence.this.SequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult])))
|
|
245
|
39724
|
11304
-
11315
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.SequenceResult](x$6)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.SequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.SequenceResult](sequence.this.SequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult]))))
|
|
253
|
48666
|
11439
-
11442
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.get
|
|
253
|
39827
|
11439
-
12943
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addByNameNullaryApply(DefaultSequenceApi.this.get).apply(server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.path[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this._segmentStringToPathMatcher("sequences")./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("controversy"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])))(util.this.ApplyConverter.hac1[org.make.core.question.QuestionId]).apply(((questionId: org.make.core.question.QuestionId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultSequenceApiComponent.this.makeOperation("StartControversySequence", DefaultSequenceApiComponent.this.makeOperation$default$2, DefaultSequenceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((userAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language])](DefaultSequenceApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("include").csv[org.make.core.proposal.ProposalId])(DefaultSequenceApi.this.proposalIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultSequenceApi.this._string2NR("token").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac4[Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language]]).apply(((includes: Option[Seq[org.make.core.proposal.ProposalId]], cardId: Option[org.make.core.demographics.DemographicsCardId], token: Option[String], preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.SequenceResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: org.make.core.proposal.indexed.Zone.Controversy.type = org.make.core.proposal.indexed.Zone.Controversy;
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$7: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$7.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[org.make.core.proposal.indexed.Zone.Controversy.type](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.controversy)
}).asDirective)(util.this.ApplyConverter.hac1[org.make.api.sequence.SequenceResult]).apply(((x$8: org.make.api.sequence.SequenceResult) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.SequenceResult](x$8)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.SequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.SequenceResult](sequence.this.SequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult])))))))))))))))))
|
|
254
|
41886
|
11486
-
11496
|
Select
|
org.make.api.sequence.DefaultSequenceApiComponent.DefaultSequenceApi.questionId
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.questionId
|
|
254
|
48247
|
11451
-
12937
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.path[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this._segmentStringToPathMatcher("sequences")./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("controversy"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])))(util.this.ApplyConverter.hac1[org.make.core.question.QuestionId]).apply(((questionId: org.make.core.question.QuestionId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultSequenceApiComponent.this.makeOperation("StartControversySequence", DefaultSequenceApiComponent.this.makeOperation$default$2, DefaultSequenceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((userAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language])](DefaultSequenceApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("include").csv[org.make.core.proposal.ProposalId])(DefaultSequenceApi.this.proposalIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultSequenceApi.this._string2NR("token").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac4[Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language]]).apply(((includes: Option[Seq[org.make.core.proposal.ProposalId]], cardId: Option[org.make.core.demographics.DemographicsCardId], token: Option[String], preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.SequenceResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: org.make.core.proposal.indexed.Zone.Controversy.type = org.make.core.proposal.indexed.Zone.Controversy;
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$7: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$7.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[org.make.core.proposal.indexed.Zone.Controversy.type](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.controversy)
}).asDirective)(util.this.ApplyConverter.hac1[org.make.api.sequence.SequenceResult]).apply(((x$8: org.make.api.sequence.SequenceResult) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.SequenceResult](x$8)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.SequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.SequenceResult](sequence.this.SequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult]))))))))))))))))
|
|
254
|
49751
|
11468
-
11468
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.sequence.sequenceapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
254
|
35371
|
11455
-
11455
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.core.question.QuestionId]
|
|
254
|
40521
|
11456
-
11467
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"sequences"
|
|
254
|
34282
|
11484
-
11484
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.sequence.sequenceapitest
|
TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)]
|
|
254
|
47052
|
11456
-
11496
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._segmentStringToPathMatcher("sequences")./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("controversy"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])
|
|
254
|
32622
|
11470
-
11483
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._segmentStringToPathMatcher("controversy")
|
|
254
|
39186
|
11451
-
11497
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.path[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this._segmentStringToPathMatcher("sequences")./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("controversy"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)]))
|
|
255
|
41919
|
11535
-
11535
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
255
|
40274
|
11522
-
11522
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation$default$2
|
|
255
|
32658
|
11522
-
11522
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation$default$3
|
|
255
|
48430
|
11536
-
11562
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"StartControversySequence"
|
|
255
|
48905
|
11522
-
11563
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation("StartControversySequence", DefaultSequenceApiComponent.this.makeOperation$default$2, DefaultSequenceApiComponent.this.makeOperation$default$3)
|
|
255
|
30558
|
11522
-
12929
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultSequenceApiComponent.this.makeOperation("StartControversySequence", DefaultSequenceApiComponent.this.makeOperation$default$2, DefaultSequenceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((userAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language])](DefaultSequenceApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("include").csv[org.make.core.proposal.ProposalId])(DefaultSequenceApi.this.proposalIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultSequenceApi.this._string2NR("token").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac4[Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language]]).apply(((includes: Option[Seq[org.make.core.proposal.ProposalId]], cardId: Option[org.make.core.demographics.DemographicsCardId], token: Option[String], preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.SequenceResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: org.make.core.proposal.indexed.Zone.Controversy.type = org.make.core.proposal.indexed.Zone.Controversy;
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$7: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$7.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[org.make.core.proposal.indexed.Zone.Controversy.type](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.controversy)
}).asDirective)(util.this.ApplyConverter.hac1[org.make.api.sequence.SequenceResult]).apply(((x$8: org.make.api.sequence.SequenceResult) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.SequenceResult](x$8)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.SequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.SequenceResult](sequence.this.SequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult]))))))))))))))
|
|
256
|
46808
|
11594
-
11622
|
Apply
|
org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2)
|
|
256
|
39013
|
11594
-
12919
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((userAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language])](DefaultSequenceApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("include").csv[org.make.core.proposal.ProposalId])(DefaultSequenceApi.this.proposalIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultSequenceApi.this._string2NR("token").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac4[Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language]]).apply(((includes: Option[Seq[org.make.core.proposal.ProposalId]], cardId: Option[org.make.core.demographics.DemographicsCardId], token: Option[String], preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.SequenceResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: org.make.core.proposal.indexed.Zone.Controversy.type = org.make.core.proposal.indexed.Zone.Controversy;
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$7: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$7.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[org.make.core.proposal.indexed.Zone.Controversy.type](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.controversy)
}).asDirective)(util.this.ApplyConverter.hac1[org.make.api.sequence.SequenceResult]).apply(((x$8: org.make.api.sequence.SequenceResult) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.SequenceResult](x$8)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.SequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.SequenceResult](sequence.this.SequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult]))))))))))))
|
|
256
|
33782
|
11594
-
11594
|
Select
|
org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.optionalOidcAuth$default$2
|
|
256
|
38686
|
11610
-
11610
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]
|
|
257
|
48417
|
11679
-
11880
|
Apply
|
akka.http.scaladsl.server.directives.ParameterDirectivesInstances.parameters
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("include").csv[org.make.core.proposal.ProposalId])(DefaultSequenceApi.this.proposalIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultSequenceApi.this._string2NR("token").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller)))
|
|
257
|
40819
|
11689
-
11689
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac4
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac4[Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language]]
|
|
258
|
48465
|
11705
-
11730
|
TypeApply
|
org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps.csv
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("include").csv[org.make.core.proposal.ProposalId]
|
|
258
|
32420
|
11705
-
11730
|
ApplyToImplicitArgs
|
org.make.api.technical.CsvReceptacle.paramSpec
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("include").csv[org.make.core.proposal.ProposalId])(DefaultSequenceApi.this.proposalIdFromStringUnmarshaller)
|
|
258
|
34521
|
11705
-
11714
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"include"
|
|
258
|
40308
|
11718
-
11718
|
Select
|
org.make.core.ParameterExtractors.proposalIdFromStringUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.proposalIdFromStringUnmarshaller
|
|
259
|
33530
|
11790
-
11790
|
Select
|
org.make.core.ParameterExtractors.demographicsCardIdFromStringUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller
|
|
259
|
41353
|
11746
-
11791
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?
|
|
259
|
38440
|
11746
-
11791
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.sequence.sequenceapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller))
|
|
259
|
45219
|
11746
-
11766
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"demographicsCardId"
|
|
259
|
46845
|
11790
-
11790
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller)
|
|
260
|
44972
|
11807
-
11816
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.sequence.sequenceapitest
|
ParameterDirectives.this.ParamSpec.forNOR[String](DefaultSequenceApi.this._string2NR("token").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
|
|
260
|
48656
|
11807
-
11816
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._string2NR("token").?
|
|
260
|
34564
|
11807
-
11814
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"token"
|
|
260
|
40073
|
11815
-
11815
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
260
|
32457
|
11815
-
11815
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
|
|
261
|
38476
|
11865
-
11865
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller)
|
|
261
|
34274
|
11832
-
11866
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?
|
|
261
|
46610
|
11865
-
11865
|
Select
|
org.make.core.ParameterExtractors.languageFromStringUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.languageFromStringUnmarshaller
|
|
261
|
34597
|
11832
-
11866
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.sequence.sequenceapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))
|
|
261
|
41113
|
11832
-
11851
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"preferredLanguage"
|
|
262
|
46601
|
11679
-
12907
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language])](DefaultSequenceApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("include").csv[org.make.core.proposal.ProposalId])(DefaultSequenceApi.this.proposalIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultSequenceApi.this._string2NR("token").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac4[Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language]]).apply(((includes: Option[Seq[org.make.core.proposal.ProposalId]], cardId: Option[org.make.core.demographics.DemographicsCardId], token: Option[String], preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.SequenceResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: org.make.core.proposal.indexed.Zone.Controversy.type = org.make.core.proposal.indexed.Zone.Controversy;
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$7: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$7.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[org.make.core.proposal.indexed.Zone.Controversy.type](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.controversy)
}).asDirective)(util.this.ApplyConverter.hac1[org.make.api.sequence.SequenceResult]).apply(((x$8: org.make.api.sequence.SequenceResult) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.SequenceResult](x$8)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.SequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.SequenceResult](sequence.this.SequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult]))))))))))
|
|
270
|
32985
|
12128
-
12192
|
Apply
|
org.make.api.question.QuestionService.getCachedQuestion
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)
|
|
271
|
33829
|
12128
-
12893
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.SequenceResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: org.make.core.proposal.indexed.Zone.Controversy.type = org.make.core.proposal.indexed.Zone.Controversy;
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$7: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$7.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[org.make.core.proposal.indexed.Zone.Controversy.type](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.controversy)
}).asDirective)(util.this.ApplyConverter.hac1[org.make.api.sequence.SequenceResult]).apply(((x$8: org.make.api.sequence.SequenceResult) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.SequenceResult](x$8)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.SequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.SequenceResult](sequence.this.SequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult]))))))))
|
|
271
|
45013
|
12128
-
12233
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound
|
|
271
|
41907
|
12212
-
12212
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.core.question.Question]
|
|
272
|
34036
|
12268
-
12283
|
Select
|
org.make.api.sequence.SequenceServiceComponent.sequenceService
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.sequenceService
|
|
273
|
32409
|
12307
-
12307
|
TypeApply
|
org.make.api.sequence.SequenceService.startNewSequence$default$7
|
org.make.api.sequence.sequenceapitest
|
qual$1.startNewSequence$default$7[Nothing]
|
|
273
|
45050
|
12323
-
12323
|
Select
|
org.make.api.sequence.SequenceBehaviourProvider.controversy
|
org.make.api.sequence.sequenceapitest
|
sequence.this.SequenceBehaviourProvider.controversy
|
|
273
|
41666
|
12268
-
12796
|
Apply
|
org.make.api.sequence.SequenceService.startNewSequence
|
org.make.api.sequence.sequenceapitest
|
qual$1.startNewSequence[org.make.core.proposal.indexed.Zone.Controversy.type](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.controversy)
|
|
274
|
47350
|
12366
-
12382
|
Select
|
org.make.core.proposal.indexed.Zone.Controversy
|
org.make.api.sequence.sequenceapitest
|
org.make.core.proposal.indexed.Zone.Controversy
|
|
275
|
30604
|
12422
-
12449
|
Apply
|
scala.Option.map
|
org.make.api.sequence.sequenceapitest
|
userAuth.map[org.make.core.user.UserId](((x$7: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$7.user.userId))
|
|
275
|
39539
|
12435
-
12448
|
Select
|
org.make.core.auth.UserRights.userId
|
|
x$7.user.userId
|
|
276
|
40572
|
12498
-
12527
|
Apply
|
scala.Option.getOrElse
|
org.make.api.sequence.sequenceapitest
|
includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing])
|
|
276
|
48454
|
12517
-
12526
|
TypeApply
|
scala.collection.SeqFactory.Delegate.empty
|
org.make.api.sequence.sequenceapitest
|
scala.`package`.Seq.empty[Nothing]
|
|
283
|
46569
|
12820
-
12820
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.api.sequence.SequenceResult]
|
|
283
|
34071
|
12268
-
12831
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: org.make.core.proposal.indexed.Zone.Controversy.type = org.make.core.proposal.indexed.Zone.Controversy;
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$7: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$7.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[org.make.core.proposal.indexed.Zone.Controversy.type](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.controversy)
}).asDirective
|
|
284
|
38976
|
12870
-
12870
|
Select
|
org.make.api.sequence.SequenceResult.encoder
|
org.make.api.sequence.sequenceapitest
|
sequence.this.SequenceResult.encoder
|
|
284
|
37986
|
12268
-
12873
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(org.make.api.sequence.SequenceResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: org.make.core.proposal.indexed.Zone.Controversy.type = org.make.core.proposal.indexed.Zone.Controversy;
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$7: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$7.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[org.make.core.proposal.indexed.Zone.Controversy.type](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.controversy)
}).asDirective)(util.this.ApplyConverter.hac1[org.make.api.sequence.SequenceResult]).apply(((x$8: org.make.api.sequence.SequenceResult) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.SequenceResult](x$8)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.SequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.SequenceResult](sequence.this.SequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult]))))))
|
|
284
|
32444
|
12870
-
12871
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
org.make.api.sequence.sequenceapitest
|
marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.SequenceResult](x$8)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.SequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.SequenceResult](sequence.this.SequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult])))
|
|
284
|
48215
|
12870
-
12870
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.SequenceResult](sequence.this.SequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult])
|
|
284
|
45517
|
12861
-
12872
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.SequenceResult](x$8)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.SequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.SequenceResult](sequence.this.SequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult]))))
|
|
284
|
31428
|
12870
-
12870
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult]
|
|
284
|
40606
|
12870
-
12870
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
org.make.api.sequence.sequenceapitest
|
marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.SequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.SequenceResult](sequence.this.SequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.SequenceResult]))
|
|
292
|
45077
|
12992
-
15123
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addByNameNullaryApply(DefaultSequenceApi.this.get).apply(server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalKeywordKey)](DefaultSequenceApi.this.path[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalKeywordKey)](DefaultSequenceApi.this._segmentStringToPathMatcher("sequences")./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("keyword"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[(org.make.core.proposal.ProposalKeywordKey,)](DefaultSequenceApi.this.keywordKey)(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalKeywordKey,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalKeywordKey, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalKeywordKey](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalKeywordKey]))))))(util.this.ApplyConverter.hac2[org.make.core.question.QuestionId, org.make.core.proposal.ProposalKeywordKey]).apply(((questionId: org.make.core.question.QuestionId, keywordKey: org.make.core.proposal.ProposalKeywordKey) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultSequenceApiComponent.this.makeOperation("StartKeywordSequence", DefaultSequenceApiComponent.this.makeOperation$default$2, DefaultSequenceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((userAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language])](DefaultSequenceApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("include").csv[org.make.core.proposal.ProposalId])(DefaultSequenceApi.this.proposalIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultSequenceApi.this._string2NR("token").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac4[Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language]]).apply(((includes: Option[Seq[org.make.core.proposal.ProposalId]], cardId: Option[org.make.core.demographics.DemographicsCardId], token: Option[String], preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.KeywordSequenceResult,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.question.Question, org.make.core.keyword.Keyword)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, org.make.core.keyword.Keyword](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.keyword.Keyword]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.keyword.Keyword](DefaultSequenceApiComponent.this.keywordService.get(keywordKey.value, questionId)).asDirectiveOrNotFound)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.KeywordSequenceResult](((x0$1: (org.make.core.question.Question, org.make.core.keyword.Keyword)) => x0$1 match {
case (_1: org.make.core.question.Question, _2: org.make.core.keyword.Keyword): (org.make.core.question.Question, org.make.core.keyword.Keyword)((question @ _), (keyword @ (_: org.make.core.keyword.Keyword))) => cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.api.sequence.SequenceResult](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: org.make.core.proposal.ProposalKeywordKey = keywordKey;
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$9: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$9.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[org.make.core.proposal.ProposalKeywordKey](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.keyword)
}).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.api.sequence.KeywordSequenceResult](((sequenceResult: org.make.api.sequence.SequenceResult) => KeywordSequenceResult.apply(keyword.key, keyword.label, sequenceResult.proposals, sequenceResult.demographics)))
})))(util.this.ApplyConverter.hac1[org.make.api.sequence.KeywordSequenceResult]).apply(((x$10: org.make.api.sequence.KeywordSequenceResult) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.KeywordSequenceResult](x$10)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.KeywordSequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.KeywordSequenceResult](sequence.this.KeywordSequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.KeywordSequenceResult])))))))))))))))
|
|
292
|
32206
|
12992
-
12995
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.get
|
|
293
|
38770
|
13033
-
13033
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.sequence.sequenceapitest
|
TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)]
|
|
293
|
33862
|
13021
-
13021
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.sequence.sequenceapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
293
|
37137
|
13023
-
13032
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._segmentStringToPathMatcher("keyword")
|
|
293
|
32277
|
13004
-
15117
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalKeywordKey)](DefaultSequenceApi.this.path[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalKeywordKey)](DefaultSequenceApi.this._segmentStringToPathMatcher("sequences")./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("keyword"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[(org.make.core.proposal.ProposalKeywordKey,)](DefaultSequenceApi.this.keywordKey)(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalKeywordKey,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalKeywordKey, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalKeywordKey](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalKeywordKey]))))))(util.this.ApplyConverter.hac2[org.make.core.question.QuestionId, org.make.core.proposal.ProposalKeywordKey]).apply(((questionId: org.make.core.question.QuestionId, keywordKey: org.make.core.proposal.ProposalKeywordKey) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultSequenceApiComponent.this.makeOperation("StartKeywordSequence", DefaultSequenceApiComponent.this.makeOperation$default$2, DefaultSequenceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((userAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language])](DefaultSequenceApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("include").csv[org.make.core.proposal.ProposalId])(DefaultSequenceApi.this.proposalIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultSequenceApi.this._string2NR("token").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac4[Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language]]).apply(((includes: Option[Seq[org.make.core.proposal.ProposalId]], cardId: Option[org.make.core.demographics.DemographicsCardId], token: Option[String], preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.KeywordSequenceResult,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.question.Question, org.make.core.keyword.Keyword)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, org.make.core.keyword.Keyword](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.keyword.Keyword]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.keyword.Keyword](DefaultSequenceApiComponent.this.keywordService.get(keywordKey.value, questionId)).asDirectiveOrNotFound)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.KeywordSequenceResult](((x0$1: (org.make.core.question.Question, org.make.core.keyword.Keyword)) => x0$1 match {
case (_1: org.make.core.question.Question, _2: org.make.core.keyword.Keyword): (org.make.core.question.Question, org.make.core.keyword.Keyword)((question @ _), (keyword @ (_: org.make.core.keyword.Keyword))) => cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.api.sequence.SequenceResult](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: org.make.core.proposal.ProposalKeywordKey = keywordKey;
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$9: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$9.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[org.make.core.proposal.ProposalKeywordKey](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.keyword)
}).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.api.sequence.KeywordSequenceResult](((sequenceResult: org.make.api.sequence.SequenceResult) => KeywordSequenceResult.apply(keyword.key, keyword.label, sequenceResult.proposals, sequenceResult.demographics)))
})))(util.this.ApplyConverter.hac1[org.make.api.sequence.KeywordSequenceResult]).apply(((x$10: org.make.api.sequence.KeywordSequenceResult) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.KeywordSequenceResult](x$10)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.KeywordSequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.KeywordSequenceResult](sequence.this.KeywordSequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.KeywordSequenceResult]))))))))))))))
|
|
293
|
46635
|
13035
-
13045
|
Select
|
org.make.api.sequence.DefaultSequenceApiComponent.DefaultSequenceApi.questionId
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.questionId
|
|
293
|
32238
|
13046
-
13046
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.util.TupleFoldInstances.t1
|
org.make.api.sequence.sequenceapitest
|
TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalKeywordKey, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalKeywordKey](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalKeywordKey]))
|
|
293
|
46078
|
13046
-
13046
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join
|
org.make.api.sequence.sequenceapitest
|
TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalKeywordKey,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalKeywordKey, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalKeywordKey](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalKeywordKey])))
|
|
293
|
37180
|
13009
-
13058
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._segmentStringToPathMatcher("sequences")./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("keyword"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[(org.make.core.proposal.ProposalKeywordKey,)](DefaultSequenceApi.this.keywordKey)(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalKeywordKey,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalKeywordKey, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalKeywordKey](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalKeywordKey]))))
|
|
293
|
30595
|
13048
-
13058
|
Select
|
org.make.api.sequence.DefaultSequenceApiComponent.DefaultSequenceApi.keywordKey
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.keywordKey
|
|
293
|
47088
|
13008
-
13008
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac2
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac2[org.make.core.question.QuestionId, org.make.core.proposal.ProposalKeywordKey]
|
|
293
|
34061
|
13004
-
13059
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.path[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalKeywordKey)](DefaultSequenceApi.this._segmentStringToPathMatcher("sequences")./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("keyword"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[(org.make.core.proposal.ProposalKeywordKey,)](DefaultSequenceApi.this.keywordKey)(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalKeywordKey,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalKeywordKey, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalKeywordKey](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalKeywordKey])))))
|
|
293
|
40559
|
13046
-
13046
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.util.TupleOps.Join.Fold.step
|
org.make.api.sequence.sequenceapitest
|
Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalKeywordKey](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalKeywordKey])
|
|
293
|
45003
|
13009
-
13020
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"sequences"
|
|
293
|
48696
|
13046
-
13046
|
TypeApply
|
akka.http.scaladsl.server.util.TupleAppendOneInstances.append1
|
org.make.api.sequence.sequenceapitest
|
TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalKeywordKey]
|
|
294
|
32696
|
13111
-
13111
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
294
|
36482
|
13098
-
15109
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultSequenceApiComponent.this.makeOperation("StartKeywordSequence", DefaultSequenceApiComponent.this.makeOperation$default$2, DefaultSequenceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((userAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language])](DefaultSequenceApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("include").csv[org.make.core.proposal.ProposalId])(DefaultSequenceApi.this.proposalIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultSequenceApi.this._string2NR("token").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac4[Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language]]).apply(((includes: Option[Seq[org.make.core.proposal.ProposalId]], cardId: Option[org.make.core.demographics.DemographicsCardId], token: Option[String], preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.KeywordSequenceResult,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.question.Question, org.make.core.keyword.Keyword)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, org.make.core.keyword.Keyword](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.keyword.Keyword]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.keyword.Keyword](DefaultSequenceApiComponent.this.keywordService.get(keywordKey.value, questionId)).asDirectiveOrNotFound)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.KeywordSequenceResult](((x0$1: (org.make.core.question.Question, org.make.core.keyword.Keyword)) => x0$1 match {
case (_1: org.make.core.question.Question, _2: org.make.core.keyword.Keyword): (org.make.core.question.Question, org.make.core.keyword.Keyword)((question @ _), (keyword @ (_: org.make.core.keyword.Keyword))) => cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.api.sequence.SequenceResult](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: org.make.core.proposal.ProposalKeywordKey = keywordKey;
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$9: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$9.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[org.make.core.proposal.ProposalKeywordKey](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.keyword)
}).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.api.sequence.KeywordSequenceResult](((sequenceResult: org.make.api.sequence.SequenceResult) => KeywordSequenceResult.apply(keyword.key, keyword.label, sequenceResult.proposals, sequenceResult.demographics)))
})))(util.this.ApplyConverter.hac1[org.make.api.sequence.KeywordSequenceResult]).apply(((x$10: org.make.api.sequence.KeywordSequenceResult) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.KeywordSequenceResult](x$10)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.KeywordSequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.KeywordSequenceResult](sequence.this.KeywordSequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.KeywordSequenceResult]))))))))))))
|
|
294
|
38805
|
13112
-
13134
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"StartKeywordSequence"
|
|
294
|
43713
|
13098
-
13098
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation$default$3
|
|
294
|
40596
|
13098
-
13135
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation("StartKeywordSequence", DefaultSequenceApiComponent.this.makeOperation$default$2, DefaultSequenceApiComponent.this.makeOperation$default$3)
|
|
294
|
31679
|
13098
-
13098
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation$default$2
|
|
295
|
44601
|
13166
-
15099
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((userAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language])](DefaultSequenceApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("include").csv[org.make.core.proposal.ProposalId])(DefaultSequenceApi.this.proposalIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultSequenceApi.this._string2NR("token").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac4[Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language]]).apply(((includes: Option[Seq[org.make.core.proposal.ProposalId]], cardId: Option[org.make.core.demographics.DemographicsCardId], token: Option[String], preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.KeywordSequenceResult,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.question.Question, org.make.core.keyword.Keyword)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, org.make.core.keyword.Keyword](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.keyword.Keyword]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.keyword.Keyword](DefaultSequenceApiComponent.this.keywordService.get(keywordKey.value, questionId)).asDirectiveOrNotFound)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.KeywordSequenceResult](((x0$1: (org.make.core.question.Question, org.make.core.keyword.Keyword)) => x0$1 match {
case (_1: org.make.core.question.Question, _2: org.make.core.keyword.Keyword): (org.make.core.question.Question, org.make.core.keyword.Keyword)((question @ _), (keyword @ (_: org.make.core.keyword.Keyword))) => cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.api.sequence.SequenceResult](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: org.make.core.proposal.ProposalKeywordKey = keywordKey;
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$9: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$9.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[org.make.core.proposal.ProposalKeywordKey](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.keyword)
}).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.api.sequence.KeywordSequenceResult](((sequenceResult: org.make.api.sequence.SequenceResult) => KeywordSequenceResult.apply(keyword.key, keyword.label, sequenceResult.proposals, sequenceResult.demographics)))
})))(util.this.ApplyConverter.hac1[org.make.api.sequence.KeywordSequenceResult]).apply(((x$10: org.make.api.sequence.KeywordSequenceResult) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.KeywordSequenceResult](x$10)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.KeywordSequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.KeywordSequenceResult](sequence.this.KeywordSequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.KeywordSequenceResult]))))))))))
|
|
295
|
33816
|
13182
-
13182
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]
|
|
295
|
46113
|
13166
-
13166
|
Select
|
org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.optionalOidcAuth$default$2
|
|
295
|
38236
|
13166
-
13194
|
Apply
|
org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2)
|
|
296
|
38511
|
13251
-
13452
|
Apply
|
akka.http.scaladsl.server.directives.ParameterDirectivesInstances.parameters
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("include").csv[org.make.core.proposal.ProposalId])(DefaultSequenceApi.this.proposalIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultSequenceApi.this._string2NR("token").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller)))
|
|
296
|
30884
|
13261
-
13261
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac4
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac4[Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language]]
|
|
297
|
31712
|
13290
-
13290
|
Select
|
org.make.core.ParameterExtractors.proposalIdFromStringUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.proposalIdFromStringUnmarshaller
|
|
297
|
47125
|
13277
-
13286
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"include"
|
|
297
|
38722
|
13277
-
13302
|
TypeApply
|
org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps.csv
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("include").csv[org.make.core.proposal.ProposalId]
|
|
297
|
44518
|
13277
-
13302
|
ApplyToImplicitArgs
|
org.make.api.technical.CsvReceptacle.paramSpec
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("include").csv[org.make.core.proposal.ProposalId])(DefaultSequenceApi.this.proposalIdFromStringUnmarshaller)
|
|
298
|
33850
|
13318
-
13363
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.sequence.sequenceapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller))
|
|
298
|
38276
|
13362
-
13362
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller)
|
|
298
|
40348
|
13318
-
13338
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"demographicsCardId"
|
|
298
|
45254
|
13362
-
13362
|
Select
|
org.make.core.ParameterExtractors.demographicsCardIdFromStringUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller
|
|
298
|
32735
|
13318
-
13363
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?
|
|
299
|
40385
|
13379
-
13388
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.sequence.sequenceapitest
|
ParameterDirectives.this.ParamSpec.forNOR[String](DefaultSequenceApi.this._string2NR("token").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
|
|
299
|
46880
|
13379
-
13386
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"token"
|
|
299
|
30847
|
13387
-
13387
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
299
|
44281
|
13387
-
13387
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
|
|
299
|
38758
|
13379
-
13388
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._string2NR("token").?
|
|
300
|
46916
|
13404
-
13438
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.sequence.sequenceapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))
|
|
300
|
45292
|
13404
-
13438
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?
|
|
300
|
50830
|
13437
-
13437
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller)
|
|
300
|
37166
|
13437
-
13437
|
Select
|
org.make.core.ParameterExtractors.languageFromStringUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.languageFromStringUnmarshaller
|
|
300
|
31955
|
13404
-
13423
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"preferredLanguage"
|
|
301
|
30632
|
13251
-
15087
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language])](DefaultSequenceApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("include").csv[org.make.core.proposal.ProposalId])(DefaultSequenceApi.this.proposalIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.demographics.DemographicsCardId](DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultSequenceApi.this._string2NR("token").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac4[Option[Seq[org.make.core.proposal.ProposalId]], Option[org.make.core.demographics.DemographicsCardId], Option[String], Option[org.make.core.reference.Language]]).apply(((includes: Option[Seq[org.make.core.proposal.ProposalId]], cardId: Option[org.make.core.demographics.DemographicsCardId], token: Option[String], preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.KeywordSequenceResult,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.question.Question, org.make.core.keyword.Keyword)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, org.make.core.keyword.Keyword](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.keyword.Keyword]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.keyword.Keyword](DefaultSequenceApiComponent.this.keywordService.get(keywordKey.value, questionId)).asDirectiveOrNotFound)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.KeywordSequenceResult](((x0$1: (org.make.core.question.Question, org.make.core.keyword.Keyword)) => x0$1 match {
case (_1: org.make.core.question.Question, _2: org.make.core.keyword.Keyword): (org.make.core.question.Question, org.make.core.keyword.Keyword)((question @ _), (keyword @ (_: org.make.core.keyword.Keyword))) => cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.api.sequence.SequenceResult](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: org.make.core.proposal.ProposalKeywordKey = keywordKey;
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$9: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$9.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[org.make.core.proposal.ProposalKeywordKey](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.keyword)
}).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.api.sequence.KeywordSequenceResult](((sequenceResult: org.make.api.sequence.SequenceResult) => KeywordSequenceResult.apply(keyword.key, keyword.label, sequenceResult.proposals, sequenceResult.demographics)))
})))(util.this.ApplyConverter.hac1[org.make.api.sequence.KeywordSequenceResult]).apply(((x$10: org.make.api.sequence.KeywordSequenceResult) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.KeywordSequenceResult](x$10)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.KeywordSequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.KeywordSequenceResult](sequence.this.KeywordSequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.KeywordSequenceResult]))))))))
|
|
308
|
50258
|
13700
-
13895
|
Apply
|
scala.Tuple2.apply
|
org.make.api.sequence.sequenceapitest
|
scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.keyword.Keyword]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.keyword.Keyword](DefaultSequenceApiComponent.this.keywordService.get(keywordKey.value, questionId)).asDirectiveOrNotFound)
|
|
309
|
43703
|
13720
-
13765
|
Apply
|
org.make.api.question.QuestionService.getCachedQuestion
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)
|
|
309
|
40143
|
13720
-
13787
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound
|
|
310
|
45331
|
13807
-
13855
|
Apply
|
org.make.api.keyword.KeywordService.get
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.keywordService.get(keywordKey.value, questionId)
|
|
310
|
31988
|
13826
-
13842
|
Select
|
org.make.core.proposal.ProposalKeywordKey.value
|
org.make.api.sequence.sequenceapitest
|
keywordKey.value
|
|
310
|
38226
|
13807
-
13877
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.keyword.Keyword](DefaultSequenceApiComponent.this.keywordService.get(keywordKey.value, questionId)).asDirectiveOrNotFound
|
|
311
|
44765
|
13896
-
13896
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
311
|
31699
|
13700
-
13902
|
ApplyToImplicitArgs
|
cats.syntax.Tuple2SemigroupalOps.tupled
|
org.make.api.sequence.sequenceapitest
|
cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, org.make.core.keyword.Keyword](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.keyword.Keyword]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.keyword.Keyword](DefaultSequenceApiComponent.this.keywordService.get(keywordKey.value, questionId)).asDirectiveOrNotFound)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad)
|
|
311
|
38547
|
13896
-
13896
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
311
|
47450
|
13896
-
13896
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
312
|
31499
|
13700
-
15035
|
Apply
|
cats.FlatMap.Ops.flatMap
|
org.make.api.sequence.sequenceapitest
|
cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.question.Question, org.make.core.keyword.Keyword)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, org.make.core.keyword.Keyword](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.keyword.Keyword]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.keyword.Keyword](DefaultSequenceApiComponent.this.keywordService.get(keywordKey.value, questionId)).asDirectiveOrNotFound)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.KeywordSequenceResult](((x0$1: (org.make.core.question.Question, org.make.core.keyword.Keyword)) => x0$1 match {
case (_1: org.make.core.question.Question, _2: org.make.core.keyword.Keyword): (org.make.core.question.Question, org.make.core.keyword.Keyword)((question @ _), (keyword @ (_: org.make.core.keyword.Keyword))) => cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.api.sequence.SequenceResult](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: org.make.core.proposal.ProposalKeywordKey = keywordKey;
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$9: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$9.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[org.make.core.proposal.ProposalKeywordKey](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.keyword)
}).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.api.sequence.KeywordSequenceResult](((sequenceResult: org.make.api.sequence.SequenceResult) => KeywordSequenceResult.apply(keyword.key, keyword.label, sequenceResult.proposals, sequenceResult.demographics)))
}))
|
|
312
|
44566
|
13929
-
13929
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.api.sequence.KeywordSequenceResult]
|
|
314
|
35879
|
14011
-
14026
|
Select
|
org.make.api.sequence.SequenceServiceComponent.sequenceService
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.sequenceService
|
|
315
|
46868
|
14052
-
14052
|
TypeApply
|
org.make.api.sequence.SequenceService.startNewSequence$default$7
|
org.make.api.sequence.sequenceapitest
|
qual$1.startNewSequence$default$7[Nothing]
|
|
315
|
31462
|
14011
-
14553
|
Apply
|
org.make.api.sequence.SequenceService.startNewSequence
|
org.make.api.sequence.sequenceapitest
|
qual$1.startNewSequence[org.make.core.proposal.ProposalKeywordKey](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.keyword)
|
|
315
|
38586
|
14068
-
14068
|
Select
|
org.make.api.sequence.SequenceBehaviourProvider.keyword
|
org.make.api.sequence.sequenceapitest
|
sequence.this.SequenceBehaviourProvider.keyword
|
|
317
|
33063
|
14178
-
14191
|
Select
|
org.make.core.auth.UserRights.userId
|
|
x$9.user.userId
|
|
317
|
45087
|
14165
-
14192
|
Apply
|
scala.Option.map
|
org.make.api.sequence.sequenceapitest
|
userAuth.map[org.make.core.user.UserId](((x$9: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$9.user.userId))
|
|
318
|
38267
|
14262
-
14271
|
TypeApply
|
scala.collection.SeqFactory.Delegate.empty
|
org.make.api.sequence.sequenceapitest
|
scala.`package`.Seq.empty[Nothing]
|
|
318
|
51323
|
14243
-
14272
|
Apply
|
scala.Option.getOrElse
|
org.make.api.sequence.sequenceapitest
|
includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing])
|
|
325
|
36410
|
14579
-
14579
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
325
|
44805
|
14011
-
14590
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: org.make.core.proposal.ProposalKeywordKey = keywordKey;
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$9: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$9.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[org.make.core.proposal.ProposalKeywordKey](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.keyword)
}).asDirective
|
|
326
|
39048
|
14011
-
15014
|
Apply
|
cats.Functor.Ops.map
|
org.make.api.sequence.sequenceapitest
|
cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.api.sequence.SequenceResult](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: org.make.core.proposal.ProposalKeywordKey = keywordKey;
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$9: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$9.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[org.make.core.proposal.ProposalKeywordKey](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.keyword)
}).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.api.sequence.KeywordSequenceResult](((sequenceResult: org.make.api.sequence.SequenceResult) => KeywordSequenceResult.apply(keyword.key, keyword.label, sequenceResult.proposals, sequenceResult.demographics)))
|
|
328
|
46636
|
14693
-
14988
|
Apply
|
org.make.api.sequence.KeywordSequenceResult.apply
|
org.make.api.sequence.sequenceapitest
|
KeywordSequenceResult.apply(keyword.key, keyword.label, sequenceResult.proposals, sequenceResult.demographics)
|
|
329
|
32483
|
14752
-
14763
|
Select
|
org.make.core.keyword.Keyword.key
|
org.make.api.sequence.sequenceapitest
|
keyword.key
|
|
330
|
45901
|
14803
-
14816
|
Select
|
org.make.core.keyword.Keyword.label
|
org.make.api.sequence.sequenceapitest
|
keyword.label
|
|
331
|
38024
|
14860
-
14884
|
Select
|
org.make.api.sequence.SequenceResult.proposals
|
org.make.api.sequence.sequenceapitest
|
sequenceResult.proposals
|
|
332
|
51361
|
14931
-
14958
|
Select
|
org.make.api.sequence.SequenceResult.demographics
|
org.make.api.sequence.sequenceapitest
|
sequenceResult.demographics
|
|
336
|
32521
|
15070
-
15070
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.KeywordSequenceResult]
|
|
336
|
42976
|
15061
-
15072
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.KeywordSequenceResult](x$10)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.KeywordSequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.KeywordSequenceResult](sequence.this.KeywordSequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.KeywordSequenceResult]))))
|
|
336
|
38062
|
15070
-
15070
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
org.make.api.sequence.sequenceapitest
|
marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.KeywordSequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.KeywordSequenceResult](sequence.this.KeywordSequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.KeywordSequenceResult]))
|
|
336
|
45036
|
15070
-
15070
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.KeywordSequenceResult](sequence.this.KeywordSequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.KeywordSequenceResult])
|
|
336
|
36450
|
15070
-
15070
|
Select
|
org.make.api.sequence.KeywordSequenceResult.encoder
|
org.make.api.sequence.sequenceapitest
|
sequence.this.KeywordSequenceResult.encoder
|
|
336
|
50580
|
15070
-
15071
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
org.make.api.sequence.sequenceapitest
|
marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.KeywordSequenceResult](x$10)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.KeywordSequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.KeywordSequenceResult](sequence.this.KeywordSequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.KeywordSequenceResult])))
|
|
336
|
39087
|
13700
-
15073
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(org.make.api.sequence.KeywordSequenceResult,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.question.Question, org.make.core.keyword.Keyword)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, org.make.core.keyword.Keyword](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.keyword.Keyword]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.keyword.Keyword](DefaultSequenceApiComponent.this.keywordService.get(keywordKey.value, questionId)).asDirectiveOrNotFound)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.KeywordSequenceResult](((x0$1: (org.make.core.question.Question, org.make.core.keyword.Keyword)) => x0$1 match {
case (_1: org.make.core.question.Question, _2: org.make.core.keyword.Keyword): (org.make.core.question.Question, org.make.core.keyword.Keyword)((question @ _), (keyword @ (_: org.make.core.keyword.Keyword))) => cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.api.sequence.SequenceResult](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.sequence.SequenceResult]({
<artifact> val qual$1: org.make.api.sequence.SequenceService = DefaultSequenceApiComponent.this.sequenceService;
<artifact> val x$1: org.make.core.proposal.ProposalKeywordKey = keywordKey;
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$9: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$9.user.userId));
<artifact> val x$3: Seq[org.make.core.proposal.ProposalId] @scala.reflect.internal.annotations.uncheckedBounds = includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing]);
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: Option[org.make.core.demographics.DemographicsCardId] @scala.reflect.internal.annotations.uncheckedBounds = cardId;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = token;
<artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = preferredLanguage;
<artifact> val x$8: org.make.core.question.Question = question;
<artifact> val x$9: Option[org.make.core.sequence.SequenceConfiguration] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.startNewSequence$default$7[Nothing];
qual$1.startNewSequence[org.make.core.proposal.ProposalKeywordKey](x$1, x$2, x$3, x$4, x$5, x$6, x$9, x$7, x$8)(sequence.this.SequenceBehaviourProvider.keyword)
}).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.api.sequence.KeywordSequenceResult](((sequenceResult: org.make.api.sequence.SequenceResult) => KeywordSequenceResult.apply(keyword.key, keyword.label, sequenceResult.proposals, sequenceResult.demographics)))
})))(util.this.ApplyConverter.hac1[org.make.api.sequence.KeywordSequenceResult]).apply(((x$10: org.make.api.sequence.KeywordSequenceResult) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.KeywordSequenceResult](x$10)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.KeywordSequenceResult](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.KeywordSequenceResult](sequence.this.KeywordSequenceResult.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.KeywordSequenceResult]))))))
|
|
343
|
37208
|
15176
-
15179
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.get
|
|
343
|
42544
|
15176
-
16281
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addByNameNullaryApply(DefaultSequenceApi.this.get).apply(server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.path[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this._segmentStringToPathMatcher("sequences")./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("standard"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("first-proposal"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.core.question.QuestionId]).apply(((questionId: org.make.core.question.QuestionId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultSequenceApiComponent.this.makeOperation("GetStandardFirstProposal", DefaultSequenceApiComponent.this.makeOperation$default$2, DefaultSequenceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((x$11: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[org.make.core.reference.Language],)](DefaultSequenceApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac1[Option[org.make.core.reference.Language]]).apply(((preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.FirstProposalResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.sequence.SequenceConfiguration]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.sequence.SequenceConfiguration](DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.FirstProposalResponse](((x0$1: (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)) => x0$1 match {
case (_1: org.make.core.question.Question, _2: org.make.core.sequence.SequenceConfiguration): (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)((question @ _), (config @ _)) => cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.api.proposal.ProposalResponse](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalResponse](DefaultSequenceApiComponent.this.sequenceCacheManagerService.getProposal(questionId, requestContext, preferredLanguage, question.defaultLanguage)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.api.sequence.FirstProposalResponse](((x$12: org.make.api.proposal.ProposalResponse) => FirstProposalResponse.apply(x$12, config.mainSequence.sequenceSize)))
})))(util.this.ApplyConverter.hac1[org.make.api.sequence.FirstProposalResponse]).apply(((x$13: org.make.api.sequence.FirstProposalResponse) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.FirstProposalResponse](x$13)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.FirstProposalResponse](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.FirstProposalResponse](sequence.this.FirstProposalResponse.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.FirstProposalResponse])))))))))))))))
|
|
344
|
36240
|
15233
-
15249
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._segmentStringToPathMatcher("first-proposal")
|
|
344
|
50855
|
15188
-
16275
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.path[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this._segmentStringToPathMatcher("sequences")./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("standard"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("first-proposal"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.core.question.QuestionId]).apply(((questionId: org.make.core.question.QuestionId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultSequenceApiComponent.this.makeOperation("GetStandardFirstProposal", DefaultSequenceApiComponent.this.makeOperation$default$2, DefaultSequenceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((x$11: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[org.make.core.reference.Language],)](DefaultSequenceApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac1[Option[org.make.core.reference.Language]]).apply(((preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.FirstProposalResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.sequence.SequenceConfiguration]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.sequence.SequenceConfiguration](DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.FirstProposalResponse](((x0$1: (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)) => x0$1 match {
case (_1: org.make.core.question.Question, _2: org.make.core.sequence.SequenceConfiguration): (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)((question @ _), (config @ _)) => cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.api.proposal.ProposalResponse](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalResponse](DefaultSequenceApiComponent.this.sequenceCacheManagerService.getProposal(questionId, requestContext, preferredLanguage, question.defaultLanguage)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.api.sequence.FirstProposalResponse](((x$12: org.make.api.proposal.ProposalResponse) => FirstProposalResponse.apply(x$12, config.mainSequence.sequenceSize)))
})))(util.this.ApplyConverter.hac1[org.make.api.sequence.FirstProposalResponse]).apply(((x$13: org.make.api.sequence.FirstProposalResponse) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.FirstProposalResponse](x$13)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.FirstProposalResponse](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.FirstProposalResponse](sequence.this.FirstProposalResponse.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.FirstProposalResponse]))))))))))))))
|
|
344
|
43010
|
15207
-
15217
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._segmentStringToPathMatcher("standard")
|
|
344
|
46144
|
15231
-
15231
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join
|
org.make.api.sequence.sequenceapitest
|
TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])
|
|
344
|
32309
|
15231
-
15231
|
TypeApply
|
akka.http.scaladsl.server.util.TupleFoldInstances.t0
|
org.make.api.sequence.sequenceapitest
|
TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
|
|
344
|
30664
|
15220
-
15230
|
Select
|
org.make.api.sequence.DefaultSequenceApiComponent.DefaultSequenceApi.questionId
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.questionId
|
|
344
|
44519
|
15218
-
15218
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.sequence.sequenceapitest
|
TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)]
|
|
344
|
37243
|
15193
-
15249
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._segmentStringToPathMatcher("sequences")./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("standard"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("first-proposal"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))
|
|
344
|
51346
|
15188
-
15250
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.path[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this._segmentStringToPathMatcher("sequences")./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("standard"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("first-proposal"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])))
|
|
344
|
42760
|
15192
-
15192
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.core.question.QuestionId]
|
|
344
|
39605
|
15205
-
15205
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.sequence.sequenceapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
344
|
50619
|
15193
-
15204
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"sequences"
|
|
345
|
44556
|
15275
-
15275
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation$default$3
|
|
345
|
36969
|
15275
-
15316
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation("GetStandardFirstProposal", DefaultSequenceApiComponent.this.makeOperation$default$2, DefaultSequenceApiComponent.this.makeOperation$default$3)
|
|
345
|
39639
|
15289
-
15315
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"GetStandardFirstProposal"
|
|
345
|
50079
|
15288
-
15288
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
345
|
31749
|
15275
-
15275
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation$default$2
|
|
345
|
38340
|
15275
-
16267
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultSequenceApiComponent.this.makeOperation("GetStandardFirstProposal", DefaultSequenceApiComponent.this.makeOperation$default$2, DefaultSequenceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((x$11: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[org.make.core.reference.Language],)](DefaultSequenceApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac1[Option[org.make.core.reference.Language]]).apply(((preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.FirstProposalResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.sequence.SequenceConfiguration]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.sequence.SequenceConfiguration](DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.FirstProposalResponse](((x0$1: (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)) => x0$1 match {
case (_1: org.make.core.question.Question, _2: org.make.core.sequence.SequenceConfiguration): (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)((question @ _), (config @ _)) => cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.api.proposal.ProposalResponse](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalResponse](DefaultSequenceApiComponent.this.sequenceCacheManagerService.getProposal(questionId, requestContext, preferredLanguage, question.defaultLanguage)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.api.sequence.FirstProposalResponse](((x$12: org.make.api.proposal.ProposalResponse) => FirstProposalResponse.apply(x$12, config.mainSequence.sequenceSize)))
})))(util.this.ApplyConverter.hac1[org.make.api.sequence.FirstProposalResponse]).apply(((x$13: org.make.api.sequence.FirstProposalResponse) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.FirstProposalResponse](x$13)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.FirstProposalResponse](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.FirstProposalResponse](sequence.this.FirstProposalResponse.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.FirstProposalResponse]))))))))))))
|
|
346
|
46180
|
15347
-
15347
|
Select
|
org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.optionalOidcAuth$default$2
|
|
346
|
42226
|
15347
-
16257
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((x$11: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[org.make.core.reference.Language],)](DefaultSequenceApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac1[Option[org.make.core.reference.Language]]).apply(((preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.FirstProposalResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.sequence.SequenceConfiguration]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.sequence.SequenceConfiguration](DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.FirstProposalResponse](((x0$1: (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)) => x0$1 match {
case (_1: org.make.core.question.Question, _2: org.make.core.sequence.SequenceConfiguration): (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)((question @ _), (config @ _)) => cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.api.proposal.ProposalResponse](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalResponse](DefaultSequenceApiComponent.this.sequenceCacheManagerService.getProposal(questionId, requestContext, preferredLanguage, question.defaultLanguage)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.api.sequence.FirstProposalResponse](((x$12: org.make.api.proposal.ProposalResponse) => FirstProposalResponse.apply(x$12, config.mainSequence.sequenceSize)))
})))(util.this.ApplyConverter.hac1[org.make.api.sequence.FirstProposalResponse]).apply(((x$13: org.make.api.sequence.FirstProposalResponse) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.FirstProposalResponse](x$13)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.FirstProposalResponse](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.FirstProposalResponse](sequence.this.FirstProposalResponse.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.FirstProposalResponse]))))))))))
|
|
346
|
51105
|
15363
-
15363
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]
|
|
346
|
38050
|
15347
-
15375
|
Apply
|
org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2)
|
|
347
|
39398
|
15406
-
15440
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?
|
|
347
|
43503
|
15406
-
15425
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"preferredLanguage"
|
|
347
|
36726
|
15406
-
15440
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.sequence.sequenceapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))
|
|
347
|
31782
|
15439
-
15439
|
Select
|
org.make.core.ParameterExtractors.languageFromStringUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.languageFromStringUnmarshaller
|
|
347
|
45945
|
15405
-
15405
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[Option[org.make.core.reference.Language]]
|
|
347
|
49498
|
15395
-
15441
|
Apply
|
akka.http.scaladsl.server.directives.ParameterDirectivesInstances.parameters
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller)))
|
|
347
|
49321
|
15395
-
16245
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(Option[org.make.core.reference.Language],)](DefaultSequenceApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac1[Option[org.make.core.reference.Language]]).apply(((preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.FirstProposalResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.sequence.SequenceConfiguration]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.sequence.SequenceConfiguration](DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.FirstProposalResponse](((x0$1: (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)) => x0$1 match {
case (_1: org.make.core.question.Question, _2: org.make.core.sequence.SequenceConfiguration): (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)((question @ _), (config @ _)) => cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.api.proposal.ProposalResponse](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalResponse](DefaultSequenceApiComponent.this.sequenceCacheManagerService.getProposal(questionId, requestContext, preferredLanguage, question.defaultLanguage)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.api.sequence.FirstProposalResponse](((x$12: org.make.api.proposal.ProposalResponse) => FirstProposalResponse.apply(x$12, config.mainSequence.sequenceSize)))
})))(util.this.ApplyConverter.hac1[org.make.api.sequence.FirstProposalResponse]).apply(((x$13: org.make.api.sequence.FirstProposalResponse) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.FirstProposalResponse](x$13)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.FirstProposalResponse](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.FirstProposalResponse](sequence.this.FirstProposalResponse.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.FirstProposalResponse]))))))))
|
|
347
|
44590
|
15439
-
15439
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller)
|
|
351
|
31275
|
15547
-
15803
|
Apply
|
scala.Tuple2.apply
|
org.make.api.sequence.sequenceapitest
|
scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.sequence.SequenceConfiguration]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.sequence.SequenceConfiguration](DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)).asDirective)
|
|
352
|
37806
|
15567
-
15612
|
Apply
|
org.make.api.question.QuestionService.getCachedQuestion
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)
|
|
352
|
51141
|
15567
-
15634
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound
|
|
354
|
42714
|
15654
-
15752
|
Apply
|
org.make.api.sequence.SequenceConfigurationService.getSequenceConfigurationByQuestionId
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)
|
|
355
|
35115
|
15654
-
15785
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.sequence.SequenceConfiguration](DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)).asDirective
|
|
356
|
44353
|
15804
-
15804
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
356
|
49251
|
15547
-
15810
|
ApplyToImplicitArgs
|
cats.syntax.Tuple2SemigroupalOps.tupled
|
org.make.api.sequence.sequenceapitest
|
cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.sequence.SequenceConfiguration]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.sequence.SequenceConfiguration](DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad)
|
|
356
|
45369
|
15804
-
15804
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
356
|
36764
|
15804
-
15804
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
357
|
45412
|
15837
-
15837
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.api.sequence.FirstProposalResponse]
|
|
357
|
49287
|
15547
-
16193
|
Apply
|
cats.FlatMap.Ops.flatMap
|
org.make.api.sequence.sequenceapitest
|
cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.sequence.SequenceConfiguration]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.sequence.SequenceConfiguration](DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.FirstProposalResponse](((x0$1: (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)) => x0$1 match {
case (_1: org.make.core.question.Question, _2: org.make.core.sequence.SequenceConfiguration): (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)((question @ _), (config @ _)) => cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.api.proposal.ProposalResponse](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalResponse](DefaultSequenceApiComponent.this.sequenceCacheManagerService.getProposal(questionId, requestContext, preferredLanguage, question.defaultLanguage)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.api.sequence.FirstProposalResponse](((x$12: org.make.api.proposal.ProposalResponse) => FirstProposalResponse.apply(x$12, config.mainSequence.sequenceSize)))
}))
|
|
360
|
50902
|
15909
-
16046
|
Apply
|
org.make.api.sequence.SequenceCacheManagerService.getProposal
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.sequenceCacheManagerService.getProposal(questionId, requestContext, preferredLanguage, question.defaultLanguage)
|
|
360
|
37840
|
16021
-
16045
|
Select
|
org.make.core.question.Question.defaultLanguage
|
org.make.api.sequence.sequenceapitest
|
question.defaultLanguage
|
|
361
|
42749
|
15909
-
16083
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalResponse](DefaultSequenceApiComponent.this.sequenceCacheManagerService.getProposal(questionId, requestContext, preferredLanguage, question.defaultLanguage)).asDirective
|
|
361
|
34871
|
16072
-
16072
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
362
|
35985
|
15909
-
16172
|
Apply
|
cats.Functor.Ops.map
|
org.make.api.sequence.sequenceapitest
|
cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.api.proposal.ProposalResponse](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalResponse](DefaultSequenceApiComponent.this.sequenceCacheManagerService.getProposal(questionId, requestContext, preferredLanguage, question.defaultLanguage)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.api.sequence.FirstProposalResponse](((x$12: org.make.api.proposal.ProposalResponse) => FirstProposalResponse.apply(x$12, config.mainSequence.sequenceSize)))
|
|
362
|
31735
|
16138
-
16170
|
Select
|
org.make.core.sequence.ExplorationSequenceConfiguration.sequenceSize
|
org.make.api.sequence.sequenceapitest
|
config.mainSequence.sequenceSize
|
|
362
|
44385
|
16113
-
16171
|
Apply
|
org.make.api.sequence.FirstProposalResponse.apply
|
org.make.api.sequence.sequenceapitest
|
FirstProposalResponse.apply(x$12, config.mainSequence.sequenceSize)
|
|
364
|
31772
|
16228
-
16229
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
org.make.api.sequence.sequenceapitest
|
marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.FirstProposalResponse](x$13)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.FirstProposalResponse](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.FirstProposalResponse](sequence.this.FirstProposalResponse.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.FirstProposalResponse])))
|
|
364
|
44837
|
16219
-
16230
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.FirstProposalResponse](x$13)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.FirstProposalResponse](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.FirstProposalResponse](sequence.this.FirstProposalResponse.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.FirstProposalResponse]))))
|
|
364
|
50938
|
16228
-
16228
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.FirstProposalResponse]
|
|
364
|
42510
|
16228
-
16228
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.FirstProposalResponse](sequence.this.FirstProposalResponse.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.FirstProposalResponse])
|
|
364
|
38299
|
16228
-
16228
|
Select
|
org.make.api.sequence.FirstProposalResponse.encoder
|
org.make.api.sequence.sequenceapitest
|
sequence.this.FirstProposalResponse.encoder
|
|
364
|
34910
|
16228
-
16228
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
org.make.api.sequence.sequenceapitest
|
marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.FirstProposalResponse](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.FirstProposalResponse](sequence.this.FirstProposalResponse.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.FirstProposalResponse]))
|
|
364
|
36019
|
15547
-
16231
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(org.make.api.sequence.FirstProposalResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.sequence.SequenceConfiguration]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.sequence.SequenceConfiguration](DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.FirstProposalResponse](((x0$1: (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)) => x0$1 match {
case (_1: org.make.core.question.Question, _2: org.make.core.sequence.SequenceConfiguration): (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)((question @ _), (config @ _)) => cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.api.proposal.ProposalResponse](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalResponse](DefaultSequenceApiComponent.this.sequenceCacheManagerService.getProposal(questionId, requestContext, preferredLanguage, question.defaultLanguage)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.api.sequence.FirstProposalResponse](((x$12: org.make.api.proposal.ProposalResponse) => FirstProposalResponse.apply(x$12, config.mainSequence.sequenceSize)))
})))(util.this.ApplyConverter.hac1[org.make.api.sequence.FirstProposalResponse]).apply(((x$13: org.make.api.sequence.FirstProposalResponse) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.FirstProposalResponse](x$13)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.FirstProposalResponse](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.FirstProposalResponse](sequence.this.FirstProposalResponse.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.FirstProposalResponse]))))))
|
|
371
|
34941
|
16337
-
16340
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.get
|
|
371
|
40710
|
16337
-
17418
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addByNameNullaryApply(DefaultSequenceApi.this.get).apply(server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.path[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this._segmentStringToPathMatcher("sequences")./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("controversy"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("first-proposal"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.core.question.QuestionId]).apply(((questionId: org.make.core.question.QuestionId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultSequenceApiComponent.this.makeOperation("GetControversyFirstProposal", DefaultSequenceApiComponent.this.makeOperation$default$2, DefaultSequenceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((x$14: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[org.make.core.reference.Language],)](DefaultSequenceApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac1[Option[org.make.core.reference.Language]]).apply(((preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.FirstProposalResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.sequence.SequenceConfiguration]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.sequence.SequenceConfiguration](DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.FirstProposalResponse](((x0$1: (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)) => x0$1 match {
case (_1: org.make.core.question.Question, _2: org.make.core.sequence.SequenceConfiguration): (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)((question @ _), (config @ _)) => cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.api.proposal.ProposalResponse](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalResponse](DefaultSequenceApiComponent.this.sequenceCacheManagerService.getControversyProposal(questionId, requestContext, preferredLanguage, question.defaultLanguage)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.api.sequence.FirstProposalResponse](((x$15: org.make.api.proposal.ProposalResponse) => FirstProposalResponse.apply(x$15, config.controversial.sequenceSize)))
})))(util.this.ApplyConverter.hac1[org.make.api.sequence.FirstProposalResponse]).apply(((x$16: org.make.api.sequence.FirstProposalResponse) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.FirstProposalResponse](x$16)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.FirstProposalResponse](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.FirstProposalResponse](sequence.this.FirstProposalResponse.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.FirstProposalResponse])))))))))))))))
|
|
372
|
49090
|
16384
-
16394
|
Select
|
org.make.api.sequence.DefaultSequenceApiComponent.DefaultSequenceApi.questionId
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.questionId
|
|
372
|
31571
|
16349
-
16414
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.path[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this._segmentStringToPathMatcher("sequences")./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("controversy"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("first-proposal"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])))
|
|
372
|
36484
|
16366
-
16366
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.sequence.sequenceapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
372
|
35473
|
16354
-
16413
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._segmentStringToPathMatcher("sequences")./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("controversy"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("first-proposal"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))
|
|
372
|
38096
|
16397
-
16413
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._segmentStringToPathMatcher("first-proposal")
|
|
372
|
31534
|
16354
-
16365
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"sequences"
|
|
372
|
43290
|
16395
-
16395
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join
|
org.make.api.sequence.sequenceapitest
|
TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])
|
|
372
|
50892
|
16395
-
16395
|
TypeApply
|
akka.http.scaladsl.server.util.TupleFoldInstances.t0
|
org.make.api.sequence.sequenceapitest
|
TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
|
|
372
|
44100
|
16353
-
16353
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.core.question.QuestionId]
|
|
372
|
42264
|
16382
-
16382
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.sequence.sequenceapitest
|
TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)]
|
|
372
|
48592
|
16349
-
17412
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.path[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this._segmentStringToPathMatcher("sequences")./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("controversy"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("first-proposal"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.core.question.QuestionId]).apply(((questionId: org.make.core.question.QuestionId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultSequenceApiComponent.this.makeOperation("GetControversyFirstProposal", DefaultSequenceApiComponent.this.makeOperation$default$2, DefaultSequenceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((x$14: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[org.make.core.reference.Language],)](DefaultSequenceApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac1[Option[org.make.core.reference.Language]]).apply(((preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.FirstProposalResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.sequence.SequenceConfiguration]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.sequence.SequenceConfiguration](DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.FirstProposalResponse](((x0$1: (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)) => x0$1 match {
case (_1: org.make.core.question.Question, _2: org.make.core.sequence.SequenceConfiguration): (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)((question @ _), (config @ _)) => cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.api.proposal.ProposalResponse](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalResponse](DefaultSequenceApiComponent.this.sequenceCacheManagerService.getControversyProposal(questionId, requestContext, preferredLanguage, question.defaultLanguage)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.api.sequence.FirstProposalResponse](((x$15: org.make.api.proposal.ProposalResponse) => FirstProposalResponse.apply(x$15, config.controversial.sequenceSize)))
})))(util.this.ApplyConverter.hac1[org.make.api.sequence.FirstProposalResponse]).apply(((x$16: org.make.api.sequence.FirstProposalResponse) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.FirstProposalResponse](x$16)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.FirstProposalResponse](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.FirstProposalResponse](sequence.this.FirstProposalResponse.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.FirstProposalResponse]))))))))))))))
|
|
372
|
44874
|
16368
-
16381
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._segmentStringToPathMatcher("controversy")
|
|
373
|
50929
|
16452
-
16452
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
373
|
42022
|
16439
-
16439
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation$default$3
|
|
373
|
38131
|
16439
-
16483
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation("GetControversyFirstProposal", DefaultSequenceApiComponent.this.makeOperation$default$2, DefaultSequenceApiComponent.this.makeOperation$default$3)
|
|
373
|
49833
|
16439
-
16439
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation$default$2
|
|
373
|
34494
|
16439
-
17404
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultSequenceApiComponent.this.makeOperation("GetControversyFirstProposal", DefaultSequenceApiComponent.this.makeOperation$default$2, DefaultSequenceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((x$14: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[org.make.core.reference.Language],)](DefaultSequenceApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac1[Option[org.make.core.reference.Language]]).apply(((preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.FirstProposalResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.sequence.SequenceConfiguration]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.sequence.SequenceConfiguration](DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.FirstProposalResponse](((x0$1: (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)) => x0$1 match {
case (_1: org.make.core.question.Question, _2: org.make.core.sequence.SequenceConfiguration): (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)((question @ _), (config @ _)) => cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.api.proposal.ProposalResponse](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalResponse](DefaultSequenceApiComponent.this.sequenceCacheManagerService.getControversyProposal(questionId, requestContext, preferredLanguage, question.defaultLanguage)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.api.sequence.FirstProposalResponse](((x$15: org.make.api.proposal.ProposalResponse) => FirstProposalResponse.apply(x$15, config.controversial.sequenceSize)))
})))(util.this.ApplyConverter.hac1[org.make.api.sequence.FirstProposalResponse]).apply(((x$16: org.make.api.sequence.FirstProposalResponse) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.FirstProposalResponse](x$16)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.FirstProposalResponse](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.FirstProposalResponse](sequence.this.FirstProposalResponse.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.FirstProposalResponse]))))))))))))
|
|
373
|
36522
|
16453
-
16482
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"GetControversyFirstProposal"
|
|
374
|
42782
|
16514
-
17394
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((x$14: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[org.make.core.reference.Language],)](DefaultSequenceApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac1[Option[org.make.core.reference.Language]]).apply(((preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.FirstProposalResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.sequence.SequenceConfiguration]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.sequence.SequenceConfiguration](DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.FirstProposalResponse](((x0$1: (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)) => x0$1 match {
case (_1: org.make.core.question.Question, _2: org.make.core.sequence.SequenceConfiguration): (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)((question @ _), (config @ _)) => cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.api.proposal.ProposalResponse](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalResponse](DefaultSequenceApiComponent.this.sequenceCacheManagerService.getControversyProposal(questionId, requestContext, preferredLanguage, question.defaultLanguage)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.api.sequence.FirstProposalResponse](((x$15: org.make.api.proposal.ProposalResponse) => FirstProposalResponse.apply(x$15, config.controversial.sequenceSize)))
})))(util.this.ApplyConverter.hac1[org.make.api.sequence.FirstProposalResponse]).apply(((x$16: org.make.api.sequence.FirstProposalResponse) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.FirstProposalResponse](x$16)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.FirstProposalResponse](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.FirstProposalResponse](sequence.this.FirstProposalResponse.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.FirstProposalResponse]))))))))))
|
|
374
|
43045
|
16514
-
16514
|
Select
|
org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.optionalOidcAuth$default$2
|
|
374
|
34898
|
16514
-
16542
|
Apply
|
org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2)
|
|
374
|
48564
|
16530
-
16530
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]
|
|
375
|
36554
|
16573
-
16607
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?
|
|
375
|
44138
|
16573
-
16592
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"preferredLanguage"
|
|
375
|
43079
|
16572
-
16572
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[Option[org.make.core.reference.Language]]
|
|
375
|
41452
|
16606
-
16606
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller)
|
|
375
|
49047
|
16606
-
16606
|
Select
|
org.make.core.ParameterExtractors.languageFromStringUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.languageFromStringUnmarshaller
|
|
375
|
37347
|
16573
-
16607
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.sequence.sequenceapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))
|
|
375
|
50691
|
16562
-
16608
|
Apply
|
akka.http.scaladsl.server.directives.ParameterDirectivesInstances.parameters
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller)))
|
|
375
|
51211
|
16562
-
17382
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(Option[org.make.core.reference.Language],)](DefaultSequenceApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac1[Option[org.make.core.reference.Language]]).apply(((preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.FirstProposalResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.sequence.SequenceConfiguration]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.sequence.SequenceConfiguration](DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.FirstProposalResponse](((x0$1: (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)) => x0$1 match {
case (_1: org.make.core.question.Question, _2: org.make.core.sequence.SequenceConfiguration): (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)((question @ _), (config @ _)) => cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.api.proposal.ProposalResponse](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalResponse](DefaultSequenceApiComponent.this.sequenceCacheManagerService.getControversyProposal(questionId, requestContext, preferredLanguage, question.defaultLanguage)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.api.sequence.FirstProposalResponse](((x$15: org.make.api.proposal.ProposalResponse) => FirstProposalResponse.apply(x$15, config.controversial.sequenceSize)))
})))(util.this.ApplyConverter.hac1[org.make.api.sequence.FirstProposalResponse]).apply(((x$16: org.make.api.sequence.FirstProposalResponse) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.FirstProposalResponse](x$16)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.FirstProposalResponse](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.FirstProposalResponse](sequence.this.FirstProposalResponse.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.FirstProposalResponse]))))))))
|
|
379
|
49079
|
16714
-
16928
|
Apply
|
scala.Tuple2.apply
|
org.make.api.sequence.sequenceapitest
|
scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.sequence.SequenceConfiguration]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.sequence.SequenceConfiguration](DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)).asDirective)
|
|
380
|
34661
|
16734
-
16779
|
Apply
|
org.make.api.question.QuestionService.getCachedQuestion
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)
|
|
380
|
48001
|
16734
-
16801
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound
|
|
381
|
36315
|
16821
-
16910
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.sequence.SequenceConfiguration](DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)).asDirective
|
|
381
|
44174
|
16821
-
16898
|
Apply
|
org.make.api.sequence.SequenceConfigurationService.getSequenceConfigurationByQuestionId
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)
|
|
382
|
41213
|
16929
-
16929
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
382
|
50727
|
16714
-
16935
|
ApplyToImplicitArgs
|
cats.syntax.Tuple2SemigroupalOps.tupled
|
org.make.api.sequence.sequenceapitest
|
cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.sequence.SequenceConfiguration]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.sequence.SequenceConfiguration](DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad)
|
|
382
|
34377
|
16929
-
16929
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
382
|
42302
|
16929
-
16929
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
383
|
42336
|
16962
-
16962
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.api.sequence.FirstProposalResponse]
|
|
383
|
51175
|
16714
-
17330
|
Apply
|
cats.FlatMap.Ops.flatMap
|
org.make.api.sequence.sequenceapitest
|
cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.sequence.SequenceConfiguration]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.sequence.SequenceConfiguration](DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.FirstProposalResponse](((x0$1: (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)) => x0$1 match {
case (_1: org.make.core.question.Question, _2: org.make.core.sequence.SequenceConfiguration): (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)((question @ _), (config @ _)) => cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.api.proposal.ProposalResponse](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalResponse](DefaultSequenceApiComponent.this.sequenceCacheManagerService.getControversyProposal(questionId, requestContext, preferredLanguage, question.defaultLanguage)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.api.sequence.FirstProposalResponse](((x$15: org.make.api.proposal.ProposalResponse) => FirstProposalResponse.apply(x$15, config.controversial.sequenceSize)))
}))
|
|
386
|
48519
|
17034
-
17182
|
Apply
|
org.make.api.sequence.SequenceCacheManagerService.getControversyProposal
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.sequenceCacheManagerService.getControversyProposal(questionId, requestContext, preferredLanguage, question.defaultLanguage)
|
|
386
|
34698
|
17157
-
17181
|
Select
|
org.make.core.question.Question.defaultLanguage
|
org.make.api.sequence.sequenceapitest
|
question.defaultLanguage
|
|
387
|
44621
|
17034
-
17219
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalResponse](DefaultSequenceApiComponent.this.sequenceCacheManagerService.getControversyProposal(questionId, requestContext, preferredLanguage, question.defaultLanguage)).asDirective
|
|
387
|
36352
|
17208
-
17208
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
388
|
41247
|
17249
-
17308
|
Apply
|
org.make.api.sequence.FirstProposalResponse.apply
|
org.make.api.sequence.sequenceapitest
|
FirstProposalResponse.apply(x$15, config.controversial.sequenceSize)
|
|
388
|
48849
|
17274
-
17307
|
Select
|
org.make.core.sequence.SpecificSequenceConfiguration.sequenceSize
|
org.make.api.sequence.sequenceapitest
|
config.controversial.sequenceSize
|
|
388
|
34410
|
17034
-
17309
|
Apply
|
cats.Functor.Ops.map
|
org.make.api.sequence.sequenceapitest
|
cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.api.proposal.ProposalResponse](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalResponse](DefaultSequenceApiComponent.this.sequenceCacheManagerService.getControversyProposal(questionId, requestContext, preferredLanguage, question.defaultLanguage)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.api.sequence.FirstProposalResponse](((x$15: org.make.api.proposal.ProposalResponse) => FirstProposalResponse.apply(x$15, config.controversial.sequenceSize)))
|
|
390
|
34170
|
16714
-
17368
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(org.make.api.sequence.FirstProposalResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.sequence.SequenceConfiguration]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.sequence.SequenceConfiguration](DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.FirstProposalResponse](((x0$1: (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)) => x0$1 match {
case (_1: org.make.core.question.Question, _2: org.make.core.sequence.SequenceConfiguration): (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)((question @ _), (config @ _)) => cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.api.proposal.ProposalResponse](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalResponse](DefaultSequenceApiComponent.this.sequenceCacheManagerService.getControversyProposal(questionId, requestContext, preferredLanguage, question.defaultLanguage)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.api.sequence.FirstProposalResponse](((x$15: org.make.api.proposal.ProposalResponse) => FirstProposalResponse.apply(x$15, config.controversial.sequenceSize)))
})))(util.this.ApplyConverter.hac1[org.make.api.sequence.FirstProposalResponse]).apply(((x$16: org.make.api.sequence.FirstProposalResponse) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.FirstProposalResponse](x$16)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.FirstProposalResponse](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.FirstProposalResponse](sequence.this.FirstProposalResponse.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.FirstProposalResponse]))))))
|
|
390
|
48551
|
17365
-
17365
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.FirstProposalResponse]
|
|
390
|
44659
|
17365
-
17365
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.FirstProposalResponse](sequence.this.FirstProposalResponse.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.FirstProposalResponse])
|
|
390
|
41277
|
17356
-
17367
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.FirstProposalResponse](x$16)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.FirstProposalResponse](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.FirstProposalResponse](sequence.this.FirstProposalResponse.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.FirstProposalResponse]))))
|
|
390
|
34461
|
17365
-
17365
|
Select
|
org.make.api.sequence.FirstProposalResponse.encoder
|
org.make.api.sequence.sequenceapitest
|
sequence.this.FirstProposalResponse.encoder
|
|
390
|
36264
|
17365
-
17365
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
org.make.api.sequence.sequenceapitest
|
marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.FirstProposalResponse](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.FirstProposalResponse](sequence.this.FirstProposalResponse.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.FirstProposalResponse]))
|
|
390
|
48878
|
17365
-
17366
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
org.make.api.sequence.sequenceapitest
|
marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.FirstProposalResponse](x$16)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.FirstProposalResponse](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.FirstProposalResponse](sequence.this.FirstProposalResponse.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.FirstProposalResponse])))
|
|
397
|
36304
|
17472
-
17475
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.get
|
|
397
|
40279
|
17472
-
19113
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addByNameNullaryApply(DefaultSequenceApi.this.get).apply(server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.path[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this._segmentStringToPathMatcher("sequences")./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("consensus"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("first-proposal"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.core.question.QuestionId]).apply(((questionId: org.make.core.question.QuestionId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultSequenceApiComponent.this.makeOperation("GetConsensusFirstProposal", DefaultSequenceApiComponent.this.makeOperation$default$2, DefaultSequenceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((x$17: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[org.make.core.reference.Language],)](DefaultSequenceApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac1[Option[org.make.core.reference.Language]]).apply(((preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.FirstProposalResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.sequence.SequenceConfiguration]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.sequence.SequenceConfiguration](DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.FirstProposalResponse](((x0$1: (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)) => x0$1 match {
case (_1: org.make.core.question.Question, _2: org.make.core.sequence.SequenceConfiguration): (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)((question @ _), (config @ _)) => {
val futureTop20ConsensusThreshold: () => scala.concurrent.Future[org.make.api.sequence.SequenceBehaviour.ConsensusParam] = (() => DefaultSequenceApiComponent.this.elasticsearchOperationOfQuestionAPI.findOperationOfQuestionById(questionId).map[Option[Double]](((x$18: Option[org.make.core.operation.indexed.IndexedOperationOfQuestion]) => x$18.flatMap[Double](((x$19: org.make.core.operation.indexed.IndexedOperationOfQuestion) => x$19.top20ConsensusThreshold))))(scala.concurrent.ExecutionContext.Implicits.global).map[org.make.api.sequence.SequenceBehaviour.ConsensusParam](((top20ConsensusThreshold: Option[Double]) => org.make.api.sequence.SequenceBehaviour.ConsensusParam.apply(top20ConsensusThreshold)))(scala.concurrent.ExecutionContext.Implicits.global));
cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.api.proposal.ProposalResponse](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalResponse](DefaultSequenceApiComponent.this.sequenceCacheManagerService.getConsensusProposal(questionId, futureTop20ConsensusThreshold, requestContext, preferredLanguage, question.defaultLanguage)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.api.sequence.FirstProposalResponse](((x$20: org.make.api.proposal.ProposalResponse) => FirstProposalResponse.apply(x$20, config.popular.sequenceSize)))
}
})))(util.this.ApplyConverter.hac1[org.make.api.sequence.FirstProposalResponse]).apply(((x$21: org.make.api.sequence.FirstProposalResponse) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.FirstProposalResponse](x$21)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.FirstProposalResponse](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.FirstProposalResponse](sequence.this.FirstProposalResponse.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.FirstProposalResponse])))))))))))))))
|
|
398
|
34206
|
17501
-
17501
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.sequence.sequenceapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
398
|
48351
|
17528
-
17528
|
TypeApply
|
akka.http.scaladsl.server.util.TupleFoldInstances.t0
|
org.make.api.sequence.sequenceapitest
|
TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
|
|
398
|
40746
|
17528
-
17528
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join
|
org.make.api.sequence.sequenceapitest
|
TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])
|
|
398
|
42821
|
17515
-
17515
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.sequence.sequenceapitest
|
TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)]
|
|
398
|
41804
|
17503
-
17514
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._segmentStringToPathMatcher("consensus")
|
|
398
|
49358
|
17484
-
17547
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.path[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this._segmentStringToPathMatcher("sequences")./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("consensus"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("first-proposal"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])))
|
|
398
|
35227
|
17530
-
17546
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._segmentStringToPathMatcher("first-proposal")
|
|
398
|
49322
|
17489
-
17500
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"sequences"
|
|
398
|
50431
|
17517
-
17527
|
Select
|
org.make.api.sequence.DefaultSequenceApiComponent.DefaultSequenceApi.questionId
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.questionId
|
|
398
|
47560
|
17484
-
19107
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.path[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this._segmentStringToPathMatcher("sequences")./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("consensus"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("first-proposal"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.core.question.QuestionId]).apply(((questionId: org.make.core.question.QuestionId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultSequenceApiComponent.this.makeOperation("GetConsensusFirstProposal", DefaultSequenceApiComponent.this.makeOperation$default$2, DefaultSequenceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((x$17: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[org.make.core.reference.Language],)](DefaultSequenceApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac1[Option[org.make.core.reference.Language]]).apply(((preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.FirstProposalResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.sequence.SequenceConfiguration]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.sequence.SequenceConfiguration](DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.FirstProposalResponse](((x0$1: (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)) => x0$1 match {
case (_1: org.make.core.question.Question, _2: org.make.core.sequence.SequenceConfiguration): (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)((question @ _), (config @ _)) => {
val futureTop20ConsensusThreshold: () => scala.concurrent.Future[org.make.api.sequence.SequenceBehaviour.ConsensusParam] = (() => DefaultSequenceApiComponent.this.elasticsearchOperationOfQuestionAPI.findOperationOfQuestionById(questionId).map[Option[Double]](((x$18: Option[org.make.core.operation.indexed.IndexedOperationOfQuestion]) => x$18.flatMap[Double](((x$19: org.make.core.operation.indexed.IndexedOperationOfQuestion) => x$19.top20ConsensusThreshold))))(scala.concurrent.ExecutionContext.Implicits.global).map[org.make.api.sequence.SequenceBehaviour.ConsensusParam](((top20ConsensusThreshold: Option[Double]) => org.make.api.sequence.SequenceBehaviour.ConsensusParam.apply(top20ConsensusThreshold)))(scala.concurrent.ExecutionContext.Implicits.global));
cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.api.proposal.ProposalResponse](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalResponse](DefaultSequenceApiComponent.this.sequenceCacheManagerService.getConsensusProposal(questionId, futureTop20ConsensusThreshold, requestContext, preferredLanguage, question.defaultLanguage)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.api.sequence.FirstProposalResponse](((x$20: org.make.api.proposal.ProposalResponse) => FirstProposalResponse.apply(x$20, config.popular.sequenceSize)))
}
})))(util.this.ApplyConverter.hac1[org.make.api.sequence.FirstProposalResponse]).apply(((x$21: org.make.api.sequence.FirstProposalResponse) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.FirstProposalResponse](x$21)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.FirstProposalResponse](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.FirstProposalResponse](sequence.this.FirstProposalResponse.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.FirstProposalResponse]))))))))))))))
|
|
398
|
36052
|
17489
-
17546
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._segmentStringToPathMatcher("sequences")./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("consensus"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.question.QuestionId,)](DefaultSequenceApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultSequenceApi.this._segmentStringToPathMatcher("first-proposal"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))
|
|
398
|
41234
|
17488
-
17488
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.core.question.QuestionId]
|
|
399
|
34767
|
17572
-
19099
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultSequenceApiComponent.this.makeOperation("GetConsensusFirstProposal", DefaultSequenceApiComponent.this.makeOperation$default$2, DefaultSequenceApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((x$17: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[org.make.core.reference.Language],)](DefaultSequenceApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac1[Option[org.make.core.reference.Language]]).apply(((preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.FirstProposalResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.sequence.SequenceConfiguration]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.sequence.SequenceConfiguration](DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.FirstProposalResponse](((x0$1: (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)) => x0$1 match {
case (_1: org.make.core.question.Question, _2: org.make.core.sequence.SequenceConfiguration): (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)((question @ _), (config @ _)) => {
val futureTop20ConsensusThreshold: () => scala.concurrent.Future[org.make.api.sequence.SequenceBehaviour.ConsensusParam] = (() => DefaultSequenceApiComponent.this.elasticsearchOperationOfQuestionAPI.findOperationOfQuestionById(questionId).map[Option[Double]](((x$18: Option[org.make.core.operation.indexed.IndexedOperationOfQuestion]) => x$18.flatMap[Double](((x$19: org.make.core.operation.indexed.IndexedOperationOfQuestion) => x$19.top20ConsensusThreshold))))(scala.concurrent.ExecutionContext.Implicits.global).map[org.make.api.sequence.SequenceBehaviour.ConsensusParam](((top20ConsensusThreshold: Option[Double]) => org.make.api.sequence.SequenceBehaviour.ConsensusParam.apply(top20ConsensusThreshold)))(scala.concurrent.ExecutionContext.Implicits.global));
cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.api.proposal.ProposalResponse](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalResponse](DefaultSequenceApiComponent.this.sequenceCacheManagerService.getConsensusProposal(questionId, futureTop20ConsensusThreshold, requestContext, preferredLanguage, question.defaultLanguage)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.api.sequence.FirstProposalResponse](((x$20: org.make.api.proposal.ProposalResponse) => FirstProposalResponse.apply(x$20, config.popular.sequenceSize)))
}
})))(util.this.ApplyConverter.hac1[org.make.api.sequence.FirstProposalResponse]).apply(((x$21: org.make.api.sequence.FirstProposalResponse) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.FirstProposalResponse](x$21)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.FirstProposalResponse](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.FirstProposalResponse](sequence.this.FirstProposalResponse.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.FirstProposalResponse]))))))))))))
|
|
399
|
47776
|
17585
-
17585
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
399
|
50467
|
17572
-
17572
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation$default$2
|
|
399
|
34452
|
17572
-
17614
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation("GetConsensusFirstProposal", DefaultSequenceApiComponent.this.makeOperation$default$2, DefaultSequenceApiComponent.this.makeOperation$default$3)
|
|
399
|
42577
|
17572
-
17572
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation$default$3
|
|
399
|
33967
|
17586
-
17613
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"GetConsensusFirstProposal"
|
|
400
|
38652
|
17645
-
19089
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((x$17: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[org.make.core.reference.Language],)](DefaultSequenceApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac1[Option[org.make.core.reference.Language]]).apply(((preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.FirstProposalResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.sequence.SequenceConfiguration]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.sequence.SequenceConfiguration](DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.FirstProposalResponse](((x0$1: (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)) => x0$1 match {
case (_1: org.make.core.question.Question, _2: org.make.core.sequence.SequenceConfiguration): (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)((question @ _), (config @ _)) => {
val futureTop20ConsensusThreshold: () => scala.concurrent.Future[org.make.api.sequence.SequenceBehaviour.ConsensusParam] = (() => DefaultSequenceApiComponent.this.elasticsearchOperationOfQuestionAPI.findOperationOfQuestionById(questionId).map[Option[Double]](((x$18: Option[org.make.core.operation.indexed.IndexedOperationOfQuestion]) => x$18.flatMap[Double](((x$19: org.make.core.operation.indexed.IndexedOperationOfQuestion) => x$19.top20ConsensusThreshold))))(scala.concurrent.ExecutionContext.Implicits.global).map[org.make.api.sequence.SequenceBehaviour.ConsensusParam](((top20ConsensusThreshold: Option[Double]) => org.make.api.sequence.SequenceBehaviour.ConsensusParam.apply(top20ConsensusThreshold)))(scala.concurrent.ExecutionContext.Implicits.global));
cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.api.proposal.ProposalResponse](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalResponse](DefaultSequenceApiComponent.this.sequenceCacheManagerService.getConsensusProposal(questionId, futureTop20ConsensusThreshold, requestContext, preferredLanguage, question.defaultLanguage)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.api.sequence.FirstProposalResponse](((x$20: org.make.api.proposal.ProposalResponse) => FirstProposalResponse.apply(x$20, config.popular.sequenceSize)))
}
})))(util.this.ApplyConverter.hac1[org.make.api.sequence.FirstProposalResponse]).apply(((x$21: org.make.api.sequence.FirstProposalResponse) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.FirstProposalResponse](x$21)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.FirstProposalResponse](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.FirstProposalResponse](sequence.this.FirstProposalResponse.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.FirstProposalResponse]))))))))))
|
|
400
|
49400
|
17661
-
17661
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]
|
|
400
|
36088
|
17645
-
17673
|
Apply
|
org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2)
|
|
400
|
39960
|
17645
-
17645
|
Select
|
org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.optionalOidcAuth$default$2
|
|
401
|
40699
|
17703
-
17703
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[Option[org.make.core.reference.Language]]
|
|
401
|
33387
|
17704
-
17738
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?
|
|
401
|
42618
|
17737
-
17737
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller)
|
|
401
|
40997
|
17704
-
17723
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"preferredLanguage"
|
|
401
|
47533
|
17693
-
17739
|
Apply
|
akka.http.scaladsl.server.directives.ParameterDirectivesInstances.parameters
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller)))
|
|
401
|
34482
|
17704
-
17738
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.sequence.sequenceapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))
|
|
401
|
46498
|
17737
-
17737
|
Select
|
org.make.core.ParameterExtractors.languageFromStringUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.languageFromStringUnmarshaller
|
|
401
|
47057
|
17693
-
19077
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(Option[org.make.core.reference.Language],)](DefaultSequenceApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultSequenceApi.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac1[Option[org.make.core.reference.Language]]).apply(((preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.api.sequence.FirstProposalResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.sequence.SequenceConfiguration]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.sequence.SequenceConfiguration](DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.FirstProposalResponse](((x0$1: (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)) => x0$1 match {
case (_1: org.make.core.question.Question, _2: org.make.core.sequence.SequenceConfiguration): (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)((question @ _), (config @ _)) => {
val futureTop20ConsensusThreshold: () => scala.concurrent.Future[org.make.api.sequence.SequenceBehaviour.ConsensusParam] = (() => DefaultSequenceApiComponent.this.elasticsearchOperationOfQuestionAPI.findOperationOfQuestionById(questionId).map[Option[Double]](((x$18: Option[org.make.core.operation.indexed.IndexedOperationOfQuestion]) => x$18.flatMap[Double](((x$19: org.make.core.operation.indexed.IndexedOperationOfQuestion) => x$19.top20ConsensusThreshold))))(scala.concurrent.ExecutionContext.Implicits.global).map[org.make.api.sequence.SequenceBehaviour.ConsensusParam](((top20ConsensusThreshold: Option[Double]) => org.make.api.sequence.SequenceBehaviour.ConsensusParam.apply(top20ConsensusThreshold)))(scala.concurrent.ExecutionContext.Implicits.global));
cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.api.proposal.ProposalResponse](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalResponse](DefaultSequenceApiComponent.this.sequenceCacheManagerService.getConsensusProposal(questionId, futureTop20ConsensusThreshold, requestContext, preferredLanguage, question.defaultLanguage)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.api.sequence.FirstProposalResponse](((x$20: org.make.api.proposal.ProposalResponse) => FirstProposalResponse.apply(x$20, config.popular.sequenceSize)))
}
})))(util.this.ApplyConverter.hac1[org.make.api.sequence.FirstProposalResponse]).apply(((x$21: org.make.api.sequence.FirstProposalResponse) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.FirstProposalResponse](x$21)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.FirstProposalResponse](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.FirstProposalResponse](sequence.this.FirstProposalResponse.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.FirstProposalResponse]))))))))
|
|
405
|
47230
|
17845
-
18101
|
Apply
|
scala.Tuple2.apply
|
org.make.api.sequence.sequenceapitest
|
scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.sequence.SequenceConfiguration]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.sequence.SequenceConfiguration](DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)).asDirective)
|
|
406
|
49932
|
17865
-
17932
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound
|
|
406
|
36127
|
17865
-
17910
|
Apply
|
org.make.api.question.QuestionService.getCachedQuestion
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)
|
|
408
|
41035
|
17952
-
18050
|
Apply
|
org.make.api.sequence.SequenceConfigurationService.getSequenceConfigurationByQuestionId
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)
|
|
409
|
33919
|
17952
-
18083
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.sequence.SequenceConfiguration](DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)).asDirective
|
|
410
|
47571
|
17845
-
18108
|
ApplyToImplicitArgs
|
cats.syntax.Tuple2SemigroupalOps.tupled
|
org.make.api.sequence.sequenceapitest
|
cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.sequence.SequenceConfiguration]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.sequence.SequenceConfiguration](DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad)
|
|
410
|
35552
|
18102
-
18102
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
410
|
40453
|
18102
-
18102
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
410
|
42657
|
18102
-
18102
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
411
|
42608
|
18135
-
18135
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.api.sequence.FirstProposalResponse]
|
|
411
|
47019
|
17845
-
19025
|
Apply
|
cats.FlatMap.Ops.flatMap
|
org.make.api.sequence.sequenceapitest
|
cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.sequence.SequenceConfiguration]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.sequence.SequenceConfiguration](DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.FirstProposalResponse](((x0$1: (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)) => x0$1 match {
case (_1: org.make.core.question.Question, _2: org.make.core.sequence.SequenceConfiguration): (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)((question @ _), (config @ _)) => {
val futureTop20ConsensusThreshold: () => scala.concurrent.Future[org.make.api.sequence.SequenceBehaviour.ConsensusParam] = (() => DefaultSequenceApiComponent.this.elasticsearchOperationOfQuestionAPI.findOperationOfQuestionById(questionId).map[Option[Double]](((x$18: Option[org.make.core.operation.indexed.IndexedOperationOfQuestion]) => x$18.flatMap[Double](((x$19: org.make.core.operation.indexed.IndexedOperationOfQuestion) => x$19.top20ConsensusThreshold))))(scala.concurrent.ExecutionContext.Implicits.global).map[org.make.api.sequence.SequenceBehaviour.ConsensusParam](((top20ConsensusThreshold: Option[Double]) => org.make.api.sequence.SequenceBehaviour.ConsensusParam.apply(top20ConsensusThreshold)))(scala.concurrent.ExecutionContext.Implicits.global));
cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.api.proposal.ProposalResponse](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalResponse](DefaultSequenceApiComponent.this.sequenceCacheManagerService.getConsensusProposal(questionId, futureTop20ConsensusThreshold, requestContext, preferredLanguage, question.defaultLanguage)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.api.sequence.FirstProposalResponse](((x$20: org.make.api.proposal.ProposalResponse) => FirstProposalResponse.apply(x$20, config.popular.sequenceSize)))
}
}))
|
|
416
|
32842
|
18447
-
18472
|
Select
|
org.make.core.operation.indexed.IndexedOperationOfQuestion.top20ConsensusThreshold
|
|
x$19.top20ConsensusThreshold
|
|
416
|
49972
|
18437
-
18473
|
Apply
|
scala.Option.flatMap
|
|
x$18.flatMap[Double](((x$19: org.make.core.operation.indexed.IndexedOperationOfQuestion) => x$19.top20ConsensusThreshold))
|
|
416
|
42100
|
18436
-
18436
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
417
|
33955
|
18506
-
18526
|
Apply
|
org.make.api.sequence.SequenceBehaviour.ConsensusParam.apply
|
|
org.make.api.sequence.SequenceBehaviour.ConsensusParam.apply(top20ConsensusThreshold)
|
|
417
|
42566
|
18303
-
18527
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
DefaultSequenceApiComponent.this.elasticsearchOperationOfQuestionAPI.findOperationOfQuestionById(questionId).map[Option[Double]](((x$18: Option[org.make.core.operation.indexed.IndexedOperationOfQuestion]) => x$18.flatMap[Double](((x$19: org.make.core.operation.indexed.IndexedOperationOfQuestion) => x$19.top20ConsensusThreshold))))(scala.concurrent.ExecutionContext.Implicits.global).map[org.make.api.sequence.SequenceBehaviour.ConsensusParam](((top20ConsensusThreshold: Option[Double]) => org.make.api.sequence.SequenceBehaviour.ConsensusParam.apply(top20ConsensusThreshold)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
417
|
47264
|
18505
-
18505
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
419
|
48637
|
18550
-
18883
|
Apply
|
org.make.api.sequence.SequenceCacheManagerService.getConsensusProposal
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.sequenceCacheManagerService.getConsensusProposal(questionId, futureTop20ConsensusThreshold, requestContext, preferredLanguage, question.defaultLanguage)
|
|
424
|
35587
|
18833
-
18857
|
Select
|
org.make.core.question.Question.defaultLanguage
|
org.make.api.sequence.sequenceapitest
|
question.defaultLanguage
|
|
426
|
40489
|
18550
-
18920
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalResponse](DefaultSequenceApiComponent.this.sequenceCacheManagerService.getConsensusProposal(questionId, futureTop20ConsensusThreshold, requestContext, preferredLanguage, question.defaultLanguage)).asDirective
|
|
426
|
32877
|
18909
-
18909
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
427
|
33992
|
18550
-
19004
|
Apply
|
cats.Functor.Ops.map
|
org.make.api.sequence.sequenceapitest
|
cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.api.proposal.ProposalResponse](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalResponse](DefaultSequenceApiComponent.this.sequenceCacheManagerService.getConsensusProposal(questionId, futureTop20ConsensusThreshold, requestContext, preferredLanguage, question.defaultLanguage)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.api.sequence.FirstProposalResponse](((x$20: org.make.api.proposal.ProposalResponse) => FirstProposalResponse.apply(x$20, config.popular.sequenceSize)))
|
|
427
|
49112
|
18975
-
19002
|
Select
|
org.make.core.sequence.SpecificSequenceConfiguration.sequenceSize
|
org.make.api.sequence.sequenceapitest
|
config.popular.sequenceSize
|
|
427
|
42132
|
18950
-
19003
|
Apply
|
org.make.api.sequence.FirstProposalResponse.apply
|
org.make.api.sequence.sequenceapitest
|
FirstProposalResponse.apply(x$20, config.popular.sequenceSize)
|
|
429
|
34729
|
19060
-
19060
|
Select
|
org.make.api.sequence.FirstProposalResponse.encoder
|
org.make.api.sequence.sequenceapitest
|
sequence.this.FirstProposalResponse.encoder
|
|
429
|
48133
|
19060
-
19060
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.FirstProposalResponse]
|
|
429
|
32094
|
19060
-
19060
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
org.make.api.sequence.sequenceapitest
|
marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.FirstProposalResponse](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.FirstProposalResponse](sequence.this.FirstProposalResponse.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.FirstProposalResponse]))
|
|
429
|
41278
|
19051
-
19062
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.FirstProposalResponse](x$21)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.FirstProposalResponse](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.FirstProposalResponse](sequence.this.FirstProposalResponse.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.FirstProposalResponse]))))
|
|
429
|
49149
|
19060
-
19061
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
org.make.api.sequence.sequenceapitest
|
marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.FirstProposalResponse](x$21)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.FirstProposalResponse](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.FirstProposalResponse](sequence.this.FirstProposalResponse.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.FirstProposalResponse])))
|
|
429
|
40527
|
19060
-
19060
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.FirstProposalResponse](sequence.this.FirstProposalResponse.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.FirstProposalResponse])
|
|
429
|
33752
|
17845
-
19063
|
Apply
|
scala.Function1.apply
|
org.make.api.sequence.sequenceapitest
|
server.this.Directive.addDirectiveApply[(org.make.api.sequence.FirstProposalResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[org.make.core.sequence.SequenceConfiguration]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.sequence.SequenceConfiguration](DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.sequence.FirstProposalResponse](((x0$1: (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)) => x0$1 match {
case (_1: org.make.core.question.Question, _2: org.make.core.sequence.SequenceConfiguration): (org.make.core.question.Question, org.make.core.sequence.SequenceConfiguration)((question @ _), (config @ _)) => {
val futureTop20ConsensusThreshold: () => scala.concurrent.Future[org.make.api.sequence.SequenceBehaviour.ConsensusParam] = (() => DefaultSequenceApiComponent.this.elasticsearchOperationOfQuestionAPI.findOperationOfQuestionById(questionId).map[Option[Double]](((x$18: Option[org.make.core.operation.indexed.IndexedOperationOfQuestion]) => x$18.flatMap[Double](((x$19: org.make.core.operation.indexed.IndexedOperationOfQuestion) => x$19.top20ConsensusThreshold))))(scala.concurrent.ExecutionContext.Implicits.global).map[org.make.api.sequence.SequenceBehaviour.ConsensusParam](((top20ConsensusThreshold: Option[Double]) => org.make.api.sequence.SequenceBehaviour.ConsensusParam.apply(top20ConsensusThreshold)))(scala.concurrent.ExecutionContext.Implicits.global));
cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.api.proposal.ProposalResponse](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalResponse](DefaultSequenceApiComponent.this.sequenceCacheManagerService.getConsensusProposal(questionId, futureTop20ConsensusThreshold, requestContext, preferredLanguage, question.defaultLanguage)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.api.sequence.FirstProposalResponse](((x$20: org.make.api.proposal.ProposalResponse) => FirstProposalResponse.apply(x$20, config.popular.sequenceSize)))
}
})))(util.this.ApplyConverter.hac1[org.make.api.sequence.FirstProposalResponse]).apply(((x$21: org.make.api.sequence.FirstProposalResponse) => DefaultSequenceApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.sequence.FirstProposalResponse](x$21)(marshalling.this.Marshaller.liftMarshaller[org.make.api.sequence.FirstProposalResponse](DefaultSequenceApiComponent.this.marshaller[org.make.api.sequence.FirstProposalResponse](sequence.this.FirstProposalResponse.encoder, DefaultSequenceApiComponent.this.marshaller$default$2[org.make.api.sequence.FirstProposalResponse]))))))
|