| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
141
|
51135
|
6904
-
6925
|
Select
|
org.make.api.sequence.SequenceApi.startStandardSequence
|
org.make.api.sequence.sequenceapitest
|
SequenceApi.this.startStandardSequence
|
|
141
|
38854
|
6904
-
6956
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.sequence.sequenceapitest
|
SequenceApi.this._enhanceRouteWithConcatenation(SequenceApi.this.startStandardSequence).~(SequenceApi.this.startConsensusSequence)
|
|
142
|
42733
|
6934
-
6956
|
Select
|
org.make.api.sequence.SequenceApi.startConsensusSequence
|
org.make.api.sequence.sequenceapitest
|
SequenceApi.this.startConsensusSequence
|
|
142
|
44360
|
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
|
31738
|
6965
-
6989
|
Select
|
org.make.api.sequence.SequenceApi.startControversySequence
|
org.make.api.sequence.sequenceapitest
|
SequenceApi.this.startControversySequence
|
|
143
|
49257
|
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)
|
|
144
|
38288
|
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
|
36262
|
6998
-
7018
|
Select
|
org.make.api.sequence.SequenceApi.startKeywordSequence
|
org.make.api.sequence.sequenceapitest
|
SequenceApi.this.startKeywordSequence
|
|
145
|
42768
|
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
|
46140
|
7027
-
7051
|
Select
|
org.make.api.sequence.SequenceApi.getStandardFirstProposal
|
org.make.api.sequence.sequenceapitest
|
SequenceApi.this.getStandardFirstProposal
|
|
146
|
50898
|
7060
-
7087
|
Select
|
org.make.api.sequence.SequenceApi.getControversyFirstProposal
|
org.make.api.sequence.sequenceapitest
|
SequenceApi.this.getControversyFirstProposal
|
|
146
|
31773
|
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
|
38608
|
7096
-
7121
|
Select
|
org.make.api.sequence.SequenceApi.getConsensusFirstProposal
|
org.make.api.sequence.sequenceapitest
|
SequenceApi.this.getConsensusFirstProposal
|
|
164
|
43794
|
7681
-
7688
|
Select
|
akka.http.scaladsl.server.PathMatchers.Segment
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.Segment
|
|
164
|
36015
|
7693
-
7709
|
Apply
|
org.make.core.question.QuestionId.apply
|
org.make.api.sequence.sequenceapitest
|
org.make.core.question.QuestionId.apply(value)
|
|
164
|
49292
|
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)))
|
|
165
|
51091
|
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
|
45905
|
7774
-
7781
|
Select
|
akka.http.scaladsl.server.PathMatchers.Segment
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.Segment
|
|
165
|
38326
|
7786
-
7810
|
Apply
|
org.make.core.proposal.ProposalKeywordKey.apply
|
org.make.api.sequence.sequenceapitest
|
org.make.core.proposal.ProposalKeywordKey.apply(value)
|
|
167
|
34689
|
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])))))))))))))))))
|
|
167
|
42527
|
7861
-
7864
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.get
|
|
168
|
42804
|
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
|
45938
|
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
|
44846
|
7890
-
7890
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.sequence.sequenceapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
168
|
36747
|
7905
-
7915
|
Select
|
org.make.api.sequence.DefaultSequenceApiComponent.DefaultSequenceApi.questionId
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.questionId
|
|
168
|
37058
|
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
|
49061
|
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
|
31539
|
7892
-
7902
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._segmentStringToPathMatcher("standard")
|
|
168
|
35723
|
7878
-
7889
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"sequences"
|
|
168
|
50852
|
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
|
50677
|
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]))))))))))))))
|
|
169
|
43269
|
7955
-
7978
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"StartStandardSequence"
|
|
169
|
44348
|
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
|
31572
|
7941
-
7941
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation$default$3
|
|
169
|
35469
|
7941
-
7941
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation$default$2
|
|
169
|
36515
|
7954
-
7954
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
170
|
34206
|
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
|
45976
|
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
|
49247
|
8010
-
8010
|
Select
|
org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.optionalOidcAuth$default$2
|
|
170
|
38118
|
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
|
34701
|
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]]
|
|
171
|
42284
|
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)))
|
|
172
|
50891
|
8121
-
8130
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"include"
|
|
172
|
31612
|
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
|
43027
|
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
|
34901
|
8134
-
8134
|
Select
|
org.make.core.ParameterExtractors.proposalIdFromStringUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.proposalIdFromStringUnmarshaller
|
|
173
|
41440
|
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
|
37614
|
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))
|
|
173
|
36552
|
8162
-
8207
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?
|
|
173
|
49016
|
8206
-
8206
|
Select
|
org.make.core.ParameterExtractors.demographicsCardIdFromStringUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller
|
|
173
|
44114
|
8162
-
8182
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"demographicsCardId"
|
|
174
|
34930
|
8231
-
8231
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
174
|
50654
|
8223
-
8230
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"token"
|
|
174
|
30742
|
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
|
42518
|
8223
-
8232
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._string2NR("token").?
|
|
174
|
44150
|
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]))
|
|
175
|
41470
|
8281
-
8281
|
Select
|
org.make.core.ParameterExtractors.languageFromStringUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.languageFromStringUnmarshaller
|
|
175
|
50689
|
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))
|
|
175
|
49050
|
8248
-
8282
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?
|
|
175
|
38071
|
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
|
36312
|
8248
-
8267
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"preferredLanguage"
|
|
176
|
41786
|
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
|
48761
|
8544
-
8608
|
Apply
|
org.make.api.question.QuestionService.getCachedQuestion
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)
|
|
185
|
35791
|
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
|
44595
|
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
|
49573
|
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
|
49083
|
8684
-
8699
|
Select
|
org.make.api.sequence.SequenceServiceComponent.sequenceService
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.sequenceService
|
|
187
|
48522
|
8723
-
8723
|
TypeApply
|
org.make.api.sequence.SequenceService.startNewSequence$default$7
|
org.make.api.sequence.sequenceapitest
|
qual$1.startNewSequence$default$7[Nothing]
|
|
187
|
44631
|
8739
-
8739
|
Select
|
org.make.api.sequence.SequenceBehaviourProvider.standard
|
org.make.api.sequence.sequenceapitest
|
sequence.this.SequenceBehaviourProvider.standard
|
|
187
|
36539
|
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
|
41232
|
8782
-
8784
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
()
|
|
189
|
51136
|
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
|
38109
|
8837
-
8850
|
Select
|
org.make.core.auth.UserRights.userId
|
|
x$1.user.userId
|
|
190
|
34731
|
8900
-
8929
|
Apply
|
scala.Option.getOrElse
|
org.make.api.sequence.sequenceapitest
|
includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing])
|
|
190
|
42320
|
8919
-
8928
|
TypeApply
|
scala.collection.SeqFactory.Delegate.empty
|
org.make.api.sequence.sequenceapitest
|
scala.`package`.Seq.empty[Nothing]
|
|
197
|
48847
|
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
|
42033
|
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
|
48561
|
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
|
51171
|
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]
|
|
198
|
37860
|
9272
-
9272
|
Select
|
org.make.api.sequence.SequenceResult.encoder
|
org.make.api.sequence.sequenceapitest
|
sequence.this.SequenceResult.encoder
|
|
198
|
43051
|
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
|
34494
|
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
|
44393
|
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
|
36300
|
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]))))))
|
|
206
|
35327
|
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]))))))))
})))))))))
|
|
206
|
48320
|
9396
-
9399
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.get
|
|
207
|
38716
|
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
|
34242
|
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
|
50430
|
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
|
49326
|
9425
-
9425
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.sequence.sequenceapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
207
|
44427
|
9413
-
9424
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"sequences"
|
|
207
|
41221
|
9441
-
9451
|
Select
|
org.make.api.sequence.DefaultSequenceApiComponent.DefaultSequenceApi.questionId
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.questionId
|
|
207
|
42841
|
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
|
36336
|
9427
-
9438
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._segmentStringToPathMatcher("consensus")
|
|
207
|
34452
|
9412
-
9412
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.core.question.QuestionId]
|
|
208
|
43931
|
9477
-
9477
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation$default$2
|
|
208
|
40982
|
9490
-
9490
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
208
|
36086
|
9477
-
9477
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation$default$3
|
|
208
|
48838
|
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
|
47749
|
9491
-
9515
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"StartConsensusSequence"
|
|
208
|
46977
|
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]))))))))
}))))))
|
|
209
|
42603
|
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]]]
|
|
209
|
50471
|
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
|
33391
|
9547
-
9547
|
Select
|
org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.optionalOidcAuth$default$2
|
|
209
|
34243
|
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]))))))))
}))))
|
|
210
|
40474
|
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
|
48347
|
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
|
36123
|
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
|
34484
|
9658
-
9667
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"include"
|
|
211
|
40686
|
9671
-
9671
|
Select
|
org.make.core.ParameterExtractors.proposalIdFromStringUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.proposalIdFromStringUnmarshaller
|
|
211
|
47784
|
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
|
41022
|
9699
-
9744
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?
|
|
212
|
34194
|
9743
-
9743
|
Select
|
org.make.core.ParameterExtractors.demographicsCardIdFromStringUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller
|
|
212
|
43402
|
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
|
49899
|
9699
-
9719
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"demographicsCardId"
|
|
212
|
50921
|
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
|
35552
|
9760
-
9767
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"token"
|
|
213
|
49939
|
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
|
36577
|
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])
|
|
213
|
47540
|
9760
-
9769
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._string2NR("token").?
|
|
213
|
40723
|
9768
-
9768
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
214
|
35585
|
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
|
41054
|
9785
-
9804
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"preferredLanguage"
|
|
214
|
42549
|
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)
|
|
214
|
33957
|
9785
-
9819
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?
|
|
214
|
47234
|
9818
-
9818
|
Select
|
org.make.core.ParameterExtractors.languageFromStringUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.languageFromStringUnmarshaller
|
|
215
|
42104
|
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
|
42116
|
10280
-
10280
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.sequence.sequenceapitest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
225
|
49359
|
10281
-
10317
|
Apply
|
scala.Option.flatMap
|
|
x$3.flatMap[Double](((x$4: org.make.core.operation.indexed.IndexedOperationOfQuestion) => x$4.top20ConsensusThreshold))
|
|
225
|
36619
|
10291
-
10316
|
Select
|
org.make.core.operation.indexed.IndexedOperationOfQuestion.top20ConsensusThreshold
|
|
x$4.top20ConsensusThreshold
|
|
225
|
33993
|
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)
|
|
227
|
46990
|
10335
-
10399
|
Apply
|
org.make.api.question.QuestionService.getCachedQuestion
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)
|
|
228
|
42592
|
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
|
48915
|
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
|
35008
|
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
|
48101
|
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
|
|
229
|
40514
|
10505
-
10505
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
230
|
49153
|
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
|
42071
|
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
|
35830
|
10612
-
10627
|
Select
|
org.make.api.sequence.SequenceServiceComponent.sequenceService
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.sequenceService
|
|
233
|
40265
|
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
|
34767
|
10657
-
10657
|
TypeApply
|
org.make.api.sequence.SequenceService.startNewSequence$default$7
|
org.make.api.sequence.sequenceapitest
|
qual$1.startNewSequence$default$7[Nothing]
|
|
233
|
47530
|
10673
-
10673
|
Select
|
org.make.api.sequence.SequenceBehaviourProvider.consensus
|
org.make.api.sequence.sequenceapitest
|
sequence.this.SequenceBehaviourProvider.consensus
|
|
234
|
49118
|
10722
-
10747
|
Apply
|
org.make.api.sequence.SequenceBehaviour.ConsensusParam.apply
|
org.make.api.sequence.sequenceapitest
|
org.make.api.sequence.SequenceBehaviour.ConsensusParam.apply(threshold)
|
|
235
|
33754
|
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))
|
|
235
|
41011
|
10806
-
10819
|
Select
|
org.make.core.auth.UserRights.userId
|
|
x$5.user.userId
|
|
236
|
47028
|
10894
-
10903
|
TypeApply
|
scala.collection.SeqFactory.Delegate.empty
|
org.make.api.sequence.sequenceapitest
|
scala.`package`.Seq.empty[Nothing]
|
|
236
|
42628
|
10875
-
10904
|
Apply
|
scala.Option.getOrElse
|
org.make.api.sequence.sequenceapitest
|
includes.getOrElse[Seq[org.make.core.proposal.ProposalId]](scala.`package`.Seq.empty[Nothing])
|
|
243
|
32131
|
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
|
33162
|
11313
-
11313
|
Select
|
org.make.api.sequence.SequenceResult.encoder
|
org.make.api.sequence.sequenceapitest
|
sequence.this.SequenceResult.encoder
|
|
245
|
46248
|
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
|
39704
|
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]))))
|
|
245
|
48595
|
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
|
32167
|
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
|
42386
|
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
|
35573
|
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]))
|
|
253
|
48630
|
11439
-
11442
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.get
|
|
253
|
39807
|
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
|
48211
|
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
|
49712
|
11468
-
11468
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.sequence.sequenceapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
254
|
40501
|
11456
-
11467
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"sequences"
|
|
254
|
34277
|
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
|
41864
|
11486
-
11496
|
Select
|
org.make.api.sequence.DefaultSequenceApiComponent.DefaultSequenceApi.questionId
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.questionId
|
|
254
|
32617
|
11470
-
11483
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._segmentStringToPathMatcher("controversy")
|
|
254
|
39166
|
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,)]))
|
|
254
|
47016
|
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
|
35364
|
11455
-
11455
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.core.question.QuestionId]
|
|
255
|
48869
|
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
|
30557
|
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]))))))))))))))
|
|
255
|
32653
|
11522
-
11522
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation$default$3
|
|
255
|
41897
|
11535
-
11535
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
255
|
40254
|
11522
-
11522
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation$default$2
|
|
255
|
48394
|
11536
-
11562
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"StartControversySequence"
|
|
256
|
46772
|
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
|
38667
|
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]]]
|
|
256
|
38993
|
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
|
33777
|
11594
-
11594
|
Select
|
org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.optionalOidcAuth$default$2
|
|
257
|
48381
|
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
|
40799
|
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
|
48429
|
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
|
34516
|
11705
-
11714
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"include"
|
|
258
|
40288
|
11718
-
11718
|
Select
|
org.make.core.ParameterExtractors.proposalIdFromStringUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.proposalIdFromStringUnmarshaller
|
|
258
|
32415
|
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)
|
|
259
|
38421
|
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
|
45186
|
11746
-
11766
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"demographicsCardId"
|
|
259
|
33525
|
11790
-
11790
|
Select
|
org.make.core.ParameterExtractors.demographicsCardIdFromStringUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller
|
|
259
|
46809
|
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)
|
|
259
|
41333
|
11746
-
11791
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?
|
|
260
|
40053
|
11815
-
11815
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
260
|
44939
|
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
|
48620
|
11807
-
11816
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._string2NR("token").?
|
|
260
|
32452
|
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])
|
|
260
|
34559
|
11807
-
11814
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"token"
|
|
261
|
34269
|
11832
-
11866
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?
|
|
261
|
34592
|
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
|
41093
|
11832
-
11851
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"preferredLanguage"
|
|
261
|
46574
|
11865
-
11865
|
Select
|
org.make.core.ParameterExtractors.languageFromStringUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.languageFromStringUnmarshaller
|
|
261
|
38457
|
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)
|
|
262
|
46565
|
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
|
32980
|
12128
-
12192
|
Apply
|
org.make.api.question.QuestionService.getCachedQuestion
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)
|
|
271
|
41885
|
12212
-
12212
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.core.question.Question]
|
|
271
|
44980
|
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
|
33824
|
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]))))))))
|
|
272
|
34031
|
12268
-
12283
|
Select
|
org.make.api.sequence.SequenceServiceComponent.sequenceService
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.sequenceService
|
|
273
|
45017
|
12323
-
12323
|
Select
|
org.make.api.sequence.SequenceBehaviourProvider.controversy
|
org.make.api.sequence.sequenceapitest
|
sequence.this.SequenceBehaviourProvider.controversy
|
|
273
|
32404
|
12307
-
12307
|
TypeApply
|
org.make.api.sequence.SequenceService.startNewSequence$default$7
|
org.make.api.sequence.sequenceapitest
|
qual$1.startNewSequence$default$7[Nothing]
|
|
273
|
41644
|
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
|
47314
|
12366
-
12382
|
Select
|
org.make.core.proposal.indexed.Zone.Controversy
|
org.make.api.sequence.sequenceapitest
|
org.make.core.proposal.indexed.Zone.Controversy
|
|
275
|
39519
|
12435
-
12448
|
Select
|
org.make.core.auth.UserRights.userId
|
|
x$7.user.userId
|
|
275
|
30603
|
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))
|
|
276
|
40552
|
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
|
48418
|
12517
-
12526
|
TypeApply
|
scala.collection.SeqFactory.Delegate.empty
|
org.make.api.sequence.sequenceapitest
|
scala.`package`.Seq.empty[Nothing]
|
|
283
|
46533
|
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
|
34066
|
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
|
37968
|
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
|
31424
|
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
|
45482
|
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
|
40586
|
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]))
|
|
284
|
48179
|
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
|
38956
|
12870
-
12870
|
Select
|
org.make.api.sequence.SequenceResult.encoder
|
org.make.api.sequence.sequenceapitest
|
sequence.this.SequenceResult.encoder
|
|
284
|
32439
|
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])))
|
|
292
|
45044
|
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
|
32201
|
12992
-
12995
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.get
|
|
293
|
37122
|
13023
-
13032
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._segmentStringToPathMatcher("keyword")
|
|
293
|
34056
|
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
|
46599
|
13035
-
13045
|
Select
|
org.make.api.sequence.DefaultSequenceApiComponent.DefaultSequenceApi.questionId
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.questionId
|
|
293
|
46042
|
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
|
38751
|
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
|
40539
|
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
|
47052
|
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
|
37165
|
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
|
32233
|
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
|
33857
|
13021
-
13021
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.sequence.sequenceapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
293
|
32272
|
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
|
30594
|
13048
-
13058
|
Select
|
org.make.api.sequence.DefaultSequenceApiComponent.DefaultSequenceApi.keywordKey
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.keywordKey
|
|
293
|
44970
|
13009
-
13020
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"sequences"
|
|
293
|
48660
|
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
|
40576
|
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
|
43685
|
13098
-
13098
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation$default$3
|
|
294
|
36472
|
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
|
31675
|
13098
-
13098
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation$default$2
|
|
294
|
38786
|
13112
-
13134
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"StartKeywordSequence"
|
|
294
|
32691
|
13111
-
13111
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
295
|
33811
|
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
|
38218
|
13166
-
13194
|
Apply
|
org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2)
|
|
295
|
46077
|
13166
-
13166
|
Select
|
org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.optionalOidcAuth$default$2
|
|
295
|
44569
|
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]))))))))))
|
|
296
|
30883
|
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]]
|
|
296
|
38492
|
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)))
|
|
297
|
44487
|
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)
|
|
297
|
47089
|
13277
-
13286
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"include"
|
|
297
|
38703
|
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
|
31708
|
13290
-
13290
|
Select
|
org.make.core.ParameterExtractors.proposalIdFromStringUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.proposalIdFromStringUnmarshaller
|
|
298
|
38258
|
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
|
32730
|
13318
-
13363
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._string2NR("demographicsCardId").as[org.make.core.demographics.DemographicsCardId].?
|
|
298
|
45221
|
13362
-
13362
|
Select
|
org.make.core.ParameterExtractors.demographicsCardIdFromStringUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.demographicsCardIdFromStringUnmarshaller
|
|
298
|
33845
|
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
|
40328
|
13318
-
13338
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"demographicsCardId"
|
|
299
|
46844
|
13379
-
13386
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"token"
|
|
299
|
38739
|
13379
-
13388
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._string2NR("token").?
|
|
299
|
40365
|
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
|
30846
|
13387
-
13387
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
299
|
44250
|
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])
|
|
300
|
50786
|
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
|
45259
|
13404
-
13438
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?
|
|
300
|
46880
|
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
|
37151
|
13437
-
13437
|
Select
|
org.make.core.ParameterExtractors.languageFromStringUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.languageFromStringUnmarshaller
|
|
300
|
31950
|
13404
-
13423
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"preferredLanguage"
|
|
301
|
30631
|
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
|
50217
|
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
|
40123
|
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
|
|
309
|
43675
|
13720
-
13765
|
Apply
|
org.make.api.question.QuestionService.getCachedQuestion
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)
|
|
310
|
45298
|
13807
-
13855
|
Apply
|
org.make.api.keyword.KeywordService.get
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.keywordService.get(keywordKey.value, questionId)
|
|
310
|
31983
|
13826
-
13842
|
Select
|
org.make.core.proposal.ProposalKeywordKey.value
|
org.make.api.sequence.sequenceapitest
|
keywordKey.value
|
|
310
|
38208
|
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
|
44733
|
13896
-
13896
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
311
|
47414
|
13896
-
13896
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
311
|
31695
|
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
|
38528
|
13896
-
13896
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
312
|
44535
|
13929
-
13929
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.api.sequence.KeywordSequenceResult]
|
|
312
|
31495
|
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)))
}))
|
|
314
|
35870
|
14011
-
14026
|
Select
|
org.make.api.sequence.SequenceServiceComponent.sequenceService
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.sequenceService
|
|
315
|
31458
|
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
|
46832
|
14052
-
14052
|
TypeApply
|
org.make.api.sequence.SequenceService.startNewSequence$default$7
|
org.make.api.sequence.sequenceapitest
|
qual$1.startNewSequence$default$7[Nothing]
|
|
315
|
38567
|
14068
-
14068
|
Select
|
org.make.api.sequence.SequenceBehaviourProvider.keyword
|
org.make.api.sequence.sequenceapitest
|
sequence.this.SequenceBehaviourProvider.keyword
|
|
317
|
45054
|
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))
|
|
317
|
33058
|
14178
-
14191
|
Select
|
org.make.core.auth.UserRights.userId
|
|
x$9.user.userId
|
|
318
|
38249
|
14262
-
14271
|
TypeApply
|
scala.collection.SeqFactory.Delegate.empty
|
org.make.api.sequence.sequenceapitest
|
scala.`package`.Seq.empty[Nothing]
|
|
318
|
51277
|
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
|
36400
|
14579
-
14579
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
325
|
44773
|
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
|
39028
|
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
|
46600
|
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
|
32478
|
14752
-
14763
|
Select
|
org.make.core.keyword.Keyword.key
|
org.make.api.sequence.sequenceapitest
|
keyword.key
|
|
330
|
45865
|
14803
-
14816
|
Select
|
org.make.core.keyword.Keyword.label
|
org.make.api.sequence.sequenceapitest
|
keyword.label
|
|
331
|
38006
|
14860
-
14884
|
Select
|
org.make.api.sequence.SequenceResult.proposals
|
org.make.api.sequence.sequenceapitest
|
sequenceResult.proposals
|
|
332
|
51315
|
14931
-
14958
|
Select
|
org.make.api.sequence.SequenceResult.demographics
|
org.make.api.sequence.sequenceapitest
|
sequenceResult.demographics
|
|
336
|
36440
|
15070
-
15070
|
Select
|
org.make.api.sequence.KeywordSequenceResult.encoder
|
org.make.api.sequence.sequenceapitest
|
sequence.this.KeywordSequenceResult.encoder
|
|
336
|
32516
|
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
|
42953
|
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
|
50537
|
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
|
38044
|
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
|
39067
|
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]))))))
|
|
336
|
45003
|
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])
|
|
343
|
37193
|
15176
-
15179
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.get
|
|
343
|
42522
|
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
|
32304
|
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
|
51300
|
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
|
36230
|
15233
-
15249
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._segmentStringToPathMatcher("first-proposal")
|
|
344
|
46108
|
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
|
39585
|
15205
-
15205
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.sequence.sequenceapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
344
|
42737
|
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
|
50575
|
15193
-
15204
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"sequences"
|
|
344
|
50811
|
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
|
30663
|
15220
-
15230
|
Select
|
org.make.api.sequence.DefaultSequenceApiComponent.DefaultSequenceApi.questionId
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.questionId
|
|
344
|
37227
|
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
|
42987
|
15207
-
15217
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._segmentStringToPathMatcher("standard")
|
|
344
|
44488
|
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,)]
|
|
345
|
31745
|
15275
-
15275
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation$default$2
|
|
345
|
38321
|
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]))))))))))))
|
|
345
|
39619
|
15289
-
15315
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"GetStandardFirstProposal"
|
|
345
|
50038
|
15288
-
15288
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
345
|
44525
|
15275
-
15275
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation$default$3
|
|
345
|
36956
|
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)
|
|
346
|
46144
|
15347
-
15347
|
Select
|
org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.optionalOidcAuth$default$2
|
|
346
|
51060
|
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
|
42204
|
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
|
38032
|
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
|
36715
|
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
|
49284
|
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
|
31777
|
15439
-
15439
|
Select
|
org.make.core.ParameterExtractors.languageFromStringUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.languageFromStringUnmarshaller
|
|
347
|
49460
|
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
|
39378
|
15406
-
15440
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?
|
|
347
|
44558
|
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)
|
|
347
|
45909
|
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
|
43477
|
15406
-
15425
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"preferredLanguage"
|
|
351
|
31271
|
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
|
37788
|
15567
-
15612
|
Apply
|
org.make.api.question.QuestionService.getCachedQuestion
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)
|
|
352
|
51095
|
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
|
42692
|
15654
-
15752
|
Apply
|
org.make.api.sequence.SequenceConfigurationService.getSequenceConfigurationByQuestionId
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)
|
|
355
|
35109
|
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
|
36751
|
15804
-
15804
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
356
|
49215
|
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
|
44322
|
15804
-
15804
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
356
|
45335
|
15804
-
15804
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
357
|
49250
|
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)))
}))
|
|
357
|
45377
|
15837
-
15837
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.api.sequence.FirstProposalResponse]
|
|
360
|
50857
|
15909
-
16046
|
Apply
|
org.make.api.sequence.SequenceCacheManagerService.getProposal
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.sequenceCacheManagerService.getProposal(questionId, requestContext, preferredLanguage, question.defaultLanguage)
|
|
360
|
37822
|
16021
-
16045
|
Select
|
org.make.core.question.Question.defaultLanguage
|
org.make.api.sequence.sequenceapitest
|
question.defaultLanguage
|
|
361
|
42726
|
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
|
34866
|
16072
-
16072
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
362
|
35976
|
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
|
44354
|
16113
-
16171
|
Apply
|
org.make.api.sequence.FirstProposalResponse.apply
|
org.make.api.sequence.sequenceapitest
|
FirstProposalResponse.apply(x$12, config.mainSequence.sequenceSize)
|
|
362
|
31731
|
16138
-
16170
|
Select
|
org.make.core.sequence.ExplorationSequenceConfiguration.sequenceSize
|
org.make.api.sequence.sequenceapitest
|
config.mainSequence.sequenceSize
|
|
364
|
50893
|
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
|
38281
|
16228
-
16228
|
Select
|
org.make.api.sequence.FirstProposalResponse.encoder
|
org.make.api.sequence.sequenceapitest
|
sequence.this.FirstProposalResponse.encoder
|
|
364
|
34904
|
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
|
31767
|
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
|
42488
|
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
|
36010
|
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]))))))
|
|
364
|
44805
|
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]))))
|
|
371
|
40690
|
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])))))))))))))))
|
|
371
|
34935
|
16337
-
16340
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.get
|
|
372
|
42242
|
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
|
35465
|
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
|
44069
|
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
|
49054
|
16384
-
16394
|
Select
|
org.make.api.sequence.DefaultSequenceApiComponent.DefaultSequenceApi.questionId
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.questionId
|
|
372
|
38078
|
16397
-
16413
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._segmentStringToPathMatcher("first-proposal")
|
|
372
|
31567
|
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
|
36474
|
16366
-
16366
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.sequence.sequenceapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
372
|
50847
|
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
|
48556
|
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
|
43265
|
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
|
31530
|
16354
-
16365
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"sequences"
|
|
372
|
44841
|
16368
-
16381
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._segmentStringToPathMatcher("controversy")
|
|
373
|
36512
|
16453
-
16482
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"GetControversyFirstProposal"
|
|
373
|
49793
|
16439
-
16439
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation$default$2
|
|
373
|
50884
|
16452
-
16452
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
373
|
34489
|
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
|
38113
|
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
|
42000
|
16439
-
16439
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation$default$3
|
|
374
|
48528
|
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]]]
|
|
374
|
42759
|
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
|
43022
|
16514
-
16514
|
Select
|
org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.optionalOidcAuth$default$2
|
|
374
|
34893
|
16514
-
16542
|
Apply
|
org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.optionalOidcAuth(questionId, DefaultSequenceApiComponent.this.optionalOidcAuth$default$2)
|
|
375
|
36544
|
16573
-
16607
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?
|
|
375
|
51165
|
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]))))))))
|
|
375
|
44107
|
16573
-
16592
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"preferredLanguage"
|
|
375
|
37330
|
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
|
49011
|
16606
-
16606
|
Select
|
org.make.core.ParameterExtractors.languageFromStringUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.languageFromStringUnmarshaller
|
|
375
|
50647
|
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
|
43056
|
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
|
41432
|
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)
|
|
379
|
49043
|
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
|
47965
|
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
|
|
380
|
34656
|
16734
-
16779
|
Apply
|
org.make.api.question.QuestionService.getCachedQuestion
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)
|
|
381
|
36305
|
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
|
44143
|
16821
-
16898
|
Apply
|
org.make.api.sequence.SequenceConfigurationService.getSequenceConfigurationByQuestionId
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)
|
|
382
|
42280
|
16929
-
16929
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
382
|
50683
|
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
|
34372
|
16929
-
16929
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
382
|
41193
|
16929
-
16929
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
383
|
51129
|
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)))
}))
|
|
383
|
42314
|
16962
-
16962
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.api.sequence.FirstProposalResponse]
|
|
386
|
34693
|
17157
-
17181
|
Select
|
org.make.core.question.Question.defaultLanguage
|
org.make.api.sequence.sequenceapitest
|
question.defaultLanguage
|
|
386
|
48483
|
17034
-
17182
|
Apply
|
org.make.api.sequence.SequenceCacheManagerService.getControversyProposal
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.sequenceCacheManagerService.getControversyProposal(questionId, requestContext, preferredLanguage, question.defaultLanguage)
|
|
387
|
44589
|
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
|
36342
|
17208
-
17208
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
388
|
41227
|
17249
-
17308
|
Apply
|
org.make.api.sequence.FirstProposalResponse.apply
|
org.make.api.sequence.sequenceapitest
|
FirstProposalResponse.apply(x$15, config.controversial.sequenceSize)
|
|
388
|
34405
|
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)))
|
|
388
|
48813
|
17274
-
17307
|
Select
|
org.make.core.sequence.SpecificSequenceConfiguration.sequenceSize
|
org.make.api.sequence.sequenceapitest
|
config.controversial.sequenceSize
|
|
390
|
48842
|
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])))
|
|
390
|
41257
|
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
|
36254
|
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
|
34456
|
17365
-
17365
|
Select
|
org.make.api.sequence.FirstProposalResponse.encoder
|
org.make.api.sequence.sequenceapitest
|
sequence.this.FirstProposalResponse.encoder
|
|
390
|
48515
|
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
|
44627
|
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
|
34165
|
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]))))))
|
|
397
|
40259
|
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])))))))))))))))
|
|
397
|
36294
|
17472
-
17475
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.get
|
|
398
|
49285
|
17489
-
17500
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"sequences"
|
|
398
|
42798
|
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
|
35220
|
17530
-
17546
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._segmentStringToPathMatcher("first-proposal")
|
|
398
|
50388
|
17517
-
17527
|
Select
|
org.make.api.sequence.DefaultSequenceApiComponent.DefaultSequenceApi.questionId
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.questionId
|
|
398
|
48315
|
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
|
41214
|
17488
-
17488
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.core.question.QuestionId]
|
|
398
|
41782
|
17503
-
17514
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._segmentStringToPathMatcher("consensus")
|
|
398
|
47524
|
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
|
34201
|
17501
-
17501
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.sequence.sequenceapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
398
|
40726
|
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
|
36043
|
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
|
49321
|
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])))
|
|
399
|
50424
|
17572
-
17572
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation$default$2
|
|
399
|
34762
|
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
|
42555
|
17572
-
17572
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.makeOperation$default$3
|
|
399
|
34447
|
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
|
47740
|
17585
-
17585
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
399
|
33962
|
17586
-
17613
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"GetConsensusFirstProposal"
|
|
400
|
39940
|
17645
-
17645
|
Select
|
org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth$default$2
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.optionalOidcAuth$default$2
|
|
400
|
38633
|
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
|
36079
|
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
|
49363
|
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]]]
|
|
401
|
40977
|
17704
-
17723
|
Literal
|
<nosymbol>
|
org.make.api.sequence.sequenceapitest
|
"preferredLanguage"
|
|
401
|
33382
|
17704
-
17738
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?
|
|
401
|
34477
|
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
|
40679
|
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
|
42596
|
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
|
47497
|
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
|
46462
|
17737
-
17737
|
Select
|
org.make.core.ParameterExtractors.languageFromStringUnmarshaller
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApi.this.languageFromStringUnmarshaller
|
|
401
|
47021
|
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
|
47194
|
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
|
36118
|
17865
-
17910
|
Apply
|
org.make.api.question.QuestionService.getCachedQuestion
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.questionService.getCachedQuestion(questionId)
|
|
406
|
49892
|
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
|
|
408
|
41015
|
17952
-
18050
|
Apply
|
org.make.api.sequence.SequenceConfigurationService.getSequenceConfigurationByQuestionId
|
org.make.api.sequence.sequenceapitest
|
DefaultSequenceApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(questionId)
|
|
409
|
33914
|
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
|
47535
|
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
|
42635
|
18102
-
18102
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
410
|
35544
|
18102
-
18102
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
410
|
40433
|
18102
-
18102
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
411
|
46983
|
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)))
}
}))
|
|
411
|
42586
|
18135
-
18135
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.sequence.sequenceapitest
|
util.this.ApplyConverter.hac1[org.make.api.sequence.FirstProposalResponse]
|
|
416
|
49932
|
18437
-
18473
|
Apply
|
scala.Option.flatMap
|
|
x$18.flatMap[Double](((x$19: org.make.core.operation.indexed.IndexedOperationOfQuestion) => x$19.top20ConsensusThreshold))
|
|
416
|
42078
|
18436
-
18436
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
416
|
32837
|
18447
-
18472
|
Select
|
org.make.core.operation.indexed.IndexedOperationOfQuestion.top20ConsensusThreshold
|
|
x$19.top20ConsensusThreshold
|
|
417
|
33950
|
18506
-
18526
|
Apply
|
org.make.api.sequence.SequenceBehaviour.ConsensusParam.apply
|
|
org.make.api.sequence.SequenceBehaviour.ConsensusParam.apply(top20ConsensusThreshold)
|
|
417
|
47228
|
18505
-
18505
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
417
|
42544
|
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)
|
|
419
|
48601
|
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
|
35579
|
18833
-
18857
|
Select
|
org.make.core.question.Question.defaultLanguage
|
org.make.api.sequence.sequenceapitest
|
question.defaultLanguage
|
|
426
|
32872
|
18909
-
18909
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.sequence.sequenceapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
426
|
40469
|
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
|
|
427
|
42110
|
18950
-
19003
|
Apply
|
org.make.api.sequence.FirstProposalResponse.apply
|
org.make.api.sequence.sequenceapitest
|
FirstProposalResponse.apply(x$20, config.popular.sequenceSize)
|
|
427
|
33987
|
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
|
49076
|
18975
-
19002
|
Select
|
org.make.core.sequence.SpecificSequenceConfiguration.sequenceSize
|
org.make.api.sequence.sequenceapitest
|
config.popular.sequenceSize
|
|
429
|
41258
|
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
|
40507
|
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
|
48097
|
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
|
49113
|
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
|
33747
|
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]))))))
|
|
429
|
34724
|
19060
-
19060
|
Select
|
org.make.api.sequence.FirstProposalResponse.encoder
|
org.make.api.sequence.sequenceapitest
|
sequence.this.FirstProposalResponse.encoder
|
|
429
|
32089
|
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]))
|